From e0c36d3c8dd98d3c0d28ce683eade008431d69d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:08:11 +0000 Subject: [PATCH] Upgrade: Bump @nextcloud/vue from 8.2.0 to 8.3.0 Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.2.0 to 8.3.0. - [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.2.0...v8.3.0) --- updated-dependencies: - dependency-name: "@nextcloud/vue" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: nextcloud-command --- ...ity-51fa98c0.mjs => Activity-cb8c2203.mjs} | 16 ++++----- ...98c0.mjs.map => Activity-cb8c2203.mjs.map} | 2 +- ...-423875d1.mjs => ActivityTab-6d57063d.mjs} | 2 +- ...1.mjs.map => ActivityTab-6d57063d.mjs.map} | 2 +- js/activity-adminSettings.mjs | 2 +- js/activity-app.mjs | 4 +-- js/activity-app.mjs.map | 2 +- js/activity-personalSettings.mjs | 2 +- js/activity-sidebar.mjs | 2 +- js/index-76a58945-5eb8da97.mjs | 36 +++++++++++++++++++ js/index-76a58945-5eb8da97.mjs.map | 1 + js/index-76a58945-9a268760.mjs | 36 ------------------- js/index-76a58945-9a268760.mjs.map | 1 - ...2a8ea5.mjs => settings-store-57218a88.mjs} | 2 +- ...js.map => settings-store-57218a88.mjs.map} | 2 +- ...367813.mjs => toast-d1cd63b1-35a96313.mjs} | 2 +- ...js.map => toast-d1cd63b1-35a96313.mjs.map} | 2 +- js/vendor.LICENSE.txt | 2 +- package-lock.json | 14 ++++---- package.json | 2 +- 20 files changed, 67 insertions(+), 67 deletions(-) rename js/{Activity-51fa98c0.mjs => Activity-cb8c2203.mjs} (81%) rename js/{Activity-51fa98c0.mjs.map => Activity-cb8c2203.mjs.map} (50%) rename js/{ActivityTab-423875d1.mjs => ActivityTab-6d57063d.mjs} (96%) rename js/{ActivityTab-423875d1.mjs.map => ActivityTab-6d57063d.mjs.map} (99%) create mode 100644 js/index-76a58945-5eb8da97.mjs create mode 100644 js/index-76a58945-5eb8da97.mjs.map delete mode 100644 js/index-76a58945-9a268760.mjs delete mode 100644 js/index-76a58945-9a268760.mjs.map rename js/{settings-store-d42a8ea5.mjs => settings-store-57218a88.mjs} (99%) rename js/{settings-store-d42a8ea5.mjs.map => settings-store-57218a88.mjs.map} (99%) rename js/{toast-d1cd63b1-a8367813.mjs => toast-d1cd63b1-35a96313.mjs} (99%) rename js/{toast-d1cd63b1-a8367813.mjs.map => toast-d1cd63b1-35a96313.mjs.map} (99%) diff --git a/js/Activity-51fa98c0.mjs b/js/Activity-cb8c2203.mjs similarity index 81% rename from js/Activity-51fa98c0.mjs rename to js/Activity-cb8c2203.mjs index 8f33a91e6..d82fc4816 100644 --- a/js/Activity-51fa98c0.mjs +++ b/js/Activity-cb8c2203.mjs @@ -1,4 +1,4 @@ -(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@charset "UTF-8";.material-design-icon[data-v-eb1078f7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.content[data-v-eb1078f7]{box-sizing:border-box;margin:var(--body-container-margin);margin-top:50px;display:flex;width:calc(100% - var(--body-container-margin) * 2);border-radius:var(--body-container-radius);height:var(--body-height);overflow:hidden;padding:0}.content[data-v-eb1078f7]:not(.with-sidebar--full){position:fixed}.content[data-v-eb1078f7] *{box-sizing:border-box}.material-design-icon[data-v-5244e83e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-details-toggle[data-v-5244e83e]{position:fixed;width:44px;height:44px;padding:14px;cursor:pointer;opacity:.6;transform:rotate(180deg);background-color:var(--color-main-background);z-index:2000}.app-details-toggle[data-v-5244e83e]:active,.app-details-toggle[data-v-5244e83e]:hover,.app-details-toggle[data-v-5244e83e]:focus{opacity:1}.material-design-icon[data-v-27fc3f3a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-content[data-v-27fc3f3a]{position:initial;z-index:1000;flex-basis:100vw;height:100%;margin:0!important;background-color:var(--color-main-background);min-width:0}.app-content[data-v-27fc3f3a]:not(.app-content--has-list){overflow:auto}.app-content-wrapper[data-v-27fc3f3a]{position:relative;width:100%;height:100%}.app-content-wrapper--mobile.app-content-wrapper--show-list[data-v-27fc3f3a] .app-content-list{display:flex}.app-content-wrapper--mobile.app-content-wrapper--show-list[data-v-27fc3f3a] .app-content-details,.app-content-wrapper--mobile.app-content-wrapper--show-details[data-v-27fc3f3a] .app-content-list{display:none}.app-content-wrapper--mobile.app-content-wrapper--show-details[data-v-27fc3f3a] .app-content-details{display:block}[data-v-27fc3f3a] .splitpanes.default-theme .app-content-list{max-width:none;scrollbar-width:auto}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane{background-color:transparent;transition:none}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-list{min-width:300px;position:-webkit-sticky;position:sticky;top:var(--header-height)}@media only screen and (width < 1024px){[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-list{display:none}}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-details{overflow-y:auto}@media only screen and (width < 1024px){[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-details{min-width:100%}}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__splitter{width:9px;margin-left:-5px;background-color:transparent;border-left:none}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__splitter:before,[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__splitter:after{display:none}.material-design-icon[data-v-8f4e0666]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-8f4e0666]{position:relative;width:fit-content;overflow:hidden;border:0;padding:0;font-size:var(--default-font-size);font-weight:700;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:22px;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue *[data-v-8f4e0666],.button-vue span[data-v-8f4e0666]{cursor:pointer}.button-vue[data-v-8f4e0666]:focus{outline:none}.button-vue[data-v-8f4e0666]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue:disabled *[data-v-8f4e0666]{cursor:default}.button-vue[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-8f4e0666]:active{background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-8f4e0666]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-8f4e0666]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-8f4e0666]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-8f4e0666]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-8f4e0666]{padding-inline:calc(var(--default-grid-baseline) * 4) var(--default-grid-baseline)}.button-vue__icon[data-v-8f4e0666]{height:44px;width:44px;min-height:44px;min-width:44px;display:flex;justify-content:center;align-items:center}.button-vue__text[data-v-8f4e0666]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-8f4e0666]{width:44px!important}.button-vue--text-only[data-v-8f4e0666]{padding:0 12px}.button-vue--text-only .button-vue__text[data-v-8f4e0666]{margin-left:4px;margin-right:4px}.button-vue--icon-and-text[data-v-8f4e0666]{padding-block:0;padding-inline:var(--default-grid-baseline) calc(var(--default-grid-baseline) * 4)}.button-vue--wide[data-v-8f4e0666]{width:100%}.button-vue[data-v-8f4e0666]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-8f4e0666]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius);background-color:transparent}.button-vue--vue-primary[data-v-8f4e0666]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-8f4e0666]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-8f4e0666]{color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue--vue-secondary[data-v-8f4e0666]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--vue-tertiary[data-v-8f4e0666]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--vue-tertiary-no-background[data-v-8f4e0666]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary-no-background[data-v-8f4e0666]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-8f4e0666]{color:var(--color-primary-element-text);background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-8f4e0666]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-8f4e0666]{background-color:var(--color-success);color:#fff}.button-vue--vue-success[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-8f4e0666]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-8f4e0666]{background-color:var(--color-warning);color:#fff}.button-vue--vue-warning[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-8f4e0666]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-8f4e0666]{background-color:var(--color-error);color:#fff}.button-vue--vue-error[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-8f4e0666]:active{background-color:var(--color-error)}.v-popper--theme-tooltip.v-popper__popper{position:absolute;z-index:100000;top:0;right:auto;left:auto;display:block;margin:0;padding:0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-10px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-10px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{right:100%;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{left:100%;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity .15s,visibility .15s;opacity:0}.v-popper--theme-tooltip.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity .15s;opacity:1}.v-popper--theme-tooltip .v-popper__inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.v-popper--theme-tooltip .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:transparent;border-width:10px}.splitpanes{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.splitpanes--vertical{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.splitpanes--horizontal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{-webkit-transition:width .2s ease-out;-o-transition:width .2s ease-out;transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{-webkit-transition:height .2s ease-out;-o-transition:height .2s ease-out;transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{-webkit-transition:none;-o-transition:none;transition:none}.splitpanes__splitter{-ms-touch-action:none;touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-negative:0;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;-webkit-transition:background-color .3s;-o-transition:background-color .3s;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.material-design-icon[data-v-6176f396]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-6176f396]{display:flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;opacity:1}.icon-vue[data-v-6176f396] svg{fill:currentColor;width:20px;height:20px;max-width:20px;max-height:20px}.material-design-icon[data-v-458108e7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.empty-content[data-v-458108e7]{display:flex;align-items:center;flex-direction:column;justify-content:center;flex-grow:1}.modal-wrapper .empty-content[data-v-458108e7]{margin-top:5vh;margin-bottom:5vh}.empty-content__icon[data-v-458108e7]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;opacity:.4;background-repeat:no-repeat;background-position:center;background-size:64px}.empty-content__icon[data-v-458108e7] svg{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}.empty-content__name[data-v-458108e7]{margin-bottom:10px;text-align:center;font-weight:700;font-size:20px;line-height:30px}.empty-content__description[data-v-458108e7]{color:var(--color-text-maxcontrast)}.empty-content__action[data-v-458108e7]{margin-top:8px}.modal-wrapper .empty-content__action[data-v-458108e7]{margin-top:20px;display:flex}.material-design-icon[data-v-b9bda6c2]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.avatardiv[data-v-b9bda6c2]{position:relative;display:inline-block;width:var(--size);height:var(--size)}.avatardiv--unknown[data-v-b9bda6c2]{position:relative;background-color:var(--color-main-background);white-space:normal}.avatardiv[data-v-b9bda6c2]:not(.avatardiv--unknown){background-color:var(--color-main-background)!important;box-shadow:0 0 5px #0000000d inset}.avatardiv--with-menu[data-v-b9bda6c2]{cursor:pointer}.avatardiv--with-menu .action-item[data-v-b9bda6c2]{position:absolute;top:0;left:0}.avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle{cursor:pointer;opacity:0}.avatardiv--with-menu[data-v-b9bda6c2]:focus .action-item__menutoggle,.avatardiv--with-menu[data-v-b9bda6c2]:hover .action-item__menutoggle,.avatardiv--with-menu.avatardiv--with-menu-loading[data-v-b9bda6c2] .action-item__menutoggle{opacity:1}.avatardiv--with-menu:focus img[data-v-b9bda6c2],.avatardiv--with-menu:hover img[data-v-b9bda6c2],.avatardiv--with-menu.avatardiv--with-menu-loading img[data-v-b9bda6c2]{opacity:.3}.avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle,.avatardiv--with-menu img[data-v-b9bda6c2]{transition:opacity var(--animation-quick)}.avatardiv--with-menu[data-v-b9bda6c2] .button-vue,.avatardiv--with-menu[data-v-b9bda6c2] .button-vue__icon{height:var(--size);min-height:var(--size);width:var(--size)!important;min-width:var(--size)}.avatardiv .avatardiv__initials-wrapper[data-v-b9bda6c2]{display:block;height:var(--size);width:var(--size);background-color:var(--color-main-background);border-radius:50%}.avatardiv .avatardiv__initials-wrapper .avatardiv__initials[data-v-b9bda6c2]{position:absolute;top:0;left:0;display:block;width:100%;text-align:center;font-weight:400}.avatardiv img[data-v-b9bda6c2]{width:100%;height:100%;object-fit:cover}.avatardiv .material-design-icon[data-v-b9bda6c2]{width:var(--size);height:var(--size)}.avatardiv .avatardiv__user-status[data-v-b9bda6c2]{position:absolute;right:-4px;bottom:-4px;max-height:18px;max-width:18px;height:40%;width:40%;line-height:15px;font-size:var(--default-font-size);border:2px solid var(--color-main-background);background-color:var(--color-main-background);background-repeat:no-repeat;background-size:16px;background-position:center;border-radius:50%}.acli:hover .avatardiv .avatardiv__user-status[data-v-b9bda6c2]{border-color:var(--color-background-hover);background-color:var(--color-background-hover)}.acli.active .avatardiv .avatardiv__user-status[data-v-b9bda6c2]{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}.avatardiv .avatardiv__user-status--online[data-v-b9bda6c2]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K)}.avatardiv .avatardiv__user-status--dnd[data-v-b9bda6c2]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg==);background-color:#fff}.avatardiv .avatardiv__user-status--away[data-v-b9bda6c2]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg==)}.avatardiv .avatardiv__user-status--icon[data-v-b9bda6c2]{border:none;background-color:transparent}.avatardiv .popovermenu-wrapper[data-v-b9bda6c2]{position:relative;display:inline-block}.avatar-class-icon[data-v-b9bda6c2]{display:block;border-radius:50%;background-color:var(--color-background-darker);height:100%}.material-design-icon[data-v-7baca6e4]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-7baca6e4]{display:flex;align-items:center}.action-items>button[data-v-7baca6e4]{margin-right:7px}.action-item[data-v-7baca6e4]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-7baca6e4]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-7baca6e4]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-7baca6e4]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-7baca6e4]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-7baca6e4]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-7baca6e4]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-7baca6e4]{background-color:var(--open-background-color)}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-large);overflow:hidden}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(50vh - 16px);overflow:auto}.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper--theme-dropdown.v-popper__popper{z-index:100000;top:0;left:0;display:block!important;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.v-popper--theme-dropdown.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-large);overflow:hidden;background:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:transparent;border-width:10px}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-10px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-10px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-10px;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-c0bc0588]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-c0bc0588]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-link[data-v-c0bc0588]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-link>span[data-v-c0bc0588]{cursor:pointer;white-space:nowrap}.action-link__icon[data-v-c0bc0588]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-link[data-v-c0bc0588] .material-design-icon{width:44px;height:44px;opacity:1}.action-link[data-v-c0bc0588] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-link__longtext-wrapper[data-v-c0bc0588],.action-link__longtext[data-v-c0bc0588]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-link__longtext[data-v-c0bc0588]{cursor:pointer;white-space:pre-wrap!important}.action-link__name[data-v-c0bc0588]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-link__menu-icon[data-v-c0bc0588]{margin-left:auto;margin-right:-14px}.material-design-icon[data-v-b1c5a80f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widget-custom[data-v-b1c5a80f]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-large);background-color:transparent;display:flex}.widget-access[data-v-b1c5a80f]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-large);background-color:transparent;display:flex;padding:calc(var(--default-grid-baseline, 4px) * 3)}.widget-default[data-v-b1c5a80f]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-large);background-color:transparent;display:flex}.widget-default--compact[data-v-b1c5a80f]{flex-direction:column}.widget-default--compact .widget-default--image[data-v-b1c5a80f]{width:100%;height:150px}.widget-default--compact .widget-default--details[data-v-b1c5a80f]{width:100%;padding-top:calc(var(--default-grid-baseline, 4px) * 2);padding-bottom:calc(var(--default-grid-baseline, 4px) * 2)}.widget-default--compact .widget-default--description[data-v-b1c5a80f]{display:none}.widget-default--image[data-v-b1c5a80f]{width:40%;background-position:center;background-size:cover;background-repeat:no-repeat}.widget-default--name[data-v-b1c5a80f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.widget-default--details[data-v-b1c5a80f]{padding:calc(var(--default-grid-baseline, 4px) * 3);width:60%}.widget-default--details p[data-v-b1c5a80f]{margin:0;padding:0}.widget-default--description[data-v-b1c5a80f]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical}.widget-default--link[data-v-b1c5a80f]{color:var(--color-text-maxcontrast);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-bd1fbb02]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widgets--list.icon-loading[data-v-bd1fbb02]{min-height:44px}.material-design-icon[data-v-5f33f45b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.rich-text--wrapper[data-v-5f33f45b]{word-break:break-word;line-height:1.5}.rich-text--wrapper .rich-text--fallback[data-v-5f33f45b],.rich-text--wrapper .rich-text-component[data-v-5f33f45b]{display:inline}.rich-text--wrapper .rich-text--external-link[data-v-5f33f45b]{text-decoration:underline}.rich-text--wrapper .rich-text--external-link[data-v-5f33f45b]:after{content:" ↗"}.rich-text--wrapper .rich-text--ordered-list .rich-text--list-item[data-v-5f33f45b]{list-style:decimal}.rich-text--wrapper .rich-text--un-ordered-list .rich-text--list-item[data-v-5f33f45b]{list-style:initial}.rich-text--wrapper .rich-text--list-item[data-v-5f33f45b]{white-space:initial;color:var(--color-text-light);padding:initial;margin-left:20px}.rich-text--wrapper .rich-text--list-item.task-list-item[data-v-5f33f45b]{list-style:none;white-space:initial;color:var(--color-text-light)}.rich-text--wrapper .rich-text--list-item.task-list-item input[data-v-5f33f45b]{min-height:initial}.rich-text--wrapper .rich-text--strong[data-v-5f33f45b]{white-space:initial;font-weight:700;color:var(--color-text-light)}.rich-text--wrapper .rich-text--italic[data-v-5f33f45b]{white-space:initial;font-style:italic;color:var(--color-text-light)}.rich-text--wrapper .rich-text--heading[data-v-5f33f45b]{white-space:initial;font-size:initial;color:var(--color-text-light);margin-bottom:5px;margin-top:5px;font-weight:700}.rich-text--wrapper .rich-text--heading.rich-text--heading-1[data-v-5f33f45b]{font-size:20px}.rich-text--wrapper .rich-text--heading.rich-text--heading-2[data-v-5f33f45b]{font-size:19px}.rich-text--wrapper .rich-text--heading.rich-text--heading-3[data-v-5f33f45b]{font-size:18px}.rich-text--wrapper .rich-text--heading.rich-text--heading-4[data-v-5f33f45b]{font-size:17px}.rich-text--wrapper .rich-text--heading.rich-text--heading-5[data-v-5f33f45b]{font-size:16px}.rich-text--wrapper .rich-text--heading.rich-text--heading-6[data-v-5f33f45b]{font-size:15px}.rich-text--wrapper .rich-text--hr[data-v-5f33f45b]{border-top:1px solid var(--color-border-dark);border-bottom:0}.rich-text--wrapper .rich-text--pre[data-v-5f33f45b]{border:1px solid var(--color-border-dark);background-color:var(--color-background-dark);padding:5px}.rich-text--wrapper .rich-text--code[data-v-5f33f45b]{background-color:var(--color-background-dark)}.rich-text--wrapper .rich-text--blockquote[data-v-5f33f45b]{border-left:3px solid var(--color-border-dark);padding-left:5px}.rich-text--wrapper .rich-text--table[data-v-5f33f45b]{border-collapse:collapse}.rich-text--wrapper .rich-text--table thead tr th[data-v-5f33f45b]{border:1px solid var(--color-border-dark);font-weight:700;padding:6px 13px}.rich-text--wrapper .rich-text--table tbody tr td[data-v-5f33f45b]{border:1px solid var(--color-border-dark);padding:6px 13px}.rich-text--wrapper .rich-text--table tbody tr[data-v-5f33f45b]:nth-child(2n){background-color:var(--color-background-dark)}.rich-text--wrapper-markdown div>*[data-v-5f33f45b]:first-child,.rich-text--wrapper-markdown blockquote>*[data-v-5f33f45b]:first-child{margin-top:0!important}.rich-text--wrapper-markdown div>*[data-v-5f33f45b]:last-child,.rich-text--wrapper-markdown blockquote>*[data-v-5f33f45b]:last-child{margin-bottom:0!important}.rich-text--wrapper-markdown h1[data-v-5f33f45b],.rich-text--wrapper-markdown h2[data-v-5f33f45b],.rich-text--wrapper-markdown h3[data-v-5f33f45b],.rich-text--wrapper-markdown h4[data-v-5f33f45b],.rich-text--wrapper-markdown h5[data-v-5f33f45b],.rich-text--wrapper-markdown h6[data-v-5f33f45b],.rich-text--wrapper-markdown p[data-v-5f33f45b],.rich-text--wrapper-markdown ul[data-v-5f33f45b],.rich-text--wrapper-markdown ol[data-v-5f33f45b],.rich-text--wrapper-markdown blockquote[data-v-5f33f45b],.rich-text--wrapper-markdown pre[data-v-5f33f45b]{margin-top:0;margin-bottom:1em}.rich-text--wrapper-markdown h1[data-v-5f33f45b],.rich-text--wrapper-markdown h2[data-v-5f33f45b],.rich-text--wrapper-markdown h3[data-v-5f33f45b],.rich-text--wrapper-markdown h4[data-v-5f33f45b],.rich-text--wrapper-markdown h5[data-v-5f33f45b],.rich-text--wrapper-markdown h6[data-v-5f33f45b]{font-weight:700}.rich-text--wrapper-markdown h1[data-v-5f33f45b]{font-size:30px}.rich-text--wrapper-markdown ul[data-v-5f33f45b],.rich-text--wrapper-markdown ol[data-v-5f33f45b]{padding-left:15px}.rich-text--wrapper-markdown ul[data-v-5f33f45b]{list-style-type:disc}.rich-text--wrapper-markdown blockquote[data-v-5f33f45b]{padding-left:13px;border-left:2px solid var(--color-border-dark);color:var(--color-text-lighter)}a[data-v-5f33f45b]:not(.rich-text--component){text-decoration:underline}.material-design-icon[data-v-cf695ff9],.material-design-icon[data-v-9d850ea5]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.provider-list[data-v-9d850ea5]{width:100%;min-height:400px;padding:0 16px 16px;display:flex;flex-direction:column}.provider-list--select[data-v-9d850ea5]{width:100%}.provider-list--select .provider[data-v-9d850ea5]{display:flex;align-items:center;height:28px;overflow:hidden}.provider-list--select .provider .link-icon[data-v-9d850ea5]{margin-right:8px}.provider-list--select .provider .provider-icon[data-v-9d850ea5]{width:20px;height:20px;object-fit:contain;margin-right:8px;filter:var(--background-invert-if-dark)}.provider-list--select .provider .option-text[data-v-9d850ea5]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-d0ba247a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.raw-link[data-v-d0ba247a]{width:100%;min-height:350px;display:flex;flex-direction:column;overflow-y:auto;padding:0 16px 16px}.raw-link .input-wrapper[data-v-d0ba247a]{width:100%}.raw-link .reference-widget[data-v-d0ba247a]{display:flex}.raw-link--empty-content .provider-icon[data-v-d0ba247a]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.raw-link--input[data-v-d0ba247a]{width:99%}.material-design-icon[data-v-7a394a58]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.result[data-v-7a394a58]{display:flex;align-items:center;height:44px;overflow:hidden}.result--icon-class[data-v-7a394a58],.result--image[data-v-7a394a58]{width:40px;min-width:40px;height:40px;object-fit:contain}.result--icon-class.rounded[data-v-7a394a58],.result--image.rounded[data-v-7a394a58]{border-radius:50%}.result--content[data-v-7a394a58]{display:flex;flex-direction:column;padding-left:10px;overflow:hidden}.result--content--name[data-v-7a394a58],.result--content--subline[data-v-7a394a58]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-97d196f0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.smart-picker-search[data-v-97d196f0]{width:100%;display:flex;flex-direction:column;padding:0 16px 16px}.smart-picker-search.with-empty-content[data-v-97d196f0]{min-height:400px}.smart-picker-search .provider-icon[data-v-97d196f0]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.smart-picker-search--select[data-v-97d196f0],.smart-picker-search--select .search-result[data-v-97d196f0]{width:100%}.smart-picker-search--select .group-name-icon[data-v-97d196f0],.smart-picker-search--select .option-simple-icon[data-v-97d196f0]{width:20px;height:20px;margin:0 20px 0 10px}.smart-picker-search--select .custom-option[data-v-97d196f0]{height:44px;display:flex;align-items:center;overflow:hidden}.smart-picker-search--select .option-text[data-v-97d196f0]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-aa77d0d3]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker[data-v-aa77d0d3],.reference-picker .custom-element-wrapper[data-v-aa77d0d3]{display:flex;overflow-y:auto;width:100%}.reference-picker-modal .modal-container{display:flex!important}.material-design-icon[data-v-3f1a4ac7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker-modal--content[data-v-3f1a4ac7]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}.reference-picker-modal--content .close-button[data-v-3f1a4ac7],.reference-picker-modal--content .back-button[data-v-3f1a4ac7]{position:absolute;top:4px}.reference-picker-modal--content .back-button[data-v-3f1a4ac7]{left:4px}.reference-picker-modal--content .close-button[data-v-3f1a4ac7]{right:4px}.reference-picker-modal--content>h2[data-v-3f1a4ac7]{display:flex;margin:12px 0 20px}.reference-picker-modal--content>h2 .icon[data-v-3f1a4ac7]{margin-right:8px}body{--vs-search-input-color: var(--color-main-text);--vs-search-input-bg: var(--color-main-background);--vs-search-input-placeholder-color: var(--color-text-maxcontrast);--vs-font-size: var(--default-font-size);--vs-line-height: var(--default-line-height);--vs-state-disabled-bg: var(--color-background-hover);--vs-state-disabled-color: var(--color-text-maxcontrast);--vs-state-disabled-controls-color: var(--color-text-maxcontrast);--vs-state-disabled-cursor: not-allowed;--vs-disabled-bg: var(--color-background-hover);--vs-disabled-color: var(--color-text-maxcontrast);--vs-disabled-cursor: not-allowed;--vs-border-color: var(--color-border-maxcontrast);--vs-border-width: 2px;--vs-border-style: solid;--vs-border-radius: var(--border-radius-large);--vs-controls-color: var(--color-main-text);--vs-selected-bg: var(--color-background-hover);--vs-selected-color: var(--color-main-text);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: var(--color-main-background);--vs-dropdown-color: var(--color-main-text);--vs-dropdown-z-index: 9999;--vs-dropdown-box-shadow: 0px 2px 2px 0px var(--color-box-shadow);--vs-dropdown-option-padding: 8px 20px;--vs-dropdown-option--active-bg: var(--color-background-hover);--vs-dropdown-option--active-color: var(--color-main-text);--vs-dropdown-option--kb-focus-box-shadow: inset 0px 0px 0px 2px var(--vs-border-color);--vs-dropdown-option--deselect-bg: var(--color-error);--vs-dropdown-option--deselect-color: #fff;--vs-transition-duration: 0ms;--vs-actions-padding: 0 8px 0 4px}.v-select.select{min-height:44px;min-width:260px;margin:0}.v-select.select .vs__selected{height:32px;padding:0 8px 0 12px;border-radius:18px!important;background:var(--color-primary-element-light);border:none}.v-select.select .vs__search,.v-select.select .vs__search:focus{margin:2px 0 0}.v-select.select .vs__dropdown-toggle{padding:0}.v-select.select .vs__clear{margin-right:2px}.v-select.select.vs--open .vs__dropdown-toggle{outline:2px solid var(--color-main-background);border-color:var(--color-main-text);border-bottom-color:transparent}.v-select.select:not(.vs--disabled,.vs--open) .vs__dropdown-toggle:hover{outline:2px solid var(--color-main-background);border-color:var(--color-main-text)}.v-select.select.vs--disabled .vs__search,.v-select.select.vs--disabled .vs__selected{color:var(--color-text-maxcontrast)}.v-select.select.vs--disabled .vs__clear,.v-select.select.vs--disabled .vs__deselect{display:none}.v-select.select--no-wrap .vs__selected-options{flex-wrap:nowrap;overflow:auto;min-width:unset}.v-select.select--no-wrap .vs__selected-options .vs__selected{min-width:unset}.v-select.select--drop-up.vs--open .vs__dropdown-toggle{border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-color:transparent;border-bottom-color:var(--color-main-text)}.v-select.select .vs__selected-options{min-height:40px}.v-select.select .vs__selected-options .vs__selected~.vs__search[readonly]{position:absolute}.v-select.select.vs--single.vs--loading .vs__selected,.v-select.select.vs--single.vs--open .vs__selected{max-width:100%;opacity:1;color:var(--color-text-maxcontrast)}.v-select.select.vs--single .vs__selected-options{flex-wrap:nowrap}.v-select.select.vs--single .vs__selected{background:unset!important}.vs__dropdown-menu{border-color:var(--color-main-text)!important;outline:2px solid var(--color-main-background);padding:4px!important;box-shadow:none}.vs__dropdown-menu--floating{width:max-content;position:absolute;top:0;left:0}.vs__dropdown-menu--floating-placement-top{border-radius:var(--vs-border-radius) var(--vs-border-radius) 0 0!important;border-top-style:var(--vs-border-style)!important;border-bottom-style:none!important}.vs__dropdown-menu .vs__dropdown-option{border-radius:6px!important}.vs__dropdown-menu .vs__no-options{color:var(--color-text-lighter)!important}.user-select .vs__selected{padding:0 2px!important}:root{--vs-colors--lightest:rgba(60,60,60,.26);--vs-colors--light:rgba(60,60,60,.5);--vs-colors--dark:#333;--vs-colors--darkest:rgba(0,0,0,.15);--vs-search-input-color:inherit;--vs-search-input-bg:#fff;--vs-search-input-placeholder-color:inherit;--vs-font-size:1rem;--vs-line-height:1.4;--vs-state-disabled-bg:#f8f8f8;--vs-state-disabled-color:var(--vs-colors--light);--vs-state-disabled-controls-color:var(--vs-colors--light);--vs-state-disabled-cursor:not-allowed;--vs-border-color:var(--vs-colors--lightest);--vs-border-width:1px;--vs-border-style:solid;--vs-border-radius:4px;--vs-actions-padding:4px 6px 0 3px;--vs-controls-color:var(--vs-colors--light);--vs-controls-size:1;--vs-controls--deselect-text-shadow:0 1px 0 #fff;--vs-selected-bg:#f0f0f0;--vs-selected-color:var(--vs-colors--dark);--vs-selected-border-color:var(--vs-border-color);--vs-selected-border-style:var(--vs-border-style);--vs-selected-border-width:var(--vs-border-width);--vs-dropdown-bg:#fff;--vs-dropdown-color:inherit;--vs-dropdown-z-index:1000;--vs-dropdown-min-width:160px;--vs-dropdown-max-height:350px;--vs-dropdown-box-shadow:0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg:#000;--vs-dropdown-option-color:var(--vs-dropdown-color);--vs-dropdown-option-padding:3px 20px;--vs-dropdown-option--active-bg:#136cfb;--vs-dropdown-option--active-color:#fff;--vs-dropdown-option--kb-focus-box-shadow:inset 0px 0px 0px 2px #949494;--vs-dropdown-option--deselect-bg:#fb5858;--vs-dropdown-option--deselect-color:#fff;--vs-transition-timing-function:cubic-bezier(1,-.115,.975,.855);--vs-transition-duration:.15s}.v-select{font-family:inherit;position:relative}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function:cubic-bezier(1,.5,.8,1);--vs-transition-duration:.15s}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg:var(--vs-state-disabled-bg);--vs-disabled-color:var(--vs-state-disabled-color);--vs-disabled-cursor:var(--vs-state-disabled-cursor)}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{background-color:var(--vs-disabled-bg);cursor:var(--vs-disabled-cursor)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--vs-search-input-bg);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);display:flex;padding:0 0 4px;white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;min-width:0;padding:0 2px;position:relative}.vs__actions{align-items:center;display:flex;padding:var(--vs-actions-padding)}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);background-color:transparent;border:0;cursor:pointer;margin-right:8px;padding:0}.vs__dropdown-menu{background:var(--vs-dropdown-bg);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-style:none;box-shadow:var(--vs-dropdown-box-shadow);box-sizing:border-box;color:var(--vs-dropdown-color);display:block;left:0;list-style:none;margin:0;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);overflow-y:auto;padding:5px 0;position:absolute;text-align:left;top:calc(100% - var(--vs-border-width));width:100%;z-index:var(--vs-dropdown-z-index)}.vs__no-options{text-align:center}.vs__dropdown-option{clear:both;color:var(--vs-dropdown-option-color);cursor:pointer;display:block;line-height:1.42857143;padding:var(--vs-dropdown-option-padding);white-space:nowrap}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--kb-focus{box-shadow:var(--vs-dropdown-option--kb-focus-box-shadow)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{align-items:center;background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);display:flex;line-height:var(--vs-line-height);margin:4px 2px 0;min-width:0;padding:0 .25em;z-index:0}.vs__deselect{fill:var(--vs-controls-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;cursor:pointer;display:inline-flex;margin-left:4px;padding:0;text-shadow:var(--vs-controls--deselect-text-shadow)}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--loading .vs__selected,.vs--single.vs--open .vs__selected{max-width:100%;opacity:.4;position:absolute}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:1px solid transparent;border-left:none;box-shadow:none;color:var(--vs-search-input-color);flex-grow:1;font-size:var(--vs-font-size);line-height:var(--vs-line-height);margin:4px 0 0;max-width:100%;outline:none;padding:0 7px;width:0;z-index:1}.vs__search::-moz-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search:-ms-input-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;border:.9em solid hsla(0,0%,39%,.1);border-left-color:#3c3c3c73;font-size:5px;opacity:0;overflow:hidden;text-indent:-9999em;transform:translateZ(0) scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;height:5em;transform:scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));width:5em}.vs--loading .vs__spinner{opacity:1}.material-design-icon[data-v-08c4259e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.name-parts[data-v-08c4259e]{display:flex;max-width:100%;cursor:inherit}.name-parts__first[data-v-08c4259e]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-08c4259e],.name-parts__last[data-v-08c4259e]{white-space:pre;cursor:inherit}.name-parts__first strong[data-v-08c4259e],.name-parts__last strong[data-v-08c4259e]{font-weight:700}.material-design-icon[data-v-562c32c6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.option[data-v-562c32c6]{display:flex;align-items:center;width:100%;height:var(--height);cursor:inherit}.option__avatar[data-v-562c32c6]{margin-right:var(--margin)}.option__details[data-v-562c32c6]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__lineone[data-v-562c32c6]{color:var(--color-main-text)}.option__linetwo[data-v-562c32c6]{color:var(--color-text-maxcontrast)}.option__lineone[data-v-562c32c6],.option__linetwo[data-v-562c32c6]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1em}.option__lineone strong[data-v-562c32c6],.option__linetwo strong[data-v-562c32c6]{font-weight:700}.option__icon[data-v-562c32c6]{width:44px;height:44px;color:var(--color-text-maxcontrast)}.option__icon.icon[data-v-562c32c6]{flex:0 0 44px;opacity:.7;background-position:center;background-size:16px}.option__details[data-v-562c32c6],.option__lineone[data-v-562c32c6],.option__linetwo[data-v-562c32c6],.option__icon[data-v-562c32c6]{cursor:inherit}.material-design-icon[data-v-31a36009]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.input-field[data-v-31a36009]{position:relative;width:100%;border-radius:var(--border-radius-large);margin-block-start:6px}.input-field__main-wrapper[data-v-31a36009]{height:var(--default-clickable-area);position:relative}.input-field--disabled[data-v-31a36009]{opacity:.7;filter:saturate(.7)}.input-field__input[data-v-31a36009]{margin:0;padding-inline:12px 6px;height:var(--default-clickable-area)!important;width:100%;font-size:var(--default-font-size);text-overflow:ellipsis;background-color:var(--color-main-background);color:var(--color-main-text);border:2px solid var(--color-border-maxcontrast);border-radius:var(--border-radius-large);cursor:pointer;-webkit-appearance:textfield!important;-moz-appearance:textfield!important}.input-field__input--label-outside[data-v-31a36009]{padding-block:0}.input-field__input[data-v-31a36009]:active:not([disabled]),.input-field__input[data-v-31a36009]:hover:not([disabled]),.input-field__input[data-v-31a36009]:focus:not([disabled]){border-color:2px solid var(--color-main-text)!important;box-shadow:0 0 0 2px var(--color-main-background)!important}.input-field__input:focus+.input-field__label[data-v-31a36009],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-31a36009]{color:var(--color-main-text)}.input-field__input[data-v-31a36009]:not(:focus,.input-field__input--label-outside)::placeholder{opacity:0}.input-field__input[data-v-31a36009]:focus{cursor:text}.input-field__input[data-v-31a36009]:disabled{cursor:default}.input-field__input[data-v-31a36009]:focus-visible{box-shadow:unset!important}.input-field__input--leading-icon[data-v-31a36009]{padding-inline-start:var(--default-clickable-area)}.input-field__input--trailing-icon[data-v-31a36009]{padding-inline-end:var(--default-clickable-area)}.input-field__input--success[data-v-31a36009]{border-color:var(--color-success)!important}.input-field__input--success[data-v-31a36009]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--error[data-v-31a36009]{border-color:var(--color-error)!important}.input-field__input--error[data-v-31a36009]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__label[data-v-31a36009]{position:absolute;margin-inline:14px 0;max-width:fit-content;inset-block-start:11px;inset-inline:0;color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.input-field__label--leading-icon[data-v-31a36009]{margin-inline-start:var(--default-clickable-area)}.input-field__label--trailing-icon[data-v-31a36009]{margin-inline-end:var(--default-clickable-area)}.input-field__input:focus+.input-field__label[data-v-31a36009],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-31a36009]{inset-block-start:-10px;font-size:13px;font-weight:500;border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0;background-color:var(--color-main-background);padding-inline:5px;margin-inline-start:9px;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.input-field__input:focus+.input-field__label--leading-icon[data-v-31a36009],.input-field__input:not(:placeholder-shown)+.input-field__label--leading-icon[data-v-31a36009]{margin-inline-start:41px}.input-field__icon[data-v-31a36009]{position:absolute;height:var(--default-clickable-area);width:var(--default-clickable-area);display:flex;align-items:center;justify-content:center;opacity:.7}.input-field__icon--leading[data-v-31a36009]{inset-block-end:0;inset-inline-start:2px}.input-field__icon--trailing[data-v-31a36009]{inset-block-end:0;inset-inline-end:2px}.input-field__trailing-button.button-vue[data-v-31a36009]{position:absolute;top:0;right:0;border-radius:var(--border-radius-large)}.input-field__helper-text-message[data-v-31a36009]{padding-block:4px;display:flex;align-items:center}.input-field__helper-text-message__icon[data-v-31a36009]{margin-inline-end:8px}.input-field__helper-text-message--error[data-v-31a36009]{color:var(--color-error-text)}.input-field__helper-text-message--success[data-v-31a36009]{color:var(--color-success-text)}.material-design-icon[data-v-910493a0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.modal-mask[data-v-910493a0]{position:fixed;z-index:9998;top:0;left:0;display:block;width:100%;height:100%;background-color:#00000080}.modal-mask--dark[data-v-910493a0]{background-color:#000000eb}.modal-header[data-v-910493a0]{position:absolute;z-index:10001;top:0;right:0;left:0;display:flex!important;align-items:center;justify-content:center;width:100%;height:50px;overflow:hidden;transition:opacity .25s,visibility .25s}.modal-header .modal-name[data-v-910493a0]{overflow-x:hidden;box-sizing:border-box;width:100%;padding:0 132px 0 12px;transition:padding ease .1s;white-space:nowrap;text-overflow:ellipsis;color:#fff;font-size:14px;margin-bottom:0}@media only screen and (min-width: 1024px){.modal-header .modal-name[data-v-910493a0]{padding-left:132px;text-align:center}}.modal-header .icons-menu[data-v-910493a0]{position:absolute;right:0;display:flex;align-items:center;justify-content:flex-end}.modal-header .icons-menu .header-close[data-v-910493a0]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:3px;padding:0}.modal-header .icons-menu .play-pause-icons[data-v-910493a0]{position:relative;width:50px;height:50px;margin:0;padding:0;cursor:pointer;border:none;background-color:transparent}.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__play[data-v-910493a0],.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__pause[data-v-910493a0],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__play[data-v-910493a0],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__pause[data-v-910493a0]{opacity:1;border-radius:22px;background-color:#7f7f7f40}.modal-header .icons-menu .play-pause-icons__play[data-v-910493a0],.modal-header .icons-menu .play-pause-icons__pause[data-v-910493a0]{box-sizing:border-box;width:44px;height:44px;margin:3px;cursor:pointer;opacity:.7}.modal-header .icons-menu .header-actions[data-v-910493a0]{color:#fff}.modal-header .icons-menu[data-v-910493a0] .action-item{margin:3px}.modal-header .icons-menu[data-v-910493a0] .action-item--single{box-sizing:border-box;width:44px;height:44px;cursor:pointer;background-position:center;background-size:22px}.modal-header .icons-menu[data-v-910493a0] button{color:#fff}.modal-header .icons-menu[data-v-910493a0] .action-item__menutoggle{padding:0}.modal-header .icons-menu[data-v-910493a0] .action-item__menutoggle span,.modal-header .icons-menu[data-v-910493a0] .action-item__menutoggle svg{width:var(--icon-size);height:var(--icon-size)}.modal-wrapper[data-v-910493a0]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.modal-wrapper .prev[data-v-910493a0],.modal-wrapper .next[data-v-910493a0]{z-index:10000;height:35vh;min-height:300px;position:absolute;transition:opacity .25s;color:#fff}.modal-wrapper .prev[data-v-910493a0]:focus-visible,.modal-wrapper .next[data-v-910493a0]:focus-visible{box-shadow:0 0 0 2px var(--color-primary-element-text);background-color:var(--color-box-shadow)}.modal-wrapper .prev[data-v-910493a0]{left:2px}.modal-wrapper .next[data-v-910493a0]{right:2px}.modal-wrapper .modal-container[data-v-910493a0]{position:relative;display:flex;padding:0;transition:transform .3s ease;border-radius:var(--border-radius-large);background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px #0003}.modal-wrapper .modal-container__close[data-v-910493a0]{z-index:1;position:absolute;top:4px;right:4px}.modal-wrapper .modal-container__content[data-v-910493a0]{width:100%;min-height:52px;overflow:auto}.modal-wrapper--small .modal-container[data-v-910493a0]{width:400px;max-width:90%;max-height:min(90%,100% - 100px)}.modal-wrapper--normal .modal-container[data-v-910493a0]{max-width:90%;width:600px;max-height:min(90%,100% - 100px)}.modal-wrapper--large .modal-container[data-v-910493a0]{max-width:90%;width:900px;max-height:min(90%,100% - 100px)}.modal-wrapper--full .modal-container[data-v-910493a0]{width:100%;height:calc(100% - var(--header-height));position:absolute;top:50px;border-radius:0}@media only screen and (max-width: 512px){.modal-wrapper .modal-container[data-v-910493a0]{max-width:initial;width:100%;max-height:initial;height:calc(100% - var(--header-height));position:absolute;top:50px;border-radius:0}}.fade-enter-active[data-v-910493a0],.fade-leave-active[data-v-910493a0]{transition:opacity .25s}.fade-enter[data-v-910493a0],.fade-leave-to[data-v-910493a0]{opacity:0}.fade-visibility-enter[data-v-910493a0],.fade-visibility-leave-to[data-v-910493a0]{visibility:hidden;opacity:0}.modal-in-enter-active[data-v-910493a0],.modal-in-leave-active[data-v-910493a0],.modal-out-enter-active[data-v-910493a0],.modal-out-leave-active[data-v-910493a0]{transition:opacity .25s}.modal-in-enter[data-v-910493a0],.modal-in-leave-to[data-v-910493a0],.modal-out-enter[data-v-910493a0],.modal-out-leave-to[data-v-910493a0]{opacity:0}.modal-in-enter .modal-container[data-v-910493a0],.modal-in-leave-to .modal-container[data-v-910493a0]{transform:scale(.9)}.modal-out-enter .modal-container[data-v-910493a0],.modal-out-leave-to .modal-container[data-v-910493a0]{transform:scale(1.1)}.modal-mask .play-pause-icons .progress-ring[data-v-910493a0]{position:absolute;top:0;left:0;transform:rotate(-90deg)}.modal-mask .play-pause-icons .progress-ring .progress-ring__circle[data-v-910493a0]{transition:.1s stroke-dashoffset;transform-origin:50% 50%;animation:progressring-910493a0 linear var(--slideshow-duration) infinite;stroke-linecap:round;stroke-dashoffset:94.2477796077;stroke-dasharray:94.2477796077}.modal-mask .play-pause-icons--paused .icon-pause[data-v-910493a0]{animation:breath-910493a0 2s cubic-bezier(.4,0,.2,1) infinite}.modal-mask .play-pause-icons--paused .progress-ring__circle[data-v-910493a0]{animation-play-state:paused!important}@keyframes progressring-910493a0{0%{stroke-dashoffset:94.2477796077}to{stroke-dashoffset:0}}@keyframes breath-910493a0{0%{opacity:1}50%{opacity:0}to{opacity:1}}.material-design-icon[data-v-7e49b418]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-7e49b418]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-7e49b418]{pointer-events:none;opacity:.5}.action--disabled[data-v-7e49b418]:hover,.action--disabled[data-v-7e49b418]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-7e49b418]{opacity:1!important}.action-button[data-v-7e49b418]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-button>span[data-v-7e49b418]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-7e49b418]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-7e49b418] .material-design-icon{width:44px;height:44px;opacity:1}.action-button[data-v-7e49b418] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-7e49b418],.action-button__longtext[data-v-7e49b418]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-7e49b418]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-7e49b418]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-button__menu-icon[data-v-7e49b418]{margin-left:auto;margin-right:-14px}.nc-button-group-base>div{text-align:center;color:var(--color-text-maxcontrast)}.nc-button-group-base ul.nc-button-group-content{display:flex;justify-content:space-between}.nc-button-group-base ul.nc-button-group-content li{flex:1 1}.nc-button-group-base ul.nc-button-group-content .action-button{padding:0!important;width:100%;display:flex;justify-content:center}.material-design-icon[data-v-7c8f7463]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-caption[data-v-7c8f7463]{color:var(--color-text-maxcontrast);line-height:44px;white-space:nowrap;text-overflow:ellipsis;box-shadow:none!important;-webkit-user-select:none;user-select:none;pointer-events:none;margin-left:12px;padding-right:14px;height:44px;display:flex;align-items:center}.material-design-icon[data-v-24834b9f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-24834b9f]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-24834b9f]{pointer-events:none;opacity:.5}.action--disabled[data-v-24834b9f]:hover,.action--disabled[data-v-24834b9f]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-24834b9f]{opacity:1!important}.action-checkbox[data-v-24834b9f]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;line-height:44px}.action-checkbox__checkbox[data-v-24834b9f]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__label[data-v-24834b9f]{display:flex;align-items:center;width:100%;padding:0 14px 0 0!important}.action-checkbox__label[data-v-24834b9f]:before{margin:0 14px!important}.action-checkbox--disabled[data-v-24834b9f],.action-checkbox--disabled .action-checkbox__label[data-v-24834b9f]{cursor:pointer}.material-design-icon[data-v-48dfde24]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}button[data-v-48dfde24]:not(.button-vue),input[data-v-48dfde24]:not([type=range]),textarea[data-v-48dfde24]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-48dfde24]:not(.button-vue):not(:disabled):not(.primary):hover,button[data-v-48dfde24]:not(.button-vue):not(:disabled):not(.primary):focus,button:not(.button-vue):not(:disabled):not(.primary).active[data-v-48dfde24],input[data-v-48dfde24]:not([type=range]):not(:disabled):not(.primary):hover,input[data-v-48dfde24]:not([type=range]):not(:disabled):not(.primary):focus,input:not([type=range]):not(:disabled):not(.primary).active[data-v-48dfde24],textarea[data-v-48dfde24]:not(:disabled):not(.primary):hover,textarea[data-v-48dfde24]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-48dfde24]{border-color:var(--color-primary-element);outline:none}button[data-v-48dfde24]:not(.button-vue):not(:disabled):not(.primary):active,input[data-v-48dfde24]:not([type=range]):not(:disabled):not(.primary):active,textarea[data-v-48dfde24]:not(:disabled):not(.primary):active{color:var(--color-text-light);outline:none;background-color:var(--color-main-background)}button[data-v-48dfde24]:not(.button-vue):disabled,input[data-v-48dfde24]:not([type=range]):disabled,textarea[data-v-48dfde24]:disabled{cursor:default;opacity:.5;color:var(--color-text-maxcontrast);background-color:var(--color-background-dark)}button[data-v-48dfde24]:not(.button-vue):required,input[data-v-48dfde24]:not([type=range]):required,textarea[data-v-48dfde24]:required{box-shadow:none}button[data-v-48dfde24]:not(.button-vue):invalid,input[data-v-48dfde24]:not([type=range]):invalid,textarea[data-v-48dfde24]:invalid{border-color:var(--color-error);box-shadow:none!important}button:not(.button-vue).primary[data-v-48dfde24],input:not([type=range]).primary[data-v-48dfde24],textarea.primary[data-v-48dfde24]{cursor:pointer;color:var(--color-primary-element-text);border-color:var(--color-primary-element);background-color:var(--color-primary-element)}button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):hover,button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):focus,button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):active,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):hover,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):focus,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):active,textarea.primary[data-v-48dfde24]:not(:disabled):hover,textarea.primary[data-v-48dfde24]:not(:disabled):focus,textarea.primary[data-v-48dfde24]:not(:disabled):active{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):active,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):active,textarea.primary[data-v-48dfde24]:not(:disabled):active{color:var(--color-primary-element-text-dark)}button:not(.button-vue).primary[data-v-48dfde24]:disabled,input:not([type=range]).primary[data-v-48dfde24]:disabled,textarea.primary[data-v-48dfde24]:disabled{cursor:default;color:var(--color-primary-element-text-dark);background-color:var(--color-primary-element)}li.active[data-v-48dfde24]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-48dfde24]{pointer-events:none;opacity:.5}.action--disabled[data-v-48dfde24]:hover,.action--disabled[data-v-48dfde24]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-48dfde24]{opacity:1!important}.action-input[data-v-48dfde24]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400}.action-input__icon-wrapper[data-v-48dfde24]{display:flex;align-self:center;align-items:center;justify-content:center}.action-input__icon-wrapper[data-v-48dfde24] .material-design-icon{width:44px;height:44px;opacity:1}.action-input__icon-wrapper[data-v-48dfde24] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-input>span[data-v-48dfde24]{cursor:pointer;white-space:nowrap}.action-input__icon[data-v-48dfde24]{min-width:0;min-height:0;padding:22px 0 22px 44px;background-position:14px center;background-size:16px}.action-input__form[data-v-48dfde24]{display:flex;align-items:center;flex:1 1 auto;margin:4px 0;padding-right:14px}.action-input__container[data-v-48dfde24]{width:100%}.action-input__input-container[data-v-48dfde24]{display:flex}.action-input__input-container .colorpicker__trigger[data-v-48dfde24],.action-input__input-container .colorpicker__preview[data-v-48dfde24]{width:100%}.action-input__input-container .colorpicker__preview[data-v-48dfde24]{width:100%;height:36px;border-radius:var(--border-radius-large);border:2px solid var(--color-border-maxcontrast);box-shadow:none!important}.action-input__text-label[data-v-48dfde24]{padding:4px 0;display:block}.action-input__text-label--hidden[data-v-48dfde24]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.action-input__datetimepicker[data-v-48dfde24]{width:100%}.action-input__datetimepicker[data-v-48dfde24] .mx-input{margin:0}.action-input__multi[data-v-48dfde24]{width:100%}li:last-child>.action-input[data-v-48dfde24]{padding-bottom:10px}li:first-child>.action-input[data-v-48dfde24]:not(.action-input--visible-label){padding-top:10px}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:"";position:relative;top:-1px;display:inline-block;width:10px;height:10px;vertical-align:middle;border-style:solid;border-color:currentColor;border-width:2px 0 0 2px;border-radius:1px;box-sizing:border-box;transform-origin:center;transform:rotate(-45deg) scale(.7)}.mx-icon-double-left:after{left:-4px}.mx-icon-double-right:before{left:4px}.mx-icon-right:before,.mx-icon-double-right:before,.mx-icon-double-right:after{transform:rotate(135deg) scale(.7)}.mx-btn{box-sizing:border-box;line-height:1;font-size:14px;font-weight:500;padding:7px 15px;margin:0;cursor:pointer;background-color:transparent;outline:none;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#73879c;white-space:nowrap}.mx-btn:hover{border-color:#1284e7;color:#1284e7}.mx-btn:disabled,.mx-btn.disabled{color:#ccc;cursor:not-allowed}.mx-btn-text{border:0;padding:0 4px;text-align:left;line-height:inherit}.mx-scrollbar{height:100%}.mx-scrollbar:hover .mx-scrollbar-track{opacity:1}.mx-scrollbar-wrap{height:100%;overflow-x:hidden;overflow-y:auto}.mx-scrollbar-track{position:absolute;top:2px;right:2px;bottom:2px;width:6px;z-index:1;border-radius:4px;opacity:0;transition:opacity .24s ease-out}.mx-scrollbar-track .mx-scrollbar-thumb{position:absolute;width:100%;height:0;cursor:pointer;border-radius:inherit;background-color:#9093994d;transition:background-color .3s}.mx-zoom-in-down-enter-active,.mx-zoom-in-down-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.mx-zoom-in-down-enter,.mx-zoom-in-down-enter-from,.mx-zoom-in-down-leave-to{opacity:0;transform:scaleY(0)}.mx-datepicker{position:relative;display:inline-block;width:210px}.mx-datepicker svg{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.mx-datepicker-range{width:320px}.mx-datepicker-inline{width:auto}.mx-input-wrapper{position:relative}.mx-input{display:inline-block;box-sizing:border-box;width:100%;height:34px;padding:6px 30px 6px 10px;font-size:14px;line-height:1.4;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px #00000013}.mx-input:hover,.mx-input:focus{border-color:#409aff}.mx-input:disabled,.mx-input.disabled{color:#ccc;background-color:#f3f3f3;border-color:#ccc;cursor:not-allowed}.mx-input:focus{outline:none}.mx-input::-ms-clear{display:none}.mx-icon-calendar,.mx-icon-clear{position:absolute;top:50%;right:8px;transform:translateY(-50%);font-size:16px;line-height:1;color:#00000080;vertical-align:middle}.mx-icon-clear{cursor:pointer}.mx-icon-clear:hover{color:#000c}.mx-datepicker-main{font:14px/1.5 Helvetica Neue,Helvetica,Arial,Microsoft Yahei,sans-serif;color:#73879c;background-color:#fff;border:1px solid #e8e8e8}.mx-datepicker-popup{position:absolute;margin-top:1px;margin-bottom:1px;box-shadow:0 6px 12px #0000002d;z-index:2001}.mx-datepicker-sidebar{float:left;box-sizing:border-box;width:100px;padding:6px;overflow:auto}.mx-datepicker-sidebar+.mx-datepicker-content{margin-left:100px;border-left:1px solid #e8e8e8}.mx-datepicker-body{position:relative;-webkit-user-select:none;user-select:none}.mx-btn-shortcut{display:block;padding:0 6px;line-height:24px}.mx-range-wrapper{display:flex}@media (max-width: 750px){.mx-range-wrapper{flex-direction:column}}.mx-datepicker-header{padding:6px 8px;border-bottom:1px solid #e8e8e8}.mx-datepicker-footer{padding:6px 8px;text-align:right;border-top:1px solid #e8e8e8}.mx-calendar{box-sizing:border-box;width:248px;padding:6px 12px}.mx-calendar+.mx-calendar{border-left:1px solid #e8e8e8}.mx-calendar-header,.mx-time-header{box-sizing:border-box;height:34px;line-height:34px;text-align:center;overflow:hidden}.mx-btn-icon-left,.mx-btn-icon-double-left{float:left}.mx-btn-icon-right,.mx-btn-icon-double-right{float:right}.mx-calendar-header-label{font-size:14px}.mx-calendar-decade-separator{margin:0 2px}.mx-calendar-decade-separator:after{content:"~"}.mx-calendar-content{position:relative;height:224px;box-sizing:border-box}.mx-calendar-content .cell{cursor:pointer}.mx-calendar-content .cell:hover{color:#73879c;background-color:#f3f9fe}.mx-calendar-content .cell.active{color:#fff;background-color:#1284e7}.mx-calendar-content .cell.in-range,.mx-calendar-content .cell.hover-in-range{color:#73879c;background-color:#dbedfb}.mx-calendar-content .cell.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-calendar-week-mode .mx-date-row{cursor:pointer}.mx-calendar-week-mode .mx-date-row:hover{background-color:#f3f9fe}.mx-calendar-week-mode .mx-date-row.mx-active-week{background-color:#dbedfb}.mx-calendar-week-mode .mx-date-row .cell:hover,.mx-calendar-week-mode .mx-date-row .cell.active{color:inherit;background-color:transparent}.mx-week-number{opacity:.5}.mx-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;height:100%;box-sizing:border-box;text-align:center}.mx-table th{padding:0;font-weight:500;vertical-align:middle}.mx-table td{padding:0;vertical-align:middle}.mx-table-date td,.mx-table-date th{height:32px;font-size:12px}.mx-table-date .today{color:#2a90e9}.mx-table-date .cell.not-current-month{color:#ccc;background:none}.mx-time{flex:1;width:224px;background:#fff}.mx-time+.mx-time{border-left:1px solid #e8e8e8}.mx-calendar-time{position:absolute;top:0;left:0;width:100%;height:100%}.mx-time-header{border-bottom:1px solid #e8e8e8}.mx-time-content{height:224px;box-sizing:border-box;overflow:hidden}.mx-time-columns{display:flex;width:100%;height:100%;overflow:hidden}.mx-time-column{flex:1;position:relative;border-left:1px solid #e8e8e8;text-align:center}.mx-time-column:first-child{border-left:0}.mx-time-column .mx-time-list{margin:0;padding:0;list-style:none}.mx-time-column .mx-time-list:after{content:"";display:block;height:192px}.mx-time-column .mx-time-item{cursor:pointer;font-size:12px;height:32px;line-height:32px}.mx-time-column .mx-time-item:hover{color:#73879c;background-color:#f3f9fe}.mx-time-column .mx-time-item.active{color:#1284e7;background-color:transparent;font-weight:700}.mx-time-column .mx-time-item.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-time-option{cursor:pointer;padding:8px 10px;font-size:14px;line-height:20px}.mx-time-option:hover{color:#73879c;background-color:#f3f9fe}.mx-time-option.active{color:#1284e7;background-color:transparent;font-weight:700}.mx-time-option.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-datepicker[data-v-21c5172]{-webkit-user-select:none;user-select:none;color:var(--color-main-text)}.mx-datepicker[data-v-21c5172] svg{fill:var(--color-main-text)}.mx-datepicker[data-v-21c5172] .mx-input-wrapper .mx-input{width:100%;border:2px solid var(--color-border-maxcontrast);background-color:var(--color-main-background);background-clip:content-box}.mx-datepicker[data-v-21c5172] .mx-input-wrapper .mx-input:active:not(.disabled),.mx-datepicker[data-v-21c5172] .mx-input-wrapper .mx-input:hover:not(.disabled),.mx-datepicker[data-v-21c5172] .mx-input-wrapper .mx-input:focus:not(.disabled){border-color:var(--color-primary-element)}.mx-datepicker[data-v-21c5172] .mx-input-wrapper:disabled,.mx-datepicker[data-v-21c5172] .mx-input-wrapper.disabled{cursor:not-allowed;opacity:.7}.mx-datepicker[data-v-21c5172] .mx-input-wrapper .mx-icon-calendar,.mx-datepicker[data-v-21c5172] .mx-input-wrapper .mx-icon-clear{color:var(--color-text-lighter)}.mx-datepicker-main{color:var(--color-main-text);border:1px solid var(--color-border);background-color:var(--color-main-background);font-family:var(--font-face)!important;line-height:1.5}.mx-datepicker-main svg{fill:var(--color-main-text)}.mx-datepicker-main.mx-datepicker-popup{z-index:2000;box-shadow:none}.mx-datepicker-main.mx-datepicker-popup .mx-datepicker-sidebar+.mx-datepicker-content{border-left:1px solid var(--color-border)}.mx-datepicker-main.show-week-number .mx-calendar{width:296px}.mx-datepicker-main .mx-datepicker-header{border-bottom:1px solid var(--color-border)}.mx-datepicker-main .mx-datepicker-footer{border-top:1px solid var(--color-border)}.mx-datepicker-main .mx-datepicker-btn-confirm{background-color:var(--color-primary-element);border-color:var(--color-primary-element);color:var(--color-primary-element-text)!important;opacity:1!important}.mx-datepicker-main .mx-datepicker-btn-confirm:hover{background-color:var(--color-primary-element-light)!important;border-color:var(--color-primary-element-light)!important}.mx-datepicker-main .mx-calendar{width:264px;padding:5px}.mx-datepicker-main .mx-calendar.mx-calendar-week-mode{width:296px}.mx-datepicker-main .mx-time+.mx-time,.mx-datepicker-main .mx-calendar+.mx-calendar{border-left:1px solid var(--color-border)}.mx-datepicker-main .mx-range-wrapper{display:flex;overflow:hidden}.mx-datepicker-main .mx-range-wrapper .mx-calendar-content .mx-table-date .cell.active{border-radius:var(--border-radius) 0 0 var(--border-radius)}.mx-datepicker-main .mx-range-wrapper .mx-calendar-content .mx-table-date .cell.in-range+.cell.active{border-radius:0 var(--border-radius) var(--border-radius) 0}.mx-datepicker-main .mx-table{text-align:center}.mx-datepicker-main .mx-table thead>tr>th{text-align:center;opacity:.5;color:var(--color-text-lighter)}.mx-datepicker-main .mx-table tr:focus,.mx-datepicker-main .mx-table tr:hover,.mx-datepicker-main .mx-table tr:active{background-color:transparent}.mx-datepicker-main .mx-table .cell{transition:all .1s ease-in-out;text-align:center;opacity:.7;border-radius:50px}.mx-datepicker-main .mx-table .cell>*{cursor:pointer}.mx-datepicker-main .mx-table .cell.today{opacity:1;color:var(--color-primary-element);font-weight:700}.mx-datepicker-main .mx-table .cell.today:hover,.mx-datepicker-main .mx-table .cell.today:focus{color:var(--color-primary-element-text)}.mx-datepicker-main .mx-table .cell.in-range,.mx-datepicker-main .mx-table .cell.disabled{border-radius:0;font-weight:400}.mx-datepicker-main .mx-table .cell.in-range{opacity:.7}.mx-datepicker-main .mx-table .cell.not-current-month{opacity:.5;color:var(--color-text-lighter)}.mx-datepicker-main .mx-table .cell.not-current-month:hover,.mx-datepicker-main .mx-table .cell.not-current-month:focus{opacity:1}.mx-datepicker-main .mx-table .cell:hover,.mx-datepicker-main .mx-table .cell:focus,.mx-datepicker-main .mx-table .cell.actived,.mx-datepicker-main .mx-table .cell.active,.mx-datepicker-main .mx-table .cell.in-range{opacity:1;color:var(--color-primary-element-text);background-color:var(--color-primary-element);font-weight:700}.mx-datepicker-main .mx-table .cell.disabled{opacity:.5;color:var(--color-text-lighter);border-radius:0;background-color:var(--color-background-darker)}.mx-datepicker-main .mx-table .mx-week-number{text-align:center;opacity:.7;border-radius:50px}.mx-datepicker-main .mx-table span.mx-week-number,.mx-datepicker-main .mx-table li.mx-week-number,.mx-datepicker-main .mx-table span.cell,.mx-datepicker-main .mx-table li.cell{min-height:32px}.mx-datepicker-main .mx-table.mx-table-date thead,.mx-datepicker-main .mx-table.mx-table-date tbody,.mx-datepicker-main .mx-table.mx-table-year,.mx-datepicker-main .mx-table.mx-table-month{display:flex;flex-direction:column;justify-content:space-around}.mx-datepicker-main .mx-table.mx-table-date thead tr,.mx-datepicker-main .mx-table.mx-table-date tbody tr,.mx-datepicker-main .mx-table.mx-table-year tr,.mx-datepicker-main .mx-table.mx-table-month tr{display:inline-flex;align-items:center;flex:1 1 32px;justify-content:space-around;min-height:32px}.mx-datepicker-main .mx-table.mx-table-date thead th,.mx-datepicker-main .mx-table.mx-table-date thead td,.mx-datepicker-main .mx-table.mx-table-date tbody th,.mx-datepicker-main .mx-table.mx-table-date tbody td,.mx-datepicker-main .mx-table.mx-table-year th,.mx-datepicker-main .mx-table.mx-table-year td,.mx-datepicker-main .mx-table.mx-table-month th,.mx-datepicker-main .mx-table.mx-table-month td{display:flex;align-items:center;flex:0 1 32%;justify-content:center;min-width:32px;height:95%;min-height:32px;transition:background .1s ease-in-out}.mx-datepicker-main .mx-table.mx-table-year tr th,.mx-datepicker-main .mx-table.mx-table-year tr td{flex-basis:48%}.mx-datepicker-main .mx-table.mx-table-date tr th,.mx-datepicker-main .mx-table.mx-table-date tr td{flex-basis:32px}.mx-datepicker-main .mx-btn{min-width:32px;height:32px;margin:0 2px!important;padding:7px 10px;cursor:pointer;text-decoration:none;opacity:.5;color:var(--color-text-lighter);border-radius:32px;line-height:20px}.mx-datepicker-main .mx-btn:hover,.mx-datepicker-main .mx-btn:focus{opacity:1;color:var(--color-main-text);background-color:var(--color-background-darker)}.mx-datepicker-main .mx-calendar-header,.mx-datepicker-main .mx-time-header{display:inline-flex;align-items:center;justify-content:space-between;width:100%;height:44px;margin-bottom:4px}.mx-datepicker-main .mx-calendar-header button,.mx-datepicker-main .mx-time-header button{min-width:32px;min-height:32px;margin:0;cursor:pointer;text-align:center;text-decoration:none;opacity:.7;color:var(--color-main-text);border-radius:32px;line-height:20px}.mx-datepicker-main .mx-calendar-header button:hover,.mx-datepicker-main .mx-time-header button:hover,.mx-datepicker-main .mx-calendar-header button:focus,.mx-datepicker-main .mx-time-header button:focus{opacity:1;color:var(--color-main-text);background-color:var(--color-background-darker)}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right{align-items:center;justify-content:center;width:32px;padding:0}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left>i,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left>i,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right>i,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right>i{background-repeat:no-repeat;background-size:16px;background-position:center;filter:var(--background-invert-if-dark);display:inline-block;width:32px;height:32px}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left>i:before,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left>i:before,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right>i:before,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right>i:before{content:none}.mx-datepicker-main .mx-calendar-header button.mx-btn-text,.mx-datepicker-main .mx-time-header button.mx-btn-text{line-height:initial}.mx-datepicker-main .mx-calendar-header .mx-calendar-header-label,.mx-datepicker-main .mx-time-header .mx-calendar-header-label{display:flex}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-double-left>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-double-left>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+)}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-left>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-left>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg==)}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-right>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-right>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4=)}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-double-right>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-double-right>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4=)}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right{order:2}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right{order:3}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row .mx-week-number{font-weight:700}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week{opacity:1;border-radius:50px;background-color:var(--color-background-dark)}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td{background-color:transparent}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td:hover,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td:focus,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td:hover,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td:focus{color:inherit}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td{opacity:.7;font-weight:400}.mx-datepicker-main .mx-time{background-color:var(--color-main-background)}.mx-datepicker-main .mx-time .mx-time-header{justify-content:center;border-bottom:1px solid var(--color-border)}.mx-datepicker-main .mx-time .mx-time-column{border-left:1px solid var(--color-border)}.mx-datepicker-main .mx-time .mx-time-option.active,.mx-datepicker-main .mx-time .mx-time-option:hover,.mx-datepicker-main .mx-time .mx-time-item.active,.mx-datepicker-main .mx-time .mx-time-item:hover{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.mx-datepicker-main .mx-time .mx-time-option.disabled,.mx-datepicker-main .mx-time .mx-time-item.disabled{cursor:not-allowed;opacity:.5;color:var(--color-main-text);background-color:var(--color-main-background)}.material-design-icon[data-v-26676d3b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.mx-datepicker[data-v-26676d3b] .mx-input-wrapper .mx-input{background-clip:border-box}.datetime-picker-inline-icon[data-v-26676d3b]{opacity:.3;border:none;background-color:transparent;border-radius:0;padding:0!important;margin:0}.datetime-picker-inline-icon--highlighted[data-v-26676d3b]{opacity:.7}.datetime-picker-inline-icon[data-v-26676d3b]:focus,.datetime-picker-inline-icon[data-v-26676d3b]:hover{opacity:1}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper{border-radius:var(--border-radius-large)}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner{padding:4px;border-radius:var(--border-radius-large)}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__label{padding:4px 0 4px 14px}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__timezone-select.v-select .vs__dropdown-toggle{border-radius:calc(var(--border-radius-large) - 4px)}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__timezone-select.v-select.vs--open .vs__dropdown-toggle{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__timezone-select.v-select.vs--open.select--drop-up .vs__dropdown-toggle{border-radius:0 0 calc(var(--border-radius-large) - 4px) calc(var(--border-radius-large) - 4px)}.vs__dropdown-menu--floating{z-index:100001}.material-design-icon[data-v-22982259]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.native-datetime-picker[data-v-22982259]{display:flex;flex-direction:column}.native-datetime-picker .native-datetime-picker--input[data-v-22982259]{width:100%;flex:0 0 auto;padding-right:4px}.material-design-icon[data-v-f482d6e9]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-f482d6e9]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-f482d6e9]{pointer-events:none;opacity:.5}.action--disabled[data-v-f482d6e9]:hover,.action--disabled[data-v-f482d6e9]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-f482d6e9]{opacity:1!important}.action-radio[data-v-f482d6e9]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;line-height:44px}.action-radio__radio[data-v-f482d6e9]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-radio__label[data-v-f482d6e9]{display:flex;align-items:center;width:100%;padding:0 14px 0 0!important}.action-radio__label[data-v-f482d6e9]:before{margin:0 14px!important}.action-radio--disabled[data-v-f482d6e9],.action-radio--disabled .action-radio__label[data-v-f482d6e9]{cursor:pointer}.material-design-icon[data-v-fdbe574e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-fdbe574e]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-router[data-v-fdbe574e]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-router>span[data-v-fdbe574e]{cursor:pointer;white-space:nowrap}.action-router__icon[data-v-fdbe574e]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-router[data-v-fdbe574e] .material-design-icon{width:44px;height:44px;opacity:1}.action-router[data-v-fdbe574e] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-router__longtext-wrapper[data-v-fdbe574e],.action-router__longtext[data-v-fdbe574e]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-router__longtext[data-v-fdbe574e]{cursor:pointer;white-space:pre-wrap!important}.action-router__name[data-v-fdbe574e]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-router__menu-icon[data-v-fdbe574e]{margin-left:auto;margin-right:-14px}.action--disabled[data-v-fdbe574e]{pointer-events:none;opacity:.5}.action--disabled[data-v-fdbe574e]:hover,.action--disabled[data-v-fdbe574e]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-fdbe574e]{opacity:1!important}.material-design-icon[data-v-82b7f2ae]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-separator[data-v-82b7f2ae]{height:0;margin:5px 10px 5px 15px;border-bottom:1px solid var(--color-border-dark);cursor:default}.material-design-icon[data-v-34d9a49c]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-34d9a49c]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-text[data-v-34d9a49c]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-text>span[data-v-34d9a49c]{cursor:pointer;white-space:nowrap}.action-text__icon[data-v-34d9a49c]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-text[data-v-34d9a49c] .material-design-icon{width:44px;height:44px;opacity:1}.action-text[data-v-34d9a49c] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-text__longtext-wrapper[data-v-34d9a49c],.action-text__longtext[data-v-34d9a49c]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-text__longtext[data-v-34d9a49c]{cursor:pointer;white-space:pre-wrap!important}.action-text__name[data-v-34d9a49c]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-text__menu-icon[data-v-34d9a49c]{margin-left:auto;margin-right:-14px}.action--disabled[data-v-34d9a49c]{pointer-events:none;opacity:.5}.action--disabled[data-v-34d9a49c]:hover,.action--disabled[data-v-34d9a49c]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-34d9a49c]{opacity:1!important}.action-text[data-v-34d9a49c],.action-text span[data-v-34d9a49c]{cursor:default}.material-design-icon[data-v-b0b05af8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}button[data-v-b0b05af8]:not(.button-vue),input[data-v-b0b05af8]:not([type=range]),textarea[data-v-b0b05af8]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):hover,button[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):focus,button:not(.button-vue):not(:disabled):not(.primary).active[data-v-b0b05af8],input[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):hover,input[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):focus,input:not([type=range]):not(:disabled):not(.primary).active[data-v-b0b05af8],textarea[data-v-b0b05af8]:not(:disabled):not(.primary):hover,textarea[data-v-b0b05af8]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-b0b05af8]{border-color:var(--color-primary-element);outline:none}button[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):active,input[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):active,textarea[data-v-b0b05af8]:not(:disabled):not(.primary):active{color:var(--color-text-light);outline:none;background-color:var(--color-main-background)}button[data-v-b0b05af8]:not(.button-vue):disabled,input[data-v-b0b05af8]:not([type=range]):disabled,textarea[data-v-b0b05af8]:disabled{cursor:default;opacity:.5;color:var(--color-text-maxcontrast);background-color:var(--color-background-dark)}button[data-v-b0b05af8]:not(.button-vue):required,input[data-v-b0b05af8]:not([type=range]):required,textarea[data-v-b0b05af8]:required{box-shadow:none}button[data-v-b0b05af8]:not(.button-vue):invalid,input[data-v-b0b05af8]:not([type=range]):invalid,textarea[data-v-b0b05af8]:invalid{border-color:var(--color-error);box-shadow:none!important}button:not(.button-vue).primary[data-v-b0b05af8],input:not([type=range]).primary[data-v-b0b05af8],textarea.primary[data-v-b0b05af8]{cursor:pointer;color:var(--color-primary-element-text);border-color:var(--color-primary-element);background-color:var(--color-primary-element)}button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):hover,button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):focus,button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):hover,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):focus,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,textarea.primary[data-v-b0b05af8]:not(:disabled):hover,textarea.primary[data-v-b0b05af8]:not(:disabled):focus,textarea.primary[data-v-b0b05af8]:not(:disabled):active{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,textarea.primary[data-v-b0b05af8]:not(:disabled):active{color:var(--color-primary-element-text-dark)}button:not(.button-vue).primary[data-v-b0b05af8]:disabled,input:not([type=range]).primary[data-v-b0b05af8]:disabled,textarea.primary[data-v-b0b05af8]:disabled{cursor:default;color:var(--color-primary-element-text-dark);background-color:var(--color-primary-element)}/** +(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@charset "UTF-8";.material-design-icon[data-v-eb1078f7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.content[data-v-eb1078f7]{box-sizing:border-box;margin:var(--body-container-margin);margin-top:50px;display:flex;width:calc(100% - var(--body-container-margin) * 2);border-radius:var(--body-container-radius);height:var(--body-height);overflow:hidden;padding:0}.content[data-v-eb1078f7]:not(.with-sidebar--full){position:fixed}.content[data-v-eb1078f7] *{box-sizing:border-box}.material-design-icon[data-v-5244e83e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-details-toggle[data-v-5244e83e]{position:fixed;width:44px;height:44px;padding:14px;cursor:pointer;opacity:.6;transform:rotate(180deg);background-color:var(--color-main-background);z-index:2000}.app-details-toggle[data-v-5244e83e]:active,.app-details-toggle[data-v-5244e83e]:hover,.app-details-toggle[data-v-5244e83e]:focus{opacity:1}.material-design-icon[data-v-27fc3f3a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-content[data-v-27fc3f3a]{position:initial;z-index:1000;flex-basis:100vw;height:100%;margin:0!important;background-color:var(--color-main-background);min-width:0}.app-content[data-v-27fc3f3a]:not(.app-content--has-list){overflow:auto}.app-content-wrapper[data-v-27fc3f3a]{position:relative;width:100%;height:100%}.app-content-wrapper--mobile.app-content-wrapper--show-list[data-v-27fc3f3a] .app-content-list{display:flex}.app-content-wrapper--mobile.app-content-wrapper--show-list[data-v-27fc3f3a] .app-content-details,.app-content-wrapper--mobile.app-content-wrapper--show-details[data-v-27fc3f3a] .app-content-list{display:none}.app-content-wrapper--mobile.app-content-wrapper--show-details[data-v-27fc3f3a] .app-content-details{display:block}[data-v-27fc3f3a] .splitpanes.default-theme .app-content-list{max-width:none;scrollbar-width:auto}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane{background-color:transparent;transition:none}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-list{min-width:300px;position:-webkit-sticky;position:sticky;top:var(--header-height)}@media only screen and (width < 1024px){[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-list{display:none}}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-details{overflow-y:auto}@media only screen and (width < 1024px){[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__pane-details{min-width:100%}}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__splitter{width:9px;margin-left:-5px;background-color:transparent;border-left:none}[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__splitter:before,[data-v-27fc3f3a] .splitpanes.default-theme .splitpanes__splitter:after{display:none}.material-design-icon[data-v-8f4e0666]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-8f4e0666]{position:relative;width:fit-content;overflow:hidden;border:0;padding:0;font-size:var(--default-font-size);font-weight:700;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:22px;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue *[data-v-8f4e0666],.button-vue span[data-v-8f4e0666]{cursor:pointer}.button-vue[data-v-8f4e0666]:focus{outline:none}.button-vue[data-v-8f4e0666]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue:disabled *[data-v-8f4e0666]{cursor:default}.button-vue[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-8f4e0666]:active{background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-8f4e0666]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-8f4e0666]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-8f4e0666]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-8f4e0666]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-8f4e0666]{padding-inline:calc(var(--default-grid-baseline) * 4) var(--default-grid-baseline)}.button-vue__icon[data-v-8f4e0666]{height:44px;width:44px;min-height:44px;min-width:44px;display:flex;justify-content:center;align-items:center}.button-vue__text[data-v-8f4e0666]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-8f4e0666]{width:44px!important}.button-vue--text-only[data-v-8f4e0666]{padding:0 12px}.button-vue--text-only .button-vue__text[data-v-8f4e0666]{margin-left:4px;margin-right:4px}.button-vue--icon-and-text[data-v-8f4e0666]{padding-block:0;padding-inline:var(--default-grid-baseline) calc(var(--default-grid-baseline) * 4)}.button-vue--wide[data-v-8f4e0666]{width:100%}.button-vue[data-v-8f4e0666]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-8f4e0666]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius);background-color:transparent}.button-vue--vue-primary[data-v-8f4e0666]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-8f4e0666]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-8f4e0666]{color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue--vue-secondary[data-v-8f4e0666]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--vue-tertiary[data-v-8f4e0666]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--vue-tertiary-no-background[data-v-8f4e0666]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary-no-background[data-v-8f4e0666]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-8f4e0666]{color:var(--color-primary-element-text);background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-8f4e0666]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-8f4e0666]{background-color:var(--color-success);color:#fff}.button-vue--vue-success[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-8f4e0666]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-8f4e0666]{background-color:var(--color-warning);color:#fff}.button-vue--vue-warning[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-8f4e0666]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-8f4e0666]{background-color:var(--color-error);color:#fff}.button-vue--vue-error[data-v-8f4e0666]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-8f4e0666]:active{background-color:var(--color-error)}.v-popper--theme-tooltip.v-popper__popper{position:absolute;z-index:100000;top:0;right:auto;left:auto;display:block;margin:0;padding:0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-10px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-10px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{right:100%;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{left:100%;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity .15s,visibility .15s;opacity:0}.v-popper--theme-tooltip.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity .15s;opacity:1}.v-popper--theme-tooltip .v-popper__inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.v-popper--theme-tooltip .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:transparent;border-width:10px}.splitpanes{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.splitpanes--vertical{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.splitpanes--horizontal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{-webkit-transition:width .2s ease-out;-o-transition:width .2s ease-out;transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{-webkit-transition:height .2s ease-out;-o-transition:height .2s ease-out;transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{-webkit-transition:none;-o-transition:none;transition:none}.splitpanes__splitter{-ms-touch-action:none;touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-negative:0;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;-webkit-transition:background-color .3s;-o-transition:background-color .3s;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.material-design-icon[data-v-6176f396]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-6176f396]{display:flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;opacity:1}.icon-vue[data-v-6176f396] svg{fill:currentColor;width:20px;height:20px;max-width:20px;max-height:20px}.material-design-icon[data-v-458108e7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.empty-content[data-v-458108e7]{display:flex;align-items:center;flex-direction:column;justify-content:center;flex-grow:1}.modal-wrapper .empty-content[data-v-458108e7]{margin-top:5vh;margin-bottom:5vh}.empty-content__icon[data-v-458108e7]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;opacity:.4;background-repeat:no-repeat;background-position:center;background-size:64px}.empty-content__icon[data-v-458108e7] svg{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}.empty-content__name[data-v-458108e7]{margin-bottom:10px;text-align:center;font-weight:700;font-size:20px;line-height:30px}.empty-content__description[data-v-458108e7]{color:var(--color-text-maxcontrast)}.empty-content__action[data-v-458108e7]{margin-top:8px}.modal-wrapper .empty-content__action[data-v-458108e7]{margin-top:20px;display:flex}.material-design-icon[data-v-b9bda6c2]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.avatardiv[data-v-b9bda6c2]{position:relative;display:inline-block;width:var(--size);height:var(--size)}.avatardiv--unknown[data-v-b9bda6c2]{position:relative;background-color:var(--color-main-background);white-space:normal}.avatardiv[data-v-b9bda6c2]:not(.avatardiv--unknown){background-color:var(--color-main-background)!important;box-shadow:0 0 5px #0000000d inset}.avatardiv--with-menu[data-v-b9bda6c2]{cursor:pointer}.avatardiv--with-menu .action-item[data-v-b9bda6c2]{position:absolute;top:0;left:0}.avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle{cursor:pointer;opacity:0}.avatardiv--with-menu[data-v-b9bda6c2]:focus .action-item__menutoggle,.avatardiv--with-menu[data-v-b9bda6c2]:hover .action-item__menutoggle,.avatardiv--with-menu.avatardiv--with-menu-loading[data-v-b9bda6c2] .action-item__menutoggle{opacity:1}.avatardiv--with-menu:focus img[data-v-b9bda6c2],.avatardiv--with-menu:hover img[data-v-b9bda6c2],.avatardiv--with-menu.avatardiv--with-menu-loading img[data-v-b9bda6c2]{opacity:.3}.avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle,.avatardiv--with-menu img[data-v-b9bda6c2]{transition:opacity var(--animation-quick)}.avatardiv--with-menu[data-v-b9bda6c2] .button-vue,.avatardiv--with-menu[data-v-b9bda6c2] .button-vue__icon{height:var(--size);min-height:var(--size);width:var(--size)!important;min-width:var(--size)}.avatardiv .avatardiv__initials-wrapper[data-v-b9bda6c2]{display:block;height:var(--size);width:var(--size);background-color:var(--color-main-background);border-radius:50%}.avatardiv .avatardiv__initials-wrapper .avatardiv__initials[data-v-b9bda6c2]{position:absolute;top:0;left:0;display:block;width:100%;text-align:center;font-weight:400}.avatardiv img[data-v-b9bda6c2]{width:100%;height:100%;object-fit:cover}.avatardiv .material-design-icon[data-v-b9bda6c2]{width:var(--size);height:var(--size)}.avatardiv .avatardiv__user-status[data-v-b9bda6c2]{position:absolute;right:-4px;bottom:-4px;max-height:18px;max-width:18px;height:40%;width:40%;line-height:15px;font-size:var(--default-font-size);border:2px solid var(--color-main-background);background-color:var(--color-main-background);background-repeat:no-repeat;background-size:16px;background-position:center;border-radius:50%}.acli:hover .avatardiv .avatardiv__user-status[data-v-b9bda6c2]{border-color:var(--color-background-hover);background-color:var(--color-background-hover)}.acli.active .avatardiv .avatardiv__user-status[data-v-b9bda6c2]{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}.avatardiv .avatardiv__user-status--online[data-v-b9bda6c2]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K)}.avatardiv .avatardiv__user-status--dnd[data-v-b9bda6c2]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg==);background-color:#fff}.avatardiv .avatardiv__user-status--away[data-v-b9bda6c2]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg==)}.avatardiv .avatardiv__user-status--icon[data-v-b9bda6c2]{border:none;background-color:transparent}.avatardiv .popovermenu-wrapper[data-v-b9bda6c2]{position:relative;display:inline-block}.avatar-class-icon[data-v-b9bda6c2]{display:block;border-radius:50%;background-color:var(--color-background-darker);height:100%}.material-design-icon[data-v-fd3aaaa4]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-fd3aaaa4]{display:flex;align-items:center}.action-items>button[data-v-fd3aaaa4]{margin-right:7px}.action-item[data-v-fd3aaaa4]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-fd3aaaa4]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-fd3aaaa4]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-fd3aaaa4]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-fd3aaaa4]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-fd3aaaa4]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-fd3aaaa4]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-fd3aaaa4]{background-color:var(--open-background-color)}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-large);overflow:hidden}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(50vh - 16px);overflow:auto}.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper--theme-dropdown.v-popper__popper{z-index:100000;top:0;left:0;display:block!important;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.v-popper--theme-dropdown.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-large);overflow:hidden;background:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:transparent;border-width:10px}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-10px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-10px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-10px;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-c0bc0588]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-c0bc0588]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-link[data-v-c0bc0588]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-link>span[data-v-c0bc0588]{cursor:pointer;white-space:nowrap}.action-link__icon[data-v-c0bc0588]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-link[data-v-c0bc0588] .material-design-icon{width:44px;height:44px;opacity:1}.action-link[data-v-c0bc0588] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-link__longtext-wrapper[data-v-c0bc0588],.action-link__longtext[data-v-c0bc0588]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-link__longtext[data-v-c0bc0588]{cursor:pointer;white-space:pre-wrap!important}.action-link__name[data-v-c0bc0588]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-link__menu-icon[data-v-c0bc0588]{margin-left:auto;margin-right:-14px}.material-design-icon[data-v-b1c5a80f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widget-custom[data-v-b1c5a80f]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-large);background-color:transparent;display:flex}.widget-access[data-v-b1c5a80f]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-large);background-color:transparent;display:flex;padding:calc(var(--default-grid-baseline, 4px) * 3)}.widget-default[data-v-b1c5a80f]{width:100%;margin:auto;margin-bottom:calc(var(--default-grid-baseline, 4px) * 3);margin-top:calc(var(--default-grid-baseline, 4px) * 3);overflow:hidden;border:2px solid var(--color-border);border-radius:var(--border-radius-large);background-color:transparent;display:flex}.widget-default--compact[data-v-b1c5a80f]{flex-direction:column}.widget-default--compact .widget-default--image[data-v-b1c5a80f]{width:100%;height:150px}.widget-default--compact .widget-default--details[data-v-b1c5a80f]{width:100%;padding-top:calc(var(--default-grid-baseline, 4px) * 2);padding-bottom:calc(var(--default-grid-baseline, 4px) * 2)}.widget-default--compact .widget-default--description[data-v-b1c5a80f]{display:none}.widget-default--image[data-v-b1c5a80f]{width:40%;background-position:center;background-size:cover;background-repeat:no-repeat}.widget-default--name[data-v-b1c5a80f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.widget-default--details[data-v-b1c5a80f]{padding:calc(var(--default-grid-baseline, 4px) * 3);width:60%}.widget-default--details p[data-v-b1c5a80f]{margin:0;padding:0}.widget-default--description[data-v-b1c5a80f]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical}.widget-default--link[data-v-b1c5a80f]{color:var(--color-text-maxcontrast);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-bd1fbb02]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.widgets--list.icon-loading[data-v-bd1fbb02]{min-height:44px}.material-design-icon[data-v-5f33f45b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.rich-text--wrapper[data-v-5f33f45b]{word-break:break-word;line-height:1.5}.rich-text--wrapper .rich-text--fallback[data-v-5f33f45b],.rich-text--wrapper .rich-text-component[data-v-5f33f45b]{display:inline}.rich-text--wrapper .rich-text--external-link[data-v-5f33f45b]{text-decoration:underline}.rich-text--wrapper .rich-text--external-link[data-v-5f33f45b]:after{content:" ↗"}.rich-text--wrapper .rich-text--ordered-list .rich-text--list-item[data-v-5f33f45b]{list-style:decimal}.rich-text--wrapper .rich-text--un-ordered-list .rich-text--list-item[data-v-5f33f45b]{list-style:initial}.rich-text--wrapper .rich-text--list-item[data-v-5f33f45b]{white-space:initial;color:var(--color-text-light);padding:initial;margin-left:20px}.rich-text--wrapper .rich-text--list-item.task-list-item[data-v-5f33f45b]{list-style:none;white-space:initial;color:var(--color-text-light)}.rich-text--wrapper .rich-text--list-item.task-list-item input[data-v-5f33f45b]{min-height:initial}.rich-text--wrapper .rich-text--strong[data-v-5f33f45b]{white-space:initial;font-weight:700;color:var(--color-text-light)}.rich-text--wrapper .rich-text--italic[data-v-5f33f45b]{white-space:initial;font-style:italic;color:var(--color-text-light)}.rich-text--wrapper .rich-text--heading[data-v-5f33f45b]{white-space:initial;font-size:initial;color:var(--color-text-light);margin-bottom:5px;margin-top:5px;font-weight:700}.rich-text--wrapper .rich-text--heading.rich-text--heading-1[data-v-5f33f45b]{font-size:20px}.rich-text--wrapper .rich-text--heading.rich-text--heading-2[data-v-5f33f45b]{font-size:19px}.rich-text--wrapper .rich-text--heading.rich-text--heading-3[data-v-5f33f45b]{font-size:18px}.rich-text--wrapper .rich-text--heading.rich-text--heading-4[data-v-5f33f45b]{font-size:17px}.rich-text--wrapper .rich-text--heading.rich-text--heading-5[data-v-5f33f45b]{font-size:16px}.rich-text--wrapper .rich-text--heading.rich-text--heading-6[data-v-5f33f45b]{font-size:15px}.rich-text--wrapper .rich-text--hr[data-v-5f33f45b]{border-top:1px solid var(--color-border-dark);border-bottom:0}.rich-text--wrapper .rich-text--pre[data-v-5f33f45b]{border:1px solid var(--color-border-dark);background-color:var(--color-background-dark);padding:5px}.rich-text--wrapper .rich-text--code[data-v-5f33f45b]{background-color:var(--color-background-dark)}.rich-text--wrapper .rich-text--blockquote[data-v-5f33f45b]{border-left:3px solid var(--color-border-dark);padding-left:5px}.rich-text--wrapper .rich-text--table[data-v-5f33f45b]{border-collapse:collapse}.rich-text--wrapper .rich-text--table thead tr th[data-v-5f33f45b]{border:1px solid var(--color-border-dark);font-weight:700;padding:6px 13px}.rich-text--wrapper .rich-text--table tbody tr td[data-v-5f33f45b]{border:1px solid var(--color-border-dark);padding:6px 13px}.rich-text--wrapper .rich-text--table tbody tr[data-v-5f33f45b]:nth-child(2n){background-color:var(--color-background-dark)}.rich-text--wrapper-markdown div>*[data-v-5f33f45b]:first-child,.rich-text--wrapper-markdown blockquote>*[data-v-5f33f45b]:first-child{margin-top:0!important}.rich-text--wrapper-markdown div>*[data-v-5f33f45b]:last-child,.rich-text--wrapper-markdown blockquote>*[data-v-5f33f45b]:last-child{margin-bottom:0!important}.rich-text--wrapper-markdown h1[data-v-5f33f45b],.rich-text--wrapper-markdown h2[data-v-5f33f45b],.rich-text--wrapper-markdown h3[data-v-5f33f45b],.rich-text--wrapper-markdown h4[data-v-5f33f45b],.rich-text--wrapper-markdown h5[data-v-5f33f45b],.rich-text--wrapper-markdown h6[data-v-5f33f45b],.rich-text--wrapper-markdown p[data-v-5f33f45b],.rich-text--wrapper-markdown ul[data-v-5f33f45b],.rich-text--wrapper-markdown ol[data-v-5f33f45b],.rich-text--wrapper-markdown blockquote[data-v-5f33f45b],.rich-text--wrapper-markdown pre[data-v-5f33f45b]{margin-top:0;margin-bottom:1em}.rich-text--wrapper-markdown h1[data-v-5f33f45b],.rich-text--wrapper-markdown h2[data-v-5f33f45b],.rich-text--wrapper-markdown h3[data-v-5f33f45b],.rich-text--wrapper-markdown h4[data-v-5f33f45b],.rich-text--wrapper-markdown h5[data-v-5f33f45b],.rich-text--wrapper-markdown h6[data-v-5f33f45b]{font-weight:700}.rich-text--wrapper-markdown h1[data-v-5f33f45b]{font-size:30px}.rich-text--wrapper-markdown ul[data-v-5f33f45b],.rich-text--wrapper-markdown ol[data-v-5f33f45b]{padding-left:15px}.rich-text--wrapper-markdown ul[data-v-5f33f45b]{list-style-type:disc}.rich-text--wrapper-markdown blockquote[data-v-5f33f45b]{padding-left:13px;border-left:2px solid var(--color-border-dark);color:var(--color-text-lighter)}a[data-v-5f33f45b]:not(.rich-text--component){text-decoration:underline}.material-design-icon[data-v-cf695ff9],.material-design-icon[data-v-9d850ea5]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.provider-list[data-v-9d850ea5]{width:100%;min-height:400px;padding:0 16px 16px;display:flex;flex-direction:column}.provider-list--select[data-v-9d850ea5]{width:100%}.provider-list--select .provider[data-v-9d850ea5]{display:flex;align-items:center;height:28px;overflow:hidden}.provider-list--select .provider .link-icon[data-v-9d850ea5]{margin-right:8px}.provider-list--select .provider .provider-icon[data-v-9d850ea5]{width:20px;height:20px;object-fit:contain;margin-right:8px;filter:var(--background-invert-if-dark)}.provider-list--select .provider .option-text[data-v-9d850ea5]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-d0ba247a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.raw-link[data-v-d0ba247a]{width:100%;min-height:350px;display:flex;flex-direction:column;overflow-y:auto;padding:0 16px 16px}.raw-link .input-wrapper[data-v-d0ba247a]{width:100%}.raw-link .reference-widget[data-v-d0ba247a]{display:flex}.raw-link--empty-content .provider-icon[data-v-d0ba247a]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.raw-link--input[data-v-d0ba247a]{width:99%}.material-design-icon[data-v-7a394a58]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.result[data-v-7a394a58]{display:flex;align-items:center;height:44px;overflow:hidden}.result--icon-class[data-v-7a394a58],.result--image[data-v-7a394a58]{width:40px;min-width:40px;height:40px;object-fit:contain}.result--icon-class.rounded[data-v-7a394a58],.result--image.rounded[data-v-7a394a58]{border-radius:50%}.result--content[data-v-7a394a58]{display:flex;flex-direction:column;padding-left:10px;overflow:hidden}.result--content--name[data-v-7a394a58],.result--content--subline[data-v-7a394a58]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-97d196f0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.smart-picker-search[data-v-97d196f0]{width:100%;display:flex;flex-direction:column;padding:0 16px 16px}.smart-picker-search.with-empty-content[data-v-97d196f0]{min-height:400px}.smart-picker-search .provider-icon[data-v-97d196f0]{width:150px;height:150px;object-fit:contain;filter:var(--background-invert-if-dark)}.smart-picker-search--select[data-v-97d196f0],.smart-picker-search--select .search-result[data-v-97d196f0]{width:100%}.smart-picker-search--select .group-name-icon[data-v-97d196f0],.smart-picker-search--select .option-simple-icon[data-v-97d196f0]{width:20px;height:20px;margin:0 20px 0 10px}.smart-picker-search--select .custom-option[data-v-97d196f0]{height:44px;display:flex;align-items:center;overflow:hidden}.smart-picker-search--select .option-text[data-v-97d196f0]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-design-icon[data-v-aa77d0d3]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker[data-v-aa77d0d3],.reference-picker .custom-element-wrapper[data-v-aa77d0d3]{display:flex;overflow-y:auto;width:100%}.reference-picker-modal .modal-container{display:flex!important}.material-design-icon[data-v-3f1a4ac7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.reference-picker-modal--content[data-v-3f1a4ac7]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}.reference-picker-modal--content .close-button[data-v-3f1a4ac7],.reference-picker-modal--content .back-button[data-v-3f1a4ac7]{position:absolute;top:4px}.reference-picker-modal--content .back-button[data-v-3f1a4ac7]{left:4px}.reference-picker-modal--content .close-button[data-v-3f1a4ac7]{right:4px}.reference-picker-modal--content>h2[data-v-3f1a4ac7]{display:flex;margin:12px 0 20px}.reference-picker-modal--content>h2 .icon[data-v-3f1a4ac7]{margin-right:8px}body{--vs-search-input-color: var(--color-main-text);--vs-search-input-bg: var(--color-main-background);--vs-search-input-placeholder-color: var(--color-text-maxcontrast);--vs-font-size: var(--default-font-size);--vs-line-height: var(--default-line-height);--vs-state-disabled-bg: var(--color-background-hover);--vs-state-disabled-color: var(--color-text-maxcontrast);--vs-state-disabled-controls-color: var(--color-text-maxcontrast);--vs-state-disabled-cursor: not-allowed;--vs-disabled-bg: var(--color-background-hover);--vs-disabled-color: var(--color-text-maxcontrast);--vs-disabled-cursor: not-allowed;--vs-border-color: var(--color-border-maxcontrast);--vs-border-width: 2px;--vs-border-style: solid;--vs-border-radius: var(--border-radius-large);--vs-controls-color: var(--color-main-text);--vs-selected-bg: var(--color-background-hover);--vs-selected-color: var(--color-main-text);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: var(--color-main-background);--vs-dropdown-color: var(--color-main-text);--vs-dropdown-z-index: 9999;--vs-dropdown-box-shadow: 0px 2px 2px 0px var(--color-box-shadow);--vs-dropdown-option-padding: 8px 20px;--vs-dropdown-option--active-bg: var(--color-background-hover);--vs-dropdown-option--active-color: var(--color-main-text);--vs-dropdown-option--kb-focus-box-shadow: inset 0px 0px 0px 2px var(--vs-border-color);--vs-dropdown-option--deselect-bg: var(--color-error);--vs-dropdown-option--deselect-color: #fff;--vs-transition-duration: 0ms;--vs-actions-padding: 0 8px 0 4px}.v-select.select{min-height:44px;min-width:260px;margin:0}.v-select.select .vs__selected{height:32px;padding:0 8px 0 12px;border-radius:18px!important;background:var(--color-primary-element-light);border:none}.v-select.select .vs__search,.v-select.select .vs__search:focus{margin:2px 0 0}.v-select.select .vs__dropdown-toggle{padding:0}.v-select.select .vs__clear{margin-right:2px}.v-select.select.vs--open .vs__dropdown-toggle{outline:2px solid var(--color-main-background);border-color:var(--color-main-text);border-bottom-color:transparent}.v-select.select:not(.vs--disabled,.vs--open) .vs__dropdown-toggle:hover{outline:2px solid var(--color-main-background);border-color:var(--color-main-text)}.v-select.select.vs--disabled .vs__search,.v-select.select.vs--disabled .vs__selected{color:var(--color-text-maxcontrast)}.v-select.select.vs--disabled .vs__clear,.v-select.select.vs--disabled .vs__deselect{display:none}.v-select.select--no-wrap .vs__selected-options{flex-wrap:nowrap;overflow:auto;min-width:unset}.v-select.select--no-wrap .vs__selected-options .vs__selected{min-width:unset}.v-select.select--drop-up.vs--open .vs__dropdown-toggle{border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-color:transparent;border-bottom-color:var(--color-main-text)}.v-select.select .vs__selected-options{min-height:40px}.v-select.select .vs__selected-options .vs__selected~.vs__search[readonly]{position:absolute}.v-select.select.vs--single.vs--loading .vs__selected,.v-select.select.vs--single.vs--open .vs__selected{max-width:100%;opacity:1;color:var(--color-text-maxcontrast)}.v-select.select.vs--single .vs__selected-options{flex-wrap:nowrap}.v-select.select.vs--single .vs__selected{background:unset!important}.vs__dropdown-menu{border-color:var(--color-main-text)!important;outline:2px solid var(--color-main-background);padding:4px!important;box-shadow:none}.vs__dropdown-menu--floating{width:max-content;position:absolute;top:0;left:0}.vs__dropdown-menu--floating-placement-top{border-radius:var(--vs-border-radius) var(--vs-border-radius) 0 0!important;border-top-style:var(--vs-border-style)!important;border-bottom-style:none!important}.vs__dropdown-menu .vs__dropdown-option{border-radius:6px!important}.vs__dropdown-menu .vs__no-options{color:var(--color-text-lighter)!important}.user-select .vs__selected{padding:0 2px!important}:root{--vs-colors--lightest:rgba(60,60,60,.26);--vs-colors--light:rgba(60,60,60,.5);--vs-colors--dark:#333;--vs-colors--darkest:rgba(0,0,0,.15);--vs-search-input-color:inherit;--vs-search-input-bg:#fff;--vs-search-input-placeholder-color:inherit;--vs-font-size:1rem;--vs-line-height:1.4;--vs-state-disabled-bg:#f8f8f8;--vs-state-disabled-color:var(--vs-colors--light);--vs-state-disabled-controls-color:var(--vs-colors--light);--vs-state-disabled-cursor:not-allowed;--vs-border-color:var(--vs-colors--lightest);--vs-border-width:1px;--vs-border-style:solid;--vs-border-radius:4px;--vs-actions-padding:4px 6px 0 3px;--vs-controls-color:var(--vs-colors--light);--vs-controls-size:1;--vs-controls--deselect-text-shadow:0 1px 0 #fff;--vs-selected-bg:#f0f0f0;--vs-selected-color:var(--vs-colors--dark);--vs-selected-border-color:var(--vs-border-color);--vs-selected-border-style:var(--vs-border-style);--vs-selected-border-width:var(--vs-border-width);--vs-dropdown-bg:#fff;--vs-dropdown-color:inherit;--vs-dropdown-z-index:1000;--vs-dropdown-min-width:160px;--vs-dropdown-max-height:350px;--vs-dropdown-box-shadow:0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg:#000;--vs-dropdown-option-color:var(--vs-dropdown-color);--vs-dropdown-option-padding:3px 20px;--vs-dropdown-option--active-bg:#136cfb;--vs-dropdown-option--active-color:#fff;--vs-dropdown-option--kb-focus-box-shadow:inset 0px 0px 0px 2px #949494;--vs-dropdown-option--deselect-bg:#fb5858;--vs-dropdown-option--deselect-color:#fff;--vs-transition-timing-function:cubic-bezier(1,-.115,.975,.855);--vs-transition-duration:.15s}.v-select{font-family:inherit;position:relative}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function:cubic-bezier(1,.5,.8,1);--vs-transition-duration:.15s}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg:var(--vs-state-disabled-bg);--vs-disabled-color:var(--vs-state-disabled-color);--vs-disabled-cursor:var(--vs-state-disabled-cursor)}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{background-color:var(--vs-disabled-bg);cursor:var(--vs-disabled-cursor)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--vs-search-input-bg);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);display:flex;padding:0 0 4px;white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;min-width:0;padding:0 2px;position:relative}.vs__actions{align-items:center;display:flex;padding:var(--vs-actions-padding)}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);background-color:transparent;border:0;cursor:pointer;margin-right:8px;padding:0}.vs__dropdown-menu{background:var(--vs-dropdown-bg);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-style:none;box-shadow:var(--vs-dropdown-box-shadow);box-sizing:border-box;color:var(--vs-dropdown-color);display:block;left:0;list-style:none;margin:0;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);overflow-y:auto;padding:5px 0;position:absolute;text-align:left;top:calc(100% - var(--vs-border-width));width:100%;z-index:var(--vs-dropdown-z-index)}.vs__no-options{text-align:center}.vs__dropdown-option{clear:both;color:var(--vs-dropdown-option-color);cursor:pointer;display:block;line-height:1.42857143;padding:var(--vs-dropdown-option-padding);white-space:nowrap}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--kb-focus{box-shadow:var(--vs-dropdown-option--kb-focus-box-shadow)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{align-items:center;background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);display:flex;line-height:var(--vs-line-height);margin:4px 2px 0;min-width:0;padding:0 .25em;z-index:0}.vs__deselect{fill:var(--vs-controls-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;cursor:pointer;display:inline-flex;margin-left:4px;padding:0;text-shadow:var(--vs-controls--deselect-text-shadow)}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--loading .vs__selected,.vs--single.vs--open .vs__selected{max-width:100%;opacity:.4;position:absolute}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:1px solid transparent;border-left:none;box-shadow:none;color:var(--vs-search-input-color);flex-grow:1;font-size:var(--vs-font-size);line-height:var(--vs-line-height);margin:4px 0 0;max-width:100%;outline:none;padding:0 7px;width:0;z-index:1}.vs__search::-moz-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search:-ms-input-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;border:.9em solid hsla(0,0%,39%,.1);border-left-color:#3c3c3c73;font-size:5px;opacity:0;overflow:hidden;text-indent:-9999em;transform:translateZ(0) scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;height:5em;transform:scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));width:5em}.vs--loading .vs__spinner{opacity:1}.material-design-icon[data-v-08c4259e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.name-parts[data-v-08c4259e]{display:flex;max-width:100%;cursor:inherit}.name-parts__first[data-v-08c4259e]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-08c4259e],.name-parts__last[data-v-08c4259e]{white-space:pre;cursor:inherit}.name-parts__first strong[data-v-08c4259e],.name-parts__last strong[data-v-08c4259e]{font-weight:700}.material-design-icon[data-v-562c32c6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.option[data-v-562c32c6]{display:flex;align-items:center;width:100%;height:var(--height);cursor:inherit}.option__avatar[data-v-562c32c6]{margin-right:var(--margin)}.option__details[data-v-562c32c6]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__lineone[data-v-562c32c6]{color:var(--color-main-text)}.option__linetwo[data-v-562c32c6]{color:var(--color-text-maxcontrast)}.option__lineone[data-v-562c32c6],.option__linetwo[data-v-562c32c6]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1em}.option__lineone strong[data-v-562c32c6],.option__linetwo strong[data-v-562c32c6]{font-weight:700}.option__icon[data-v-562c32c6]{width:44px;height:44px;color:var(--color-text-maxcontrast)}.option__icon.icon[data-v-562c32c6]{flex:0 0 44px;opacity:.7;background-position:center;background-size:16px}.option__details[data-v-562c32c6],.option__lineone[data-v-562c32c6],.option__linetwo[data-v-562c32c6],.option__icon[data-v-562c32c6]{cursor:inherit}.material-design-icon[data-v-e8c696ab]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.input-field[data-v-e8c696ab]{position:relative;width:100%;border-radius:var(--border-radius-large);margin-block-start:6px}.input-field__main-wrapper[data-v-e8c696ab]{height:var(--default-clickable-area);position:relative}.input-field--disabled[data-v-e8c696ab]{opacity:.7;filter:saturate(.7)}.input-field__input[data-v-e8c696ab]{margin:0;padding-inline:12px 6px;height:var(--default-clickable-area)!important;width:100%;font-size:var(--default-font-size);text-overflow:ellipsis;background-color:var(--color-main-background);color:var(--color-main-text);border:2px solid var(--color-border-maxcontrast);border-radius:var(--border-radius-large);cursor:pointer;-webkit-appearance:textfield!important;-moz-appearance:textfield!important}.input-field__input--label-outside[data-v-e8c696ab]{padding-block:0}.input-field__input[data-v-e8c696ab]:active:not([disabled]),.input-field__input[data-v-e8c696ab]:hover:not([disabled]),.input-field__input[data-v-e8c696ab]:focus:not([disabled]){border-color:2px solid var(--color-main-text)!important;box-shadow:0 0 0 2px var(--color-main-background)!important}.input-field__input:focus+.input-field__label[data-v-e8c696ab],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-e8c696ab]{color:var(--color-main-text)}.input-field__input[data-v-e8c696ab]:not(:focus,.input-field__input--label-outside)::placeholder{opacity:0}.input-field__input[data-v-e8c696ab]:focus{cursor:text}.input-field__input[data-v-e8c696ab]:disabled{cursor:default}.input-field__input[data-v-e8c696ab]:focus-visible{box-shadow:unset!important}.input-field__input--leading-icon[data-v-e8c696ab]{padding-inline-start:var(--default-clickable-area)}.input-field__input--trailing-icon[data-v-e8c696ab]{padding-inline-end:var(--default-clickable-area)}.input-field__input--success[data-v-e8c696ab]{border-color:var(--color-success)!important}.input-field__input--success[data-v-e8c696ab]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--error[data-v-e8c696ab]{border-color:var(--color-error)!important}.input-field__input--error[data-v-e8c696ab]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.input-field__input--pill[data-v-e8c696ab]{border-radius:var(--border-radius-pill)}.input-field__label[data-v-e8c696ab]{position:absolute;margin-inline:14px 0;max-width:fit-content;inset-block-start:11px;inset-inline:0;color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.input-field__label--leading-icon[data-v-e8c696ab]{margin-inline-start:var(--default-clickable-area)}.input-field__label--trailing-icon[data-v-e8c696ab]{margin-inline-end:var(--default-clickable-area)}.input-field__input:focus+.input-field__label[data-v-e8c696ab],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-e8c696ab]{inset-block-start:-10px;font-size:13px;font-weight:500;border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0;background-color:var(--color-main-background);padding-inline:5px;margin-inline-start:9px;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.input-field__input:focus+.input-field__label--leading-icon[data-v-e8c696ab],.input-field__input:not(:placeholder-shown)+.input-field__label--leading-icon[data-v-e8c696ab]{margin-inline-start:41px}.input-field__icon[data-v-e8c696ab]{position:absolute;height:var(--default-clickable-area);width:var(--default-clickable-area);display:flex;align-items:center;justify-content:center;opacity:.7}.input-field__icon--leading[data-v-e8c696ab]{inset-block-end:0;inset-inline-start:2px}.input-field__icon--trailing[data-v-e8c696ab]{inset-block-end:0;inset-inline-end:2px}.input-field__trailing-button.button-vue[data-v-e8c696ab]{position:absolute;top:0;right:0;border-radius:var(--border-radius-large)}.input-field__trailing-button--pill.button-vue[data-v-e8c696ab]{border-radius:var(--border-radius-pill)}.input-field__helper-text-message[data-v-e8c696ab]{padding-block:4px;display:flex;align-items:center}.input-field__helper-text-message__icon[data-v-e8c696ab]{margin-inline-end:8px}.input-field__helper-text-message--error[data-v-e8c696ab]{color:var(--color-error-text)}.input-field__helper-text-message--success[data-v-e8c696ab]{color:var(--color-success-text)}.material-design-icon[data-v-910493a0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.modal-mask[data-v-910493a0]{position:fixed;z-index:9998;top:0;left:0;display:block;width:100%;height:100%;background-color:#00000080}.modal-mask--dark[data-v-910493a0]{background-color:#000000eb}.modal-header[data-v-910493a0]{position:absolute;z-index:10001;top:0;right:0;left:0;display:flex!important;align-items:center;justify-content:center;width:100%;height:50px;overflow:hidden;transition:opacity .25s,visibility .25s}.modal-header .modal-name[data-v-910493a0]{overflow-x:hidden;box-sizing:border-box;width:100%;padding:0 132px 0 12px;transition:padding ease .1s;white-space:nowrap;text-overflow:ellipsis;color:#fff;font-size:14px;margin-bottom:0}@media only screen and (min-width: 1024px){.modal-header .modal-name[data-v-910493a0]{padding-left:132px;text-align:center}}.modal-header .icons-menu[data-v-910493a0]{position:absolute;right:0;display:flex;align-items:center;justify-content:flex-end}.modal-header .icons-menu .header-close[data-v-910493a0]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:3px;padding:0}.modal-header .icons-menu .play-pause-icons[data-v-910493a0]{position:relative;width:50px;height:50px;margin:0;padding:0;cursor:pointer;border:none;background-color:transparent}.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__play[data-v-910493a0],.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__pause[data-v-910493a0],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__play[data-v-910493a0],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__pause[data-v-910493a0]{opacity:1;border-radius:22px;background-color:#7f7f7f40}.modal-header .icons-menu .play-pause-icons__play[data-v-910493a0],.modal-header .icons-menu .play-pause-icons__pause[data-v-910493a0]{box-sizing:border-box;width:44px;height:44px;margin:3px;cursor:pointer;opacity:.7}.modal-header .icons-menu .header-actions[data-v-910493a0]{color:#fff}.modal-header .icons-menu[data-v-910493a0] .action-item{margin:3px}.modal-header .icons-menu[data-v-910493a0] .action-item--single{box-sizing:border-box;width:44px;height:44px;cursor:pointer;background-position:center;background-size:22px}.modal-header .icons-menu[data-v-910493a0] button{color:#fff}.modal-header .icons-menu[data-v-910493a0] .action-item__menutoggle{padding:0}.modal-header .icons-menu[data-v-910493a0] .action-item__menutoggle span,.modal-header .icons-menu[data-v-910493a0] .action-item__menutoggle svg{width:var(--icon-size);height:var(--icon-size)}.modal-wrapper[data-v-910493a0]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.modal-wrapper .prev[data-v-910493a0],.modal-wrapper .next[data-v-910493a0]{z-index:10000;height:35vh;min-height:300px;position:absolute;transition:opacity .25s;color:#fff}.modal-wrapper .prev[data-v-910493a0]:focus-visible,.modal-wrapper .next[data-v-910493a0]:focus-visible{box-shadow:0 0 0 2px var(--color-primary-element-text);background-color:var(--color-box-shadow)}.modal-wrapper .prev[data-v-910493a0]{left:2px}.modal-wrapper .next[data-v-910493a0]{right:2px}.modal-wrapper .modal-container[data-v-910493a0]{position:relative;display:flex;padding:0;transition:transform .3s ease;border-radius:var(--border-radius-large);background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px #0003}.modal-wrapper .modal-container__close[data-v-910493a0]{z-index:1;position:absolute;top:4px;right:4px}.modal-wrapper .modal-container__content[data-v-910493a0]{width:100%;min-height:52px;overflow:auto}.modal-wrapper--small .modal-container[data-v-910493a0]{width:400px;max-width:90%;max-height:min(90%,100% - 100px)}.modal-wrapper--normal .modal-container[data-v-910493a0]{max-width:90%;width:600px;max-height:min(90%,100% - 100px)}.modal-wrapper--large .modal-container[data-v-910493a0]{max-width:90%;width:900px;max-height:min(90%,100% - 100px)}.modal-wrapper--full .modal-container[data-v-910493a0]{width:100%;height:calc(100% - var(--header-height));position:absolute;top:50px;border-radius:0}@media only screen and (max-width: 512px){.modal-wrapper .modal-container[data-v-910493a0]{max-width:initial;width:100%;max-height:initial;height:calc(100% - var(--header-height));position:absolute;top:50px;border-radius:0}}.fade-enter-active[data-v-910493a0],.fade-leave-active[data-v-910493a0]{transition:opacity .25s}.fade-enter[data-v-910493a0],.fade-leave-to[data-v-910493a0]{opacity:0}.fade-visibility-enter[data-v-910493a0],.fade-visibility-leave-to[data-v-910493a0]{visibility:hidden;opacity:0}.modal-in-enter-active[data-v-910493a0],.modal-in-leave-active[data-v-910493a0],.modal-out-enter-active[data-v-910493a0],.modal-out-leave-active[data-v-910493a0]{transition:opacity .25s}.modal-in-enter[data-v-910493a0],.modal-in-leave-to[data-v-910493a0],.modal-out-enter[data-v-910493a0],.modal-out-leave-to[data-v-910493a0]{opacity:0}.modal-in-enter .modal-container[data-v-910493a0],.modal-in-leave-to .modal-container[data-v-910493a0]{transform:scale(.9)}.modal-out-enter .modal-container[data-v-910493a0],.modal-out-leave-to .modal-container[data-v-910493a0]{transform:scale(1.1)}.modal-mask .play-pause-icons .progress-ring[data-v-910493a0]{position:absolute;top:0;left:0;transform:rotate(-90deg)}.modal-mask .play-pause-icons .progress-ring .progress-ring__circle[data-v-910493a0]{transition:.1s stroke-dashoffset;transform-origin:50% 50%;animation:progressring-910493a0 linear var(--slideshow-duration) infinite;stroke-linecap:round;stroke-dashoffset:94.2477796077;stroke-dasharray:94.2477796077}.modal-mask .play-pause-icons--paused .icon-pause[data-v-910493a0]{animation:breath-910493a0 2s cubic-bezier(.4,0,.2,1) infinite}.modal-mask .play-pause-icons--paused .progress-ring__circle[data-v-910493a0]{animation-play-state:paused!important}@keyframes progressring-910493a0{0%{stroke-dashoffset:94.2477796077}to{stroke-dashoffset:0}}@keyframes breath-910493a0{0%{opacity:1}50%{opacity:0}to{opacity:1}}.material-design-icon[data-v-41ba401e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-41ba401e]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-41ba401e]{pointer-events:none;opacity:.5}.action--disabled[data-v-41ba401e]:hover,.action--disabled[data-v-41ba401e]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-41ba401e]{opacity:1!important}.action-button[data-v-41ba401e]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-button>span[data-v-41ba401e]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-41ba401e]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-41ba401e] .material-design-icon{width:44px;height:44px;opacity:1}.action-button[data-v-41ba401e] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-41ba401e],.action-button__longtext[data-v-41ba401e]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-41ba401e]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-41ba401e]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-button__menu-icon[data-v-41ba401e]{margin-left:auto;margin-right:-14px}.nc-button-group-base>div{text-align:center;color:var(--color-text-maxcontrast)}.nc-button-group-base ul.nc-button-group-content{display:flex;justify-content:space-between}.nc-button-group-base ul.nc-button-group-content li{flex:1 1}.nc-button-group-base ul.nc-button-group-content .action-button{padding:0!important;width:100%;display:flex;justify-content:center}.material-design-icon[data-v-7c8f7463]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-caption[data-v-7c8f7463]{color:var(--color-text-maxcontrast);line-height:44px;white-space:nowrap;text-overflow:ellipsis;box-shadow:none!important;-webkit-user-select:none;user-select:none;pointer-events:none;margin-left:12px;padding-right:14px;height:44px;display:flex;align-items:center}.material-design-icon[data-v-24834b9f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-24834b9f]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-24834b9f]{pointer-events:none;opacity:.5}.action--disabled[data-v-24834b9f]:hover,.action--disabled[data-v-24834b9f]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-24834b9f]{opacity:1!important}.action-checkbox[data-v-24834b9f]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;line-height:44px}.action-checkbox__checkbox[data-v-24834b9f]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__label[data-v-24834b9f]{display:flex;align-items:center;width:100%;padding:0 14px 0 0!important}.action-checkbox__label[data-v-24834b9f]:before{margin:0 14px!important}.action-checkbox--disabled[data-v-24834b9f],.action-checkbox--disabled .action-checkbox__label[data-v-24834b9f]{cursor:pointer}.material-design-icon[data-v-48dfde24]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}button[data-v-48dfde24]:not(.button-vue),input[data-v-48dfde24]:not([type=range]),textarea[data-v-48dfde24]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-48dfde24]:not(.button-vue):not(:disabled):not(.primary):hover,button[data-v-48dfde24]:not(.button-vue):not(:disabled):not(.primary):focus,button:not(.button-vue):not(:disabled):not(.primary).active[data-v-48dfde24],input[data-v-48dfde24]:not([type=range]):not(:disabled):not(.primary):hover,input[data-v-48dfde24]:not([type=range]):not(:disabled):not(.primary):focus,input:not([type=range]):not(:disabled):not(.primary).active[data-v-48dfde24],textarea[data-v-48dfde24]:not(:disabled):not(.primary):hover,textarea[data-v-48dfde24]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-48dfde24]{border-color:var(--color-primary-element);outline:none}button[data-v-48dfde24]:not(.button-vue):not(:disabled):not(.primary):active,input[data-v-48dfde24]:not([type=range]):not(:disabled):not(.primary):active,textarea[data-v-48dfde24]:not(:disabled):not(.primary):active{color:var(--color-text-light);outline:none;background-color:var(--color-main-background)}button[data-v-48dfde24]:not(.button-vue):disabled,input[data-v-48dfde24]:not([type=range]):disabled,textarea[data-v-48dfde24]:disabled{cursor:default;opacity:.5;color:var(--color-text-maxcontrast);background-color:var(--color-background-dark)}button[data-v-48dfde24]:not(.button-vue):required,input[data-v-48dfde24]:not([type=range]):required,textarea[data-v-48dfde24]:required{box-shadow:none}button[data-v-48dfde24]:not(.button-vue):invalid,input[data-v-48dfde24]:not([type=range]):invalid,textarea[data-v-48dfde24]:invalid{border-color:var(--color-error);box-shadow:none!important}button:not(.button-vue).primary[data-v-48dfde24],input:not([type=range]).primary[data-v-48dfde24],textarea.primary[data-v-48dfde24]{cursor:pointer;color:var(--color-primary-element-text);border-color:var(--color-primary-element);background-color:var(--color-primary-element)}button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):hover,button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):focus,button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):active,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):hover,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):focus,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):active,textarea.primary[data-v-48dfde24]:not(:disabled):hover,textarea.primary[data-v-48dfde24]:not(:disabled):focus,textarea.primary[data-v-48dfde24]:not(:disabled):active{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}button:not(.button-vue).primary[data-v-48dfde24]:not(:disabled):active,input:not([type=range]).primary[data-v-48dfde24]:not(:disabled):active,textarea.primary[data-v-48dfde24]:not(:disabled):active{color:var(--color-primary-element-text-dark)}button:not(.button-vue).primary[data-v-48dfde24]:disabled,input:not([type=range]).primary[data-v-48dfde24]:disabled,textarea.primary[data-v-48dfde24]:disabled{cursor:default;color:var(--color-primary-element-text-dark);background-color:var(--color-primary-element)}li.active[data-v-48dfde24]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-48dfde24]{pointer-events:none;opacity:.5}.action--disabled[data-v-48dfde24]:hover,.action--disabled[data-v-48dfde24]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-48dfde24]{opacity:1!important}.action-input[data-v-48dfde24]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400}.action-input__icon-wrapper[data-v-48dfde24]{display:flex;align-self:center;align-items:center;justify-content:center}.action-input__icon-wrapper[data-v-48dfde24] .material-design-icon{width:44px;height:44px;opacity:1}.action-input__icon-wrapper[data-v-48dfde24] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-input>span[data-v-48dfde24]{cursor:pointer;white-space:nowrap}.action-input__icon[data-v-48dfde24]{min-width:0;min-height:0;padding:22px 0 22px 44px;background-position:14px center;background-size:16px}.action-input__form[data-v-48dfde24]{display:flex;align-items:center;flex:1 1 auto;margin:4px 0;padding-right:14px}.action-input__container[data-v-48dfde24]{width:100%}.action-input__input-container[data-v-48dfde24]{display:flex}.action-input__input-container .colorpicker__trigger[data-v-48dfde24],.action-input__input-container .colorpicker__preview[data-v-48dfde24]{width:100%}.action-input__input-container .colorpicker__preview[data-v-48dfde24]{width:100%;height:36px;border-radius:var(--border-radius-large);border:2px solid var(--color-border-maxcontrast);box-shadow:none!important}.action-input__text-label[data-v-48dfde24]{padding:4px 0;display:block}.action-input__text-label--hidden[data-v-48dfde24]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.action-input__datetimepicker[data-v-48dfde24]{width:100%}.action-input__datetimepicker[data-v-48dfde24] .mx-input{margin:0}.action-input__multi[data-v-48dfde24]{width:100%}li:last-child>.action-input[data-v-48dfde24]{padding-bottom:10px}li:first-child>.action-input[data-v-48dfde24]:not(.action-input--visible-label){padding-top:10px}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:"";position:relative;top:-1px;display:inline-block;width:10px;height:10px;vertical-align:middle;border-style:solid;border-color:currentColor;border-width:2px 0 0 2px;border-radius:1px;box-sizing:border-box;transform-origin:center;transform:rotate(-45deg) scale(.7)}.mx-icon-double-left:after{left:-4px}.mx-icon-double-right:before{left:4px}.mx-icon-right:before,.mx-icon-double-right:before,.mx-icon-double-right:after{transform:rotate(135deg) scale(.7)}.mx-btn{box-sizing:border-box;line-height:1;font-size:14px;font-weight:500;padding:7px 15px;margin:0;cursor:pointer;background-color:transparent;outline:none;border:1px solid rgba(0,0,0,.1);border-radius:4px;color:#73879c;white-space:nowrap}.mx-btn:hover{border-color:#1284e7;color:#1284e7}.mx-btn:disabled,.mx-btn.disabled{color:#ccc;cursor:not-allowed}.mx-btn-text{border:0;padding:0 4px;text-align:left;line-height:inherit}.mx-scrollbar{height:100%}.mx-scrollbar:hover .mx-scrollbar-track{opacity:1}.mx-scrollbar-wrap{height:100%;overflow-x:hidden;overflow-y:auto}.mx-scrollbar-track{position:absolute;top:2px;right:2px;bottom:2px;width:6px;z-index:1;border-radius:4px;opacity:0;transition:opacity .24s ease-out}.mx-scrollbar-track .mx-scrollbar-thumb{position:absolute;width:100%;height:0;cursor:pointer;border-radius:inherit;background-color:#9093994d;transition:background-color .3s}.mx-zoom-in-down-enter-active,.mx-zoom-in-down-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.mx-zoom-in-down-enter,.mx-zoom-in-down-enter-from,.mx-zoom-in-down-leave-to{opacity:0;transform:scaleY(0)}.mx-datepicker{position:relative;display:inline-block;width:210px}.mx-datepicker svg{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.mx-datepicker-range{width:320px}.mx-datepicker-inline{width:auto}.mx-input-wrapper{position:relative}.mx-input{display:inline-block;box-sizing:border-box;width:100%;height:34px;padding:6px 30px 6px 10px;font-size:14px;line-height:1.4;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px #00000013}.mx-input:hover,.mx-input:focus{border-color:#409aff}.mx-input:disabled,.mx-input.disabled{color:#ccc;background-color:#f3f3f3;border-color:#ccc;cursor:not-allowed}.mx-input:focus{outline:none}.mx-input::-ms-clear{display:none}.mx-icon-calendar,.mx-icon-clear{position:absolute;top:50%;right:8px;transform:translateY(-50%);font-size:16px;line-height:1;color:#00000080;vertical-align:middle}.mx-icon-clear{cursor:pointer}.mx-icon-clear:hover{color:#000c}.mx-datepicker-main{font:14px/1.5 Helvetica Neue,Helvetica,Arial,Microsoft Yahei,sans-serif;color:#73879c;background-color:#fff;border:1px solid #e8e8e8}.mx-datepicker-popup{position:absolute;margin-top:1px;margin-bottom:1px;box-shadow:0 6px 12px #0000002d;z-index:2001}.mx-datepicker-sidebar{float:left;box-sizing:border-box;width:100px;padding:6px;overflow:auto}.mx-datepicker-sidebar+.mx-datepicker-content{margin-left:100px;border-left:1px solid #e8e8e8}.mx-datepicker-body{position:relative;-webkit-user-select:none;user-select:none}.mx-btn-shortcut{display:block;padding:0 6px;line-height:24px}.mx-range-wrapper{display:flex}@media (max-width: 750px){.mx-range-wrapper{flex-direction:column}}.mx-datepicker-header{padding:6px 8px;border-bottom:1px solid #e8e8e8}.mx-datepicker-footer{padding:6px 8px;text-align:right;border-top:1px solid #e8e8e8}.mx-calendar{box-sizing:border-box;width:248px;padding:6px 12px}.mx-calendar+.mx-calendar{border-left:1px solid #e8e8e8}.mx-calendar-header,.mx-time-header{box-sizing:border-box;height:34px;line-height:34px;text-align:center;overflow:hidden}.mx-btn-icon-left,.mx-btn-icon-double-left{float:left}.mx-btn-icon-right,.mx-btn-icon-double-right{float:right}.mx-calendar-header-label{font-size:14px}.mx-calendar-decade-separator{margin:0 2px}.mx-calendar-decade-separator:after{content:"~"}.mx-calendar-content{position:relative;height:224px;box-sizing:border-box}.mx-calendar-content .cell{cursor:pointer}.mx-calendar-content .cell:hover{color:#73879c;background-color:#f3f9fe}.mx-calendar-content .cell.active{color:#fff;background-color:#1284e7}.mx-calendar-content .cell.in-range,.mx-calendar-content .cell.hover-in-range{color:#73879c;background-color:#dbedfb}.mx-calendar-content .cell.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-calendar-week-mode .mx-date-row{cursor:pointer}.mx-calendar-week-mode .mx-date-row:hover{background-color:#f3f9fe}.mx-calendar-week-mode .mx-date-row.mx-active-week{background-color:#dbedfb}.mx-calendar-week-mode .mx-date-row .cell:hover,.mx-calendar-week-mode .mx-date-row .cell.active{color:inherit;background-color:transparent}.mx-week-number{opacity:.5}.mx-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;height:100%;box-sizing:border-box;text-align:center}.mx-table th{padding:0;font-weight:500;vertical-align:middle}.mx-table td{padding:0;vertical-align:middle}.mx-table-date td,.mx-table-date th{height:32px;font-size:12px}.mx-table-date .today{color:#2a90e9}.mx-table-date .cell.not-current-month{color:#ccc;background:none}.mx-time{flex:1;width:224px;background:#fff}.mx-time+.mx-time{border-left:1px solid #e8e8e8}.mx-calendar-time{position:absolute;top:0;left:0;width:100%;height:100%}.mx-time-header{border-bottom:1px solid #e8e8e8}.mx-time-content{height:224px;box-sizing:border-box;overflow:hidden}.mx-time-columns{display:flex;width:100%;height:100%;overflow:hidden}.mx-time-column{flex:1;position:relative;border-left:1px solid #e8e8e8;text-align:center}.mx-time-column:first-child{border-left:0}.mx-time-column .mx-time-list{margin:0;padding:0;list-style:none}.mx-time-column .mx-time-list:after{content:"";display:block;height:192px}.mx-time-column .mx-time-item{cursor:pointer;font-size:12px;height:32px;line-height:32px}.mx-time-column .mx-time-item:hover{color:#73879c;background-color:#f3f9fe}.mx-time-column .mx-time-item.active{color:#1284e7;background-color:transparent;font-weight:700}.mx-time-column .mx-time-item.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-time-option{cursor:pointer;padding:8px 10px;font-size:14px;line-height:20px}.mx-time-option:hover{color:#73879c;background-color:#f3f9fe}.mx-time-option.active{color:#1284e7;background-color:transparent;font-weight:700}.mx-time-option.disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}.mx-datepicker[data-v-c7eb113]{-webkit-user-select:none;user-select:none;color:var(--color-main-text)}.mx-datepicker[data-v-c7eb113] svg{fill:var(--color-main-text)}.mx-datepicker[data-v-c7eb113] .mx-input-wrapper .mx-input{width:100%;border:2px solid var(--color-border-maxcontrast);background-color:var(--color-main-background);background-clip:content-box}.mx-datepicker[data-v-c7eb113] .mx-input-wrapper .mx-input:active:not(.disabled),.mx-datepicker[data-v-c7eb113] .mx-input-wrapper .mx-input:hover:not(.disabled),.mx-datepicker[data-v-c7eb113] .mx-input-wrapper .mx-input:focus:not(.disabled){border-color:var(--color-primary-element)}.mx-datepicker[data-v-c7eb113] .mx-input-wrapper:disabled,.mx-datepicker[data-v-c7eb113] .mx-input-wrapper.disabled{cursor:not-allowed;opacity:.7}.mx-datepicker[data-v-c7eb113] .mx-input-wrapper .mx-icon-calendar,.mx-datepicker[data-v-c7eb113] .mx-input-wrapper .mx-icon-clear{color:var(--color-text-lighter)}.mx-datepicker-main{color:var(--color-main-text);border:1px solid var(--color-border);background-color:var(--color-main-background);font-family:var(--font-face)!important;line-height:1.5}.mx-datepicker-main svg{fill:var(--color-main-text)}.mx-datepicker-main.mx-datepicker-popup{z-index:2000;box-shadow:none}.mx-datepicker-main.mx-datepicker-popup .mx-datepicker-sidebar+.mx-datepicker-content{border-left:1px solid var(--color-border)}.mx-datepicker-main.show-week-number .mx-calendar{width:296px}.mx-datepicker-main .mx-datepicker-header{border-bottom:1px solid var(--color-border)}.mx-datepicker-main .mx-datepicker-footer{border-top:1px solid var(--color-border)}.mx-datepicker-main .mx-datepicker-btn-confirm{background-color:var(--color-primary-element);border-color:var(--color-primary-element);color:var(--color-primary-element-text)!important;opacity:1!important}.mx-datepicker-main .mx-datepicker-btn-confirm:hover{background-color:var(--color-primary-element-light)!important;border-color:var(--color-primary-element-light)!important}.mx-datepicker-main .mx-calendar{width:264px;padding:5px}.mx-datepicker-main .mx-calendar.mx-calendar-week-mode{width:296px}.mx-datepicker-main .mx-time+.mx-time,.mx-datepicker-main .mx-calendar+.mx-calendar{border-left:1px solid var(--color-border)}.mx-datepicker-main .mx-range-wrapper{display:flex;overflow:hidden}.mx-datepicker-main .mx-range-wrapper .mx-calendar-content .mx-table-date .cell.active{border-radius:var(--border-radius) 0 0 var(--border-radius)}.mx-datepicker-main .mx-range-wrapper .mx-calendar-content .mx-table-date .cell.in-range+.cell.active{border-radius:0 var(--border-radius) var(--border-radius) 0}.mx-datepicker-main .mx-table{text-align:center}.mx-datepicker-main .mx-table thead>tr>th{text-align:center;opacity:.5;color:var(--color-text-lighter)}.mx-datepicker-main .mx-table tr:focus,.mx-datepicker-main .mx-table tr:hover,.mx-datepicker-main .mx-table tr:active{background-color:transparent}.mx-datepicker-main .mx-table .cell{transition:all .1s ease-in-out;text-align:center;opacity:.7;border-radius:50px}.mx-datepicker-main .mx-table .cell>*{cursor:pointer}.mx-datepicker-main .mx-table .cell.today{opacity:1;color:var(--color-primary-element);font-weight:700}.mx-datepicker-main .mx-table .cell.today:hover,.mx-datepicker-main .mx-table .cell.today:focus{color:var(--color-primary-element-text)}.mx-datepicker-main .mx-table .cell.in-range,.mx-datepicker-main .mx-table .cell.disabled{border-radius:0;font-weight:400}.mx-datepicker-main .mx-table .cell.in-range{opacity:.7}.mx-datepicker-main .mx-table .cell.not-current-month{opacity:.5;color:var(--color-text-lighter)}.mx-datepicker-main .mx-table .cell.not-current-month:hover,.mx-datepicker-main .mx-table .cell.not-current-month:focus{opacity:1}.mx-datepicker-main .mx-table .cell:hover,.mx-datepicker-main .mx-table .cell:focus,.mx-datepicker-main .mx-table .cell.actived,.mx-datepicker-main .mx-table .cell.active,.mx-datepicker-main .mx-table .cell.in-range{opacity:1;color:var(--color-primary-element-text);background-color:var(--color-primary-element);font-weight:700}.mx-datepicker-main .mx-table .cell.disabled{opacity:.5;color:var(--color-text-lighter);border-radius:0;background-color:var(--color-background-darker)}.mx-datepicker-main .mx-table .mx-week-number{text-align:center;opacity:.7;border-radius:50px}.mx-datepicker-main .mx-table span.mx-week-number,.mx-datepicker-main .mx-table li.mx-week-number,.mx-datepicker-main .mx-table span.cell,.mx-datepicker-main .mx-table li.cell{min-height:32px}.mx-datepicker-main .mx-table.mx-table-date thead,.mx-datepicker-main .mx-table.mx-table-date tbody,.mx-datepicker-main .mx-table.mx-table-year,.mx-datepicker-main .mx-table.mx-table-month{display:flex;flex-direction:column;justify-content:space-around}.mx-datepicker-main .mx-table.mx-table-date thead tr,.mx-datepicker-main .mx-table.mx-table-date tbody tr,.mx-datepicker-main .mx-table.mx-table-year tr,.mx-datepicker-main .mx-table.mx-table-month tr{display:inline-flex;align-items:center;flex:1 1 32px;justify-content:space-around;min-height:32px}.mx-datepicker-main .mx-table.mx-table-date thead th,.mx-datepicker-main .mx-table.mx-table-date thead td,.mx-datepicker-main .mx-table.mx-table-date tbody th,.mx-datepicker-main .mx-table.mx-table-date tbody td,.mx-datepicker-main .mx-table.mx-table-year th,.mx-datepicker-main .mx-table.mx-table-year td,.mx-datepicker-main .mx-table.mx-table-month th,.mx-datepicker-main .mx-table.mx-table-month td{display:flex;align-items:center;flex:0 1 32%;justify-content:center;min-width:32px;height:95%;min-height:32px;transition:background .1s ease-in-out}.mx-datepicker-main .mx-table.mx-table-year tr th,.mx-datepicker-main .mx-table.mx-table-year tr td{flex-basis:48%}.mx-datepicker-main .mx-table.mx-table-date tr th,.mx-datepicker-main .mx-table.mx-table-date tr td{flex-basis:32px}.mx-datepicker-main .mx-btn{min-width:32px;height:32px;margin:0 2px!important;padding:7px 10px;cursor:pointer;text-decoration:none;opacity:.5;color:var(--color-text-lighter);border-radius:32px;line-height:20px}.mx-datepicker-main .mx-btn:hover,.mx-datepicker-main .mx-btn:focus{opacity:1;color:var(--color-main-text);background-color:var(--color-background-darker)}.mx-datepicker-main .mx-calendar-header,.mx-datepicker-main .mx-time-header{display:inline-flex;align-items:center;justify-content:space-between;width:100%;height:44px;margin-bottom:4px}.mx-datepicker-main .mx-calendar-header button,.mx-datepicker-main .mx-time-header button{min-width:32px;min-height:32px;margin:0;cursor:pointer;text-align:center;text-decoration:none;opacity:.7;color:var(--color-main-text);border-radius:32px;line-height:20px}.mx-datepicker-main .mx-calendar-header button:hover,.mx-datepicker-main .mx-time-header button:hover,.mx-datepicker-main .mx-calendar-header button:focus,.mx-datepicker-main .mx-time-header button:focus{opacity:1;color:var(--color-main-text);background-color:var(--color-background-darker)}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right{align-items:center;justify-content:center;width:32px;padding:0}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left>i,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left>i,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right>i,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right>i,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right>i{background-repeat:no-repeat;background-size:16px;background-position:center;filter:var(--background-invert-if-dark);display:inline-block;width:32px;height:32px}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-left>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-left>i:before,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-left>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-left>i:before,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right>i:before,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right>i:after,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right>i:after,.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right>i:before,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right>i:before{content:none}.mx-datepicker-main .mx-calendar-header button.mx-btn-text,.mx-datepicker-main .mx-time-header button.mx-btn-text{line-height:initial}.mx-datepicker-main .mx-calendar-header .mx-calendar-header-label,.mx-datepicker-main .mx-time-header .mx-calendar-header-label{display:flex}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-double-left>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-double-left>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+)}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-left>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-left>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg==)}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-right>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-right>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4=)}.mx-datepicker-main .mx-calendar-header .mx-btn-icon-double-right>i,.mx-datepicker-main .mx-time-header .mx-btn-icon-double-right>i{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4=)}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-right{order:2}.mx-datepicker-main .mx-calendar-header button.mx-btn-icon-double-right,.mx-datepicker-main .mx-time-header button.mx-btn-icon-double-right{order:3}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row .mx-week-number{font-weight:700}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week{opacity:1;border-radius:50px;background-color:var(--color-background-dark)}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td{background-color:transparent}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td:hover,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row:hover td:focus,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td:hover,.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td:focus{color:inherit}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.mx-datepicker-main .mx-calendar-week-mode .mx-date-row.mx-active-week td{opacity:.7;font-weight:400}.mx-datepicker-main .mx-time{background-color:var(--color-main-background)}.mx-datepicker-main .mx-time .mx-time-header{justify-content:center;border-bottom:1px solid var(--color-border)}.mx-datepicker-main .mx-time .mx-time-column{border-left:1px solid var(--color-border)}.mx-datepicker-main .mx-time .mx-time-option.active,.mx-datepicker-main .mx-time .mx-time-option:hover,.mx-datepicker-main .mx-time .mx-time-item.active,.mx-datepicker-main .mx-time .mx-time-item:hover{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.mx-datepicker-main .mx-time .mx-time-option.disabled,.mx-datepicker-main .mx-time .mx-time-item.disabled{cursor:not-allowed;opacity:.5;color:var(--color-main-text);background-color:var(--color-main-background)}.material-design-icon[data-v-26676d3b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.mx-datepicker[data-v-26676d3b] .mx-input-wrapper .mx-input{background-clip:border-box}.datetime-picker-inline-icon[data-v-26676d3b]{opacity:.3;border:none;background-color:transparent;border-radius:0;padding:0!important;margin:0}.datetime-picker-inline-icon--highlighted[data-v-26676d3b]{opacity:.7}.datetime-picker-inline-icon[data-v-26676d3b]:focus,.datetime-picker-inline-icon[data-v-26676d3b]:hover{opacity:1}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper{border-radius:var(--border-radius-large)}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner{padding:4px;border-radius:var(--border-radius-large)}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__label{padding:4px 0 4px 14px}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__timezone-select.v-select .vs__dropdown-toggle{border-radius:calc(var(--border-radius-large) - 4px)}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__timezone-select.v-select.vs--open .vs__dropdown-toggle{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-popper--theme-dropdown.v-popper__popper.timezone-select__popper .v-popper__wrapper .v-popper__inner .timezone-popover-wrapper__timezone-select.v-select.vs--open.select--drop-up .vs__dropdown-toggle{border-radius:0 0 calc(var(--border-radius-large) - 4px) calc(var(--border-radius-large) - 4px)}.vs__dropdown-menu--floating{z-index:100001}.material-design-icon[data-v-22982259]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.native-datetime-picker[data-v-22982259]{display:flex;flex-direction:column}.native-datetime-picker .native-datetime-picker--input[data-v-22982259]{width:100%;flex:0 0 auto;padding-right:4px}.material-design-icon[data-v-f482d6e9]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-f482d6e9]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-f482d6e9]{pointer-events:none;opacity:.5}.action--disabled[data-v-f482d6e9]:hover,.action--disabled[data-v-f482d6e9]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-f482d6e9]{opacity:1!important}.action-radio[data-v-f482d6e9]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;line-height:44px}.action-radio__radio[data-v-f482d6e9]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-radio__label[data-v-f482d6e9]{display:flex;align-items:center;width:100%;padding:0 14px 0 0!important}.action-radio__label[data-v-f482d6e9]:before{margin:0 14px!important}.action-radio--disabled[data-v-f482d6e9],.action-radio--disabled .action-radio__label[data-v-f482d6e9]{cursor:pointer}.material-design-icon[data-v-fdbe574e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-fdbe574e]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-router[data-v-fdbe574e]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-router>span[data-v-fdbe574e]{cursor:pointer;white-space:nowrap}.action-router__icon[data-v-fdbe574e]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-router[data-v-fdbe574e] .material-design-icon{width:44px;height:44px;opacity:1}.action-router[data-v-fdbe574e] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-router__longtext-wrapper[data-v-fdbe574e],.action-router__longtext[data-v-fdbe574e]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-router__longtext[data-v-fdbe574e]{cursor:pointer;white-space:pre-wrap!important}.action-router__name[data-v-fdbe574e]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-router__menu-icon[data-v-fdbe574e]{margin-left:auto;margin-right:-14px}.action--disabled[data-v-fdbe574e]{pointer-events:none;opacity:.5}.action--disabled[data-v-fdbe574e]:hover,.action--disabled[data-v-fdbe574e]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-fdbe574e]{opacity:1!important}.material-design-icon[data-v-82b7f2ae]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-separator[data-v-82b7f2ae]{height:0;margin:5px 10px 5px 15px;border-bottom:1px solid var(--color-border-dark);cursor:default}.material-design-icon[data-v-34d9a49c]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-34d9a49c]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-text[data-v-34d9a49c]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0 14px 0 0;box-sizing:border-box;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;font-size:var(--default-font-size);line-height:44px}.action-text>span[data-v-34d9a49c]{cursor:pointer;white-space:nowrap}.action-text__icon[data-v-34d9a49c]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-text[data-v-34d9a49c] .material-design-icon{width:44px;height:44px;opacity:1}.action-text[data-v-34d9a49c] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-text__longtext-wrapper[data-v-34d9a49c],.action-text__longtext[data-v-34d9a49c]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-text__longtext[data-v-34d9a49c]{cursor:pointer;white-space:pre-wrap!important}.action-text__name[data-v-34d9a49c]{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}.action-text__menu-icon[data-v-34d9a49c]{margin-left:auto;margin-right:-14px}.action--disabled[data-v-34d9a49c]{pointer-events:none;opacity:.5}.action--disabled[data-v-34d9a49c]:hover,.action--disabled[data-v-34d9a49c]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-34d9a49c]{opacity:1!important}.action-text[data-v-34d9a49c],.action-text span[data-v-34d9a49c]{cursor:default}.material-design-icon[data-v-b0b05af8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}button[data-v-b0b05af8]:not(.button-vue),input[data-v-b0b05af8]:not([type=range]),textarea[data-v-b0b05af8]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):hover,button[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):focus,button:not(.button-vue):not(:disabled):not(.primary).active[data-v-b0b05af8],input[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):hover,input[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):focus,input:not([type=range]):not(:disabled):not(.primary).active[data-v-b0b05af8],textarea[data-v-b0b05af8]:not(:disabled):not(.primary):hover,textarea[data-v-b0b05af8]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-b0b05af8]{border-color:var(--color-primary-element);outline:none}button[data-v-b0b05af8]:not(.button-vue):not(:disabled):not(.primary):active,input[data-v-b0b05af8]:not([type=range]):not(:disabled):not(.primary):active,textarea[data-v-b0b05af8]:not(:disabled):not(.primary):active{color:var(--color-text-light);outline:none;background-color:var(--color-main-background)}button[data-v-b0b05af8]:not(.button-vue):disabled,input[data-v-b0b05af8]:not([type=range]):disabled,textarea[data-v-b0b05af8]:disabled{cursor:default;opacity:.5;color:var(--color-text-maxcontrast);background-color:var(--color-background-dark)}button[data-v-b0b05af8]:not(.button-vue):required,input[data-v-b0b05af8]:not([type=range]):required,textarea[data-v-b0b05af8]:required{box-shadow:none}button[data-v-b0b05af8]:not(.button-vue):invalid,input[data-v-b0b05af8]:not([type=range]):invalid,textarea[data-v-b0b05af8]:invalid{border-color:var(--color-error);box-shadow:none!important}button:not(.button-vue).primary[data-v-b0b05af8],input:not([type=range]).primary[data-v-b0b05af8],textarea.primary[data-v-b0b05af8]{cursor:pointer;color:var(--color-primary-element-text);border-color:var(--color-primary-element);background-color:var(--color-primary-element)}button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):hover,button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):focus,button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):hover,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):focus,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,textarea.primary[data-v-b0b05af8]:not(:disabled):hover,textarea.primary[data-v-b0b05af8]:not(:disabled):focus,textarea.primary[data-v-b0b05af8]:not(:disabled):active{border-color:var(--color-primary-element-light);background-color:var(--color-primary-element-light)}button:not(.button-vue).primary[data-v-b0b05af8]:not(:disabled):active,input:not([type=range]).primary[data-v-b0b05af8]:not(:disabled):active,textarea.primary[data-v-b0b05af8]:not(:disabled):active{color:var(--color-primary-element-text-dark)}button:not(.button-vue).primary[data-v-b0b05af8]:disabled,input:not([type=range]).primary[data-v-b0b05af8]:disabled,textarea.primary[data-v-b0b05af8]:disabled{cursor:default;color:var(--color-primary-element-text-dark);background-color:var(--color-primary-element)}/** * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ @@ -19,7 +19,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * - */li.active[data-v-b0b05af8]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-b0b05af8]{pointer-events:none;opacity:.5}.action--disabled[data-v-b0b05af8]:hover,.action--disabled[data-v-b0b05af8]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-b0b05af8]{opacity:1!important}.action-text-editable[data-v-b0b05af8]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;line-height:44px}.action-text-editable>span[data-v-b0b05af8]{cursor:pointer;white-space:nowrap}.action-text-editable__icon[data-v-b0b05af8]{min-width:0;min-height:0;padding:22px 0 22px 44px;background-position:14px center;background-size:16px}.action-text-editable[data-v-b0b05af8] .material-design-icon{width:44px;height:44px;opacity:1}.action-text-editable[data-v-b0b05af8] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-text-editable__form[data-v-b0b05af8]{display:flex;flex:1 1 auto;flex-direction:column;position:relative;margin:4px 0;padding-right:14px}.action-text-editable__submit[data-v-b0b05af8]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.action-text-editable__label[data-v-b0b05af8]{display:flex;align-items:center;justify-content:center;position:absolute;right:15px;bottom:1px;width:36px;height:36px;box-sizing:border-box;margin:0;padding:7px 6px;border:0;border-radius:50%;background-color:var(--color-main-background);background-clip:padding-box}.action-text-editable__label[data-v-b0b05af8],.action-text-editable__label *[data-v-b0b05af8]{cursor:pointer}.action-text-editable__textarea[data-v-b0b05af8]{flex:1 1 auto;color:inherit;border-color:var(--color-border-maxcontrast);min-height:80px;max-height:124px;min-width:176px;width:100%!important;margin:0}.action-text-editable__textarea[data-v-b0b05af8]:disabled{cursor:default}.action-text-editable__textarea:not(:active):not(:hover):not(:focus):invalid+.action-text-editable__label[data-v-b0b05af8]{background-color:var(--color-error)}.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled)+.action-text-editable__label[data-v-b0b05af8]:active,.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled)+.action-text-editable__label[data-v-b0b05af8]:hover,.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled)+.action-text-editable__label[data-v-b0b05af8]:focus{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.action-text-editable__textarea:active:not(:disabled)+.action-text-editable__label[data-v-b0b05af8],.action-text-editable__textarea:hover:not(:disabled)+.action-text-editable__label[data-v-b0b05af8],.action-text-editable__textarea:focus:not(:disabled)+.action-text-editable__label[data-v-b0b05af8]{z-index:2;border-color:var(--color-primary-element);border-left-color:transparent}li:last-child>.action-text-editable[data-v-b0b05af8]{margin-bottom:10px}li:first-child>.action-text-editable[data-v-b0b05af8]{margin-top:10px}.app-navigation,.app-content{--app-navigation-padding: calc(var(--default-grid-baseline, 4px) * 2)}.material-design-icon[data-v-926cf86d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation[data-v-926cf86d]{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));transition:transform var(--animation-quick),margin var(--animation-quick);width:300px;max-width:calc(100vw - (var(--app-navigation-padding) + var(--default-clickable-area) + var(--default-grid-baseline)));position:relative;top:0;left:0;padding:0;z-index:1800;height:100%;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-grow:0;flex-shrink:0;background-color:var(--color-main-background-blur, var(--color-main-background));-webkit-backdrop-filter:var(--filter-background-blur, none);backdrop-filter:var(--filter-background-blur, none)}.app-navigation--close[data-v-926cf86d]{transform:translate(-100%);position:absolute}.app-navigation__content>ul[data-v-926cf86d],.app-navigation__list[data-v-926cf86d]{position:relative;height:100%;width:100%;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.app-navigation__content[data-v-926cf86d]{height:100%;display:flex;flex-direction:column}[data-themes*=highcontrast] .app-navigation[data-v-926cf86d]{border-right:1px solid var(--color-border)}@media only screen and (max-width: 1024px){.app-navigation[data-v-926cf86d]:not(.app-navigation--close){position:absolute}}.material-design-icon[data-v-13b4f13a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}button.app-navigation-toggle[data-v-13b4f13a]{position:absolute;top:var(--app-navigation-padding);right:calc(0px - var(--app-navigation-padding));margin-right:-44px;background-color:var(--color-main-background)}.material-design-icon[data-v-f01eb538]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-caption[data-v-f01eb538]{display:flex;justify-content:space-between}.app-navigation-caption__name[data-v-f01eb538]{font-weight:700;color:var(--color-primary-element);font-size:var(--default-font-size);line-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.7;box-shadow:none!important;flex-shrink:0;padding:0 calc(var(--default-grid-baseline, 4px) * 2) 0 calc(var(--default-grid-baseline, 4px) * 3)}.app-navigation-caption__actions[data-v-f01eb538]{flex:0 0 44px}.app-navigation-caption[data-v-f01eb538]:not(:first-child){margin-top:22px}.material-design-icon[data-v-91580127]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry__icon-bullet[data-v-91580127]{display:block;padding:15px}.app-navigation-entry__icon-bullet div[data-v-91580127]{width:14px;height:14px;cursor:pointer;transition:background .1s ease-in-out;border:none;border-radius:50%}.material-design-icon[data-v-07582bf6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue.icon-collapse[data-v-07582bf6]{position:relative;z-index:105;color:var(--color-main-text);right:0}.button-vue.icon-collapse--open[data-v-07582bf6]{color:var(--color-main-text)}.button-vue.icon-collapse--open[data-v-07582bf6]:hover{color:var(--color-primary-element)}.material-design-icon[data-v-24094dee]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-24094dee]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%;min-height:44px;transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-pill)}.app-navigation-entry-wrapper[data-v-24094dee]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-24094dee]{display:none}.app-navigation-entry.active[data-v-24094dee]{background-color:var(--color-primary-element)!important}.app-navigation-entry.active .app-navigation-entry-link[data-v-24094dee],.app-navigation-entry.active .app-navigation-entry-button[data-v-24094dee]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-24094dee]:focus-within,.app-navigation-entry[data-v-24094dee]:hover{background-color:var(--color-background-hover)}.app-navigation-entry.active .app-navigation-entry__children[data-v-24094dee],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-24094dee],.app-navigation-entry:hover .app-navigation-entry__children[data-v-24094dee]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee]{display:inline-block}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-24094dee]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-24094dee],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-24094dee]{padding-right:14px}.app-navigation-entry .app-navigation-entry-link[data-v-24094dee],.app-navigation-entry .app-navigation-entry-button[data-v-24094dee]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;box-sizing:border-box;min-height:44px;padding:0;white-space:nowrap;color:var(--color-main-text);background-repeat:no-repeat;background-position:14px center;background-size:16px 16px;line-height:44px}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-24094dee],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-24094dee]{display:flex;align-items:center;flex:0 0 44px;justify-content:center;width:44px;height:44px;background-size:16px 16px;background-repeat:no-repeat;background-position:14px center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-24094dee],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-24094dee]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-24094dee],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-24094dee]{width:calc(100% - 44px);margin:auto}.app-navigation-entry__children[data-v-24094dee]{position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px)}.app-navigation-entry__children .app-navigation-entry[data-v-24094dee]{display:inline-flex;flex-wrap:wrap;padding-left:16px}.app-navigation-entry__deleted[data-v-24094dee]{display:inline-flex;flex:1 1 0;padding-left:30px!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-24094dee]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:44px}.app-navigation-entry__utils[data-v-24094dee]{display:flex;min-width:44px;align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-24094dee]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-24094dee]{margin-right:calc(var(--default-grid-baseline) * 3);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-24094dee]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-24094dee]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-24094dee]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-24094dee]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-24094dee]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-24094dee]:active{background-color:var(--color-primary-element-light-hover)!important}.material-design-icon[data-v-dcf0becf]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-input-confirm[data-v-dcf0becf]{flex:1 0 100%;width:100%}.app-navigation-input-confirm form[data-v-dcf0becf]{display:flex}.app-navigation-input-confirm__input[data-v-dcf0becf]{height:34px;flex:1 1 100%;font-size:100%!important;margin:5px 5px 5px -8px!important;padding:7px!important}.app-navigation-input-confirm__input[data-v-dcf0becf]:active,.app-navigation-input-confirm__input[data-v-dcf0becf]:focus,.app-navigation-input-confirm__input[data-v-dcf0becf]:hover{outline:none;background-color:var(--color-main-background);color:var(--color-main-text);border-color:var(--color-primary-element)}.material-design-icon[data-v-c47dc611]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-new[data-v-c47dc611]{display:block;padding:calc(var(--default-grid-baseline, 4px) * 2)}.app-navigation-new button[data-v-c47dc611]{width:100%}.material-design-icon[data-v-8950be04]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-8950be04]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%;min-height:44px;transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-pill)}.app-navigation-entry-wrapper[data-v-8950be04]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-8950be04]{display:none}.app-navigation-entry.active[data-v-8950be04]{background-color:var(--color-primary-element)!important}.app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],.app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-8950be04]:focus-within,.app-navigation-entry[data-v-8950be04]:hover{background-color:var(--color-background-hover)}.app-navigation-entry.active .app-navigation-entry__children[data-v-8950be04],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-8950be04],.app-navigation-entry:hover .app-navigation-entry__children[data-v-8950be04]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04]{display:inline-block}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-8950be04]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04]{padding-right:14px}.app-navigation-entry .app-navigation-entry-link[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button[data-v-8950be04]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;box-sizing:border-box;min-height:44px;padding:0;white-space:nowrap;color:var(--color-main-text);background-repeat:no-repeat;background-position:14px center;background-size:16px 16px;line-height:44px}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04]{display:flex;align-items:center;flex:0 0 44px;justify-content:center;width:44px;height:44px;background-size:16px 16px;background-repeat:no-repeat;background-position:14px center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04]{width:calc(100% - 44px);margin:auto}.app-navigation-entry__children[data-v-8950be04]{position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px)}.app-navigation-entry__children .app-navigation-entry[data-v-8950be04]{display:inline-flex;flex-wrap:wrap;padding-left:16px}.app-navigation-entry__deleted[data-v-8950be04]{display:inline-flex;flex:1 1 0;padding-left:30px!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-8950be04]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:44px}.app-navigation-entry__utils[data-v-8950be04]{display:flex;min-width:44px;align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-8950be04]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-8950be04]{margin-right:calc(var(--default-grid-baseline) * 3);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-8950be04]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-8950be04]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-8950be04]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-8950be04]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-8950be04]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-8950be04]:active{background-color:var(--color-primary-element-light-hover)!important}.app-navigation-new-item__name[data-v-8950be04]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis;padding-left:7px;font-size:14px}.newItemContainer[data-v-8950be04]{width:calc(100% - 44px);margin:auto}.material-design-icon[data-v-db4cc195]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}#app-settings[data-v-db4cc195]{margin-top:auto;padding:3px}#app-settings__header[data-v-db4cc195]{box-sizing:border-box;margin:0 3px 3px}#app-settings__header .settings-button[data-v-db4cc195]{display:flex;flex:1 1 0;height:44px;width:100%;padding:0 14px 0 0;margin:0;background-color:var(--color-main-background);box-shadow:none;border:0;border-radius:var(--border-radius-pill);text-align:left;font-weight:400;font-size:100%;color:var(--color-main-text);line-height:44px}#app-settings__header .settings-button[data-v-db4cc195]:hover,#app-settings__header .settings-button[data-v-db4cc195]:focus{background-color:var(--color-background-hover)}#app-settings__header .settings-button__icon[data-v-db4cc195]{width:44px;height:44px;min-width:44px}#app-settings__header .settings-button__label[data-v-db4cc195]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}#app-settings__content[data-v-db4cc195]{display:block;padding:10px;margin-bottom:-3px;max-height:300px;overflow-y:auto;box-sizing:border-box}.slide-up-leave-active[data-v-db4cc195],.slide-up-enter-active[data-v-db4cc195]{transition-duration:var(--animation-slow);transition-property:max-height,padding;overflow-y:hidden!important}.slide-up-enter[data-v-db4cc195],.slide-up-leave-to[data-v-db4cc195]{max-height:0!important;padding:0 10px!important}.app-navigation-spacer[data-v-c8233ec5]{flex-shrink:0;order:1;height:22px}.material-design-icon[data-v-c75148a7]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-settings[data-v-c75148a7] .dialog{min-height:256px}.app-settings__navigation[data-v-c75148a7]{min-width:200px;margin-right:20px;overflow-x:hidden;overflow-y:auto;position:relative;height:100%}.app-settings__content[data-v-c75148a7]{max-width:100vw;overflow-y:auto;overflow-x:hidden;padding:24px;width:100%;min-height:256px}.navigation-list[data-v-c75148a7]{height:100%;box-sizing:border-box;overflow-y:auto;padding:12px}.navigation-list--collapsed[data-v-c75148a7]{display:flex;flex-direction:row;gap:6px}.navigation-list__link[data-v-c75148a7]{display:flex;align-content:center;font-size:16px;height:44px;margin:4px 0;line-height:44px;border-radius:var(--border-radius-pill);font-weight:700;padding:0 20px;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background-color:transparent;border:none}.navigation-list__link[data-v-c75148a7]:hover,.navigation-list__link[data-v-c75148a7]:focus{background-color:var(--color-background-hover)}.navigation-list__link--active[data-v-c75148a7]{background-color:var(--color-primary-element-light)!important}.navigation-list__link--icon[data-v-c75148a7]{padding-inline-start:8px;gap:4px}.navigation-list__link-icon[data-v-c75148a7]{display:flex;justify-content:center;align-content:center;width:36px;max-width:36px}@media only screen and (max-width: 512px){.dialog__modal .modal-wrapper--small .modal-container{width:fit-content;height:unset;max-height:90%;position:relative;top:unset;border-radius:var(--border-radius-large)}}.material-design-icon[data-v-cf1c45bf]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.dialog[data-v-cf1c45bf]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.dialog__modal[data-v-cf1c45bf] .modal-container{display:flex!important;padding-block:4px 8px;padding-inline:12px 8px}.dialog__modal[data-v-cf1c45bf] .modal-container__content{display:flex;flex-direction:column}.dialog__wrapper[data-v-cf1c45bf]{display:flex;flex-direction:row;flex:1;min-height:0;overflow:hidden;padding-inline-end:4px}.dialog__wrapper--collapsed[data-v-cf1c45bf]{flex-direction:column}.dialog__navigation[data-v-cf1c45bf]{display:flex;flex-shrink:0}.dialog__wrapper:not(.dialog__wrapper--collapsed) .dialog__navigation[data-v-cf1c45bf]{flex-direction:column;overflow:hidden auto;height:100%;min-width:200px;margin-inline-end:20px}.dialog__wrapper.dialog__wrapper--collapsed .dialog__navigation[data-v-cf1c45bf]{flex-direction:row;justify-content:space-between;overflow:auto hidden;width:100%;min-width:100%}.dialog__name[data-v-cf1c45bf]{text-align:center;height:var(--default-clickable-area);min-height:var(--default-clickable-area);line-height:var(--default-clickable-area);margin-block-end:12px}.dialog__content[data-v-cf1c45bf]{flex:1;min-height:0;overflow:auto}.dialog__actions[data-v-cf1c45bf]{display:flex;gap:6px;align-content:center;width:fit-content;margin-inline:auto 4px;margin-block:6px 4px}.material-design-icon[data-v-5162e6df]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-settings-section[data-v-5162e6df]{margin-bottom:80px}.app-settings-section__name[data-v-5162e6df]{font-size:20px;margin:0;padding:20px 0;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.material-design-icon[data-v-2ae00fba]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-sidebar-tabs[data-v-2ae00fba]{display:flex;flex-direction:column;min-height:0;flex:1 1 100%}.app-sidebar-tabs__nav[data-v-2ae00fba]{display:flex;justify-content:stretch;margin:10px 8px 0;border-bottom:1px solid var(--color-border)}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant{border:unset!important;border-radius:0!important}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant .checkbox-content{padding:var(--default-grid-baseline);border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0!important;margin:0!important;border-bottom:var(--default-grid-baseline) solid transparent!important}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant .checkbox-content .checkbox-content__icon--checked>*{color:var(--color-main-text)!important}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content{background:transparent!important;color:var(--color-main-text)!important;border-bottom:var(--default-grid-baseline) solid var(--color-primary-element)!important}.app-sidebar-tabs__tab[data-v-2ae00fba]{flex:1 1}.app-sidebar-tabs__tab.active[data-v-2ae00fba]{color:var(--color-primary-element)}.app-sidebar-tabs__tab-caption[data-v-2ae00fba]{flex:0 1 100%;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.app-sidebar-tabs__tab-icon[data-v-2ae00fba]{display:flex;align-items:center;justify-content:center;background-size:20px}.app-sidebar-tabs__tab[data-v-2ae00fba] .checkbox-radio-switch__content{max-width:unset}.app-sidebar-tabs__content[data-v-2ae00fba]{position:relative;min-height:256px;height:100%}.app-sidebar-tabs__content--multiple[data-v-2ae00fba]>:not(section){display:none}.material-design-icon[data-v-90858b97]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-sidebar[data-v-90858b97]{z-index:1500;top:0;right:0;display:flex;overflow-x:hidden;overflow-y:auto;flex-direction:column;flex-shrink:0;width:27vw;min-width:300px;max-width:500px;height:100%;border-left:1px solid var(--color-border);background:var(--color-main-background)}.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]{position:absolute;z-index:100;top:6px;right:6px;width:44px;height:44px;opacity:.7;border-radius:22px}.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]:hover,.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]:active,.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]:focus{opacity:1;background-color:#7f7f7f40}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info[data-v-90858b97]{flex-direction:row}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__figure[data-v-90858b97]{z-index:2;width:70px;height:70px;margin:9px;border-radius:3px;flex:0 0 auto}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc[data-v-90858b97]{padding-left:0;flex:1 1 auto;min-width:0;padding-right:94px;padding-top:10px}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc.app-sidebar-header__desc--without-actions[data-v-90858b97]{padding-right:50px}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc .app-sidebar-header__tertiary-actions[data-v-90858b97]{z-index:3;position:absolute;top:9px;left:-44px;gap:0}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc .app-sidebar-header__menu[data-v-90858b97]{top:6px;right:50px;background-color:transparent;position:absolute}.app-sidebar .app-sidebar-header:not(.app-sidebar-header--with-figure) .app-sidebar-header__menu[data-v-90858b97]{position:absolute;top:6px;right:50px}.app-sidebar .app-sidebar-header:not(.app-sidebar-header--with-figure) .app-sidebar-header__desc[data-v-90858b97]{padding-right:94px}.app-sidebar .app-sidebar-header:not(.app-sidebar-header--with-figure) .app-sidebar-header__desc.app-sidebar-header__desc--without-actions[data-v-90858b97]{padding-right:50px}.app-sidebar .app-sidebar-header .app-sidebar-header__info[data-v-90858b97]{display:flex;flex-direction:column}.app-sidebar .app-sidebar-header__figure[data-v-90858b97]{width:100%;height:250px;max-height:250px;background-repeat:no-repeat;background-position:center;background-size:contain}.app-sidebar .app-sidebar-header__figure--with-action[data-v-90858b97]{cursor:pointer}.app-sidebar .app-sidebar-header__desc[data-v-90858b97]{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:18px 6px 18px 9px;gap:0 4px}.app-sidebar .app-sidebar-header__desc--with-tertiary-action[data-v-90858b97]{padding-left:6px}.app-sidebar .app-sidebar-header__desc--editable .app-sidebar-header__mainname-form[data-v-90858b97],.app-sidebar .app-sidebar-header__desc--with-subname--editable .app-sidebar-header__mainname-form[data-v-90858b97]{margin-top:-2px;margin-bottom:-2px}.app-sidebar .app-sidebar-header__desc--with-subname--editable .app-sidebar-header__subname[data-v-90858b97]{margin-top:-2px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__tertiary-actions[data-v-90858b97]{display:flex;height:44px;width:44px;justify-content:center;flex:0 0 auto}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__tertiary-actions .app-sidebar-header__star[data-v-90858b97]{box-shadow:none}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__tertiary-actions .app-sidebar-header__star[data-v-90858b97]:not([aria-pressed=true]):hover{box-shadow:none;background-color:var(--color-background-hover)}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container[data-v-90858b97]{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;min-width:0}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container[data-v-90858b97]{display:flex;align-items:center;min-height:44px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname[data-v-90858b97]{padding:0;min-height:30px;font-size:20px;line-height:30px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname[data-v-90858b97] .linkified{cursor:pointer;text-decoration:underline;margin:0}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname-form[data-v-90858b97]{display:flex;flex:1 1 auto;align-items:center}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname-form input.app-sidebar-header__mainname-input[data-v-90858b97]{flex:1 1 auto;margin:0;padding:7px;font-size:20px;font-weight:700}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__menu[data-v-90858b97]{height:44px;width:44px;border-radius:22px;background-color:#7f7f7f40;margin-left:5px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname[data-v-90858b97],.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__subname[data-v-90858b97]{overflow:hidden;width:100%;margin:0;white-space:nowrap;text-overflow:ellipsis}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__subname[data-v-90858b97]{padding:0;opacity:.7;font-size:var(--default-font-size)}.app-sidebar .app-sidebar-header__description[data-v-90858b97]{display:flex;align-items:center;margin:0 10px}@media only screen and (max-width: 768px){.app-sidebar[data-v-90858b97]{width:100vw;max-width:100vw}}.slide-right-leave-active[data-v-90858b97],.slide-right-enter-active[data-v-90858b97]{transition-duration:var(--animation-quick);transition-property:max-width,min-width}.slide-right-enter-to[data-v-90858b97],.slide-right-leave[data-v-90858b97]{min-width:300px;max-width:500px}.slide-right-enter[data-v-90858b97],.slide-right-leave-to[data-v-90858b97]{min-width:0!important;max-width:0!important}.app-sidebar-header__description button,.app-sidebar-header__description .button,.app-sidebar-header__description input[type=button],.app-sidebar-header__description input[type=submit],.app-sidebar-header__description input[type=reset]{padding:6px 22px}.material-design-icon[data-v-95b458cc]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-sidebar__tab[data-v-95b458cc]{display:none;padding:10px;min-height:100%;max-height:100%;height:100%;overflow:auto}.app-sidebar__tab[data-v-95b458cc]:focus{border-color:var(--color-primary-element);box-shadow:0 0 .2em var(--color-primary-element);outline:0}.app-sidebar__tab--active[data-v-95b458cc]{display:block}.material-design-icon[data-v-2e235682]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.vue-crumb[data-v-2e235682]{background-image:none;display:inline-flex;height:44px;padding:0}.vue-crumb[data-v-2e235682]:last-child{max-width:210px;font-weight:700}.vue-crumb:last-child .vue-crumb__separator[data-v-2e235682]{display:none}.vue-crumb>a[data-v-2e235682]:hover,.vue-crumb>a[data-v-2e235682]:focus{background-color:var(--color-background-dark);color:var(--color-main-text)}.vue-crumb--hidden[data-v-2e235682]{display:none}.vue-crumb.vue-crumb--hovered>a[data-v-2e235682]{background-color:var(--color-background-dark);color:var(--color-main-text)}.vue-crumb__separator[data-v-2e235682]{padding:0;color:var(--color-text-maxcontrast)}.vue-crumb>a[data-v-2e235682]{overflow:hidden;color:var(--color-text-maxcontrast);padding:12px;min-width:44px;max-width:100%;border-radius:var(--border-radius-pill);align-items:center;display:inline-flex;justify-content:center}.vue-crumb>a>span[data-v-2e235682]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item{max-width:100%}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item .button-vue{padding:0 4px 0 16px}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item .button-vue__wrapper{flex-direction:row-reverse}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item.action-item--open .action-item__menutoggle{background-color:var(--color-background-dark);color:var(--color-main-text)}.material-design-icon[data-v-acf0dd35]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.breadcrumb[data-v-acf0dd35]{width:100%;flex-grow:1;display:inline-flex;align-items:center}.breadcrumb--collapsed[data-v-acf0dd35] .vue-crumb:last-child{min-width:100px;flex-shrink:1}.breadcrumb nav[data-v-acf0dd35]{flex-shrink:1;min-width:0}.breadcrumb .breadcrumb__crumbs[data-v-acf0dd35]{max-width:100%}.breadcrumb .breadcrumb__crumbs[data-v-acf0dd35],.breadcrumb .breadcrumb__actions[data-v-acf0dd35]{display:inline-flex}.material-design-icon[data-v-74267401]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.color-picker[data-v-74267401]{display:flex;overflow:hidden;align-content:flex-end;flex-direction:column;justify-content:space-between;box-sizing:content-box!important;width:176px;padding:8px;border-radius:3px}.color-picker--advanced-fields[data-v-74267401]{width:264px}.color-picker__simple[data-v-74267401]{display:grid;grid-template-columns:repeat(auto-fit,44px);grid-auto-rows:44px}.color-picker__simple-color-circle[data-v-74267401]{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;margin:auto;padding:0;color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:50%;font-size:16px}.color-picker__simple-color-circle[data-v-74267401]:focus-within{outline:2px solid var(--color-main-text)}.color-picker__simple-color-circle[data-v-74267401]:hover{opacity:.6}.color-picker__simple-color-circle--active[data-v-74267401]{width:38px;height:38px;min-height:38px;transition:all .1s ease-in-out;opacity:1!important}.color-picker__advanced[data-v-74267401]{box-shadow:none!important}.color-picker__navigation[data-v-74267401]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}[data-v-74267401] .vc-chrome{width:unset;background-color:var(--color-main-background)}[data-v-74267401] .vc-chrome-color-wrap{width:30px;height:30px}[data-v-74267401] .vc-chrome-active-color{width:34px;height:34px;border-radius:17px}[data-v-74267401] .vc-chrome-body{padding:14px 0 0;background-color:var(--color-main-background)}[data-v-74267401] .vc-chrome-body .vc-input__input{box-shadow:none}[data-v-74267401] .vc-chrome-toggle-btn{filter:var(--background-invert-if-dark)}[data-v-74267401] .vc-chrome-saturation-wrap{border-radius:3px}[data-v-74267401] .vc-chrome-saturation-circle{width:20px;height:20px}.slide-enter[data-v-74267401]{transform:translate(-50%);opacity:0}.slide-enter-to[data-v-74267401],.slide-leave[data-v-74267401]{transform:translate(0);opacity:1}.slide-leave-to[data-v-74267401]{transform:translate(-50%);opacity:0}.slide-enter-active[data-v-74267401],.slide-leave-active[data-v-74267401]{transition:all 50ms ease-in-out}.material-design-icon[data-v-b318b0e4]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.counter-bubble__counter[data-v-b318b0e4]{font-size:calc(var(--default-font-size) * .8);overflow:hidden;width:fit-content;max-width:44px;text-align:center;text-overflow:ellipsis;line-height:1em;padding:4px 6px;border-radius:var(--border-radius-pill);background-color:var(--color-primary-element-light);font-weight:700;color:var(--color-primary-element-light-text)}.counter-bubble__counter .active[data-v-b318b0e4]{color:var(--color-main-background);background-color:var(--color-primary-element-light)}.counter-bubble__counter--highlighted[data-v-b318b0e4]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.counter-bubble__counter--highlighted.active[data-v-b318b0e4]{color:var(--color-primary-element);background-color:var(--color-main-background)}.counter-bubble__counter--outlined[data-v-b318b0e4]{color:var(--color-primary-element);background:transparent;box-shadow:inset 0 0 0 2px}.counter-bubble__counter--outlined.active[data-v-b318b0e4]{color:var(--color-main-background);box-shadow:inset 0 0 0 2px}.material-design-icon[data-v-1efcbeee]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.dashboard-widget[data-v-1efcbeee] .empty-content{text-align:center;padding-top:5vh}.dashboard-widget[data-v-1efcbeee] .empty-content.half-screen{padding-top:0;margin-bottom:1vh}.more[data-v-1efcbeee]{display:block;text-align:center;color:var(--color-text-maxcontrast);line-height:60px;cursor:pointer}.more[data-v-1efcbeee]:hover,.more[data-v-1efcbeee]:focus{background-color:var(--color-background-hover);border-radius:var(--border-radius-large);color:var(--color-main-text)}.item-list__entry[data-v-1efcbeee]{display:flex;align-items:flex-start;padding:8px}.item-list__entry .item-avatar[data-v-1efcbeee]{position:relative;margin-top:auto;margin-bottom:auto;background-color:var(--color-background-dark)!important}.item-list__entry .item__details[data-v-1efcbeee]{padding-left:8px;max-height:44px;flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.item-list__entry .item__details h3[data-v-1efcbeee],.item-list__entry .item__details .message[data-v-1efcbeee]{white-space:nowrap;background-color:var(--color-background-dark)}.item-list__entry .item__details h3[data-v-1efcbeee]{font-size:100%;margin:0}.item-list__entry .item__details .message[data-v-1efcbeee]{width:80%;height:15px;margin-top:5px}.material-design-icon[data-v-00e861ef]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.item-list__entry[data-v-00e861ef]{display:flex;align-items:flex-start;position:relative;padding:8px}.item-list__entry[data-v-00e861ef]:hover,.item-list__entry[data-v-00e861ef]:focus{background-color:var(--color-background-hover);border-radius:var(--border-radius-large)}.item-list__entry .item-avatar[data-v-00e861ef]{position:relative;margin-top:auto;margin-bottom:auto}.item-list__entry .item__details[data-v-00e861ef]{padding-left:8px;max-height:44px;flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.item-list__entry .item__details h3[data-v-00e861ef],.item-list__entry .item__details .message[data-v-00e861ef]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-list__entry .item__details .message span[data-v-00e861ef]{width:10px;display:inline-block;margin-bottom:-3px}.item-list__entry .item__details h3[data-v-00e861ef]{font-size:100%;margin:0}.item-list__entry .item__details .message[data-v-00e861ef]{width:100%;color:var(--color-text-maxcontrast)}.item-list__entry .item-icon[data-v-00e861ef]{position:relative;width:14px;height:14px;margin:27px -3px 0 -7px}.item-list__entry button.primary[data-v-00e861ef]{padding:21px;margin:0}.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:flex;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji",EmojiOne Color,"Android Emoji";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@15.0.1/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@15.0.1/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@15.0.1/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@15.0.1/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;border:none;background:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:0}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{opacity:1}.emoji-mart-category-label{position:-webkit-sticky;position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:flex}.emoji-mart .vue-recycle-scroller__slot{flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}.emoji-mart{background-color:var(--color-main-background)!important;border:0;color:var(--color-main-text)!important}.emoji-mart button{margin:0;padding:0;border:none;background:transparent;font-size:inherit;height:36px;width:auto}.emoji-mart button *{cursor:pointer!important}.emoji-mart .emoji-mart-bar,.emoji-mart .emoji-mart-anchors,.emoji-mart .emoji-mart-search,.emoji-mart .emoji-mart-search input,.emoji-mart .emoji-mart-category,.emoji-mart .emoji-mart-category-label,.emoji-mart .emoji-mart-category-label span,.emoji-mart .emoji-mart-skin-swatches{background-color:transparent!important;border-color:var(--color-border)!important;color:inherit!important}.emoji-mart .emoji-mart-search input:focus-visible{box-shadow:inset 0 0 0 2px var(--color-primary-element);outline:none}.emoji-mart .emoji-mart-bar:first-child{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.emoji-mart .emoji-mart-anchors button{border-radius:0;padding:12px 4px;height:auto}.emoji-mart .emoji-mart-anchors button:focus-visible{outline:2px solid var(--color-primary-element)}.emoji-mart .emoji-mart-category{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:start}.emoji-mart .emoji-mart-category .emoji-mart-category-label,.emoji-mart .emoji-mart-category .emoji-mart-emoji{-webkit-user-select:none;user-select:none;flex-grow:0;flex-shrink:0}.emoji-mart .emoji-mart-category .emoji-mart-category-label{flex-basis:100%;margin:0}.emoji-mart .emoji-mart-category .emoji-mart-emoji{flex-basis:12.5%;text-align:center}.emoji-mart .emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart .emoji-mart-category .emoji-mart-emoji.emoji-mart-emoji-selected:before{background-color:var(--color-background-hover)!important;outline:2px solid var(--color-primary-element)}.emoji-mart .emoji-mart-category button:focus-visible{background-color:var(--color-background-hover);border:2px solid var(--color-primary-element)!important;border-radius:50%}.search{padding:4px 8px}.row-selected span[data-v-4d56e499],.row-selected button[data-v-4d56e499]{vertical-align:middle}.emoji-delete[data-v-4d56e499]{vertical-align:top;margin-left:-21px;margin-top:-3px}.material-design-icon[data-v-36ad47ca]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}#guest-content-vue[data-v-36ad47ca]{color:var(--color-main-text);background-color:var(--color-main-background);min-width:0;border-radius:var(--border-radius-large);box-shadow:0 0 10px var(--color-box-shadow);height:fit-content;padding:15px;margin:20px auto}#content.nc-guest-content{overflow:auto;margin-bottom:0;height:calc(var(--body-height) + var(--body-container-margin))}.material-design-icon[data-v-d93df21d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.header-menu[data-v-d93df21d]{position:relative;width:var(--header-height);height:var(--header-height)}.header-menu__trigger[data-v-d93df21d]{display:flex;align-items:center;justify-content:center;width:var(--header-height);height:var(--header-height);margin:0;padding:0;cursor:pointer;opacity:.85;background-color:transparent;border:none;filter:none!important;color:var(--color-primary-text)!important}.header-menu--opened .header-menu__trigger[data-v-d93df21d],.header-menu__trigger[data-v-d93df21d]:hover,.header-menu__trigger[data-v-d93df21d]:focus,.header-menu__trigger[data-v-d93df21d]:active{opacity:1}.header-menu__trigger[data-v-d93df21d]:focus-visible{outline:none}.header-menu__wrapper[data-v-d93df21d]{position:fixed;z-index:2000;top:50px;right:0;box-sizing:border-box;margin:0 8px;padding:8px;border-radius:0 0 var(--border-radius) var(--border-radius);border-radius:var(--border-radius-large);background-color:var(--color-main-background);filter:drop-shadow(0 1px 5px var(--color-box-shadow))}.header-menu__carret[data-v-d93df21d]{position:absolute;z-index:2001;bottom:0;left:calc(50% - 10px);width:0;height:0;content:" ";pointer-events:none;border:10px solid transparent;border-bottom-color:var(--color-main-background)}.header-menu__content[data-v-d93df21d]{overflow:auto;width:350px;max-width:calc(100vw - 16px);min-height:66px;max-height:calc(100vh - 100px)}.header-menu__content[data-v-d93df21d] .empty-content{margin:12vh 10px}@media only screen and (max-width: 512px){.header-menu[data-v-d93df21d],.header-menu__trigger[data-v-d93df21d]{width:44px}}.material-design-icon[data-v-4d352b50]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.list-item__wrapper[data-v-4d352b50]{position:relative;width:100%}.list-item__wrapper--active .list-item[data-v-4d352b50],.list-item__wrapper:active .list-item[data-v-4d352b50],.list-item__wrapper.active .list-item[data-v-4d352b50]{background-color:var(--color-primary-element)}.list-item__wrapper--active .list-item[data-v-4d352b50]:active,.list-item__wrapper--active .list-item[data-v-4d352b50]:hover,.list-item__wrapper--active .list-item[data-v-4d352b50]:focus,.list-item__wrapper--active .list-item[data-v-4d352b50]:focus-visible,.list-item__wrapper:active .list-item[data-v-4d352b50]:active,.list-item__wrapper:active .list-item[data-v-4d352b50]:hover,.list-item__wrapper:active .list-item[data-v-4d352b50]:focus,.list-item__wrapper:active .list-item[data-v-4d352b50]:focus-visible,.list-item__wrapper.active .list-item[data-v-4d352b50]:active,.list-item__wrapper.active .list-item[data-v-4d352b50]:hover,.list-item__wrapper.active .list-item[data-v-4d352b50]:focus,.list-item__wrapper.active .list-item[data-v-4d352b50]:focus-visible{background-color:var(--color-primary-element-hover)}.list-item__wrapper--active .line-one__name[data-v-4d352b50],.list-item__wrapper--active .line-one__details[data-v-4d352b50],.list-item__wrapper:active .line-one__name[data-v-4d352b50],.list-item__wrapper:active .line-one__details[data-v-4d352b50],.list-item__wrapper.active .line-one__name[data-v-4d352b50],.list-item__wrapper.active .line-one__details[data-v-4d352b50],.list-item__wrapper--active .line-two__subname[data-v-4d352b50],.list-item__wrapper:active .line-two__subname[data-v-4d352b50],.list-item__wrapper.active .line-two__subname[data-v-4d352b50]{color:var(--color-primary-element-text)!important}.list-item[data-v-4d352b50]{display:block;position:relative;flex:0 0 auto;justify-content:flex-start;padding:8px 10px;border-radius:32px;margin:2px 0;width:100%;cursor:pointer;transition:background-color var(--animation-quick) ease-in-out;list-style:none}.list-item[data-v-4d352b50]:active,.list-item[data-v-4d352b50]:hover,.list-item[data-v-4d352b50]:focus,.list-item[data-v-4d352b50]:focus-visible{background-color:var(--color-background-hover)}.list-item-content__wrapper[data-v-4d352b50]{display:flex;align-items:center;height:48px}.list-item-content__wrapper--compact[data-v-4d352b50]{height:36px}.list-item-content__wrapper--compact .line-one[data-v-4d352b50],.list-item-content__wrapper--compact .line-two[data-v-4d352b50]{margin-top:-4px;margin-bottom:-4px}.list-item-content[data-v-4d352b50]{display:flex;flex:1 1 auto;justify-content:space-between;padding-left:8px}.list-item-content__main[data-v-4d352b50]{flex:1 1 auto;width:0;margin:auto 0}.list-item-content__main--oneline[data-v-4d352b50]{display:flex}.list-item-content__actions[data-v-4d352b50]{flex:0 0 auto;align-self:center;justify-content:center;margin-left:4px}.list-item__extra[data-v-4d352b50]{margin-top:4px}.line-one[data-v-4d352b50]{display:flex;align-items:center;justify-content:space-between;white-space:nowrap;margin:0 auto 0 0;overflow:hidden}.line-one__name[data-v-4d352b50]{overflow:hidden;flex-grow:1;cursor:pointer;text-overflow:ellipsis;color:var(--color-main-text);font-weight:700}.line-one__details[data-v-4d352b50]{color:var(--color-text-maxcontrast);margin:0 8px;font-weight:400}.line-two[data-v-4d352b50]{display:flex;align-items:flex-start;justify-content:space-between;white-space:nowrap}.line-two--bold[data-v-4d352b50]{font-weight:700}.line-two__subname[data-v-4d352b50]{overflow:hidden;flex-grow:1;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;color:var(--color-text-maxcontrast)}.line-two__additional_elements[data-v-4d352b50]{margin:2px 4px 0;display:flex;align-items:center}.line-two__indicator[data-v-4d352b50]{margin:0 5px}.material-design-icon[data-v-3a409988]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-3a409988]{color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:4px solid var(--note-theme);border-radius:var(--border-radius);margin:1rem 0;padding:1rem;display:flex;flex-direction:row;gap:1rem}.notecard__icon--heading[data-v-3a409988]{margin-bottom:auto;margin-top:.3rem}.notecard--success[data-v-3a409988]{--note-background: rgba(var(--color-success-rgb), .1);--note-theme: var(--color-success)}.notecard--info[data-v-3a409988]{--note-background: rgba(var(--color-info-rgb), .1);--note-theme: var(--color-info)}.notecard--error[data-v-3a409988]{--note-background: rgba(var(--color-error-rgb), .1);--note-theme: var(--color-error)}.notecard--warning[data-v-3a409988]{--note-background: rgba(var(--color-warning-rgb), .1);--note-theme: var(--color-warning)}.material-design-icon[data-v-b171a315]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.progress-bar[data-v-b171a315]{display:block;height:var(--progress-bar-height);width:100%;overflow:hidden;border:0;padding:0;background:var(--color-background-dark);border-radius:calc(var(--progress-bar-height) / 2)}.progress-bar[data-v-b171a315]::-webkit-progress-bar{height:var(--progress-bar-height);background-color:transparent}.progress-bar[data-v-b171a315]::-webkit-progress-value{background:var(--gradient-primary-background);border-radius:calc(var(--progress-bar-height) / 2)}.progress-bar[data-v-b171a315]::-moz-progress-bar{background:var(--gradient-primary-background);border-radius:calc(var(--progress-bar-height) / 2)}.progress-bar--error[data-v-b171a315]::-moz-progress-bar{background:var(--color-error)!important}.progress-bar--error[data-v-b171a315]::-webkit-progress-value{background:var(--color-error)!important}.material-design-icon[data-v-1a960bef]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.resource[data-v-1a960bef]{display:flex;align-items:center;height:44px}.resource__button[data-v-1a960bef]{width:100%!important;justify-content:flex-start!important;padding:0!important}.resource__button[data-v-1a960bef] .button-vue__wrapper{justify-content:flex-start!important}.resource__button[data-v-1a960bef] .button-vue__wrapper .button-vue__text{font-weight:400!important;margin-left:2px!important}.resource__icon[data-v-1a960bef]{width:32px;height:32px;background-color:var(--color-text-maxcontrast);border-radius:50%;display:flex;align-items:center;justify-content:center}.resource__icon img[data-v-1a960bef]{width:16px;height:16px;filter:var(--background-invert-if-dark)}.material-design-icon[data-v-19300848]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.related-resources__header[data-v-19300848]{margin:0 0 10px 46px}.related-resources__header h5[data-v-19300848]{font-weight:700}.related-resources__header p[data-v-19300848]{color:var(--color-text-maxcontrast)}.material-design-icon[data-v-25cf09d8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.autocomplete-result[data-v-25cf09d8]{display:flex;height:44px;padding:10px}.highlight .autocomplete-result[data-v-25cf09d8]{color:var(--color-primary-element-light-text);background:var(--color-primary-element-light)}.highlight .autocomplete-result[data-v-25cf09d8],.highlight .autocomplete-result *[data-v-25cf09d8]{cursor:pointer}.autocomplete-result__icon[data-v-25cf09d8]{position:relative;flex:0 0 44px;width:44px;min-width:44px;height:44px;border-radius:44px;background-color:var(--color-background-darker);background-repeat:no-repeat;background-position:center;background-size:24px}.autocomplete-result__icon--with-avatar[data-v-25cf09d8]{color:inherit;background-size:cover}.autocomplete-result__status[data-v-25cf09d8]{position:absolute;right:-4px;bottom:-4px;box-sizing:border-box;width:18px;height:18px;border:2px solid var(--color-main-background);border-radius:50%;background-color:var(--color-main-background);font-size:var(--default-font-size);line-height:15px;background-repeat:no-repeat;background-size:16px;background-position:center}.autocomplete-result__status--online[data-v-25cf09d8]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K)}.autocomplete-result__status--dnd[data-v-25cf09d8]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg==);background-color:#fff}.autocomplete-result__status--away[data-v-25cf09d8]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg==)}.autocomplete-result__status--icon[data-v-25cf09d8]{border:none;background-color:transparent}.autocomplete-result__content[data-v-25cf09d8]{display:flex;flex:1 1 100%;flex-direction:column;justify-content:center;min-width:0;padding-left:10px}.autocomplete-result__title[data-v-25cf09d8],.autocomplete-result__subline[data-v-25cf09d8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.autocomplete-result__subline[data-v-25cf09d8]{color:var(--color-text-maxcontrast)}.material-design-icon[data-v-9e395f41]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.rich-contenteditable__input[data-v-9e395f41]{overflow-y:auto;width:auto;margin:0;padding:8px;cursor:text;white-space:pre-wrap;word-break:break-word;color:var(--color-main-text);border:2px solid var(--color-border-dark);border-radius:var(--border-radius-large);outline:none;background-color:var(--color-main-background);font-family:var(--font-face);font-size:inherit;min-height:44px;max-height:242px}.rich-contenteditable__input--empty[data-v-9e395f41]:before{content:attr(aria-placeholder);color:var(--color-text-maxcontrast);position:absolute}.rich-contenteditable__input[contenteditable=false][data-v-9e395f41]:not(.rich-contenteditable__input--disabled){cursor:default;background-color:transparent;color:var(--color-main-text);border-color:transparent;opacity:1;border-radius:0}.rich-contenteditable__input--multiline[data-v-9e395f41]{min-height:132px;max-height:none}.rich-contenteditable__input--disabled[data-v-9e395f41]{opacity:.5;color:var(--color-text-maxcontrast);border:2px solid var(--color-background-darker);border-radius:var(--border-radius);background-color:var(--color-background-dark)}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.tribute-container,.tribute-container-emoji,.tribute-container-link{z-index:9000;overflow:auto;min-width:250px;max-width:300px;max-height:288px;margin:5px 0;color:var(--color-main-text);border-radius:var(--border-radius);background:var(--color-main-background);box-shadow:0 1px 5px var(--color-box-shadow)}.tribute-container-emoji,.tribute-container-link{min-width:200px;max-width:200px;padding:4px;max-height:192.5px!important}.tribute-container-emoji__item,.tribute-container-link__item{border-radius:8px;padding:4px 8px;margin-bottom:4px;opacity:.8;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tribute-container-emoji__item:last-child,.tribute-container-link__item:last-child{margin-bottom:0}.tribute-container-emoji__item__emoji,.tribute-container-link__item__emoji{padding-right:8px}.tribute-container-emoji .highlight,.tribute-container-link .highlight{opacity:1;color:var(--color-primary-element-light-text);background:var(--color-primary-element-light)}.tribute-container-emoji .highlight,.tribute-container-emoji .highlight *,.tribute-container-link .highlight,.tribute-container-link .highlight *{cursor:pointer}.tribute-container-link{min-width:200px;max-width:300px}.tribute-container-link__item{display:flex;align-items:center}.tribute-container-link__item__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tribute-container-link__item__icon{margin:auto 0;width:20px;height:20px;object-fit:contain;padding-right:8px;filter:var(--background-invert-if-dark)}.material-design-icon[data-v-5b140fb6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.input-wrapper[data-v-5b140fb6]{display:flex;align-items:center;flex-wrap:wrap;width:100%;max-width:400px}.input-wrapper .action-input__label[data-v-5b140fb6]{margin-right:12px}.input-wrapper[data-v-5b140fb6]:disabled{cursor:default}.input-wrapper .hint[data-v-5b140fb6]{color:var(--color-text-maxcontrast);margin-left:8px}.material-design-icon[data-v-08d15c14]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.select-group-error[data-v-08d15c14]{color:var(--color-error);font-size:13px;padding-inline-start:var(--border-radius-large)}.material-design-icon[data-v-55ab76f1]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-bubble__wrapper[data-v-55ab76f1]{display:inline-block;vertical-align:middle;min-width:0;max-width:100%}.user-bubble__content[data-v-55ab76f1]{display:inline-flex;max-width:100%;background-color:var(--color-background-dark)}.user-bubble__content--primary[data-v-55ab76f1]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.user-bubble__content[data-v-55ab76f1]>:last-child{padding-right:8px}.user-bubble__avatar[data-v-55ab76f1]{align-self:center}.user-bubble__name[data-v-55ab76f1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-bubble__name[data-v-55ab76f1],.user-bubble__secondary[data-v-55ab76f1]{padding:0 0 0 4px}/** + */li.active[data-v-b0b05af8]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-b0b05af8]{pointer-events:none;opacity:.5}.action--disabled[data-v-b0b05af8]:hover,.action--disabled[data-v-b0b05af8]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-b0b05af8]{opacity:1!important}.action-text-editable[data-v-b0b05af8]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:400;line-height:44px}.action-text-editable>span[data-v-b0b05af8]{cursor:pointer;white-space:nowrap}.action-text-editable__icon[data-v-b0b05af8]{min-width:0;min-height:0;padding:22px 0 22px 44px;background-position:14px center;background-size:16px}.action-text-editable[data-v-b0b05af8] .material-design-icon{width:44px;height:44px;opacity:1}.action-text-editable[data-v-b0b05af8] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-text-editable__form[data-v-b0b05af8]{display:flex;flex:1 1 auto;flex-direction:column;position:relative;margin:4px 0;padding-right:14px}.action-text-editable__submit[data-v-b0b05af8]{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.action-text-editable__label[data-v-b0b05af8]{display:flex;align-items:center;justify-content:center;position:absolute;right:15px;bottom:1px;width:36px;height:36px;box-sizing:border-box;margin:0;padding:7px 6px;border:0;border-radius:50%;background-color:var(--color-main-background);background-clip:padding-box}.action-text-editable__label[data-v-b0b05af8],.action-text-editable__label *[data-v-b0b05af8]{cursor:pointer}.action-text-editable__textarea[data-v-b0b05af8]{flex:1 1 auto;color:inherit;border-color:var(--color-border-maxcontrast);min-height:80px;max-height:124px;min-width:176px;width:100%!important;margin:0}.action-text-editable__textarea[data-v-b0b05af8]:disabled{cursor:default}.action-text-editable__textarea:not(:active):not(:hover):not(:focus):invalid+.action-text-editable__label[data-v-b0b05af8]{background-color:var(--color-error)}.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled)+.action-text-editable__label[data-v-b0b05af8]:active,.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled)+.action-text-editable__label[data-v-b0b05af8]:hover,.action-text-editable__textarea:not(:active):not(:hover):not(:focus):not(:disabled)+.action-text-editable__label[data-v-b0b05af8]:focus{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.action-text-editable__textarea:active:not(:disabled)+.action-text-editable__label[data-v-b0b05af8],.action-text-editable__textarea:hover:not(:disabled)+.action-text-editable__label[data-v-b0b05af8],.action-text-editable__textarea:focus:not(:disabled)+.action-text-editable__label[data-v-b0b05af8]{z-index:2;border-color:var(--color-primary-element);border-left-color:transparent}li:last-child>.action-text-editable[data-v-b0b05af8]{margin-bottom:10px}li:first-child>.action-text-editable[data-v-b0b05af8]{margin-top:10px}.app-navigation,.app-content{--app-navigation-padding: calc(var(--default-grid-baseline, 4px) * 2)}.material-design-icon[data-v-8c6d0d34]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation[data-v-8c6d0d34]{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));transition:transform var(--animation-quick),margin var(--animation-quick);width:300px;max-width:calc(100vw - (var(--app-navigation-padding) + var(--default-clickable-area) + var(--default-grid-baseline)));position:relative;top:0;left:0;padding:0;z-index:1800;height:100%;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-grow:0;flex-shrink:0;background-color:var(--color-main-background-blur, var(--color-main-background));-webkit-backdrop-filter:var(--filter-background-blur, none);backdrop-filter:var(--filter-background-blur, none)}.app-navigation--close[data-v-8c6d0d34]{transform:translate(-100%);position:absolute}.app-navigation__content>ul[data-v-8c6d0d34],.app-navigation__list[data-v-8c6d0d34]{position:relative;height:100%;width:100%;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.app-navigation__content[data-v-8c6d0d34]{height:100%;display:flex;flex-direction:column}[data-themes*=highcontrast] .app-navigation[data-v-8c6d0d34]{border-right:1px solid var(--color-border)}@media only screen and (max-width: 1024px){.app-navigation[data-v-8c6d0d34]:not(.app-navigation--close){position:absolute}}.material-design-icon[data-v-8cb91920]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}button.app-navigation-toggle[data-v-8cb91920]{position:absolute;top:var(--app-navigation-padding);right:calc(0px - var(--app-navigation-padding));margin-right:-44px;background-color:var(--color-main-background)}.material-design-icon[data-v-5d751802]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-caption[data-v-5d751802]{display:flex;justify-content:space-between}.app-navigation-caption__name[data-v-5d751802]{font-weight:700;color:var(--color-main-text);font-size:var(--default-font-size);line-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none!important;flex-shrink:0;padding:0 calc(var(--default-grid-baseline, 4px) * 2) 0 calc(var(--default-grid-baseline, 4px) * 3)}.app-navigation-caption__actions[data-v-5d751802]{flex:0 0 44px}.app-navigation-caption[data-v-5d751802]:not(:first-child){margin-top:22px}.material-design-icon[data-v-91580127]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry__icon-bullet[data-v-91580127]{display:block;padding:15px}.app-navigation-entry__icon-bullet div[data-v-91580127]{width:14px;height:14px;cursor:pointer;transition:background .1s ease-in-out;border:none;border-radius:50%}.material-design-icon[data-v-07582bf6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue.icon-collapse[data-v-07582bf6]{position:relative;z-index:105;color:var(--color-main-text);right:0}.button-vue.icon-collapse--open[data-v-07582bf6]{color:var(--color-main-text)}.button-vue.icon-collapse--open[data-v-07582bf6]:hover{color:var(--color-primary-element)}.material-design-icon[data-v-e7a7a3c0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-e7a7a3c0]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%;min-height:44px;transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-pill)}.app-navigation-entry-wrapper[data-v-e7a7a3c0]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-e7a7a3c0]{display:none}.app-navigation-entry.active[data-v-e7a7a3c0]{background-color:var(--color-primary-element)!important}.app-navigation-entry.active .app-navigation-entry-link[data-v-e7a7a3c0],.app-navigation-entry.active .app-navigation-entry-button[data-v-e7a7a3c0]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-e7a7a3c0]:focus-within,.app-navigation-entry[data-v-e7a7a3c0]:hover{background-color:var(--color-background-hover)}.app-navigation-entry.active .app-navigation-entry__children[data-v-e7a7a3c0],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-e7a7a3c0],.app-navigation-entry:hover .app-navigation-entry__children[data-v-e7a7a3c0]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e7a7a3c0],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e7a7a3c0],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e7a7a3c0],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e7a7a3c0],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e7a7a3c0]{display:inline-block}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-e7a7a3c0]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-e7a7a3c0],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-e7a7a3c0]{padding-right:14px}.app-navigation-entry .app-navigation-entry-link[data-v-e7a7a3c0],.app-navigation-entry .app-navigation-entry-button[data-v-e7a7a3c0]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;box-sizing:border-box;min-height:44px;padding:0;white-space:nowrap;color:var(--color-main-text);background-repeat:no-repeat;background-position:14px center;background-size:16px 16px;line-height:44px}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-e7a7a3c0],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-e7a7a3c0]{display:flex;align-items:center;flex:0 0 44px;justify-content:center;width:44px;height:44px;background-size:16px 16px;background-repeat:no-repeat;background-position:14px center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-e7a7a3c0],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-e7a7a3c0]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-e7a7a3c0],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-e7a7a3c0]{width:calc(100% - 44px);margin:auto}.app-navigation-entry__children[data-v-e7a7a3c0]{position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px)}.app-navigation-entry__children .app-navigation-entry[data-v-e7a7a3c0]{display:inline-flex;flex-wrap:wrap;padding-left:16px}.app-navigation-entry__deleted[data-v-e7a7a3c0]{display:inline-flex;flex:1 1 0;padding-left:30px!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-e7a7a3c0]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:44px}.app-navigation-entry__utils[data-v-e7a7a3c0]{display:flex;min-width:44px;align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-e7a7a3c0]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-e7a7a3c0]{margin-right:calc(var(--default-grid-baseline) * 3);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-e7a7a3c0]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-e7a7a3c0]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-e7a7a3c0]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-e7a7a3c0]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-e7a7a3c0]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-e7a7a3c0]:active{background-color:var(--color-primary-element-light-hover)!important}.material-design-icon[data-v-dcf0becf]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-input-confirm[data-v-dcf0becf]{flex:1 0 100%;width:100%}.app-navigation-input-confirm form[data-v-dcf0becf]{display:flex}.app-navigation-input-confirm__input[data-v-dcf0becf]{height:34px;flex:1 1 100%;font-size:100%!important;margin:5px 5px 5px -8px!important;padding:7px!important}.app-navigation-input-confirm__input[data-v-dcf0becf]:active,.app-navigation-input-confirm__input[data-v-dcf0becf]:focus,.app-navigation-input-confirm__input[data-v-dcf0becf]:hover{outline:none;background-color:var(--color-main-background);color:var(--color-main-text);border-color:var(--color-primary-element)}.material-design-icon[data-v-c47dc611]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-new[data-v-c47dc611]{display:block;padding:calc(var(--default-grid-baseline, 4px) * 2)}.app-navigation-new button[data-v-c47dc611]{width:100%}.material-design-icon[data-v-8950be04]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-8950be04]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%;min-height:44px;transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-pill)}.app-navigation-entry-wrapper[data-v-8950be04]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;box-sizing:border-box;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-8950be04]{display:none}.app-navigation-entry.active[data-v-8950be04]{background-color:var(--color-primary-element)!important}.app-navigation-entry.active .app-navigation-entry-link[data-v-8950be04],.app-navigation-entry.active .app-navigation-entry-button[data-v-8950be04]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-8950be04]:focus-within,.app-navigation-entry[data-v-8950be04]:hover{background-color:var(--color-background-hover)}.app-navigation-entry.active .app-navigation-entry__children[data-v-8950be04],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-8950be04],.app-navigation-entry:hover .app-navigation-entry__children[data-v-8950be04]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-8950be04]{display:inline-block}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-8950be04]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-8950be04],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-8950be04]{padding-right:14px}.app-navigation-entry .app-navigation-entry-link[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button[data-v-8950be04]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;box-sizing:border-box;min-height:44px;padding:0;white-space:nowrap;color:var(--color-main-text);background-repeat:no-repeat;background-position:14px center;background-size:16px 16px;line-height:44px}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-8950be04]{display:flex;align-items:center;flex:0 0 44px;justify-content:center;width:44px;height:44px;background-size:16px 16px;background-repeat:no-repeat;background-position:14px center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-8950be04]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-8950be04],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-8950be04]{width:calc(100% - 44px);margin:auto}.app-navigation-entry__children[data-v-8950be04]{position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px)}.app-navigation-entry__children .app-navigation-entry[data-v-8950be04]{display:inline-flex;flex-wrap:wrap;padding-left:16px}.app-navigation-entry__deleted[data-v-8950be04]{display:inline-flex;flex:1 1 0;padding-left:30px!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-8950be04]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:44px}.app-navigation-entry__utils[data-v-8950be04]{display:flex;min-width:44px;align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-8950be04]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-8950be04]{margin-right:calc(var(--default-grid-baseline) * 3);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-8950be04]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-8950be04]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-8950be04]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-8950be04]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-8950be04]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-8950be04]:active{background-color:var(--color-primary-element-light-hover)!important}.app-navigation-new-item__name[data-v-8950be04]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis;padding-left:7px;font-size:14px}.newItemContainer[data-v-8950be04]{width:calc(100% - 44px);margin:auto}.material-design-icon[data-v-db4cc195]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}#app-settings[data-v-db4cc195]{margin-top:auto;padding:3px}#app-settings__header[data-v-db4cc195]{box-sizing:border-box;margin:0 3px 3px}#app-settings__header .settings-button[data-v-db4cc195]{display:flex;flex:1 1 0;height:44px;width:100%;padding:0 14px 0 0;margin:0;background-color:var(--color-main-background);box-shadow:none;border:0;border-radius:var(--border-radius-pill);text-align:left;font-weight:400;font-size:100%;color:var(--color-main-text);line-height:44px}#app-settings__header .settings-button[data-v-db4cc195]:hover,#app-settings__header .settings-button[data-v-db4cc195]:focus{background-color:var(--color-background-hover)}#app-settings__header .settings-button__icon[data-v-db4cc195]{width:44px;height:44px;min-width:44px}#app-settings__header .settings-button__label[data-v-db4cc195]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}#app-settings__content[data-v-db4cc195]{display:block;padding:10px;margin-bottom:-3px;max-height:300px;overflow-y:auto;box-sizing:border-box}.slide-up-leave-active[data-v-db4cc195],.slide-up-enter-active[data-v-db4cc195]{transition-duration:var(--animation-slow);transition-property:max-height,padding;overflow-y:hidden!important}.slide-up-enter[data-v-db4cc195],.slide-up-leave-to[data-v-db4cc195]{max-height:0!important;padding:0 10px!important}.app-navigation-spacer[data-v-c8233ec5]{flex-shrink:0;order:1;height:22px}.material-design-icon[data-v-8e35514f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-settings[data-v-8e35514f] .dialog{min-height:256px}[data-v-8e35514f] .app-settings__navigation{min-width:200px;margin-right:20px;overflow-x:hidden;overflow-y:auto;position:relative}[data-v-8e35514f] .app-settings__content{box-sizing:border-box;overflow-y:auto;overflow-x:hidden;padding-inline:20px;min-height:256px}.navigation-list[data-v-8e35514f]{height:100%;box-sizing:border-box;overflow-y:auto;padding:12px}.navigation-list__link[data-v-8e35514f]{display:flex;align-content:center;font-size:16px;height:44px;margin:4px 0;line-height:44px;border-radius:var(--border-radius-pill);font-weight:700;padding:0 20px;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background-color:transparent;border:none}.navigation-list__link[data-v-8e35514f]:hover,.navigation-list__link[data-v-8e35514f]:focus{background-color:var(--color-background-hover)}.navigation-list__link--active[data-v-8e35514f]{background-color:var(--color-primary-element-light)!important}.navigation-list__link--icon[data-v-8e35514f]{padding-inline-start:8px;gap:4px}.navigation-list__link-icon[data-v-8e35514f]{display:flex;justify-content:center;align-content:center;width:36px;max-width:36px}@media only screen and (max-width: 512px){.dialog__modal .modal-wrapper--small .modal-container{width:fit-content;height:unset;max-height:90%;position:relative;top:unset;border-radius:var(--border-radius-large)}}.material-design-icon[data-v-94a1cf4a]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.dialog[data-v-94a1cf4a]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.dialog__modal[data-v-94a1cf4a] .modal-container{display:flex!important;padding-block:4px 8px;padding-inline:12px 8px}.dialog__modal[data-v-94a1cf4a] .modal-container__content{display:flex;flex-direction:column}.dialog__wrapper[data-v-94a1cf4a]{display:flex;flex-direction:row;flex:1;min-height:0;overflow:hidden;padding-inline-end:4px}.dialog__wrapper--collapsed[data-v-94a1cf4a]{flex-direction:column}.dialog__navigation[data-v-94a1cf4a]{display:flex;flex-shrink:0}.dialog__wrapper:not(.dialog__wrapper--collapsed) .dialog__navigation[data-v-94a1cf4a]{flex-direction:column;overflow:hidden auto;height:100%;min-width:200px;margin-inline-end:20px}.dialog__wrapper.dialog__wrapper--collapsed .dialog__navigation[data-v-94a1cf4a]{flex-direction:row;justify-content:space-between;overflow:auto hidden;width:100%;min-width:100%}.dialog__name[data-v-94a1cf4a]{text-align:center;height:var(--default-clickable-area);min-height:var(--default-clickable-area);line-height:var(--default-clickable-area);margin-block-end:12px}.dialog__content[data-v-94a1cf4a]{flex:1;min-height:0;overflow:auto}.dialog__text[data-v-94a1cf4a]{padding-block-end:6px}.dialog__actions[data-v-94a1cf4a]{display:flex;gap:6px;align-content:center;width:fit-content;margin-inline:auto 4px;margin-block:6px 4px}.material-design-icon[data-v-5162e6df]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-settings-section[data-v-5162e6df]{margin-bottom:80px}.app-settings-section__name[data-v-5162e6df]{font-size:20px;margin:0;padding:20px 0;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.material-design-icon[data-v-2ae00fba]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-sidebar-tabs[data-v-2ae00fba]{display:flex;flex-direction:column;min-height:0;flex:1 1 100%}.app-sidebar-tabs__nav[data-v-2ae00fba]{display:flex;justify-content:stretch;margin:10px 8px 0;border-bottom:1px solid var(--color-border)}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant{border:unset!important;border-radius:0!important}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant .checkbox-content{padding:var(--default-grid-baseline);border-radius:var(--default-grid-baseline) var(--default-grid-baseline) 0 0!important;margin:0!important;border-bottom:var(--default-grid-baseline) solid transparent!important}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant .checkbox-content .checkbox-content__icon--checked>*{color:var(--color-main-text)!important}.app-sidebar-tabs__nav[data-v-2ae00fba] .checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content{background:transparent!important;color:var(--color-main-text)!important;border-bottom:var(--default-grid-baseline) solid var(--color-primary-element)!important}.app-sidebar-tabs__tab[data-v-2ae00fba]{flex:1 1}.app-sidebar-tabs__tab.active[data-v-2ae00fba]{color:var(--color-primary-element)}.app-sidebar-tabs__tab-caption[data-v-2ae00fba]{flex:0 1 100%;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.app-sidebar-tabs__tab-icon[data-v-2ae00fba]{display:flex;align-items:center;justify-content:center;background-size:20px}.app-sidebar-tabs__tab[data-v-2ae00fba] .checkbox-radio-switch__content{max-width:unset}.app-sidebar-tabs__content[data-v-2ae00fba]{position:relative;min-height:256px;height:100%}.app-sidebar-tabs__content--multiple[data-v-2ae00fba]>:not(section){display:none}.material-design-icon[data-v-90858b97]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-sidebar[data-v-90858b97]{z-index:1500;top:0;right:0;display:flex;overflow-x:hidden;overflow-y:auto;flex-direction:column;flex-shrink:0;width:27vw;min-width:300px;max-width:500px;height:100%;border-left:1px solid var(--color-border);background:var(--color-main-background)}.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]{position:absolute;z-index:100;top:6px;right:6px;width:44px;height:44px;opacity:.7;border-radius:22px}.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]:hover,.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]:active,.app-sidebar .app-sidebar-header>.app-sidebar__close[data-v-90858b97]:focus{opacity:1;background-color:#7f7f7f40}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info[data-v-90858b97]{flex-direction:row}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__figure[data-v-90858b97]{z-index:2;width:70px;height:70px;margin:9px;border-radius:3px;flex:0 0 auto}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc[data-v-90858b97]{padding-left:0;flex:1 1 auto;min-width:0;padding-right:94px;padding-top:10px}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc.app-sidebar-header__desc--without-actions[data-v-90858b97]{padding-right:50px}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc .app-sidebar-header__tertiary-actions[data-v-90858b97]{z-index:3;position:absolute;top:9px;left:-44px;gap:0}.app-sidebar .app-sidebar-header--compact.app-sidebar-header--with-figure .app-sidebar-header__info .app-sidebar-header__desc .app-sidebar-header__menu[data-v-90858b97]{top:6px;right:50px;background-color:transparent;position:absolute}.app-sidebar .app-sidebar-header:not(.app-sidebar-header--with-figure) .app-sidebar-header__menu[data-v-90858b97]{position:absolute;top:6px;right:50px}.app-sidebar .app-sidebar-header:not(.app-sidebar-header--with-figure) .app-sidebar-header__desc[data-v-90858b97]{padding-right:94px}.app-sidebar .app-sidebar-header:not(.app-sidebar-header--with-figure) .app-sidebar-header__desc.app-sidebar-header__desc--without-actions[data-v-90858b97]{padding-right:50px}.app-sidebar .app-sidebar-header .app-sidebar-header__info[data-v-90858b97]{display:flex;flex-direction:column}.app-sidebar .app-sidebar-header__figure[data-v-90858b97]{width:100%;height:250px;max-height:250px;background-repeat:no-repeat;background-position:center;background-size:contain}.app-sidebar .app-sidebar-header__figure--with-action[data-v-90858b97]{cursor:pointer}.app-sidebar .app-sidebar-header__desc[data-v-90858b97]{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:18px 6px 18px 9px;gap:0 4px}.app-sidebar .app-sidebar-header__desc--with-tertiary-action[data-v-90858b97]{padding-left:6px}.app-sidebar .app-sidebar-header__desc--editable .app-sidebar-header__mainname-form[data-v-90858b97],.app-sidebar .app-sidebar-header__desc--with-subname--editable .app-sidebar-header__mainname-form[data-v-90858b97]{margin-top:-2px;margin-bottom:-2px}.app-sidebar .app-sidebar-header__desc--with-subname--editable .app-sidebar-header__subname[data-v-90858b97]{margin-top:-2px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__tertiary-actions[data-v-90858b97]{display:flex;height:44px;width:44px;justify-content:center;flex:0 0 auto}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__tertiary-actions .app-sidebar-header__star[data-v-90858b97]{box-shadow:none}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__tertiary-actions .app-sidebar-header__star[data-v-90858b97]:not([aria-pressed=true]):hover{box-shadow:none;background-color:var(--color-background-hover)}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container[data-v-90858b97]{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;min-width:0}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container[data-v-90858b97]{display:flex;align-items:center;min-height:44px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname[data-v-90858b97]{padding:0;min-height:30px;font-size:20px;line-height:30px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname[data-v-90858b97] .linkified{cursor:pointer;text-decoration:underline;margin:0}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname-form[data-v-90858b97]{display:flex;flex:1 1 auto;align-items:center}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__mainname-form input.app-sidebar-header__mainname-input[data-v-90858b97]{flex:1 1 auto;margin:0;padding:7px;font-size:20px;font-weight:700}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container .app-sidebar-header__menu[data-v-90858b97]{height:44px;width:44px;border-radius:22px;background-color:#7f7f7f40;margin-left:5px}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname[data-v-90858b97],.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__subname[data-v-90858b97]{overflow:hidden;width:100%;margin:0;white-space:nowrap;text-overflow:ellipsis}.app-sidebar .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__subname[data-v-90858b97]{padding:0;opacity:.7;font-size:var(--default-font-size)}.app-sidebar .app-sidebar-header__description[data-v-90858b97]{display:flex;align-items:center;margin:0 10px}@media only screen and (max-width: 768px){.app-sidebar[data-v-90858b97]{width:100vw;max-width:100vw}}.slide-right-leave-active[data-v-90858b97],.slide-right-enter-active[data-v-90858b97]{transition-duration:var(--animation-quick);transition-property:max-width,min-width}.slide-right-enter-to[data-v-90858b97],.slide-right-leave[data-v-90858b97]{min-width:300px;max-width:500px}.slide-right-enter[data-v-90858b97],.slide-right-leave-to[data-v-90858b97]{min-width:0!important;max-width:0!important}.app-sidebar-header__description button,.app-sidebar-header__description .button,.app-sidebar-header__description input[type=button],.app-sidebar-header__description input[type=submit],.app-sidebar-header__description input[type=reset]{padding:6px 22px}.material-design-icon[data-v-95b458cc]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-sidebar__tab[data-v-95b458cc]{display:none;padding:10px;min-height:100%;max-height:100%;height:100%;overflow:auto}.app-sidebar__tab[data-v-95b458cc]:focus{border-color:var(--color-primary-element);box-shadow:0 0 .2em var(--color-primary-element);outline:0}.app-sidebar__tab--active[data-v-95b458cc]{display:block}.material-design-icon[data-v-2e235682]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.vue-crumb[data-v-2e235682]{background-image:none;display:inline-flex;height:44px;padding:0}.vue-crumb[data-v-2e235682]:last-child{max-width:210px;font-weight:700}.vue-crumb:last-child .vue-crumb__separator[data-v-2e235682]{display:none}.vue-crumb>a[data-v-2e235682]:hover,.vue-crumb>a[data-v-2e235682]:focus{background-color:var(--color-background-dark);color:var(--color-main-text)}.vue-crumb--hidden[data-v-2e235682]{display:none}.vue-crumb.vue-crumb--hovered>a[data-v-2e235682]{background-color:var(--color-background-dark);color:var(--color-main-text)}.vue-crumb__separator[data-v-2e235682]{padding:0;color:var(--color-text-maxcontrast)}.vue-crumb>a[data-v-2e235682]{overflow:hidden;color:var(--color-text-maxcontrast);padding:12px;min-width:44px;max-width:100%;border-radius:var(--border-radius-pill);align-items:center;display:inline-flex;justify-content:center}.vue-crumb>a>span[data-v-2e235682]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item{max-width:100%}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item .button-vue{padding:0 4px 0 16px}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item .button-vue__wrapper{flex-direction:row-reverse}.vue-crumb[data-v-2e235682]:not(.dropdown) .action-item.action-item--open .action-item__menutoggle{background-color:var(--color-background-dark);color:var(--color-main-text)}.material-design-icon[data-v-acf0dd35]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.breadcrumb[data-v-acf0dd35]{width:100%;flex-grow:1;display:inline-flex;align-items:center}.breadcrumb--collapsed[data-v-acf0dd35] .vue-crumb:last-child{min-width:100px;flex-shrink:1}.breadcrumb nav[data-v-acf0dd35]{flex-shrink:1;min-width:0}.breadcrumb .breadcrumb__crumbs[data-v-acf0dd35]{max-width:100%}.breadcrumb .breadcrumb__crumbs[data-v-acf0dd35],.breadcrumb .breadcrumb__actions[data-v-acf0dd35]{display:inline-flex}.material-design-icon[data-v-b23899c8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.color-picker[data-v-b23899c8]{display:flex;overflow:hidden;align-content:flex-end;flex-direction:column;justify-content:space-between;box-sizing:content-box!important;width:176px;padding:8px;border-radius:3px}.color-picker--advanced-fields[data-v-b23899c8]{width:264px}.color-picker__simple[data-v-b23899c8]{display:grid;grid-template-columns:repeat(auto-fit,44px);grid-auto-rows:44px}.color-picker__simple-color-circle[data-v-b23899c8]{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;margin:auto;padding:0;color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:50%;font-size:16px}.color-picker__simple-color-circle[data-v-b23899c8]:focus-within{outline:2px solid var(--color-main-text)}.color-picker__simple-color-circle[data-v-b23899c8]:hover{opacity:.6}.color-picker__simple-color-circle--active[data-v-b23899c8]{width:38px;height:38px;min-height:38px;transition:all .1s ease-in-out;opacity:1!important}.color-picker__advanced[data-v-b23899c8]{box-shadow:none!important}.color-picker__navigation[data-v-b23899c8]{display:flex;flex-direction:row;justify-content:space-between;margin-top:10px}[data-v-b23899c8] .vc-chrome{width:unset;background-color:var(--color-main-background)}[data-v-b23899c8] .vc-chrome-color-wrap{width:30px;height:30px}[data-v-b23899c8] .vc-chrome-active-color{width:34px;height:34px;border-radius:17px}[data-v-b23899c8] .vc-chrome-body{padding:14px 0 0;background-color:var(--color-main-background)}[data-v-b23899c8] .vc-chrome-body .vc-input__input{box-shadow:none}[data-v-b23899c8] .vc-chrome-toggle-btn{filter:var(--background-invert-if-dark)}[data-v-b23899c8] .vc-chrome-saturation-wrap{border-radius:3px}[data-v-b23899c8] .vc-chrome-saturation-circle{width:20px;height:20px}.slide-enter[data-v-b23899c8]{transform:translate(-50%);opacity:0}.slide-enter-to[data-v-b23899c8],.slide-leave[data-v-b23899c8]{transform:translate(0);opacity:1}.slide-leave-to[data-v-b23899c8]{transform:translate(-50%);opacity:0}.slide-enter-active[data-v-b23899c8],.slide-leave-active[data-v-b23899c8]{transition:all 50ms ease-in-out}.material-design-icon[data-v-b318b0e4]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.counter-bubble__counter[data-v-b318b0e4]{font-size:calc(var(--default-font-size) * .8);overflow:hidden;width:fit-content;max-width:44px;text-align:center;text-overflow:ellipsis;line-height:1em;padding:4px 6px;border-radius:var(--border-radius-pill);background-color:var(--color-primary-element-light);font-weight:700;color:var(--color-primary-element-light-text)}.counter-bubble__counter .active[data-v-b318b0e4]{color:var(--color-main-background);background-color:var(--color-primary-element-light)}.counter-bubble__counter--highlighted[data-v-b318b0e4]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.counter-bubble__counter--highlighted.active[data-v-b318b0e4]{color:var(--color-primary-element);background-color:var(--color-main-background)}.counter-bubble__counter--outlined[data-v-b318b0e4]{color:var(--color-primary-element);background:transparent;box-shadow:inset 0 0 0 2px}.counter-bubble__counter--outlined.active[data-v-b318b0e4]{color:var(--color-main-background);box-shadow:inset 0 0 0 2px}.material-design-icon[data-v-1efcbeee]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.dashboard-widget[data-v-1efcbeee] .empty-content{text-align:center;padding-top:5vh}.dashboard-widget[data-v-1efcbeee] .empty-content.half-screen{padding-top:0;margin-bottom:1vh}.more[data-v-1efcbeee]{display:block;text-align:center;color:var(--color-text-maxcontrast);line-height:60px;cursor:pointer}.more[data-v-1efcbeee]:hover,.more[data-v-1efcbeee]:focus{background-color:var(--color-background-hover);border-radius:var(--border-radius-large);color:var(--color-main-text)}.item-list__entry[data-v-1efcbeee]{display:flex;align-items:flex-start;padding:8px}.item-list__entry .item-avatar[data-v-1efcbeee]{position:relative;margin-top:auto;margin-bottom:auto;background-color:var(--color-background-dark)!important}.item-list__entry .item__details[data-v-1efcbeee]{padding-left:8px;max-height:44px;flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.item-list__entry .item__details h3[data-v-1efcbeee],.item-list__entry .item__details .message[data-v-1efcbeee]{white-space:nowrap;background-color:var(--color-background-dark)}.item-list__entry .item__details h3[data-v-1efcbeee]{font-size:100%;margin:0}.item-list__entry .item__details .message[data-v-1efcbeee]{width:80%;height:15px;margin-top:5px}.material-design-icon[data-v-00e861ef]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.item-list__entry[data-v-00e861ef]{display:flex;align-items:flex-start;position:relative;padding:8px}.item-list__entry[data-v-00e861ef]:hover,.item-list__entry[data-v-00e861ef]:focus{background-color:var(--color-background-hover);border-radius:var(--border-radius-large)}.item-list__entry .item-avatar[data-v-00e861ef]{position:relative;margin-top:auto;margin-bottom:auto}.item-list__entry .item__details[data-v-00e861ef]{padding-left:8px;max-height:44px;flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.item-list__entry .item__details h3[data-v-00e861ef],.item-list__entry .item__details .message[data-v-00e861ef]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-list__entry .item__details .message span[data-v-00e861ef]{width:10px;display:inline-block;margin-bottom:-3px}.item-list__entry .item__details h3[data-v-00e861ef]{font-size:100%;margin:0}.item-list__entry .item__details .message[data-v-00e861ef]{width:100%;color:var(--color-text-maxcontrast)}.item-list__entry .item-icon[data-v-00e861ef]{position:relative;width:14px;height:14px;margin:27px -3px 0 -7px}.item-list__entry button.primary[data-v-00e861ef]{padding:21px;margin:0}.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:flex;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji",EmojiOne Color,"Android Emoji";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@15.0.1/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@15.0.1/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@15.0.1/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@15.0.1/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;border:none;background:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:0}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{opacity:1}.emoji-mart-category-label{position:-webkit-sticky;position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:flex}.emoji-mart .vue-recycle-scroller__slot{flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}.emoji-mart{background-color:var(--color-main-background)!important;border:0;color:var(--color-main-text)!important}.emoji-mart button{margin:0;padding:0;border:none;background:transparent;font-size:inherit;height:36px;width:auto}.emoji-mart button *{cursor:pointer!important}.emoji-mart .emoji-mart-bar,.emoji-mart .emoji-mart-anchors,.emoji-mart .emoji-mart-search,.emoji-mart .emoji-mart-search input,.emoji-mart .emoji-mart-category,.emoji-mart .emoji-mart-category-label,.emoji-mart .emoji-mart-category-label span,.emoji-mart .emoji-mart-skin-swatches{background-color:transparent!important;border-color:var(--color-border)!important;color:inherit!important}.emoji-mart .emoji-mart-search input:focus-visible{box-shadow:inset 0 0 0 2px var(--color-primary-element);outline:none}.emoji-mart .emoji-mart-bar:first-child{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.emoji-mart .emoji-mart-anchors button{border-radius:0;padding:12px 4px;height:auto}.emoji-mart .emoji-mart-anchors button:focus-visible{outline:2px solid var(--color-primary-element)}.emoji-mart .emoji-mart-category{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:start}.emoji-mart .emoji-mart-category .emoji-mart-category-label,.emoji-mart .emoji-mart-category .emoji-mart-emoji{-webkit-user-select:none;user-select:none;flex-grow:0;flex-shrink:0}.emoji-mart .emoji-mart-category .emoji-mart-category-label{flex-basis:100%;margin:0}.emoji-mart .emoji-mart-category .emoji-mart-emoji{flex-basis:12.5%;text-align:center}.emoji-mart .emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart .emoji-mart-category .emoji-mart-emoji.emoji-mart-emoji-selected:before{background-color:var(--color-background-hover)!important;outline:2px solid var(--color-primary-element)}.emoji-mart .emoji-mart-category button:focus-visible{background-color:var(--color-background-hover);border:2px solid var(--color-primary-element)!important;border-radius:50%}.search{padding:4px 8px}.row-selected span[data-v-4d56e499],.row-selected button[data-v-4d56e499]{vertical-align:middle}.emoji-delete[data-v-4d56e499]{vertical-align:top;margin-left:-21px;margin-top:-3px}.material-design-icon[data-v-36ad47ca]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}#guest-content-vue[data-v-36ad47ca]{color:var(--color-main-text);background-color:var(--color-main-background);min-width:0;border-radius:var(--border-radius-large);box-shadow:0 0 10px var(--color-box-shadow);height:fit-content;padding:15px;margin:20px auto}#content.nc-guest-content{overflow:auto;margin-bottom:0;height:calc(var(--body-height) + var(--body-container-margin))}.material-design-icon[data-v-d93df21d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.header-menu[data-v-d93df21d]{position:relative;width:var(--header-height);height:var(--header-height)}.header-menu__trigger[data-v-d93df21d]{display:flex;align-items:center;justify-content:center;width:var(--header-height);height:var(--header-height);margin:0;padding:0;cursor:pointer;opacity:.85;background-color:transparent;border:none;filter:none!important;color:var(--color-primary-text)!important}.header-menu--opened .header-menu__trigger[data-v-d93df21d],.header-menu__trigger[data-v-d93df21d]:hover,.header-menu__trigger[data-v-d93df21d]:focus,.header-menu__trigger[data-v-d93df21d]:active{opacity:1}.header-menu__trigger[data-v-d93df21d]:focus-visible{outline:none}.header-menu__wrapper[data-v-d93df21d]{position:fixed;z-index:2000;top:50px;right:0;box-sizing:border-box;margin:0 8px;padding:8px;border-radius:0 0 var(--border-radius) var(--border-radius);border-radius:var(--border-radius-large);background-color:var(--color-main-background);filter:drop-shadow(0 1px 5px var(--color-box-shadow))}.header-menu__carret[data-v-d93df21d]{position:absolute;z-index:2001;bottom:0;left:calc(50% - 10px);width:0;height:0;content:" ";pointer-events:none;border:10px solid transparent;border-bottom-color:var(--color-main-background)}.header-menu__content[data-v-d93df21d]{overflow:auto;width:350px;max-width:calc(100vw - 16px);min-height:66px;max-height:calc(100vh - 100px)}.header-menu__content[data-v-d93df21d] .empty-content{margin:12vh 10px}@media only screen and (max-width: 512px){.header-menu[data-v-d93df21d],.header-menu__trigger[data-v-d93df21d]{width:44px}}.material-design-icon[data-v-4d352b50]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.list-item__wrapper[data-v-4d352b50]{position:relative;width:100%}.list-item__wrapper--active .list-item[data-v-4d352b50],.list-item__wrapper:active .list-item[data-v-4d352b50],.list-item__wrapper.active .list-item[data-v-4d352b50]{background-color:var(--color-primary-element)}.list-item__wrapper--active .list-item[data-v-4d352b50]:active,.list-item__wrapper--active .list-item[data-v-4d352b50]:hover,.list-item__wrapper--active .list-item[data-v-4d352b50]:focus,.list-item__wrapper--active .list-item[data-v-4d352b50]:focus-visible,.list-item__wrapper:active .list-item[data-v-4d352b50]:active,.list-item__wrapper:active .list-item[data-v-4d352b50]:hover,.list-item__wrapper:active .list-item[data-v-4d352b50]:focus,.list-item__wrapper:active .list-item[data-v-4d352b50]:focus-visible,.list-item__wrapper.active .list-item[data-v-4d352b50]:active,.list-item__wrapper.active .list-item[data-v-4d352b50]:hover,.list-item__wrapper.active .list-item[data-v-4d352b50]:focus,.list-item__wrapper.active .list-item[data-v-4d352b50]:focus-visible{background-color:var(--color-primary-element-hover)}.list-item__wrapper--active .line-one__name[data-v-4d352b50],.list-item__wrapper--active .line-one__details[data-v-4d352b50],.list-item__wrapper:active .line-one__name[data-v-4d352b50],.list-item__wrapper:active .line-one__details[data-v-4d352b50],.list-item__wrapper.active .line-one__name[data-v-4d352b50],.list-item__wrapper.active .line-one__details[data-v-4d352b50],.list-item__wrapper--active .line-two__subname[data-v-4d352b50],.list-item__wrapper:active .line-two__subname[data-v-4d352b50],.list-item__wrapper.active .line-two__subname[data-v-4d352b50]{color:var(--color-primary-element-text)!important}.list-item[data-v-4d352b50]{display:block;position:relative;flex:0 0 auto;justify-content:flex-start;padding:8px 10px;border-radius:32px;margin:2px 0;width:100%;cursor:pointer;transition:background-color var(--animation-quick) ease-in-out;list-style:none}.list-item[data-v-4d352b50]:active,.list-item[data-v-4d352b50]:hover,.list-item[data-v-4d352b50]:focus,.list-item[data-v-4d352b50]:focus-visible{background-color:var(--color-background-hover)}.list-item-content__wrapper[data-v-4d352b50]{display:flex;align-items:center;height:48px}.list-item-content__wrapper--compact[data-v-4d352b50]{height:36px}.list-item-content__wrapper--compact .line-one[data-v-4d352b50],.list-item-content__wrapper--compact .line-two[data-v-4d352b50]{margin-top:-4px;margin-bottom:-4px}.list-item-content[data-v-4d352b50]{display:flex;flex:1 1 auto;justify-content:space-between;padding-left:8px}.list-item-content__main[data-v-4d352b50]{flex:1 1 auto;width:0;margin:auto 0}.list-item-content__main--oneline[data-v-4d352b50]{display:flex}.list-item-content__actions[data-v-4d352b50]{flex:0 0 auto;align-self:center;justify-content:center;margin-left:4px}.list-item__extra[data-v-4d352b50]{margin-top:4px}.line-one[data-v-4d352b50]{display:flex;align-items:center;justify-content:space-between;white-space:nowrap;margin:0 auto 0 0;overflow:hidden}.line-one__name[data-v-4d352b50]{overflow:hidden;flex-grow:1;cursor:pointer;text-overflow:ellipsis;color:var(--color-main-text);font-weight:700}.line-one__details[data-v-4d352b50]{color:var(--color-text-maxcontrast);margin:0 8px;font-weight:400}.line-two[data-v-4d352b50]{display:flex;align-items:flex-start;justify-content:space-between;white-space:nowrap}.line-two--bold[data-v-4d352b50]{font-weight:700}.line-two__subname[data-v-4d352b50]{overflow:hidden;flex-grow:1;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;color:var(--color-text-maxcontrast)}.line-two__additional_elements[data-v-4d352b50]{margin:2px 4px 0;display:flex;align-items:center}.line-two__indicator[data-v-4d352b50]{margin:0 5px}.material-design-icon[data-v-3a409988]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.notecard[data-v-3a409988]{color:var(--color-main-text)!important;background-color:var(--note-background)!important;border-inline-start:4px solid var(--note-theme);border-radius:var(--border-radius);margin:1rem 0;padding:1rem;display:flex;flex-direction:row;gap:1rem}.notecard__icon--heading[data-v-3a409988]{margin-bottom:auto;margin-top:.3rem}.notecard--success[data-v-3a409988]{--note-background: rgba(var(--color-success-rgb), .1);--note-theme: var(--color-success)}.notecard--info[data-v-3a409988]{--note-background: rgba(var(--color-info-rgb), .1);--note-theme: var(--color-info)}.notecard--error[data-v-3a409988]{--note-background: rgba(var(--color-error-rgb), .1);--note-theme: var(--color-error)}.notecard--warning[data-v-3a409988]{--note-background: rgba(var(--color-warning-rgb), .1);--note-theme: var(--color-warning)}.material-design-icon[data-v-b171a315]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.progress-bar[data-v-b171a315]{display:block;height:var(--progress-bar-height);width:100%;overflow:hidden;border:0;padding:0;background:var(--color-background-dark);border-radius:calc(var(--progress-bar-height) / 2)}.progress-bar[data-v-b171a315]::-webkit-progress-bar{height:var(--progress-bar-height);background-color:transparent}.progress-bar[data-v-b171a315]::-webkit-progress-value{background:var(--gradient-primary-background);border-radius:calc(var(--progress-bar-height) / 2)}.progress-bar[data-v-b171a315]::-moz-progress-bar{background:var(--gradient-primary-background);border-radius:calc(var(--progress-bar-height) / 2)}.progress-bar--error[data-v-b171a315]::-moz-progress-bar{background:var(--color-error)!important}.progress-bar--error[data-v-b171a315]::-webkit-progress-value{background:var(--color-error)!important}.material-design-icon[data-v-1a960bef]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.resource[data-v-1a960bef]{display:flex;align-items:center;height:44px}.resource__button[data-v-1a960bef]{width:100%!important;justify-content:flex-start!important;padding:0!important}.resource__button[data-v-1a960bef] .button-vue__wrapper{justify-content:flex-start!important}.resource__button[data-v-1a960bef] .button-vue__wrapper .button-vue__text{font-weight:400!important;margin-left:2px!important}.resource__icon[data-v-1a960bef]{width:32px;height:32px;background-color:var(--color-text-maxcontrast);border-radius:50%;display:flex;align-items:center;justify-content:center}.resource__icon img[data-v-1a960bef]{width:16px;height:16px;filter:var(--background-invert-if-dark)}.material-design-icon[data-v-19300848]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.related-resources__header[data-v-19300848]{margin:0 0 10px 46px}.related-resources__header h5[data-v-19300848]{font-weight:700}.related-resources__header p[data-v-19300848]{color:var(--color-text-maxcontrast)}.material-design-icon[data-v-25cf09d8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.autocomplete-result[data-v-25cf09d8]{display:flex;height:44px;padding:10px}.highlight .autocomplete-result[data-v-25cf09d8]{color:var(--color-primary-element-light-text);background:var(--color-primary-element-light)}.highlight .autocomplete-result[data-v-25cf09d8],.highlight .autocomplete-result *[data-v-25cf09d8]{cursor:pointer}.autocomplete-result__icon[data-v-25cf09d8]{position:relative;flex:0 0 44px;width:44px;min-width:44px;height:44px;border-radius:44px;background-color:var(--color-background-darker);background-repeat:no-repeat;background-position:center;background-size:24px}.autocomplete-result__icon--with-avatar[data-v-25cf09d8]{color:inherit;background-size:cover}.autocomplete-result__status[data-v-25cf09d8]{position:absolute;right:-4px;bottom:-4px;box-sizing:border-box;width:18px;height:18px;border:2px solid var(--color-main-background);border-radius:50%;background-color:var(--color-main-background);font-size:var(--default-font-size);line-height:15px;background-repeat:no-repeat;background-size:16px;background-position:center}.autocomplete-result__status--online[data-v-25cf09d8]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K)}.autocomplete-result__status--dnd[data-v-25cf09d8]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg==);background-color:#fff}.autocomplete-result__status--away[data-v-25cf09d8]{background-image:url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg==)}.autocomplete-result__status--icon[data-v-25cf09d8]{border:none;background-color:transparent}.autocomplete-result__content[data-v-25cf09d8]{display:flex;flex:1 1 100%;flex-direction:column;justify-content:center;min-width:0;padding-left:10px}.autocomplete-result__title[data-v-25cf09d8],.autocomplete-result__subline[data-v-25cf09d8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.autocomplete-result__subline[data-v-25cf09d8]{color:var(--color-text-maxcontrast)}.material-design-icon[data-v-9e395f41]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.rich-contenteditable__input[data-v-9e395f41]{overflow-y:auto;width:auto;margin:0;padding:8px;cursor:text;white-space:pre-wrap;word-break:break-word;color:var(--color-main-text);border:2px solid var(--color-border-dark);border-radius:var(--border-radius-large);outline:none;background-color:var(--color-main-background);font-family:var(--font-face);font-size:inherit;min-height:44px;max-height:242px}.rich-contenteditable__input--empty[data-v-9e395f41]:before{content:attr(aria-placeholder);color:var(--color-text-maxcontrast);position:absolute}.rich-contenteditable__input[contenteditable=false][data-v-9e395f41]:not(.rich-contenteditable__input--disabled){cursor:default;background-color:transparent;color:var(--color-main-text);border-color:transparent;opacity:1;border-radius:0}.rich-contenteditable__input--multiline[data-v-9e395f41]{min-height:132px;max-height:none}.rich-contenteditable__input--disabled[data-v-9e395f41]{opacity:.5;color:var(--color-text-maxcontrast);border:2px solid var(--color-background-darker);border-radius:var(--border-radius);background-color:var(--color-background-dark)}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.tribute-container,.tribute-container-emoji,.tribute-container-link{z-index:9000;overflow:auto;min-width:250px;max-width:300px;max-height:288px;margin:5px 0;color:var(--color-main-text);border-radius:var(--border-radius);background:var(--color-main-background);box-shadow:0 1px 5px var(--color-box-shadow)}.tribute-container-emoji,.tribute-container-link{min-width:200px;max-width:200px;padding:4px;max-height:192.5px!important}.tribute-container-emoji__item,.tribute-container-link__item{border-radius:8px;padding:4px 8px;margin-bottom:4px;opacity:.8;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tribute-container-emoji__item:last-child,.tribute-container-link__item:last-child{margin-bottom:0}.tribute-container-emoji__item__emoji,.tribute-container-link__item__emoji{padding-right:8px}.tribute-container-emoji .highlight,.tribute-container-link .highlight{opacity:1;color:var(--color-primary-element-light-text);background:var(--color-primary-element-light)}.tribute-container-emoji .highlight,.tribute-container-emoji .highlight *,.tribute-container-link .highlight,.tribute-container-link .highlight *{cursor:pointer}.tribute-container-link{min-width:200px;max-width:300px}.tribute-container-link__item{display:flex;align-items:center}.tribute-container-link__item__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tribute-container-link__item__icon{margin:auto 0;width:20px;height:20px;object-fit:contain;padding-right:8px;filter:var(--background-invert-if-dark)}.material-design-icon[data-v-5b140fb6]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.input-wrapper[data-v-5b140fb6]{display:flex;align-items:center;flex-wrap:wrap;width:100%;max-width:400px}.input-wrapper .action-input__label[data-v-5b140fb6]{margin-right:12px}.input-wrapper[data-v-5b140fb6]:disabled{cursor:default}.input-wrapper .hint[data-v-5b140fb6]{color:var(--color-text-maxcontrast);margin-left:8px}.material-design-icon[data-v-08d15c14]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.select-group-error[data-v-08d15c14]{color:var(--color-error);font-size:13px;padding-inline-start:var(--border-radius-large)}.material-design-icon[data-v-55ab76f1]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.user-bubble__wrapper[data-v-55ab76f1]{display:inline-block;vertical-align:middle;min-width:0;max-width:100%}.user-bubble__content[data-v-55ab76f1]{display:inline-flex;max-width:100%;background-color:var(--color-background-dark)}.user-bubble__content--primary[data-v-55ab76f1]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.user-bubble__content[data-v-55ab76f1]>:last-child{padding-right:8px}.user-bubble__avatar[data-v-55ab76f1]{align-self:center}.user-bubble__name[data-v-55ab76f1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-bubble__name[data-v-55ab76f1],.user-bubble__secondary[data-v-55ab76f1]{padding:0 0 0 4px}/** * @copyright Copyright (c) 2019 John Molakvoæ * * @author John Molakvoæ @@ -41,7 +41,7 @@ * */.material-design-icon[data-v-c9071493]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.textarea[data-v-c9071493]{position:relative;width:100%;border-radius:var(--border-radius-large);margin-block-start:6px;resize:vertical}.textarea__main-wrapper[data-v-c9071493]{position:relative}.textarea--disabled[data-v-c9071493]{opacity:.7;filter:saturate(.7)}.textarea__input[data-v-c9071493]{margin:0;padding-inline:10px 6px;width:100%;font-size:var(--default-font-size);text-overflow:ellipsis;background-color:var(--color-main-background);color:var(--color-main-text);border:2px solid var(--color-border-maxcontrast);border-radius:var(--border-radius-large);cursor:pointer}.textarea__input[data-v-c9071493]:active:not([disabled]),.textarea__input[data-v-c9071493]:hover:not([disabled]),.textarea__input[data-v-c9071493]:focus:not([disabled]){border-color:2px solid var(--color-main-text)!important;box-shadow:0 0 0 2px var(--color-main-background)!important}.textarea__input[data-v-c9071493]:not(:focus,.textarea__input--label-outside)::placeholder{opacity:0}.textarea__input[data-v-c9071493]:focus{cursor:text}.textarea__input[data-v-c9071493]:disabled{cursor:default}.textarea__input[data-v-c9071493]:focus-visible{box-shadow:unset!important}.textarea__input--success[data-v-c9071493]{border-color:var(--color-success)!important}.textarea__input--success[data-v-c9071493]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.textarea__input--success:focus+.textarea__label[data-v-c9071493],.textarea__input--success:hover:not(:placeholder-shown)+.textarea__label[data-v-c9071493]{color:var(--color-success-text)}.textarea__input--error[data-v-c9071493]{border-color:var(--color-error)!important}.textarea__input--error[data-v-c9071493]:focus-visible{box-shadow:#f8fafc 0 0 0 2px,var(--color-primary-element) 0 0 0 4px,#0000000d 0 1px 2px}.textarea__input--error:focus+.textarea__label[data-v-c9071493],.textarea__input--error:hover:not(:placeholder-shown)+.textarea__label[data-v-c9071493]{color:var(--color-error-text)}.textarea__input:not(.textarea__input--success,.textarea__input--error):focus+.textarea__label[data-v-c9071493],.textarea__input:not(.textarea__input--success,.textarea__input--error):hover:not(:placeholder-shown)+.textarea__label[data-v-c9071493]{color:var(--color-primary-element)}.textarea__label[data-v-c9071493]{position:absolute;margin-inline:12px 0;height:17px;max-width:fit-content;line-height:1;inset-block-start:12px;inset-inline:0;color:var(--color-text-maxcontrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick),background-color var(--animation-quick) var(--animation-slow)}.textarea__input:focus+.textarea__label[data-v-c9071493],.textarea__input:not(:placeholder-shown)+.textarea__label[data-v-c9071493]{inset-block-start:-6px;font-size:13px;background-color:var(--color-main-background);height:14px;padding-inline:4px;margin-inline-start:8px;transition:height var(--animation-quick),inset-block-start var(--animation-quick),font-size var(--animation-quick),color var(--animation-quick)}.textarea__helper-text-message[data-v-c9071493]{padding-block:4px;display:flex;align-items:center}.textarea__helper-text-message__icon[data-v-c9071493]{margin-inline-end:8px}.textarea__helper-text-message--error[data-v-c9071493]{color:var(--color-error-text)}.textarea__helper-text-message--success[data-v-c9071493]{color:var(--color-success-text)}.rich-text-file .icon-home[data-v-f30ef6d6]{display:inline-block;vertical-align:text-top}strong[data-v-b8794790]{padding:2px 5px;border-radius:3px;background-color:var(--color-background-darker);font-weight:400}.comments-activity[data-v-d0df7393]{display:flex;flex-wrap:nowrap;align-items:flex-start;width:100%;min-height:32px;padding:8px 0;gap:8px}.comments-activity__icon[data-v-d0df7393]{flex:0 0 fit-content}.comments-activity__content[data-v-d0df7393]{flex:1 0;display:flex;flex-direction:column;width:100%}.comments-activity__title[data-v-d0df7393]{color:var(--color-text-maxcontrast);display:flex;flex-direction:row;justify-content:space-between}.comments-activity__date[data-v-d0df7393]{color:var(--color-text-maxcontrast)}.activity-entry[data-v-f5227368]{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;height:var(--height);min-height:32px;padding:8px 0}.activity-entry__icon[data-v-f5227368]{opacity:.5;margin-top:2px;margin-right:8px}.activity-entry .avatardiv[data-v-f5227368]{padding-inline:calc((32px - var(--size)) / 2);box-sizing:content-box!important;background-color:unset!important}.activity-entry .avatardiv[data-v-f5227368] img{border-radius:0!important}.activity-entry__content[data-v-f5227368]{display:flex;flex-basis:min-content;flex-direction:column;flex-grow:1;overflow-wrap:break-word;white-space:pre-wrap;word-break:break-word;overflow:hidden}.activity-entry__content__message[data-v-f5227368]{color:var(--color-text-lighter)}.activity-entry__content[data-v-f5227368] a{font-weight:700}.activity-entry__content[data-v-f5227368] a:hover{opacity:.7;text-decoration:underline}.activity-entry__actions[data-v-f5227368]{inset-block:-8px}.activity-entry__date[data-v-f5227368]{color:var(--color-text-lighter);margin-left:5px;flex-shrink:0}.activity-entry__preview-wrapper[data-v-f5227368]{flex:0 0 100%;gap:12px;margin-inline-start:24px;display:flex}.activity-entry__preview[data-v-f5227368]:hover{opacity:.75}.activity-entry__preview-image[data-v-f5227368]{height:50px;width:50px}.activity-entry__preview-image[data-v-f5227368]:not(.activity-entry__preview-mimetype){border:2px solid var(--color-border);border-radius:var(--border-radius-large)}.activity-entry__preview-image[data-v-f5227368]:not(.activity-entry__preview-mimetype):hover{border-color:var(--color-main-text);outline:2px solid var(--color-main-background)}`)),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); /*! third party licenses: js/vendor.LICENSE.txt */ -import{h as Q_,V as Va,r as nt,i as fo,u as ah,e as jl,o as Pl,n as ih,j as nh,k as rh,l as r0,c as Ge,w as ei,p as J_,m as K_,q as X_,a as _r,g as $a,s as ud,v as eF,x as tF,y as aF,z as iF,A as nF,B as rF,C as oF,d as Tn,D as p7,E as T7,t as Fr,F as sF}from"./index-57c25491.mjs";import{a as Gl,g as ti,d as mr,c as Ia}from"./index-65a5f423.mjs";import{r as lF,v as de,l as ae,e as F0,i as uF,d as Ul,c as Wa,f as go,b as Ps,n as zt}from"./index-76a58945-9a268760.mjs";import{e as pr,g as Tr,s as Ko,u as Xo,d as dF,w as Dn,f as Sa,a as ql,b as oh,_ as m0,c as p0,h as _o,i as cF,j as Fo,k as mo,m as hF,t as Hl,o as fF,n as gF,p as _F,q as FF,r as sh,v as zl,x as mF,y as pF,z as Vl,A as TF,B as lh,C as uh,D as dh,E as ch,F as hh,G as DF,H as $l,I as EF,J as bF,K as yF,L as fh,M as AF,N as SF,O as kF,l as vF}from"./logger-2ebf21a4.mjs";const W_="activity";var gh={exports:{}},_h;function ie(){return _h.apply(null,arguments)}function RF(e){_h=e}function Ut(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ei(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function xe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Wl(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(xe(e,t))return!1;return!0}function _t(e){return e===void 0}function Da(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function T0(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Fh(e,t){var a=[],i,n=e.length;for(i=0;i>>0,i;for(i=0;i0)for(a=0;a>>0,i;for(i=0;i0)for(a=0;a=0;return(r?a?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+i}var Xl=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N0=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ts={},Ki={};function Fe(e,t,a,i){var n=i;typeof i=="string"&&(n=function(){return this[i]()}),e&&(Ki[e]=n),t&&(Ki[t[0]]=function(){return ea(n.apply(this,arguments),t[1],t[2])}),a&&(Ki[a]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function BF(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function CF(e){var t=e.match(Xl),a,i;for(a=0,i=t.length;a=0&&N0.test(e);)e=e.replace(N0,i),N0.lastIndex=0,a-=1;return e}var MF={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function YF(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(Xl).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[e])}var LF="Invalid date";function ZF(){return this._invalidDate}var IF="%d",jF=/\d{1,2}/;function PF(e){return this._ordinal.replace("%d",e)}var GF={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function UF(e,t,a,i){var n=this._relativeTime[a];return ca(n)?n(e,t,a,i):n.replace(/%d/i,e)}function qF(e,t){var a=this._relativeTime[e>0?"future":"past"];return ca(a)?a(t):a.replace(/%s/i,t)}var Yn={};function ut(e,t){var a=e.toLowerCase();Yn[a]=Yn[a+"s"]=Yn[t]=e}function It(e){return typeof e=="string"?Yn[e]||Yn[e.toLowerCase()]:void 0}function eu(e){var t={},a,i;for(i in e)xe(e,i)&&(a=It(i),a&&(t[a]=e[i]));return t}var Dh={};function dt(e,t){Dh[e]=t}function HF(e){var t=[],a;for(a in e)xe(e,a)&&t.push({unit:a,priority:Dh[a]});return t.sort(function(i,n){return i.priority-n.priority}),t}function To(e){return e%4===0&&e%100!==0||e%400===0}function xt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Se(e){var t=+e,a=0;return t!==0&&isFinite(t)&&(a=xt(t)),a}function En(e,t){return function(a){return a!=null?(Eh(this,e,a),ie.updateOffset(this,t),this):Dr(this,e)}}function Dr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Eh(e,t,a){e.isValid()&&!isNaN(a)&&(t==="FullYear"&&To(e.year())&&e.month()===1&&e.date()===29?(a=Se(a),e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),Do(a,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](a))}function zF(e){return e=It(e),ca(this[e])?this[e]():this}function VF(e,t){if(typeof e=="object"){e=eu(e);var a=HF(e),i,n=a.length;for(i=0;i68?1900:2e3)};var _d=En("FullYear",!0);function hm(){return To(this.year())}function fm(e,t,a,i,n,r,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,a,i,n,r,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,a,i,n,r,o),s}function s0(e){var t,a;return e<100&&e>=0?(a=Array.prototype.slice.call(arguments),a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Sr(e,t,a){var i=7+t-a,n=(7+s0(e,0,i).getUTCDay()-t)%7;return-n+i-1}function Rh(e,t,a,i,n){var r=(7+a-i)%7,o=Sr(e,i,n),s=1+7*(t-1)+r+o,l,c;return s<=0?(l=e-1,c=Ln(l)+s):s>Ln(e)?(l=e+1,c=s-Ln(e)):(l=e,c=s),{year:l,dayOfYear:c}}function l0(e,t,a){var i=Sr(e.year(),t,a),n=Math.floor((e.dayOfYear()-i-1)/7)+1,r,o;return n<1?(o=e.year()-1,r=n+Ta(o,t,a)):n>Ta(e.year(),t,a)?(r=n-Ta(e.year(),t,a),o=e.year()+1):(o=e.year(),r=n),{week:r,year:o}}function Ta(e,t,a){var i=Sr(e,t,a),n=Sr(e+1,t,a);return(Ln(e)-i+n)/7}Fe("w",["ww",2],"wo","week"),Fe("W",["WW",2],"Wo","isoWeek"),ut("week","w"),ut("isoWeek","W"),dt("week",5),dt("isoWeek",5),oe("w",Ue),oe("ww",Ue,vt),oe("W",Ue),oe("WW",Ue,vt),o0(["w","ww","W","WW"],function(e,t,a,i){t[i.substr(0,1)]=Se(e)});function gm(e){return l0(e,this._week.dow,this._week.doy).week}var _m={dow:0,doy:6};function Fm(){return this._week.dow}function mm(){return this._week.doy}function pm(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Tm(e){var t=l0(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Fe("d",0,"do","day"),Fe("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Fe("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Fe("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Fe("e",0,0,"weekday"),Fe("E",0,0,"isoWeekday"),ut("day","d"),ut("weekday","e"),ut("isoWeekday","E"),dt("day",11),dt("weekday",11),dt("isoWeekday",11),oe("d",Ue),oe("e",Ue),oe("E",Ue),oe("dd",function(e,t){return t.weekdaysMinRegex(e)}),oe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),oe("dddd",function(e,t){return t.weekdaysRegex(e)}),o0(["dd","ddd","dddd"],function(e,t,a,i){var n=a._locale.weekdaysParse(e,i,a._strict);n!=null?t.d=n:Ee(a).invalidWeekday=e}),o0(["d","e","E"],function(e,t,a,i){t[i]=Se(e)});function Dm(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Em(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function tu(e,t){return e.slice(t,7).concat(e.slice(0,t))}var bm="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nh="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ym="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Am=E0,Sm=E0,km=E0;function vm(e,t){var a=Ut(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?tu(a,this._week.dow):e?a[e.day()]:a}function Rm(e){return e===!0?tu(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Nm(e){return e===!0?tu(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function wm(e,t,a){var i,n,r,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=da([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return a?t==="dddd"?(n=Je.call(this._weekdaysParse,o),n!==-1?n:null):t==="ddd"?(n=Je.call(this._shortWeekdaysParse,o),n!==-1?n:null):(n=Je.call(this._minWeekdaysParse,o),n!==-1?n:null):t==="dddd"?(n=Je.call(this._weekdaysParse,o),n!==-1||(n=Je.call(this._shortWeekdaysParse,o),n!==-1)?n:(n=Je.call(this._minWeekdaysParse,o),n!==-1?n:null)):t==="ddd"?(n=Je.call(this._shortWeekdaysParse,o),n!==-1||(n=Je.call(this._weekdaysParse,o),n!==-1)?n:(n=Je.call(this._minWeekdaysParse,o),n!==-1?n:null)):(n=Je.call(this._minWeekdaysParse,o),n!==-1||(n=Je.call(this._weekdaysParse,o),n!==-1)?n:(n=Je.call(this._shortWeekdaysParse,o),n!==-1?n:null))}function Om(e,t,a){var i,n,r;if(this._weekdaysParseExact)return wm.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++)if(n=da([2e3,1]).day(i),a&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),a&&t==="dddd"&&this._fullWeekdaysParse[i].test(e)||a&&t==="ddd"&&this._shortWeekdaysParse[i].test(e)||a&&t==="dd"&&this._minWeekdaysParse[i].test(e)||!a&&this._weekdaysParse[i].test(e))return i}function xm(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Dm(e,this.localeData()),this.add(e-t,"d")):t}function Bm(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Cm(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Em(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Mm(e){return this._weekdaysParseExact?(xe(this,"_weekdaysRegex")||au.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(xe(this,"_weekdaysRegex")||(this._weekdaysRegex=Am),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ym(e){return this._weekdaysParseExact?(xe(this,"_weekdaysRegex")||au.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(xe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Sm),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Lm(e){return this._weekdaysParseExact?(xe(this,"_weekdaysRegex")||au.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(xe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=km),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function au(){function e(u,d){return d.length-u.length}var t=[],a=[],i=[],n=[],r,o,s,l,c;for(r=0;r<7;r++)o=da([2e3,1]).day(r),s=yt(this.weekdaysMin(o,"")),l=yt(this.weekdaysShort(o,"")),c=yt(this.weekdays(o,"")),t.push(s),a.push(l),i.push(c),n.push(s),n.push(l),n.push(c);t.sort(e),a.sort(e),i.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function as(){return this.hours()%12||12}function Zm(){return this.hours()||24}Fe("H",["HH",2],0,"hour"),Fe("h",["hh",2],0,as),Fe("k",["kk",2],0,Zm),Fe("hmm",0,0,function(){return""+as.apply(this)+ea(this.minutes(),2)}),Fe("hmmss",0,0,function(){return""+as.apply(this)+ea(this.minutes(),2)+ea(this.seconds(),2)}),Fe("Hmm",0,0,function(){return""+this.hours()+ea(this.minutes(),2)}),Fe("Hmmss",0,0,function(){return""+this.hours()+ea(this.minutes(),2)+ea(this.seconds(),2)});function Fd(e,t){Fe(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Fd("a",!0),Fd("A",!1),ut("hour","h"),dt("hour",13);function md(e,t){return t._meridiemParse}oe("a",md),oe("A",md),oe("H",Ue),oe("h",Ue),oe("k",Ue),oe("HH",Ue,vt),oe("hh",Ue,vt),oe("kk",Ue,vt),oe("hmm",hd),oe("hmmss",fd),oe("Hmm",hd),oe("Hmmss",fd),Ze(["H","HH"],at),Ze(["k","kk"],function(e,t,a){var i=Se(e);t[at]=i===24?0:i}),Ze(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e}),Ze(["h","hh"],function(e,t,a){t[at]=Se(e),Ee(a).bigHour=!0}),Ze("hmm",function(e,t,a){var i=e.length-2;t[at]=Se(e.substr(0,i)),t[Gt]=Se(e.substr(i)),Ee(a).bigHour=!0}),Ze("hmmss",function(e,t,a){var i=e.length-4,n=e.length-2;t[at]=Se(e.substr(0,i)),t[Gt]=Se(e.substr(i,2)),t[ma]=Se(e.substr(n)),Ee(a).bigHour=!0}),Ze("Hmm",function(e,t,a){var i=e.length-2;t[at]=Se(e.substr(0,i)),t[Gt]=Se(e.substr(i))}),Ze("Hmmss",function(e,t,a){var i=e.length-4,n=e.length-2;t[at]=Se(e.substr(0,i)),t[Gt]=Se(e.substr(i,2)),t[ma]=Se(e.substr(n))});function Im(e){return(e+"").toLowerCase().charAt(0)==="p"}var jm=/[ap]\.?m?\.?/i,Pm=En("Hours",!0);function Gm(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"}var wh={calendar:OF,longDateFormat:MF,invalidDate:LF,ordinal:IF,dayOfMonthOrdinalParse:jF,relativeTime:GF,months:am,monthsShort:Ah,week:_m,weekdays:bm,weekdaysMin:ym,weekdaysShort:Nh,meridiemParse:jm},ze={},Sn={},u0;function Um(e,t){var a,i=Math.min(e.length,t.length);for(a=0;a0;){if(n=Eo(r.slice(0,a).join("-")),n)return n;if(i&&i.length>=a&&Um(r,i)>=a-1)break;a--}t++}return u0}function Hm(e){return e.match("^[^/\\\\]*$")!=null}function Eo(e){var t=null,a;if(ze[e]===void 0&&typeof module<"u"&&module&&module.exports&&Hm(e))try{t=u0._abbr,a=require,a("./locale/"+e),Ha(t)}catch{ze[e]=null}return ze[e]}function Ha(e,t){var a;return e&&(_t(t)?a=ka(e):a=iu(e,t),a?u0=a:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),u0._abbr}function iu(e,t){if(t!==null){var a,i=wh;if(t.abbr=e,ze[e]!=null)ph("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ze[e]._config;else if(t.parentLocale!=null)if(ze[t.parentLocale]!=null)i=ze[t.parentLocale]._config;else if(a=Eo(t.parentLocale),a!=null)i=a._config;else return Sn[t.parentLocale]||(Sn[t.parentLocale]=[]),Sn[t.parentLocale].push({name:e,config:t}),null;return ze[e]=new Kl(Us(i,t)),Sn[e]&&Sn[e].forEach(function(n){iu(n.name,n.config)}),Ha(e),ze[e]}else return delete ze[e],null}function zm(e,t){if(t!=null){var a,i,n=wh;ze[e]!=null&&ze[e].parentLocale!=null?ze[e].set(Us(ze[e]._config,t)):(i=Eo(e),i!=null&&(n=i._config),t=Us(n,t),i==null&&(t.abbr=e),a=new Kl(t),a.parentLocale=ze[e],ze[e]=a),Ha(e)}else ze[e]!=null&&(ze[e].parentLocale!=null?(ze[e]=ze[e].parentLocale,e===Ha()&&Ha(e)):ze[e]!=null&&delete ze[e]);return ze[e]}function ka(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return u0;if(!Ut(e)){if(t=Eo(e),t)return t;e=[e]}return qm(e)}function Vm(){return qs(ze)}function nu(e){var t,a=e._a;return a&&Ee(e).overflow===-2&&(t=a[Fa]<0||a[Fa]>11?Fa:a[ta]<1||a[ta]>Do(a[lt],a[Fa])?ta:a[at]<0||a[at]>24||a[at]===24&&(a[Gt]!==0||a[ma]!==0||a[pi]!==0)?at:a[Gt]<0||a[Gt]>59?Gt:a[ma]<0||a[ma]>59?ma:a[pi]<0||a[pi]>999?pi:-1,Ee(e)._overflowDayOfYear&&(tta)&&(t=ta),Ee(e)._overflowWeeks&&t===-1&&(t=XF),Ee(e)._overflowWeekday&&t===-1&&(t=em),Ee(e).overflow=t),e}var $m=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Wm=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qm=/Z|[+-]\d\d(?::?\d\d)?/,w0=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],is=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Jm=/^\/?Date\((-?\d+)/i,Km=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Xm={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Oh(e){var t,a,i=e._i,n=$m.exec(i)||Wm.exec(i),r,o,s,l,c=w0.length,u=is.length;if(n){for(Ee(e).iso=!0,t=0,a=c;tLn(o)||e._dayOfYear===0)&&(Ee(e)._overflowDayOfYear=!0),a=s0(o,0,e._dayOfYear),e._a[Fa]=a.getUTCMonth(),e._a[ta]=a.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=i[t]=n[t];for(;t<7;t++)e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[at]===24&&e._a[Gt]===0&&e._a[ma]===0&&e._a[pi]===0&&(e._nextDay=!0,e._a[at]=0),e._d=(e._useUTC?s0:fm).apply(null,i),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[at]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==r&&(Ee(e).weekdayMismatch=!0)}}function sp(e){var t,a,i,n,r,o,s,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(r=1,o=4,a=ji(t.GG,e._a[lt],l0(qe(),1,4).year),i=ji(t.W,1),n=ji(t.E,1),(n<1||n>7)&&(l=!0)):(r=e._locale._week.dow,o=e._locale._week.doy,c=l0(qe(),r,o),a=ji(t.gg,e._a[lt],c.year),i=ji(t.w,c.week),t.d!=null?(n=t.d,(n<0||n>6)&&(l=!0)):t.e!=null?(n=t.e+r,(t.e<0||t.e>6)&&(l=!0)):n=r),i<1||i>Ta(a,r,o)?Ee(e)._overflowWeeks=!0:l!=null?Ee(e)._overflowWeekday=!0:(s=Rh(a,i,n,r,o),e._a[lt]=s.year,e._dayOfYear=s.dayOfYear)}ie.ISO_8601=function(){},ie.RFC_2822=function(){};function ou(e){if(e._f===ie.ISO_8601){Oh(e);return}if(e._f===ie.RFC_2822){xh(e);return}e._a=[],Ee(e).empty=!0;var t=""+e._i,a,i,n,r,o,s=t.length,l=0,c,u;for(n=Th(e._f,e._locale).match(Xl)||[],u=n.length,a=0;a0&&Ee(e).unusedInput.push(o),t=t.slice(t.indexOf(i)+i.length),l+=i.length),Ki[r]?(i?Ee(e).empty=!1:Ee(e).unusedTokens.push(r),KF(r,i,e)):e._strict&&!i&&Ee(e).unusedTokens.push(r);Ee(e).charsLeftOver=s-l,t.length>0&&Ee(e).unusedInput.push(t),e._a[at]<=12&&Ee(e).bigHour===!0&&e._a[at]>0&&(Ee(e).bigHour=void 0),Ee(e).parsedDateParts=e._a.slice(0),Ee(e).meridiem=e._meridiem,e._a[at]=lp(e._locale,e._a[at],e._meridiem),c=Ee(e).era,c!==null&&(e._a[lt]=e._locale.erasConvertYear(c,e._a[lt])),ru(e),nu(e)}function lp(e,t,a){var i;return a==null?t:e.meridiemHour!=null?e.meridiemHour(t,a):(e.isPM!=null&&(i=e.isPM(a),i&&t<12&&(t+=12),!i&&t===12&&(t=0)),t)}function up(e){var t,a,i,n,r,o,s=!1,l=e._f.length;if(l===0){Ee(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;nthis?this:e:po()});function Mh(e,t){var a,i;if(t.length===1&&Ut(t[0])&&(t=t[0]),!t.length)return qe();for(a=t[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wp(){if(!_t(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Jl(e,this),e=Bh(e),e._a?(t=e._isUTC?da(e._a):qe(e._a),this._isDSTShifted=this.isValid()&&Ep(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Op(){return this.isValid()?!this._isUTC:!1}function xp(){return this.isValid()?this._isUTC:!1}function Dd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bp=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cp=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var a=e,i=null,n,r,o;return er(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:Da(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(i=Bp.exec(e))?(n=i[1]==="-"?-1:1,a={y:0,d:Se(i[ta])*n,h:Se(i[at])*n,m:Se(i[Gt])*n,s:Se(i[ma])*n,ms:Se($s(i[pi]*1e3))*n}):(i=Cp.exec(e))?(n=i[1]==="-"?-1:1,a={y:si(i[2],n),M:si(i[3],n),w:si(i[4],n),d:si(i[5],n),h:si(i[6],n),m:si(i[7],n),s:si(i[8],n)}):a==null?a={}:typeof a=="object"&&("from"in a||"to"in a)&&(o=Mp(qe(a.from),qe(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),r=new bo(a),er(e)&&xe(e,"_locale")&&(r._locale=e._locale),er(e)&&xe(e,"_isValid")&&(r._isValid=e._isValid),r}Ht.fn=bo.prototype,Ht.invalid=Dp;function si(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function Ed(e,t){var a={};return a.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Mp(e,t){var a;return e.isValid()&&t.isValid()?(t=lu(t,e),e.isBefore(t)?a=Ed(e,t):(a=Ed(t,e),a.milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function Yh(e,t){return function(a,i){var n,r;return i!==null&&!isNaN(+i)&&(ph(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=a,a=i,i=r),n=Ht(a,i),Lh(this,n,e),this}}function Lh(e,t,a,i){var n=t._milliseconds,r=$s(t._days),o=$s(t._months);e.isValid()&&(i=i??!0,o&&kh(e,Dr(e,"Month")+o*a),r&&Eh(e,"Date",Dr(e,"Date")+r*a),n&&e._d.setTime(e._d.valueOf()+n*a),i&&ie.updateOffset(e,r||o))}var Yp=Yh(1,"add"),Lp=Yh(-1,"subtract");function Zh(e){return typeof e=="string"||e instanceof String}function Zp(e){return qt(e)||T0(e)||Zh(e)||Da(e)||jp(e)||Ip(e)||e===null||e===void 0}function Ip(e){var t=Ei(e)&&!Wl(e),a=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,r,o=i.length;for(n=0;na.valueOf():a.valueOf()9999?J0(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ca(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",J0(a,"Z")):J0(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eT(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",a,i,n,r;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),a="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=t+'[")]',this.format(a+i+n+r)}function tT(e){e||(e=this.isUtc()?ie.defaultFormatUtc:ie.defaultFormat);var t=J0(this,e);return this.localeData().postformat(t)}function aT(e,t){return this.isValid()&&(qt(e)&&e.isValid()||qe(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function iT(e){return this.from(qe(),e)}function nT(e,t){return this.isValid()&&(qt(e)&&e.isValid()||qe(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rT(e){return this.to(qe(),e)}function Ih(e){var t;return e===void 0?this._locale._abbr:(t=ka(e),t!=null&&(this._locale=t),this)}var jh=Ct("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ph(){return this._locale}var kr=1e3,Xi=60*kr,vr=60*Xi,Gh=(365*400+97)*24*vr;function en(e,t){return(e%t+t)%t}function Uh(e,t,a){return e<100&&e>=0?new Date(e+400,t,a)-Gh:new Date(e,t,a).valueOf()}function qh(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-Gh:Date.UTC(e,t,a)}function oT(e){var t,a;if(e=It(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?qh:Uh,e){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=en(t+(this._isUTC?0:this.utcOffset()*Xi),vr);break;case"minute":t=this._d.valueOf(),t-=en(t,Xi);break;case"second":t=this._d.valueOf(),t-=en(t,kr);break}return this._d.setTime(t),ie.updateOffset(this,!0),this}function sT(e){var t,a;if(e=It(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?qh:Uh,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=vr-en(t+(this._isUTC?0:this.utcOffset()*Xi),vr)-1;break;case"minute":t=this._d.valueOf(),t+=Xi-en(t,Xi)-1;break;case"second":t=this._d.valueOf(),t+=kr-en(t,kr)-1;break}return this._d.setTime(t),ie.updateOffset(this,!0),this}function lT(){return this._d.valueOf()-(this._offset||0)*6e4}function uT(){return Math.floor(this.valueOf()/1e3)}function dT(){return new Date(this.valueOf())}function cT(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function hT(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function fT(){return this.isValid()?this.toISOString():null}function gT(){return Ql(this)}function _T(){return Ua({},Ee(this))}function FT(){return Ee(this).overflow}function mT(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Fe("N",0,0,"eraAbbr"),Fe("NN",0,0,"eraAbbr"),Fe("NNN",0,0,"eraAbbr"),Fe("NNNN",0,0,"eraName"),Fe("NNNNN",0,0,"eraNarrow"),Fe("y",["y",1],"yo","eraYear"),Fe("y",["yy",2],0,"eraYear"),Fe("y",["yyy",3],0,"eraYear"),Fe("y",["yyyy",4],0,"eraYear"),oe("N",ns),oe("NN",ns),oe("NNN",ns),oe("NNNN",RT),oe("NNNNN",NT),Ze(["N","NN","NNN","NNNN","NNNNN"],function(e,t,a,i){var n=a._locale.erasParse(e,i,a._strict);n?Ee(a).era=n:Ee(a).invalidEra=e}),oe("y",qi),oe("yy",qi),oe("yyy",qi),oe("yyyy",qi),oe("yo",wT),Ze(["y","yy","yyy","yyyy"],lt),Ze(["yo"],function(e,t,a,i){var n;a._locale._eraYearOrdinalRegex&&(n=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[lt]=a._locale.eraYearOrdinalParse(e,n):t[lt]=parseInt(e,10)});function pT(e,t){var a,i,n,r=this._eras||ka("en")._eras;for(a=0,i=r.length;a=0)return r[i]}function DT(e,t){var a=e.since<=e.until?1:-1;return t===void 0?ie(e.since).year():ie(e.since).year()+(t-e.offset)*a}function ET(){var e,t,a,i=this.localeData().eras();for(e=0,t=i.length;er&&(t=r),LT.call(this,e,t,a,i,n))}function LT(e,t,a,i,n){var r=Rh(e,t,a,i,n),o=s0(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Fe("Q",0,"Qo","quarter"),ut("quarter","Q"),dt("quarter",7),oe("Q",bh),Ze("Q",function(e,t){t[Fa]=(Se(e)-1)*3});function ZT(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Fe("D",["DD",2],"Do","date"),ut("date","D"),dt("date",9),oe("D",Ue),oe("DD",Ue,vt),oe("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Ze(["D","DD"],ta),Ze("Do",function(e,t){t[ta]=Se(e.match(Ue)[0])});var bd=En("Date",!0);Fe("DDD",["DDDD",3],"DDDo","dayOfYear"),ut("dayOfYear","DDD"),dt("dayOfYear",4),oe("DDD",K0),oe("DDDD",yh),Ze(["DDD","DDDD"],function(e,t,a){a._dayOfYear=Se(e)});function IT(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Fe("m",["mm",2],0,"minute"),ut("minute","m"),dt("minute",14),oe("m",Ue),oe("mm",Ue,vt),Ze(["m","mm"],Gt);var jT=En("Minutes",!1);Fe("s",["ss",2],0,"second"),ut("second","s"),dt("second",15),oe("s",Ue),oe("ss",Ue,vt),Ze(["s","ss"],ma);var PT=En("Seconds",!1);Fe("S",0,0,function(){return~~(this.millisecond()/100)}),Fe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Fe(0,["SSS",3],0,"millisecond"),Fe(0,["SSSS",4],0,function(){return this.millisecond()*10}),Fe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Fe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Fe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Fe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Fe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ut("millisecond","ms"),dt("millisecond",16),oe("S",K0,bh),oe("SS",K0,vt),oe("SSS",K0,yh);var qa,zh;for(qa="SSSS";qa.length<=9;qa+="S")oe(qa,qi);function GT(e,t){t[pi]=Se(("0."+e)*1e3)}for(qa="S";qa.length<=9;qa+="S")Ze(qa,GT);zh=En("Milliseconds",!1),Fe("z",0,0,"zoneAbbr"),Fe("zz",0,0,"zoneName");function UT(){return this._isUTC?"UTC":""}function qT(){return this._isUTC?"Coordinated Universal Time":""}var Q=D0.prototype;Q.add=Yp,Q.calendar=Up,Q.clone=qp,Q.diff=Jp,Q.endOf=sT,Q.format=tT,Q.from=aT,Q.fromNow=iT,Q.to=nT,Q.toNow=rT,Q.get=zF,Q.invalidAt=FT,Q.isAfter=Hp,Q.isBefore=zp,Q.isBetween=Vp,Q.isSame=$p,Q.isSameOrAfter=Wp,Q.isSameOrBefore=Qp,Q.isValid=gT,Q.lang=jh,Q.locale=Ih,Q.localeData=Ph,Q.max=gp,Q.min=fp,Q.parsingFlags=_T,Q.set=VF,Q.startOf=oT,Q.subtract=Lp,Q.toArray=cT,Q.toObject=hT,Q.toDate=dT,Q.toISOString=Xp,Q.inspect=eT,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=fT,Q.toString=Kp,Q.unix=uT,Q.valueOf=lT,Q.creationData=mT,Q.eraName=ET,Q.eraNarrow=bT,Q.eraAbbr=yT,Q.eraYear=AT,Q.year=_d,Q.isLeapYear=hm,Q.weekYear=OT,Q.isoWeekYear=xT,Q.quarter=Q.quarters=ZT,Q.month=gd,Q.daysInMonth=um,Q.week=Q.weeks=pm,Q.isoWeek=Q.isoWeeks=Tm,Q.weeksInYear=MT,Q.weeksInWeekYear=YT,Q.isoWeeksInYear=BT,Q.isoWeeksInISOWeekYear=CT,Q.date=bd,Q.day=Q.days=xm,Q.weekday=Bm,Q.isoWeekday=Cm,Q.dayOfYear=IT,Q.hour=Q.hours=Pm,Q.minute=Q.minutes=jT,Q.second=Q.seconds=PT,Q.millisecond=Q.milliseconds=zh,Q.utcOffset=yp,Q.utc=Sp,Q.local=kp,Q.parseZone=vp,Q.hasAlignedHourOffset=Rp,Q.isDST=Np,Q.isLocal=Op,Q.isUtcOffset=xp,Q.isUtc=Dd,Q.isUTC=Dd,Q.zoneAbbr=UT,Q.zoneName=qT,Q.dates=Ct("dates accessor is deprecated. Use date instead.",bd),Q.months=Ct("months accessor is deprecated. Use month instead",gd),Q.years=Ct("years accessor is deprecated. Use year instead",_d),Q.zone=Ct("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ap),Q.isDSTShifted=Ct("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wp);function HT(e){return qe(e*1e3)}function zT(){return qe.apply(null,arguments).parseZone()}function yd(e){return e}var Oe=Kl.prototype;Oe.calendar=xF,Oe.longDateFormat=YF,Oe.invalidDate=ZF,Oe.ordinal=PF,Oe.preparse=yd,Oe.postformat=yd,Oe.relativeTime=UF,Oe.pastFuture=qF,Oe.set=wF,Oe.eras=pT,Oe.erasParse=TT,Oe.erasConvertYear=DT,Oe.erasAbbrRegex=kT,Oe.erasNameRegex=ST,Oe.erasNarrowRegex=vT,Oe.months=rm,Oe.monthsShort=om,Oe.monthsParse=lm,Oe.monthsRegex=cm,Oe.monthsShortRegex=dm,Oe.week=gm,Oe.firstDayOfYear=mm,Oe.firstDayOfWeek=Fm,Oe.weekdays=vm,Oe.weekdaysMin=Nm,Oe.weekdaysShort=Rm,Oe.weekdaysParse=Om,Oe.weekdaysRegex=Mm,Oe.weekdaysShortRegex=Ym,Oe.weekdaysMinRegex=Lm,Oe.isPM=Im,Oe.meridiem=Gm;function Rr(e,t,a,i){var n=ka(),r=da().set(i,t);return n[a](r,e)}function Vh(e,t,a){if(Da(e)&&(t=e,e=void 0),e=e||"",t!=null)return Rr(e,t,a,"month");var i,n=[];for(i=0;i<12;i++)n[i]=Rr(e,i,a,"month");return n}function du(e,t,a,i){typeof e=="boolean"?(Da(t)&&(a=t,t=void 0),t=t||""):(t=e,a=t,e=!1,Da(t)&&(a=t,t=void 0),t=t||"");var n=ka(),r=e?n._week.dow:0,o,s=[];if(a!=null)return Rr(t,(a+r)%7,i,"day");for(o=0;o<7;o++)s[o]=Rr(t,(o+r)%7,i,"day");return s}function VT(e,t){return Vh(e,t,"months")}function $T(e,t){return Vh(e,t,"monthsShort")}function WT(e,t,a){return du(e,t,a,"weekdays")}function QT(e,t,a){return du(e,t,a,"weekdaysShort")}function JT(e,t,a){return du(e,t,a,"weekdaysMin")}Ha("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,a=Se(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+a}}),ie.lang=Ct("moment.lang is deprecated. Use moment.locale instead.",Ha),ie.langData=Ct("moment.langData is deprecated. Use moment.localeData instead.",ka);var fa=Math.abs;function KT(){var e=this._data;return this._milliseconds=fa(this._milliseconds),this._days=fa(this._days),this._months=fa(this._months),e.milliseconds=fa(e.milliseconds),e.seconds=fa(e.seconds),e.minutes=fa(e.minutes),e.hours=fa(e.hours),e.months=fa(e.months),e.years=fa(e.years),this}function $h(e,t,a,i){var n=Ht(t,a);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function XT(e,t){return $h(this,e,t,1)}function e2(e,t){return $h(this,e,t,-1)}function Ad(e){return e<0?Math.floor(e):Math.ceil(e)}function t2(){var e=this._milliseconds,t=this._days,a=this._months,i=this._data,n,r,o,s,l;return e>=0&&t>=0&&a>=0||e<=0&&t<=0&&a<=0||(e+=Ad(Qs(a)+t)*864e5,t=0,a=0),i.milliseconds=e%1e3,n=xt(e/1e3),i.seconds=n%60,r=xt(n/60),i.minutes=r%60,o=xt(r/60),i.hours=o%24,t+=xt(o/24),l=xt(Wh(t)),a+=l,t-=Ad(Qs(l)),s=xt(a/12),a%=12,i.days=t,i.months=a,i.years=s,this}function Wh(e){return e*4800/146097}function Qs(e){return e*146097/4800}function a2(e){if(!this.isValid())return NaN;var t,a,i=this._milliseconds;if(e=It(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+i/864e5,a=this._months+Wh(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(Qs(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+e)}}function i2(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Se(this._months/12)*31536e6:NaN}function va(e){return function(){return this.as(e)}}var n2=va("ms"),r2=va("s"),o2=va("m"),s2=va("h"),l2=va("d"),u2=va("w"),d2=va("M"),c2=va("Q"),h2=va("y");function f2(){return Ht(this)}function g2(e){return e=It(e),this.isValid()?this[e+"s"]():NaN}function Ni(e){return function(){return this.isValid()?this._data[e]:NaN}}var _2=Ni("milliseconds"),F2=Ni("seconds"),m2=Ni("minutes"),p2=Ni("hours"),T2=Ni("days"),D2=Ni("months"),E2=Ni("years");function b2(){return xt(this.days()/7)}var _a=Math.round,Hi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function y2(e,t,a,i,n){return n.relativeTime(t||1,!!a,e,i)}function A2(e,t,a,i){var n=Ht(e).abs(),r=_a(n.as("s")),o=_a(n.as("m")),s=_a(n.as("h")),l=_a(n.as("d")),c=_a(n.as("M")),u=_a(n.as("w")),d=_a(n.as("y")),f=r<=a.ss&&["s",r]||r0,f[4]=i,y2.apply(null,f)}function S2(e){return e===void 0?_a:typeof e=="function"?(_a=e,!0):!1}function k2(e,t){return Hi[e]===void 0?!1:t===void 0?Hi[e]:(Hi[e]=t,e==="s"&&(Hi.ss=t-1),!0)}function v2(e,t){if(!this.isValid())return this.localeData().invalidDate();var a=!1,i=Hi,n,r;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(a=e),typeof t=="object"&&(i=Object.assign({},Hi,t),t.s!=null&&t.ss==null&&(i.ss=t.s-1)),n=this.localeData(),r=A2(this,!a,i,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var rs=Math.abs;function xi(e){return(e>0)-(e<0)||+e}function x0(){if(!this.isValid())return this.localeData().invalidDate();var e=rs(this._milliseconds)/1e3,t=rs(this._days),a=rs(this._months),i,n,r,o,s=this.asSeconds(),l,c,u,d;return s?(i=xt(e/60),n=xt(i/60),e%=60,i%=60,r=xt(a/12),a%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",c=xi(this._months)!==xi(s)?"-":"",u=xi(this._days)!==xi(s)?"-":"",d=xi(this._milliseconds)!==xi(s)?"-":"",l+"P"+(r?c+r+"Y":"")+(a?c+a+"M":"")+(t?u+t+"D":"")+(n||i||e?"T":"")+(n?d+n+"H":"")+(i?d+i+"M":"")+(e?d+o+"S":"")):"P0D"}var Ne=bo.prototype;Ne.isValid=Tp,Ne.abs=KT,Ne.add=XT,Ne.subtract=e2,Ne.as=a2,Ne.asMilliseconds=n2,Ne.asSeconds=r2,Ne.asMinutes=o2,Ne.asHours=s2,Ne.asDays=l2,Ne.asWeeks=u2,Ne.asMonths=d2,Ne.asQuarters=c2,Ne.asYears=h2,Ne.valueOf=i2,Ne._bubble=t2,Ne.clone=f2,Ne.get=g2,Ne.milliseconds=_2,Ne.seconds=F2,Ne.minutes=m2,Ne.hours=p2,Ne.days=T2,Ne.weeks=b2,Ne.months=D2,Ne.years=E2,Ne.humanize=v2,Ne.toISOString=x0,Ne.toString=x0,Ne.toJSON=x0,Ne.locale=Ih,Ne.localeData=Ph,Ne.toIsoString=Ct("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",x0),Ne.lang=jh,Fe("X",0,0,"unix"),Fe("x",0,0,"valueOf"),oe("x",yr),oe("X",WF),Ze("X",function(e,t,a){a._d=new Date(parseFloat(e)*1e3)}),Ze("x",function(e,t,a){a._d=new Date(Se(e))});ie.version="2.29.4",RF(qe),ie.fn=Q,ie.min=_p,ie.max=Fp,ie.now=mp,ie.utc=da,ie.unix=HT,ie.months=VT,ie.isDate=T0,ie.locale=Ha,ie.invalid=po,ie.duration=Ht,ie.isMoment=qt,ie.weekdays=WT,ie.parseZone=zT,ie.localeData=ka,ie.isDuration=er,ie.monthsShort=$T,ie.weekdaysMin=JT,ie.defineLocale=iu,ie.updateLocale=zm,ie.locales=Vm,ie.weekdaysShort=QT,ie.normalizeUnits=It,ie.relativeTimeRounding=S2,ie.relativeTimeThreshold=k2,ie.calendarFormat=Gp,ie.prototype=Q,ie.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const R2=Object.freeze(Object.defineProperty({__proto__:null,default:ie},Symbol.toStringTag,{value:"Module"})),N2=Gl(R2),w2=Gl(Q_);(function(e,t){(function(a,i){e.exports=i()})(self,function(){return function(){var a={n:function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return a.d(h,{a:h}),h},d:function(f,h){for(var g in h)a.o(h,g)&&!a.o(f,g)&&Object.defineProperty(f,g,{enumerable:!0,get:h[g]})},o:function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},r:function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})}},i={};a.r(i),a.d(i,{default:function(){return d}});var n=N2,r=a.n(n),o=lF(),s=a.n(o),l=w2,c=new(s()),u=(0,l.getLocale)();[{locale:"ar",json:{charset:"utf-8",headers:{"Last-Translator":"Ali , 2023","Language-Team":"Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)","Content-Type":"text/plain; charset=UTF-8",Language:"ar","Plural-Forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"},translations:{"":{"":{msgid:"",comments:{translator:` @@ -924,7 +924,7 @@ Language-Team: Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236 Content-Type: text/plain; charset=UTF-8 Language: zh_TW Plural-Forms: nplurals=1; plural=0; -`]},seconds:{msgid:"seconds",comments:{reference:"lib/index.ts:22"},msgstr:["秒"]}}}}}].find(function(f){return f.locale===u}))&&r().updateLocale(r().locale(),{relativeTime:{s:c.gettext("seconds")}});var d=r();return i}()})})(gh);var O2=gh.exports;const os=ti(O2);const x2={name:"NcButton",props:{alignment:{type:String,default:"center",validator:e=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(e)},disabled:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)!==-1},default:"secondary"},nativeType:{type:String,validator(e){return["submit","reset","button"].indexOf(e)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null}},emits:["update:pressed","click"],computed:{realType(){return this.pressed?"primary":this.pressed===!1&&this.type==="primary"?"secondary":this.type},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")}},render(e){var t,a,i;const n=!!this.$slots.default,r=(t=this.$slots)==null?void 0:t.icon;!n&&!this.ariaLabel&&console.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:(i=(a=this.$slots.default)==null?void 0:a[0])==null?void 0:i.text,ariaLabel:this.ariaLabel},this);const o=({navigate:s,isActive:l,isExactActive:c}={})=>e(this.to||!this.href?"button":"a",{class:["button-vue",{"button-vue--icon-only":r&&!n,"button-vue--text-only":n&&!r,"button-vue--icon-and-text":r&&n,[`button-vue--vue-${this.realType}`]:this.realType,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:l,"router-link-exact-active":c}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":this.pressed,disabled:this.disabled,type:this.href?null:this.nativeType,role:this.href?"button":null,href:!this.to&&this.href?this.href:null,target:!this.to&&this.href?"_self":null,rel:!this.to&&this.href?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.$attrs},on:{...this.$listeners,click:u=>{typeof this.pressed=="boolean"&&this.$emit("update:pressed",!this.pressed),this.$emit("click",u),s?.(u)}}},[e("span",{class:"button-vue__wrapper"},[r?e("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,n?e("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?e("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:o}}):o()}},B2=null,C2=null;var M2=de(x2,B2,C2,!1,null,"8f4e0666",null,null);const ai=M2.exports;function Ra(e){return e.split("-")[0]}function tn(e){return e.split("-")[1]}function b0(e){return["top","bottom"].includes(Ra(e))?"x":"y"}function cu(e){return e==="y"?"height":"width"}function Sd(e){let{reference:t,floating:a,placement:i}=e;const n=t.x+t.width/2-a.width/2,r=t.y+t.height/2-a.height/2;let o;switch(Ra(i)){case"top":o={x:n,y:t.y-a.height};break;case"bottom":o={x:n,y:t.y+t.height};break;case"right":o={x:t.x+t.width,y:r};break;case"left":o={x:t.x-a.width,y:r};break;default:o={x:t.x,y:t.y}}const s=b0(i),l=cu(s);switch(tn(i)){case"start":o[s]=o[s]-(t[l]/2-a[l]/2);break;case"end":o[s]=o[s]+(t[l]/2-a[l]/2);break}return o}const Y2=async(e,t,a)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:o}=a;let s=await o.getElementRects({reference:e,floating:t,strategy:n}),{x:l,y:c}=Sd({...s,placement:i}),u=i,d={};for(let f=0;f({name:"arrow",options:e,async fn(t){const{element:a,padding:i=0}=e??{},{x:n,y:r,placement:o,rects:s,platform:l}=t;if(a==null)return{};const c=Qh(i),u={x:n,y:r},d=Ra(o),f=b0(d),h=cu(f),g=await l.getDimensions({element:a}),m=f==="y"?"top":"left",p=f==="y"?"bottom":"right",T=s.reference[h]+s.reference[f]-u[f]-s.floating[h],R=u[f]-s.reference[f],k=await l.getOffsetParent({element:a}),C=k?f==="y"?k.clientHeight||0:k.clientWidth||0:0,j=T/2-R/2,E=c[m],I=C-g[h]-c[p],M=C/2-g[h]/2+j,P=Ks(E,M,I);return{data:{[f]:P,centerOffset:M-P}}}}),j2={left:"right",right:"left",bottom:"top",top:"bottom"};function Nr(e){return e.replace(/left|right|bottom|top/g,t=>j2[t])}function Jh(e,t){const a=tn(e)==="start",i=b0(e),n=cu(i);let r=i==="x"?a?"right":"left":a?"bottom":"top";return t.reference[n]>t.floating[n]&&(r=Nr(r)),{main:r,cross:Nr(r)}}const P2={start:"end",end:"start"};function Xs(e){return e.replace(/start|end/g,t=>P2[t])}const G2=["top","right","bottom","left"],U2=G2.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function q2(e,t,a){return(e?[...a.filter(i=>tn(i)===e),...a.filter(i=>tn(i)!==e)]:a.filter(i=>Ra(i)===i)).filter(i=>e?tn(i)===e||(t?Xs(i)!==i:!1):!0)}const H2=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var a,i,n,r,o,s;const{x:l,y:c,rects:u,middlewareData:d,placement:f}=t,{alignment:h=null,allowedPlacements:g=U2,autoAlignment:m=!0,...p}=e;if((a=d.autoPlacement)!=null&&a.skip)return{};const T=q2(h,m,g),R=await yo(t,p),k=(i=(n=d.autoPlacement)==null?void 0:n.index)!=null?i:0,C=T[k],{main:j,cross:E}=Jh(C,u);if(f!==C)return{x:l,y:c,reset:{placement:T[0]}};const I=[R[Ra(C)],R[j],R[E]],M=[...(r=(o=d.autoPlacement)==null?void 0:o.overflows)!=null?r:[],{placement:C,overflows:I}],P=T[k+1];if(P)return{data:{index:k+1,overflows:M},reset:{placement:P}};const _=M.slice().sort((S,x)=>S.overflows[0]-x.overflows[0]),D=(s=_.find(S=>{let{overflows:x}=S;return x.every(L=>L<=0)}))==null?void 0:s.placement;return{data:{skip:!0},reset:{placement:D??_[0].placement}}}}};function z2(e){const t=Nr(e);return[Xs(e),t,Xs(t)]}const V2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,i;const{placement:n,middlewareData:r,rects:o,initialPlacement:s}=t;if((a=r.flip)!=null&&a.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",flipAlignment:f=!0,...h}=e,g=Ra(n),m=u||(g===s||!f?[Nr(s)]:z2(s)),p=[s,...m],T=await yo(t,h),R=[];let k=((i=r.flip)==null?void 0:i.overflows)||[];if(l&&R.push(T[g]),c){const{main:I,cross:M}=Jh(n,o);R.push(T[I],T[M])}if(k=[...k,{placement:n,overflows:R}],!R.every(I=>I<=0)){var C,j;const I=((C=(j=r.flip)==null?void 0:j.index)!=null?C:0)+1,M=p[I];if(M)return{data:{index:I,overflows:k},reset:{placement:M}};let P="bottom";switch(d){case"bestFit":{var E;const _=(E=k.slice().sort((D,S)=>D.overflows.filter(x=>x>0).reduce((x,L)=>x+L,0)-S.overflows.filter(x=>x>0).reduce((x,L)=>x+L,0))[0])==null?void 0:E.placement;_&&(P=_);break}case"initialPlacement":P=s;break}return{data:{skip:!0},reset:{placement:P}}}return{}}}};function $2(e){let{placement:t,rects:a,value:i}=e;const n=Ra(t),r=["left","top"].includes(n)?-1:1,o=typeof i=="function"?i({...a,placement:t}):i,{mainAxis:s,crossAxis:l}=typeof o=="number"?{mainAxis:o,crossAxis:0}:{mainAxis:0,crossAxis:0,...o};return b0(n)==="x"?{x:l,y:s*r}:{x:s*r,y:l}}const W2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:a,y:i,placement:n,rects:r}=t,o=$2({placement:n,rects:r,value:e});return{x:a+o.x,y:i+o.y,data:o}}}};function Q2(e){return e==="x"?"y":"x"}const J2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:i,placement:n}=t,{mainAxis:r=!0,crossAxis:o=!1,limiter:s={fn:p=>{let{x:T,y:R}=p;return{x:T,y:R}}},...l}=e,c={x:a,y:i},u=await yo(t,l),d=b0(Ra(n)),f=Q2(d);let h=c[d],g=c[f];if(r){const p=d==="y"?"top":"left",T=d==="y"?"bottom":"right",R=h+u[p],k=h-u[T];h=Ks(R,h,k)}if(o){const p=f==="y"?"top":"left",T=f==="y"?"bottom":"right",R=g+u[p],k=g-u[T];g=Ks(R,g,k)}const m=s.fn({...t,[d]:h,[f]:g});return{...m,data:{x:m.x-a,y:m.y-i}}}}},K2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a;const{placement:i,rects:n,middlewareData:r}=t,{apply:o,...s}=e;if((a=r.size)!=null&&a.skip)return{};const l=await yo(t,s),c=Ra(i),u=tn(i)==="end";let d,f;c==="top"||c==="bottom"?(d=c,f=u?"left":"right"):(f=c,d=u?"top":"bottom");const h=hi(l.left,0),g=hi(l.right,0),m=hi(l.top,0),p=hi(l.bottom,0),T={height:n.floating.height-(["left","right"].includes(i)?2*(m!==0||p!==0?m+p:hi(l.top,l.bottom)):l[d]),width:n.floating.width-(["top","bottom"].includes(i)?2*(h!==0||g!==0?h+g:hi(l.left,l.right)):l[f])};return o?.({...T,...n}),{data:{skip:!0},reset:{rects:!0}}}}};function hu(e){return e?.toString()==="[object Window]"}function ii(e){if(e==null)return window;if(!hu(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ao(e){return ii(e).getComputedStyle(e)}function Ea(e){return hu(e)?"":e?(e.nodeName||"").toLowerCase():""}function ba(e){return e instanceof ii(e).HTMLElement}function wr(e){return e instanceof ii(e).Element}function X2(e){return e instanceof ii(e).Node}function Kh(e){const t=ii(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function So(e){const{overflow:t,overflowX:a,overflowY:i}=Ao(e);return/auto|scroll|overlay|hidden/.test(t+i+a)}function e3(e){return["table","td","th"].includes(Ea(e))}function Xh(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),a=Ao(e);return a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].includes(a.willChange)||t&&a.willChange==="filter"||t&&(a.filter?a.filter!=="none":!1)}const kd=Math.min,Zn=Math.max,Or=Math.round;function ln(e,t){t===void 0&&(t=!1);const a=e.getBoundingClientRect();let i=1,n=1;return t&&ba(e)&&(i=e.offsetWidth>0&&Or(a.width)/e.offsetWidth||1,n=e.offsetHeight>0&&Or(a.height)/e.offsetHeight||1),{width:a.width/i,height:a.height/n,top:a.top/n,right:a.right/i,bottom:a.bottom/n,left:a.left/i,x:a.left/i,y:a.top/n}}function ni(e){return((X2(e)?e.ownerDocument:e.document)||window.document).documentElement}function ko(e){return hu(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ef(e){return ln(ni(e)).left+ko(e).scrollLeft}function t3(e){const t=ln(e);return Or(t.width)!==e.offsetWidth||Or(t.height)!==e.offsetHeight}function a3(e,t,a){const i=ba(t),n=ni(t),r=ln(e,i&&t3(t));let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(i||!i&&a!=="fixed")if((Ea(t)!=="body"||So(n))&&(o=ko(t)),ba(t)){const l=ln(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else n&&(s.x=ef(n));return{x:r.left+o.scrollLeft-s.x,y:r.top+o.scrollTop-s.y,width:r.width,height:r.height}}function vo(e){return Ea(e)==="html"?e:e.assignedSlot||e.parentNode||(Kh(e)?e.host:null)||ni(e)}function vd(e){return!ba(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function i3(e){let t=vo(e);for(;ba(t)&&!["html","body"].includes(Ea(t));){if(Xh(t))return t;t=t.parentNode}return null}function el(e){const t=ii(e);let a=vd(e);for(;a&&e3(a)&&getComputedStyle(a).position==="static";)a=vd(a);return a&&(Ea(a)==="html"||Ea(a)==="body"&&getComputedStyle(a).position==="static"&&!Xh(a))?t:a||i3(e)||t}function Rd(e){return{width:e.offsetWidth,height:e.offsetHeight}}function n3(e){let{rect:t,offsetParent:a,strategy:i}=e;const n=ba(a),r=ni(a);if(a===r)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((n||!n&&i!=="fixed")&&((Ea(a)!=="body"||So(r))&&(o=ko(a)),ba(a))){const l=ln(a,!0);s.x=l.x+a.clientLeft,s.y=l.y+a.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}}function r3(e){const t=ii(e),a=ni(e),i=t.visualViewport;let n=a.clientWidth,r=a.clientHeight,o=0,s=0;return i&&(n=i.width,r=i.height,Math.abs(t.innerWidth/i.scale-i.width)<.01&&(o=i.offsetLeft,s=i.offsetTop)),{width:n,height:r,x:o,y:s}}function o3(e){var t;const a=ni(e),i=ko(e),n=(t=e.ownerDocument)==null?void 0:t.body,r=Zn(a.scrollWidth,a.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=Zn(a.scrollHeight,a.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0);let s=-i.scrollLeft+ef(e);const l=-i.scrollTop;return Ao(n||a).direction==="rtl"&&(s+=Zn(a.clientWidth,n?n.clientWidth:0)-r),{width:r,height:o,x:s,y:l}}function tf(e){return["html","body","#document"].includes(Ea(e))?e.ownerDocument.body:ba(e)&&So(e)?e:tf(vo(e))}function xr(e,t){var a;t===void 0&&(t=[]);const i=tf(e),n=i===((a=e.ownerDocument)==null?void 0:a.body),r=ii(i),o=n?[r].concat(r.visualViewport||[],So(i)?i:[]):i,s=t.concat(o);return n?s:s.concat(xr(vo(o)))}function s3(e,t){const a=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(a&&Kh(a)){let i=t;do{if(i&&e===i)return!0;i=i.parentNode||i.host}while(i)}return!1}function l3(e){const t=ln(e),a=t.top+e.clientTop,i=t.left+e.clientLeft;return{top:a,left:i,x:i,y:a,right:i+e.clientWidth,bottom:a+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Nd(e,t){return t==="viewport"?Js(r3(e)):wr(t)?l3(t):Js(o3(ni(e)))}function u3(e){const t=xr(vo(e)),a=["absolute","fixed"].includes(Ao(e).position)&&ba(e)?el(e):e;return wr(a)?t.filter(i=>wr(i)&&s3(i,a)&&Ea(i)!=="body"):[]}function d3(e){let{element:t,boundary:a,rootBoundary:i}=e;const n=[...a==="clippingParents"?u3(t):[].concat(a),i],r=n[0],o=n.reduce((s,l)=>{const c=Nd(t,l);return s.top=Zn(c.top,s.top),s.right=kd(c.right,s.right),s.bottom=kd(c.bottom,s.bottom),s.left=Zn(c.left,s.left),s},Nd(t,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}const c3={getElementRects:e=>{let{reference:t,floating:a,strategy:i}=e;return{reference:a3(t,el(a),i),floating:{...Rd(a),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>n3(e),getOffsetParent:e=>{let{element:t}=e;return el(t)},isElement:e=>wr(e),getDocumentElement:e=>{let{element:t}=e;return ni(t)},getClippingClientRect:e=>d3(e),getDimensions:e=>{let{element:t}=e;return Rd(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},h3=(e,t,a)=>Y2(e,t,{platform:c3,...a});var f3=Object.defineProperty,g3=Object.defineProperties,_3=Object.getOwnPropertyDescriptors,Br=Object.getOwnPropertySymbols,af=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable,wd=(e,t,a)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ja=(e,t)=>{for(var a in t||(t={}))af.call(t,a)&&wd(e,a,t[a]);if(Br)for(var a of Br(t))nf.call(t,a)&&wd(e,a,t[a]);return e},Ro=(e,t)=>g3(e,_3(t)),F3=(e,t)=>{var a={};for(var i in e)af.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&Br)for(var i of Br(e))t.indexOf(i)<0&&nf.call(e,i)&&(a[i]=e[i]);return a};function rf(e,t){for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(typeof t[a]=="object"&&e[a]?rf(e[a],t[a]):e[a]=t[a])}const ra={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function un(e,t){let a=ra.themes[e]||{},i;do i=a[t],typeof i>"u"?a.$extend?a=ra.themes[a.$extend]||{}:(a=null,i=ra[t]):a=null;while(a);return i}function m3(e){const t=[e];let a=ra.themes[e]||{};do a.$extend&&!a.$resetCss?(t.push(a.$extend),a=ra.themes[a.$extend]||{}):a=null;while(a);return t.map(i=>`v-popper--theme-${i}`)}function Od(e){const t=[e];let a=ra.themes[e]||{};do a.$extend?(t.push(a.$extend),a=ra.themes[a.$extend]||{}):a=null;while(a);return t}let Si=!1;if(typeof window<"u"){Si=!1;try{const e=Object.defineProperty({},"passive",{get(){Si=!0}});window.addEventListener("test",null,e)}catch{}}let of=!1;typeof window<"u"&&typeof navigator<"u"&&(of=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const sf=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),xd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Bd={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Cd(e,t){const a=e.indexOf(t);a!==-1&&e.splice(a,1)}function ss(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Pt=[];let li=null;const Md={};function Yd(e){let t=Md[e];return t||(t=Md[e]=[]),t}let tl=function(){};typeof window<"u"&&(tl=window.Element);function we(e){return function(){const t=this.$props;return un(t.theme,e)}}const ls="__floating-vue__popper";var lf=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:we("disabled")},positioningDisabled:{type:Boolean,default:we("positioningDisabled")},placement:{type:String,default:we("placement"),validator:e=>sf.includes(e)},delay:{type:[String,Number,Object],default:we("delay")},distance:{type:[Number,String],default:we("distance")},skidding:{type:[Number,String],default:we("skidding")},triggers:{type:Array,default:we("triggers")},showTriggers:{type:[Array,Function],default:we("showTriggers")},hideTriggers:{type:[Array,Function],default:we("hideTriggers")},popperTriggers:{type:Array,default:we("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:we("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:we("popperHideTriggers")},container:{type:[String,Object,tl,Boolean],default:we("container")},boundary:{type:[String,tl],default:we("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:we("strategy")},autoHide:{type:[Boolean,Function],default:we("autoHide")},handleResize:{type:Boolean,default:we("handleResize")},instantMove:{type:Boolean,default:we("instantMove")},eagerMount:{type:Boolean,default:we("eagerMount")},popperClass:{type:[String,Array,Object],default:we("popperClass")},computeTransformOrigin:{type:Boolean,default:we("computeTransformOrigin")},autoMinSize:{type:Boolean,default:we("autoMinSize")},autoSize:{type:[Boolean,String],default:we("autoSize")},autoMaxSize:{type:Boolean,default:we("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:we("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:we("preventOverflow")},overflowPadding:{type:[Number,String],default:we("overflowPadding")},arrowPadding:{type:[Number,String],default:we("arrowPadding")},arrowOverflow:{type:Boolean,default:we("arrowOverflow")},flip:{type:Boolean,default:we("flip")},shift:{type:Boolean,default:we("shift")},shiftCrossAxis:{type:Boolean,default:we("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:we("noAutoFocus")}},provide(){return{[ls]:{parentPopper:this}}},inject:{[ls]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:Ro(ja({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var e;return(e=this[ls])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:ja(ja({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:a=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(a||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1,skipAiming:a=!1}={}){var i;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!a&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(W2({mainAxis:this.distance,crossAxis:this.skidding}));const a=this.placement.startsWith("auto");if(a?t.middleware.push(H2({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(J2({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!a&&this.flip&&t.middleware.push(V2({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(I2({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:r,middlewareData:o})=>{let s;const{centerOffset:l}=o.arrow;return n.startsWith("top")||n.startsWith("bottom")?s=Math.abs(l)>r.reference.width/2:s=Math.abs(l)>r.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let c,u;return o.startsWith("top")||o.startsWith("bottom")?c=r.reference.width:u=r.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(K2({boundary:this.boundary,padding:this.overflowPadding,apply:({width:n,height:r})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const i=await h3(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:ja(ja({},i.middlewareData.arrow),i.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),li&&this.instantMove&&li.instantMove&&li!==this.parentPopper){li.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(li=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ss(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...xr(this.$_referenceNode),...xr(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),a=this.$_popperNode.querySelector(".v-popper__wrapper"),i=a.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+a.offsetLeft),r=t.y+t.height/2-(i.top+a.offsetTop);this.result.transformOrigin=`${n}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let a=0;a0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Cd(Pt,this),Pt.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Od(this.theme)){const i=Yd(a);Cd(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}li===this&&(li=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=un(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ss(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=a=>{this.isShown&&!this.$_hideInProgress||(a.usedByTooltip=!0,!this.$_preventShow&&this.show({event:a}))};this.$_registerTriggerListeners(this.$_targetNodes,xd,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],xd,this.popperTriggers,this.popperShowTriggers,e);const t=a=>i=>{i.usedByTooltip||this.hide({event:i,skipAiming:a})};this.$_registerTriggerListeners(this.$_targetNodes,Bd,this.triggers,this.hideTriggers,t(!1)),this.$_registerTriggerListeners([this.$_popperNode],Bd,this.popperTriggers,this.popperHideTriggers,t(!0))},$_registerEventListeners(e,t,a){this.$_events.push({targetNodes:e,eventType:t,handler:a}),e.forEach(i=>i.addEventListener(t,a,Si?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,a,i,n){let r=a;i!=null&&(r=typeof i=="function"?i(r):i),r.forEach(o=>{const s=t[o];s&&this.$_registerEventListeners(e,s,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(a=>{const{targetNodes:i,eventType:n,handler:r}=a;!e||e===n?i.forEach(o=>o.removeEventListener(n,r)):t.push(a)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const a of this.$_targetNodes){const i=a.getAttribute(e);i&&(a.removeAttribute(e),a.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const a in e){const i=e[a];i==null?t.removeAttribute(a):t.setAttribute(a,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$el.getBoundingClientRect();if(In>=e.left&&In<=e.right&&jn>=e.top&&jn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),a=In-Ca,i=jn-Ma,n=t.left+t.width/2-Ca+(t.top+t.height/2)-Ma+t.width+t.height,r=Ca+a*n,o=Ma+i*n;return B0(Ca,Ma,r,o,t.left,t.top,t.left,t.bottom)||B0(Ca,Ma,r,o,t.left,t.top,t.right,t.top)||B0(Ca,Ma,r,o,t.right,t.top,t.right,t.bottom)||B0(Ca,Ma,r,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(of?(document.addEventListener("touchstart",Ld,Si?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",T3,Si?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Ld,!0),window.addEventListener("click",p3,!0)),window.addEventListener("resize",b3));function Ld(e){for(let t=0;t=0;i--){const n=Pt[i];try{const r=n.$_containsGlobalTarget=D3(n,e);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!a[n.randomId]&&Zd(n,r,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let s=n.parentPopper;for(;s;)a[s.randomId]=!0,s=s.parentPopper;return}let o=n.parentPopper;for(;o&&Zd(o,o.$_containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function D3(e,t){const a=e.popperNode();return e.$_mouseDownContains||a.contains(t.target)}function Zd(e,t,a){return a.closeAllPopover||a.closePopover&&t||E3(e,a)&&!t}function E3(e,t){if(typeof e.autoHide=="function"){const a=e.autoHide(t);return e.lastAutoHide=a,a}return e.autoHide}function b3(e){for(let t=0;t{Ca=In,Ma=jn,In=e.clientX,jn=e.clientY},Si?{passive:!0}:void 0);function B0(e,t,a,i,n,r,o,s){const l=((o-n)*(t-r)-(s-r)*(e-n))/((s-r)*(a-e)-(o-n)*(i-t)),c=((a-e)*(t-r)-(i-t)*(e-n))/((s-r)*(a-e)-(o-n)*(i-t));return l>=0&&l<=1&&c>=0&&c<=1}function y3(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var a=e.indexOf("Trident/");if(a>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}var ar;function al(){al.init||(al.init=!0,ar=y3()!==-1)}var A3={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;al(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()});var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",ar&&this.$el.appendChild(t),t.data="about:blank",ar||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!ar&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function S3(e,t,a,i,n,r,o,s,l,c){typeof o!="boolean"&&(l=s,s=o,o=!1);var u=typeof a=="function"?a.options:a;e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,n&&(u.functional=!0)),i&&(u._scopeId=i);var d;if(r?(d=function(g){g=g||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!g&&typeof __VUE_SSR_CONTEXT__<"u"&&(g=__VUE_SSR_CONTEXT__),t&&t.call(this,l(g)),g&&g._registeredComponents&&g._registeredComponents.add(r)},u._ssrRegister=d):t&&(d=o?function(g){t.call(this,c(g,this.$root.$options.shadowRoot))}:function(g){t.call(this,s(g))}),d)if(u.functional){var f=u.render;u.render=function(g,m){return d.call(m),f(g,m)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,d):[d]}return a}var k3=A3,df=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},v3=[];df._withStripped=!0;var R3=void 0,N3="data-v-8859cc6c",w3=void 0,O3=!1,il=S3({render:df,staticRenderFns:v3},R3,k3,N3,O3,w3,!1,void 0,void 0,void 0);function x3(e){e.component("resize-observer",il),e.component("ResizeObserver",il)}var B3={version:"1.0.1",install:x3},C0=null;typeof window<"u"?C0=window.Vue:typeof mr.global<"u"&&(C0=mr.global.Vue),C0&&C0.use(B3);var cf={computed:{themeClass(){return m3(this.theme)}}},C3={name:"VPopperContent",components:{ResizeObserver:il},mixins:[cf],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}},M3=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}],style:e.result?{position:e.result.strategy,transform:"translate3d("+Math.round(e.result.x)+"px,"+Math.round(e.result.y)+"px,0)"}:void 0,attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0},on:{keyup:function(i){if(!i.type.indexOf("key")&&e._k(i.keyCode,"esc",27,i.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[a("div",{staticClass:"v-popper__backdrop",on:{click:function(i){e.autoHide&&e.$emit("hide")}}}),a("div",{staticClass:"v-popper__wrapper",style:e.result?{transformOrigin:e.result.transformOrigin}:void 0},[a("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[a("div",[e._t("default")],2),e.handleResize?a("ResizeObserver",{on:{notify:function(i){return e.$emit("resize",i)}}}):e._e()]:e._e()],2),a("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0},[a("div",{staticClass:"v-popper__arrow-outer"}),a("div",{staticClass:"v-popper__arrow-inner"})])])])},Y3=[];function bn(e,t,a,i,n,r,o,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var c;if(o?(c=function(f){f=f||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!f&&typeof __VUE_SSR_CONTEXT__<"u"&&(f=__VUE_SSR_CONTEXT__),n&&n.call(this,f),f&&f._registeredComponents&&f._registeredComponents.add(o)},l._ssrRegister=c):n&&(c=s?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(f,h){return c.call(h),u(f,h)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}const Id={};var L3=bn(C3,M3,Y3,!1,Z3,null,null,null);function Z3(e){for(let t in Id)this[t]=Id[t]}var hf=function(){return L3.exports}(),fu={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},I3={name:"VPopperWrapper",components:{Popper:lf(),PopperContent:hf},mixins:[fu,cf],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(e=>e!==this.$refs.popperContent.$el)}}},j3=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el}},scopedSlots:e._u([{key:"default",fn:function(i){var n=i.popperId,r=i.isShown,o=i.shouldMountContent,s=i.skipTransition,l=i.autoHide,c=i.show,u=i.hide,d=i.handleResize,f=i.onResize,h=i.classes,g=i.result;return[a("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":r}]},[e._t("default",null,{shown:r,show:c,hide:u}),a("PopperContent",{ref:"popperContent",attrs:{"popper-id":n,theme:e.theme,shown:r,mounted:o,"skip-transition":s,"auto-hide":l,"handle-resize":d,classes:h,result:g},on:{hide:u,resize:f}},[e._t("popper",null,{shown:r,hide:u})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))},P3=[];const jd={};var G3=bn(I3,j3,P3,!1,U3,null,null,null);function U3(e){for(let t in jd)this[t]=jd[t]}var gu=function(){return G3.exports}(),q3=Ro(ja({},gu),{name:"VDropdown",vPopperTheme:"dropdown"});let H3,z3;const Pd={};var V3=bn(q3,H3,z3,!1,$3,null,null,null);function $3(e){for(let t in Pd)this[t]=Pd[t]}var nl=function(){return V3.exports}(),W3=Ro(ja({},gu),{name:"VMenu",vPopperTheme:"menu"});let Q3,J3;const Gd={};var K3=bn(W3,Q3,J3,!1,X3,null,null,null);function X3(e){for(let t in Gd)this[t]=Gd[t]}var Ud=function(){return K3.exports}(),eD=Ro(ja({},gu),{name:"VTooltip",vPopperTheme:"tooltip"});let tD,aD;const qd={};var iD=bn(eD,tD,aD,!1,nD,null,null,null);function nD(e){for(let t in qd)this[t]=qd[t]}var Hd=function(){return iD.exports}(),rD={name:"VTooltipDirective",components:{Popper:lf(),PopperContent:hf},mixins:[fu],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return un(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return un(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(e){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,a=this.content(this);a.then?a.then(i=>this.onResult(t,i)):this.onResult(t,a)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},oD=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(i){var n=i.popperId,r=i.isShown,o=i.shouldMountContent,s=i.skipTransition,l=i.autoHide,c=i.hide,u=i.handleResize,d=i.onResize,f=i.classes,h=i.result;return[a("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":n,theme:e.theme,shown:r,mounted:o,"skip-transition":s,"auto-hide":l,"handle-resize":u,classes:f,result:h},on:{hide:c,resize:d}},[e.html?a("div",{domProps:{innerHTML:e._s(e.finalContent)}}):a("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))},sD=[];const zd={};var lD=bn(rD,oD,sD,!1,uD,null,null,null);function uD(e){for(let t in zd)this[t]=zd[t]}var dD=function(){return lD.exports}();const ff="v-popper--has-tooltip";function cD(e,t){let a=e.placement;if(!a&&t)for(const i of sf)t[i]&&(a=i);return a||(a=un(e.theme||"tooltip","placement")),a}function gf(e,t,a){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=cD(i,a),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}function hD(e,t,a){const i=gf(e,t,a),n=e.$_popper=new Va({mixins:[fu],data(){return{options:i}},render(o){const s=this.options,{theme:l,html:c,content:u,loadingContent:d}=s,f=F3(s,["theme","html","content","loadingContent"]);return o(dD,{props:{theme:l,html:c,content:u,loadingContent:d},attrs:f,ref:"popper"})},devtools:{hide:!0}}),r=document.createElement("div");return document.body.appendChild(r),n.$mount(r),e.classList&&e.classList.add(ff),n}function _f(e){e.$_popper&&(e.$_popper.$destroy(),delete e.$_popper,delete e.$_popperOldShown),e.classList&&e.classList.remove(ff)}function Vd(e,{value:t,oldValue:a,modifiers:i}){const n=gf(e,t,i);if(!n.content||un(n.theme||"tooltip","disabled"))_f(e);else{let r;e.$_popper?(r=e.$_popper,r.options=n):r=hD(e,t,i),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}var Ff={bind:Vd,update:Vd,unbind(e){_f(e)}};function $d(e){e.addEventListener("click",mf),e.addEventListener("touchstart",pf,Si?{passive:!0}:!1)}function Wd(e){e.removeEventListener("click",mf),e.removeEventListener("touchstart",pf),e.removeEventListener("touchend",Tf),e.removeEventListener("touchcancel",Df)}function mf(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function pf(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const a=e.changedTouches[0];t.$_vclosepopover_touchPoint=a,t.addEventListener("touchend",Tf),t.addEventListener("touchcancel",Df)}}function Tf(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const a=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(a.screenY-i.screenY)<20&&Math.abs(a.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Df(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var fD={bind(e,{value:t,modifiers:a}){e.$_closePopoverModifiers=a,(typeof t>"u"||t)&&$d(e)},update(e,{value:t,oldValue:a,modifiers:i}){e.$_closePopoverModifiers=i,t!==a&&(typeof t>"u"||t?$d(e):Wd(e))},unbind(e){Wd(e)}};const M0=ra,Ef=Ff,gD=nl;function _D(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,rf(ra,t),e.directive("tooltip",Ff),e.directive("close-popper",fD),e.component("v-tooltip",Hd),e.component("VTooltip",Hd),e.component("v-dropdown",nl),e.component("VDropdown",nl),e.component("v-menu",Ud),e.component("VMenu",Ud))}const FD={version:"1.0.0-beta.19",install:_D,options:ra};let Y0=null;typeof window<"u"?Y0=window.Vue:typeof mr.global<"u"&&(Y0=mr.global.Vue),Y0&&Y0.use(FD);M0.themes.tooltip.html=!1,M0.themes.tooltip.delay={show:500,hide:200},M0.themes.tooltip.distance=10,M0.themes.tooltip["arrow-padding"]=3;const mD={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var pD=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon arrow-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},TD=[],DD=de(mD,pD,TD,!1,null,null,null,null);const bf=DD.exports,ED=1024,yf=()=>document.documentElement.clientWidth{_u.value=yf()});function bD(){return fo(_u)}fo(_u);var ir={},Cr={},d0={};Object.defineProperty(d0,"__esModule",{value:!0}),d0.default=void 0;function Mr(e,t,a){return t=yD(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function yD(e){var t=AD(e,"string");return typeof t=="symbol"?t:String(t)}function AD(e,t){if(typeof e!="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var i=a.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class an{constructor(t,a,i){Mr(this,"scope",void 0),Mr(this,"wrapped",void 0),this.scope=`${i?an.GLOBAL_SCOPE_PERSISTENT:an.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=a}scopeKey(t){return`${this.scope}${t}`}setItem(t,a){this.wrapped.setItem(this.scopeKey(t),a)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter(t=>t.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}d0.default=an,Mr(an,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),Mr(an,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per"),Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=void 0;var SD=kD(d0);function kD(e){return e&&e.__esModule?e:{default:e}}function us(e,t,a){return t=vD(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function vD(e){var t=RD(e,"string");return typeof t=="symbol"?t:String(t)}function RD(e,t){if(typeof e!="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var i=a.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class ND{constructor(t){us(this,"appId",void 0),us(this,"persisted",!1),us(this,"clearedOnLogout",!1),this.appId=t}persist(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this.persisted=t,this}clearOnLogout(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this.clearedOnLogout=t,this}build(){return new SD.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}Cr.default=ND,Object.defineProperty(ir,"__esModule",{value:!0}),ir.clearAll=BD,ir.clearNonPersistent=CD;var Af=ir.getBuilder=xD,wD=Sf(Cr),OD=Sf(d0);function Sf(e){return e&&e.__esModule?e:{default:e}}function xD(e){return new wD.default(e)}function kf(e,t){Object.keys(e).filter(a=>t?t(a):!0).map(e.removeItem.bind(e))}function BD(){[window.sessionStorage,window.localStorage].map(e=>kf(e))}function CD(){[window.sessionStorage,window.localStorage].map(e=>kf(e,t=>!t.startsWith(OD.default.GLOBAL_SCOPE_PERSISTENT)))}Va.util.warn;function Fu(e){return nh()?(rh(e),!0):!1}function At(e){return typeof e=="function"?e():ah(e)}const MD=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const YD=e=>e!=null,LD=Object.prototype.toString,ZD=e=>LD.call(e)==="[object Object]",Lt=()=>{};function vf(e,t){function a(...i){return new Promise((n,r)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(n).catch(r)})}return a}function ID(e,t={}){let a,i,n=Lt;const r=o=>{clearTimeout(o),n(),n=Lt};return o=>{const s=At(e),l=At(t.maxWait);return a&&r(a),s<=0||l!==void 0&&l<=0?(i&&(r(i),i=null),Promise.resolve(o())):new Promise((c,u)=>{n=t.rejectOnCancel?u:c,l&&!i&&(i=setTimeout(()=>{a&&r(a),i=null,c(o())},l)),a=setTimeout(()=>{i&&r(i),i=null,c(o())},s)})}}function jD(e,t=!0,a=!0,i=!1){let n=0,r,o=!0,s=Lt,l;const c=()=>{r&&(clearTimeout(r),r=void 0,s(),s=Lt)};return u=>{const d=At(e),f=Date.now()-n,h=()=>l=u();return c(),d<=0?(n=Date.now(),h()):(f>d&&(a||!o)?(n=Date.now(),h()):t&&(l=new Promise((g,m)=>{s=i?m:g,r=setTimeout(()=>{n=Date.now(),o=!0,g(h()),c()},Math.max(0,d-f))})),!a&&!r&&(r=setTimeout(()=>o=!0,d)),o=!1,l)}}function PD(e,t=200,a={}){return vf(ID(t,a),e)}function GD(e,t=200,a=!1,i=!0,n=!1){return vf(jD(t,a,i,n),e)}function Rf(e,t=!0){jl()?Pl(e):t?e():ih(e)}function na(e){var t;const a=At(e);return(t=a?.$el)!=null?t:a}const wi=MD?window:void 0;function Pn(...e){let t,a,i,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,n]=e,t=wi):[t,a,i,n]=e,!t)return Lt;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},s=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=ei(()=>[na(t),At(n)],([u,d])=>{if(o(),!u)return;const f=ZD(d)?{...d}:d;r.push(...a.flatMap(h=>i.map(g=>s(u,h,g,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return Fu(c),c}function UD(){const e=nt(!1);return jl()&&Pl(()=>{e.value=!0}),e}function Nf(e){const t=UD();return Ge(()=>(t.value,!!e()))}function qD(e,t,a={}){const{window:i=wi,...n}=a;let r;const o=Nf(()=>i&&"ResizeObserver"in i),s=()=>{r&&(r.disconnect(),r=void 0)},l=Ge(()=>Array.isArray(e)?e.map(d=>na(d)):[na(e)]),c=ei(l,d=>{if(s(),o.value&&i){r=new ResizeObserver(t);for(const f of d)f&&r.observe(f,n)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{s(),c()};return Fu(u),{isSupported:o,stop:u}}function HD(e,t={width:0,height:0},a={}){const{window:i=wi,box:n="content-box"}=a,r=Ge(()=>{var d,f;return(f=(d=na(e))==null?void 0:d.namespaceURI)==null?void 0:f.includes("svg")}),o=nt(t.width),s=nt(t.height),{stop:l}=qD(e,([d])=>{const f=n==="border-box"?d.borderBoxSize:n==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(i&&r.value){const h=na(e);if(h){const g=i.getComputedStyle(h);o.value=Number.parseFloat(g.width),s.value=Number.parseFloat(g.height)}}else if(f){const h=Array.isArray(f)?f:[f];o.value=h.reduce((g,{inlineSize:m})=>g+m,0),s.value=h.reduce((g,{blockSize:m})=>g+m,0)}else o.value=d.contentRect.width,s.value=d.contentRect.height},a);Rf(()=>{const d=na(e);d&&(o.value="offsetWidth"in d?d.offsetWidth:t.width,s.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ei(()=>na(e),d=>{o.value=d?t.width:0,s.value=d?t.height:0});function u(){l(),c()}return{width:o,height:s,stop:u}}function zD(e,t,a={}){const{root:i,rootMargin:n="0px",threshold:r=.1,window:o=wi,immediate:s=!0}=a,l=Nf(()=>o&&"IntersectionObserver"in o),c=Ge(()=>{const g=At(e);return(Array.isArray(g)?g:[g]).map(na).filter(YD)});let u=Lt;const d=nt(s),f=l.value?ei(()=>[c.value,na(i),d.value],([g,m])=>{if(u(),!d.value||!g.length)return;const p=new IntersectionObserver(t,{root:na(m),rootMargin:n,threshold:r});g.forEach(T=>T&&p.observe(T)),u=()=>{p.disconnect(),u=Lt}},{immediate:s,flush:"post"}):Lt,h=()=>{u(),f(),d.value=!1};return Fu(h),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:h}}function VD(e,t={}){const{window:a=wi,scrollTarget:i}=t,n=nt(!1);return zD(e,([{isIntersecting:r}])=>{n.value=r},{root:i,window:a,threshold:0}),n}const Qd=1;function $D(e,t={}){const{throttle:a=0,idle:i=200,onStop:n=Lt,onScroll:r=Lt,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:l="auto",window:c=wi}=t,u=nt(0),d=nt(0),f=Ge({get(){return u.value},set(E){g(E,void 0)}}),h=Ge({get(){return d.value},set(E){g(void 0,E)}});function g(E,I){var M,P,_;if(!c)return;const D=At(e);D&&((_=D instanceof Document?c.document.body:D)==null||_.scrollTo({top:(M=At(I))!=null?M:h.value,left:(P=At(E))!=null?P:f.value,behavior:At(l)}))}const m=nt(!1),p=r0({left:!0,right:!1,top:!0,bottom:!1}),T=r0({left:!1,right:!1,top:!1,bottom:!1}),R=E=>{m.value&&(m.value=!1,T.left=!1,T.right=!1,T.top=!1,T.bottom=!1,n(E))},k=PD(R,a+i),C=E=>{var I;if(!c)return;const M=E.document?E.document.documentElement:(I=E.documentElement)!=null?I:E,{display:P,flexDirection:_}=getComputedStyle(M),D=M.scrollLeft;T.left=Du.value;const S=Math.abs(D)<=0+(o.left||0),x=Math.abs(D)+M.clientWidth>=M.scrollWidth-(o.right||0)-Qd;P==="flex"&&_==="row-reverse"?(p.left=x,p.right=S):(p.left=S,p.right=x),u.value=D;let L=M.scrollTop;E===c.document&&!L&&(L=c.document.body.scrollTop),T.top=Ld.value;const Z=Math.abs(L)<=0+(o.top||0),$=Math.abs(L)+M.clientHeight>=M.scrollHeight-(o.bottom||0)-Qd;P==="flex"&&_==="column-reverse"?(p.top=$,p.bottom=Z):(p.top=Z,p.bottom=$),d.value=L},j=E=>{var I;if(!c)return;const M=(I=E.target.documentElement)!=null?I:E.target;C(M),m.value=!0,k(E),r(E)};return Pn(e,"scroll",a?GD(j,a,!0,!1):j,s),Rf(()=>{const E=At(e);E&&C(E)}),Pn(e,"scrollend",R,s),{x:f,y:h,isScrolling:m,arrivedState:p,directions:T,measure(){const E=At(e);c&&E&&C(E)}}}function WD(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function y7(e,t,a={}){var i;const{direction:n="bottom",interval:r=100}=a,o=r0($D(e,{...a,offset:{[n]:(i=a.distance)!=null?i:0,...a.offset}})),s=nt(),l=Ge(()=>!!s.value),c=Ge(()=>WD(At(e))),u=VD(c);function d(){if(o.measure(),!c.value||!u.value)return;const{scrollHeight:f,clientHeight:h,scrollWidth:g,clientWidth:m}=c.value,p=n==="bottom"||n==="top"?f<=h:g<=m;(o.arrivedState[n]||p)&&(s.value||(s.value=Promise.all([t(o),new Promise(T=>setTimeout(T,r))]).finally(()=>{s.value=null,ih(()=>d())})))}return ei(()=>[o.arrivedState[n],u.value],d,{immediate:!0}),{isLoading:l}}function wf(e,t={}){const{threshold:a=50,onSwipe:i,onSwipeEnd:n,onSwipeStart:r,passive:o=!0,window:s=wi}=t,l=r0({x:0,y:0}),c=r0({x:0,y:0}),u=Ge(()=>l.x-c.x),d=Ge(()=>l.y-c.y),{max:f,abs:h}=Math,g=Ge(()=>f(h(u.value),h(d.value))>=a),m=nt(!1),p=Ge(()=>g.value?h(u.value)>h(d.value)?u.value>0?"left":"right":d.value>0?"up":"down":"none"),T=M=>[M.touches[0].clientX,M.touches[0].clientY],R=(M,P)=>{l.x=M,l.y=P},k=(M,P)=>{c.x=M,c.y=P};let C;const j=QD(s?.document);o?C=j?{passive:!0}:{capture:!1}:C=j?{passive:!1,capture:!0}:{capture:!0};const E=M=>{m.value&&n?.(M,p.value),m.value=!1},I=[Pn(e,"touchstart",M=>{if(M.touches.length!==1)return;C.capture&&!C.passive&&M.preventDefault();const[P,_]=T(M);R(P,_),k(P,_),r?.(M)},C),Pn(e,"touchmove",M=>{if(M.touches.length!==1)return;const[P,_]=T(M);k(P,_),!m.value&&g.value&&(m.value=!0),m.value&&i?.(M)},C),Pn(e,["touchend","touchcancel"],E,C)];return{isPassiveEventSupported:j,isSwiping:m,direction:p,coordsStart:l,coordsEnd:c,lengthX:u,lengthY:d,stop:()=>I.forEach(M=>M())}}function QD(e){if(!e)return!1;let t=!1;const a={get passive(){return t=!0,!1}};return e.addEventListener("x",Lt,a),e.removeEventListener("x",Lt),t}var JD=Object.defineProperty,KD=Object.defineProperties,XD=Object.getOwnPropertyDescriptors,Yr=Object.getOwnPropertySymbols,Of=Object.prototype.hasOwnProperty,xf=Object.prototype.propertyIsEnumerable,Jd=(e,t,a)=>t in e?JD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,eE=(e,t)=>{for(var a in t||(t={}))Of.call(t,a)&&Jd(e,a,t[a]);if(Yr)for(var a of Yr(t))xf.call(t,a)&&Jd(e,a,t[a]);return e},tE=(e,t)=>KD(e,XD(t)),aE=(e,t)=>{var a={};for(var i in e)Of.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&Yr)for(var i of Yr(e))t.indexOf(i)<0&&xf.call(e,i)&&(a[i]=e[i]);return a};function Bf(e,t,a,i,n,r,o,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var c;if(o?(c=function(f){f=f||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!f&&typeof __VUE_SSR_CONTEXT__<"u"&&(f=__VUE_SSR_CONTEXT__),n&&n.call(this,f),f&&f._registeredComponents&&f._registeredComponents.add(o)},l._ssrRegister=c):n&&(c=s?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(f,h){return c.call(h),u(f,h)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}const iE={name:"splitpanes",props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let a=0;this.panes=this.panes.map((i,n)=>(i.size=n===t?i.max:i.min,n!==t&&(a+=i.min),i)),this.panes[t].size-=a,this.$emit("pane-maximize",this.panes[t])},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:a,clientY:i}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:a-t.left,y:i-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let a={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const i=0+(this.pushOtherPanes?0:a.prevPanesSize),n=100-(this.pushOtherPanes?0:a.nextPanesSize),r=Math.max(Math.min(this.getCurrentDragPercentage(e),n),i);let o=[t,t+1],s=this.panes[o[0]]||null,l=this.panes[o[1]]||null;const c=s.max<100&&r>=s.max+a.prevPanesSize,u=l.max<100&&r<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(s.size=s.max,l.size=Math.max(100-s.max-a.prevPanesSize-a.nextPanesSize,0)):(s.size=Math.max(100-l.max-a.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const d=this.doPushOtherPanes(a,r);if(!d)return;({sums:a,panesToResize:o}=d),s=this.panes[o[0]]||null,l=this.panes[o[1]]||null}s!==null&&(s.size=Math.min(Math.max(r-a.prevPanesSize-a.prevReachedMinPanes,s.min),s.max)),l!==null&&(l.size=Math.min(Math.max(100-r-a.nextPanesSize-a.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const a=this.touch.activeSplitter,i=[a,a+1];return t{r>i[0]&&r<=a&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),e.prevPanesSize=this.sumPrevPanesSize(i[0]),i[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((n,r)=>{r>0&&r<=a&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),this.panes[i[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[i[1]].min&&(i[1]=this.findNextExpandedPane(a).index,e.nextReachedMinPanes=0,i[1]>a+1&&this.panes.forEach((n,r)=>{r>a&&r{r=a+1&&(n.size=n.min,e.nextReachedMinPanes+=n.min)}),this.panes[i[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:i}},sumPrevPanesSize(e){return this.panes.reduce((t,a,i)=>t+(it+(i>e+1?a.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.indext.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),a=e.classList.contains("splitpanes__splitter");if(!t&&!a){e.parentNode.removeChild(e),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed.");return}})},addSplitter(e,t,a=!1){const i=e-1,n=document.createElement("div");n.classList.add("splitpanes__splitter"),a||(n.onmousedown=r=>this.onMouseDown(r,i),typeof window<"u"&&"ontouchstart"in window&&(n.ontouchstart=r=>this.onMouseDown(r,i)),n.onclick=r=>this.onSplitterClick(r,i+1)),this.dblClickSplitter&&(n.ondblclick=r=>this.onSplitterDblClick(r,i+1)),t.parentNode.insertBefore(n,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(a=>{a.className.includes("splitpanes__splitter")&&this.removeSplitter(a)});let t=0;e.forEach(a=>{a.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,a,!0):t&&this.addSplitter(t,a),t++)})},requestUpdate(e){var t=e,{target:a}=t,i=aE(t,["target"]);const n=this.indexedPanes[a._uid];Object.entries(i).forEach(([r,o])=>n[r]=o)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(n=>(n.className.includes("splitpanes__pane")&&t++,n===e.$el));const a=parseFloat(e.minSize),i=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._uid,index:t,min:isNaN(a)?0:a,max:isNaN(i)?100:i,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((n,r)=>n.index=r),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(i=>i.id===e._uid),a=this.panes.splice(t,1)[0];this.panes.forEach((i,n)=>i.index=n),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:tE(eE({},a),{index:t})}),this.$emit("pane-remove",{removed:a,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0,a=[],i=[];this.panes.forEach(n=>{n.size=Math.max(Math.min(e,n.max),n.min),t-=n.size,n.size>=n.max&&a.push(n.id),n.size<=n.min&&i.push(n.id)}),t>.1&&this.readjustSizes(t,a,i)},initialPanesSizing(){100/this.panesCount;let e=100,t=[],a=[],i=0;this.panes.forEach(r=>{e-=r.size,r.size!==null&&i++,r.size>=r.max&&t.push(r.id),r.size<=r.min&&a.push(r.id)});let n=100;e>.1&&(this.panes.forEach(r=>{r.size===null&&(r.size=Math.max(Math.min(e/(this.panesCount-i),r.max),r.min)),n-=r.size}),n>.1&&this.readjustSizes(e,t,a))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let a=100/this.panesCount,i=0,n=[],r=[];e&&e.givenSize!==null&&(a=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{i-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),!(Math.abs(i)<.1)&&(this.panes.forEach(o=>{e&&e.givenSize!==null&&e.id===o.id||(o.size=Math.max(Math.min(a,o.max),o.min)),i-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),i>.1&&this.readjustSizes(i,n,r))},readjustSizes(e,t,a){let i;e>0?i=e/(this.panesCount-t.length):i=e/(this.panesCount-a.length),this.panes.forEach((n,r)=>{if(e>0&&!t.includes(n.id)){const o=Math.max(Math.min(n.size+i,n.max),n.min),s=o-n.size;e-=s,n.size=o}else if(!a.includes(n.id)){const o=Math.max(Math.min(n.size+i,n.max),n.min),s=o-n.size;e-=s,n.size=o}n.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[n.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,a)=>{t.ondblclick=e?i=>this.onSplitterDblClick(i,a):void 0})}},beforeDestroy(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(e){return e("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default)}};let nE,rE;const Kd={};var oE=Bf(iE,nE,rE,!1,sE,null,null,null);function sE(e){for(let t in Kd)this[t]=Kd[t]}var lE=function(){return oE.exports}(),uE=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"splitpanes__pane",style:e.style,on:{click:function(i){return e.onPaneClick(i,e._uid)}}},[e._t("default")],2)},dE=[];const cE={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeDestroy(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}},Xd={};var hE=Bf(cE,uE,dE,!1,fE,null,null,null);function fE(e){for(let t in Xd)this[t]=Xd[t]}var gE=function(){return hE.exports}();const _E={name:"NcAppDetailsToggle",directives:{tooltip:Ef},components:{NcButton:ai,ArrowRight:bf},computed:{title(){return ae("Go back to the list")}},beforeMount(){this.toggleAppNavigationButton(!0)},beforeDestroy(){this.toggleAppNavigationButton(!1)},methods:{toggleAppNavigationButton(e=!0){const t=document.querySelector(".app-navigation .app-navigation-toggle");t&&(t.style.display=e?"none":null,e===!0&&pr("toggle-navigation",{open:!1}))}}};var FE=function(){var e=this,t=e._self._c;return t("NcButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.title,expression:"title"}],staticClass:"app-details-toggle",attrs:{"aria-label":e.title},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ArrowRight",{attrs:{size:20}})]},proxy:!0}])})},mE=[],pE=de(_E,FE,mE,!1,null,"5244e83e",null,null);const TE=pE.exports,e1=Af("nextcloud").persist().build(),DE={name:"NcAppContent",components:{NcAppDetailsToggle:TE,Pane:gE,Splitpanes:lE},props:{allowSwipeNavigation:{type:Boolean,default:!0},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},pageHeading:{type:String,default:null}},emits:["update:showDetails","resize:list"],setup(){return{isMobile:bD()}},data(){return{contentHeight:0,hasList:!1,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return`pane-list-size-${this.paneConfigKey}`;try{return`pane-list-size-${W_}`}catch{return console.info("[INFO] AppContent:","falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}}},updated(){this.checkListSlot()},mounted(){this.allowSwipeNavigation&&(this.swiping=wf(this.$el,{onSwipeEnd:this.handleSwipe})),this.checkListSlot(),this.restorePaneConfig()},methods:{handleSwipe(e,t){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&t==="right"?pr("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&t==="left"&&pr("toggle-navigation",{open:!1}))},handlePaneResize(e){const t=parseInt(e[0].size,10);e1.setItem(this.paneConfigID,JSON.stringify(t)),this.listPaneSize=t,this.$emit("resize:list",{size:t}),console.debug("AppContent pane config",t)},checkListSlot(){const e=!!this.$slots.list;this.hasList!==e&&(this.hasList=e)},restorePaneConfig(){const e=parseInt(e1.getItem(this.paneConfigID),10);if(!isNaN(e)&&e!==this.listPaneSize)return console.debug("AppContent pane config",e),this.listPaneSize=e,e},hideDetails(){this.$emit("update:showDetails",!1)}}};var EE=function(){var e=this,t=e._self._c;return t("main",{staticClass:"app-content no-snapper",class:{"app-content--has-list":e.hasList},attrs:{id:"app-content-vue"}},[e.pageHeading?t("h1",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.pageHeading)+" ")]):e._e(),e.hasList?[e.isMobile?t("div",{staticClass:"app-content-wrapper app-content-wrapper--mobile",class:e.showDetails?"app-content-wrapper--show-details":"app-content-wrapper--show-list"},[e.hasList&&e.showDetails?t("NcAppDetailsToggle",{nativeOn:{click:function(a){return a.stopPropagation(),a.preventDefault(),e.hideDetails.apply(null,arguments)}}}):e._e(),e._t("list"),e._t("default")],2):t("div",{staticClass:"app-content-wrapper"},[t("Splitpanes",{staticClass:"default-theme",on:{resized:e.handlePaneResize}},[t("Pane",{staticClass:"splitpanes__pane-list",attrs:{size:e.listPaneSize||e.paneDefaults.list.size,"min-size":e.paneDefaults.list.min,"max-size":e.paneDefaults.list.max}},[e._t("list")],2),t("Pane",{staticClass:"splitpanes__pane-details",attrs:{size:e.detailsPaneSize,"min-size":e.paneDefaults.details.min,"max-size":e.paneDefaults.details.max}},[e._t("default")],2)],1)],1)]:e._t("default")],2)},bE=[],yE=de(DE,EE,bE,!1,null,"27fc3f3a",null,null);const A7=yE.exports;const AE={name:"NcIconSvgWrapper",props:{svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""}},computed:{cleanSvg(){if(!this.svg||this.path)return;const e=J_.sanitize(this.svg),t=new DOMParser().parseFromString(e,"image/svg+xml");return t.querySelector("parsererror")?(Va.util.warn("SVG is not valid"),""):(t.documentElement.id&&t.documentElement.removeAttribute("id"),t.documentElement.outerHTML)},attributes(){return{class:"icon-vue",role:"img","aria-hidden":this.name?void 0:!0,"aria-label":this.name||void 0}}}};var SE=function(){var e=this,t=e._self._c;return e.cleanSvg?t("span",e._b({domProps:{innerHTML:e._s(e.cleanSvg)}},"span",e.attributes,!1)):t("span",e._b({},"span",e.attributes,!1),[t("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:e.path}})])])},kE=[],vE=de(AE,SE,kE,!1,null,"6176f396",null,null);const Cf=vE.exports;const RE={name:"NcEmptyContent",props:{name:{type:String,default:""},description:{type:String,default:""}},computed:{hasName(){return this.name!==""},hasDescription(){var e;return this.description!==""||((e=this.$slots.description)==null?void 0:e[0])}}};var NE=function(){var e=this,t=e._self._c;return t("div",{staticClass:"empty-content",attrs:{role:"note"}},[e.$slots.icon?t("div",{staticClass:"empty-content__icon",attrs:{"aria-hidden":"true"}},[e._t("icon")],2):e._e(),e._t("name",function(){return[e.hasName?t("span",{staticClass:"empty-content__name"},[e._v(" "+e._s(e.name)+" ")]):e._e()]}),e.hasDescription?t("p",{staticClass:"empty-content__description"},[e._t("description",function(){return[e._v(" "+e._s(e.description)+" ")]})],2):e._e(),e.$slots.action?t("div",{staticClass:"empty-content__action"},[e._t("action")],2):e._e()],2)},wE=[],OE=de(RE,NE,wE,!1,null,"458108e7",null,null);const mu=OE.exports;class Mf{_activity;constructor(t){if(typeof t!="object")throw new Error("Received activity data is not an object.");if(typeof t.activity_id!="number")throw new Error("The activity_id argument is not a valid string");if(typeof t.type!="string"||t.type.trim()==="")throw new Error("The activity_id argument is not a valid string");if(typeof t.subject!="string"||t.subject.trim()==="")throw new Error("The activity_id argument is not a valid string");if(typeof t.icon!="string"||t.icon.trim()==="")throw new Error("The activity_id argument is not a valid string");if(typeof t.datetime!="string"||t.datetime.trim()==="")throw new Error("The activity_id argument is not a valid string");this._activity=t}get id(){return this._activity.activity_id}get app(){return this._activity.app}get type(){return this._activity.type}get user(){return this._activity.user}get subject(){return this._activity.subject}get subjectRichTemplate(){return this._activity.subject_rich[0]}get subjectRichObjects(){return Array.isArray(this._activity.subject_rich[1])?{}:this._activity.subject_rich[1]}get message(){return this._activity.message}get messageRichTemplate(){return this._activity.message_rich[0]}get messageRichObjects(){return Array.isArray(this._activity.message_rich[1])?this._activity.message_rich[1]:{}}get objectType(){return this._activity.object_type}get objectId(){return this._activity.object_id}get objectName(){return this._activity.object_name}get link(){return this._activity.link}get icon(){return this._activity.icon}get datetime(){return this._activity.datetime}get dateFromNow(){return os(this._activity.datetime).fromNow()}get formattedDate(){return os(this._activity.datetime).format("LLL")}get timestamp(){return os(this._activity.datetime).unix()}get previews(){return this._activity.previews??[]}}var Yf=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Lr=Yf.join(","),Lf=typeof Element>"u",ki=Lf?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Zr=!Lf&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Ir=function e(t,a){var i;a===void 0&&(a=!0);var n=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"inert"),r=n===""||n==="true",o=r||a&&t&&e(t.parentNode);return o},xE=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},Zf=function(e,t,a){if(Ir(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(Lr));return t&&ki.call(e,Lr)&&i.unshift(e),i=i.filter(a),i},If=function e(t,a,i){for(var n=[],r=Array.from(t);r.length;){var o=r.shift();if(!Ir(o,!1))if(o.tagName==="SLOT"){var s=o.assignedElements(),l=s.length?s:o.children,c=e(l,!0,i);i.flatten?n.push.apply(n,c):n.push({scopeParent:o,candidates:c})}else{var u=ki.call(o,Lr);u&&i.filter(o)&&(a||!t.includes(o))&&n.push(o);var d=o.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(o),f=!Ir(d,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o));if(d&&f){var h=e(d===!0?o.children:d.children,!0,i);i.flatten?n.push.apply(n,h):n.push({scopeParent:o,candidates:h})}else r.unshift.apply(r,o.children)}}return n},jf=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},gi=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||xE(e))&&!jf(e)?0:e.tabIndex},BE=function(e,t){var a=gi(e);return a<0&&t&&!jf(e)?0:a},CE=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Pf=function(e){return e.tagName==="INPUT"},ME=function(e){return Pf(e)&&e.type==="hidden"},YE=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},LE=function(e,t){for(var a=0;asummary:first-of-type"),r=n?e.parentElement:e;if(ki.call(r,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof i=="function"){for(var o=e;e;){var s=e.parentElement,l=Zr(e);if(s&&!s.shadowRoot&&i(s)===!0)return t1(e);e.assignedSlot?e=e.assignedSlot:!s&&l!==e.ownerDocument?e=l.host:e=s}e=o}if(PE(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return t1(e);return!1},UE=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a=0)},HE=function e(t){var a=[],i=[];return t.forEach(function(n,r){var o=!!n.scopeParent,s=o?n.scopeParent:n,l=BE(s,o),c=o?e(n.candidates):s;l===0?o?a.push.apply(a,c):a.push(s):i.push({documentOrder:r,tabIndex:l,item:n,isScope:o,content:c})}),i.sort(CE).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(a)},zE=function(e,t){t=t||{};var a;return t.getShadowRoot?a=If([e],t.includeContainer,{filter:rl.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:qE}):a=Zf(e,t.includeContainer,rl.bind(null,t)),HE(a)},VE=function(e,t){t=t||{};var a;return t.getShadowRoot?a=If([e],t.includeContainer,{filter:jr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=Zf(e,t.includeContainer,jr.bind(null,t)),a},Bi=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ki.call(e,Lr)===!1?!1:rl(t,e)},$E=Yf.concat("iframe").join(","),ds=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ki.call(e,$E)===!1?!1:jr(t,e)};function a1(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,i)}return a}function i1(e){for(var t=1;t0){var a=e[e.length-1];a!==t&&a.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&e[e.length-1].unpause()}},KE=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},XE=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},Gn=function(e){return e?.key==="Tab"||e?.keyCode===9},eb=function(e){return Gn(e)&&!e.shiftKey},tb=function(e){return Gn(e)&&e.shiftKey},r1=function(e){return setTimeout(e,0)},o1=function(e,t){var a=-1;return e.every(function(i,n){return t(i)?(a=n,!1):!0}),a},vn=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i1?S-1:0),L=1;L=0)_=a.activeElement;else{var D=r.tabbableGroups[0],S=D&&D.firstTabbableNode;_=S||c("fallbackFocus")}if(!_)throw new Error("Your focus-trap needs to have at least one focusable element");return _},d=function(){if(r.containerGroups=r.containers.map(function(_){var D=zE(_,n.tabbableOptions),S=VE(_,n.tabbableOptions),x=D.length>0?D[0]:void 0,L=D.length>0?D[D.length-1]:void 0,Z=S.find(function(y){return Bi(y)}),$=S.slice().reverse().find(function(y){return Bi(y)}),V=!!D.find(function(y){return gi(y)>0});return{container:_,tabbableNodes:D,focusableNodes:S,posTabIndexesFound:V,firstTabbableNode:x,lastTabbableNode:L,firstDomTabbableNode:Z,lastDomTabbableNode:$,nextTabbableNode:function(y){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=D.indexOf(y);return A<0?G?S.slice(S.indexOf(y)+1).find(function(z){return Bi(z)}):S.slice(0,S.indexOf(y)).reverse().find(function(z){return Bi(z)}):D[A+(G?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(_){return _.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(_){return _.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function _(D){var S=D.activeElement;if(S)return S.shadowRoot&&S.shadowRoot.activeElement!==null?_(S.shadowRoot):S},h=function _(D){if(D!==!1&&D!==f(document)){if(!D||!D.focus){_(u());return}D.focus({preventScroll:!!n.preventScroll}),r.mostRecentlyFocusedNode=D,KE(D)&&D.select()}},g=function(_){var D=c("setReturnFocus",_);return D||(D===!1?!1:_)},m=function(_){var D=_.target,S=_.event,x=_.isBackward,L=x===void 0?!1:x;D=D||L0(S),d();var Z=null;if(r.tabbableGroups.length>0){var $=l(D,S),V=$>=0?r.containerGroups[$]:void 0;if($<0)L?Z=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:Z=r.tabbableGroups[0].firstTabbableNode;else if(L){var y=o1(r.tabbableGroups,function(fe){var ye=fe.firstTabbableNode;return D===ye});if(y<0&&(V.container===D||ds(D,n.tabbableOptions)&&!Bi(D,n.tabbableOptions)&&!V.nextTabbableNode(D,!1))&&(y=$),y>=0){var G=y===0?r.tabbableGroups.length-1:y-1,A=r.tabbableGroups[G];Z=gi(D)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else Gn(S)||(Z=V.nextTabbableNode(D,!1))}else{var z=o1(r.tabbableGroups,function(fe){var ye=fe.lastTabbableNode;return D===ye});if(z<0&&(V.container===D||ds(D,n.tabbableOptions)&&!Bi(D,n.tabbableOptions)&&!V.nextTabbableNode(D))&&(z=$),z>=0){var re=z===r.tabbableGroups.length-1?0:z+1,w=r.tabbableGroups[re];Z=gi(D)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else Gn(S)||(Z=V.nextTabbableNode(D))}}else Z=c("fallbackFocus");return Z},p=function(_){var D=L0(_);if(!(l(D,_)>=0)){if(vn(n.clickOutsideDeactivates,_)){o.deactivate({returnFocus:n.returnFocusOnDeactivate});return}vn(n.allowOutsideClick,_)||_.preventDefault()}},T=function(_){var D=L0(_),S=l(D,_)>=0;if(S||D instanceof Document)S&&(r.mostRecentlyFocusedNode=D);else{_.stopImmediatePropagation();var x,L=!0;if(r.mostRecentlyFocusedNode)if(gi(r.mostRecentlyFocusedNode)>0){var Z=l(r.mostRecentlyFocusedNode),$=r.containerGroups[Z].tabbableNodes;if($.length>0){var V=$.findIndex(function(y){return y===r.mostRecentlyFocusedNode});V>=0&&(n.isKeyForward(r.recentNavEvent)?V+1<$.length&&(x=$[V+1],L=!1):V-1>=0&&(x=$[V-1],L=!1))}}else r.containerGroups.some(function(y){return y.tabbableNodes.some(function(G){return gi(G)>0})})||(L=!1);else L=!1;L&&(x=m({target:r.mostRecentlyFocusedNode,isBackward:n.isKeyBackward(r.recentNavEvent)})),h(x||r.mostRecentlyFocusedNode||u())}r.recentNavEvent=void 0},R=function(_){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=_;var S=m({event:_,isBackward:D});S&&(Gn(_)&&_.preventDefault(),h(S))},k=function(_){if(XE(_)&&vn(n.escapeDeactivates,_)!==!1){_.preventDefault(),o.deactivate();return}(n.isKeyForward(_)||n.isKeyBackward(_))&&R(_,n.isKeyBackward(_))},C=function(_){var D=L0(_);l(D,_)>=0||vn(n.clickOutsideDeactivates,_)||vn(n.allowOutsideClick,_)||(_.preventDefault(),_.stopImmediatePropagation())},j=function(){if(r.active)return n1.activateTrap(i,o),r.delayInitialFocusTimer=n.delayInitialFocus?r1(function(){h(u())}):h(u()),a.addEventListener("focusin",T,!0),a.addEventListener("mousedown",p,{capture:!0,passive:!1}),a.addEventListener("touchstart",p,{capture:!0,passive:!1}),a.addEventListener("click",C,{capture:!0,passive:!1}),a.addEventListener("keydown",k,{capture:!0,passive:!1}),o},E=function(){if(r.active)return a.removeEventListener("focusin",T,!0),a.removeEventListener("mousedown",p,!0),a.removeEventListener("touchstart",p,!0),a.removeEventListener("click",C,!0),a.removeEventListener("keydown",k,!0),o},I=function(_){var D=_.some(function(S){var x=Array.from(S.removedNodes);return x.some(function(L){return L===r.mostRecentlyFocusedNode})});D&&h(u())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(I):void 0,P=function(){M&&(M.disconnect(),r.active&&!r.paused&&r.containers.map(function(_){M.observe(_,{subtree:!0,childList:!0})}))};return o={get active(){return r.active},get paused(){return r.paused},activate:function(_){if(r.active)return this;var D=s(_,"onActivate"),S=s(_,"onPostActivate"),x=s(_,"checkCanFocusTrap");x||d(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=a.activeElement,D?.();var L=function(){x&&d(),j(),P(),S?.()};return x?(x(r.containers.concat()).then(L,L),this):(L(),this)},deactivate:function(_){if(!r.active)return this;var D=i1({onDeactivate:n.onDeactivate,onPostDeactivate:n.onPostDeactivate,checkCanReturnFocus:n.checkCanReturnFocus},_);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,E(),r.active=!1,r.paused=!1,P(),n1.deactivateTrap(i,o);var S=s(D,"onDeactivate"),x=s(D,"onPostDeactivate"),L=s(D,"checkCanReturnFocus"),Z=s(D,"returnFocus","returnFocusOnDeactivate");S?.();var $=function(){r1(function(){Z&&h(g(r.nodeFocusedBeforeActivation)),x?.()})};return Z&&L?(L(g(r.nodeFocusedBeforeActivation)).then($,$),this):($(),this)},pause:function(_){if(r.paused||!r.active)return this;var D=s(_,"onPause"),S=s(_,"onPostPause");return r.paused=!0,D?.(),E(),P(),S?.(),this},unpause:function(_){if(!r.paused||!r.active)return this;var D=s(_,"onUnpause"),S=s(_,"onPostUnpause");return r.paused=!1,D?.(),d(),j(),P(),S?.(),this},updateContainerElements:function(_){var D=[].concat(_).filter(Boolean);return r.containers=D.map(function(S){return typeof S=="string"?a.querySelector(S):S}),r.active&&d(),P(),this}},o.updateContainerElements(e),o};const ol=function(){return Object.assign(window,{_nc_focus_trap:window._nc_focus_trap||[]}),window._nc_focus_trap},ib={name:"NcPopover",components:{Dropdown:gD},inheritAttrs:!1,props:{popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean]}},emits:["after-show","after-hide"],beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{getPopoverContentElement(){var e,t;return(t=(e=this.$refs.popover)==null?void 0:e.$refs.popperContent)==null?void 0:t.$el},async useFocusTrap(){if(await this.$nextTick(),!this.focusTrap)return;const e=this.getPopoverContentElement();e&&(this.$focusTrap=Gf(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:ol()}),this.$focusTrap.activate())},clearFocusTrap(e={}){var t;try{(t=this.$focusTrap)==null||t.deactivate(e),this.$focusTrap=null}catch(a){console.warn(a)}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},afterShow(){this.$nextTick(()=>{this.$emit("after-show"),this.useFocusTrap(),this.addEscapeStopPropagation()})},afterHide(){this.$emit("after-hide"),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var nb=function(){var e=this,t=e._self._c;return t("Dropdown",e._g(e._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":e.popoverBaseClass},on:{"apply-show":e.afterShow,"apply-hide":e.afterHide},scopedSlots:e._u([{key:"popper",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Dropdown",e.$attrs,!1),e.$listeners),[e._t("trigger")],2)},rb=[],ob=de(ib,nb,rb,!1,null,null,null,null);const pu=ob.exports,sb={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var lb=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},ub=[],db=de(sb,lb,ub,!1,null,null,null,null);const Tu=db.exports,Ci=".focusable",cb={name:"NcActions",components:{NcButton:ai,DotsHorizontal:Tu,NcPopover:pu},provide(){return{"NcActions:isSemanticMenu":Ge(()=>this.isSemanticMenu)}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},primary:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)!==-1},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:ae("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("body")},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0}},emits:["open","update:open","close","focus","blur"],data(){return{opened:this.open,focusIndex:0,randomId:`menu-${F0()}`,isSemanticMenu:!1,isSemanticNavigation:!1,isSemanticPopoverLike:!1}},computed:{triggerBtnType(){return this.type||(this.primary?"primary":this.menuName?"secondary":"tertiary")}},watch:{open(e){e!==this.opened&&(this.opened=e)}},methods:{isValidSingleAction(e){var t,a,i,n,r;const o=(r=(i=(a=(t=e?.componentOptions)==null?void 0:t.Ctor)==null?void 0:a.extendOptions)==null?void 0:i.name)!=null?r:(n=e?.componentOptions)==null?void 0:n.tag;return["NcActionButton","NcActionLink","NcActionRouter"].includes(o)},openMenu(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},closeMenu(e=!0){this.opened&&(this.opened=!1,this.$refs.popover.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,this.$refs.menuButton.$el.focus())},onOpen(e){this.$nextTick(()=>{this.focusFirstAction(e)})},onMouseFocusAction(e){if(document.activeElement===e.target)return;const t=e.target.closest("li");if(t&&this.$refs.menu.contains(t)){const a=t.querySelector(Ci);if(a){const i=[...this.$refs.menu.querySelectorAll(Ci)].indexOf(a);i>-1&&(this.focusIndex=i,this.focusAction())}}},onKeydown(e){e.key==="Tab"&&!this.isSemanticPopoverLike&&this.closeMenu(!1),e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e),e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.$refs.menu.querySelectorAll(Ci)[this.focusIndex];if(e){this.removeCurrentActive();const t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const t=this.$refs.menu.querySelectorAll(Ci).length-1;this.focusIndex===t?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const t=[...this.$refs.menu.querySelectorAll(Ci)].findIndex(a=>a.parentElement.getAttribute("aria-selected"));this.focusIndex=t>-1?t:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.$refs.menu.querySelectorAll(Ci).length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e)}},render(e){const t=(this.$slots.default||[]).filter(f=>{var h,g,m,p;return((h=f?.componentOptions)==null?void 0:h.tag)||((p=(m=(g=f?.componentOptions)==null?void 0:g.Ctor)==null?void 0:m.extendOptions)==null?void 0:p.name)}),a=f=>{var h,g,m,p,T;return(T=(m=(g=(h=f?.componentOptions)==null?void 0:h.Ctor)==null?void 0:g.extendOptions)==null?void 0:m.name)!=null?T:(p=f?.componentOptions)==null?void 0:p.tag},i=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],n=["NcActionInput","NcActionTextEditable"],r=["NcActionLink","NcActionRouter"],o=t.some(f=>n.includes(a(f))),s=t.some(f=>i.includes(a(f))),l=t.some(f=>r.includes(a(f)));this.isSemanticMenu=s&&!o,this.isSemanticNavigation=l&&!s&&!o,this.isSemanticPopoverLike=!this.isSemanticMenu&&!this.isSemanticNavigation;let c=t.filter(this.isValidSingleAction);if(this.forceMenu&&c.length>0&&this.inline>0&&(Va.util.warn("Specifying forceMenu will ignore any inline actions rendering."),c=[]),t.length===0)return;const u=f=>{var h,g,m,p,T,R,k,C,j,E,I,M,P,_,D,S,x,L,Z,$,V,y,G;const A=((m=(g=(h=f?.data)==null?void 0:h.scopedSlots)==null?void 0:g.icon())==null?void 0:m[0])||e("span",{class:["icon",(T=(p=f?.componentOptions)==null?void 0:p.propsData)==null?void 0:T.icon]}),z=((R=f?.data)==null?void 0:R.attrs)||{},re=(C=(k=f?.componentOptions)==null?void 0:k.listeners)==null?void 0:C.click,w=(P=(M=(I=(E=(j=f?.componentOptions)==null?void 0:j.children)==null?void 0:E[0])==null?void 0:I.text)==null?void 0:M.trim)==null?void 0:P.call(M),fe=((D=(_=f?.componentOptions)==null?void 0:_.propsData)==null?void 0:D.ariaLabel)||w,ye=this.forceName?w:"";let _e=(x=(S=f?.componentOptions)==null?void 0:S.propsData)==null?void 0:x.title;return this.forceName||_e||(_e=w),e("NcButton",{class:["action-item action-item--single",(L=f?.data)==null?void 0:L.staticClass,(Z=f?.data)==null?void 0:Z.class],attrs:{...z,"aria-label":fe,title:_e},ref:($=f?.data)==null?void 0:$.ref,props:{type:this.type||(ye?"secondary":"tertiary"),disabled:this.disabled||((y=(V=f?.componentOptions)==null?void 0:V.propsData)==null?void 0:y.disabled),...(G=f?.componentOptions)==null?void 0:G.propsData},on:{focus:this.onFocus,blur:this.onBlur,...!!re&&{click:Ye=>{re&&re(Ye)}}}},[e("template",{slot:"icon"},[A]),ye])},d=f=>{var h,g;const m=((h=this.$slots.icon)==null?void 0:h[0])||(this.defaultIcon?e("span",{class:["icon",this.defaultIcon]}):e("DotsHorizontal",{props:{size:20}}));return e("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",setReturnFocus:this.isSemanticPopoverLike?(g=this.$refs.menuButton)==null?void 0:g.$el:null,focusTrap:this.isSemanticPopoverLike},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"after-show":this.onOpen,hide:this.closeMenu}},[e("NcButton",{class:"action-item__menutoggle",props:{type:this.triggerBtnType,disabled:this.disabled},slot:"trigger",ref:"menuButton",attrs:{"aria-haspopup":this.isSemanticMenu?null:"menu","aria-label":this.menuName?null:this.ariaLabel,"aria-controls":this.opened?this.randomId:null,"aria-expanded":this.opened?"true":void 0},on:{focus:this.onFocus,blur:this.onBlur}},[e("template",{slot:"icon"},[m]),this.menuName]),e("div",{class:{open:this.opened},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown,mousemove:this.onMouseFocusAction},ref:"menu"},[e("ul",{attrs:{id:this.randomId,tabindex:"-1",role:this.isSemanticMenu?"menu":void 0}},[f])])])};if(t.length===1&&c.length===1&&!this.forceMenu)return u(c[0]);if(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction()}),c.length>0&&this.inline>0){const f=c.slice(0,this.inline),h=t.filter(g=>!f.includes(g));return e("div",{class:["action-items",`action-item--${this.triggerBtnType}`]},[...f.map(u),h.length>0?e("div",{class:["action-item",{"action-item--open":this.opened}]},[d(h)]):null])}return e("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerBtnType}`,{"action-item--open":this.opened}]},[d(t)])}},hb=null,fb=null;var gb=de(cb,hb,fb,!1,null,"7baca6e4",null,null);const Du=gb.exports;const _b={before(){(!this.$slots.default||this.text.trim()==="")&&(Va.util.warn(`${this.$options.name} cannot be empty and requires a meaningful text content`,this),this.$destroy(),this.$el.remove())},beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}},Fb=function(e,t){let a=e.$parent;for(;a;){if(a.$options.name===t)return a;a=a.$parent}},Uf={mixins:[_b],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return new URL(this.icon)}catch{return!1}}},methods:{onClick(e){if(this.$emit("click",e),this.closeAfterClick){const t=Fb(this,"NcActions");t&&t.closeMenu&&t.closeMenu(!1)}}}},mb={name:"NcActionLink",mixins:[Uf],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{href:{type:String,default:"#",required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null},ariaHidden:{type:Boolean,default:null}}};var pb=function(){var e=this,t=e._self._c;return t("li",{staticClass:"action",attrs:{role:e.isInSemanticMenu&&"presentation"}},[t("a",{staticClass:"action-link focusable",attrs:{download:e.download,href:e.href,"aria-label":e.ariaLabel,target:e.target,title:e.title,rel:"nofollow noreferrer noopener",role:e.isInSemanticMenu&&"menuitem"},on:{click:e.onClick}},[e._t("icon",function(){return[t("span",{staticClass:"action-link__icon",class:[e.isIconUrl?"action-link__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?`url(${e.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e.name?t("span",{staticClass:"action-link__longtext-wrapper"},[t("strong",{staticClass:"action-link__name"},[e._v(" "+e._s(e.name)+" ")]),t("br"),t("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?t("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-link__text"},[e._v(e._s(e.text))]),e._e()],2)])},Tb=[],Db=de(mb,pb,Tb,!1,null,"c0bc0588",null,null);const Eb=Db.exports;let nr=class{constructor(e,t,a,i){this.r=e,this.g=t,this.b=a,i&&(this.name=i)}};function bb(e,t){const a=new Array(3);return a[0]=(t[1].r-t[0].r)/e,a[1]=(t[1].g-t[0].g)/e,a[2]=(t[1].b-t[0].b)/e,a}function cs(e,t,a){const i=[];i.push(t);const n=bb(e,[t,a]);for(let r=1;r>>32-i},rotr:function(a,i){return a<<32-i|a>>>i},endian:function(a){if(a.constructor==Number)return t.rotl(a,8)&16711935|t.rotl(a,24)&4278255360;for(var i=0;i0;a--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(a){for(var i=[],n=0,r=0;n>>5]|=a[n]<<24-r%32;return i},wordsToBytes:function(a){for(var i=[],n=0;n>>5]>>>24-n%32&255);return i},bytesToHex:function(a){for(var i=[],n=0;n>>4).toString(16)),i.push((a[n]&15).toString(16));return i.join("")},hexToBytes:function(a){for(var i=[],n=0;n>>6*(3-o)&63)):i.push("=");return i.join("")},base64ToBytes:function(a){a=a.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],n=0,r=0;n>>6-r*2);return i}};Hf.exports=t})();var Ab=Hf.exports,sl={utf8:{stringToBytes:function(e){return sl.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(sl.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],a=0;a>>24)&16711935|(s[h]<<24|s[h]>>>8)&4278255360;s[l>>>5]|=128<>>9<<4)+14]=l;for(var g=n._ff,m=n._gg,p=n._hh,T=n._ii,h=0;h>>0,u=u+k>>>0,d=d+C>>>0,f=f+j>>>0}return e.endian([c,u,d,f])};n._ff=function(r,o,s,l,c,u,d){var f=r+(o&s|~o&l)+(c>>>0)+d;return(f<>>32-u)+o},n._gg=function(r,o,s,l,c,u,d){var f=r+(o&l|s&~l)+(c>>>0)+d;return(f<>>32-u)+o},n._hh=function(r,o,s,l,c,u,d){var f=r+(o^s^l)+(c>>>0)+d;return(f<>>32-u)+o},n._ii=function(r,o,s,l,c,u,d){var f=r+(s^(o|~l))+(c>>>0)+d;return(f<>>32-u)+o},n._blocksize=16,n._digestsize=16,qf.exports=function(r,o){if(r==null)throw new Error("Illegal argument "+r);var s=e.wordsToBytes(n(r,o));return o&&o.asBytes?s:o&&o.asString?i.bytesToString(s):e.bytesToHex(s)}})();var vb=qf.exports;const Rb=ti(vb),l1=function(e){let t=e.toLowerCase();t.match(/^([0-9a-f]{4}-?){8}$/)===null&&(t=Rb(t)),t=t.replace(/[^0-9a-f]/g,"");const a=6,i=yb(a);function n(r,o){let s=0;const l=[];for(let c=0;cwindow.outerHeight===screen.height,u1=nt(Vf());window.addEventListener("resize",()=>{u1.value=Vf()}),fo(u1);const Nb="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",wb="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",dn=(e,t)=>{for(const a in t)e[a]=t[a];return e},ll="numeric",ul="ascii",dl="alpha",rr="asciinumeric",Z0="alphanumeric",cl="domain",$f="emoji",Ob="scheme",xb="slashscheme",d1="whitespace";function Bb(e,t){return e in t||(t[e]=[]),t[e]}function Ti(e,t,a){t[ll]&&(t[rr]=!0,t[Z0]=!0),t[ul]&&(t[rr]=!0,t[dl]=!0),t[rr]&&(t[Z0]=!0),t[dl]&&(t[Z0]=!0),t[Z0]&&(t[cl]=!0),t[$f]&&(t[cl]=!0);for(const i in t){const n=Bb(i,a);n.indexOf(e)<0&&n.push(e)}}function Cb(e,t){const a={};for(const i in t)t[i].indexOf(e)>=0&&(a[i]=!0);return a}function bt(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}bt.groups={},bt.prototype={accepts(){return!!this.t},go(e){const t=this,a=t.j[e];if(a)return a;for(let i=0;ie.ta(t,a,i,n),Nt=(e,t,a,i,n)=>e.tr(t,a,i,n),c1=(e,t,a,i,n)=>e.ts(t,a,i,n),X=(e,t,a,i,n)=>e.tt(t,a,i,n),ga="WORD",hl="UWORD",c0="LOCALHOST",fl="TLD",gl="UTLD",or="SCHEME",Pi="SLASH_SCHEME",Eu="NUM",Wf="WS",bu="NL",zi="OPENBRACE",Un="OPENBRACKET",qn="OPENANGLEBRACKET",Hn="OPENPAREN",_i="CLOSEBRACE",Vi="CLOSEBRACKET",$i="CLOSEANGLEBRACKET",Fi="CLOSEPAREN",Pr="AMPERSAND",Gr="APOSTROPHE",Ur="ASTERISK",Za="AT",qr="BACKSLASH",Hr="BACKTICK",zr="CARET",Pa="COLON",yu="COMMA",Vr="DOLLAR",Wt="DOT",$r="EQUALS",Au="EXCLAMATION",Qt="HYPHEN",Wr="PERCENT",Qr="PIPE",Jr="PLUS",Kr="POUND",Xr="QUERY",Su="QUOTE",ku="SEMI",Jt="SLASH",zn="TILDE",eo="UNDERSCORE",Qf="EMOJI",to="SYM";var Jf=Object.freeze({__proto__:null,WORD:ga,UWORD:hl,LOCALHOST:c0,TLD:fl,UTLD:gl,SCHEME:or,SLASH_SCHEME:Pi,NUM:Eu,WS:Wf,NL:bu,OPENBRACE:zi,OPENBRACKET:Un,OPENANGLEBRACKET:qn,OPENPAREN:Hn,CLOSEBRACE:_i,CLOSEBRACKET:Vi,CLOSEANGLEBRACKET:$i,CLOSEPAREN:Fi,AMPERSAND:Pr,APOSTROPHE:Gr,ASTERISK:Ur,AT:Za,BACKSLASH:qr,BACKTICK:Hr,CARET:zr,COLON:Pa,COMMA:yu,DOLLAR:Vr,DOT:Wt,EQUALS:$r,EXCLAMATION:Au,HYPHEN:Qt,PERCENT:Wr,PIPE:Qr,PLUS:Jr,POUND:Kr,QUERY:Xr,QUOTE:Su,SEMI:ku,SLASH:Jt,TILDE:zn,UNDERSCORE:eo,EMOJI:Qf,SYM:to});const Mi=/[a-z]/,hs=/\p{L}/u,fs=/\p{Emoji}/u,gs=/\d/,h1=/\s/,f1=` +`]},seconds:{msgid:"seconds",comments:{reference:"lib/index.ts:22"},msgstr:["秒"]}}}}}].find(function(f){return f.locale===u}))&&r().updateLocale(r().locale(),{relativeTime:{s:c.gettext("seconds")}});var d=r();return i}()})})(gh);var O2=gh.exports;const os=ti(O2);const x2={name:"NcButton",props:{alignment:{type:String,default:"center",validator:e=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(e)},disabled:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)!==-1},default:"secondary"},nativeType:{type:String,validator(e){return["submit","reset","button"].indexOf(e)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null}},emits:["update:pressed","click"],computed:{realType(){return this.pressed?"primary":this.pressed===!1&&this.type==="primary"?"secondary":this.type},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")}},render(e){var t,a,i;const n=!!this.$slots.default,r=(t=this.$slots)==null?void 0:t.icon;!n&&!this.ariaLabel&&console.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:(i=(a=this.$slots.default)==null?void 0:a[0])==null?void 0:i.text,ariaLabel:this.ariaLabel},this);const o=({navigate:s,isActive:l,isExactActive:c}={})=>e(this.to||!this.href?"button":"a",{class:["button-vue",{"button-vue--icon-only":r&&!n,"button-vue--text-only":n&&!r,"button-vue--icon-and-text":r&&n,[`button-vue--vue-${this.realType}`]:this.realType,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:l,"router-link-exact-active":c}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":this.pressed,disabled:this.disabled,type:this.href?null:this.nativeType,role:this.href?"button":null,href:!this.to&&this.href?this.href:null,target:!this.to&&this.href?"_self":null,rel:!this.to&&this.href?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.$attrs},on:{...this.$listeners,click:u=>{typeof this.pressed=="boolean"&&this.$emit("update:pressed",!this.pressed),this.$emit("click",u),s?.(u)}}},[e("span",{class:"button-vue__wrapper"},[r?e("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,n?e("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?e("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:o}}):o()}},B2=null,C2=null;var M2=de(x2,B2,C2,!1,null,"8f4e0666",null,null);const ai=M2.exports;function Ra(e){return e.split("-")[0]}function tn(e){return e.split("-")[1]}function b0(e){return["top","bottom"].includes(Ra(e))?"x":"y"}function cu(e){return e==="y"?"height":"width"}function Sd(e){let{reference:t,floating:a,placement:i}=e;const n=t.x+t.width/2-a.width/2,r=t.y+t.height/2-a.height/2;let o;switch(Ra(i)){case"top":o={x:n,y:t.y-a.height};break;case"bottom":o={x:n,y:t.y+t.height};break;case"right":o={x:t.x+t.width,y:r};break;case"left":o={x:t.x-a.width,y:r};break;default:o={x:t.x,y:t.y}}const s=b0(i),l=cu(s);switch(tn(i)){case"start":o[s]=o[s]-(t[l]/2-a[l]/2);break;case"end":o[s]=o[s]+(t[l]/2-a[l]/2);break}return o}const Y2=async(e,t,a)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:o}=a;let s=await o.getElementRects({reference:e,floating:t,strategy:n}),{x:l,y:c}=Sd({...s,placement:i}),u=i,d={};for(let f=0;f({name:"arrow",options:e,async fn(t){const{element:a,padding:i=0}=e??{},{x:n,y:r,placement:o,rects:s,platform:l}=t;if(a==null)return{};const c=Qh(i),u={x:n,y:r},d=Ra(o),f=b0(d),h=cu(f),g=await l.getDimensions({element:a}),m=f==="y"?"top":"left",p=f==="y"?"bottom":"right",T=s.reference[h]+s.reference[f]-u[f]-s.floating[h],R=u[f]-s.reference[f],k=await l.getOffsetParent({element:a}),C=k?f==="y"?k.clientHeight||0:k.clientWidth||0:0,j=T/2-R/2,E=c[m],I=C-g[h]-c[p],M=C/2-g[h]/2+j,P=Ks(E,M,I);return{data:{[f]:P,centerOffset:M-P}}}}),j2={left:"right",right:"left",bottom:"top",top:"bottom"};function Nr(e){return e.replace(/left|right|bottom|top/g,t=>j2[t])}function Jh(e,t){const a=tn(e)==="start",i=b0(e),n=cu(i);let r=i==="x"?a?"right":"left":a?"bottom":"top";return t.reference[n]>t.floating[n]&&(r=Nr(r)),{main:r,cross:Nr(r)}}const P2={start:"end",end:"start"};function Xs(e){return e.replace(/start|end/g,t=>P2[t])}const G2=["top","right","bottom","left"],U2=G2.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function q2(e,t,a){return(e?[...a.filter(i=>tn(i)===e),...a.filter(i=>tn(i)!==e)]:a.filter(i=>Ra(i)===i)).filter(i=>e?tn(i)===e||(t?Xs(i)!==i:!1):!0)}const H2=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var a,i,n,r,o,s;const{x:l,y:c,rects:u,middlewareData:d,placement:f}=t,{alignment:h=null,allowedPlacements:g=U2,autoAlignment:m=!0,...p}=e;if((a=d.autoPlacement)!=null&&a.skip)return{};const T=q2(h,m,g),R=await yo(t,p),k=(i=(n=d.autoPlacement)==null?void 0:n.index)!=null?i:0,C=T[k],{main:j,cross:E}=Jh(C,u);if(f!==C)return{x:l,y:c,reset:{placement:T[0]}};const I=[R[Ra(C)],R[j],R[E]],M=[...(r=(o=d.autoPlacement)==null?void 0:o.overflows)!=null?r:[],{placement:C,overflows:I}],P=T[k+1];if(P)return{data:{index:k+1,overflows:M},reset:{placement:P}};const _=M.slice().sort((S,x)=>S.overflows[0]-x.overflows[0]),D=(s=_.find(S=>{let{overflows:x}=S;return x.every(L=>L<=0)}))==null?void 0:s.placement;return{data:{skip:!0},reset:{placement:D??_[0].placement}}}}};function z2(e){const t=Nr(e);return[Xs(e),t,Xs(t)]}const V2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,i;const{placement:n,middlewareData:r,rects:o,initialPlacement:s}=t;if((a=r.flip)!=null&&a.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",flipAlignment:f=!0,...h}=e,g=Ra(n),m=u||(g===s||!f?[Nr(s)]:z2(s)),p=[s,...m],T=await yo(t,h),R=[];let k=((i=r.flip)==null?void 0:i.overflows)||[];if(l&&R.push(T[g]),c){const{main:I,cross:M}=Jh(n,o);R.push(T[I],T[M])}if(k=[...k,{placement:n,overflows:R}],!R.every(I=>I<=0)){var C,j;const I=((C=(j=r.flip)==null?void 0:j.index)!=null?C:0)+1,M=p[I];if(M)return{data:{index:I,overflows:k},reset:{placement:M}};let P="bottom";switch(d){case"bestFit":{var E;const _=(E=k.slice().sort((D,S)=>D.overflows.filter(x=>x>0).reduce((x,L)=>x+L,0)-S.overflows.filter(x=>x>0).reduce((x,L)=>x+L,0))[0])==null?void 0:E.placement;_&&(P=_);break}case"initialPlacement":P=s;break}return{data:{skip:!0},reset:{placement:P}}}return{}}}};function $2(e){let{placement:t,rects:a,value:i}=e;const n=Ra(t),r=["left","top"].includes(n)?-1:1,o=typeof i=="function"?i({...a,placement:t}):i,{mainAxis:s,crossAxis:l}=typeof o=="number"?{mainAxis:o,crossAxis:0}:{mainAxis:0,crossAxis:0,...o};return b0(n)==="x"?{x:l,y:s*r}:{x:s*r,y:l}}const W2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:a,y:i,placement:n,rects:r}=t,o=$2({placement:n,rects:r,value:e});return{x:a+o.x,y:i+o.y,data:o}}}};function Q2(e){return e==="x"?"y":"x"}const J2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:i,placement:n}=t,{mainAxis:r=!0,crossAxis:o=!1,limiter:s={fn:p=>{let{x:T,y:R}=p;return{x:T,y:R}}},...l}=e,c={x:a,y:i},u=await yo(t,l),d=b0(Ra(n)),f=Q2(d);let h=c[d],g=c[f];if(r){const p=d==="y"?"top":"left",T=d==="y"?"bottom":"right",R=h+u[p],k=h-u[T];h=Ks(R,h,k)}if(o){const p=f==="y"?"top":"left",T=f==="y"?"bottom":"right",R=g+u[p],k=g-u[T];g=Ks(R,g,k)}const m=s.fn({...t,[d]:h,[f]:g});return{...m,data:{x:m.x-a,y:m.y-i}}}}},K2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a;const{placement:i,rects:n,middlewareData:r}=t,{apply:o,...s}=e;if((a=r.size)!=null&&a.skip)return{};const l=await yo(t,s),c=Ra(i),u=tn(i)==="end";let d,f;c==="top"||c==="bottom"?(d=c,f=u?"left":"right"):(f=c,d=u?"top":"bottom");const h=hi(l.left,0),g=hi(l.right,0),m=hi(l.top,0),p=hi(l.bottom,0),T={height:n.floating.height-(["left","right"].includes(i)?2*(m!==0||p!==0?m+p:hi(l.top,l.bottom)):l[d]),width:n.floating.width-(["top","bottom"].includes(i)?2*(h!==0||g!==0?h+g:hi(l.left,l.right)):l[f])};return o?.({...T,...n}),{data:{skip:!0},reset:{rects:!0}}}}};function hu(e){return e?.toString()==="[object Window]"}function ii(e){if(e==null)return window;if(!hu(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ao(e){return ii(e).getComputedStyle(e)}function Ea(e){return hu(e)?"":e?(e.nodeName||"").toLowerCase():""}function ba(e){return e instanceof ii(e).HTMLElement}function wr(e){return e instanceof ii(e).Element}function X2(e){return e instanceof ii(e).Node}function Kh(e){const t=ii(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function So(e){const{overflow:t,overflowX:a,overflowY:i}=Ao(e);return/auto|scroll|overlay|hidden/.test(t+i+a)}function e3(e){return["table","td","th"].includes(Ea(e))}function Xh(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),a=Ao(e);return a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].includes(a.willChange)||t&&a.willChange==="filter"||t&&(a.filter?a.filter!=="none":!1)}const kd=Math.min,Zn=Math.max,Or=Math.round;function ln(e,t){t===void 0&&(t=!1);const a=e.getBoundingClientRect();let i=1,n=1;return t&&ba(e)&&(i=e.offsetWidth>0&&Or(a.width)/e.offsetWidth||1,n=e.offsetHeight>0&&Or(a.height)/e.offsetHeight||1),{width:a.width/i,height:a.height/n,top:a.top/n,right:a.right/i,bottom:a.bottom/n,left:a.left/i,x:a.left/i,y:a.top/n}}function ni(e){return((X2(e)?e.ownerDocument:e.document)||window.document).documentElement}function ko(e){return hu(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ef(e){return ln(ni(e)).left+ko(e).scrollLeft}function t3(e){const t=ln(e);return Or(t.width)!==e.offsetWidth||Or(t.height)!==e.offsetHeight}function a3(e,t,a){const i=ba(t),n=ni(t),r=ln(e,i&&t3(t));let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(i||!i&&a!=="fixed")if((Ea(t)!=="body"||So(n))&&(o=ko(t)),ba(t)){const l=ln(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else n&&(s.x=ef(n));return{x:r.left+o.scrollLeft-s.x,y:r.top+o.scrollTop-s.y,width:r.width,height:r.height}}function vo(e){return Ea(e)==="html"?e:e.assignedSlot||e.parentNode||(Kh(e)?e.host:null)||ni(e)}function vd(e){return!ba(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function i3(e){let t=vo(e);for(;ba(t)&&!["html","body"].includes(Ea(t));){if(Xh(t))return t;t=t.parentNode}return null}function el(e){const t=ii(e);let a=vd(e);for(;a&&e3(a)&&getComputedStyle(a).position==="static";)a=vd(a);return a&&(Ea(a)==="html"||Ea(a)==="body"&&getComputedStyle(a).position==="static"&&!Xh(a))?t:a||i3(e)||t}function Rd(e){return{width:e.offsetWidth,height:e.offsetHeight}}function n3(e){let{rect:t,offsetParent:a,strategy:i}=e;const n=ba(a),r=ni(a);if(a===r)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((n||!n&&i!=="fixed")&&((Ea(a)!=="body"||So(r))&&(o=ko(a)),ba(a))){const l=ln(a,!0);s.x=l.x+a.clientLeft,s.y=l.y+a.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}}function r3(e){const t=ii(e),a=ni(e),i=t.visualViewport;let n=a.clientWidth,r=a.clientHeight,o=0,s=0;return i&&(n=i.width,r=i.height,Math.abs(t.innerWidth/i.scale-i.width)<.01&&(o=i.offsetLeft,s=i.offsetTop)),{width:n,height:r,x:o,y:s}}function o3(e){var t;const a=ni(e),i=ko(e),n=(t=e.ownerDocument)==null?void 0:t.body,r=Zn(a.scrollWidth,a.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=Zn(a.scrollHeight,a.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0);let s=-i.scrollLeft+ef(e);const l=-i.scrollTop;return Ao(n||a).direction==="rtl"&&(s+=Zn(a.clientWidth,n?n.clientWidth:0)-r),{width:r,height:o,x:s,y:l}}function tf(e){return["html","body","#document"].includes(Ea(e))?e.ownerDocument.body:ba(e)&&So(e)?e:tf(vo(e))}function xr(e,t){var a;t===void 0&&(t=[]);const i=tf(e),n=i===((a=e.ownerDocument)==null?void 0:a.body),r=ii(i),o=n?[r].concat(r.visualViewport||[],So(i)?i:[]):i,s=t.concat(o);return n?s:s.concat(xr(vo(o)))}function s3(e,t){const a=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(a&&Kh(a)){let i=t;do{if(i&&e===i)return!0;i=i.parentNode||i.host}while(i)}return!1}function l3(e){const t=ln(e),a=t.top+e.clientTop,i=t.left+e.clientLeft;return{top:a,left:i,x:i,y:a,right:i+e.clientWidth,bottom:a+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Nd(e,t){return t==="viewport"?Js(r3(e)):wr(t)?l3(t):Js(o3(ni(e)))}function u3(e){const t=xr(vo(e)),a=["absolute","fixed"].includes(Ao(e).position)&&ba(e)?el(e):e;return wr(a)?t.filter(i=>wr(i)&&s3(i,a)&&Ea(i)!=="body"):[]}function d3(e){let{element:t,boundary:a,rootBoundary:i}=e;const n=[...a==="clippingParents"?u3(t):[].concat(a),i],r=n[0],o=n.reduce((s,l)=>{const c=Nd(t,l);return s.top=Zn(c.top,s.top),s.right=kd(c.right,s.right),s.bottom=kd(c.bottom,s.bottom),s.left=Zn(c.left,s.left),s},Nd(t,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}const c3={getElementRects:e=>{let{reference:t,floating:a,strategy:i}=e;return{reference:a3(t,el(a),i),floating:{...Rd(a),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>n3(e),getOffsetParent:e=>{let{element:t}=e;return el(t)},isElement:e=>wr(e),getDocumentElement:e=>{let{element:t}=e;return ni(t)},getClippingClientRect:e=>d3(e),getDimensions:e=>{let{element:t}=e;return Rd(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},h3=(e,t,a)=>Y2(e,t,{platform:c3,...a});var f3=Object.defineProperty,g3=Object.defineProperties,_3=Object.getOwnPropertyDescriptors,Br=Object.getOwnPropertySymbols,af=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable,wd=(e,t,a)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ja=(e,t)=>{for(var a in t||(t={}))af.call(t,a)&&wd(e,a,t[a]);if(Br)for(var a of Br(t))nf.call(t,a)&&wd(e,a,t[a]);return e},Ro=(e,t)=>g3(e,_3(t)),F3=(e,t)=>{var a={};for(var i in e)af.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&Br)for(var i of Br(e))t.indexOf(i)<0&&nf.call(e,i)&&(a[i]=e[i]);return a};function rf(e,t){for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(typeof t[a]=="object"&&e[a]?rf(e[a],t[a]):e[a]=t[a])}const ra={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function un(e,t){let a=ra.themes[e]||{},i;do i=a[t],typeof i>"u"?a.$extend?a=ra.themes[a.$extend]||{}:(a=null,i=ra[t]):a=null;while(a);return i}function m3(e){const t=[e];let a=ra.themes[e]||{};do a.$extend&&!a.$resetCss?(t.push(a.$extend),a=ra.themes[a.$extend]||{}):a=null;while(a);return t.map(i=>`v-popper--theme-${i}`)}function Od(e){const t=[e];let a=ra.themes[e]||{};do a.$extend?(t.push(a.$extend),a=ra.themes[a.$extend]||{}):a=null;while(a);return t}let Si=!1;if(typeof window<"u"){Si=!1;try{const e=Object.defineProperty({},"passive",{get(){Si=!0}});window.addEventListener("test",null,e)}catch{}}let of=!1;typeof window<"u"&&typeof navigator<"u"&&(of=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const sf=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),xd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Bd={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Cd(e,t){const a=e.indexOf(t);a!==-1&&e.splice(a,1)}function ss(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Pt=[];let li=null;const Md={};function Yd(e){let t=Md[e];return t||(t=Md[e]=[]),t}let tl=function(){};typeof window<"u"&&(tl=window.Element);function we(e){return function(){const t=this.$props;return un(t.theme,e)}}const ls="__floating-vue__popper";var lf=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:we("disabled")},positioningDisabled:{type:Boolean,default:we("positioningDisabled")},placement:{type:String,default:we("placement"),validator:e=>sf.includes(e)},delay:{type:[String,Number,Object],default:we("delay")},distance:{type:[Number,String],default:we("distance")},skidding:{type:[Number,String],default:we("skidding")},triggers:{type:Array,default:we("triggers")},showTriggers:{type:[Array,Function],default:we("showTriggers")},hideTriggers:{type:[Array,Function],default:we("hideTriggers")},popperTriggers:{type:Array,default:we("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:we("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:we("popperHideTriggers")},container:{type:[String,Object,tl,Boolean],default:we("container")},boundary:{type:[String,tl],default:we("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:we("strategy")},autoHide:{type:[Boolean,Function],default:we("autoHide")},handleResize:{type:Boolean,default:we("handleResize")},instantMove:{type:Boolean,default:we("instantMove")},eagerMount:{type:Boolean,default:we("eagerMount")},popperClass:{type:[String,Array,Object],default:we("popperClass")},computeTransformOrigin:{type:Boolean,default:we("computeTransformOrigin")},autoMinSize:{type:Boolean,default:we("autoMinSize")},autoSize:{type:[Boolean,String],default:we("autoSize")},autoMaxSize:{type:Boolean,default:we("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:we("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:we("preventOverflow")},overflowPadding:{type:[Number,String],default:we("overflowPadding")},arrowPadding:{type:[Number,String],default:we("arrowPadding")},arrowOverflow:{type:Boolean,default:we("arrowOverflow")},flip:{type:Boolean,default:we("flip")},shift:{type:Boolean,default:we("shift")},shiftCrossAxis:{type:Boolean,default:we("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:we("noAutoFocus")}},provide(){return{[ls]:{parentPopper:this}}},inject:{[ls]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:Ro(ja({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var e;return(e=this[ls])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:ja(ja({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:a=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(a||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1,skipAiming:a=!1}={}){var i;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!a&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(W2({mainAxis:this.distance,crossAxis:this.skidding}));const a=this.placement.startsWith("auto");if(a?t.middleware.push(H2({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(J2({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!a&&this.flip&&t.middleware.push(V2({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(I2({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:r,middlewareData:o})=>{let s;const{centerOffset:l}=o.arrow;return n.startsWith("top")||n.startsWith("bottom")?s=Math.abs(l)>r.reference.width/2:s=Math.abs(l)>r.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let c,u;return o.startsWith("top")||o.startsWith("bottom")?c=r.reference.width:u=r.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(K2({boundary:this.boundary,padding:this.overflowPadding,apply:({width:n,height:r})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const i=await h3(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:ja(ja({},i.middlewareData.arrow),i.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),li&&this.instantMove&&li.instantMove&&li!==this.parentPopper){li.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(li=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ss(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...xr(this.$_referenceNode),...xr(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),a=this.$_popperNode.querySelector(".v-popper__wrapper"),i=a.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+a.offsetLeft),r=t.y+t.height/2-(i.top+a.offsetTop);this.result.transformOrigin=`${n}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let a=0;a0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Cd(Pt,this),Pt.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Od(this.theme)){const i=Yd(a);Cd(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}li===this&&(li=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=un(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ss(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=a=>{this.isShown&&!this.$_hideInProgress||(a.usedByTooltip=!0,!this.$_preventShow&&this.show({event:a}))};this.$_registerTriggerListeners(this.$_targetNodes,xd,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],xd,this.popperTriggers,this.popperShowTriggers,e);const t=a=>i=>{i.usedByTooltip||this.hide({event:i,skipAiming:a})};this.$_registerTriggerListeners(this.$_targetNodes,Bd,this.triggers,this.hideTriggers,t(!1)),this.$_registerTriggerListeners([this.$_popperNode],Bd,this.popperTriggers,this.popperHideTriggers,t(!0))},$_registerEventListeners(e,t,a){this.$_events.push({targetNodes:e,eventType:t,handler:a}),e.forEach(i=>i.addEventListener(t,a,Si?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,a,i,n){let r=a;i!=null&&(r=typeof i=="function"?i(r):i),r.forEach(o=>{const s=t[o];s&&this.$_registerEventListeners(e,s,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(a=>{const{targetNodes:i,eventType:n,handler:r}=a;!e||e===n?i.forEach(o=>o.removeEventListener(n,r)):t.push(a)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const a of this.$_targetNodes){const i=a.getAttribute(e);i&&(a.removeAttribute(e),a.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const a in e){const i=e[a];i==null?t.removeAttribute(a):t.setAttribute(a,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$el.getBoundingClientRect();if(In>=e.left&&In<=e.right&&jn>=e.top&&jn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),a=In-Ca,i=jn-Ma,n=t.left+t.width/2-Ca+(t.top+t.height/2)-Ma+t.width+t.height,r=Ca+a*n,o=Ma+i*n;return B0(Ca,Ma,r,o,t.left,t.top,t.left,t.bottom)||B0(Ca,Ma,r,o,t.left,t.top,t.right,t.top)||B0(Ca,Ma,r,o,t.right,t.top,t.right,t.bottom)||B0(Ca,Ma,r,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(of?(document.addEventListener("touchstart",Ld,Si?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",T3,Si?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Ld,!0),window.addEventListener("click",p3,!0)),window.addEventListener("resize",b3));function Ld(e){for(let t=0;t=0;i--){const n=Pt[i];try{const r=n.$_containsGlobalTarget=D3(n,e);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!a[n.randomId]&&Zd(n,r,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let s=n.parentPopper;for(;s;)a[s.randomId]=!0,s=s.parentPopper;return}let o=n.parentPopper;for(;o&&Zd(o,o.$_containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function D3(e,t){const a=e.popperNode();return e.$_mouseDownContains||a.contains(t.target)}function Zd(e,t,a){return a.closeAllPopover||a.closePopover&&t||E3(e,a)&&!t}function E3(e,t){if(typeof e.autoHide=="function"){const a=e.autoHide(t);return e.lastAutoHide=a,a}return e.autoHide}function b3(e){for(let t=0;t{Ca=In,Ma=jn,In=e.clientX,jn=e.clientY},Si?{passive:!0}:void 0);function B0(e,t,a,i,n,r,o,s){const l=((o-n)*(t-r)-(s-r)*(e-n))/((s-r)*(a-e)-(o-n)*(i-t)),c=((a-e)*(t-r)-(i-t)*(e-n))/((s-r)*(a-e)-(o-n)*(i-t));return l>=0&&l<=1&&c>=0&&c<=1}function y3(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var a=e.indexOf("Trident/");if(a>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}var ar;function al(){al.init||(al.init=!0,ar=y3()!==-1)}var A3={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;al(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()});var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",ar&&this.$el.appendChild(t),t.data="about:blank",ar||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!ar&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function S3(e,t,a,i,n,r,o,s,l,c){typeof o!="boolean"&&(l=s,s=o,o=!1);var u=typeof a=="function"?a.options:a;e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,n&&(u.functional=!0)),i&&(u._scopeId=i);var d;if(r?(d=function(g){g=g||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!g&&typeof __VUE_SSR_CONTEXT__<"u"&&(g=__VUE_SSR_CONTEXT__),t&&t.call(this,l(g)),g&&g._registeredComponents&&g._registeredComponents.add(r)},u._ssrRegister=d):t&&(d=o?function(g){t.call(this,c(g,this.$root.$options.shadowRoot))}:function(g){t.call(this,s(g))}),d)if(u.functional){var f=u.render;u.render=function(g,m){return d.call(m),f(g,m)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,d):[d]}return a}var k3=A3,df=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},v3=[];df._withStripped=!0;var R3=void 0,N3="data-v-8859cc6c",w3=void 0,O3=!1,il=S3({render:df,staticRenderFns:v3},R3,k3,N3,O3,w3,!1,void 0,void 0,void 0);function x3(e){e.component("resize-observer",il),e.component("ResizeObserver",il)}var B3={version:"1.0.1",install:x3},C0=null;typeof window<"u"?C0=window.Vue:typeof mr.global<"u"&&(C0=mr.global.Vue),C0&&C0.use(B3);var cf={computed:{themeClass(){return m3(this.theme)}}},C3={name:"VPopperContent",components:{ResizeObserver:il},mixins:[cf],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}},M3=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}],style:e.result?{position:e.result.strategy,transform:"translate3d("+Math.round(e.result.x)+"px,"+Math.round(e.result.y)+"px,0)"}:void 0,attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0},on:{keyup:function(i){if(!i.type.indexOf("key")&&e._k(i.keyCode,"esc",27,i.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[a("div",{staticClass:"v-popper__backdrop",on:{click:function(i){e.autoHide&&e.$emit("hide")}}}),a("div",{staticClass:"v-popper__wrapper",style:e.result?{transformOrigin:e.result.transformOrigin}:void 0},[a("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[a("div",[e._t("default")],2),e.handleResize?a("ResizeObserver",{on:{notify:function(i){return e.$emit("resize",i)}}}):e._e()]:e._e()],2),a("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0},[a("div",{staticClass:"v-popper__arrow-outer"}),a("div",{staticClass:"v-popper__arrow-inner"})])])])},Y3=[];function bn(e,t,a,i,n,r,o,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var c;if(o?(c=function(f){f=f||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!f&&typeof __VUE_SSR_CONTEXT__<"u"&&(f=__VUE_SSR_CONTEXT__),n&&n.call(this,f),f&&f._registeredComponents&&f._registeredComponents.add(o)},l._ssrRegister=c):n&&(c=s?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(f,h){return c.call(h),u(f,h)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}const Id={};var L3=bn(C3,M3,Y3,!1,Z3,null,null,null);function Z3(e){for(let t in Id)this[t]=Id[t]}var hf=function(){return L3.exports}(),fu={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},I3={name:"VPopperWrapper",components:{Popper:lf(),PopperContent:hf},mixins:[fu,cf],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(e=>e!==this.$refs.popperContent.$el)}}},j3=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el}},scopedSlots:e._u([{key:"default",fn:function(i){var n=i.popperId,r=i.isShown,o=i.shouldMountContent,s=i.skipTransition,l=i.autoHide,c=i.show,u=i.hide,d=i.handleResize,f=i.onResize,h=i.classes,g=i.result;return[a("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":r}]},[e._t("default",null,{shown:r,show:c,hide:u}),a("PopperContent",{ref:"popperContent",attrs:{"popper-id":n,theme:e.theme,shown:r,mounted:o,"skip-transition":s,"auto-hide":l,"handle-resize":d,classes:h,result:g},on:{hide:u,resize:f}},[e._t("popper",null,{shown:r,hide:u})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))},P3=[];const jd={};var G3=bn(I3,j3,P3,!1,U3,null,null,null);function U3(e){for(let t in jd)this[t]=jd[t]}var gu=function(){return G3.exports}(),q3=Ro(ja({},gu),{name:"VDropdown",vPopperTheme:"dropdown"});let H3,z3;const Pd={};var V3=bn(q3,H3,z3,!1,$3,null,null,null);function $3(e){for(let t in Pd)this[t]=Pd[t]}var nl=function(){return V3.exports}(),W3=Ro(ja({},gu),{name:"VMenu",vPopperTheme:"menu"});let Q3,J3;const Gd={};var K3=bn(W3,Q3,J3,!1,X3,null,null,null);function X3(e){for(let t in Gd)this[t]=Gd[t]}var Ud=function(){return K3.exports}(),eD=Ro(ja({},gu),{name:"VTooltip",vPopperTheme:"tooltip"});let tD,aD;const qd={};var iD=bn(eD,tD,aD,!1,nD,null,null,null);function nD(e){for(let t in qd)this[t]=qd[t]}var Hd=function(){return iD.exports}(),rD={name:"VTooltipDirective",components:{Popper:lf(),PopperContent:hf},mixins:[fu],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return un(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return un(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(e){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,a=this.content(this);a.then?a.then(i=>this.onResult(t,i)):this.onResult(t,a)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},oD=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(i){var n=i.popperId,r=i.isShown,o=i.shouldMountContent,s=i.skipTransition,l=i.autoHide,c=i.hide,u=i.handleResize,d=i.onResize,f=i.classes,h=i.result;return[a("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":n,theme:e.theme,shown:r,mounted:o,"skip-transition":s,"auto-hide":l,"handle-resize":u,classes:f,result:h},on:{hide:c,resize:d}},[e.html?a("div",{domProps:{innerHTML:e._s(e.finalContent)}}):a("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))},sD=[];const zd={};var lD=bn(rD,oD,sD,!1,uD,null,null,null);function uD(e){for(let t in zd)this[t]=zd[t]}var dD=function(){return lD.exports}();const ff="v-popper--has-tooltip";function cD(e,t){let a=e.placement;if(!a&&t)for(const i of sf)t[i]&&(a=i);return a||(a=un(e.theme||"tooltip","placement")),a}function gf(e,t,a){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=cD(i,a),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}function hD(e,t,a){const i=gf(e,t,a),n=e.$_popper=new Va({mixins:[fu],data(){return{options:i}},render(o){const s=this.options,{theme:l,html:c,content:u,loadingContent:d}=s,f=F3(s,["theme","html","content","loadingContent"]);return o(dD,{props:{theme:l,html:c,content:u,loadingContent:d},attrs:f,ref:"popper"})},devtools:{hide:!0}}),r=document.createElement("div");return document.body.appendChild(r),n.$mount(r),e.classList&&e.classList.add(ff),n}function _f(e){e.$_popper&&(e.$_popper.$destroy(),delete e.$_popper,delete e.$_popperOldShown),e.classList&&e.classList.remove(ff)}function Vd(e,{value:t,oldValue:a,modifiers:i}){const n=gf(e,t,i);if(!n.content||un(n.theme||"tooltip","disabled"))_f(e);else{let r;e.$_popper?(r=e.$_popper,r.options=n):r=hD(e,t,i),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}var Ff={bind:Vd,update:Vd,unbind(e){_f(e)}};function $d(e){e.addEventListener("click",mf),e.addEventListener("touchstart",pf,Si?{passive:!0}:!1)}function Wd(e){e.removeEventListener("click",mf),e.removeEventListener("touchstart",pf),e.removeEventListener("touchend",Tf),e.removeEventListener("touchcancel",Df)}function mf(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function pf(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const a=e.changedTouches[0];t.$_vclosepopover_touchPoint=a,t.addEventListener("touchend",Tf),t.addEventListener("touchcancel",Df)}}function Tf(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const a=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(a.screenY-i.screenY)<20&&Math.abs(a.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Df(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var fD={bind(e,{value:t,modifiers:a}){e.$_closePopoverModifiers=a,(typeof t>"u"||t)&&$d(e)},update(e,{value:t,oldValue:a,modifiers:i}){e.$_closePopoverModifiers=i,t!==a&&(typeof t>"u"||t?$d(e):Wd(e))},unbind(e){Wd(e)}};const M0=ra,Ef=Ff,gD=nl;function _D(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,rf(ra,t),e.directive("tooltip",Ff),e.directive("close-popper",fD),e.component("v-tooltip",Hd),e.component("VTooltip",Hd),e.component("v-dropdown",nl),e.component("VDropdown",nl),e.component("v-menu",Ud),e.component("VMenu",Ud))}const FD={version:"1.0.0-beta.19",install:_D,options:ra};let Y0=null;typeof window<"u"?Y0=window.Vue:typeof mr.global<"u"&&(Y0=mr.global.Vue),Y0&&Y0.use(FD);M0.themes.tooltip.html=!1,M0.themes.tooltip.delay={show:500,hide:200},M0.themes.tooltip.distance=10,M0.themes.tooltip["arrow-padding"]=3;const mD={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var pD=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon arrow-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},TD=[],DD=de(mD,pD,TD,!1,null,null,null,null);const bf=DD.exports,ED=1024,yf=()=>document.documentElement.clientWidth{_u.value=yf()});function bD(){return fo(_u)}fo(_u);var ir={},Cr={},d0={};Object.defineProperty(d0,"__esModule",{value:!0}),d0.default=void 0;function Mr(e,t,a){return t=yD(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function yD(e){var t=AD(e,"string");return typeof t=="symbol"?t:String(t)}function AD(e,t){if(typeof e!="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var i=a.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class an{constructor(t,a,i){Mr(this,"scope",void 0),Mr(this,"wrapped",void 0),this.scope=`${i?an.GLOBAL_SCOPE_PERSISTENT:an.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=a}scopeKey(t){return`${this.scope}${t}`}setItem(t,a){this.wrapped.setItem(this.scopeKey(t),a)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter(t=>t.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}d0.default=an,Mr(an,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),Mr(an,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per"),Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=void 0;var SD=kD(d0);function kD(e){return e&&e.__esModule?e:{default:e}}function us(e,t,a){return t=vD(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function vD(e){var t=RD(e,"string");return typeof t=="symbol"?t:String(t)}function RD(e,t){if(typeof e!="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var i=a.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class ND{constructor(t){us(this,"appId",void 0),us(this,"persisted",!1),us(this,"clearedOnLogout",!1),this.appId=t}persist(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this.persisted=t,this}clearOnLogout(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this.clearedOnLogout=t,this}build(){return new SD.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}Cr.default=ND,Object.defineProperty(ir,"__esModule",{value:!0}),ir.clearAll=BD,ir.clearNonPersistent=CD;var Af=ir.getBuilder=xD,wD=Sf(Cr),OD=Sf(d0);function Sf(e){return e&&e.__esModule?e:{default:e}}function xD(e){return new wD.default(e)}function kf(e,t){Object.keys(e).filter(a=>t?t(a):!0).map(e.removeItem.bind(e))}function BD(){[window.sessionStorage,window.localStorage].map(e=>kf(e))}function CD(){[window.sessionStorage,window.localStorage].map(e=>kf(e,t=>!t.startsWith(OD.default.GLOBAL_SCOPE_PERSISTENT)))}Va.util.warn;function Fu(e){return nh()?(rh(e),!0):!1}function At(e){return typeof e=="function"?e():ah(e)}const MD=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const YD=e=>e!=null,LD=Object.prototype.toString,ZD=e=>LD.call(e)==="[object Object]",Lt=()=>{};function vf(e,t){function a(...i){return new Promise((n,r)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(n).catch(r)})}return a}function ID(e,t={}){let a,i,n=Lt;const r=o=>{clearTimeout(o),n(),n=Lt};return o=>{const s=At(e),l=At(t.maxWait);return a&&r(a),s<=0||l!==void 0&&l<=0?(i&&(r(i),i=null),Promise.resolve(o())):new Promise((c,u)=>{n=t.rejectOnCancel?u:c,l&&!i&&(i=setTimeout(()=>{a&&r(a),i=null,c(o())},l)),a=setTimeout(()=>{i&&r(i),i=null,c(o())},s)})}}function jD(e,t=!0,a=!0,i=!1){let n=0,r,o=!0,s=Lt,l;const c=()=>{r&&(clearTimeout(r),r=void 0,s(),s=Lt)};return u=>{const d=At(e),f=Date.now()-n,h=()=>l=u();return c(),d<=0?(n=Date.now(),h()):(f>d&&(a||!o)?(n=Date.now(),h()):t&&(l=new Promise((g,m)=>{s=i?m:g,r=setTimeout(()=>{n=Date.now(),o=!0,g(h()),c()},Math.max(0,d-f))})),!a&&!r&&(r=setTimeout(()=>o=!0,d)),o=!1,l)}}function PD(e,t=200,a={}){return vf(ID(t,a),e)}function GD(e,t=200,a=!1,i=!0,n=!1){return vf(jD(t,a,i,n),e)}function Rf(e,t=!0){jl()?Pl(e):t?e():ih(e)}function na(e){var t;const a=At(e);return(t=a?.$el)!=null?t:a}const wi=MD?window:void 0;function Pn(...e){let t,a,i,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,n]=e,t=wi):[t,a,i,n]=e,!t)return Lt;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},s=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=ei(()=>[na(t),At(n)],([u,d])=>{if(o(),!u)return;const f=ZD(d)?{...d}:d;r.push(...a.flatMap(h=>i.map(g=>s(u,h,g,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return Fu(c),c}function UD(){const e=nt(!1);return jl()&&Pl(()=>{e.value=!0}),e}function Nf(e){const t=UD();return Ge(()=>(t.value,!!e()))}function qD(e,t,a={}){const{window:i=wi,...n}=a;let r;const o=Nf(()=>i&&"ResizeObserver"in i),s=()=>{r&&(r.disconnect(),r=void 0)},l=Ge(()=>Array.isArray(e)?e.map(d=>na(d)):[na(e)]),c=ei(l,d=>{if(s(),o.value&&i){r=new ResizeObserver(t);for(const f of d)f&&r.observe(f,n)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{s(),c()};return Fu(u),{isSupported:o,stop:u}}function HD(e,t={width:0,height:0},a={}){const{window:i=wi,box:n="content-box"}=a,r=Ge(()=>{var d,f;return(f=(d=na(e))==null?void 0:d.namespaceURI)==null?void 0:f.includes("svg")}),o=nt(t.width),s=nt(t.height),{stop:l}=qD(e,([d])=>{const f=n==="border-box"?d.borderBoxSize:n==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(i&&r.value){const h=na(e);if(h){const g=i.getComputedStyle(h);o.value=Number.parseFloat(g.width),s.value=Number.parseFloat(g.height)}}else if(f){const h=Array.isArray(f)?f:[f];o.value=h.reduce((g,{inlineSize:m})=>g+m,0),s.value=h.reduce((g,{blockSize:m})=>g+m,0)}else o.value=d.contentRect.width,s.value=d.contentRect.height},a);Rf(()=>{const d=na(e);d&&(o.value="offsetWidth"in d?d.offsetWidth:t.width,s.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ei(()=>na(e),d=>{o.value=d?t.width:0,s.value=d?t.height:0});function u(){l(),c()}return{width:o,height:s,stop:u}}function zD(e,t,a={}){const{root:i,rootMargin:n="0px",threshold:r=.1,window:o=wi,immediate:s=!0}=a,l=Nf(()=>o&&"IntersectionObserver"in o),c=Ge(()=>{const g=At(e);return(Array.isArray(g)?g:[g]).map(na).filter(YD)});let u=Lt;const d=nt(s),f=l.value?ei(()=>[c.value,na(i),d.value],([g,m])=>{if(u(),!d.value||!g.length)return;const p=new IntersectionObserver(t,{root:na(m),rootMargin:n,threshold:r});g.forEach(T=>T&&p.observe(T)),u=()=>{p.disconnect(),u=Lt}},{immediate:s,flush:"post"}):Lt,h=()=>{u(),f(),d.value=!1};return Fu(h),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:h}}function VD(e,t={}){const{window:a=wi,scrollTarget:i}=t,n=nt(!1);return zD(e,([{isIntersecting:r}])=>{n.value=r},{root:i,window:a,threshold:0}),n}const Qd=1;function $D(e,t={}){const{throttle:a=0,idle:i=200,onStop:n=Lt,onScroll:r=Lt,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:l="auto",window:c=wi}=t,u=nt(0),d=nt(0),f=Ge({get(){return u.value},set(E){g(E,void 0)}}),h=Ge({get(){return d.value},set(E){g(void 0,E)}});function g(E,I){var M,P,_;if(!c)return;const D=At(e);D&&((_=D instanceof Document?c.document.body:D)==null||_.scrollTo({top:(M=At(I))!=null?M:h.value,left:(P=At(E))!=null?P:f.value,behavior:At(l)}))}const m=nt(!1),p=r0({left:!0,right:!1,top:!0,bottom:!1}),T=r0({left:!1,right:!1,top:!1,bottom:!1}),R=E=>{m.value&&(m.value=!1,T.left=!1,T.right=!1,T.top=!1,T.bottom=!1,n(E))},k=PD(R,a+i),C=E=>{var I;if(!c)return;const M=E.document?E.document.documentElement:(I=E.documentElement)!=null?I:E,{display:P,flexDirection:_}=getComputedStyle(M),D=M.scrollLeft;T.left=Du.value;const S=Math.abs(D)<=0+(o.left||0),x=Math.abs(D)+M.clientWidth>=M.scrollWidth-(o.right||0)-Qd;P==="flex"&&_==="row-reverse"?(p.left=x,p.right=S):(p.left=S,p.right=x),u.value=D;let L=M.scrollTop;E===c.document&&!L&&(L=c.document.body.scrollTop),T.top=Ld.value;const Z=Math.abs(L)<=0+(o.top||0),$=Math.abs(L)+M.clientHeight>=M.scrollHeight-(o.bottom||0)-Qd;P==="flex"&&_==="column-reverse"?(p.top=$,p.bottom=Z):(p.top=Z,p.bottom=$),d.value=L},j=E=>{var I;if(!c)return;const M=(I=E.target.documentElement)!=null?I:E.target;C(M),m.value=!0,k(E),r(E)};return Pn(e,"scroll",a?GD(j,a,!0,!1):j,s),Rf(()=>{const E=At(e);E&&C(E)}),Pn(e,"scrollend",R,s),{x:f,y:h,isScrolling:m,arrivedState:p,directions:T,measure(){const E=At(e);c&&E&&C(E)}}}function WD(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function y7(e,t,a={}){var i;const{direction:n="bottom",interval:r=100}=a,o=r0($D(e,{...a,offset:{[n]:(i=a.distance)!=null?i:0,...a.offset}})),s=nt(),l=Ge(()=>!!s.value),c=Ge(()=>WD(At(e))),u=VD(c);function d(){if(o.measure(),!c.value||!u.value)return;const{scrollHeight:f,clientHeight:h,scrollWidth:g,clientWidth:m}=c.value,p=n==="bottom"||n==="top"?f<=h:g<=m;(o.arrivedState[n]||p)&&(s.value||(s.value=Promise.all([t(o),new Promise(T=>setTimeout(T,r))]).finally(()=>{s.value=null,ih(()=>d())})))}return ei(()=>[o.arrivedState[n],u.value],d,{immediate:!0}),{isLoading:l}}function wf(e,t={}){const{threshold:a=50,onSwipe:i,onSwipeEnd:n,onSwipeStart:r,passive:o=!0,window:s=wi}=t,l=r0({x:0,y:0}),c=r0({x:0,y:0}),u=Ge(()=>l.x-c.x),d=Ge(()=>l.y-c.y),{max:f,abs:h}=Math,g=Ge(()=>f(h(u.value),h(d.value))>=a),m=nt(!1),p=Ge(()=>g.value?h(u.value)>h(d.value)?u.value>0?"left":"right":d.value>0?"up":"down":"none"),T=M=>[M.touches[0].clientX,M.touches[0].clientY],R=(M,P)=>{l.x=M,l.y=P},k=(M,P)=>{c.x=M,c.y=P};let C;const j=QD(s?.document);o?C=j?{passive:!0}:{capture:!1}:C=j?{passive:!1,capture:!0}:{capture:!0};const E=M=>{m.value&&n?.(M,p.value),m.value=!1},I=[Pn(e,"touchstart",M=>{if(M.touches.length!==1)return;C.capture&&!C.passive&&M.preventDefault();const[P,_]=T(M);R(P,_),k(P,_),r?.(M)},C),Pn(e,"touchmove",M=>{if(M.touches.length!==1)return;const[P,_]=T(M);k(P,_),!m.value&&g.value&&(m.value=!0),m.value&&i?.(M)},C),Pn(e,["touchend","touchcancel"],E,C)];return{isPassiveEventSupported:j,isSwiping:m,direction:p,coordsStart:l,coordsEnd:c,lengthX:u,lengthY:d,stop:()=>I.forEach(M=>M())}}function QD(e){if(!e)return!1;let t=!1;const a={get passive(){return t=!0,!1}};return e.addEventListener("x",Lt,a),e.removeEventListener("x",Lt),t}var JD=Object.defineProperty,KD=Object.defineProperties,XD=Object.getOwnPropertyDescriptors,Yr=Object.getOwnPropertySymbols,Of=Object.prototype.hasOwnProperty,xf=Object.prototype.propertyIsEnumerable,Jd=(e,t,a)=>t in e?JD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,eE=(e,t)=>{for(var a in t||(t={}))Of.call(t,a)&&Jd(e,a,t[a]);if(Yr)for(var a of Yr(t))xf.call(t,a)&&Jd(e,a,t[a]);return e},tE=(e,t)=>KD(e,XD(t)),aE=(e,t)=>{var a={};for(var i in e)Of.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&Yr)for(var i of Yr(e))t.indexOf(i)<0&&xf.call(e,i)&&(a[i]=e[i]);return a};function Bf(e,t,a,i,n,r,o,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var c;if(o?(c=function(f){f=f||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!f&&typeof __VUE_SSR_CONTEXT__<"u"&&(f=__VUE_SSR_CONTEXT__),n&&n.call(this,f),f&&f._registeredComponents&&f._registeredComponents.add(o)},l._ssrRegister=c):n&&(c=s?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(f,h){return c.call(h),u(f,h)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}const iE={name:"splitpanes",props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let a=0;this.panes=this.panes.map((i,n)=>(i.size=n===t?i.max:i.min,n!==t&&(a+=i.min),i)),this.panes[t].size-=a,this.$emit("pane-maximize",this.panes[t])},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:a,clientY:i}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:a-t.left,y:i-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let a={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const i=0+(this.pushOtherPanes?0:a.prevPanesSize),n=100-(this.pushOtherPanes?0:a.nextPanesSize),r=Math.max(Math.min(this.getCurrentDragPercentage(e),n),i);let o=[t,t+1],s=this.panes[o[0]]||null,l=this.panes[o[1]]||null;const c=s.max<100&&r>=s.max+a.prevPanesSize,u=l.max<100&&r<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(s.size=s.max,l.size=Math.max(100-s.max-a.prevPanesSize-a.nextPanesSize,0)):(s.size=Math.max(100-l.max-a.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const d=this.doPushOtherPanes(a,r);if(!d)return;({sums:a,panesToResize:o}=d),s=this.panes[o[0]]||null,l=this.panes[o[1]]||null}s!==null&&(s.size=Math.min(Math.max(r-a.prevPanesSize-a.prevReachedMinPanes,s.min),s.max)),l!==null&&(l.size=Math.min(Math.max(100-r-a.nextPanesSize-a.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const a=this.touch.activeSplitter,i=[a,a+1];return t{r>i[0]&&r<=a&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),e.prevPanesSize=this.sumPrevPanesSize(i[0]),i[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((n,r)=>{r>0&&r<=a&&(n.size=n.min,e.prevReachedMinPanes+=n.min)}),this.panes[i[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[i[1]].min&&(i[1]=this.findNextExpandedPane(a).index,e.nextReachedMinPanes=0,i[1]>a+1&&this.panes.forEach((n,r)=>{r>a&&r{r=a+1&&(n.size=n.min,e.nextReachedMinPanes+=n.min)}),this.panes[i[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:i}},sumPrevPanesSize(e){return this.panes.reduce((t,a,i)=>t+(it+(i>e+1?a.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.indext.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),a=e.classList.contains("splitpanes__splitter");if(!t&&!a){e.parentNode.removeChild(e),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed.");return}})},addSplitter(e,t,a=!1){const i=e-1,n=document.createElement("div");n.classList.add("splitpanes__splitter"),a||(n.onmousedown=r=>this.onMouseDown(r,i),typeof window<"u"&&"ontouchstart"in window&&(n.ontouchstart=r=>this.onMouseDown(r,i)),n.onclick=r=>this.onSplitterClick(r,i+1)),this.dblClickSplitter&&(n.ondblclick=r=>this.onSplitterDblClick(r,i+1)),t.parentNode.insertBefore(n,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(a=>{a.className.includes("splitpanes__splitter")&&this.removeSplitter(a)});let t=0;e.forEach(a=>{a.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,a,!0):t&&this.addSplitter(t,a),t++)})},requestUpdate(e){var t=e,{target:a}=t,i=aE(t,["target"]);const n=this.indexedPanes[a._uid];Object.entries(i).forEach(([r,o])=>n[r]=o)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(n=>(n.className.includes("splitpanes__pane")&&t++,n===e.$el));const a=parseFloat(e.minSize),i=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._uid,index:t,min:isNaN(a)?0:a,max:isNaN(i)?100:i,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((n,r)=>n.index=r),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(i=>i.id===e._uid),a=this.panes.splice(t,1)[0];this.panes.forEach((i,n)=>i.index=n),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:tE(eE({},a),{index:t})}),this.$emit("pane-remove",{removed:a,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0,a=[],i=[];this.panes.forEach(n=>{n.size=Math.max(Math.min(e,n.max),n.min),t-=n.size,n.size>=n.max&&a.push(n.id),n.size<=n.min&&i.push(n.id)}),t>.1&&this.readjustSizes(t,a,i)},initialPanesSizing(){100/this.panesCount;let e=100,t=[],a=[],i=0;this.panes.forEach(r=>{e-=r.size,r.size!==null&&i++,r.size>=r.max&&t.push(r.id),r.size<=r.min&&a.push(r.id)});let n=100;e>.1&&(this.panes.forEach(r=>{r.size===null&&(r.size=Math.max(Math.min(e/(this.panesCount-i),r.max),r.min)),n-=r.size}),n>.1&&this.readjustSizes(e,t,a))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let a=100/this.panesCount,i=0,n=[],r=[];e&&e.givenSize!==null&&(a=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(o=>{i-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),!(Math.abs(i)<.1)&&(this.panes.forEach(o=>{e&&e.givenSize!==null&&e.id===o.id||(o.size=Math.max(Math.min(a,o.max),o.min)),i-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),i>.1&&this.readjustSizes(i,n,r))},readjustSizes(e,t,a){let i;e>0?i=e/(this.panesCount-t.length):i=e/(this.panesCount-a.length),this.panes.forEach((n,r)=>{if(e>0&&!t.includes(n.id)){const o=Math.max(Math.min(n.size+i,n.max),n.min),s=o-n.size;e-=s,n.size=o}else if(!a.includes(n.id)){const o=Math.max(Math.min(n.size+i,n.max),n.min),s=o-n.size;e-=s,n.size=o}n.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[n.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,a)=>{t.ondblclick=e?i=>this.onSplitterDblClick(i,a):void 0})}},beforeDestroy(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(e){return e("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default)}};let nE,rE;const Kd={};var oE=Bf(iE,nE,rE,!1,sE,null,null,null);function sE(e){for(let t in Kd)this[t]=Kd[t]}var lE=function(){return oE.exports}(),uE=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"splitpanes__pane",style:e.style,on:{click:function(i){return e.onPaneClick(i,e._uid)}}},[e._t("default")],2)},dE=[];const cE={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeDestroy(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}},Xd={};var hE=Bf(cE,uE,dE,!1,fE,null,null,null);function fE(e){for(let t in Xd)this[t]=Xd[t]}var gE=function(){return hE.exports}();const _E={name:"NcAppDetailsToggle",directives:{tooltip:Ef},components:{NcButton:ai,ArrowRight:bf},computed:{title(){return ae("Go back to the list")}},beforeMount(){this.toggleAppNavigationButton(!0)},beforeDestroy(){this.toggleAppNavigationButton(!1)},methods:{toggleAppNavigationButton(e=!0){const t=document.querySelector(".app-navigation .app-navigation-toggle");t&&(t.style.display=e?"none":null,e===!0&&pr("toggle-navigation",{open:!1}))}}};var FE=function(){var e=this,t=e._self._c;return t("NcButton",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.title,expression:"title"}],staticClass:"app-details-toggle",attrs:{"aria-label":e.title},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ArrowRight",{attrs:{size:20}})]},proxy:!0}])})},mE=[],pE=de(_E,FE,mE,!1,null,"5244e83e",null,null);const TE=pE.exports,e1=Af("nextcloud").persist().build(),DE={name:"NcAppContent",components:{NcAppDetailsToggle:TE,Pane:gE,Splitpanes:lE},props:{allowSwipeNavigation:{type:Boolean,default:!0},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},pageHeading:{type:String,default:null}},emits:["update:showDetails","resize:list"],setup(){return{isMobile:bD()}},data(){return{contentHeight:0,hasList:!1,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return`pane-list-size-${this.paneConfigKey}`;try{return`pane-list-size-${W_}`}catch{return console.info("[INFO] AppContent:","falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}}},updated(){this.checkListSlot()},mounted(){this.allowSwipeNavigation&&(this.swiping=wf(this.$el,{onSwipeEnd:this.handleSwipe})),this.checkListSlot(),this.restorePaneConfig()},methods:{handleSwipe(e,t){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&t==="right"?pr("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&t==="left"&&pr("toggle-navigation",{open:!1}))},handlePaneResize(e){const t=parseInt(e[0].size,10);e1.setItem(this.paneConfigID,JSON.stringify(t)),this.listPaneSize=t,this.$emit("resize:list",{size:t}),console.debug("AppContent pane config",t)},checkListSlot(){const e=!!this.$slots.list;this.hasList!==e&&(this.hasList=e)},restorePaneConfig(){const e=parseInt(e1.getItem(this.paneConfigID),10);if(!isNaN(e)&&e!==this.listPaneSize)return console.debug("AppContent pane config",e),this.listPaneSize=e,e},hideDetails(){this.$emit("update:showDetails",!1)}}};var EE=function(){var e=this,t=e._self._c;return t("main",{staticClass:"app-content no-snapper",class:{"app-content--has-list":e.hasList},attrs:{id:"app-content-vue"}},[e.pageHeading?t("h1",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.pageHeading)+" ")]):e._e(),e.hasList?[e.isMobile?t("div",{staticClass:"app-content-wrapper app-content-wrapper--mobile",class:e.showDetails?"app-content-wrapper--show-details":"app-content-wrapper--show-list"},[e.hasList&&e.showDetails?t("NcAppDetailsToggle",{nativeOn:{click:function(a){return a.stopPropagation(),a.preventDefault(),e.hideDetails.apply(null,arguments)}}}):e._e(),e._t("list"),e._t("default")],2):t("div",{staticClass:"app-content-wrapper"},[t("Splitpanes",{staticClass:"default-theme",on:{resized:e.handlePaneResize}},[t("Pane",{staticClass:"splitpanes__pane-list",attrs:{size:e.listPaneSize||e.paneDefaults.list.size,"min-size":e.paneDefaults.list.min,"max-size":e.paneDefaults.list.max}},[e._t("list")],2),t("Pane",{staticClass:"splitpanes__pane-details",attrs:{size:e.detailsPaneSize,"min-size":e.paneDefaults.details.min,"max-size":e.paneDefaults.details.max}},[e._t("default")],2)],1)],1)]:e._t("default")],2)},bE=[],yE=de(DE,EE,bE,!1,null,"27fc3f3a",null,null);const A7=yE.exports;const AE={name:"NcIconSvgWrapper",props:{svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""}},computed:{cleanSvg(){if(!this.svg||this.path)return;const e=J_.sanitize(this.svg),t=new DOMParser().parseFromString(e,"image/svg+xml");return t.querySelector("parsererror")?(Va.util.warn("SVG is not valid"),""):(t.documentElement.id&&t.documentElement.removeAttribute("id"),t.documentElement.outerHTML)},attributes(){return{class:"icon-vue",role:"img","aria-hidden":this.name?void 0:!0,"aria-label":this.name||void 0}}}};var SE=function(){var e=this,t=e._self._c;return e.cleanSvg?t("span",e._b({domProps:{innerHTML:e._s(e.cleanSvg)}},"span",e.attributes,!1)):t("span",e._b({},"span",e.attributes,!1),[t("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:e.path}})])])},kE=[],vE=de(AE,SE,kE,!1,null,"6176f396",null,null);const Cf=vE.exports;const RE={name:"NcEmptyContent",props:{name:{type:String,default:""},description:{type:String,default:""}},computed:{hasName(){return this.name!==""},hasDescription(){var e;return this.description!==""||((e=this.$slots.description)==null?void 0:e[0])}}};var NE=function(){var e=this,t=e._self._c;return t("div",{staticClass:"empty-content",attrs:{role:"note"}},[e.$slots.icon?t("div",{staticClass:"empty-content__icon",attrs:{"aria-hidden":"true"}},[e._t("icon")],2):e._e(),e._t("name",function(){return[e.hasName?t("span",{staticClass:"empty-content__name"},[e._v(" "+e._s(e.name)+" ")]):e._e()]}),e.hasDescription?t("p",{staticClass:"empty-content__description"},[e._t("description",function(){return[e._v(" "+e._s(e.description)+" ")]})],2):e._e(),e.$slots.action?t("div",{staticClass:"empty-content__action"},[e._t("action")],2):e._e()],2)},wE=[],OE=de(RE,NE,wE,!1,null,"458108e7",null,null);const mu=OE.exports;class Mf{constructor(t){if(typeof t!="object")throw new Error("Received activity data is not an object.");if(typeof t.activity_id!="number")throw new Error("The activity_id argument is not a valid string");if(typeof t.type!="string"||t.type.trim()==="")throw new Error("The activity_id argument is not a valid string");if(typeof t.subject!="string"||t.subject.trim()==="")throw new Error("The activity_id argument is not a valid string");if(typeof t.icon!="string"||t.icon.trim()==="")throw new Error("The activity_id argument is not a valid string");if(typeof t.datetime!="string"||t.datetime.trim()==="")throw new Error("The activity_id argument is not a valid string");this._activity=t}get id(){return this._activity.activity_id}get app(){return this._activity.app}get type(){return this._activity.type}get user(){return this._activity.user}get subject(){return this._activity.subject}get subjectRichTemplate(){return this._activity.subject_rich[0]}get subjectRichObjects(){return Array.isArray(this._activity.subject_rich[1])?{}:this._activity.subject_rich[1]}get message(){return this._activity.message}get messageRichTemplate(){return this._activity.message_rich[0]}get messageRichObjects(){return Array.isArray(this._activity.message_rich[1])?this._activity.message_rich[1]:{}}get objectType(){return this._activity.object_type}get objectId(){return this._activity.object_id}get objectName(){return this._activity.object_name}get link(){return this._activity.link}get icon(){return this._activity.icon}get datetime(){return this._activity.datetime}get dateFromNow(){return os(this._activity.datetime).fromNow()}get formattedDate(){return os(this._activity.datetime).format("LLL")}get timestamp(){return os(this._activity.datetime).unix()}get previews(){return this._activity.previews??[]}}var Yf=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Lr=Yf.join(","),Lf=typeof Element>"u",ki=Lf?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Zr=!Lf&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Ir=function e(t,a){var i;a===void 0&&(a=!0);var n=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"inert"),r=n===""||n==="true",o=r||a&&t&&e(t.parentNode);return o},xE=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},Zf=function(e,t,a){if(Ir(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(Lr));return t&&ki.call(e,Lr)&&i.unshift(e),i=i.filter(a),i},If=function e(t,a,i){for(var n=[],r=Array.from(t);r.length;){var o=r.shift();if(!Ir(o,!1))if(o.tagName==="SLOT"){var s=o.assignedElements(),l=s.length?s:o.children,c=e(l,!0,i);i.flatten?n.push.apply(n,c):n.push({scopeParent:o,candidates:c})}else{var u=ki.call(o,Lr);u&&i.filter(o)&&(a||!t.includes(o))&&n.push(o);var d=o.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(o),f=!Ir(d,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o));if(d&&f){var h=e(d===!0?o.children:d.children,!0,i);i.flatten?n.push.apply(n,h):n.push({scopeParent:o,candidates:h})}else r.unshift.apply(r,o.children)}}return n},jf=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},gi=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||xE(e))&&!jf(e)?0:e.tabIndex},BE=function(e,t){var a=gi(e);return a<0&&t&&!jf(e)?0:a},CE=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Pf=function(e){return e.tagName==="INPUT"},ME=function(e){return Pf(e)&&e.type==="hidden"},YE=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},LE=function(e,t){for(var a=0;asummary:first-of-type"),r=n?e.parentElement:e;if(ki.call(r,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof i=="function"){for(var o=e;e;){var s=e.parentElement,l=Zr(e);if(s&&!s.shadowRoot&&i(s)===!0)return t1(e);e.assignedSlot?e=e.assignedSlot:!s&&l!==e.ownerDocument?e=l.host:e=s}e=o}if(PE(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return t1(e);return!1},UE=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a=0)},HE=function e(t){var a=[],i=[];return t.forEach(function(n,r){var o=!!n.scopeParent,s=o?n.scopeParent:n,l=BE(s,o),c=o?e(n.candidates):s;l===0?o?a.push.apply(a,c):a.push(s):i.push({documentOrder:r,tabIndex:l,item:n,isScope:o,content:c})}),i.sort(CE).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(a)},zE=function(e,t){t=t||{};var a;return t.getShadowRoot?a=If([e],t.includeContainer,{filter:rl.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:qE}):a=Zf(e,t.includeContainer,rl.bind(null,t)),HE(a)},VE=function(e,t){t=t||{};var a;return t.getShadowRoot?a=If([e],t.includeContainer,{filter:jr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=Zf(e,t.includeContainer,jr.bind(null,t)),a},Bi=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ki.call(e,Lr)===!1?!1:rl(t,e)},$E=Yf.concat("iframe").join(","),ds=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ki.call(e,$E)===!1?!1:jr(t,e)};function a1(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,i)}return a}function i1(e){for(var t=1;t0){var a=e[e.length-1];a!==t&&a.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&e[e.length-1].unpause()}},KE=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},XE=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},Gn=function(e){return e?.key==="Tab"||e?.keyCode===9},eb=function(e){return Gn(e)&&!e.shiftKey},tb=function(e){return Gn(e)&&e.shiftKey},r1=function(e){return setTimeout(e,0)},o1=function(e,t){var a=-1;return e.every(function(i,n){return t(i)?(a=n,!1):!0}),a},vn=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i1?S-1:0),L=1;L=0)_=a.activeElement;else{var D=r.tabbableGroups[0],S=D&&D.firstTabbableNode;_=S||c("fallbackFocus")}if(!_)throw new Error("Your focus-trap needs to have at least one focusable element");return _},d=function(){if(r.containerGroups=r.containers.map(function(_){var D=zE(_,n.tabbableOptions),S=VE(_,n.tabbableOptions),x=D.length>0?D[0]:void 0,L=D.length>0?D[D.length-1]:void 0,Z=S.find(function(y){return Bi(y)}),$=S.slice().reverse().find(function(y){return Bi(y)}),V=!!D.find(function(y){return gi(y)>0});return{container:_,tabbableNodes:D,focusableNodes:S,posTabIndexesFound:V,firstTabbableNode:x,lastTabbableNode:L,firstDomTabbableNode:Z,lastDomTabbableNode:$,nextTabbableNode:function(y){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=D.indexOf(y);return A<0?G?S.slice(S.indexOf(y)+1).find(function(z){return Bi(z)}):S.slice(0,S.indexOf(y)).reverse().find(function(z){return Bi(z)}):D[A+(G?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(_){return _.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(_){return _.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function _(D){var S=D.activeElement;if(S)return S.shadowRoot&&S.shadowRoot.activeElement!==null?_(S.shadowRoot):S},h=function _(D){if(D!==!1&&D!==f(document)){if(!D||!D.focus){_(u());return}D.focus({preventScroll:!!n.preventScroll}),r.mostRecentlyFocusedNode=D,KE(D)&&D.select()}},g=function(_){var D=c("setReturnFocus",_);return D||(D===!1?!1:_)},m=function(_){var D=_.target,S=_.event,x=_.isBackward,L=x===void 0?!1:x;D=D||L0(S),d();var Z=null;if(r.tabbableGroups.length>0){var $=l(D,S),V=$>=0?r.containerGroups[$]:void 0;if($<0)L?Z=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:Z=r.tabbableGroups[0].firstTabbableNode;else if(L){var y=o1(r.tabbableGroups,function(fe){var ye=fe.firstTabbableNode;return D===ye});if(y<0&&(V.container===D||ds(D,n.tabbableOptions)&&!Bi(D,n.tabbableOptions)&&!V.nextTabbableNode(D,!1))&&(y=$),y>=0){var G=y===0?r.tabbableGroups.length-1:y-1,A=r.tabbableGroups[G];Z=gi(D)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else Gn(S)||(Z=V.nextTabbableNode(D,!1))}else{var z=o1(r.tabbableGroups,function(fe){var ye=fe.lastTabbableNode;return D===ye});if(z<0&&(V.container===D||ds(D,n.tabbableOptions)&&!Bi(D,n.tabbableOptions)&&!V.nextTabbableNode(D))&&(z=$),z>=0){var re=z===r.tabbableGroups.length-1?0:z+1,w=r.tabbableGroups[re];Z=gi(D)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else Gn(S)||(Z=V.nextTabbableNode(D))}}else Z=c("fallbackFocus");return Z},p=function(_){var D=L0(_);if(!(l(D,_)>=0)){if(vn(n.clickOutsideDeactivates,_)){o.deactivate({returnFocus:n.returnFocusOnDeactivate});return}vn(n.allowOutsideClick,_)||_.preventDefault()}},T=function(_){var D=L0(_),S=l(D,_)>=0;if(S||D instanceof Document)S&&(r.mostRecentlyFocusedNode=D);else{_.stopImmediatePropagation();var x,L=!0;if(r.mostRecentlyFocusedNode)if(gi(r.mostRecentlyFocusedNode)>0){var Z=l(r.mostRecentlyFocusedNode),$=r.containerGroups[Z].tabbableNodes;if($.length>0){var V=$.findIndex(function(y){return y===r.mostRecentlyFocusedNode});V>=0&&(n.isKeyForward(r.recentNavEvent)?V+1<$.length&&(x=$[V+1],L=!1):V-1>=0&&(x=$[V-1],L=!1))}}else r.containerGroups.some(function(y){return y.tabbableNodes.some(function(G){return gi(G)>0})})||(L=!1);else L=!1;L&&(x=m({target:r.mostRecentlyFocusedNode,isBackward:n.isKeyBackward(r.recentNavEvent)})),h(x||r.mostRecentlyFocusedNode||u())}r.recentNavEvent=void 0},R=function(_){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=_;var S=m({event:_,isBackward:D});S&&(Gn(_)&&_.preventDefault(),h(S))},k=function(_){if(XE(_)&&vn(n.escapeDeactivates,_)!==!1){_.preventDefault(),o.deactivate();return}(n.isKeyForward(_)||n.isKeyBackward(_))&&R(_,n.isKeyBackward(_))},C=function(_){var D=L0(_);l(D,_)>=0||vn(n.clickOutsideDeactivates,_)||vn(n.allowOutsideClick,_)||(_.preventDefault(),_.stopImmediatePropagation())},j=function(){if(r.active)return n1.activateTrap(i,o),r.delayInitialFocusTimer=n.delayInitialFocus?r1(function(){h(u())}):h(u()),a.addEventListener("focusin",T,!0),a.addEventListener("mousedown",p,{capture:!0,passive:!1}),a.addEventListener("touchstart",p,{capture:!0,passive:!1}),a.addEventListener("click",C,{capture:!0,passive:!1}),a.addEventListener("keydown",k,{capture:!0,passive:!1}),o},E=function(){if(r.active)return a.removeEventListener("focusin",T,!0),a.removeEventListener("mousedown",p,!0),a.removeEventListener("touchstart",p,!0),a.removeEventListener("click",C,!0),a.removeEventListener("keydown",k,!0),o},I=function(_){var D=_.some(function(S){var x=Array.from(S.removedNodes);return x.some(function(L){return L===r.mostRecentlyFocusedNode})});D&&h(u())},M=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(I):void 0,P=function(){M&&(M.disconnect(),r.active&&!r.paused&&r.containers.map(function(_){M.observe(_,{subtree:!0,childList:!0})}))};return o={get active(){return r.active},get paused(){return r.paused},activate:function(_){if(r.active)return this;var D=s(_,"onActivate"),S=s(_,"onPostActivate"),x=s(_,"checkCanFocusTrap");x||d(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=a.activeElement,D?.();var L=function(){x&&d(),j(),P(),S?.()};return x?(x(r.containers.concat()).then(L,L),this):(L(),this)},deactivate:function(_){if(!r.active)return this;var D=i1({onDeactivate:n.onDeactivate,onPostDeactivate:n.onPostDeactivate,checkCanReturnFocus:n.checkCanReturnFocus},_);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,E(),r.active=!1,r.paused=!1,P(),n1.deactivateTrap(i,o);var S=s(D,"onDeactivate"),x=s(D,"onPostDeactivate"),L=s(D,"checkCanReturnFocus"),Z=s(D,"returnFocus","returnFocusOnDeactivate");S?.();var $=function(){r1(function(){Z&&h(g(r.nodeFocusedBeforeActivation)),x?.()})};return Z&&L?(L(g(r.nodeFocusedBeforeActivation)).then($,$),this):($(),this)},pause:function(_){if(r.paused||!r.active)return this;var D=s(_,"onPause"),S=s(_,"onPostPause");return r.paused=!0,D?.(),E(),P(),S?.(),this},unpause:function(_){if(!r.paused||!r.active)return this;var D=s(_,"onUnpause"),S=s(_,"onPostUnpause");return r.paused=!1,D?.(),d(),j(),P(),S?.(),this},updateContainerElements:function(_){var D=[].concat(_).filter(Boolean);return r.containers=D.map(function(S){return typeof S=="string"?a.querySelector(S):S}),r.active&&d(),P(),this}},o.updateContainerElements(e),o};const ol=function(){return Object.assign(window,{_nc_focus_trap:window._nc_focus_trap||[]}),window._nc_focus_trap},ib={name:"NcPopover",components:{Dropdown:gD},inheritAttrs:!1,props:{popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean]}},emits:["after-show","after-hide"],beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{getPopoverContentElement(){var e,t;return(t=(e=this.$refs.popover)==null?void 0:e.$refs.popperContent)==null?void 0:t.$el},async useFocusTrap(){if(await this.$nextTick(),!this.focusTrap)return;const e=this.getPopoverContentElement();e&&(this.$focusTrap=Gf(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:ol()}),this.$focusTrap.activate())},clearFocusTrap(e={}){var t;try{(t=this.$focusTrap)==null||t.deactivate(e),this.$focusTrap=null}catch(a){console.warn(a)}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},afterShow(){this.$nextTick(()=>{this.$emit("after-show"),this.useFocusTrap(),this.addEscapeStopPropagation()})},afterHide(){this.$emit("after-hide"),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var nb=function(){var e=this,t=e._self._c;return t("Dropdown",e._g(e._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":e.popoverBaseClass},on:{"apply-show":e.afterShow,"apply-hide":e.afterHide},scopedSlots:e._u([{key:"popper",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Dropdown",e.$attrs,!1),e.$listeners),[e._t("trigger")],2)},rb=[],ob=de(ib,nb,rb,!1,null,null,null,null);const pu=ob.exports,sb={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var lb=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},ub=[],db=de(sb,lb,ub,!1,null,null,null,null);const Tu=db.exports,Ci=".focusable",cb={name:"NcActions",components:{NcButton:ai,DotsHorizontal:Tu,NcPopover:pu},provide(){return{"NcActions:isSemanticMenu":Ge(()=>this.isSemanticMenu)}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},primary:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)!==-1},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:ae("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("body")},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0}},emits:["open","update:open","close","focus","blur"],data(){return{opened:this.open,focusIndex:0,randomId:`menu-${F0()}`,isSemanticMenu:!1,isSemanticNavigation:!1,isSemanticPopoverLike:!1}},computed:{triggerBtnType(){return this.type||(this.primary?"primary":this.menuName?"secondary":"tertiary")}},watch:{open(e){e!==this.opened&&(this.opened=e)}},methods:{isValidSingleAction(e){var t,a,i,n,r;const o=(r=(i=(a=(t=e?.componentOptions)==null?void 0:t.Ctor)==null?void 0:a.extendOptions)==null?void 0:i.name)!=null?r:(n=e?.componentOptions)==null?void 0:n.tag;return["NcActionButton","NcActionLink","NcActionRouter"].includes(o)},openMenu(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},closeMenu(e=!0){this.opened&&(this.opened=!1,this.$refs.popover.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,this.$refs.menuButton.$el.focus())},onOpen(e){this.$nextTick(()=>{this.focusFirstAction(e)})},onMouseFocusAction(e){if(document.activeElement===e.target)return;const t=e.target.closest("li");if(t&&this.$refs.menu.contains(t)){const a=t.querySelector(Ci);if(a){const i=[...this.$refs.menu.querySelectorAll(Ci)].indexOf(a);i>-1&&(this.focusIndex=i,this.focusAction())}}},onKeydown(e){e.key==="Tab"&&!this.isSemanticPopoverLike&&this.closeMenu(!1),e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e),e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.$refs.menu.querySelectorAll(Ci)[this.focusIndex];if(e){this.removeCurrentActive();const t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const t=this.$refs.menu.querySelectorAll(Ci).length-1;this.focusIndex===t?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const t=[...this.$refs.menu.querySelectorAll(Ci)].findIndex(a=>a.parentElement.getAttribute("aria-selected"));this.focusIndex=t>-1?t:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.$refs.menu.querySelectorAll(Ci).length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e)}},render(e){const t=(this.$slots.default||[]).filter(f=>{var h,g,m,p;return((h=f?.componentOptions)==null?void 0:h.tag)||((p=(m=(g=f?.componentOptions)==null?void 0:g.Ctor)==null?void 0:m.extendOptions)==null?void 0:p.name)}),a=f=>{var h,g,m,p,T;return(T=(m=(g=(h=f?.componentOptions)==null?void 0:h.Ctor)==null?void 0:g.extendOptions)==null?void 0:m.name)!=null?T:(p=f?.componentOptions)==null?void 0:p.tag},i=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],n=["NcActionInput","NcActionTextEditable"],r=["NcActionLink","NcActionRouter"],o=t.some(f=>n.includes(a(f))),s=t.some(f=>i.includes(a(f))),l=t.some(f=>r.includes(a(f)));this.isSemanticMenu=s&&!o,this.isSemanticNavigation=l&&!s&&!o,this.isSemanticPopoverLike=!this.isSemanticMenu&&!this.isSemanticNavigation;let c=t.filter(this.isValidSingleAction);if(this.forceMenu&&c.length>0&&this.inline>0&&(Va.util.warn("Specifying forceMenu will ignore any inline actions rendering."),c=[]),t.length===0)return;const u=f=>{var h,g,m,p,T,R,k,C,j,E,I,M,P,_,D,S,x,L,Z,$,V,y,G;const A=((m=(g=(h=f?.data)==null?void 0:h.scopedSlots)==null?void 0:g.icon())==null?void 0:m[0])||e("span",{class:["icon",(T=(p=f?.componentOptions)==null?void 0:p.propsData)==null?void 0:T.icon]}),z=((R=f?.data)==null?void 0:R.attrs)||{},re=(C=(k=f?.componentOptions)==null?void 0:k.listeners)==null?void 0:C.click,w=(P=(M=(I=(E=(j=f?.componentOptions)==null?void 0:j.children)==null?void 0:E[0])==null?void 0:I.text)==null?void 0:M.trim)==null?void 0:P.call(M),fe=((D=(_=f?.componentOptions)==null?void 0:_.propsData)==null?void 0:D.ariaLabel)||w,ye=this.forceName?w:"";let _e=(x=(S=f?.componentOptions)==null?void 0:S.propsData)==null?void 0:x.title;return this.forceName||_e||(_e=w),e("NcButton",{class:["action-item action-item--single",(L=f?.data)==null?void 0:L.staticClass,(Z=f?.data)==null?void 0:Z.class],attrs:{...z,"aria-label":fe,title:_e},ref:($=f?.data)==null?void 0:$.ref,props:{type:this.type||(ye?"secondary":"tertiary"),disabled:this.disabled||((y=(V=f?.componentOptions)==null?void 0:V.propsData)==null?void 0:y.disabled),...(G=f?.componentOptions)==null?void 0:G.propsData},on:{focus:this.onFocus,blur:this.onBlur,...!!re&&{click:Ye=>{re&&re(Ye)}}}},[e("template",{slot:"icon"},[A]),ye])},d=f=>{var h,g;const m=((h=this.$slots.icon)==null?void 0:h[0])||(this.defaultIcon?e("span",{class:["icon",this.defaultIcon]}):e("DotsHorizontal",{props:{size:20}}));return e("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",setReturnFocus:this.isSemanticPopoverLike?(g=this.$refs.menuButton)==null?void 0:g.$el:null,focusTrap:this.isSemanticPopoverLike},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"after-show":this.onOpen,hide:this.closeMenu}},[e("NcButton",{class:"action-item__menutoggle",props:{type:this.triggerBtnType,disabled:this.disabled},slot:"trigger",ref:"menuButton",attrs:{"aria-haspopup":this.isSemanticMenu?"menu":null,"aria-label":this.menuName?null:this.ariaLabel,"aria-controls":this.opened?this.randomId:null,"aria-expanded":this.opened?"true":void 0},on:{focus:this.onFocus,blur:this.onBlur}},[e("template",{slot:"icon"},[m]),this.menuName]),e("div",{class:{open:this.opened},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown,mousemove:this.onMouseFocusAction},ref:"menu"},[e("ul",{attrs:{id:this.randomId,tabindex:"-1",role:this.isSemanticMenu?"menu":void 0}},[f])])])};if(t.length===1&&c.length===1&&!this.forceMenu)return u(c[0]);if(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction()}),c.length>0&&this.inline>0){const f=c.slice(0,this.inline),h=t.filter(g=>!f.includes(g));return e("div",{class:["action-items",`action-item--${this.triggerBtnType}`]},[...f.map(u),h.length>0?e("div",{class:["action-item",{"action-item--open":this.opened}]},[d(h)]):null])}return e("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerBtnType}`,{"action-item--open":this.opened}]},[d(t)])}},hb=null,fb=null;var gb=de(cb,hb,fb,!1,null,"fd3aaaa4",null,null);const Du=gb.exports;const _b={before(){(!this.$slots.default||this.text.trim()==="")&&(Va.util.warn(`${this.$options.name} cannot be empty and requires a meaningful text content`,this),this.$destroy(),this.$el.remove())},beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}},Fb=function(e,t){let a=e.$parent;for(;a;){if(a.$options.name===t)return a;a=a.$parent}},Uf={mixins:[_b],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return new URL(this.icon)}catch{return!1}}},methods:{onClick(e){if(this.$emit("click",e),this.closeAfterClick){const t=Fb(this,"NcActions");t&&t.closeMenu&&t.closeMenu(!1)}}}},mb={name:"NcActionLink",mixins:[Uf],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{href:{type:String,default:"#",required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null},ariaHidden:{type:Boolean,default:null}}};var pb=function(){var e=this,t=e._self._c;return t("li",{staticClass:"action",attrs:{role:e.isInSemanticMenu&&"presentation"}},[t("a",{staticClass:"action-link focusable",attrs:{download:e.download,href:e.href,"aria-label":e.ariaLabel,target:e.target,title:e.title,rel:"nofollow noreferrer noopener",role:e.isInSemanticMenu&&"menuitem"},on:{click:e.onClick}},[e._t("icon",function(){return[t("span",{staticClass:"action-link__icon",class:[e.isIconUrl?"action-link__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?`url(${e.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e.name?t("span",{staticClass:"action-link__longtext-wrapper"},[t("strong",{staticClass:"action-link__name"},[e._v(" "+e._s(e.name)+" ")]),t("br"),t("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?t("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-link__text"},[e._v(e._s(e.text))]),e._e()],2)])},Tb=[],Db=de(mb,pb,Tb,!1,null,"c0bc0588",null,null);const Eb=Db.exports;let nr=class{constructor(e,t,a,i){this.r=e,this.g=t,this.b=a,i&&(this.name=i)}};function bb(e,t){const a=new Array(3);return a[0]=(t[1].r-t[0].r)/e,a[1]=(t[1].g-t[0].g)/e,a[2]=(t[1].b-t[0].b)/e,a}function cs(e,t,a){const i=[];i.push(t);const n=bb(e,[t,a]);for(let r=1;r>>32-i},rotr:function(a,i){return a<<32-i|a>>>i},endian:function(a){if(a.constructor==Number)return t.rotl(a,8)&16711935|t.rotl(a,24)&4278255360;for(var i=0;i0;a--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(a){for(var i=[],n=0,r=0;n>>5]|=a[n]<<24-r%32;return i},wordsToBytes:function(a){for(var i=[],n=0;n>>5]>>>24-n%32&255);return i},bytesToHex:function(a){for(var i=[],n=0;n>>4).toString(16)),i.push((a[n]&15).toString(16));return i.join("")},hexToBytes:function(a){for(var i=[],n=0;n>>6*(3-o)&63)):i.push("=");return i.join("")},base64ToBytes:function(a){a=a.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],n=0,r=0;n>>6-r*2);return i}};Hf.exports=t})();var Ab=Hf.exports,sl={utf8:{stringToBytes:function(e){return sl.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(sl.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],a=0;a>>24)&16711935|(s[h]<<24|s[h]>>>8)&4278255360;s[l>>>5]|=128<>>9<<4)+14]=l;for(var g=n._ff,m=n._gg,p=n._hh,T=n._ii,h=0;h>>0,u=u+k>>>0,d=d+C>>>0,f=f+j>>>0}return e.endian([c,u,d,f])};n._ff=function(r,o,s,l,c,u,d){var f=r+(o&s|~o&l)+(c>>>0)+d;return(f<>>32-u)+o},n._gg=function(r,o,s,l,c,u,d){var f=r+(o&l|s&~l)+(c>>>0)+d;return(f<>>32-u)+o},n._hh=function(r,o,s,l,c,u,d){var f=r+(o^s^l)+(c>>>0)+d;return(f<>>32-u)+o},n._ii=function(r,o,s,l,c,u,d){var f=r+(s^(o|~l))+(c>>>0)+d;return(f<>>32-u)+o},n._blocksize=16,n._digestsize=16,qf.exports=function(r,o){if(r==null)throw new Error("Illegal argument "+r);var s=e.wordsToBytes(n(r,o));return o&&o.asBytes?s:o&&o.asString?i.bytesToString(s):e.bytesToHex(s)}})();var vb=qf.exports;const Rb=ti(vb),l1=function(e){let t=e.toLowerCase();t.match(/^([0-9a-f]{4}-?){8}$/)===null&&(t=Rb(t)),t=t.replace(/[^0-9a-f]/g,"");const a=6,i=yb(a);function n(r,o){let s=0;const l=[];for(let c=0;cwindow.outerHeight===screen.height,u1=nt(Vf());window.addEventListener("resize",()=>{u1.value=Vf()}),fo(u1);const Nb="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",wb="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",dn=(e,t)=>{for(const a in t)e[a]=t[a];return e},ll="numeric",ul="ascii",dl="alpha",rr="asciinumeric",Z0="alphanumeric",cl="domain",$f="emoji",Ob="scheme",xb="slashscheme",d1="whitespace";function Bb(e,t){return e in t||(t[e]=[]),t[e]}function Ti(e,t,a){t[ll]&&(t[rr]=!0,t[Z0]=!0),t[ul]&&(t[rr]=!0,t[dl]=!0),t[rr]&&(t[Z0]=!0),t[dl]&&(t[Z0]=!0),t[Z0]&&(t[cl]=!0),t[$f]&&(t[cl]=!0);for(const i in t){const n=Bb(i,a);n.indexOf(e)<0&&n.push(e)}}function Cb(e,t){const a={};for(const i in t)t[i].indexOf(e)>=0&&(a[i]=!0);return a}function bt(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}bt.groups={},bt.prototype={accepts(){return!!this.t},go(e){const t=this,a=t.j[e];if(a)return a;for(let i=0;ie.ta(t,a,i,n),Nt=(e,t,a,i,n)=>e.tr(t,a,i,n),c1=(e,t,a,i,n)=>e.ts(t,a,i,n),X=(e,t,a,i,n)=>e.tt(t,a,i,n),ga="WORD",hl="UWORD",c0="LOCALHOST",fl="TLD",gl="UTLD",or="SCHEME",Pi="SLASH_SCHEME",Eu="NUM",Wf="WS",bu="NL",zi="OPENBRACE",Un="OPENBRACKET",qn="OPENANGLEBRACKET",Hn="OPENPAREN",_i="CLOSEBRACE",Vi="CLOSEBRACKET",$i="CLOSEANGLEBRACKET",Fi="CLOSEPAREN",Pr="AMPERSAND",Gr="APOSTROPHE",Ur="ASTERISK",Za="AT",qr="BACKSLASH",Hr="BACKTICK",zr="CARET",Pa="COLON",yu="COMMA",Vr="DOLLAR",Wt="DOT",$r="EQUALS",Au="EXCLAMATION",Qt="HYPHEN",Wr="PERCENT",Qr="PIPE",Jr="PLUS",Kr="POUND",Xr="QUERY",Su="QUOTE",ku="SEMI",Jt="SLASH",zn="TILDE",eo="UNDERSCORE",Qf="EMOJI",to="SYM";var Jf=Object.freeze({__proto__:null,WORD:ga,UWORD:hl,LOCALHOST:c0,TLD:fl,UTLD:gl,SCHEME:or,SLASH_SCHEME:Pi,NUM:Eu,WS:Wf,NL:bu,OPENBRACE:zi,OPENBRACKET:Un,OPENANGLEBRACKET:qn,OPENPAREN:Hn,CLOSEBRACE:_i,CLOSEBRACKET:Vi,CLOSEANGLEBRACKET:$i,CLOSEPAREN:Fi,AMPERSAND:Pr,APOSTROPHE:Gr,ASTERISK:Ur,AT:Za,BACKSLASH:qr,BACKTICK:Hr,CARET:zr,COLON:Pa,COMMA:yu,DOLLAR:Vr,DOT:Wt,EQUALS:$r,EXCLAMATION:Au,HYPHEN:Qt,PERCENT:Wr,PIPE:Qr,PLUS:Jr,POUND:Kr,QUERY:Xr,QUOTE:Su,SEMI:ku,SLASH:Jt,TILDE:zn,UNDERSCORE:eo,EMOJI:Qf,SYM:to});const Mi=/[a-z]/,hs=/\p{L}/u,fs=/\p{Emoji}/u,gs=/\d/,h1=/\s/,f1=` `,Mb="️",Yb="‍";let I0=null,j0=null;function Lb(e){e===void 0&&(e=[]);const t={};bt.groups=t;const a=new bt;I0==null&&(I0=g1(Nb)),j0==null&&(j0=g1(wb)),X(a,"'",Gr),X(a,"{",zi),X(a,"[",Un),X(a,"<",qn),X(a,"(",Hn),X(a,"}",_i),X(a,"]",Vi),X(a,">",$i),X(a,")",Fi),X(a,"&",Pr),X(a,"*",Ur),X(a,"@",Za),X(a,"`",Hr),X(a,"^",zr),X(a,":",Pa),X(a,",",yu),X(a,"$",Vr),X(a,".",Wt),X(a,"=",$r),X(a,"!",Au),X(a,"-",Qt),X(a,"%",Wr),X(a,"|",Qr),X(a,"+",Jr),X(a,"#",Kr),X(a,"?",Xr),X(a,'"',Su),X(a,"/",Jt),X(a,";",ku),X(a,"~",zn),X(a,"_",eo),X(a,"\\",qr);const i=Nt(a,gs,Eu,{[ll]:!0});Nt(i,gs,i);const n=Nt(a,Mi,ga,{[ul]:!0});Nt(n,Mi,n);const r=Nt(a,hs,hl,{[dl]:!0});Nt(r,Mi),Nt(r,hs,r);const o=Nt(a,h1,Wf,{[d1]:!0});X(a,f1,bu,{[d1]:!0}),X(o,f1),Nt(o,h1,o);const s=Nt(a,fs,Qf,{[$f]:!0});Nt(s,fs,s),X(s,Mb,s);const l=X(s,Yb);Nt(l,fs,s);const c=[[Mi,n]],u=[[Mi,null],[hs,r]];for(let d=0;dd[0]>f[0]?1:-1);for(let d=0;d=0?h[cl]=!0:Mi.test(f)?gs.test(f)?h[rr]=!0:h[ul]=!0:h[ll]=!0,c1(a,f,f,h)}return c1(a,"localhost",c0,{ascii:!0}),a.jd=new bt(to),{start:a,tokens:dn({groups:t},Jf)}}function Zb(e,t){const a=Ib(t.replace(/[A-Z]/g,s=>s.toLowerCase())),i=a.length,n=[];let r=0,o=0;for(;o=0&&(d+=a[o].length,f++),c+=a[o].length,r+=a[o].length,o++;r-=d,o-=f,c-=d,n.push({t:u.t,v:t.slice(r-c,r),s:r-c,e:r})}return n}function Ib(e){const t=[],a=e.length;let i=0;for(;i56319||i+1===a||(r=e.charCodeAt(i+1))<56320||r>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function Oa(e,t,a,i,n){let r;const o=t.length;for(let s=0;s=0;)r++;if(r>0){t.push(a.join(""));for(let o=parseInt(e.substring(i,i+r),10);o>0;o--)a.pop();i+=r}else a.push(e[i]),i++}return t}const h0={defaultProtocol:"http",events:null,format:_1,formatHref:_1,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function vu(e,t){t===void 0&&(t=null);let a=dn({},h0);e&&(a=dn(a,e instanceof vu?e.o:e));const i=a.ignoreTags,n=[];for(let r=0;ra?i.substring(0,a)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return e===void 0&&(e=h0.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,a=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",a,this),n=e.get("tagName",a,t),r=this.toFormattedString(e),o={},s=e.get("className",a,t),l=e.get("target",a,t),c=e.get("rel",a,t),u=e.getObj("attributes",a,t),d=e.getObj("events",a,t);return o.href=i,s&&(o.class=s),l&&(o.target=l),c&&(o.rel=c),u&&dn(o,u),{tagName:n,attributes:o,content:r,eventListeners:d}}};function No(e,t){class a extends Kf{constructor(n,r){super(n,r),this.t=e}}for(const i in t)a.prototype[i]=t[i];return a.t=e,a}const F1=No("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),m1=No("text"),jb=No("nl"),ui=No("url",{isLink:!0,toHref(e){return e===void 0&&(e=h0.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==c0&&e[1].t===Pa}}),it=e=>new bt(e);function Pb(e){let{groups:t}=e;const a=t.domain.concat([Pr,Ur,Za,qr,Hr,zr,Vr,$r,Qt,Eu,Wr,Qr,Jr,Kr,Jt,to,zn,eo]),i=[Gr,$i,_i,Vi,Fi,Pa,yu,Wt,Au,qn,zi,Un,Hn,Xr,Su,ku],n=[Pr,Gr,Ur,qr,Hr,zr,_i,Vr,$r,Qt,zi,Wr,Qr,Jr,Kr,Xr,Jt,to,zn,eo],r=it(),o=X(r,zn);he(o,n,o),he(o,t.domain,o);const s=it(),l=it(),c=it();he(r,t.domain,s),he(r,t.scheme,l),he(r,t.slashscheme,c),he(s,n,o),he(s,t.domain,s);const u=X(s,Za);X(o,Za,u),X(l,Za,u),X(c,Za,u);const d=X(o,Wt);he(d,n,o),he(d,t.domain,o);const f=it();he(u,t.domain,f),he(f,t.domain,f);const h=X(f,Wt);he(h,t.domain,f);const g=it(F1);he(h,t.tld,g),he(h,t.utld,g),X(u,c0,g);const m=X(f,Qt);he(m,t.domain,f),he(g,t.domain,f),X(g,Wt,h),X(g,Qt,m);const p=X(g,Pa);he(p,t.numeric,F1);const T=X(s,Qt),R=X(s,Wt);he(T,t.domain,s),he(R,n,o),he(R,t.domain,s);const k=it(ui);he(R,t.tld,k),he(R,t.utld,k),he(k,t.domain,s),he(k,n,o),X(k,Wt,R),X(k,Qt,T),X(k,Za,u);const C=X(k,Pa),j=it(ui);he(C,t.numeric,j);const E=it(ui),I=it();he(E,a,E),he(E,i,I),he(I,a,E),he(I,i,I),X(k,Jt,E),X(j,Jt,E);const M=X(l,Pa),P=X(c,Pa),_=X(P,Jt),D=X(_,Jt);he(l,t.domain,s),X(l,Wt,R),X(l,Qt,T),he(c,t.domain,s),X(c,Wt,R),X(c,Qt,T),he(M,t.domain,E),X(M,Jt,E),he(D,t.domain,E),he(D,a,E),X(D,Jt,E);const S=X(E,zi),x=X(E,Un),L=X(E,qn),Z=X(E,Hn);X(I,zi,S),X(I,Un,x),X(I,qn,L),X(I,Hn,Z),X(S,_i,E),X(x,Vi,E),X(L,$i,E),X(Z,Fi,E),X(S,_i,E);const $=it(ui),V=it(ui),y=it(ui),G=it(ui);he(S,a,$),he(x,a,V),he(L,a,y),he(Z,a,G);const A=it(),z=it(),re=it(),w=it();return he(S,i),he(x,i),he(L,i),he(Z,i),he($,a,$),he(V,a,V),he(y,a,y),he(G,a,G),he($,i,$),he(V,i,V),he(y,i,y),he(G,i,G),he(A,a,A),he(z,a,V),he(re,a,y),he(w,a,G),he(A,i,A),he(z,i,z),he(re,i,re),he(w,i,w),X(V,Vi,E),X(y,$i,E),X(G,Fi,E),X($,_i,E),X(z,Vi,E),X(re,$i,E),X(w,Fi,E),X(A,Fi,E),X(r,c0,k),X(r,bu,jb),{start:r,tokens:Jf}}function Gb(e,t,a){let i=a.length,n=0,r=[],o=[];for(;n=0&&f++,n++,u++;if(f<0)n-=u,n0&&(r.push(_s(m1,t,o)),o=[]),n-=f,u-=f;const h=d.t,g=a.slice(n-u,n);r.push(_s(h,t,g))}}return o.length>0&&r.push(_s(m1,t,o)),r}function _s(e,t,a){const i=a[0].s,n=a[a.length-1].e,r=t.slice(i,n);return new e(r,a)}const ht={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Ub(){ht.scanner=Lb(ht.customSchemes);for(let e=0;e/g,">")}function Hb(e){return e.replace(/"/g,""")}function zb(e){const t=[];for(const a in e){let i=e[a]+"";t.push(`${a}="${Hb(i)}"`)}return t.join(" ")}function Vb(e){let{tagName:t,attributes:a,content:i}=e;return`<${t} ${zb(a)}>${Xf(i)}`}function $b(e,t){t===void 0&&(t={}),t=new vu(t,Vb);const a=qb(e),i=[];for(let n=0;n `):!r.isLink||!t.check(r)?i.push(Xf(r.toString())):i.push(t.render(r))}return i.join("")}String.prototype.linkify||Object.defineProperty(String.prototype,"linkify",{writable:!1,value:function(e){return $b(this,e)}});var eg={exports:{}};(function(e){(function(t){if(typeof a!="function"){var a=function(g){return g};a.nonNative=!0}const i=a("plaintext"),n=a("html"),r=a("comment"),o=/<(\w*)>/g,s=/<\/?([^\s\/>]+)/;function l(g,m,p){g=g||"",m=m||[],p=p||"";let T=u(m,p);return d(g,T)}function c(g,m){g=g||[],m=m||"";let p=u(g,m);return function(T){return d(T||"",p)}}l.init_streaming_mode=c;function u(g,m){return g=f(g),{allowable_tags:g,tag_replacement:m,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function d(g,m){if(typeof g!="string")throw new TypeError("'html' parameter must be a string");let p=m.allowable_tags,T=m.tag_replacement,R=m.state,k=m.tag_buffer,C=m.depth,j=m.in_quote_char,E="";for(let I=0,M=g.length;I":if(j)break;if(C){C--;break}j="",R=i,k+=">",p.has(h(k))?E+=k:E+=T,k="";break;case'"':case"'":P===j?j="":j=j||P,k+=P;break;case"-":k==="":k.slice(-2)=="--"&&(R=i),k="";break;default:k+=P;break}}return m.state=R,m.tag_buffer=k,m.depth=C,m.in_quote_char=j,E}function f(g){let m=new Set;if(typeof g=="string"){let p;for(;p=o.exec(g);)m.add(p[1])}else!a.nonNative&&typeof g[a.iterator]=="function"?m=new Set(g):typeof g.forEach=="function"&&g.forEach(m.add,m);return m}function h(g){let m=s.exec(g);return m?m[1].toLowerCase():null}e.exports?e.exports=l:t.striptags=l})(Ia)})(eg);var Wb=eg.exports;const S7=ti(Wb);var tg={};const Qb=Gl(uF);Object.defineProperty(tg,"__esModule",{value:!0});var Jb=tg.getCapabilities=Xb,Kb=Qb;function Xb(){try{return(0,Kb.loadState)("core","capabilities")}catch{return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}Va.util.warn,Va.util.warn;function ag(e){return nh()?(rh(e),!0):!1}function Vn(e){return typeof e=="function"?e():ah(e)}const ig=typeof window<"u"&&typeof document<"u",ey=Object.prototype.toString,ty=e=>ey.call(e)==="[object Object]",ao=()=>{},_l=ay();function ay(){var e;return ig&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}const p1={mounted:"inserted",updated:"componentUpdated",unmounted:"unbind"};function iy(...e){if(e.length!==1)return K_(...e);const t=e[0];return typeof t=="function"?fo(X_(()=>({get:t,set:ao}))):nt(t)}function Bn(e){var t;const a=Vn(e);return(t=a?.$el)!=null?t:a}const ng=ig?window:void 0;function sr(...e){let t,a,i,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,n]=e,t=ng):[t,a,i,n]=e,!t)return ao;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},s=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=ei(()=>[Bn(t),Vn(n)],([u,d])=>{if(o(),!u)return;const f=ty(d)?{...d}:d;r.push(...a.flatMap(h=>i.map(g=>s(u,h,g,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return ag(c),c}let T1=!1;function D1(e,t,a={}){const{window:i=ng,ignore:n=[],capture:r=!0,detectIframe:o=!1}=a;if(!i)return;_l&&!T1&&(T1=!0,Array.from(i.document.body.children).forEach(u=>u.addEventListener("click",ao)),i.document.documentElement.addEventListener("click",ao));let s=!0;const l=u=>n.some(d=>{if(typeof d=="string")return Array.from(i.document.querySelectorAll(d)).some(f=>f===u.target||u.composedPath().includes(f));{const f=Bn(d);return f&&(u.target===f||u.composedPath().includes(f))}}),c=[sr(i,"click",u=>{const d=Bn(e);if(!(!d||d===u.target||u.composedPath().includes(d))){if(u.detail===0&&(s=!l(u)),!s){s=!0;return}t(u)}},{passive:!0,capture:r}),sr(i,"pointerdown",u=>{const d=Bn(e);d&&(s=!u.composedPath().includes(d)&&!l(u))},{passive:!0}),o&&sr(i,"blur",u=>{setTimeout(()=>{var d;const f=Bn(e);((d=i.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!f?.contains(i.document.activeElement)&&t(u)},0)})].filter(Boolean);return()=>c.forEach(u=>u())}const rg={[p1.mounted](e,t){const a=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=D1(e,t.value,{capture:a});else{const[i,n]=t.value;e.__onClickOutside_stop=D1(e,i,Object.assign({capture:a},n))}},[p1.unmounted](e){e.__onClickOutside_stop()}};function Fs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function og(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function ry(e,t=!1){const a=nt(t);let i=null,n;ei(iy(e),s=>{const l=Fs(Vn(s));if(l){const c=l;n=c.style.overflow,a.value&&(c.style.overflow="hidden")}},{immediate:!0});const r=()=>{const s=Fs(Vn(e));!s||a.value||(_l&&(i=sr(s,"touchmove",l=>{ny(l)},{passive:!1})),s.style.overflow="hidden",a.value=!0)},o=()=>{const s=Fs(Vn(e));!s||!a.value||(_l&&i?.(),s.style.overflow=n,a.value=!1)};return ag(o),Ge({get(){return a.value},set(s){s?r():o()}})}function oy(){let e=!1;const t=nt(!1);return(a,i)=>{if(t.value=i.value,e)return;e=!0;const n=ry(a,i.value);ei(t,r=>n.value=r)}}oy();const sg={data(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{async fetchUserStatus(e){var t,a;if(!e)return;const i=Jb();if(!(!Object.prototype.hasOwnProperty.call(i,"user_status")||!i.user_status.enabled)&&Tr())try{const{data:n}=await Wa.get($a("apps/user_status/api/v1/statuses/{userId}",{userId:e})),{status:r,message:o,icon:s}=n.ocs.data;this.userStatus.status=r,this.userStatus.message=o||"",this.userStatus.icon=s||"",this.hasStatus=!0}catch(n){if(n.response.status===404&&((a=(t=n.response.data.ocs)==null?void 0:t.data)==null?void 0:a.length)===0)return;console.error(n)}}}},lg=Af("nextcloud").persist().build();function sy(e){const t=lg.getItem("user-has-avatar."+e);return typeof t=="string"?!!t:null}function E1(e,t){e&&lg.setItem("user-has-avatar."+e,t)}const ly={name:"NcAvatar",directives:{ClickOutside:rg},components:{DotsHorizontal:Tu,NcActions:Du,NcActionLink:Eb,NcButton:ai,NcLoadingIcon:Ul},mixins:[sg],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},menuContainer:{type:[String,Object,Element,Boolean],default:"body"}},data(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{avatarAriaLabel(){var e,t;if(this.hasMenu)return this.canDisplayUserStatus||this.showUserStatusIconOnAvatar?ae("Avatar of {displayName}, {status}",{displayName:(e=this.displayName)!=null?e:this.user,status:this.userStatusText}):ae("Avatar of {displayName}",{displayName:(t=this.displayName)!=null?t:this.user})},userStatusText(){switch(this.userStatus.status){case"away":return ae("away");case"dnd":return ae("do not disturb");case"online":return ae("online");case"offline":return ae("offline");default:return this.userStatus.status}},userStatusRole(){return this.hasMenu?void 0:{role:"img","aria-label":ae("User status: {status}",{status:this.userStatusText})}},canDisplayUserStatus(){return this.showUserStatus&&this.hasStatus&&["online","away","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar(){return this.showUserStatus&&this.showUserStatusCompact&&this.hasStatus&&this.userStatus.status!=="dnd"&&this.userStatus.icon},userIdentifier(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined(){return typeof this.user<"u"},isDisplayNameDefined(){return typeof this.displayName<"u"},isUrlDefined(){return typeof this.url<"u"},hasMenu(){var e;return this.disableMenu?!1:this.isMenuLoaded?this.menu.length>0:!(this.user===((e=Tr())==null?void 0:e.uid)||this.userDoesNotExist||this.url)},showInitials(){return this.allowPlaceholder&&this.userDoesNotExist&&!(this.iconClass||this.$slots.icon)},avatarStyle(){return{"--size":this.size+"px",lineHeight:this.size+"px",fontSize:Math.round(this.size*.45)+"px"}},initialsWrapperStyle(){const{r:e,g:t,b:a}=l1(this.userIdentifier);return{backgroundColor:`rgba(${e}, ${t}, ${a}, 0.1)`}},initialsStyle(){const{r:e,g:t,b:a}=l1(this.userIdentifier);return{color:`rgb(${e}, ${t}, ${a})`}},tooltip(){return this.disableTooltip?!1:this.tooltipMessage?this.tooltipMessage:this.displayName},initials(){let e="?";if(this.showInitials){const t=this.userIdentifier.trim();if(t==="")return"?";const a=t.match(/[\p{L}\p{N}\s]/gu).join(""),i=a.lastIndexOf(" ");e=String.fromCodePoint(a.codePointAt(0)),i!==-1&&(e=e.concat(String.fromCodePoint(a.codePointAt(i+1))))}return e.toLocaleUpperCase()},menu(){const e=this.contactsMenuActions.map(a=>({href:a.hyperlink,icon:a.icon,text:a.title}));function t(a){const i=document.createTextNode(a),n=document.createElement("p");return n.appendChild(i),n.innerHTML}return this.showUserStatus&&(this.userStatus.icon||this.userStatus.message)?[{href:"#",icon:`data:image/svg+xml;utf8,${t(this.userStatus.icon)}`,text:`${this.userStatus.message}`}].concat(e):e}},watch:{url(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted(){this.loadAvatarUrl(),Ko("settings:avatar:updated",this.loadAvatarUrl),Ko("settings:display-name:updated",this.loadAvatarUrl),this.showUserStatus&&this.user&&!this.isNoUser&&(this.preloadedUserStatus?(this.userStatus.status=this.preloadedUserStatus.status||"",this.userStatus.message=this.preloadedUserStatus.message||"",this.userStatus.icon=this.preloadedUserStatus.icon||"",this.hasStatus=this.preloadedUserStatus.status!==null):this.fetchUserStatus(this.user),Ko("user_status:status.updated",this.handleUserStatusUpdated))},beforeDestroy(){Xo("settings:avatar:updated",this.loadAvatarUrl),Xo("settings:display-name:updated",this.loadAvatarUrl),this.showUserStatus&&this.user&&!this.isNoUser&&Xo("user_status:status.updated",this.handleUserStatusUpdated)},methods:{t:ae,handleUserStatusUpdated(e){this.user===e.userId&&(this.userStatus={status:e.status,icon:e.icon,message:e.message})},async toggleMenu(e){e.type==="keydown"&&e.key!=="Enter"||(this.contactsMenuOpenState||await this.fetchContactsMenu(),this.contactsMenuOpenState=!this.contactsMenuOpenState)},closeMenu(){this.contactsMenuOpenState=!1},async fetchContactsMenu(){this.contactsMenuLoading=!0;try{const e=encodeURIComponent(this.user),{data:t}=await Wa.post(_r("contactsmenu/findOne"),`shareType=0&shareWith=${e}`);this.contactsMenuActions=t.topAction?[t.topAction].concat(t.actions):t.actions}catch{this.contactsMenuOpenState=!1}this.contactsMenuLoading=!1,this.isMenuLoaded=!0},loadAvatarUrl(){if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser)){this.isAvatarLoaded=!0,this.userDoesNotExist=!0;return}if(this.isUrlDefined){this.updateImageIfValid(this.url);return}if(this.size<=64){const e=this.avatarUrlGenerator(this.user,64),t=[e+" 1x",this.avatarUrlGenerator(this.user,512)+" 8x"].join(", ");this.updateImageIfValid(e,t)}else{const e=this.avatarUrlGenerator(this.user,512);this.updateImageIfValid(e)}},avatarUrlGenerator(e,t){var a;const i=window.getComputedStyle(document.body).getPropertyValue("--background-invert-if-dark")==="invert(100%)";let n="/avatar/{user}/{size}"+(i?"/dark":"");this.isGuest&&(n="/avatar/guest/{user}/{size}"+(i?"/dark":""));let r=_r(n,{user:e,size:t});return e===((a=Tr())==null?void 0:a.uid)&&typeof oc_userconfig<"u"&&(r+="?v="+oc_userconfig.avatar.version),r},updateImageIfValid(e,t=null){const a=sy(this.user);if(this.isUserDefined&&typeof a=="boolean"){this.isAvatarLoaded=!0,this.avatarUrlLoaded=e,t&&(this.avatarSrcSetLoaded=t),a===!1&&(this.userDoesNotExist=!0);return}const i=new Image;i.onload=()=>{this.avatarUrlLoaded=e,t&&(this.avatarSrcSetLoaded=t),this.isAvatarLoaded=!0,E1(this.user,!0)},i.onerror=()=>{console.debug("Invalid avatar url",e),this.avatarUrlLoaded=null,this.avatarSrcSetLoaded=null,this.userDoesNotExist=!0,this.isAvatarLoaded=!1,E1(this.user,!1)},t&&(i.srcset=t),i.src=e}}};var uy=function(){var e=this,t=e._self._c;return t("span",e._g({directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeMenu,expression:"closeMenu"}],ref:"main",staticClass:"avatardiv popovermenu-wrapper",class:{"avatardiv--unknown":e.userDoesNotExist,"avatardiv--with-menu":e.hasMenu,"avatardiv--with-menu-loading":e.contactsMenuLoading},style:e.avatarStyle,attrs:{title:e.tooltip,tabindex:e.hasMenu?"0":void 0,"aria-label":e.avatarAriaLabel,role:e.hasMenu?"button":void 0}},e.hasMenu?{click:e.toggleMenu,keydown:e.toggleMenu}:null),[e._t("icon",function(){return[e.iconClass?t("span",{staticClass:"avatar-class-icon",class:e.iconClass}):e.isAvatarLoaded&&!e.userDoesNotExist?t("img",{attrs:{src:e.avatarUrlLoaded,srcset:e.avatarSrcSetLoaded,alt:""}}):e._e()]}),e.hasMenu&&!e.menu.length?t("NcButton",{staticClass:"action-item action-item__menutoggle",attrs:{"aria-label":e.t("Open contact menu"),type:"tertiary-no-background"},scopedSlots:e._u([{key:"icon",fn:function(){return[e.contactsMenuLoading?t("NcLoadingIcon"):t("DotsHorizontal",{attrs:{size:20}})]},proxy:!0}],null,!1,2617833509)}):e.hasMenu?t("NcActions",{attrs:{"force-menu":"","manual-open":"",type:"tertiary-no-background",container:e.menuContainer,open:e.contactsMenuOpenState},scopedSlots:e._u([e.contactsMenuLoading?{key:"icon",fn:function(){return[t("NcLoadingIcon")]},proxy:!0}:null],null,!0)},e._l(e.menu,function(a,i){return t("NcActionLink",{key:i,attrs:{href:a.href,icon:a.icon}},[e._v(" "+e._s(a.text)+" ")])}),1):e._e(),e.showUserStatusIconOnAvatar?t("span",{staticClass:"avatardiv__user-status avatardiv__user-status--icon"},[e._v(" "+e._s(e.userStatus.icon)+" ")]):e.canDisplayUserStatus?t("span",e._b({staticClass:"avatardiv__user-status",class:"avatardiv__user-status--"+e.userStatus.status},"span",e.userStatusRole,!1)):e._e(),e.showInitials?t("span",{staticClass:"avatardiv__initials-wrapper",style:e.initialsWrapperStyle},[t("span",{staticClass:"avatardiv__initials",style:e.initialsStyle},[e._v(" "+e._s(e.initials)+" ")])]):e._e()],2)},dy=[],cy=de(ly,uy,dy,!1,null,"b9bda6c2",null,null);const y0=cy.exports,hy={long:ae("a few seconds ago"),short:ae("seconds ago"),narrow:ae("sec. ago")},fy={name:"NcDateTime",props:{timestamp:{type:[Date,Number],required:!0},format:{type:Object,default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long",validator:e=>e===!1||["long","short","narrow"].includes(e)},ignoreSeconds:{type:Boolean,default:!1}},data(){return{currentTime:Date.now(),intervalId:void 0}},computed:{dateObject(){return new Date(this.timestamp)},formattedTime(){if(this.relativeTime!==!1){const e=new Intl.RelativeTimeFormat(ud(),{numeric:"auto",style:this.relativeTime}),t=(this.dateObject-new Date(this.currentTime))/1e3;if(Math.abs(t)<=90)return this.ignoreSeconds?hy[this.relativeTime]:e.format(Math.round(t),"second");const a=t/60;if(Math.abs(a)<=90)return e.format(Math.round(a),"minute");const i=a/60;if(Math.abs(i)<=24)return e.format(Math.round(i),"hour");const n=i/24;if(Math.abs(n)<=6)return e.format(Math.round(n),"day");const r=n/7;if(Math.abs(r)<=4)return e.format(Math.round(r),"week");const o=n/30;return Math.abs(o)<=12?e.format(Math.round(o),"month"):e.format(Math.round(n/365),"year")}return this.formattedFullTime},formattedFullTime(){return new Intl.DateTimeFormat(ud(),this.format).format(this.dateObject)}},watch:{relativeTime(e,t){window.clearInterval(this.intervalId),this.intervalId=void 0,e&&(this.intervalId=window.setInterval(this.setCurrentTime,1e3))}},mounted(){this.relativeTime!==!1&&(this.intervalId=window.setInterval(this.setCurrentTime,1e3))},destroyed(){window.clearInterval(this.intervalId)},methods:{setCurrentTime(){this.currentTime=Date.now()}}};var gy=function(){var e=this,t=e._self._c;return t("span",{staticClass:"nc-datetime",attrs:{"data-timestamp":e.timestamp,title:e.formattedFullTime}},[e._v(e._s(e.formattedTime))])},_y=[],Fy=de(fy,gy,_y,!1,null,null,null,null);const ug=Fy.exports;const dg=(e,t)=>{const a=[];let i=0,n=e.toLowerCase().indexOf(t.toLowerCase(),i),r=0;for(;n>-1&&r[]}},computed:{ranges(){let e=[];return!this.search&&this.highlight.length===0||(this.highlight.length>0?e=this.highlight:e=dg(this.text,this.search),e.forEach((t,a)=>{t.end(a.start0&&t.push({start:a.start<0?0:a.start,end:a.end>this.text.length?this.text.length:a.end}),t),[]),e.sort((t,a)=>t.start-a.start),e=e.reduce((t,a)=>{if(!t.length)t.push(a);else{const i=t.length-1;t[i].end>=a.start?t[i]={start:t[i].start,end:Math.max(t[i].end,a.end)}:t.push(a)}return t},[])),e},chunks(){if(this.ranges.length===0)return[{start:0,end:this.text.length,highlight:!1,text:this.text}];const e=[];let t=0,a=0;for(;t=this.ranges.length&&tt.highlight?e("strong",{},t.text):t.text)):e("span",{},this.text)}},py=null,Ty=null;var Dy=de(my,py,Ty,!1,null,null,null,null);const wo=Dy.exports;var cg={exports:{}};(function(e,t){(function(a,i){e.exports=i()})(typeof self<"u"?self:Ia,function(){return(()=>{var a={646:o=>{o.exports=function(s){if(Array.isArray(s)){for(var l=0,c=new Array(s.length);l{o.exports=function(s,l,c){return l in s?Object.defineProperty(s,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):s[l]=c,s}},860:o=>{o.exports=function(s){if(Symbol.iterator in Object(s)||Object.prototype.toString.call(s)==="[object Arguments]")return Array.from(s)}},206:o=>{o.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(o,s,l)=>{var c=l(646),u=l(860),d=l(206);o.exports=function(f){return c(f)||u(f)||d()}},8:o=>{function s(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o.exports=s=function(c){return typeof c}:o.exports=s=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s(l)}o.exports=s}},i={};function n(o){var s=i[o];if(s!==void 0)return s.exports;var l=i[o]={exports:{}};return a[o](l,l.exports,n),l.exports}n.n=o=>{var s=o&&o.__esModule?()=>o.default:()=>o;return n.d(s,{a:s}),s},n.d=(o,s)=>{for(var l in s)n.o(s,l)&&!n.o(o,l)&&Object.defineProperty(o,l,{enumerable:!0,get:s[l]})},n.o=(o,s)=>Object.prototype.hasOwnProperty.call(o,s),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{VueSelect:()=>I,default:()=>P,mixins:()=>M});var o=n(319),s=n.n(o),l=n(8),c=n.n(l),u=n(713),d=n.n(u);const f={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(_){var D=this;this.autoscroll&&_&&this.$nextTick(function(){return D.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var _,D=((_=this.$refs.dropdownMenu)===null||_===void 0?void 0:_.children[this.typeAheadPointer])||!1;if(D){var S=this.getDropdownViewport(),x=D.getBoundingClientRect(),L=x.top,Z=x.bottom,$=x.height;if(LS.bottom)return this.$refs.dropdownMenu.scrollTop=D.offsetTop-(S.height-$)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},h={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){if(this.resetFocusOnOptionsChange){for(var _=0;_=0;_--)if(this.selectable(this.filteredOptions[_])){this.typeAheadPointer=_;break}},typeAheadDown:function(){for(var _=this.typeAheadPointer+1;_0&&arguments[0]!==void 0?arguments[0]:null;return this.mutableLoading=_??!this.mutableLoading}}};function m(_,D,S,x,L,Z,$,V){var y,G=typeof _=="function"?_.options:_;if(D&&(G.render=D,G.staticRenderFns=S,G._compiled=!0),x&&(G.functional=!0),Z&&(G._scopeId="data-v-"+Z),$?(y=function(re){(re=re||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__>"u"||(re=__VUE_SSR_CONTEXT__),L&&L.call(this,re),re&&re._registeredComponents&&re._registeredComponents.add($)},G._ssrRegister=y):L&&(y=V?function(){L.call(this,(G.functional?this.parent:this).$root.$options.shadowRoot)}:L),y)if(G.functional){G._injectStyles=y;var A=G.render;G.render=function(re,w){return y.call(w),A(re,w)}}else{var z=G.beforeCreate;G.beforeCreate=z?[].concat(z,y):[y]}return{exports:_,options:G}}const p={Deselect:m({},function(){var _=this.$createElement,D=this._self._c||_;return D("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[D("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[],!1,null,null,null).exports,OpenIndicator:m({},function(){var _=this.$createElement,D=this._self._c||_;return D("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[D("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[],!1,null,null,null).exports},T={inserted:function(_,D,S){var x=S.context;if(x.appendToBody){document.body.appendChild(_);var L=x.$refs.toggle.getBoundingClientRect(),Z=L.height,$=L.top,V=L.left,y=L.width,G=window.scrollX||window.pageXOffset,A=window.scrollY||window.pageYOffset;_.unbindPosition=x.calculatePosition(_,x,{width:y+"px",left:G+V+"px",top:A+$+Z+"px"})}},unbind:function(_,D,S){S.context.appendToBody&&(_.unbindPosition&&typeof _.unbindPosition=="function"&&_.unbindPosition(),_.parentNode&&_.parentNode.removeChild(_))}},R=function(_){var D={};return Object.keys(_).sort().forEach(function(S){D[S]=_[S]}),JSON.stringify(D)};var k=0;const C=function(){return++k};function j(_,D){var S=Object.keys(_);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(_);D&&(x=x.filter(function(L){return Object.getOwnPropertyDescriptor(_,L).enumerable})),S.push.apply(S,x)}return S}function E(_){for(var D=1;D({x:e,y:e}),Ey={left:"right",right:"left",bottom:"top",top:"bottom"},by={start:"end",end:"start"};function b1(e,t,a){return bi(e,io(t,a))}function cn(e,t){return typeof e=="function"?e(t):e}function Ja(e){return e.split("-")[0]}function Oo(e){return e.split("-")[1]}function Ru(e){return e==="x"?"y":"x"}function hg(e){return e==="y"?"height":"width"}function A0(e){return["top","bottom"].includes(Ja(e))?"y":"x"}function fg(e){return Ru(A0(e))}function yy(e,t,a){a===void 0&&(a=!1);const i=Oo(e),n=fg(e),r=hg(n);let o=n==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(o=ro(o)),[o,ro(o)]}function Ay(e){const t=ro(e);return[Fl(e),t,Fl(t)]}function Fl(e){return e.replace(/start|end/g,t=>by[t])}function Sy(e,t,a){const i=["left","right"],n=["right","left"],r=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return a?t?n:i:t?i:n;case"left":case"right":return t?r:o;default:return[]}}function ky(e,t,a,i){const n=Oo(e);let r=Sy(Ja(e),a==="start",i);return n&&(r=r.map(o=>o+"-"+n),t&&(r=r.concat(r.map(Fl)))),r}function ro(e){return e.replace(/left|right|bottom|top/g,t=>Ey[t])}function vy(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ry(e){return typeof e!="number"?vy(e):{top:e,right:e,bottom:e,left:e}}function oo(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function y1(e,t,a){let{reference:i,floating:n}=e;const r=A0(t),o=fg(t),s=hg(o),l=Ja(t),c=r==="y",u=i.x+i.width/2-n.width/2,d=i.y+i.height/2-n.height/2,f=i[s]/2-n[s]/2;let h;switch(l){case"top":h={x:u,y:i.y-n.height};break;case"bottom":h={x:u,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:d};break;case"left":h={x:i.x-n.width,y:d};break;default:h={x:i.x,y:i.y}}switch(Oo(t)){case"start":h[o]-=f*(a&&c?-1:1);break;case"end":h[o]+=f*(a&&c?-1:1);break}return h}const Ny=async(e,t,a)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:o}=a,s=r.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:n}),{x:u,y:d}=y1(c,i,l),f=i,h={},g=0;for(let m=0;mS<=0)){var P,_;const S=(((P=r.flip)==null?void 0:P.index)||0)+1,x=j[S];if(x)return{data:{index:S,overflows:M},reset:{placement:x}};let L=(_=M.filter(Z=>Z.overflows[0]<=0).sort((Z,$)=>Z.overflows[1]-$.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(h){case"bestFit":{var D;const Z=(D=M.map($=>[$.placement,$.overflows.filter(V=>V>0).reduce((V,y)=>V+y,0)]).sort(($,V)=>$[1]-V[1])[0])==null?void 0:D[0];Z&&(L=Z);break}case"initialPlacement":L=s;break}if(n!==L)return{reset:{placement:L}}}return{}}}};async function Oy(e,t){const{placement:a,platform:i,elements:n}=e,r=await(i.isRTL==null?void 0:i.isRTL(n.floating)),o=Ja(a),s=Oo(a),l=A0(a)==="y",c=["left","top"].includes(o)?-1:1,u=r&&l?-1:1,d=cn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}const xy=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:a,y:i}=t,n=await Oy(t,e);return{x:a+n.x,y:i+n.y,data:n}}}},By=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:i,placement:n}=t,{mainAxis:r=!0,crossAxis:o=!1,limiter:s={fn:p=>{let{x:T,y:R}=p;return{x:T,y:R}}},...l}=cn(e,t),c={x:a,y:i},u=await gg(t,l),d=A0(Ja(n)),f=Ru(d);let h=c[f],g=c[d];if(r){const p=f==="y"?"top":"left",T=f==="y"?"bottom":"right",R=h+u[p],k=h-u[T];h=b1(R,h,k)}if(o){const p=d==="y"?"top":"left",T=d==="y"?"bottom":"right",R=g+u[p],k=g-u[T];g=b1(R,g,k)}const m=s.fn({...t,[f]:h,[d]:g});return{...m,data:{x:m.x-a,y:m.y-i}}}}},Cy=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:a,y:i,placement:n,rects:r,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=cn(e,t),u={x:a,y:i},d=A0(n),f=Ru(d);let h=u[f],g=u[d];const m=cn(s,t),p=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const k=f==="y"?"height":"width",C=r.reference[f]-r.floating[k]+p.mainAxis,j=r.reference[f]+r.reference[k]-p.mainAxis;hj&&(h=j)}if(c){var T,R;const k=f==="y"?"width":"height",C=["top","left"].includes(Ja(n)),j=r.reference[d]-r.floating[k]+(C&&((T=o.offset)==null?void 0:T[d])||0)+(C?0:p.crossAxis),E=r.reference[d]+r.reference[k]+(C?0:((R=o.offset)==null?void 0:R[d])||0)-(C?p.crossAxis:0);gE&&(g=E)}return{[f]:h,[d]:g}}}};function Ka(e){return _g(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Na(e){var t;return(t=(_g(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _g(e){return e instanceof Node||e instanceof Rt(e).Node}function ya(e){return e instanceof Element||e instanceof Rt(e).Element}function sa(e){return e instanceof HTMLElement||e instanceof Rt(e).HTMLElement}function A1(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function S0(e){const{overflow:t,overflowX:a,overflowY:i,display:n}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+a)&&!["inline","contents"].includes(n)}function My(e){return["table","td","th"].includes(Ka(e))}function Nu(e){const t=wu(),a=Zt(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!t&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!t&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function Yy(e){let t=hn(e);for(;sa(t)&&!xo(t);){if(Nu(t))return t;t=hn(t)}return null}function wu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xo(e){return["html","body","#document"].includes(Ka(e))}function Zt(e){return Rt(e).getComputedStyle(e)}function Bo(e){return ya(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hn(e){if(Ka(e)==="html")return e;const t=e.assignedSlot||e.parentNode||A1(e)&&e.host||Na(e);return A1(t)?t.host:t}function Fg(e){const t=hn(e);return xo(t)?e.ownerDocument?e.ownerDocument.body:e.body:sa(t)&&S0(t)?t:Fg(t)}function f0(e,t,a){var i;t===void 0&&(t=[]),a===void 0&&(a=!0);const n=Fg(e),r=n===((i=e.ownerDocument)==null?void 0:i.body),o=Rt(n);return r?t.concat(o,o.visualViewport||[],S0(n)?n:[],o.frameElement&&a?f0(o.frameElement):[]):t.concat(n,f0(n,[],a))}function mg(e){const t=Zt(e);let a=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const n=sa(e),r=n?e.offsetWidth:a,o=n?e.offsetHeight:i,s=no(a)!==r||no(i)!==o;return s&&(a=r,i=o),{width:a,height:i,$:s}}function Ou(e){return ya(e)?e:e.contextElement}function nn(e){const t=Ou(e);if(!sa(t))return Qa(1);const a=t.getBoundingClientRect(),{width:i,height:n,$:r}=mg(t);let o=(r?no(a.width):a.width)/i,s=(r?no(a.height):a.height)/n;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Ly=Qa(0);function pg(e){const t=Rt(e);return!wu()||!t.visualViewport?Ly:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zy(e,t,a){return t===void 0&&(t=!1),!a||t&&a!==Rt(e)?!1:t}function vi(e,t,a,i){t===void 0&&(t=!1),a===void 0&&(a=!1);const n=e.getBoundingClientRect(),r=Ou(e);let o=Qa(1);t&&(i?ya(i)&&(o=nn(i)):o=nn(e));const s=Zy(r,a,i)?pg(r):Qa(0);let l=(n.left+s.x)/o.x,c=(n.top+s.y)/o.y,u=n.width/o.x,d=n.height/o.y;if(r){const f=Rt(r),h=i&&ya(i)?Rt(i):i;let g=f.frameElement;for(;g&&i&&h!==f;){const m=nn(g),p=g.getBoundingClientRect(),T=Zt(g),R=p.left+(g.clientLeft+parseFloat(T.paddingLeft))*m.x,k=p.top+(g.clientTop+parseFloat(T.paddingTop))*m.y;l*=m.x,c*=m.y,u*=m.x,d*=m.y,l+=R,c+=k,g=Rt(g).frameElement}}return oo({width:u,height:d,x:l,y:c})}function Iy(e){let{rect:t,offsetParent:a,strategy:i}=e;const n=sa(a),r=Na(a);if(a===r)return t;let o={scrollLeft:0,scrollTop:0},s=Qa(1);const l=Qa(0);if((n||!n&&i!=="fixed")&&((Ka(a)!=="body"||S0(r))&&(o=Bo(a)),sa(a))){const c=vi(a);s=nn(a),l.x=c.x+a.clientLeft,l.y=c.y+a.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+l.x,y:t.y*s.y-o.scrollTop*s.y+l.y}}function jy(e){return Array.from(e.getClientRects())}function Tg(e){return vi(Na(e)).left+Bo(e).scrollLeft}function Py(e){const t=Na(e),a=Bo(e),i=e.ownerDocument.body,n=bi(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),r=bi(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let o=-a.scrollLeft+Tg(e);const s=-a.scrollTop;return Zt(i).direction==="rtl"&&(o+=bi(t.clientWidth,i.clientWidth)-n),{width:n,height:r,x:o,y:s}}function Gy(e,t){const a=Rt(e),i=Na(e),n=a.visualViewport;let r=i.clientWidth,o=i.clientHeight,s=0,l=0;if(n){r=n.width,o=n.height;const c=wu();(!c||c&&t==="fixed")&&(s=n.offsetLeft,l=n.offsetTop)}return{width:r,height:o,x:s,y:l}}function Uy(e,t){const a=vi(e,!0,t==="fixed"),i=a.top+e.clientTop,n=a.left+e.clientLeft,r=sa(e)?nn(e):Qa(1),o=e.clientWidth*r.x,s=e.clientHeight*r.y,l=n*r.x,c=i*r.y;return{width:o,height:s,x:l,y:c}}function S1(e,t,a){let i;if(t==="viewport")i=Gy(e,a);else if(t==="document")i=Py(Na(e));else if(ya(t))i=Uy(t,a);else{const n=pg(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return oo(i)}function Dg(e,t){const a=hn(e);return a===t||!ya(a)||xo(a)?!1:Zt(a).position==="fixed"||Dg(a,t)}function qy(e,t){const a=t.get(e);if(a)return a;let i=f0(e,[],!1).filter(s=>ya(s)&&Ka(s)!=="body"),n=null;const r=Zt(e).position==="fixed";let o=r?hn(e):e;for(;ya(o)&&!xo(o);){const s=Zt(o),l=Nu(o);!l&&s.position==="fixed"&&(n=null),(r?!l&&!n:!l&&s.position==="static"&&n&&["absolute","fixed"].includes(n.position)||S0(o)&&!l&&Dg(e,o))?i=i.filter(c=>c!==o):n=s,o=hn(o)}return t.set(e,i),i}function Hy(e){let{element:t,boundary:a,rootBoundary:i,strategy:n}=e;const r=[...a==="clippingAncestors"?qy(t,this._c):[].concat(a),i],o=r[0],s=r.reduce((l,c)=>{const u=S1(t,c,n);return l.top=bi(u.top,l.top),l.right=io(u.right,l.right),l.bottom=io(u.bottom,l.bottom),l.left=bi(u.left,l.left),l},S1(t,o,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function zy(e){return mg(e)}function Vy(e,t,a){const i=sa(t),n=Na(t),r=a==="fixed",o=vi(e,!0,r,t);let s={scrollLeft:0,scrollTop:0};const l=Qa(0);if(i||!i&&!r)if((Ka(t)!=="body"||S0(n))&&(s=Bo(t)),i){const c=vi(t,!0,r,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else n&&(l.x=Tg(n));return{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function k1(e,t){return!sa(e)||Zt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Eg(e,t){const a=Rt(e);if(!sa(e))return a;let i=k1(e,t);for(;i&&My(i)&&Zt(i).position==="static";)i=k1(i,t);return i&&(Ka(i)==="html"||Ka(i)==="body"&&Zt(i).position==="static"&&!Nu(i))?a:i||Yy(e)||a}const $y=async function(e){let{reference:t,floating:a,strategy:i}=e;const n=this.getOffsetParent||Eg,r=this.getDimensions;return{reference:Vy(t,await n(a),i),floating:{x:0,y:0,...await r(a)}}};function Wy(e){return Zt(e).direction==="rtl"}const Qy={convertOffsetParentRelativeRectToViewportRelativeRect:Iy,getDocumentElement:Na,getClippingRect:Hy,getOffsetParent:Eg,getElementRects:$y,getClientRects:jy,getDimensions:zy,getScale:nn,isElement:ya,isRTL:Wy};function Jy(e,t){let a=null,i;const n=Na(e);function r(){clearTimeout(i),a&&a.disconnect(),a=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),r();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h=G0(u),g=G0(n.clientWidth-(c+d)),m=G0(n.clientHeight-(u+f)),p=G0(c),T={rootMargin:-h+"px "+-g+"px "+-m+"px "+-p+"px",threshold:bi(0,io(1,l))||1};let R=!0;function k(C){const j=C[0].intersectionRatio;if(j!==l){if(!R)return o();j?o(!1,j):i=setTimeout(()=>{o(!1,1e-7)},100)}R=!1}try{a=new IntersectionObserver(k,{...T,root:n.ownerDocument})}catch{a=new IntersectionObserver(k,T)}a.observe(e)}return o(!0),r}function Ky(e,t,a,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=i,c=Ou(e),u=n||r?[...c?f0(c):[],...f0(t)]:[];u.forEach(T=>{n&&T.addEventListener("scroll",a,{passive:!0}),r&&T.addEventListener("resize",a)});const d=c&&s?Jy(c,a):null;let f=-1,h=null;o&&(h=new ResizeObserver(T=>{let[R]=T;R&&R.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{h&&h.observe(t)})),a()}),c&&!l&&h.observe(c),h.observe(t));let g,m=l?vi(e):null;l&&p();function p(){const T=vi(e);m&&(T.x!==m.x||T.y!==m.y||T.width!==m.width||T.height!==m.height)&&a(),m=T,g=requestAnimationFrame(p)}return a(),()=>{u.forEach(T=>{n&&T.removeEventListener("scroll",a),r&&T.removeEventListener("resize",a)}),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const Xy=(e,t,a)=>{const i=new Map,n={platform:Qy,...a},r={...n.platform,_c:i};return Ny(e,t,{...n,platform:r})},e4={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var t4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon chevron-down-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},a4=[],i4=de(e4,t4,a4,!1,null,null,null,null);const n4=i4.exports,r4={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var o4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},s4=[],l4=de(r4,o4,s4,!1,null,null,null,null);const Co=l4.exports;const u4={name:"NcEllipsisedOption",components:{NcHighlight:wo},props:{name:{type:String,default:""},search:{type:String,default:""}},computed:{needsTruncate(){return this.name&&this.name.length>=10},split(){return this.name.length-Math.min(Math.floor(this.name.length/2),10)},part1(){return this.needsTruncate?this.name.slice(0,this.split):this.name},part2(){return this.needsTruncate?this.name.slice(this.split):""},highlight1(){return this.search?dg(this.name,this.search):[]},highlight2(){return this.highlight1.map(e=>({start:e.start-this.split,end:e.end-this.split}))}}};var d4=function(){var e=this,t=e._self._c;return t("span",{staticClass:"name-parts",attrs:{title:e.name}},[t("NcHighlight",{staticClass:"name-parts__first",attrs:{text:e.part1,search:e.search,highlight:e.highlight1}}),e.part2?t("NcHighlight",{staticClass:"name-parts__last",attrs:{text:e.part2,search:e.search,highlight:e.highlight2}}):e._e()],1)},c4=[],h4=de(u4,d4,c4,!1,null,"08c4259e",null,null);const f4=h4.exports;const g4=8,v1=32,_4={name:"NcListItemIcon",components:{NcAvatar:y0,NcHighlight:wo,NcIconSvgWrapper:Cf},mixins:[sg],props:{name:{type:String,required:!0},subname:{type:String,default:""},icon:{type:String,default:""},iconSvg:{type:String,default:""},iconName:{type:String,default:""},search:{type:String,default:""},avatarSize:{type:Number,default:v1},noMargin:{type:Boolean,default:!1},displayName:{type:String,default:null},isNoUser:{type:Boolean,default:!1},id:{type:String,default:null}},data(){return{margin:g4}},computed:{hasIcon(){return this.icon!==""},hasIconSvg(){return this.iconSvg!==""},isValidSubname(){var e,t;return((t=(e=this.subname)==null?void 0:e.trim)==null?void 0:t.call(e))!==""},isSizeBigEnough(){return this.avatarSize>=v1},cssVars(){const e=this.noMargin?0:this.margin;return{"--height":this.avatarSize+2*e+"px","--margin":this.margin+"px"}},searchParts(){const e=/^([^<]*)<([^>]+)>?$/,t=this.search.match(e);return this.isNoUser||!t?[this.search,this.search]:[t[1].trim(),t[2]]}},beforeMount(){!this.isNoUser&&!this.subname&&this.fetchUserStatus(this.user)}};var F4=function(){var e=this,t=e._self._c;return t("span",e._g({staticClass:"option",style:e.cssVars,attrs:{id:e.id}},e.$listeners),[t("NcAvatar",e._b({staticClass:"option__avatar",attrs:{"disable-menu":!0,"disable-tooltip":!0,"display-name":e.displayName||e.name,"is-no-user":e.isNoUser,size:e.avatarSize}},"NcAvatar",e.$attrs,!1)),t("div",{staticClass:"option__details"},[t("NcHighlight",{staticClass:"option__lineone",attrs:{text:e.name,search:e.searchParts[0]}}),e.isValidSubname&&e.isSizeBigEnough?t("NcHighlight",{staticClass:"option__linetwo",attrs:{text:e.subname,search:e.searchParts[1]}}):e.hasStatus?t("span",[t("span",[e._v(e._s(e.userStatus.icon))]),t("span",[e._v(e._s(e.userStatus.message))])]):e._e()],1),e._t("default",function(){return[e.hasIconSvg?t("NcIconSvgWrapper",{staticClass:"option__icon",attrs:{svg:e.iconSvg,name:e.iconName}}):e.hasIcon?t("span",{staticClass:"icon option__icon",class:e.icon,attrs:{"aria-label":e.iconName}}):e._e()]})],2)},m4=[],p4=de(_4,F4,m4,!1,null,"562c32c6",null,null);const T4=p4.exports,D4={name:"NcSelect",components:{ChevronDown:n4,NcEllipsisedOption:f4,NcListItemIcon:T4,NcLoadingIcon:Ul,VueSelect:P0.VueSelect},mixins:[go],props:{...P0.VueSelect.props,ariaLabelClearSelected:{type:String,default:ae("Clear selected")},ariaLabelCombobox:{type:String,default:ae("Search for options")},ariaLabelDeselectOption:{type:Function,default:e=>ae("Deselect {option}",{option:e})},appendToBody:{type:Boolean,default:!0},calculatePosition:{type:Function,default:null},closeOnSelect:{type:Boolean,default:!0},components:{type:Object,default:()=>({Deselect:{render:e=>e(Co,{props:{size:20,fillColor:"var(--vs-controls-color)"},style:{cursor:"pointer"}})}})},limit:{type:Number,default:null},disabled:{type:Boolean,default:!1},dropdownShouldOpen:{type:Function,default:({noDrop:e,open:t})=>e?!1:t},filterBy:{type:Function,default:null},inputClass:{type:[String,Object],default:null},inputId:{type:String,default:null},keyboardFocusBorder:{type:Boolean,default:!0},label:{type:String,default:null},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},mapKeydown:{type:Function,default(e,t){return{...e,27:a=>{t.open&&a.stopPropagation(),e[27](a)}}}},uid:{type:String,default:()=>"-"+F0()},placement:{type:String,default:"bottom"},resetFocusOnOptionsChange:{type:Boolean,default:!0},userSelect:{type:Boolean,default:!1},value:{type:[String,Number,Object,Array],default:null}," ":{}},emits:[" "],data(){return{search:""}},computed:{localCalculatePosition(){return this.calculatePosition!==null?this.calculatePosition:(e,t,{width:a})=>{e.style.width=a;const i={name:"addClass",fn(o){return e.classList.add("vs__dropdown-menu--floating"),{}}},n={name:"togglePlacementClass",fn({placement:o}){return t.$el.classList.toggle("select--drop-up",o==="top"),e.classList.toggle("vs__dropdown-menu--floating-placement-top",o==="top"),{}}},r=()=>{Xy(t.$refs.toggle,e,{placement:this.placement,middleware:[xy(-1),i,n,wy(),By({limiter:Cy()})]}).then(({x:o,y:s})=>{Object.assign(e.style,{left:`${o}px`,top:`${s}px`})})};return Ky(t.$refs.toggle,e,r)}},localFilterBy(){const e=/[^<]*<([^>]+)/;return this.filterBy!==null?this.filterBy:this.userSelect?(t,a,i)=>{var n,r,o;const s=i.match(e);return s&&((o=(r=(n=t.subname)==null?void 0:n.toLocaleLowerCase)==null?void 0:r.call(n))==null?void 0:o.indexOf(s[1].toLocaleLowerCase()))>-1||`${a} ${t.subname}`.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1}:P0.VueSelect.props.filterBy.default},localLabel(){return this.label!==null?this.label:this.userSelect?"displayName":P0.VueSelect.props.label.default},propsToForward(){const{inputClass:e,noWrap:t,placement:a,userSelect:i,...n}=this.$props;return{...n,calculatePosition:this.localCalculatePosition,filterBy:this.localFilterBy,label:this.localLabel}}}};var E4=function(){var e=this,t=e._self._c;return t("VueSelect",e._g(e._b({staticClass:"select",class:{"select--no-wrap":e.noWrap,"user-select":e.userSelect},on:{search:a=>e.search=a},scopedSlots:e._u([{key:"search",fn:function({attributes:a,events:i}){return[t("input",e._g(e._b({class:["vs__search",e.inputClass]},"input",a,!1),i))]}},{key:"open-indicator",fn:function({attributes:a}){return[t("ChevronDown",e._b({attrs:{"fill-color":"var(--vs-controls-color)",size:26}},"ChevronDown",a,!1))]}},{key:"option",fn:function(a){return[e.userSelect?t("NcListItemIcon",e._b({attrs:{"avatar-size":24,name:a[e.localLabel],search:e.search}},"NcListItemIcon",a,!1)):t("NcEllipsisedOption",{attrs:{name:String(a[e.localLabel]),search:e.search}})]}},{key:"selected-option",fn:function(a){return[e.userSelect?t("NcListItemIcon",e._b({attrs:{"avatar-size":24,name:a[e.localLabel],search:e.search}},"NcListItemIcon",a,!1)):t("NcEllipsisedOption",{attrs:{name:String(a[e.localLabel]),search:e.search}})]}},{key:"spinner",fn:function(a){return[a.loading?t("NcLoadingIcon"):e._e()]}},{key:"no-options",fn:function(){return[e._v(" "+e._s(e.t("No results"))+" ")]},proxy:!0},e._l(e.$scopedSlots,function(a,i){return{key:i,fn:function(n){return[e._t(i,null,null,n)]}}})],null,!0)},"VueSelect",e.propsToForward,!1),e.$listeners))},b4=[],y4=de(D4,E4,b4,!1,null,null,null,null);const Mo=y4.exports;const A4={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var S4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},k4=[],v4=de(A4,S4,k4,!1,null,null,null,null);const R4=v4.exports,N4={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var w4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},O4=[],x4=de(N4,w4,O4,!1,null,null,null,null);const B4=x4.exports,C4={name:"NcInputField",components:{NcButton:ai,AlertCircle:R4,Check:B4},inheritAttrs:!1,props:{value:{type:String,required:!0},type:{type:String,default:"text",validator:e=>["text","password","email","tel","url","search","number"].includes(e)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","trailing-button-click"],computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+F0()},hasLeadingIcon(){return this.$slots.default},hasTrailingIcon(){return this.success},hasPlaceholder(){return this.placeholder!==""&&this.placeholder!==void 0},computedPlaceholder(){return this.hasPlaceholder?this.placeholder:this.label},isValidLabel(){const e=this.label||this.labelOutside;return e||console.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),e},ariaDescribedby(){const e=[];return this.helperText.length>0&&e.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&e.push(this.$attrs["aria-describedby"]),e.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(e){this.$emit("update:value",e.target.value)},handleTrailingButtonClick(e){this.$emit("trailing-button-click",e)}}};var M4=function(){var e=this,t=e._self._c;return t("div",{staticClass:"input-field",class:{"input-field--disabled":e.disabled}},[t("div",{staticClass:"input-field__main-wrapper"},[t("input",e._g(e._b({ref:"input",staticClass:"input-field__input",class:[e.inputClass,{"input-field__input--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field__input--leading-icon":e.hasLeadingIcon,"input-field__input--label-outside":e.labelOutside,"input-field__input--success":e.success,"input-field__input--error":e.error}],attrs:{id:e.computedId,type:e.type,disabled:e.disabled,placeholder:e.computedPlaceholder,"aria-describedby":e.ariaDescribedby,"aria-live":"polite"},domProps:{value:e.value},on:{input:e.handleInput}},"input",e.$attrs,!1),e.$listeners)),!e.labelOutside&&e.isValidLabel?t("label",{staticClass:"input-field__label",class:[{"input-field__label--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field__label--leading-icon":e.hasLeadingIcon}],attrs:{for:e.computedId}},[e._v(" "+e._s(e.label)+" ")]):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:e.hasLeadingIcon,expression:"hasLeadingIcon"}],staticClass:"input-field__icon input-field__icon--leading"},[e._t("default")],2),e.showTrailingButton?t("NcButton",{staticClass:"input-field__trailing-button",attrs:{type:"tertiary-no-background","aria-label":e.trailingButtonLabel,disabled:e.disabled},on:{click:e.handleTrailingButtonClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("trailing-button-icon")]},proxy:!0}],null,!0)}):e.success||e.error?t("div",{staticClass:"input-field__icon input-field__icon--trailing"},[e.success?t("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):e.error?t("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):e._e()],1):e._e()],1),e.helperText.length>0?t("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":e.error,"input-field__helper-text-message--success":e.success},attrs:{id:`${e.inputName}-helper-text`}},[e.success?t("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e.error?t("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e._e(),e._v(" "+e._s(e.helperText)+" ")],1):e._e()])},Y4=[],L4=de(C4,M4,Y4,!1,null,"31a36009",null,null);const fn=L4.exports,Z4={name:"UndoVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var I4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon undo-variant-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M13.5,7A6.5,6.5 0 0,1 20,13.5A6.5,6.5 0 0,1 13.5,20H10V18H13.5C16,18 18,16 18,13.5C18,11 16,9 13.5,9H7.83L10.91,12.09L9.5,13.5L4,8L9.5,2.5L10.92,3.91L7.83,7H13.5M6,18H8V20H6V18Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},j4=[],P4=de(Z4,I4,j4,!1,null,null,null,null);const G4=P4.exports,U4=new Set(Object.keys(fn.props)),q4={name:"NcTextField",components:{NcInputField:fn,Close:Co,ArrowRight:bf,Undo:G4},inheritAttrs:!1,props:{" ":{},...fn.props,trailingButtonLabel:{type:String,default:""},trailingButtonIcon:{type:String,default:"close",validator:e=>["close","arrowRight","undo"].includes(e)}},emits:["update:value"],computed:{propsAndAttrsToForward(){const e={undo:ae("Undo changes"),close:ae("Clear text"),arrowRight:ae("Save changes")};return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter(([t])=>U4.has(t))),trailingButtonLabel:this.trailingButtonLabel||e[this.trailingButtonIcon]}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(e){this.$emit("update:value",e.target.value)}}};var H4=function(){var e=this,t=e._self._c;return t("NcInputField",e._g(e._b({ref:"inputField",on:{input:e.handleInput},scopedSlots:e._u([e.type!=="search"?{key:"trailing-button-icon",fn:function(){return[e.trailingButtonIcon==="close"?t("Close",{attrs:{size:20}}):e.trailingButtonIcon==="arrowRight"?t("ArrowRight",{attrs:{size:20}}):e.trailingButtonIcon==="undo"?t("Undo",{attrs:{size:20}}):e._e()]},proxy:!0}:null],null,!0)},"NcInputField",e.propsAndAttrsToForward,!1),e.$listeners),[e._t("default")],2)},z4=[],V4=de(q4,H4,z4,!1,null,null,null,null);const $4=V4.exports;const xu=e=>{e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push(function(){this.$el.setAttribute("data-v-21c5172","")})},W4={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Q4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon chevron-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},J4=[],K4=de(W4,Q4,J4,!1,null,null,null,null);const bg=K4.exports;function X4(e,t){let a,i,n=t,r;this.start=function(){r=!0,i=new Date,a=setTimeout(e,n)},this.pause=function(){r=!1,clearTimeout(a),n-=new Date-i},this.clear=function(){r=!1,clearTimeout(a),n=0},this.getTimeLeft=function(){return r&&(this.pause(),this.start()),n},this.getStateRunning=function(){return r},this.start()}const eA={name:"ChevronLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var tA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon chevron-left-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},aA=[],iA=de(eA,tA,aA,!1,null,null,null,null);const nA=iA.exports,rA={name:"PauseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var oA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon pause-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M14,19H18V5H14M6,19H10V5H6V19Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},sA=[],lA=de(rA,oA,sA,!1,null,null,null,null);const uA=lA.exports,dA={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var cA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon play-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M8,5.14V19.14L19,12.14L8,5.14Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},hA=[],fA=de(dA,cA,hA,!1,null,null,null,null);const gA=fA.exports,_A={name:"NcModal",components:{NcActions:Du,ChevronLeft:nA,ChevronRight:bg,Close:Co,Pause:uA,Play:gA,NcButton:ai},directives:{tooltip:Ef},mixins:[go],props:{name:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},slideshowDelay:{type:Number,default:5e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:e=>["small","normal","large","full"].includes(e)},canClose:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:[String,null],default:"body"},closeButtonContained:{type:Boolean,default:!0},additionalTrapElements:{type:Array,default:()=>[]},inlineActions:{type:Number,default:0},show:{type:Boolean,default:void 0}},emits:["previous","next","close","update:show"],data(){return{mc:null,playing:!1,slideshowTimeout:null,iconSize:24,focusTrap:null,randId:F0(),internalShow:!0}},computed:{showModal(){return this.show===void 0?this.internalShow:this.show},modalTransitionName(){return`modal-${this.outTransition?"out":"in"}`},playPauseName(){return this.playing?ae("Pause slideshow"):ae("Start slideshow")},cssVariables(){return{"--slideshow-duration":this.slideshowDelay+"ms","--icon-size":this.iconSize+"px"}},closeButtonAriaLabel(){return ae("Close")},prevButtonAriaLabel(){return ae("Previous")},nextButtonAriaLabel(){return ae("Next")}},watch:{slideshowPaused(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())},additionalTrapElements(e){if(this.focusTrap){const t=this.$refs.mask;this.focusTrap.updateContainerElements([t,...e])}}},beforeMount(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy(){window.removeEventListener("keydown",this.handleKeydown),this.mc.stop()},mounted(){this.useFocusTrap(),this.mc=wf(this.$refs.mask,{onSwipeEnd:this.handleSwipe}),this.container&&(this.container==="body"?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el))},destroyed(){this.clearFocusTrap(),this.$el.remove()},methods:{previous(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close(e){this.canClose&&(this.internalShow=!1,this.$emit("update:show",!1),setTimeout(()=>{this.$emit("close",e)},300))},handleClickModalWrapper(e){this.closeOnClickOutside&&this.close(e)},handleKeydown(e){if(e.key==="Escape"){const a=ol();return a.length>0&&a[a.length-1]!==this.focusTrap?void 0:this.close(e)}const t={ArrowLeft:this.previous,ArrowRight:this.next};if(t[e.key])return document.activeElement&&!this.$el.contains(document.activeElement)?void 0:t[e.key](e)},handleSwipe(e,t){this.enableSwipe&&(t==="left"?this.next(e):t==="right"&&this.previous(e))},togglePlayPause(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick(function(){this.togglePlayPause()})},handleSlideshow(){this.playing=!0,this.hasNext?this.slideshowTimeout=new X4(()=>{this.next(),this.handleSlideshow()},this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout(){this.slideshowTimeout&&this.slideshowTimeout.clear()},async useFocusTrap(){if(!this.showModal||this.focusTrap)return;const e=this.$refs.mask;await this.$nextTick();const t={allowOutsideClick:!0,fallbackFocus:e,trapStack:ol(),escapeDeactivates:!1};this.focusTrap=Gf([e,...this.additionalTrapElements],t),this.focusTrap.activate()},clearFocusTrap(){var e;this.focusTrap&&((e=this.focusTrap)==null||e.deactivate(),this.focusTrap=null)}}};var FA=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade",appear:""},on:{"after-enter":e.useFocusTrap,"before-leave":e.clearFocusTrap}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark},style:e.cssVariables,attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"modal-name-"+e.randId,"aria-describedby":"modal-description-"+e.randId,tabindex:"-1"}},[t("transition",{attrs:{name:"fade-visibility",appear:""}},[t("div",{staticClass:"modal-header"},[e.name.trim()!==""?t("h2",{staticClass:"modal-name",attrs:{id:"modal-name-"+e.randId}},[e._v(" "+e._s(e.name)+" ")]):e._e(),t("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseName,expression:"playPauseName",modifiers:{auto:!0}}],staticClass:"play-pause-icons",class:{"play-pause-icons--paused":e.slideshowPaused},attrs:{type:"button"},on:{click:e.togglePlayPause}},[e.playing?t("Pause",{staticClass:"play-pause-icons__pause",attrs:{size:e.iconSize}}):t("Play",{staticClass:"play-pause-icons__play",attrs:{size:e.iconSize}}),t("span",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.playPauseName)+" ")]),e.playing?t("svg",{staticClass:"progress-ring",attrs:{height:"50",width:"50"}},[t("circle",{staticClass:"progress-ring__circle",attrs:{stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"}})]):e._e()],1):e._e(),t("NcActions",{staticClass:"header-actions",attrs:{inline:e.inlineActions}},[e._t("actions")],2),e.canClose&&!e.closeButtonContained?t("NcButton",{staticClass:"header-close",attrs:{"aria-label":e.closeButtonAriaLabel,type:"tertiary"},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close",{attrs:{size:e.iconSize}})]},proxy:!0}],null,!1,1841713362)}):e._e()],1)])]),t("transition",{attrs:{name:e.modalTransitionName,appear:""}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"modal-wrapper",class:[`modal-wrapper--${e.size}`,{"modal-wrapper--spread-navigation":e.spreadNavigation}],on:{mousedown:function(a){return a.target!==a.currentTarget?null:e.handleClickModalWrapper.apply(null,arguments)}}},[t("transition",{attrs:{name:"fade-visibility",appear:""}},[t("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasPrevious,expression:"hasPrevious"}],staticClass:"prev",attrs:{type:"tertiary-no-background","aria-label":e.prevButtonAriaLabel},on:{click:e.previous},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ChevronLeft",{attrs:{size:40}})]},proxy:!0}])})],1),t("div",{staticClass:"modal-container",attrs:{id:"modal-description-"+e.randId}},[e.canClose&&e.closeButtonContained?t("NcButton",{staticClass:"modal-container__close",attrs:{type:"tertiary","aria-label":e.closeButtonAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close",{attrs:{size:20}})]},proxy:!0}],null,!1,2121748766)}):e._e(),t("div",{staticClass:"modal-container__content"},[e._t("default")],2)],1),t("transition",{attrs:{name:"fade-visibility",appear:""}},[t("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"next",attrs:{type:"tertiary-no-background","aria-label":e.nextButtonAriaLabel},on:{click:e.next},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ChevronRight",{attrs:{size:40}})]},proxy:!0}])})],1)],1)])],1)])},mA=[],pA=de(_A,FA,mA,!1,null,"910493a0",null,null);const Bu=pA.exports;xu(Bu);const TA={name:"ArrowLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var DA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon arrow-left-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},EA=[],bA=de(TA,DA,EA,!1,null,null,null,null);const yA=bA.exports;window._vue_richtext_widgets||(window._vue_richtext_widgets={});const AA=e=>!!window._vue_richtext_widgets[e],SA=(e,t,a=i=>{})=>{if(window._vue_richtext_widgets[e]){console.error("Widget for id "+e+" already registered");return}window._vue_richtext_widgets[e]={id:e,callback:t,onDestroy:a}},kA=(e,{richObjectType:t,richObject:a,accessible:i})=>{if(t!=="open-graph"){if(!window._vue_richtext_widgets[t]){console.error("Widget for rich object type "+t+" not registered");return}window._vue_richtext_widgets[t].callback(e,{richObjectType:t,richObject:a,accessible:i})}},vA=(e,t)=>{e!=="open-graph"&&window._vue_richtext_widgets[e]&&window._vue_richtext_widgets[e].onDestroy(t)};window._registerWidget=SA;const RA={name:"NcReferenceWidget",props:{reference:{type:Object,required:!0}},data(){return{compact:3}},computed:{hasCustomWidget(){return AA(this.reference.richObjectType)},noAccess(){return this.reference&&!this.reference.accessible},descriptionStyle(){if(this.compact===0)return{display:"none"};const e=this.compact<4?this.compact:3;return{lineClamp:e,webkitLineClamp:e}},compactLink(){const e=this.reference.openGraphObject.link;return e?e.startsWith("https://")?e.substring(8):e.startsWith("http://")?e.substring(7):e:""}},mounted(){this.renderWidget(),this.observer=new ResizeObserver(e=>{e[0].contentRect.width<450?this.compact=0:e[0].contentRect.width<550?this.compact=1:e[0].contentRect.width<650?this.compact=2:this.compact=3}),this.observer.observe(this.$el)},beforeDestroy(){this.observer.disconnect(),vA(this.reference.richObjectType,this.$el)},methods:{renderWidget(){var e;this.$refs.customWidget&&(this.$refs.customWidget.innerHTML=""),((e=this==null?void 0:this.reference)==null?void 0:e.richObjectType)!=="open-graph"&&this.$nextTick(()=>{kA(this.$refs.customWidget,this.reference)})}}};var NA=function(){var e=this,t=e._self._c;return t("div",[e.reference&&e.hasCustomWidget?t("div",{staticClass:"widget-custom"},[t("div",{ref:"customWidget"})]):!e.noAccess&&e.reference&&e.reference.openGraphObject&&!e.hasCustomWidget?t("a",{staticClass:"widget-default",attrs:{href:e.reference.openGraphObject.link,rel:"noopener noreferrer",target:"_blank"}},[e.reference.openGraphObject.thumb?t("img",{staticClass:"widget-default--image",attrs:{src:e.reference.openGraphObject.thumb}}):e._e(),t("div",{staticClass:"widget-default--details"},[t("p",{staticClass:"widget-default--name"},[e._v(e._s(e.reference.openGraphObject.name))]),t("p",{staticClass:"widget-default--description",style:e.descriptionStyle},[e._v(e._s(e.reference.openGraphObject.description))]),t("p",{staticClass:"widget-default--link"},[e._v(e._s(e.compactLink))])])]):e._e()])},wA=[],OA=de(RA,NA,wA,!1,null,"b1c5a80f",null,null);const yg=OA.exports;window._vue_richtext_custom_picker_elements||(window._vue_richtext_custom_picker_elements={});const g0=e=>!!window._vue_richtext_custom_picker_elements[e],xA=e=>{var t;const a=(t=window._vue_richtext_custom_picker_elements[e])==null?void 0:t.size;return["small","normal","large","full"].includes(a)?a:null},BA=(e,t,a=n=>{},i="large")=>{if(window._vue_richtext_custom_picker_elements[e]){console.error("Custom reference picker element for id "+e+" already registered");return}window._vue_richtext_custom_picker_elements[e]={id:e,callback:t,onDestroy:a,size:i}},CA=(e,{providerId:t,accessible:a})=>{if(!window._vue_richtext_custom_picker_elements[t]){console.error("Custom reference picker element for reference provider ID "+t+" not registered");return}return window._vue_richtext_custom_picker_elements[t].callback(e,{providerId:t,accessible:a})},MA=(e,t,a)=>{window._vue_richtext_custom_picker_elements[e]&&window._vue_richtext_custom_picker_elements[e].onDestroy(t,a)};window._registerCustomPickerElement=BA;const YA={name:"NcCustomPickerElement",props:{provider:{type:Object,required:!0}},emits:["cancel","submit"],data(){return{isRegistered:g0(this.provider.id),renderResult:null}},mounted(){this.isRegistered&&this.renderElement()},beforeDestroy(){this.isRegistered&&MA(this.provider.id,this.$el,this.renderResult)},methods:{renderElement(){this.$refs.domElement&&(this.$refs.domElement.innerHTML="");const e=CA(this.$refs.domElement,{providerId:this.provider.id,accessible:!1});Promise.resolve(e).then(t=>{var a,i;this.renderResult=t,(a=this.renderResult.object)!=null&&a._isVue&&(i=this.renderResult.object)!=null&&i.$on&&(this.renderResult.object.$on("submit",this.onSubmit),this.renderResult.object.$on("cancel",this.onCancel)),this.renderResult.element.addEventListener("submit",n=>{this.onSubmit(n.detail)}),this.renderResult.element.addEventListener("cancel",this.onCancel)})},onSubmit(e){this.$emit("submit",e)},onCancel(){this.$emit("cancel")}}};var LA=function(){var e=this,t=e._self._c;return t("div",{ref:"domElement"})},ZA=[],IA=de(YA,LA,ZA,!1,null,"cf695ff9",null,null);const jA=IA.exports,PA="any-link",GA={id:PA,title:ae("Any link"),icon_url:eF("core","filetypes/link.svg")};window._vue_richtext_reference_providers||(window._vue_richtext_reference_providers=Ps("core","reference-provider-list",[])),window._vue_richtext_reference_provider_timestamps||(window._vue_richtext_reference_provider_timestamps=Ps("core","reference-provider-timestamps",{}));function UA(){return window._vue_richtext_reference_providers.filter(e=>{const t=!!e.search_providers_ids&&e.search_providers_ids.length>0||g0(e.id);return t||console.debug("[smart picker]",e.id,"reference provider is discoverable but does not have any related search provider or custom picker component registered"),t})}function qA(e){const t=window._vue_richtext_reference_provider_timestamps;return e.sort((a,i)=>a.order===i.order?0:a.order>i.order?1:-1).sort((a,i)=>{const n=t[a.id],r=t[i.id];return n===r?0:r===void 0?-1:n===void 0?1:n>r?-1:1})}function HA(e,t=null){const a=UA(),i=e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&"),n=new RegExp(i,"i"),r=qA(a).filter(s=>s.title.match(n)),o=t?r.slice(0,t):r;return(e===""||o.length===0)&&o.push(GA),o}function zA(e){const t=Math.floor(Date.now()/1e3),a={timestamp:t},i=$a("references/provider/{providerId}",{providerId:e});Wa.put(i,a).then(n=>{window._vue_richtext_reference_provider_timestamps[e]=t})}let R1=0;function Ag(e,t){return function(){const a=this,i=arguments;clearTimeout(R1),R1=setTimeout(function(){e.apply(a,i)},t||0)}}function Cu(e){try{return!!new URL(e)}catch{return!1}}const VA={name:"LinkVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var $A=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon link-variant-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},WA=[],QA=de(VA,$A,WA,!1,null,null,null,null);const Mu=QA.exports,JA={name:"NcProviderList",components:{NcSelect:Mo,NcHighlight:wo,NcEmptyContent:mu,LinkVariantIcon:Mu},emits:["select-provider","submit"],data(){return{selectedProvider:null,query:"",multiselectPlaceholder:ae("Select provider"),providerIconAlt:ae("Provider icon")}},computed:{options(){const e=[];return this.query!==""&&Cu(this.query)&&e.push({id:this.query,title:this.query,isLink:!0}),e.push(...HA(this.query)),e}},methods:{focus(){setTimeout(()=>{var e,t,a;(a=(t=(e=this.$refs["provider-select"])==null?void 0:e.$el)==null?void 0:t.querySelector("#provider-select-input"))==null||a.focus()},300)},onProviderSelected(e){e!==null&&(e.isLink?this.$emit("submit",e.title):this.$emit("select-provider",e),this.selectedProvider=null)},onSearch(e,t){this.query=e}}};var KA=function(){var e=this,t=e._self._c;return t("div",{staticClass:"provider-list"},[t("NcSelect",{ref:"provider-select",staticClass:"provider-list--select",attrs:{"input-id":"provider-select-input",label:"title",placeholder:e.multiselectPlaceholder,options:e.options,"append-to-body":!1,"clear-search-on-select":!0,"clear-search-on-blur":()=>!1,filterable:!1},on:{search:e.onSearch,input:e.onProviderSelected},scopedSlots:e._u([{key:"option",fn:function(a){return[a.isLink?t("div",{staticClass:"provider"},[t("LinkVariantIcon",{staticClass:"link-icon",attrs:{size:20}}),t("span",[e._v(e._s(a.title))])],1):t("div",{staticClass:"provider"},[t("img",{staticClass:"provider-icon",attrs:{src:a.icon_url,alt:e.providerIconAlt}}),t("NcHighlight",{staticClass:"option-text",attrs:{search:e.query,text:a.title}})],1)]}}]),model:{value:e.selectedProvider,callback:function(a){e.selectedProvider=a},expression:"selectedProvider"}}),t("NcEmptyContent",{staticClass:"provider-list--empty-content",scopedSlots:e._u([{key:"icon",fn:function(){return[t("LinkVariantIcon")]},proxy:!0}])})],1)},XA=[],eS=de(JA,KA,XA,!1,null,"9d850ea5",null,null);const tS=eS.exports,aS={name:"NcRawLinkInput",components:{LinkVariantIcon:Mu,NcEmptyContent:mu,NcLoadingIcon:Ul,NcReferenceWidget:yg,NcTextField:$4},props:{provider:{type:Object,required:!0}},emits:["submit"],data(){return{inputValue:"",loading:!1,reference:null,abortController:null,inputPlaceholder:ae("Enter link")}},computed:{isLinkValid(){return Cu(this.inputValue)}},methods:{focus(){var e;(e=this.$refs["url-input"].$el.getElementsByTagName("input")[0])==null||e.focus()},onSubmit(e){const t=e.target.value;this.isLinkValid&&this.$emit("submit",t)},onClear(){this.inputValue="",this.reference=null},onInput(){this.reference=null,this.abortController&&this.abortController.abort(),this.isLinkValid&&Ag(()=>{this.updateReference()},500)()},updateReference(){this.loading=!0,this.abortController=new AbortController,Wa.get($a("references/resolve",2)+"?reference="+encodeURIComponent(this.inputValue),{signal:this.abortController.signal}).then(e=>{this.reference=e.data.ocs.data.references[this.inputValue]}).catch(e=>{console.error(e)}).then(()=>{this.loading=!1})}}};var iS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"raw-link"},[t("div",{staticClass:"input-wrapper"},[t("NcTextField",{ref:"url-input",attrs:{value:e.inputValue,"show-trailing-button":e.inputValue!=="",label:e.inputPlaceholder},on:{"update:value":[function(a){e.inputValue=a},e.onInput],"trailing-button-click":e.onClear},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.onSubmit.apply(null,arguments)}}},[e.loading?t("NcLoadingIcon",{attrs:{size:16}}):t("LinkVariantIcon",{attrs:{size:16}})],1)],1),e.reference!==null?t("NcReferenceWidget",{staticClass:"reference-widget",attrs:{reference:e.reference}}):t("NcEmptyContent",{staticClass:"raw-link--empty-content",scopedSlots:e._u([{key:"icon",fn:function(){return[e.provider.icon_url?t("img",{staticClass:"provider-icon",attrs:{src:e.provider.icon_url}}):t("LinkVariantIcon")]},proxy:!0}])})],1)},nS=[],rS=de(aS,iS,nS,!1,null,"d0ba247a",null,null);const oS=rS.exports,sS={name:"NcSearchResult",components:{NcHighlight:wo},props:{entry:{type:Object,required:!0},query:{type:String,required:!0}}};var lS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"result"},[e.entry.icon?t("div",{staticClass:"result--icon-class",class:{[e.entry.icon]:!0,rounded:e.entry.rounded}}):t("img",{staticClass:"result--image",class:{rounded:e.entry.rounded},attrs:{src:e.entry.thumbnailUrl}}),t("div",{staticClass:"result--content"},[t("span",{staticClass:"result--content--name"},[t("NcHighlight",{attrs:{search:e.query,text:e.entry.title}})],1),t("span",{staticClass:"result--content--subline"},[t("NcHighlight",{attrs:{search:e.query,text:e.entry.subline}})],1)])])},uS=[],dS=de(sS,lS,uS,!1,null,"7a394a58",null,null);const cS=dS.exports,N1=5,hS={name:"NcSearch",components:{LinkVariantIcon:Mu,DotsHorizontalIcon:Tu,NcEmptyContent:mu,NcSelect:Mo,NcSearchResult:cS},props:{provider:{type:Object,required:!0},showEmptyContent:{type:Boolean,default:!0},searchPlaceholder:{type:String,default:null}},emits:["submit"],data(){return{searchQuery:"",selectedResult:null,resultsBySearchProvider:{},searching:!1,searchingMoreOf:null,abortController:null,noOptionsText:ae("Start typing to search"),providerIconAlt:ae("Provider icon")}},computed:{mySearchPlaceholder(){return this.searchPlaceholder||ae("Search")},searchProviderIds(){return this.provider.search_providers_ids},options(){if(this.searchQuery==="")return[];const e=[];return Cu(this.searchQuery)&&e.push(this.rawLinkEntry),e.push(...this.formattedSearchResults),e},rawLinkEntry(){return{id:"rawLinkEntry",resourceUrl:this.searchQuery,isRawLink:!0}},formattedSearchResults(){const e=[];return this.searchProviderIds.forEach(t=>{if(this.resultsBySearchProvider[t].entries.length>0){(this.searchProviderIds.length>1||this.resultsBySearchProvider[t].entries.length>1)&&e.push({id:"groupTitle-"+t,name:this.resultsBySearchProvider[t].name,isCustomGroupTitle:!0,providerId:t});const a=this.resultsBySearchProvider[t].entries.map((i,n)=>({id:"provider-"+t+"-entry-"+n,...i}));e.push(...a),this.resultsBySearchProvider[t].isPaginated&&e.push({id:"moreOf-"+t,name:this.resultsBySearchProvider[t].name,isMore:!0,providerId:t,isLoading:this.searchingMoreOf===t})}}),e}},mounted(){this.resetResults()},beforeDestroy(){this.cancelSearchRequests()},methods:{t:ae,resetResults(){const e={};this.searchProviderIds.forEach(t=>{e[t]={entries:[]}}),this.resultsBySearchProvider=e},focus(){setTimeout(()=>{var e,t,a;(a=(t=(e=this.$refs["search-select"])==null?void 0:e.$el)==null?void 0:t.querySelector("#search-select-input"))==null||a.focus()},300)},cancelSearchRequests(){this.abortController&&this.abortController.abort()},onSearchInput(e,t){this.searchQuery=e,Ag(()=>{this.updateSearch()},500)()},onSelectResultSelected(e){e!==null&&(e.resourceUrl?(this.cancelSearchRequests(),this.$emit("submit",e.resourceUrl)):e.isMore&&this.searchMoreOf(e.providerId).then(()=>{this.selectedResult=null}))},searchMoreOf(e){return this.searchingMoreOf=e,this.cancelSearchRequests(),this.searchProviders(e)},updateSearch(){if(this.cancelSearchRequests(),this.resetResults(),this.searchQuery===""){this.searching=!1;return}return this.searchProviders()},searchProviders(e=null){var t,a;this.abortController=new AbortController,this.searching=!0;const i=e===null?[...this.searchProviderIds].map(n=>this.searchOneProvider(n)):[this.searchOneProvider(e,(a=(t=this.resultsBySearchProvider[e])==null?void 0:t.cursor)!=null?a:null)];return Promise.allSettled(i).then(n=>{n.find(r=>r.status==="rejected"&&(r.reason.name==="CanceledError"||r.reason.code==="ERR_CANCELED"))||(this.searching=!1,this.searchingMoreOf=null)})},searchOneProvider(e,t=null){const a=t===null?$a("search/providers/{providerId}/search?term={term}&limit={limit}",{providerId:e,term:this.searchQuery,limit:N1}):$a("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}",{providerId:e,term:this.searchQuery,limit:N1,cursor:t});return Wa.get(a,{signal:this.abortController.signal}).then(i=>{const n=i.data.ocs.data;this.resultsBySearchProvider[e].name=n.name,this.resultsBySearchProvider[e].cursor=n.cursor,this.resultsBySearchProvider[e].isPaginated=n.isPaginated,this.resultsBySearchProvider[e].entries.push(...n.entries)})}}};var fS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"smart-picker-search",class:{"with-empty-content":e.showEmptyContent}},[t("NcSelect",{ref:"search-select",staticClass:"smart-picker-search--select",attrs:{"input-id":"search-select-input",label:"name",placeholder:e.mySearchPlaceholder,options:e.options,"append-to-body":!1,"close-on-select":!1,"clear-search-on-select":!1,"clear-search-on-blur":()=>!1,"reset-focus-on-options-change":!1,filterable:!1,autoscroll:!0,"reset-on-options-change":!1,loading:e.searching},on:{search:e.onSearchInput,input:e.onSelectResultSelected},scopedSlots:e._u([{key:"option",fn:function(a){return[a.isRawLink?t("div",{staticClass:"custom-option"},[t("LinkVariantIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),t("span",{staticClass:"option-text"},[e._v(" "+e._s(e.t("Raw link {options}",{options:a.resourceUrl}))+" ")])],1):a.resourceUrl?t("NcSearchResult",{staticClass:"search-result",attrs:{entry:a,query:e.searchQuery}}):a.isCustomGroupTitle?t("span",{staticClass:"custom-option group-name"},[e.provider.icon_url?t("img",{staticClass:"provider-icon group-name-icon",attrs:{src:e.provider.icon_url}}):e._e(),t("span",{staticClass:"option-text"},[t("strong",[e._v(e._s(a.name))])])]):a.isMore?t("span",{class:{"custom-option":!0}},[a.isLoading?t("span",{staticClass:"option-simple-icon icon-loading-small"}):t("DotsHorizontalIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),t("span",{staticClass:"option-text"},[e._v(" "+e._s(e.t('Load more "{options}"',{options:a.name}))+" ")])],1):e._e()]}},{key:"no-options",fn:function(){return[e._v(" "+e._s(e.noOptionsText)+" ")]},proxy:!0}]),model:{value:e.selectedResult,callback:function(a){e.selectedResult=a},expression:"selectedResult"}}),e.showEmptyContent?t("NcEmptyContent",{staticClass:"smart-picker-search--empty-content",scopedSlots:e._u([{key:"icon",fn:function(){return[e.provider.icon_url?t("img",{staticClass:"provider-icon",attrs:{alt:e.providerIconAlt,src:e.provider.icon_url}}):t("LinkVariantIcon")]},proxy:!0}],null,!1,2922132592)}):e._e()],1)},gS=[],_S=de(hS,fS,gS,!1,null,"97d196f0",null,null);const FS=_S.exports,Rn={providerList:1,standardLinkInput:2,searchInput:3,customElement:4},mS={name:"NcReferencePicker",components:{NcCustomPickerElement:jA,NcProviderList:tS,NcRawLinkInput:oS,NcSearch:FS},props:{initialProvider:{type:Object,default:()=>null},width:{type:Number,default:null},focusOnCreate:{type:Boolean,default:!0}},emits:["cancel","cancel-raw-link","cancel-search","provider-selected","submit"],data(){return{MODES:Rn,selectedProvider:this.initialProvider}},computed:{mode(){return this.selectedProvider===null?Rn.providerList:g0(this.selectedProvider.id)?Rn.customElement:this.selectedProvider.search_providers_ids?Rn.searchInput:Rn.standardLinkInput},pickerWrapperStyle(){return{width:this.width?this.width+"px":void 0}}},mounted(){this.focusOnCreate&&(this.initialProvider?setTimeout(()=>{var e;(e=this.$refs["url-input"])==null||e.focus()},300):this.$nextTick(()=>{var e;(e=this.$refs["provider-list"])==null||e.focus()}))},methods:{onEscapePressed(){this.selectedProvider!==null?this.deselectProvider():this.cancelProviderSelection()},onProviderSelected(e){this.selectedProvider=e,this.$emit("provider-selected",e),this.$nextTick(()=>{var t;(t=this.$refs["url-input"])==null||t.focus()})},cancelCustomElement(){this.deselectProvider()},cancelSearch(){var e;this.$emit("cancel-search",(e=this.selectedProvider)==null?void 0:e.title),this.deselectProvider()},cancelRawLinkInput(){var e;this.$emit("cancel-raw-link",(e=this.selectedProvider)==null?void 0:e.title),this.deselectProvider()},cancelProviderSelection(){this.$emit("cancel")},submitLink(e){this.selectedProvider!==null&&zA(this.selectedProvider.id),this.$emit("submit",e),this.deselectProvider()},deselectProvider(){this.selectedProvider=null,this.$emit("provider-selected",null),setTimeout(()=>{var e;(e=this.$refs["provider-list"])==null||e.focus()},300)}}};var pS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"reference-picker",style:e.pickerWrapperStyle,attrs:{tabindex:"-1"},on:{keydown:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"])?null:(a.stopPropagation(),a.preventDefault(),e.onEscapePressed.apply(null,arguments))}}},[e.mode===e.MODES.providerList?t("NcProviderList",{ref:"provider-list",on:{"select-provider":e.onProviderSelected,submit:e.submitLink,cancel:e.cancelProviderSelection}}):e.mode===e.MODES.standardLinkInput?t("NcRawLinkInput",{ref:"url-input",attrs:{provider:e.selectedProvider},on:{submit:e.submitLink,cancel:e.cancelRawLinkInput}}):e.mode===e.MODES.searchInput?t("NcSearch",{ref:"url-input",attrs:{provider:e.selectedProvider},on:{cancel:e.cancelSearch,submit:e.submitLink}}):e.mode===e.MODES.customElement?t("div",{staticClass:"custom-element-wrapper"},[t("NcCustomPickerElement",{attrs:{provider:e.selectedProvider},on:{submit:e.submitLink,cancel:e.cancelCustomElement}})],1):e._e()],1)},TS=[],DS=de(mS,pS,TS,!1,null,"aa77d0d3",null,null);const ES=DS.exports,bS={name:"NcReferencePickerModal",components:{NcReferencePicker:ES,NcModal:Bu,NcButton:ai,ArrowLeftIcon:yA,CloseIcon:Co},props:{initialProvider:{type:Object,default:()=>null},focusOnCreate:{type:Boolean,default:!0},isInsideViewer:{type:Boolean,default:!1}},emits:["cancel","submit"],data(){return{show:!0,selectedProvider:this.initialProvider,backButtonTitle:ae("Back to provider selection"),closeButtonTitle:ae("Close"),closeButtonLabel:ae("Close Smart Picker")}},computed:{isProviderSelected(){return this.selectedProvider!==null},showBackButton(){return this.initialProvider===null&&this.isProviderSelected},modalSize(){var e;return this.isProviderSelected&&g0(this.selectedProvider.id)?(e=xA(this.selectedProvider.id))!=null?e:"large":"normal"},showModalName(){return!this.isProviderSelected||!g0(this.selectedProvider.id)},modalName(){return this.isProviderSelected?this.selectedProvider.title:ae("Smart Picker")}},mounted(){if(this.isInsideViewer){const e=this.$refs.modal_content;pr("viewer:trapElements:changed",e)}},methods:{onCancel(){this.show=!1,this.$emit("cancel")},onSubmit(e){this.show=!1,this.$emit("submit",e)},onProviderSelect(e){this.selectedProvider=e,e===null&&this.initialProvider!==null&&this.onCancel()},onBackClicked(){this.$refs.referencePicker.deselectProvider()}}};var yS=function(){var e=this,t=e._self._c;return e.show?t("NcModal",{staticClass:"reference-picker-modal",attrs:{size:e.modalSize,"can-close":!1},on:{close:e.onCancel}},[t("div",{ref:"modal_content",staticClass:"reference-picker-modal--content"},[e.showBackButton?t("NcButton",{staticClass:"back-button",attrs:{"aria-label":e.backButtonTitle,title:e.backButtonTitle},on:{click:e.onBackClicked},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ArrowLeftIcon")]},proxy:!0}],null,!1,3001860362)}):e._e(),t("NcButton",{staticClass:"close-button",attrs:{"aria-label":e.closeButtonLabel,title:e.closeButtonTitle,type:"tertiary"},on:{click:e.onCancel},scopedSlots:e._u([{key:"icon",fn:function(){return[t("CloseIcon")]},proxy:!0}],null,!1,2491825086)}),e.showModalName?t("h2",[e._v(" "+e._s(e.modalName)+" ")]):e._e(),t("NcReferencePicker",{ref:"referencePicker",attrs:{"initial-provider":e.initialProvider,"focus-on-create":e.focusOnCreate},on:{"provider-selected":e.onProviderSelect,submit:e.onSubmit,cancel:e.onCancel}})],1)]):e._e()},AS=[],SS=de(bS,yS,AS,!1,null,"3f1a4ac7",null,null);const k7=SS.exports;const Yu=function(e){if(e==null)return NS;if(typeof e=="function")return Yo(e);if(typeof e=="object")return Array.isArray(e)?kS(e):vS(e);if(typeof e=="string")return RS(e);throw new Error("Expected function, string, or object as test")};function kS(e){const t=[];let a=-1;for(;++a":""))+")"})}return f;function f(){let h=Sg,g,m,p;if((!t||r(l,c,u[u.length-1]||void 0))&&(h=xS(a(l,u)),h[0]===w1))return h;if("children"in l&&l.children){const T=l;if(T.children&&h[0]!==kg)for(m=(i?T.children.length:-1)+o,p=u.concat(T);m>-1&&m"u"||lr.call(e,i)},Y1=function(e,t){x1&&t.name==="__proto__"?x1(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},L1=function(e,t){if(t==="__proto__")if(lr.call(e,t)){if(B1)return B1(e,t).value}else return;return e[t]},BS=function e(){var t,a,i,n,r,o,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});lo.length;let l;s&&o.push(n);try{l=e.apply(this,o)}catch(c){const u=c;if(s&&a)throw u;return n(u)}s||(l instanceof Promise?l.then(r,n):l instanceof Error?n(l):r(l))}function n(o,...s){a||(a=!0,t(o,...s))}function r(o){n(null,o)}}function Wn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Z1(e.position):"start"in e||"end"in e?Z1(e):"line"in e||"column"in e?pl(e):""}function pl(e){return I1(e&&e.line)+":"+I1(e&&e.column)}function Z1(e){return pl(e&&e.start)+"-"+pl(e&&e.end)}function I1(e){return e&&typeof e=="number"?e:1}class ft extends Error{constructor(t,a,i){super(),typeof a=="string"&&(i=a,a=void 0);let n="",r={},o=!1;if(a&&("line"in a&&"column"in a?r={place:a}:"start"in a&&"end"in a?r={place:a}:"type"in a?r={ancestors:[a],place:a.position}:r={...a}),typeof t=="string"?n=t:!r.cause&&t&&(o=!0,n=t.message,r.cause=t),!r.ruleId&&!r.source&&typeof i=="string"){const l=i.indexOf(":");l===-1?r.ruleId=i:(r.source=i.slice(0,l),r.ruleId=i.slice(l+1))}if(!r.place&&r.ancestors&&r.ancestors){const l=r.ancestors[r.ancestors.length-1];l&&(r.place=l.position)}const s=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=s?s.line:void 0,this.name=Wn(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=o&&r.cause&&typeof r.cause.stack=="string"?r.cause.stack:"",this.actual,this.expected,this.note,this.url}}ft.prototype.file="",ft.prototype.name="",ft.prototype.reason="",ft.prototype.message="",ft.prototype.stack="",ft.prototype.column=void 0,ft.prototype.line=void 0,ft.prototype.ancestors=void 0,ft.prototype.cause=void 0,ft.prototype.fatal=void 0,ft.prototype.place=void 0,ft.prototype.ruleId=void 0,ft.prototype.source=void 0;const Kt={basename:YS,dirname:LS,extname:ZS,join:IS,sep:"/"};function YS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');k0(e);let a=0,i=-1,n=e.length,r;if(t===void 0||t.length===0||t.length>e.length){for(;n--;)if(e.codePointAt(n)===47){if(r){a=n+1;break}}else i<0&&(r=!0,i=n+1);return i<0?"":e.slice(a,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;n--;)if(e.codePointAt(n)===47){if(r){a=n+1;break}}else o<0&&(r=!0,o=n+1),s>-1&&(e.codePointAt(n)===t.codePointAt(s--)?s<0&&(i=n):(s=-1,i=o));return a===i?i=o:i<0&&(i=e.length),e.slice(a,i)}function LS(e){if(k0(e),e.length===0)return".";let t=-1,a=e.length,i;for(;--a;)if(e.codePointAt(a)===47){if(i){t=a;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ZS(e){k0(e);let t=e.length,a=-1,i=0,n=-1,r=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){i=t+1;break}continue}a<0&&(o=!0,a=t+1),s===46?n<0?n=t:r!==1&&(r=1):n>-1&&(r=-1)}return n<0||a<0||r===0||r===1&&n===a-1&&n===i+1?"":e.slice(n,a)}function IS(...e){let t=-1,a;for(;++t0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function PS(e,t){let a="",i=0,n=-1,r=0,o=-1,s,l;for(;++o<=e.length;){if(o2){if(l=a.lastIndexOf("/"),l!==a.length-1){l<0?(a="",i=0):(a=a.slice(0,l),i=a.length-1-a.lastIndexOf("/")),n=o,r=0;continue}}else if(a.length>0){a="",i=0,n=o,r=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(n+1,o):a=e.slice(n+1,o),i=o-n-1;n=o,r=0}else s===46&&r>-1?r++:r=-1}return a}function k0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const GS={cwd:US};function US(){return"/"}function Tl(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function qS(e){if(typeof e=="string")e=new URL(e);else if(!Tl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return HS(e)}function HS(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let a=-1;for(;++a0){let[h,...g]=u;const m=i[f][1];ml(m)&&ml(h)&&(h=ms(!0,m,h)),i[f]=[c,h,...g]}}}}const QS=new Lu().freeze();function Es(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function bs(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ys(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function P1(e){if(!ml(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function G1(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function U0(e){return JS(e)?e:new zS(e)}function JS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function KS(e){return typeof e=="string"||XS(e)}function XS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const e6={};function t6(e,t){const a=t||e6,i=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,n=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Ng(e,i,n)}function Ng(e,t,a){if(a6(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return U1(e.children,t,a)}return Array.isArray(e)?U1(e,t,a):""}function U1(e,t,a){const i=[];let n=-1;for(;++nn?0:n+t:t=t>n?n:t,a=a>0?a:0,i.length<1e4)o=Array.from(i),o.unshift(t,a),e.splice(...o);else for(a&&e.splice(t,a);r0?(la(e,e.length,0,t),e):t}const H1={}.hasOwnProperty;function i6(e){const t={};let a=-1;for(;++a13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function rn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const o6=ri(/\p{P}/u),aa=ri(/[A-Za-z]/),kt=ri(/[\dA-Za-z]/),s6=ri(/[#-'*+\--9=?A-Z^-~]/);function Dl(e){return e!==null&&(e<32||e===127)}const El=ri(/\d/),l6=ri(/[\dA-Fa-f]/),Og=ri(/[!-/:-@[-`{-~]/);function pe(e){return e!==null&&e<-2}function pt(e){return e!==null&&(e<0||e===32)}function Me(e){return e===-2||e===-1||e===32}function u6(e){return Og(e)||o6(e)}const d6=ri(/\s/);function ri(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function yn(e){const t=[];let a=-1,i=0,n=0;for(;++a55295&&r<57344){const s=e.charCodeAt(a+1);r<56320&&s>56319&&s<57344?(o=String.fromCharCode(r,s),n=1):o="�"}else o=String.fromCharCode(r);o&&(t.push(e.slice(i,a),encodeURIComponent(o)),i=a+n+1,o=""),n&&(a+=n,n=0)}return t.join("")+e.slice(i)}function Pe(e,t,a,i){const n=i?i-1:Number.POSITIVE_INFINITY;let r=0;return o;function o(l){return Me(l)?(e.enter(a),s(l)):t(l)}function s(l){return Me(l)&&r++o))return;const I=t.events.length;let M=I,P,_;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(P){_=t.events[M][1].end;break}P=!0}for(T(i),E=I;Ek;){const j=a[C];t.containerState=j[1],j[0].exit.call(t,e)}a.length=k}function R(){n.write([null]),r=void 0,n=void 0,t.containerState._closeFlow=void 0}}function _6(e,t,a){return Pe(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function V1(e){if(e===null||pt(e)||d6(e))return 1;if(u6(e))return 2}function Iu(e,t,a){const i=[];let n=-1;for(;++n1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const d=Object.assign({},e[i][1].end),f=Object.assign({},e[a][1].start);$1(d,-l),$1(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[i][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[a][1].start),end:f},r={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[a][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[i][1].end=Object.assign({},o.start),e[a][1].start=Object.assign({},s.end),c=[],e[i][1].end.offset-e[i][1].start.offset&&(c=Bt(c,[["enter",e[i][1],t],["exit",e[i][1],t]])),c=Bt(c,[["enter",n,t],["enter",o,t],["exit",o,t],["enter",r,t]]),c=Bt(c,Iu(t.parser.constructs.insideSpan.null,e.slice(i+1,a),t)),c=Bt(c,[["exit",r,t],["enter",s,t],["exit",s,t],["exit",n,t]]),e[a][1].end.offset-e[a][1].start.offset?(u=2,c=Bt(c,[["enter",e[a][1],t],["exit",e[a][1],t]])):u=0,la(e,i-1,a-i+3,c),a=i+c.length-u-2;break}}for(a=-1;++a0&&Me(E)?Pe(e,R,"linePrefix",r+1)(E):R(E)}function R(E){return E===null||pe(E)?e.check(W1,m,C)(E):(e.enter("codeFlowValue"),k(E))}function k(E){return E===null||pe(E)?(e.exit("codeFlowValue"),R(E)):(e.consume(E),k)}function C(E){return e.exit("codeFenced"),t(E)}function j(E,I,M){let P=0;return _;function _(Z){return E.enter("lineEnding"),E.consume(Z),E.exit("lineEnding"),D}function D(Z){return E.enter("codeFencedFence"),Me(Z)?Pe(E,S,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):S(Z)}function S(Z){return Z===s?(E.enter("codeFencedFenceSequence"),x(Z)):M(Z)}function x(Z){return Z===s?(P++,E.consume(Z),x):P>=o?(E.exit("codeFencedFenceSequence"),Me(Z)?Pe(E,L,"whitespace")(Z):L(Z)):M(Z)}function L(Z){return Z===null||pe(Z)?(E.exit("codeFencedFence"),I(Z)):M(Z)}}}function v6(e,t,a){const i=this;return n;function n(o){return o===null?a(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r)}function r(o){return i.parser.lazy[i.now().line]?a(o):t(o)}}const As={name:"codeIndented",tokenize:N6},R6={tokenize:w6,partial:!0};function N6(e,t,a){const i=this;return n;function n(c){return e.enter("codeIndented"),Pe(e,r,"linePrefix",4+1)(c)}function r(c){const u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):a(c)}function o(c){return c===null?l(c):pe(c)?e.attempt(R6,o,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||pe(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function w6(e,t,a){const i=this;return n;function n(o){return i.parser.lazy[i.now().line]?a(o):pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n):Pe(e,r,"linePrefix",4+1)(o)}function r(o){const s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):pe(o)?n(o):a(o)}}const O6={name:"codeText",tokenize:C6,resolve:x6,previous:B6};function x6(e){let t=e.length-4,a=3,i,n;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=a;++i=4?t(o):e.interrupt(i.parser.constructs.flow,a,t)(o)}}function Yg(e,t,a,i,n,r,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(T){return T===60?(e.enter(i),e.enter(n),e.enter(r),e.consume(T),e.exit(r),f):T===null||T===32||T===41||Dl(T)?a(T):(e.enter(i),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(T))}function f(T){return T===62?(e.enter(r),e.consume(T),e.exit(r),e.exit(n),e.exit(i),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===62?(e.exit("chunkString"),e.exit(s),f(T)):T===null||T===60||pe(T)?a(T):(e.consume(T),T===92?g:h)}function g(T){return T===60||T===62||T===92?(e.consume(T),h):h(T)}function m(T){return!u&&(T===null||T===41||pt(T))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(i),t(T)):u999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?a(h):h===93?(e.exit(r),e.enter(n),e.consume(h),e.exit(n),e.exit(i),t):pe(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||pe(h)||s++>999?(e.exit("chunkString"),u(h)):(e.consume(h),l||(l=!Me(h)),h===92?f:d)}function f(h){return h===91||h===92||h===93?(e.consume(h),s++,d):d(h)}}function Zg(e,t,a,i,n,r){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(i),e.enter(n),e.consume(f),e.exit(n),o=f===40?41:f,l):a(f)}function l(f){return f===o?(e.enter(n),e.consume(f),e.exit(n),e.exit(i),t):(e.enter(r),c(f))}function c(f){return f===o?(e.exit(r),l(o)):f===null?a(f):pe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Pe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||pe(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===o||f===92?(e.consume(f),u):u(f)}}function Qn(e,t){let a;return i;function i(n){return pe(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a=!0,i):Me(n)?Pe(e,i,a?"linePrefix":"lineSuffix")(n):t(n)}}const P6={name:"definition",tokenize:U6},G6={tokenize:q6,partial:!0};function U6(e,t,a){const i=this;let n;return r;function r(h){return e.enter("definition"),o(h)}function o(h){return Lg.call(i,e,s,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return n=rn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):a(h)}function l(h){return pt(h)?Qn(e,c)(h):c(h)}function c(h){return Yg(e,u,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return e.attempt(G6,d,d)(h)}function d(h){return Me(h)?Pe(e,f,"whitespace")(h):f(h)}function f(h){return h===null||pe(h)?(e.exit("definition"),i.parser.defined.push(n),t(h)):a(h)}}function q6(e,t,a){return i;function i(s){return pt(s)?Qn(e,n)(s):a(s)}function n(s){return Zg(e,r,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function r(s){return Me(s)?Pe(e,o,"whitespace")(s):o(s)}function o(s){return s===null||pe(s)?t(s):a(s)}}const H6={name:"hardBreakEscape",tokenize:z6};function z6(e,t,a){return i;function i(r){return e.enter("hardBreakEscape"),e.consume(r),n}function n(r){return pe(r)?(e.exit("hardBreakEscape"),t(r)):a(r)}}const V6={name:"headingAtx",tokenize:W6,resolve:$6};function $6(e,t){let a=e.length-2,i=3,n,r;return e[i][1].type==="whitespace"&&(i+=2),a-2>i&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace")&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},la(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}function W6(e,t,a){let i=0;return n;function n(u){return e.enter("atxHeading"),r(u)}function r(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&i++<6?(e.consume(u),o):u===null||pt(u)?(e.exit("atxHeadingSequence"),s(u)):a(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||pe(u)?(e.exit("atxHeading"),t(u)):Me(u)?Pe(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||pt(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const Q6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],J1=["pre","script","style","textarea"],J6={name:"htmlFlow",tokenize:tk,resolveTo:ek,concrete:!0},K6={tokenize:ik,partial:!0},X6={tokenize:ak,partial:!0};function ek(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function tk(e,t,a){const i=this;let n,r,o,s,l;return c;function c(w){return u(w)}function u(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),d}function d(w){return w===33?(e.consume(w),f):w===47?(e.consume(w),r=!0,m):w===63?(e.consume(w),n=3,i.interrupt?t:A):aa(w)?(e.consume(w),o=String.fromCharCode(w),p):a(w)}function f(w){return w===45?(e.consume(w),n=2,h):w===91?(e.consume(w),n=5,s=0,g):aa(w)?(e.consume(w),n=4,i.interrupt?t:A):a(w)}function h(w){return w===45?(e.consume(w),i.interrupt?t:A):a(w)}function g(w){const fe="CDATA[";return w===fe.charCodeAt(s++)?(e.consume(w),s===fe.length?i.interrupt?t:S:g):a(w)}function m(w){return aa(w)?(e.consume(w),o=String.fromCharCode(w),p):a(w)}function p(w){if(w===null||w===47||w===62||pt(w)){const fe=w===47,ye=o.toLowerCase();return!fe&&!r&&J1.includes(ye)?(n=1,i.interrupt?t(w):S(w)):Q6.includes(o.toLowerCase())?(n=6,fe?(e.consume(w),T):i.interrupt?t(w):S(w)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(w):r?R(w):k(w))}return w===45||kt(w)?(e.consume(w),o+=String.fromCharCode(w),p):a(w)}function T(w){return w===62?(e.consume(w),i.interrupt?t:S):a(w)}function R(w){return Me(w)?(e.consume(w),R):_(w)}function k(w){return w===47?(e.consume(w),_):w===58||w===95||aa(w)?(e.consume(w),C):Me(w)?(e.consume(w),k):_(w)}function C(w){return w===45||w===46||w===58||w===95||kt(w)?(e.consume(w),C):j(w)}function j(w){return w===61?(e.consume(w),E):Me(w)?(e.consume(w),j):k(w)}function E(w){return w===null||w===60||w===61||w===62||w===96?a(w):w===34||w===39?(e.consume(w),l=w,I):Me(w)?(e.consume(w),E):M(w)}function I(w){return w===l?(e.consume(w),l=null,P):w===null||pe(w)?a(w):(e.consume(w),I)}function M(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||pt(w)?j(w):(e.consume(w),M)}function P(w){return w===47||w===62||Me(w)?k(w):a(w)}function _(w){return w===62?(e.consume(w),D):a(w)}function D(w){return w===null||pe(w)?S(w):Me(w)?(e.consume(w),D):a(w)}function S(w){return w===45&&n===2?(e.consume(w),$):w===60&&n===1?(e.consume(w),V):w===62&&n===4?(e.consume(w),z):w===63&&n===3?(e.consume(w),A):w===93&&n===5?(e.consume(w),G):pe(w)&&(n===6||n===7)?(e.exit("htmlFlowData"),e.check(K6,re,x)(w)):w===null||pe(w)?(e.exit("htmlFlowData"),x(w)):(e.consume(w),S)}function x(w){return e.check(X6,L,re)(w)}function L(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Z}function Z(w){return w===null||pe(w)?x(w):(e.enter("htmlFlowData"),S(w))}function $(w){return w===45?(e.consume(w),A):S(w)}function V(w){return w===47?(e.consume(w),o="",y):S(w)}function y(w){if(w===62){const fe=o.toLowerCase();return J1.includes(fe)?(e.consume(w),z):S(w)}return aa(w)&&o.length<8?(e.consume(w),o+=String.fromCharCode(w),y):S(w)}function G(w){return w===93?(e.consume(w),A):S(w)}function A(w){return w===62?(e.consume(w),z):w===45&&n===2?(e.consume(w),A):S(w)}function z(w){return w===null||pe(w)?(e.exit("htmlFlowData"),re(w)):(e.consume(w),z)}function re(w){return e.exit("htmlFlow"),t(w)}}function ak(e,t,a){const i=this;return n;function n(o){return pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r):a(o)}function r(o){return i.parser.lazy[i.now().line]?a(o):t(o)}}function ik(e,t,a){return i;function i(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(Zo,t,a)}}const nk={name:"htmlText",tokenize:rk};function rk(e,t,a){const i=this;let n,r,o;return s;function s(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),l}function l(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),j):A===63?(e.consume(A),k):aa(A)?(e.consume(A),M):a(A)}function c(A){return A===45?(e.consume(A),u):A===91?(e.consume(A),r=0,g):aa(A)?(e.consume(A),R):a(A)}function u(A){return A===45?(e.consume(A),h):a(A)}function d(A){return A===null?a(A):A===45?(e.consume(A),f):pe(A)?(o=d,V(A)):(e.consume(A),d)}function f(A){return A===45?(e.consume(A),h):d(A)}function h(A){return A===62?$(A):A===45?f(A):d(A)}function g(A){const z="CDATA[";return A===z.charCodeAt(r++)?(e.consume(A),r===z.length?m:g):a(A)}function m(A){return A===null?a(A):A===93?(e.consume(A),p):pe(A)?(o=m,V(A)):(e.consume(A),m)}function p(A){return A===93?(e.consume(A),T):m(A)}function T(A){return A===62?$(A):A===93?(e.consume(A),T):m(A)}function R(A){return A===null||A===62?$(A):pe(A)?(o=R,V(A)):(e.consume(A),R)}function k(A){return A===null?a(A):A===63?(e.consume(A),C):pe(A)?(o=k,V(A)):(e.consume(A),k)}function C(A){return A===62?$(A):k(A)}function j(A){return aa(A)?(e.consume(A),E):a(A)}function E(A){return A===45||kt(A)?(e.consume(A),E):I(A)}function I(A){return pe(A)?(o=I,V(A)):Me(A)?(e.consume(A),I):$(A)}function M(A){return A===45||kt(A)?(e.consume(A),M):A===47||A===62||pt(A)?P(A):a(A)}function P(A){return A===47?(e.consume(A),$):A===58||A===95||aa(A)?(e.consume(A),_):pe(A)?(o=P,V(A)):Me(A)?(e.consume(A),P):$(A)}function _(A){return A===45||A===46||A===58||A===95||kt(A)?(e.consume(A),_):D(A)}function D(A){return A===61?(e.consume(A),S):pe(A)?(o=D,V(A)):Me(A)?(e.consume(A),D):P(A)}function S(A){return A===null||A===60||A===61||A===62||A===96?a(A):A===34||A===39?(e.consume(A),n=A,x):pe(A)?(o=S,V(A)):Me(A)?(e.consume(A),S):(e.consume(A),L)}function x(A){return A===n?(e.consume(A),n=void 0,Z):A===null?a(A):pe(A)?(o=x,V(A)):(e.consume(A),x)}function L(A){return A===null||A===34||A===39||A===60||A===61||A===96?a(A):A===47||A===62||pt(A)?P(A):(e.consume(A),L)}function Z(A){return A===47||A===62||pt(A)?P(A):a(A)}function $(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):a(A)}function V(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),y}function y(A){return Me(A)?Pe(e,G,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):G(A)}function G(A){return e.enter("htmlTextData"),o(A)}}const ju={name:"labelEnd",tokenize:ck,resolveTo:dk,resolveAll:uk},ok={tokenize:hk},sk={tokenize:fk},lk={tokenize:gk};function uk(e){let t=-1;for(;++t=3&&(c===null||pe(c))?(e.exit("thematicBreak"),t(c)):a(c)}function l(c){return c===n?(e.consume(c),i++,l):(e.exit("thematicBreakSequence"),Me(c)?Pe(e,s,"whitespace")(c):s(c))}}const gt={name:"list",tokenize:yk,continuation:{tokenize:Ak},exit:kk},Ek={tokenize:vk,partial:!0},bk={tokenize:Sk,partial:!0};function yk(e,t,a){const i=this,n=i.events[i.events.length-1];let r=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,o=0;return s;function s(h){const g=i.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!i.containerState.marker||h===i.containerState.marker:El(h)){if(i.containerState.type||(i.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(ur,a,c)(h):c(h);if(!i.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return a(h)}function l(h){return El(h)&&++o<10?(e.consume(h),l):(!i.interrupt||o<2)&&(i.containerState.marker?h===i.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):a(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||h,e.check(Zo,i.interrupt?a:u,e.attempt(Ek,f,d))}function u(h){return i.containerState.initialBlankLine=!0,r++,f(h)}function d(h){return Me(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),f):a(h)}function f(h){return i.containerState.size=r+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Ak(e,t,a){const i=this;return i.containerState._closeFlow=void 0,e.check(Zo,n,r);function n(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Pe(e,t,"listItemIndent",i.containerState.size+1)(s)}function r(s){return i.containerState.furtherBlankLines||!Me(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,o(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(bk,t,o)(s))}function o(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,Pe(e,e.attempt(gt,t,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Sk(e,t,a){const i=this;return Pe(e,n,"listItemIndent",i.containerState.size+1);function n(r){const o=i.events[i.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===i.containerState.size?t(r):a(r)}}function kk(e){e.exit(this.containerState.type)}function vk(e,t,a){const i=this;return Pe(e,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function n(r){const o=i.events[i.events.length-1];return!Me(r)&&o&&o[1].type==="listItemPrefixWhitespace"?t(r):a(r)}}const K1={name:"setextUnderline",tokenize:Nk,resolveTo:Rk};function Rk(e,t){let a=e.length,i,n,r;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}e[a][1].type==="paragraph"&&(n=a)}else e[a][1].type==="content"&&e.splice(a,1),!r&&e[a][1].type==="definition"&&(r=a);const o={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",r?(e.splice(n,0,["enter",o,t]),e.splice(r+1,0,["exit",e[i][1],t]),e[i][1].end=Object.assign({},e[r][1].end)):e[i][1]=o,e.push(["exit",o,t]),e}function Nk(e,t,a){const i=this;let n;return r;function r(c){let u=i.events.length,d;for(;u--;)if(i.events[u][1].type!=="lineEnding"&&i.events[u][1].type!=="linePrefix"&&i.events[u][1].type!=="content"){d=i.events[u][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||d)?(e.enter("setextHeadingLine"),n=c,o(c)):a(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===n?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Me(c)?Pe(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||pe(c)?(e.exit("setextHeadingLine"),t(c)):a(c)}}const wk={tokenize:Ok};function Ok(e){const t=this,a=e.attempt(Zo,i,e.attempt(this.parser.constructs.flowInitial,n,Pe(e,e.attempt(this.parser.constructs.flow,n,e.attempt(Y6,n)),"linePrefix")));return a;function i(r){if(r===null){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function n(r){if(r===null){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const xk={resolveAll:jg()},Bk=Ig("string"),Ck=Ig("text");function Ig(e){return{tokenize:t,resolveAll:jg(e==="text"?Mk:void 0)};function t(a){const i=this,n=this.parser.constructs[e],r=a.attempt(n,o,s);return o;function o(u){return c(u)?r(u):s(u)}function s(u){if(u===null){a.consume(u);return}return a.enter("data"),a.consume(u),l}function l(u){return c(u)?(a.exit("data"),r(u)):(a.consume(u),l)}function c(u){if(u===null)return!0;const d=n[u];let f=-1;if(d)for(;++f-1){const s=o[0];typeof s=="string"?o[0]=s.slice(i):o.shift()}r>0&&o.push(e[n].slice(0,r))}return o}function Zk(e,t){let a=-1;const i=[];let n;for(;++a({x:e,y:e}),Ey={left:"right",right:"left",bottom:"top",top:"bottom"},by={start:"end",end:"start"};function b1(e,t,a){return bi(e,io(t,a))}function cn(e,t){return typeof e=="function"?e(t):e}function Ja(e){return e.split("-")[0]}function Oo(e){return e.split("-")[1]}function Ru(e){return e==="x"?"y":"x"}function hg(e){return e==="y"?"height":"width"}function A0(e){return["top","bottom"].includes(Ja(e))?"y":"x"}function fg(e){return Ru(A0(e))}function yy(e,t,a){a===void 0&&(a=!1);const i=Oo(e),n=fg(e),r=hg(n);let o=n==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(o=ro(o)),[o,ro(o)]}function Ay(e){const t=ro(e);return[Fl(e),t,Fl(t)]}function Fl(e){return e.replace(/start|end/g,t=>by[t])}function Sy(e,t,a){const i=["left","right"],n=["right","left"],r=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return a?t?n:i:t?i:n;case"left":case"right":return t?r:o;default:return[]}}function ky(e,t,a,i){const n=Oo(e);let r=Sy(Ja(e),a==="start",i);return n&&(r=r.map(o=>o+"-"+n),t&&(r=r.concat(r.map(Fl)))),r}function ro(e){return e.replace(/left|right|bottom|top/g,t=>Ey[t])}function vy(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ry(e){return typeof e!="number"?vy(e):{top:e,right:e,bottom:e,left:e}}function oo(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function y1(e,t,a){let{reference:i,floating:n}=e;const r=A0(t),o=fg(t),s=hg(o),l=Ja(t),c=r==="y",u=i.x+i.width/2-n.width/2,d=i.y+i.height/2-n.height/2,f=i[s]/2-n[s]/2;let h;switch(l){case"top":h={x:u,y:i.y-n.height};break;case"bottom":h={x:u,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:d};break;case"left":h={x:i.x-n.width,y:d};break;default:h={x:i.x,y:i.y}}switch(Oo(t)){case"start":h[o]-=f*(a&&c?-1:1);break;case"end":h[o]+=f*(a&&c?-1:1);break}return h}const Ny=async(e,t,a)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:o}=a,s=r.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:n}),{x:u,y:d}=y1(c,i,l),f=i,h={},g=0;for(let m=0;mS<=0)){var P,_;const S=(((P=r.flip)==null?void 0:P.index)||0)+1,x=j[S];if(x)return{data:{index:S,overflows:M},reset:{placement:x}};let L=(_=M.filter(Z=>Z.overflows[0]<=0).sort((Z,$)=>Z.overflows[1]-$.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(h){case"bestFit":{var D;const Z=(D=M.map($=>[$.placement,$.overflows.filter(V=>V>0).reduce((V,y)=>V+y,0)]).sort(($,V)=>$[1]-V[1])[0])==null?void 0:D[0];Z&&(L=Z);break}case"initialPlacement":L=s;break}if(n!==L)return{reset:{placement:L}}}return{}}}};async function Oy(e,t){const{placement:a,platform:i,elements:n}=e,r=await(i.isRTL==null?void 0:i.isRTL(n.floating)),o=Ja(a),s=Oo(a),l=A0(a)==="y",c=["left","top"].includes(o)?-1:1,u=r&&l?-1:1,d=cn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}const xy=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:a,y:i}=t,n=await Oy(t,e);return{x:a+n.x,y:i+n.y,data:n}}}},By=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:i,placement:n}=t,{mainAxis:r=!0,crossAxis:o=!1,limiter:s={fn:p=>{let{x:T,y:R}=p;return{x:T,y:R}}},...l}=cn(e,t),c={x:a,y:i},u=await gg(t,l),d=A0(Ja(n)),f=Ru(d);let h=c[f],g=c[d];if(r){const p=f==="y"?"top":"left",T=f==="y"?"bottom":"right",R=h+u[p],k=h-u[T];h=b1(R,h,k)}if(o){const p=d==="y"?"top":"left",T=d==="y"?"bottom":"right",R=g+u[p],k=g-u[T];g=b1(R,g,k)}const m=s.fn({...t,[f]:h,[d]:g});return{...m,data:{x:m.x-a,y:m.y-i}}}}},Cy=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:a,y:i,placement:n,rects:r,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=cn(e,t),u={x:a,y:i},d=A0(n),f=Ru(d);let h=u[f],g=u[d];const m=cn(s,t),p=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const k=f==="y"?"height":"width",C=r.reference[f]-r.floating[k]+p.mainAxis,j=r.reference[f]+r.reference[k]-p.mainAxis;hj&&(h=j)}if(c){var T,R;const k=f==="y"?"width":"height",C=["top","left"].includes(Ja(n)),j=r.reference[d]-r.floating[k]+(C&&((T=o.offset)==null?void 0:T[d])||0)+(C?0:p.crossAxis),E=r.reference[d]+r.reference[k]+(C?0:((R=o.offset)==null?void 0:R[d])||0)-(C?p.crossAxis:0);gE&&(g=E)}return{[f]:h,[d]:g}}}};function Ka(e){return _g(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Na(e){var t;return(t=(_g(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _g(e){return e instanceof Node||e instanceof Rt(e).Node}function ya(e){return e instanceof Element||e instanceof Rt(e).Element}function sa(e){return e instanceof HTMLElement||e instanceof Rt(e).HTMLElement}function A1(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function S0(e){const{overflow:t,overflowX:a,overflowY:i,display:n}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+a)&&!["inline","contents"].includes(n)}function My(e){return["table","td","th"].includes(Ka(e))}function Nu(e){const t=wu(),a=Zt(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!t&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!t&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function Yy(e){let t=hn(e);for(;sa(t)&&!xo(t);){if(Nu(t))return t;t=hn(t)}return null}function wu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xo(e){return["html","body","#document"].includes(Ka(e))}function Zt(e){return Rt(e).getComputedStyle(e)}function Bo(e){return ya(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hn(e){if(Ka(e)==="html")return e;const t=e.assignedSlot||e.parentNode||A1(e)&&e.host||Na(e);return A1(t)?t.host:t}function Fg(e){const t=hn(e);return xo(t)?e.ownerDocument?e.ownerDocument.body:e.body:sa(t)&&S0(t)?t:Fg(t)}function f0(e,t,a){var i;t===void 0&&(t=[]),a===void 0&&(a=!0);const n=Fg(e),r=n===((i=e.ownerDocument)==null?void 0:i.body),o=Rt(n);return r?t.concat(o,o.visualViewport||[],S0(n)?n:[],o.frameElement&&a?f0(o.frameElement):[]):t.concat(n,f0(n,[],a))}function mg(e){const t=Zt(e);let a=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const n=sa(e),r=n?e.offsetWidth:a,o=n?e.offsetHeight:i,s=no(a)!==r||no(i)!==o;return s&&(a=r,i=o),{width:a,height:i,$:s}}function Ou(e){return ya(e)?e:e.contextElement}function nn(e){const t=Ou(e);if(!sa(t))return Qa(1);const a=t.getBoundingClientRect(),{width:i,height:n,$:r}=mg(t);let o=(r?no(a.width):a.width)/i,s=(r?no(a.height):a.height)/n;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Ly=Qa(0);function pg(e){const t=Rt(e);return!wu()||!t.visualViewport?Ly:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zy(e,t,a){return t===void 0&&(t=!1),!a||t&&a!==Rt(e)?!1:t}function vi(e,t,a,i){t===void 0&&(t=!1),a===void 0&&(a=!1);const n=e.getBoundingClientRect(),r=Ou(e);let o=Qa(1);t&&(i?ya(i)&&(o=nn(i)):o=nn(e));const s=Zy(r,a,i)?pg(r):Qa(0);let l=(n.left+s.x)/o.x,c=(n.top+s.y)/o.y,u=n.width/o.x,d=n.height/o.y;if(r){const f=Rt(r),h=i&&ya(i)?Rt(i):i;let g=f.frameElement;for(;g&&i&&h!==f;){const m=nn(g),p=g.getBoundingClientRect(),T=Zt(g),R=p.left+(g.clientLeft+parseFloat(T.paddingLeft))*m.x,k=p.top+(g.clientTop+parseFloat(T.paddingTop))*m.y;l*=m.x,c*=m.y,u*=m.x,d*=m.y,l+=R,c+=k,g=Rt(g).frameElement}}return oo({width:u,height:d,x:l,y:c})}function Iy(e){let{rect:t,offsetParent:a,strategy:i}=e;const n=sa(a),r=Na(a);if(a===r)return t;let o={scrollLeft:0,scrollTop:0},s=Qa(1);const l=Qa(0);if((n||!n&&i!=="fixed")&&((Ka(a)!=="body"||S0(r))&&(o=Bo(a)),sa(a))){const c=vi(a);s=nn(a),l.x=c.x+a.clientLeft,l.y=c.y+a.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+l.x,y:t.y*s.y-o.scrollTop*s.y+l.y}}function jy(e){return Array.from(e.getClientRects())}function Tg(e){return vi(Na(e)).left+Bo(e).scrollLeft}function Py(e){const t=Na(e),a=Bo(e),i=e.ownerDocument.body,n=bi(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),r=bi(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let o=-a.scrollLeft+Tg(e);const s=-a.scrollTop;return Zt(i).direction==="rtl"&&(o+=bi(t.clientWidth,i.clientWidth)-n),{width:n,height:r,x:o,y:s}}function Gy(e,t){const a=Rt(e),i=Na(e),n=a.visualViewport;let r=i.clientWidth,o=i.clientHeight,s=0,l=0;if(n){r=n.width,o=n.height;const c=wu();(!c||c&&t==="fixed")&&(s=n.offsetLeft,l=n.offsetTop)}return{width:r,height:o,x:s,y:l}}function Uy(e,t){const a=vi(e,!0,t==="fixed"),i=a.top+e.clientTop,n=a.left+e.clientLeft,r=sa(e)?nn(e):Qa(1),o=e.clientWidth*r.x,s=e.clientHeight*r.y,l=n*r.x,c=i*r.y;return{width:o,height:s,x:l,y:c}}function S1(e,t,a){let i;if(t==="viewport")i=Gy(e,a);else if(t==="document")i=Py(Na(e));else if(ya(t))i=Uy(t,a);else{const n=pg(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return oo(i)}function Dg(e,t){const a=hn(e);return a===t||!ya(a)||xo(a)?!1:Zt(a).position==="fixed"||Dg(a,t)}function qy(e,t){const a=t.get(e);if(a)return a;let i=f0(e,[],!1).filter(s=>ya(s)&&Ka(s)!=="body"),n=null;const r=Zt(e).position==="fixed";let o=r?hn(e):e;for(;ya(o)&&!xo(o);){const s=Zt(o),l=Nu(o);!l&&s.position==="fixed"&&(n=null),(r?!l&&!n:!l&&s.position==="static"&&n&&["absolute","fixed"].includes(n.position)||S0(o)&&!l&&Dg(e,o))?i=i.filter(c=>c!==o):n=s,o=hn(o)}return t.set(e,i),i}function Hy(e){let{element:t,boundary:a,rootBoundary:i,strategy:n}=e;const r=[...a==="clippingAncestors"?qy(t,this._c):[].concat(a),i],o=r[0],s=r.reduce((l,c)=>{const u=S1(t,c,n);return l.top=bi(u.top,l.top),l.right=io(u.right,l.right),l.bottom=io(u.bottom,l.bottom),l.left=bi(u.left,l.left),l},S1(t,o,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function zy(e){return mg(e)}function Vy(e,t,a){const i=sa(t),n=Na(t),r=a==="fixed",o=vi(e,!0,r,t);let s={scrollLeft:0,scrollTop:0};const l=Qa(0);if(i||!i&&!r)if((Ka(t)!=="body"||S0(n))&&(s=Bo(t)),i){const c=vi(t,!0,r,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else n&&(l.x=Tg(n));return{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function k1(e,t){return!sa(e)||Zt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Eg(e,t){const a=Rt(e);if(!sa(e))return a;let i=k1(e,t);for(;i&&My(i)&&Zt(i).position==="static";)i=k1(i,t);return i&&(Ka(i)==="html"||Ka(i)==="body"&&Zt(i).position==="static"&&!Nu(i))?a:i||Yy(e)||a}const $y=async function(e){let{reference:t,floating:a,strategy:i}=e;const n=this.getOffsetParent||Eg,r=this.getDimensions;return{reference:Vy(t,await n(a),i),floating:{x:0,y:0,...await r(a)}}};function Wy(e){return Zt(e).direction==="rtl"}const Qy={convertOffsetParentRelativeRectToViewportRelativeRect:Iy,getDocumentElement:Na,getClippingRect:Hy,getOffsetParent:Eg,getElementRects:$y,getClientRects:jy,getDimensions:zy,getScale:nn,isElement:ya,isRTL:Wy};function Jy(e,t){let a=null,i;const n=Na(e);function r(){clearTimeout(i),a&&a.disconnect(),a=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),r();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h=G0(u),g=G0(n.clientWidth-(c+d)),m=G0(n.clientHeight-(u+f)),p=G0(c),T={rootMargin:-h+"px "+-g+"px "+-m+"px "+-p+"px",threshold:bi(0,io(1,l))||1};let R=!0;function k(C){const j=C[0].intersectionRatio;if(j!==l){if(!R)return o();j?o(!1,j):i=setTimeout(()=>{o(!1,1e-7)},100)}R=!1}try{a=new IntersectionObserver(k,{...T,root:n.ownerDocument})}catch{a=new IntersectionObserver(k,T)}a.observe(e)}return o(!0),r}function Ky(e,t,a,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=i,c=Ou(e),u=n||r?[...c?f0(c):[],...f0(t)]:[];u.forEach(T=>{n&&T.addEventListener("scroll",a,{passive:!0}),r&&T.addEventListener("resize",a)});const d=c&&s?Jy(c,a):null;let f=-1,h=null;o&&(h=new ResizeObserver(T=>{let[R]=T;R&&R.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{h&&h.observe(t)})),a()}),c&&!l&&h.observe(c),h.observe(t));let g,m=l?vi(e):null;l&&p();function p(){const T=vi(e);m&&(T.x!==m.x||T.y!==m.y||T.width!==m.width||T.height!==m.height)&&a(),m=T,g=requestAnimationFrame(p)}return a(),()=>{u.forEach(T=>{n&&T.removeEventListener("scroll",a),r&&T.removeEventListener("resize",a)}),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const Xy=(e,t,a)=>{const i=new Map,n={platform:Qy,...a},r={...n.platform,_c:i};return Ny(e,t,{...n,platform:r})},e4={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var t4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon chevron-down-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},a4=[],i4=de(e4,t4,a4,!1,null,null,null,null);const n4=i4.exports,r4={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var o4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},s4=[],l4=de(r4,o4,s4,!1,null,null,null,null);const Co=l4.exports;const u4={name:"NcEllipsisedOption",components:{NcHighlight:wo},props:{name:{type:String,default:""},search:{type:String,default:""}},computed:{needsTruncate(){return this.name&&this.name.length>=10},split(){return this.name.length-Math.min(Math.floor(this.name.length/2),10)},part1(){return this.needsTruncate?this.name.slice(0,this.split):this.name},part2(){return this.needsTruncate?this.name.slice(this.split):""},highlight1(){return this.search?dg(this.name,this.search):[]},highlight2(){return this.highlight1.map(e=>({start:e.start-this.split,end:e.end-this.split}))}}};var d4=function(){var e=this,t=e._self._c;return t("span",{staticClass:"name-parts",attrs:{title:e.name}},[t("NcHighlight",{staticClass:"name-parts__first",attrs:{text:e.part1,search:e.search,highlight:e.highlight1}}),e.part2?t("NcHighlight",{staticClass:"name-parts__last",attrs:{text:e.part2,search:e.search,highlight:e.highlight2}}):e._e()],1)},c4=[],h4=de(u4,d4,c4,!1,null,"08c4259e",null,null);const f4=h4.exports;const g4=8,v1=32,_4={name:"NcListItemIcon",components:{NcAvatar:y0,NcHighlight:wo,NcIconSvgWrapper:Cf},mixins:[sg],props:{name:{type:String,required:!0},subname:{type:String,default:""},icon:{type:String,default:""},iconSvg:{type:String,default:""},iconName:{type:String,default:""},search:{type:String,default:""},avatarSize:{type:Number,default:v1},noMargin:{type:Boolean,default:!1},displayName:{type:String,default:null},isNoUser:{type:Boolean,default:!1},id:{type:String,default:null}},data(){return{margin:g4}},computed:{hasIcon(){return this.icon!==""},hasIconSvg(){return this.iconSvg!==""},isValidSubname(){var e,t;return((t=(e=this.subname)==null?void 0:e.trim)==null?void 0:t.call(e))!==""},isSizeBigEnough(){return this.avatarSize>=v1},cssVars(){const e=this.noMargin?0:this.margin;return{"--height":this.avatarSize+2*e+"px","--margin":this.margin+"px"}},searchParts(){const e=/^([^<]*)<([^>]+)>?$/,t=this.search.match(e);return this.isNoUser||!t?[this.search,this.search]:[t[1].trim(),t[2]]}},beforeMount(){!this.isNoUser&&!this.subname&&this.fetchUserStatus(this.user)}};var F4=function(){var e=this,t=e._self._c;return t("span",e._g({staticClass:"option",style:e.cssVars,attrs:{id:e.id}},e.$listeners),[t("NcAvatar",e._b({staticClass:"option__avatar",attrs:{"disable-menu":!0,"disable-tooltip":!0,"display-name":e.displayName||e.name,"is-no-user":e.isNoUser,size:e.avatarSize}},"NcAvatar",e.$attrs,!1)),t("div",{staticClass:"option__details"},[t("NcHighlight",{staticClass:"option__lineone",attrs:{text:e.name,search:e.searchParts[0]}}),e.isValidSubname&&e.isSizeBigEnough?t("NcHighlight",{staticClass:"option__linetwo",attrs:{text:e.subname,search:e.searchParts[1]}}):e.hasStatus?t("span",[t("span",[e._v(e._s(e.userStatus.icon))]),t("span",[e._v(e._s(e.userStatus.message))])]):e._e()],1),e._t("default",function(){return[e.hasIconSvg?t("NcIconSvgWrapper",{staticClass:"option__icon",attrs:{svg:e.iconSvg,name:e.iconName}}):e.hasIcon?t("span",{staticClass:"icon option__icon",class:e.icon,attrs:{"aria-label":e.iconName}}):e._e()]})],2)},m4=[],p4=de(_4,F4,m4,!1,null,"562c32c6",null,null);const T4=p4.exports,D4={name:"NcSelect",components:{ChevronDown:n4,NcEllipsisedOption:f4,NcListItemIcon:T4,NcLoadingIcon:Ul,VueSelect:P0.VueSelect},mixins:[go],props:{...P0.VueSelect.props,ariaLabelClearSelected:{type:String,default:ae("Clear selected")},ariaLabelCombobox:{type:String,default:ae("Search for options")},ariaLabelDeselectOption:{type:Function,default:e=>ae("Deselect {option}",{option:e})},appendToBody:{type:Boolean,default:!0},calculatePosition:{type:Function,default:null},closeOnSelect:{type:Boolean,default:!0},components:{type:Object,default:()=>({Deselect:{render:e=>e(Co,{props:{size:20,fillColor:"var(--vs-controls-color)"},style:{cursor:"pointer"}})}})},limit:{type:Number,default:null},disabled:{type:Boolean,default:!1},dropdownShouldOpen:{type:Function,default:({noDrop:e,open:t})=>e?!1:t},filterBy:{type:Function,default:null},inputClass:{type:[String,Object],default:null},inputId:{type:String,default:null},keyboardFocusBorder:{type:Boolean,default:!0},label:{type:String,default:null},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},mapKeydown:{type:Function,default(e,t){return{...e,27:a=>{t.open&&a.stopPropagation(),e[27](a)}}}},uid:{type:String,default:()=>"-"+F0()},placement:{type:String,default:"bottom"},resetFocusOnOptionsChange:{type:Boolean,default:!0},userSelect:{type:Boolean,default:!1},value:{type:[String,Number,Object,Array],default:null}," ":{}},emits:[" "],data(){return{search:""}},computed:{localCalculatePosition(){return this.calculatePosition!==null?this.calculatePosition:(e,t,{width:a})=>{e.style.width=a;const i={name:"addClass",fn(o){return e.classList.add("vs__dropdown-menu--floating"),{}}},n={name:"togglePlacementClass",fn({placement:o}){return t.$el.classList.toggle("select--drop-up",o==="top"),e.classList.toggle("vs__dropdown-menu--floating-placement-top",o==="top"),{}}},r=()=>{Xy(t.$refs.toggle,e,{placement:this.placement,middleware:[xy(-1),i,n,wy(),By({limiter:Cy()})]}).then(({x:o,y:s})=>{Object.assign(e.style,{left:`${o}px`,top:`${s}px`})})};return Ky(t.$refs.toggle,e,r)}},localFilterBy(){const e=/[^<]*<([^>]+)/;return this.filterBy!==null?this.filterBy:this.userSelect?(t,a,i)=>{var n,r,o;const s=i.match(e);return s&&((o=(r=(n=t.subname)==null?void 0:n.toLocaleLowerCase)==null?void 0:r.call(n))==null?void 0:o.indexOf(s[1].toLocaleLowerCase()))>-1||`${a} ${t.subname}`.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1}:P0.VueSelect.props.filterBy.default},localLabel(){return this.label!==null?this.label:this.userSelect?"displayName":P0.VueSelect.props.label.default},propsToForward(){const{inputClass:e,noWrap:t,placement:a,userSelect:i,...n}=this.$props;return{...n,calculatePosition:this.localCalculatePosition,filterBy:this.localFilterBy,label:this.localLabel}}}};var E4=function(){var e=this,t=e._self._c;return t("VueSelect",e._g(e._b({staticClass:"select",class:{"select--no-wrap":e.noWrap,"user-select":e.userSelect},on:{search:a=>e.search=a},scopedSlots:e._u([{key:"search",fn:function({attributes:a,events:i}){return[t("input",e._g(e._b({class:["vs__search",e.inputClass]},"input",a,!1),i))]}},{key:"open-indicator",fn:function({attributes:a}){return[t("ChevronDown",e._b({attrs:{"fill-color":"var(--vs-controls-color)",size:26}},"ChevronDown",a,!1))]}},{key:"option",fn:function(a){return[e.userSelect?t("NcListItemIcon",e._b({attrs:{"avatar-size":24,name:a[e.localLabel],search:e.search}},"NcListItemIcon",a,!1)):t("NcEllipsisedOption",{attrs:{name:String(a[e.localLabel]),search:e.search}})]}},{key:"selected-option",fn:function(a){return[e.userSelect?t("NcListItemIcon",e._b({attrs:{"avatar-size":24,name:a[e.localLabel],search:e.search}},"NcListItemIcon",a,!1)):t("NcEllipsisedOption",{attrs:{name:String(a[e.localLabel]),search:e.search}})]}},{key:"spinner",fn:function(a){return[a.loading?t("NcLoadingIcon"):e._e()]}},{key:"no-options",fn:function(){return[e._v(" "+e._s(e.t("No results"))+" ")]},proxy:!0},e._l(e.$scopedSlots,function(a,i){return{key:i,fn:function(n){return[e._t(i,null,null,n)]}}})],null,!0)},"VueSelect",e.propsToForward,!1),e.$listeners))},b4=[],y4=de(D4,E4,b4,!1,null,null,null,null);const Mo=y4.exports;const A4={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var S4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},k4=[],v4=de(A4,S4,k4,!1,null,null,null,null);const R4=v4.exports,N4={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var w4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},O4=[],x4=de(N4,w4,O4,!1,null,null,null,null);const B4=x4.exports,C4={name:"NcInputField",components:{NcButton:ai,AlertCircle:R4,Check:B4},inheritAttrs:!1,props:{value:{type:String,required:!0},type:{type:String,default:"text",validator:e=>["text","password","email","tel","url","search","number"].includes(e)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","trailing-button-click"],computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+F0()},hasLeadingIcon(){return this.$slots.default},hasTrailingIcon(){return this.success},hasPlaceholder(){return this.placeholder!==""&&this.placeholder!==void 0},computedPlaceholder(){return this.hasPlaceholder?this.placeholder:this.label},isValidLabel(){const e=this.label||this.labelOutside;return e||console.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),e},ariaDescribedby(){const e=[];return this.helperText.length>0&&e.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&e.push(this.$attrs["aria-describedby"]),e.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(e){this.$emit("update:value",e.target.value)},handleTrailingButtonClick(e){this.$emit("trailing-button-click",e)}}};var M4=function(){var e=this,t=e._self._c;return t("div",{staticClass:"input-field",class:{"input-field--disabled":e.disabled}},[t("div",{staticClass:"input-field__main-wrapper"},[t("input",e._g(e._b({ref:"input",staticClass:"input-field__input",class:[e.inputClass,{"input-field__input--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field__input--leading-icon":e.hasLeadingIcon,"input-field__input--label-outside":e.labelOutside,"input-field__input--success":e.success,"input-field__input--error":e.error,"input-field__input--pill":e.pill}],attrs:{id:e.computedId,type:e.type,disabled:e.disabled,placeholder:e.computedPlaceholder,"aria-describedby":e.ariaDescribedby,"aria-live":"polite"},domProps:{value:e.value},on:{input:e.handleInput}},"input",e.$attrs,!1),e.$listeners)),!e.labelOutside&&e.isValidLabel?t("label",{staticClass:"input-field__label",class:[{"input-field__label--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field__label--leading-icon":e.hasLeadingIcon}],attrs:{for:e.computedId}},[e._v(" "+e._s(e.label)+" ")]):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:e.hasLeadingIcon,expression:"hasLeadingIcon"}],staticClass:"input-field__icon input-field__icon--leading"},[e._t("default")],2),e.showTrailingButton?t("NcButton",{staticClass:"input-field__trailing-button",class:[{"input-field__trailing-button--pill":e.pill}],attrs:{type:"tertiary-no-background","aria-label":e.trailingButtonLabel,disabled:e.disabled},on:{click:e.handleTrailingButtonClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("trailing-button-icon")]},proxy:!0}],null,!0)}):e.success||e.error?t("div",{staticClass:"input-field__icon input-field__icon--trailing"},[e.success?t("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):e.error?t("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):e._e()],1):e._e()],1),e.helperText.length>0?t("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":e.error,"input-field__helper-text-message--success":e.success},attrs:{id:`${e.inputName}-helper-text`}},[e.success?t("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e.error?t("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e._e(),e._v(" "+e._s(e.helperText)+" ")],1):e._e()])},Y4=[],L4=de(C4,M4,Y4,!1,null,"e8c696ab",null,null);const fn=L4.exports,Z4={name:"UndoVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var I4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon undo-variant-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M13.5,7A6.5,6.5 0 0,1 20,13.5A6.5,6.5 0 0,1 13.5,20H10V18H13.5C16,18 18,16 18,13.5C18,11 16,9 13.5,9H7.83L10.91,12.09L9.5,13.5L4,8L9.5,2.5L10.92,3.91L7.83,7H13.5M6,18H8V20H6V18Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},j4=[],P4=de(Z4,I4,j4,!1,null,null,null,null);const G4=P4.exports,U4=new Set(Object.keys(fn.props)),q4={name:"NcTextField",components:{NcInputField:fn,Close:Co,ArrowRight:bf,Undo:G4},inheritAttrs:!1,props:{" ":{},...fn.props,trailingButtonLabel:{type:String,default:""},trailingButtonIcon:{type:String,default:"close",validator:e=>["close","arrowRight","undo"].includes(e)}},emits:["update:value"],computed:{propsAndAttrsToForward(){const e={undo:ae("Undo changes"),close:ae("Clear text"),arrowRight:ae("Save changes")};return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter(([t])=>U4.has(t))),trailingButtonLabel:this.trailingButtonLabel||e[this.trailingButtonIcon]}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(e){this.$emit("update:value",e.target.value)}}};var H4=function(){var e=this,t=e._self._c;return t("NcInputField",e._g(e._b({ref:"inputField",on:{input:e.handleInput},scopedSlots:e._u([e.type!=="search"?{key:"trailing-button-icon",fn:function(){return[e.trailingButtonIcon==="close"?t("Close",{attrs:{size:20}}):e.trailingButtonIcon==="arrowRight"?t("ArrowRight",{attrs:{size:20}}):e.trailingButtonIcon==="undo"?t("Undo",{attrs:{size:20}}):e._e()]},proxy:!0}:null],null,!0)},"NcInputField",e.propsAndAttrsToForward,!1),e.$listeners),[e._t("default")],2)},z4=[],V4=de(q4,H4,z4,!1,null,null,null,null);const $4=V4.exports;const xu=e=>{e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push(function(){this.$el.setAttribute("data-v-c7eb113","")})},W4={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Q4=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon chevron-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},J4=[],K4=de(W4,Q4,J4,!1,null,null,null,null);const bg=K4.exports;function X4(e,t){let a,i,n=t,r;this.start=function(){r=!0,i=new Date,a=setTimeout(e,n)},this.pause=function(){r=!1,clearTimeout(a),n-=new Date-i},this.clear=function(){r=!1,clearTimeout(a),n=0},this.getTimeLeft=function(){return r&&(this.pause(),this.start()),n},this.getStateRunning=function(){return r},this.start()}const eA={name:"ChevronLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var tA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon chevron-left-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},aA=[],iA=de(eA,tA,aA,!1,null,null,null,null);const nA=iA.exports,rA={name:"PauseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var oA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon pause-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M14,19H18V5H14M6,19H10V5H6V19Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},sA=[],lA=de(rA,oA,sA,!1,null,null,null,null);const uA=lA.exports,dA={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var cA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon play-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M8,5.14V19.14L19,12.14L8,5.14Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},hA=[],fA=de(dA,cA,hA,!1,null,null,null,null);const gA=fA.exports,_A={name:"NcModal",components:{NcActions:Du,ChevronLeft:nA,ChevronRight:bg,Close:Co,Pause:uA,Play:gA,NcButton:ai},directives:{tooltip:Ef},mixins:[go],props:{name:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},slideshowDelay:{type:Number,default:5e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:e=>["small","normal","large","full"].includes(e)},canClose:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:[String,null],default:"body"},closeButtonContained:{type:Boolean,default:!0},additionalTrapElements:{type:Array,default:()=>[]},inlineActions:{type:Number,default:0},show:{type:Boolean,default:void 0}},emits:["previous","next","close","update:show"],data(){return{mc:null,playing:!1,slideshowTimeout:null,iconSize:24,focusTrap:null,randId:F0(),internalShow:!0}},computed:{showModal(){return this.show===void 0?this.internalShow:this.show},modalTransitionName(){return`modal-${this.outTransition?"out":"in"}`},playPauseName(){return this.playing?ae("Pause slideshow"):ae("Start slideshow")},cssVariables(){return{"--slideshow-duration":this.slideshowDelay+"ms","--icon-size":this.iconSize+"px"}},closeButtonAriaLabel(){return ae("Close")},prevButtonAriaLabel(){return ae("Previous")},nextButtonAriaLabel(){return ae("Next")}},watch:{slideshowPaused(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())},additionalTrapElements(e){if(this.focusTrap){const t=this.$refs.mask;this.focusTrap.updateContainerElements([t,...e])}}},beforeMount(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy(){window.removeEventListener("keydown",this.handleKeydown),this.mc.stop()},mounted(){this.useFocusTrap(),this.mc=wf(this.$refs.mask,{onSwipeEnd:this.handleSwipe}),this.container&&(this.container==="body"?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el))},destroyed(){this.clearFocusTrap(),this.$el.remove()},methods:{previous(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close(e){this.canClose&&(this.internalShow=!1,this.$emit("update:show",!1),setTimeout(()=>{this.$emit("close",e)},300))},handleClickModalWrapper(e){this.closeOnClickOutside&&this.close(e)},handleKeydown(e){if(e.key==="Escape"){const a=ol();return a.length>0&&a[a.length-1]!==this.focusTrap?void 0:this.close(e)}const t={ArrowLeft:this.previous,ArrowRight:this.next};if(t[e.key])return document.activeElement&&!this.$el.contains(document.activeElement)?void 0:t[e.key](e)},handleSwipe(e,t){this.enableSwipe&&(t==="left"?this.next(e):t==="right"&&this.previous(e))},togglePlayPause(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick(function(){this.togglePlayPause()})},handleSlideshow(){this.playing=!0,this.hasNext?this.slideshowTimeout=new X4(()=>{this.next(),this.handleSlideshow()},this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout(){this.slideshowTimeout&&this.slideshowTimeout.clear()},async useFocusTrap(){if(!this.showModal||this.focusTrap)return;const e=this.$refs.mask;await this.$nextTick();const t={allowOutsideClick:!0,fallbackFocus:e,trapStack:ol(),escapeDeactivates:!1};this.focusTrap=Gf([e,...this.additionalTrapElements],t),this.focusTrap.activate()},clearFocusTrap(){var e;this.focusTrap&&((e=this.focusTrap)==null||e.deactivate(),this.focusTrap=null)}}};var FA=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade",appear:""},on:{"after-enter":e.useFocusTrap,"before-leave":e.clearFocusTrap}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark},style:e.cssVariables,attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"modal-name-"+e.randId,"aria-describedby":"modal-description-"+e.randId,tabindex:"-1"}},[t("transition",{attrs:{name:"fade-visibility",appear:""}},[t("div",{staticClass:"modal-header"},[e.name.trim()!==""?t("h2",{staticClass:"modal-name",attrs:{id:"modal-name-"+e.randId}},[e._v(" "+e._s(e.name)+" ")]):e._e(),t("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseName,expression:"playPauseName",modifiers:{auto:!0}}],staticClass:"play-pause-icons",class:{"play-pause-icons--paused":e.slideshowPaused},attrs:{type:"button"},on:{click:e.togglePlayPause}},[e.playing?t("Pause",{staticClass:"play-pause-icons__pause",attrs:{size:e.iconSize}}):t("Play",{staticClass:"play-pause-icons__play",attrs:{size:e.iconSize}}),t("span",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.playPauseName)+" ")]),e.playing?t("svg",{staticClass:"progress-ring",attrs:{height:"50",width:"50"}},[t("circle",{staticClass:"progress-ring__circle",attrs:{stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"}})]):e._e()],1):e._e(),t("NcActions",{staticClass:"header-actions",attrs:{inline:e.inlineActions}},[e._t("actions")],2),e.canClose&&!e.closeButtonContained?t("NcButton",{staticClass:"header-close",attrs:{"aria-label":e.closeButtonAriaLabel,type:"tertiary"},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close",{attrs:{size:e.iconSize}})]},proxy:!0}],null,!1,1841713362)}):e._e()],1)])]),t("transition",{attrs:{name:e.modalTransitionName,appear:""}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"modal-wrapper",class:[`modal-wrapper--${e.size}`,{"modal-wrapper--spread-navigation":e.spreadNavigation}],on:{mousedown:function(a){return a.target!==a.currentTarget?null:e.handleClickModalWrapper.apply(null,arguments)}}},[t("transition",{attrs:{name:"fade-visibility",appear:""}},[t("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasPrevious,expression:"hasPrevious"}],staticClass:"prev",attrs:{type:"tertiary-no-background","aria-label":e.prevButtonAriaLabel},on:{click:e.previous},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ChevronLeft",{attrs:{size:40}})]},proxy:!0}])})],1),t("div",{staticClass:"modal-container",attrs:{id:"modal-description-"+e.randId}},[e.canClose&&e.closeButtonContained?t("NcButton",{staticClass:"modal-container__close",attrs:{type:"tertiary","aria-label":e.closeButtonAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close",{attrs:{size:20}})]},proxy:!0}],null,!1,2121748766)}):e._e(),t("div",{staticClass:"modal-container__content"},[e._t("default")],2)],1),t("transition",{attrs:{name:"fade-visibility",appear:""}},[t("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"next",attrs:{type:"tertiary-no-background","aria-label":e.nextButtonAriaLabel},on:{click:e.next},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ChevronRight",{attrs:{size:40}})]},proxy:!0}])})],1)],1)])],1)])},mA=[],pA=de(_A,FA,mA,!1,null,"910493a0",null,null);const Bu=pA.exports;xu(Bu);const TA={name:"ArrowLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var DA=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon arrow-left-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},EA=[],bA=de(TA,DA,EA,!1,null,null,null,null);const yA=bA.exports;window._vue_richtext_widgets||(window._vue_richtext_widgets={});const AA=e=>!!window._vue_richtext_widgets[e],SA=(e,t,a=i=>{})=>{if(window._vue_richtext_widgets[e]){console.error("Widget for id "+e+" already registered");return}window._vue_richtext_widgets[e]={id:e,callback:t,onDestroy:a}},kA=(e,{richObjectType:t,richObject:a,accessible:i})=>{if(t!=="open-graph"){if(!window._vue_richtext_widgets[t]){console.error("Widget for rich object type "+t+" not registered");return}window._vue_richtext_widgets[t].callback(e,{richObjectType:t,richObject:a,accessible:i})}},vA=(e,t)=>{e!=="open-graph"&&window._vue_richtext_widgets[e]&&window._vue_richtext_widgets[e].onDestroy(t)};window._registerWidget=SA;const RA={name:"NcReferenceWidget",props:{reference:{type:Object,required:!0}},data(){return{compact:3}},computed:{hasCustomWidget(){return AA(this.reference.richObjectType)},noAccess(){return this.reference&&!this.reference.accessible},descriptionStyle(){if(this.compact===0)return{display:"none"};const e=this.compact<4?this.compact:3;return{lineClamp:e,webkitLineClamp:e}},compactLink(){const e=this.reference.openGraphObject.link;return e?e.startsWith("https://")?e.substring(8):e.startsWith("http://")?e.substring(7):e:""}},mounted(){this.renderWidget(),this.observer=new ResizeObserver(e=>{e[0].contentRect.width<450?this.compact=0:e[0].contentRect.width<550?this.compact=1:e[0].contentRect.width<650?this.compact=2:this.compact=3}),this.observer.observe(this.$el)},beforeDestroy(){this.observer.disconnect(),vA(this.reference.richObjectType,this.$el)},methods:{renderWidget(){var e;this.$refs.customWidget&&(this.$refs.customWidget.innerHTML=""),((e=this==null?void 0:this.reference)==null?void 0:e.richObjectType)!=="open-graph"&&this.$nextTick(()=>{kA(this.$refs.customWidget,this.reference)})}}};var NA=function(){var e=this,t=e._self._c;return t("div",[e.reference&&e.hasCustomWidget?t("div",{staticClass:"widget-custom"},[t("div",{ref:"customWidget"})]):!e.noAccess&&e.reference&&e.reference.openGraphObject&&!e.hasCustomWidget?t("a",{staticClass:"widget-default",attrs:{href:e.reference.openGraphObject.link,rel:"noopener noreferrer",target:"_blank"}},[e.reference.openGraphObject.thumb?t("img",{staticClass:"widget-default--image",attrs:{src:e.reference.openGraphObject.thumb}}):e._e(),t("div",{staticClass:"widget-default--details"},[t("p",{staticClass:"widget-default--name"},[e._v(e._s(e.reference.openGraphObject.name))]),t("p",{staticClass:"widget-default--description",style:e.descriptionStyle},[e._v(e._s(e.reference.openGraphObject.description))]),t("p",{staticClass:"widget-default--link"},[e._v(e._s(e.compactLink))])])]):e._e()])},wA=[],OA=de(RA,NA,wA,!1,null,"b1c5a80f",null,null);const yg=OA.exports;window._vue_richtext_custom_picker_elements||(window._vue_richtext_custom_picker_elements={});const g0=e=>!!window._vue_richtext_custom_picker_elements[e],xA=e=>{var t;const a=(t=window._vue_richtext_custom_picker_elements[e])==null?void 0:t.size;return["small","normal","large","full"].includes(a)?a:null},BA=(e,t,a=n=>{},i="large")=>{if(window._vue_richtext_custom_picker_elements[e]){console.error("Custom reference picker element for id "+e+" already registered");return}window._vue_richtext_custom_picker_elements[e]={id:e,callback:t,onDestroy:a,size:i}},CA=(e,{providerId:t,accessible:a})=>{if(!window._vue_richtext_custom_picker_elements[t]){console.error("Custom reference picker element for reference provider ID "+t+" not registered");return}return window._vue_richtext_custom_picker_elements[t].callback(e,{providerId:t,accessible:a})},MA=(e,t,a)=>{window._vue_richtext_custom_picker_elements[e]&&window._vue_richtext_custom_picker_elements[e].onDestroy(t,a)};window._registerCustomPickerElement=BA;const YA={name:"NcCustomPickerElement",props:{provider:{type:Object,required:!0}},emits:["cancel","submit"],data(){return{isRegistered:g0(this.provider.id),renderResult:null}},mounted(){this.isRegistered&&this.renderElement()},beforeDestroy(){this.isRegistered&&MA(this.provider.id,this.$el,this.renderResult)},methods:{renderElement(){this.$refs.domElement&&(this.$refs.domElement.innerHTML="");const e=CA(this.$refs.domElement,{providerId:this.provider.id,accessible:!1});Promise.resolve(e).then(t=>{var a,i;this.renderResult=t,(a=this.renderResult.object)!=null&&a._isVue&&(i=this.renderResult.object)!=null&&i.$on&&(this.renderResult.object.$on("submit",this.onSubmit),this.renderResult.object.$on("cancel",this.onCancel)),this.renderResult.element.addEventListener("submit",n=>{this.onSubmit(n.detail)}),this.renderResult.element.addEventListener("cancel",this.onCancel)})},onSubmit(e){this.$emit("submit",e)},onCancel(){this.$emit("cancel")}}};var LA=function(){var e=this,t=e._self._c;return t("div",{ref:"domElement"})},ZA=[],IA=de(YA,LA,ZA,!1,null,"cf695ff9",null,null);const jA=IA.exports,PA="any-link",GA={id:PA,title:ae("Any link"),icon_url:eF("core","filetypes/link.svg")};window._vue_richtext_reference_providers||(window._vue_richtext_reference_providers=Ps("core","reference-provider-list",[])),window._vue_richtext_reference_provider_timestamps||(window._vue_richtext_reference_provider_timestamps=Ps("core","reference-provider-timestamps",{}));function UA(){return window._vue_richtext_reference_providers.filter(e=>{const t=!!e.search_providers_ids&&e.search_providers_ids.length>0||g0(e.id);return t||console.debug("[smart picker]",e.id,"reference provider is discoverable but does not have any related search provider or custom picker component registered"),t})}function qA(e){const t=window._vue_richtext_reference_provider_timestamps;return e.sort((a,i)=>a.order===i.order?0:a.order>i.order?1:-1).sort((a,i)=>{const n=t[a.id],r=t[i.id];return n===r?0:r===void 0?-1:n===void 0?1:n>r?-1:1})}function HA(e,t=null){const a=UA(),i=e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&"),n=new RegExp(i,"i"),r=qA(a).filter(s=>s.title.match(n)),o=t?r.slice(0,t):r;return(e===""||o.length===0)&&o.push(GA),o}function zA(e){const t=Math.floor(Date.now()/1e3),a={timestamp:t},i=$a("references/provider/{providerId}",{providerId:e});Wa.put(i,a).then(n=>{window._vue_richtext_reference_provider_timestamps[e]=t})}let R1=0;function Ag(e,t){return function(){const a=this,i=arguments;clearTimeout(R1),R1=setTimeout(function(){e.apply(a,i)},t||0)}}function Cu(e){try{return!!new URL(e)}catch{return!1}}const VA={name:"LinkVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var $A=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon link-variant-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},WA=[],QA=de(VA,$A,WA,!1,null,null,null,null);const Mu=QA.exports,JA={name:"NcProviderList",components:{NcSelect:Mo,NcHighlight:wo,NcEmptyContent:mu,LinkVariantIcon:Mu},emits:["select-provider","submit"],data(){return{selectedProvider:null,query:"",multiselectPlaceholder:ae("Select provider"),providerIconAlt:ae("Provider icon")}},computed:{options(){const e=[];return this.query!==""&&Cu(this.query)&&e.push({id:this.query,title:this.query,isLink:!0}),e.push(...HA(this.query)),e}},methods:{focus(){setTimeout(()=>{var e,t,a;(a=(t=(e=this.$refs["provider-select"])==null?void 0:e.$el)==null?void 0:t.querySelector("#provider-select-input"))==null||a.focus()},300)},onProviderSelected(e){e!==null&&(e.isLink?this.$emit("submit",e.title):this.$emit("select-provider",e),this.selectedProvider=null)},onSearch(e,t){this.query=e}}};var KA=function(){var e=this,t=e._self._c;return t("div",{staticClass:"provider-list"},[t("NcSelect",{ref:"provider-select",staticClass:"provider-list--select",attrs:{"input-id":"provider-select-input",label:"title",placeholder:e.multiselectPlaceholder,options:e.options,"append-to-body":!1,"clear-search-on-select":!0,"clear-search-on-blur":()=>!1,filterable:!1},on:{search:e.onSearch,input:e.onProviderSelected},scopedSlots:e._u([{key:"option",fn:function(a){return[a.isLink?t("div",{staticClass:"provider"},[t("LinkVariantIcon",{staticClass:"link-icon",attrs:{size:20}}),t("span",[e._v(e._s(a.title))])],1):t("div",{staticClass:"provider"},[t("img",{staticClass:"provider-icon",attrs:{src:a.icon_url,alt:e.providerIconAlt}}),t("NcHighlight",{staticClass:"option-text",attrs:{search:e.query,text:a.title}})],1)]}}]),model:{value:e.selectedProvider,callback:function(a){e.selectedProvider=a},expression:"selectedProvider"}}),t("NcEmptyContent",{staticClass:"provider-list--empty-content",scopedSlots:e._u([{key:"icon",fn:function(){return[t("LinkVariantIcon")]},proxy:!0}])})],1)},XA=[],eS=de(JA,KA,XA,!1,null,"9d850ea5",null,null);const tS=eS.exports,aS={name:"NcRawLinkInput",components:{LinkVariantIcon:Mu,NcEmptyContent:mu,NcLoadingIcon:Ul,NcReferenceWidget:yg,NcTextField:$4},props:{provider:{type:Object,required:!0}},emits:["submit"],data(){return{inputValue:"",loading:!1,reference:null,abortController:null,inputPlaceholder:ae("Enter link")}},computed:{isLinkValid(){return Cu(this.inputValue)}},methods:{focus(){var e;(e=this.$refs["url-input"].$el.getElementsByTagName("input")[0])==null||e.focus()},onSubmit(e){const t=e.target.value;this.isLinkValid&&this.$emit("submit",t)},onClear(){this.inputValue="",this.reference=null},onInput(){this.reference=null,this.abortController&&this.abortController.abort(),this.isLinkValid&&Ag(()=>{this.updateReference()},500)()},updateReference(){this.loading=!0,this.abortController=new AbortController,Wa.get($a("references/resolve",2)+"?reference="+encodeURIComponent(this.inputValue),{signal:this.abortController.signal}).then(e=>{this.reference=e.data.ocs.data.references[this.inputValue]}).catch(e=>{console.error(e)}).then(()=>{this.loading=!1})}}};var iS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"raw-link"},[t("div",{staticClass:"input-wrapper"},[t("NcTextField",{ref:"url-input",attrs:{value:e.inputValue,"show-trailing-button":e.inputValue!=="",label:e.inputPlaceholder},on:{"update:value":[function(a){e.inputValue=a},e.onInput],"trailing-button-click":e.onClear},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.onSubmit.apply(null,arguments)}}},[e.loading?t("NcLoadingIcon",{attrs:{size:16}}):t("LinkVariantIcon",{attrs:{size:16}})],1)],1),e.reference!==null?t("NcReferenceWidget",{staticClass:"reference-widget",attrs:{reference:e.reference}}):t("NcEmptyContent",{staticClass:"raw-link--empty-content",scopedSlots:e._u([{key:"icon",fn:function(){return[e.provider.icon_url?t("img",{staticClass:"provider-icon",attrs:{src:e.provider.icon_url}}):t("LinkVariantIcon")]},proxy:!0}])})],1)},nS=[],rS=de(aS,iS,nS,!1,null,"d0ba247a",null,null);const oS=rS.exports,sS={name:"NcSearchResult",components:{NcHighlight:wo},props:{entry:{type:Object,required:!0},query:{type:String,required:!0}}};var lS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"result"},[e.entry.icon?t("div",{staticClass:"result--icon-class",class:{[e.entry.icon]:!0,rounded:e.entry.rounded}}):t("img",{staticClass:"result--image",class:{rounded:e.entry.rounded},attrs:{src:e.entry.thumbnailUrl}}),t("div",{staticClass:"result--content"},[t("span",{staticClass:"result--content--name"},[t("NcHighlight",{attrs:{search:e.query,text:e.entry.title}})],1),t("span",{staticClass:"result--content--subline"},[t("NcHighlight",{attrs:{search:e.query,text:e.entry.subline}})],1)])])},uS=[],dS=de(sS,lS,uS,!1,null,"7a394a58",null,null);const cS=dS.exports,N1=5,hS={name:"NcSearch",components:{LinkVariantIcon:Mu,DotsHorizontalIcon:Tu,NcEmptyContent:mu,NcSelect:Mo,NcSearchResult:cS},props:{provider:{type:Object,required:!0},showEmptyContent:{type:Boolean,default:!0},searchPlaceholder:{type:String,default:null}},emits:["submit"],data(){return{searchQuery:"",selectedResult:null,resultsBySearchProvider:{},searching:!1,searchingMoreOf:null,abortController:null,noOptionsText:ae("Start typing to search"),providerIconAlt:ae("Provider icon")}},computed:{mySearchPlaceholder(){return this.searchPlaceholder||ae("Search")},searchProviderIds(){return this.provider.search_providers_ids},options(){if(this.searchQuery==="")return[];const e=[];return Cu(this.searchQuery)&&e.push(this.rawLinkEntry),e.push(...this.formattedSearchResults),e},rawLinkEntry(){return{id:"rawLinkEntry",resourceUrl:this.searchQuery,isRawLink:!0}},formattedSearchResults(){const e=[];return this.searchProviderIds.forEach(t=>{if(this.resultsBySearchProvider[t].entries.length>0){(this.searchProviderIds.length>1||this.resultsBySearchProvider[t].entries.length>1)&&e.push({id:"groupTitle-"+t,name:this.resultsBySearchProvider[t].name,isCustomGroupTitle:!0,providerId:t});const a=this.resultsBySearchProvider[t].entries.map((i,n)=>({id:"provider-"+t+"-entry-"+n,...i}));e.push(...a),this.resultsBySearchProvider[t].isPaginated&&e.push({id:"moreOf-"+t,name:this.resultsBySearchProvider[t].name,isMore:!0,providerId:t,isLoading:this.searchingMoreOf===t})}}),e}},mounted(){this.resetResults()},beforeDestroy(){this.cancelSearchRequests()},methods:{t:ae,resetResults(){const e={};this.searchProviderIds.forEach(t=>{e[t]={entries:[]}}),this.resultsBySearchProvider=e},focus(){setTimeout(()=>{var e,t,a;(a=(t=(e=this.$refs["search-select"])==null?void 0:e.$el)==null?void 0:t.querySelector("#search-select-input"))==null||a.focus()},300)},cancelSearchRequests(){this.abortController&&this.abortController.abort()},onSearchInput(e,t){this.searchQuery=e,Ag(()=>{this.updateSearch()},500)()},onSelectResultSelected(e){e!==null&&(e.resourceUrl?(this.cancelSearchRequests(),this.$emit("submit",e.resourceUrl)):e.isMore&&this.searchMoreOf(e.providerId).then(()=>{this.selectedResult=null}))},searchMoreOf(e){return this.searchingMoreOf=e,this.cancelSearchRequests(),this.searchProviders(e)},updateSearch(){if(this.cancelSearchRequests(),this.resetResults(),this.searchQuery===""){this.searching=!1;return}return this.searchProviders()},searchProviders(e=null){var t,a;this.abortController=new AbortController,this.searching=!0;const i=e===null?[...this.searchProviderIds].map(n=>this.searchOneProvider(n)):[this.searchOneProvider(e,(a=(t=this.resultsBySearchProvider[e])==null?void 0:t.cursor)!=null?a:null)];return Promise.allSettled(i).then(n=>{n.find(r=>r.status==="rejected"&&(r.reason.name==="CanceledError"||r.reason.code==="ERR_CANCELED"))||(this.searching=!1,this.searchingMoreOf=null)})},searchOneProvider(e,t=null){const a=t===null?$a("search/providers/{providerId}/search?term={term}&limit={limit}",{providerId:e,term:this.searchQuery,limit:N1}):$a("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}",{providerId:e,term:this.searchQuery,limit:N1,cursor:t});return Wa.get(a,{signal:this.abortController.signal}).then(i=>{const n=i.data.ocs.data;this.resultsBySearchProvider[e].name=n.name,this.resultsBySearchProvider[e].cursor=n.cursor,this.resultsBySearchProvider[e].isPaginated=n.isPaginated,this.resultsBySearchProvider[e].entries.push(...n.entries)})}}};var fS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"smart-picker-search",class:{"with-empty-content":e.showEmptyContent}},[t("NcSelect",{ref:"search-select",staticClass:"smart-picker-search--select",attrs:{"input-id":"search-select-input",label:"name",placeholder:e.mySearchPlaceholder,options:e.options,"append-to-body":!1,"close-on-select":!1,"clear-search-on-select":!1,"clear-search-on-blur":()=>!1,"reset-focus-on-options-change":!1,filterable:!1,autoscroll:!0,"reset-on-options-change":!1,loading:e.searching},on:{search:e.onSearchInput,input:e.onSelectResultSelected},scopedSlots:e._u([{key:"option",fn:function(a){return[a.isRawLink?t("div",{staticClass:"custom-option"},[t("LinkVariantIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),t("span",{staticClass:"option-text"},[e._v(" "+e._s(e.t("Raw link {options}",{options:a.resourceUrl}))+" ")])],1):a.resourceUrl?t("NcSearchResult",{staticClass:"search-result",attrs:{entry:a,query:e.searchQuery}}):a.isCustomGroupTitle?t("span",{staticClass:"custom-option group-name"},[e.provider.icon_url?t("img",{staticClass:"provider-icon group-name-icon",attrs:{src:e.provider.icon_url}}):e._e(),t("span",{staticClass:"option-text"},[t("strong",[e._v(e._s(a.name))])])]):a.isMore?t("span",{class:{"custom-option":!0}},[a.isLoading?t("span",{staticClass:"option-simple-icon icon-loading-small"}):t("DotsHorizontalIcon",{staticClass:"option-simple-icon",attrs:{size:20}}),t("span",{staticClass:"option-text"},[e._v(" "+e._s(e.t('Load more "{options}"',{options:a.name}))+" ")])],1):e._e()]}},{key:"no-options",fn:function(){return[e._v(" "+e._s(e.noOptionsText)+" ")]},proxy:!0}]),model:{value:e.selectedResult,callback:function(a){e.selectedResult=a},expression:"selectedResult"}}),e.showEmptyContent?t("NcEmptyContent",{staticClass:"smart-picker-search--empty-content",scopedSlots:e._u([{key:"icon",fn:function(){return[e.provider.icon_url?t("img",{staticClass:"provider-icon",attrs:{alt:e.providerIconAlt,src:e.provider.icon_url}}):t("LinkVariantIcon")]},proxy:!0}],null,!1,2922132592)}):e._e()],1)},gS=[],_S=de(hS,fS,gS,!1,null,"97d196f0",null,null);const FS=_S.exports,Rn={providerList:1,standardLinkInput:2,searchInput:3,customElement:4},mS={name:"NcReferencePicker",components:{NcCustomPickerElement:jA,NcProviderList:tS,NcRawLinkInput:oS,NcSearch:FS},props:{initialProvider:{type:Object,default:()=>null},width:{type:Number,default:null},focusOnCreate:{type:Boolean,default:!0}},emits:["cancel","cancel-raw-link","cancel-search","provider-selected","submit"],data(){return{MODES:Rn,selectedProvider:this.initialProvider}},computed:{mode(){return this.selectedProvider===null?Rn.providerList:g0(this.selectedProvider.id)?Rn.customElement:this.selectedProvider.search_providers_ids?Rn.searchInput:Rn.standardLinkInput},pickerWrapperStyle(){return{width:this.width?this.width+"px":void 0}}},mounted(){this.focusOnCreate&&(this.initialProvider?setTimeout(()=>{var e;(e=this.$refs["url-input"])==null||e.focus()},300):this.$nextTick(()=>{var e;(e=this.$refs["provider-list"])==null||e.focus()}))},methods:{onEscapePressed(){this.selectedProvider!==null?this.deselectProvider():this.cancelProviderSelection()},onProviderSelected(e){this.selectedProvider=e,this.$emit("provider-selected",e),this.$nextTick(()=>{var t;(t=this.$refs["url-input"])==null||t.focus()})},cancelCustomElement(){this.deselectProvider()},cancelSearch(){var e;this.$emit("cancel-search",(e=this.selectedProvider)==null?void 0:e.title),this.deselectProvider()},cancelRawLinkInput(){var e;this.$emit("cancel-raw-link",(e=this.selectedProvider)==null?void 0:e.title),this.deselectProvider()},cancelProviderSelection(){this.$emit("cancel")},submitLink(e){this.selectedProvider!==null&&zA(this.selectedProvider.id),this.$emit("submit",e),this.deselectProvider()},deselectProvider(){this.selectedProvider=null,this.$emit("provider-selected",null),setTimeout(()=>{var e;(e=this.$refs["provider-list"])==null||e.focus()},300)}}};var pS=function(){var e=this,t=e._self._c;return t("div",{staticClass:"reference-picker",style:e.pickerWrapperStyle,attrs:{tabindex:"-1"},on:{keydown:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"])?null:(a.stopPropagation(),a.preventDefault(),e.onEscapePressed.apply(null,arguments))}}},[e.mode===e.MODES.providerList?t("NcProviderList",{ref:"provider-list",on:{"select-provider":e.onProviderSelected,submit:e.submitLink,cancel:e.cancelProviderSelection}}):e.mode===e.MODES.standardLinkInput?t("NcRawLinkInput",{ref:"url-input",attrs:{provider:e.selectedProvider},on:{submit:e.submitLink,cancel:e.cancelRawLinkInput}}):e.mode===e.MODES.searchInput?t("NcSearch",{ref:"url-input",attrs:{provider:e.selectedProvider},on:{cancel:e.cancelSearch,submit:e.submitLink}}):e.mode===e.MODES.customElement?t("div",{staticClass:"custom-element-wrapper"},[t("NcCustomPickerElement",{attrs:{provider:e.selectedProvider},on:{submit:e.submitLink,cancel:e.cancelCustomElement}})],1):e._e()],1)},TS=[],DS=de(mS,pS,TS,!1,null,"aa77d0d3",null,null);const ES=DS.exports,bS={name:"NcReferencePickerModal",components:{NcReferencePicker:ES,NcModal:Bu,NcButton:ai,ArrowLeftIcon:yA,CloseIcon:Co},props:{initialProvider:{type:Object,default:()=>null},focusOnCreate:{type:Boolean,default:!0},isInsideViewer:{type:Boolean,default:!1}},emits:["cancel","submit"],data(){return{show:!0,selectedProvider:this.initialProvider,backButtonTitle:ae("Back to provider selection"),closeButtonTitle:ae("Close"),closeButtonLabel:ae("Close Smart Picker")}},computed:{isProviderSelected(){return this.selectedProvider!==null},showBackButton(){return this.initialProvider===null&&this.isProviderSelected},modalSize(){var e;return this.isProviderSelected&&g0(this.selectedProvider.id)?(e=xA(this.selectedProvider.id))!=null?e:"large":"normal"},showModalName(){return!this.isProviderSelected||!g0(this.selectedProvider.id)},modalName(){return this.isProviderSelected?this.selectedProvider.title:ae("Smart Picker")}},mounted(){if(this.isInsideViewer){const e=this.$refs.modal_content;pr("viewer:trapElements:changed",e)}},methods:{onCancel(){this.show=!1,this.$emit("cancel")},onSubmit(e){this.show=!1,this.$emit("submit",e)},onProviderSelect(e){this.selectedProvider=e,e===null&&this.initialProvider!==null&&this.onCancel()},onBackClicked(){this.$refs.referencePicker.deselectProvider()}}};var yS=function(){var e=this,t=e._self._c;return e.show?t("NcModal",{staticClass:"reference-picker-modal",attrs:{size:e.modalSize,"can-close":!1},on:{close:e.onCancel}},[t("div",{ref:"modal_content",staticClass:"reference-picker-modal--content"},[e.showBackButton?t("NcButton",{staticClass:"back-button",attrs:{"aria-label":e.backButtonTitle,title:e.backButtonTitle},on:{click:e.onBackClicked},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ArrowLeftIcon")]},proxy:!0}],null,!1,3001860362)}):e._e(),t("NcButton",{staticClass:"close-button",attrs:{"aria-label":e.closeButtonLabel,title:e.closeButtonTitle,type:"tertiary"},on:{click:e.onCancel},scopedSlots:e._u([{key:"icon",fn:function(){return[t("CloseIcon")]},proxy:!0}],null,!1,2491825086)}),e.showModalName?t("h2",[e._v(" "+e._s(e.modalName)+" ")]):e._e(),t("NcReferencePicker",{ref:"referencePicker",attrs:{"initial-provider":e.initialProvider,"focus-on-create":e.focusOnCreate},on:{"provider-selected":e.onProviderSelect,submit:e.onSubmit,cancel:e.onCancel}})],1)]):e._e()},AS=[],SS=de(bS,yS,AS,!1,null,"3f1a4ac7",null,null);const k7=SS.exports;const Yu=function(e){if(e==null)return NS;if(typeof e=="function")return Yo(e);if(typeof e=="object")return Array.isArray(e)?kS(e):vS(e);if(typeof e=="string")return RS(e);throw new Error("Expected function, string, or object as test")};function kS(e){const t=[];let a=-1;for(;++a":""))+")"})}return f;function f(){let h=Sg,g,m,p;if((!t||r(l,c,u[u.length-1]||void 0))&&(h=xS(a(l,u)),h[0]===w1))return h;if("children"in l&&l.children){const T=l;if(T.children&&h[0]!==kg)for(m=(i?T.children.length:-1)+o,p=u.concat(T);m>-1&&m"u"||lr.call(e,i)},Y1=function(e,t){x1&&t.name==="__proto__"?x1(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},L1=function(e,t){if(t==="__proto__")if(lr.call(e,t)){if(B1)return B1(e,t).value}else return;return e[t]},BS=function e(){var t,a,i,n,r,o,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});lo.length;let l;s&&o.push(n);try{l=e.apply(this,o)}catch(c){const u=c;if(s&&a)throw u;return n(u)}s||(l instanceof Promise?l.then(r,n):l instanceof Error?n(l):r(l))}function n(o,...s){a||(a=!0,t(o,...s))}function r(o){n(null,o)}}function Wn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Z1(e.position):"start"in e||"end"in e?Z1(e):"line"in e||"column"in e?pl(e):""}function pl(e){return I1(e&&e.line)+":"+I1(e&&e.column)}function Z1(e){return pl(e&&e.start)+"-"+pl(e&&e.end)}function I1(e){return e&&typeof e=="number"?e:1}class ft extends Error{constructor(t,a,i){super(),typeof a=="string"&&(i=a,a=void 0);let n="",r={},o=!1;if(a&&("line"in a&&"column"in a?r={place:a}:"start"in a&&"end"in a?r={place:a}:"type"in a?r={ancestors:[a],place:a.position}:r={...a}),typeof t=="string"?n=t:!r.cause&&t&&(o=!0,n=t.message,r.cause=t),!r.ruleId&&!r.source&&typeof i=="string"){const l=i.indexOf(":");l===-1?r.ruleId=i:(r.source=i.slice(0,l),r.ruleId=i.slice(l+1))}if(!r.place&&r.ancestors&&r.ancestors){const l=r.ancestors[r.ancestors.length-1];l&&(r.place=l.position)}const s=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=s?s.line:void 0,this.name=Wn(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=o&&r.cause&&typeof r.cause.stack=="string"?r.cause.stack:"",this.actual,this.expected,this.note,this.url}}ft.prototype.file="",ft.prototype.name="",ft.prototype.reason="",ft.prototype.message="",ft.prototype.stack="",ft.prototype.column=void 0,ft.prototype.line=void 0,ft.prototype.ancestors=void 0,ft.prototype.cause=void 0,ft.prototype.fatal=void 0,ft.prototype.place=void 0,ft.prototype.ruleId=void 0,ft.prototype.source=void 0;const Kt={basename:YS,dirname:LS,extname:ZS,join:IS,sep:"/"};function YS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');k0(e);let a=0,i=-1,n=e.length,r;if(t===void 0||t.length===0||t.length>e.length){for(;n--;)if(e.codePointAt(n)===47){if(r){a=n+1;break}}else i<0&&(r=!0,i=n+1);return i<0?"":e.slice(a,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;n--;)if(e.codePointAt(n)===47){if(r){a=n+1;break}}else o<0&&(r=!0,o=n+1),s>-1&&(e.codePointAt(n)===t.codePointAt(s--)?s<0&&(i=n):(s=-1,i=o));return a===i?i=o:i<0&&(i=e.length),e.slice(a,i)}function LS(e){if(k0(e),e.length===0)return".";let t=-1,a=e.length,i;for(;--a;)if(e.codePointAt(a)===47){if(i){t=a;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ZS(e){k0(e);let t=e.length,a=-1,i=0,n=-1,r=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){i=t+1;break}continue}a<0&&(o=!0,a=t+1),s===46?n<0?n=t:r!==1&&(r=1):n>-1&&(r=-1)}return n<0||a<0||r===0||r===1&&n===a-1&&n===i+1?"":e.slice(n,a)}function IS(...e){let t=-1,a;for(;++t0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function PS(e,t){let a="",i=0,n=-1,r=0,o=-1,s,l;for(;++o<=e.length;){if(o2){if(l=a.lastIndexOf("/"),l!==a.length-1){l<0?(a="",i=0):(a=a.slice(0,l),i=a.length-1-a.lastIndexOf("/")),n=o,r=0;continue}}else if(a.length>0){a="",i=0,n=o,r=0;continue}}t&&(a=a.length>0?a+"/..":"..",i=2)}else a.length>0?a+="/"+e.slice(n+1,o):a=e.slice(n+1,o),i=o-n-1;n=o,r=0}else s===46&&r>-1?r++:r=-1}return a}function k0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const GS={cwd:US};function US(){return"/"}function Tl(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function qS(e){if(typeof e=="string")e=new URL(e);else if(!Tl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return HS(e)}function HS(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let a=-1;for(;++a0){let[h,...g]=u;const m=i[f][1];ml(m)&&ml(h)&&(h=ms(!0,m,h)),i[f]=[c,h,...g]}}}}const QS=new Lu().freeze();function Es(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function bs(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ys(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function P1(e){if(!ml(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function G1(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function U0(e){return JS(e)?e:new zS(e)}function JS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function KS(e){return typeof e=="string"||XS(e)}function XS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const e6={};function t6(e,t){const a=t||e6,i=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,n=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return Ng(e,i,n)}function Ng(e,t,a){if(a6(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return U1(e.children,t,a)}return Array.isArray(e)?U1(e,t,a):""}function U1(e,t,a){const i=[];let n=-1;for(;++nn?0:n+t:t=t>n?n:t,a=a>0?a:0,i.length<1e4)o=Array.from(i),o.unshift(t,a),e.splice(...o);else for(a&&e.splice(t,a);r0?(la(e,e.length,0,t),e):t}const H1={}.hasOwnProperty;function i6(e){const t={};let a=-1;for(;++a13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function rn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const o6=ri(/\p{P}/u),aa=ri(/[A-Za-z]/),kt=ri(/[\dA-Za-z]/),s6=ri(/[#-'*+\--9=?A-Z^-~]/);function Dl(e){return e!==null&&(e<32||e===127)}const El=ri(/\d/),l6=ri(/[\dA-Fa-f]/),Og=ri(/[!-/:-@[-`{-~]/);function pe(e){return e!==null&&e<-2}function pt(e){return e!==null&&(e<0||e===32)}function Me(e){return e===-2||e===-1||e===32}function u6(e){return Og(e)||o6(e)}const d6=ri(/\s/);function ri(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function yn(e){const t=[];let a=-1,i=0,n=0;for(;++a55295&&r<57344){const s=e.charCodeAt(a+1);r<56320&&s>56319&&s<57344?(o=String.fromCharCode(r,s),n=1):o="�"}else o=String.fromCharCode(r);o&&(t.push(e.slice(i,a),encodeURIComponent(o)),i=a+n+1,o=""),n&&(a+=n,n=0)}return t.join("")+e.slice(i)}function Pe(e,t,a,i){const n=i?i-1:Number.POSITIVE_INFINITY;let r=0;return o;function o(l){return Me(l)?(e.enter(a),s(l)):t(l)}function s(l){return Me(l)&&r++o))return;const I=t.events.length;let M=I,P,_;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(P){_=t.events[M][1].end;break}P=!0}for(T(i),E=I;Ek;){const j=a[C];t.containerState=j[1],j[0].exit.call(t,e)}a.length=k}function R(){n.write([null]),r=void 0,n=void 0,t.containerState._closeFlow=void 0}}function _6(e,t,a){return Pe(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function V1(e){if(e===null||pt(e)||d6(e))return 1;if(u6(e))return 2}function Iu(e,t,a){const i=[];let n=-1;for(;++n1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const d=Object.assign({},e[i][1].end),f=Object.assign({},e[a][1].start);$1(d,-l),$1(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[i][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[a][1].start),end:f},r={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[a][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[i][1].end=Object.assign({},o.start),e[a][1].start=Object.assign({},s.end),c=[],e[i][1].end.offset-e[i][1].start.offset&&(c=Bt(c,[["enter",e[i][1],t],["exit",e[i][1],t]])),c=Bt(c,[["enter",n,t],["enter",o,t],["exit",o,t],["enter",r,t]]),c=Bt(c,Iu(t.parser.constructs.insideSpan.null,e.slice(i+1,a),t)),c=Bt(c,[["exit",r,t],["enter",s,t],["exit",s,t],["exit",n,t]]),e[a][1].end.offset-e[a][1].start.offset?(u=2,c=Bt(c,[["enter",e[a][1],t],["exit",e[a][1],t]])):u=0,la(e,i-1,a-i+3,c),a=i+c.length-u-2;break}}for(a=-1;++a0&&Me(E)?Pe(e,R,"linePrefix",r+1)(E):R(E)}function R(E){return E===null||pe(E)?e.check(W1,m,C)(E):(e.enter("codeFlowValue"),k(E))}function k(E){return E===null||pe(E)?(e.exit("codeFlowValue"),R(E)):(e.consume(E),k)}function C(E){return e.exit("codeFenced"),t(E)}function j(E,I,M){let P=0;return _;function _(Z){return E.enter("lineEnding"),E.consume(Z),E.exit("lineEnding"),D}function D(Z){return E.enter("codeFencedFence"),Me(Z)?Pe(E,S,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):S(Z)}function S(Z){return Z===s?(E.enter("codeFencedFenceSequence"),x(Z)):M(Z)}function x(Z){return Z===s?(P++,E.consume(Z),x):P>=o?(E.exit("codeFencedFenceSequence"),Me(Z)?Pe(E,L,"whitespace")(Z):L(Z)):M(Z)}function L(Z){return Z===null||pe(Z)?(E.exit("codeFencedFence"),I(Z)):M(Z)}}}function v6(e,t,a){const i=this;return n;function n(o){return o===null?a(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r)}function r(o){return i.parser.lazy[i.now().line]?a(o):t(o)}}const As={name:"codeIndented",tokenize:N6},R6={tokenize:w6,partial:!0};function N6(e,t,a){const i=this;return n;function n(c){return e.enter("codeIndented"),Pe(e,r,"linePrefix",4+1)(c)}function r(c){const u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):a(c)}function o(c){return c===null?l(c):pe(c)?e.attempt(R6,o,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||pe(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function w6(e,t,a){const i=this;return n;function n(o){return i.parser.lazy[i.now().line]?a(o):pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n):Pe(e,r,"linePrefix",4+1)(o)}function r(o){const s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):pe(o)?n(o):a(o)}}const O6={name:"codeText",tokenize:C6,resolve:x6,previous:B6};function x6(e){let t=e.length-4,a=3,i,n;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=a;++i=4?t(o):e.interrupt(i.parser.constructs.flow,a,t)(o)}}function Yg(e,t,a,i,n,r,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(T){return T===60?(e.enter(i),e.enter(n),e.enter(r),e.consume(T),e.exit(r),f):T===null||T===32||T===41||Dl(T)?a(T):(e.enter(i),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(T))}function f(T){return T===62?(e.enter(r),e.consume(T),e.exit(r),e.exit(n),e.exit(i),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===62?(e.exit("chunkString"),e.exit(s),f(T)):T===null||T===60||pe(T)?a(T):(e.consume(T),T===92?g:h)}function g(T){return T===60||T===62||T===92?(e.consume(T),h):h(T)}function m(T){return!u&&(T===null||T===41||pt(T))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(i),t(T)):u999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?a(h):h===93?(e.exit(r),e.enter(n),e.consume(h),e.exit(n),e.exit(i),t):pe(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||pe(h)||s++>999?(e.exit("chunkString"),u(h)):(e.consume(h),l||(l=!Me(h)),h===92?f:d)}function f(h){return h===91||h===92||h===93?(e.consume(h),s++,d):d(h)}}function Zg(e,t,a,i,n,r){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(i),e.enter(n),e.consume(f),e.exit(n),o=f===40?41:f,l):a(f)}function l(f){return f===o?(e.enter(n),e.consume(f),e.exit(n),e.exit(i),t):(e.enter(r),c(f))}function c(f){return f===o?(e.exit(r),l(o)):f===null?a(f):pe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Pe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||pe(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===o||f===92?(e.consume(f),u):u(f)}}function Qn(e,t){let a;return i;function i(n){return pe(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a=!0,i):Me(n)?Pe(e,i,a?"linePrefix":"lineSuffix")(n):t(n)}}const P6={name:"definition",tokenize:U6},G6={tokenize:q6,partial:!0};function U6(e,t,a){const i=this;let n;return r;function r(h){return e.enter("definition"),o(h)}function o(h){return Lg.call(i,e,s,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return n=rn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):a(h)}function l(h){return pt(h)?Qn(e,c)(h):c(h)}function c(h){return Yg(e,u,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return e.attempt(G6,d,d)(h)}function d(h){return Me(h)?Pe(e,f,"whitespace")(h):f(h)}function f(h){return h===null||pe(h)?(e.exit("definition"),i.parser.defined.push(n),t(h)):a(h)}}function q6(e,t,a){return i;function i(s){return pt(s)?Qn(e,n)(s):a(s)}function n(s){return Zg(e,r,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function r(s){return Me(s)?Pe(e,o,"whitespace")(s):o(s)}function o(s){return s===null||pe(s)?t(s):a(s)}}const H6={name:"hardBreakEscape",tokenize:z6};function z6(e,t,a){return i;function i(r){return e.enter("hardBreakEscape"),e.consume(r),n}function n(r){return pe(r)?(e.exit("hardBreakEscape"),t(r)):a(r)}}const V6={name:"headingAtx",tokenize:W6,resolve:$6};function $6(e,t){let a=e.length-2,i=3,n,r;return e[i][1].type==="whitespace"&&(i+=2),a-2>i&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace")&&(a-=i+1===a?2:4),a>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},r={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},la(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}function W6(e,t,a){let i=0;return n;function n(u){return e.enter("atxHeading"),r(u)}function r(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&i++<6?(e.consume(u),o):u===null||pt(u)?(e.exit("atxHeadingSequence"),s(u)):a(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||pe(u)?(e.exit("atxHeading"),t(u)):Me(u)?Pe(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||pt(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}const Q6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],J1=["pre","script","style","textarea"],J6={name:"htmlFlow",tokenize:tk,resolveTo:ek,concrete:!0},K6={tokenize:ik,partial:!0},X6={tokenize:ak,partial:!0};function ek(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function tk(e,t,a){const i=this;let n,r,o,s,l;return c;function c(w){return u(w)}function u(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),d}function d(w){return w===33?(e.consume(w),f):w===47?(e.consume(w),r=!0,m):w===63?(e.consume(w),n=3,i.interrupt?t:A):aa(w)?(e.consume(w),o=String.fromCharCode(w),p):a(w)}function f(w){return w===45?(e.consume(w),n=2,h):w===91?(e.consume(w),n=5,s=0,g):aa(w)?(e.consume(w),n=4,i.interrupt?t:A):a(w)}function h(w){return w===45?(e.consume(w),i.interrupt?t:A):a(w)}function g(w){const fe="CDATA[";return w===fe.charCodeAt(s++)?(e.consume(w),s===fe.length?i.interrupt?t:S:g):a(w)}function m(w){return aa(w)?(e.consume(w),o=String.fromCharCode(w),p):a(w)}function p(w){if(w===null||w===47||w===62||pt(w)){const fe=w===47,ye=o.toLowerCase();return!fe&&!r&&J1.includes(ye)?(n=1,i.interrupt?t(w):S(w)):Q6.includes(o.toLowerCase())?(n=6,fe?(e.consume(w),T):i.interrupt?t(w):S(w)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(w):r?R(w):k(w))}return w===45||kt(w)?(e.consume(w),o+=String.fromCharCode(w),p):a(w)}function T(w){return w===62?(e.consume(w),i.interrupt?t:S):a(w)}function R(w){return Me(w)?(e.consume(w),R):_(w)}function k(w){return w===47?(e.consume(w),_):w===58||w===95||aa(w)?(e.consume(w),C):Me(w)?(e.consume(w),k):_(w)}function C(w){return w===45||w===46||w===58||w===95||kt(w)?(e.consume(w),C):j(w)}function j(w){return w===61?(e.consume(w),E):Me(w)?(e.consume(w),j):k(w)}function E(w){return w===null||w===60||w===61||w===62||w===96?a(w):w===34||w===39?(e.consume(w),l=w,I):Me(w)?(e.consume(w),E):M(w)}function I(w){return w===l?(e.consume(w),l=null,P):w===null||pe(w)?a(w):(e.consume(w),I)}function M(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||pt(w)?j(w):(e.consume(w),M)}function P(w){return w===47||w===62||Me(w)?k(w):a(w)}function _(w){return w===62?(e.consume(w),D):a(w)}function D(w){return w===null||pe(w)?S(w):Me(w)?(e.consume(w),D):a(w)}function S(w){return w===45&&n===2?(e.consume(w),$):w===60&&n===1?(e.consume(w),V):w===62&&n===4?(e.consume(w),z):w===63&&n===3?(e.consume(w),A):w===93&&n===5?(e.consume(w),G):pe(w)&&(n===6||n===7)?(e.exit("htmlFlowData"),e.check(K6,re,x)(w)):w===null||pe(w)?(e.exit("htmlFlowData"),x(w)):(e.consume(w),S)}function x(w){return e.check(X6,L,re)(w)}function L(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Z}function Z(w){return w===null||pe(w)?x(w):(e.enter("htmlFlowData"),S(w))}function $(w){return w===45?(e.consume(w),A):S(w)}function V(w){return w===47?(e.consume(w),o="",y):S(w)}function y(w){if(w===62){const fe=o.toLowerCase();return J1.includes(fe)?(e.consume(w),z):S(w)}return aa(w)&&o.length<8?(e.consume(w),o+=String.fromCharCode(w),y):S(w)}function G(w){return w===93?(e.consume(w),A):S(w)}function A(w){return w===62?(e.consume(w),z):w===45&&n===2?(e.consume(w),A):S(w)}function z(w){return w===null||pe(w)?(e.exit("htmlFlowData"),re(w)):(e.consume(w),z)}function re(w){return e.exit("htmlFlow"),t(w)}}function ak(e,t,a){const i=this;return n;function n(o){return pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r):a(o)}function r(o){return i.parser.lazy[i.now().line]?a(o):t(o)}}function ik(e,t,a){return i;function i(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(Zo,t,a)}}const nk={name:"htmlText",tokenize:rk};function rk(e,t,a){const i=this;let n,r,o;return s;function s(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),l}function l(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),j):A===63?(e.consume(A),k):aa(A)?(e.consume(A),M):a(A)}function c(A){return A===45?(e.consume(A),u):A===91?(e.consume(A),r=0,g):aa(A)?(e.consume(A),R):a(A)}function u(A){return A===45?(e.consume(A),h):a(A)}function d(A){return A===null?a(A):A===45?(e.consume(A),f):pe(A)?(o=d,V(A)):(e.consume(A),d)}function f(A){return A===45?(e.consume(A),h):d(A)}function h(A){return A===62?$(A):A===45?f(A):d(A)}function g(A){const z="CDATA[";return A===z.charCodeAt(r++)?(e.consume(A),r===z.length?m:g):a(A)}function m(A){return A===null?a(A):A===93?(e.consume(A),p):pe(A)?(o=m,V(A)):(e.consume(A),m)}function p(A){return A===93?(e.consume(A),T):m(A)}function T(A){return A===62?$(A):A===93?(e.consume(A),T):m(A)}function R(A){return A===null||A===62?$(A):pe(A)?(o=R,V(A)):(e.consume(A),R)}function k(A){return A===null?a(A):A===63?(e.consume(A),C):pe(A)?(o=k,V(A)):(e.consume(A),k)}function C(A){return A===62?$(A):k(A)}function j(A){return aa(A)?(e.consume(A),E):a(A)}function E(A){return A===45||kt(A)?(e.consume(A),E):I(A)}function I(A){return pe(A)?(o=I,V(A)):Me(A)?(e.consume(A),I):$(A)}function M(A){return A===45||kt(A)?(e.consume(A),M):A===47||A===62||pt(A)?P(A):a(A)}function P(A){return A===47?(e.consume(A),$):A===58||A===95||aa(A)?(e.consume(A),_):pe(A)?(o=P,V(A)):Me(A)?(e.consume(A),P):$(A)}function _(A){return A===45||A===46||A===58||A===95||kt(A)?(e.consume(A),_):D(A)}function D(A){return A===61?(e.consume(A),S):pe(A)?(o=D,V(A)):Me(A)?(e.consume(A),D):P(A)}function S(A){return A===null||A===60||A===61||A===62||A===96?a(A):A===34||A===39?(e.consume(A),n=A,x):pe(A)?(o=S,V(A)):Me(A)?(e.consume(A),S):(e.consume(A),L)}function x(A){return A===n?(e.consume(A),n=void 0,Z):A===null?a(A):pe(A)?(o=x,V(A)):(e.consume(A),x)}function L(A){return A===null||A===34||A===39||A===60||A===61||A===96?a(A):A===47||A===62||pt(A)?P(A):(e.consume(A),L)}function Z(A){return A===47||A===62||pt(A)?P(A):a(A)}function $(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):a(A)}function V(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),y}function y(A){return Me(A)?Pe(e,G,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):G(A)}function G(A){return e.enter("htmlTextData"),o(A)}}const ju={name:"labelEnd",tokenize:ck,resolveTo:dk,resolveAll:uk},ok={tokenize:hk},sk={tokenize:fk},lk={tokenize:gk};function uk(e){let t=-1;for(;++t=3&&(c===null||pe(c))?(e.exit("thematicBreak"),t(c)):a(c)}function l(c){return c===n?(e.consume(c),i++,l):(e.exit("thematicBreakSequence"),Me(c)?Pe(e,s,"whitespace")(c):s(c))}}const gt={name:"list",tokenize:yk,continuation:{tokenize:Ak},exit:kk},Ek={tokenize:vk,partial:!0},bk={tokenize:Sk,partial:!0};function yk(e,t,a){const i=this,n=i.events[i.events.length-1];let r=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,o=0;return s;function s(h){const g=i.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!i.containerState.marker||h===i.containerState.marker:El(h)){if(i.containerState.type||(i.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(ur,a,c)(h):c(h);if(!i.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return a(h)}function l(h){return El(h)&&++o<10?(e.consume(h),l):(!i.interrupt||o<2)&&(i.containerState.marker?h===i.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):a(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||h,e.check(Zo,i.interrupt?a:u,e.attempt(Ek,f,d))}function u(h){return i.containerState.initialBlankLine=!0,r++,f(h)}function d(h){return Me(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),f):a(h)}function f(h){return i.containerState.size=r+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function Ak(e,t,a){const i=this;return i.containerState._closeFlow=void 0,e.check(Zo,n,r);function n(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Pe(e,t,"listItemIndent",i.containerState.size+1)(s)}function r(s){return i.containerState.furtherBlankLines||!Me(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,o(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(bk,t,o)(s))}function o(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,Pe(e,e.attempt(gt,t,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Sk(e,t,a){const i=this;return Pe(e,n,"listItemIndent",i.containerState.size+1);function n(r){const o=i.events[i.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===i.containerState.size?t(r):a(r)}}function kk(e){e.exit(this.containerState.type)}function vk(e,t,a){const i=this;return Pe(e,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function n(r){const o=i.events[i.events.length-1];return!Me(r)&&o&&o[1].type==="listItemPrefixWhitespace"?t(r):a(r)}}const K1={name:"setextUnderline",tokenize:Nk,resolveTo:Rk};function Rk(e,t){let a=e.length,i,n,r;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}e[a][1].type==="paragraph"&&(n=a)}else e[a][1].type==="content"&&e.splice(a,1),!r&&e[a][1].type==="definition"&&(r=a);const o={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",r?(e.splice(n,0,["enter",o,t]),e.splice(r+1,0,["exit",e[i][1],t]),e[i][1].end=Object.assign({},e[r][1].end)):e[i][1]=o,e.push(["exit",o,t]),e}function Nk(e,t,a){const i=this;let n;return r;function r(c){let u=i.events.length,d;for(;u--;)if(i.events[u][1].type!=="lineEnding"&&i.events[u][1].type!=="linePrefix"&&i.events[u][1].type!=="content"){d=i.events[u][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||d)?(e.enter("setextHeadingLine"),n=c,o(c)):a(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===n?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Me(c)?Pe(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||pe(c)?(e.exit("setextHeadingLine"),t(c)):a(c)}}const wk={tokenize:Ok};function Ok(e){const t=this,a=e.attempt(Zo,i,e.attempt(this.parser.constructs.flowInitial,n,Pe(e,e.attempt(this.parser.constructs.flow,n,e.attempt(Y6,n)),"linePrefix")));return a;function i(r){if(r===null){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function n(r){if(r===null){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const xk={resolveAll:jg()},Bk=Ig("string"),Ck=Ig("text");function Ig(e){return{tokenize:t,resolveAll:jg(e==="text"?Mk:void 0)};function t(a){const i=this,n=this.parser.constructs[e],r=a.attempt(n,o,s);return o;function o(u){return c(u)?r(u):s(u)}function s(u){if(u===null){a.consume(u);return}return a.enter("data"),a.consume(u),l}function l(u){return c(u)?(a.exit("data"),r(u)):(a.consume(u),l)}function c(u){if(u===null)return!0;const d=n[u];let f=-1;if(d)for(;++f-1){const s=o[0];typeof s=="string"?o[0]=s.slice(i):o.shift()}r>0&&o.push(e[n].slice(0,r))}return o}function Zk(e,t){let a=-1;const i=[];let n;for(;++a0){const N=q.tokenStack[q.tokenStack.length-1];(N[1]||ec).call(q,void 0,N[0])}for(W.position={start:xa(U.length>0?U[0][1].start:{line:1,column:1,offset:0}),end:xa(U.length>0?U[U.length-2][1].end:{line:1,column:1,offset:0})},b=-1;++b0?{type:"text",value:C}:void 0),C===!1?d.lastIndex=R+1:(h!==R&&p.push({type:"text",value:l.value.slice(h,R)}),Array.isArray(C)?p.push(...C):C&&p.push(C),h=R+T[0].length,m=!0),!d.global)break;T=d.exec(l.value)}return m?(h0&&a.push({type:"text",value:` `}),a}function sc(e){let t=0,a=e.charCodeAt(t);for(;a===9||a===32;)t++,a=e.charCodeAt(t);return e.slice(t)}function lc(e,t){const a=$v(e,t),i=a.one(e,void 0),n=zv(a),r=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return n&&r.children.push({type:"text",value:` `},n),r}function Xv(e,t){return e&&"run"in e?async function(a,i){const n=lc(a,t);await e.run(n,i)}:function(a){return lc(a,t||e)}}class Jn{constructor(t,a,i){this.property=t,this.normal=a,i&&(this.space=i)}}Jn.prototype.property={},Jn.prototype.normal={},Jn.prototype.space=null;function Jg(e,t){const a={},i={};let n=-1;for(;++n4&&a.slice(0,4)==="data"&&nR.test(t)){if(t.charAt(4)==="-"){const r=t.slice(5).replace(dc,lR);i="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=t.slice(4);if(!dc.test(r)){let o=r.replace(rR,sR);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}n=Hu}return new n(i,t)}function sR(e){return"-"+e.toLowerCase()}function lR(e){return e.charAt(1).toUpperCase()}const uR={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},dR=Jg([e_,Xg,i_,n_,aR],"html"),r_=Jg([e_,Xg,i_,n_,iR],"svg");function cR(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function hR(e){return e.join(" ").trim()}function fR(e,t){const a=t||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var kl={exports:{}},cc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,gR=/\n/g,_R=/^\s*/,FR=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,mR=/^:\s*/,pR=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,TR=/^[;\s]*/,DR=/^\s+|\s+$/g,ER=` -`,hc="/",fc="*",mi="",bR="comment",yR="declaration",AR=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,i=1;function n(g){var m=g.match(gR);m&&(a+=m.length);var p=g.lastIndexOf(ER);i=~p?g.length-p:i+g.length}function r(){var g={line:a,column:i};return function(m){return m.position=new o(g),c(),m}}function o(g){this.start=g,this.end={line:a,column:i},this.source=t.source}o.prototype.content=e;function s(g){var m=new Error(t.source+":"+a+":"+i+": "+g);if(m.reason=g,m.filename=t.source,m.line=a,m.column=i,m.source=e,!t.silent)throw m}function l(g){var m=g.exec(e);if(m){var p=m[0];return n(p),e=e.slice(p.length),m}}function c(){l(_R)}function u(g){var m;for(g=g||[];m=d();)m!==!1&&g.push(m);return g}function d(){var g=r();if(!(hc!=e.charAt(0)||fc!=e.charAt(1))){for(var m=2;mi!=e.charAt(m)&&(fc!=e.charAt(m)||hc!=e.charAt(m+1));)++m;if(m+=2,mi===e.charAt(m-1))return s("End of comment missing");var p=e.slice(2,m-2);return i+=2,n(p),e=e.slice(m),i+=2,g({type:bR,comment:p})}}function f(){var g=r(),m=l(FR);if(m){if(d(),!l(mR))return s("property missing ':'");var p=l(pR),T=g({type:yR,property:gc(m[0].replace(cc,mi)),value:p?gc(p[0].replace(cc,mi)):mi});return l(TR),T}}function h(){var g=[];u(g);for(var m;m=f();)m!==!1&&(g.push(m),u(g));return g}return c(),h()};function gc(e){return e?e.replace(DR,mi):mi}var SR=AR;function _c(e,t){var a=null;if(!e||typeof e!="string")return a;for(var i,n=SR(e),r=typeof t=="function",o,s,l=0,c=n.length;l0?e.call(t,r,o,s):e.call(t,r,o)}function OR(e,t,a,i,n){const r=oR(i.schema,t);let o;a==null||typeof a=="number"&&Number.isNaN(a)||a===!1&&(i.vue||i.vdom||i.hyperscript)||!a&&r.boolean&&(i.vue||i.vdom||i.hyperscript)||(Array.isArray(a)&&(a=r.commaSeparated?fR(a):hR(a)),r.boolean&&i.hyperscript&&(a=""),r.property==="style"&&typeof a=="string"&&(i.react||i.vue||i.vdom)&&(a=YR(a,n)),i.vue?r.property!=="style"&&(o="attrs"):r.mustUseProperty||(i.vdom?r.property!=="style"&&(o="attributes"):i.hyperscript&&(o="attrs")),o?e[o]=Object.assign(e[o]||{},{[r.attribute]:a}):r.space&&i.react?e[uR[r.property]||r.property]=a:e[r.attribute]=a)}function xR(e){const t=e("div",{});return!!(t&&("_owner"in t||"_store"in t)&&(t.key===void 0||t.key===null))}function BR(e){return"context"in e&&"cleanup"in e}function CR(e){return e("div",{}).type==="VirtualNode"}function MR(e){const t=e("div",{});return!!(t&&t.context&&t.context._isVue)}function YR(e,t){const a={};try{vR(e,(i,n)=>{i.slice(0,4)==="-ms-"&&(i="ms-"+i.slice(4)),a[i.replace(/-([a-z])/g,(r,o)=>o.toUpperCase())]=n})}catch(i){const n=i;throw n.message=t+"[style]"+n.message.slice(9),n}return a}var LR=s_;function s_(e){if(typeof e=="string")return PR(e);if(e==null)return GR;if(typeof e=="object")return("length"in e?jR:IR)(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function ZR(e){for(var t=[],a=e.length,i=-1;++ic&&d!t9(l))),e.components&&a9.call(e.components,r)){const l=e.components[r];return e.passNode&&typeof l=="function"&&(o=Object.assign({node:this},o)),t(l,o,s)}return t(r,o,s)}}const d_=function(e){if(e==null)return s9;if(typeof e=="string")return o9(e);if(typeof e=="object")return r9(e);if(typeof e=="function")return zu(e);throw new Error("Expected function, string, or array as `test`")};function r9(e){const t=[];let a=-1;for(;++a0&&(r.properties.rel=[...f]),h&&(r.properties.target=h),u){const m=wn(t.contentProperties,r)||{};r.children.push({type:"element",tagName:"span",properties:yi(m),children:yi(u)})}}}})}}function wn(e,t){return typeof e=="function"?e(t):e}const mc=/(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig,pc=/(\s|\(|^)((https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig,F9={name:"NcReferenceList",components:{NcReferenceWidget:yg},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data(){return{references:null,loading:!0}},computed:{isVisible(){return this.loading||this.displayedReferences},values(){return this.referenceData?this.referenceData:this.references?Object.values(this.references):[]},firstReference(){var e;return(e=this.values[0])!=null?e:null},displayedReferences(){return this.values.slice(0,this.limit)}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){if(this.loading=!0,this.referenceData){this.loading=!1;return}if(!new RegExp(mc).exec(this.text)){this.loading=!1;return}this.resolve().then(e=>{this.references=e.data.ocs.data.references,this.loading=!1}).catch(e=>{console.error("Failed to extract references",e),this.loading=!1})},resolve(){const e=new RegExp(mc).exec(this.text.trim());return this.limit===1&&e?Wa.get($a("references/resolve",2)+`?reference=${encodeURIComponent(e[0])}`):Wa.post($a("references/extract",2),{text:this.text,resolve:!0,limit:this.limit})}}};var m9=function(){var e=this,t=e._self._c;return e.isVisible?t("div",{staticClass:"widgets--list",class:{"icon-loading":e.loading}},e._l(e.displayedReferences,function(a){var i;return t("div",{key:(i=a?.openGraphObject)==null?void 0:i.id},[t("NcReferenceWidget",{attrs:{reference:a}})],1)}),0):e._e()},p9=[],T9=de(F9,m9,p9,!1,null,"bd1fbb02",null,null);const Rs=T9.exports,D9={name:"NcLink",props:{href:{type:String,required:!0}},render(e){return e("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},E9=function({autolink:e,useMarkdown:t}){return function(a){!t||!e||Lo(a,i=>i.type==="text",(i,n,r)=>{let o=c_(i.value);return o=o.map(s=>typeof s=="string"?$n("text",s):$n("link",{url:s.props.href},[$n("text",s.props.href)])).filter(s=>s),r.children.splice(n,1,...o.flat()),[kg,n+o.flat().length]})}},c_=e=>{let t=pc.exec(e);const a=[];let i=0;for(;t!==null;){let r=t[2],o,s=e.substring(i,t.index+t[1].length);r[0]===" "&&(s+=r[0],r=r.substring(1).trim());const l=r[r.length-1];(l==="."||l===","||l===";"||t[0][0]==="("&&l===")")&&(r=r.substring(0,r.length-1),o=l),a.push(s),a.push({component:D9,props:{href:r}}),o&&a.push(o),i=t.index+t[0].length,t=pc.exec(e)}a.push(e.substring(i));const n=a.map(r=>typeof r=="string"?r:r.props.href).join("");return e===n?a:(console.error("Failed to reassemble the chunked text: "+e),e)},b9=function(){return function(e){Lo(e,a=>a.type==="text",t);function t(a,i,n){const r=a.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((o,s,l)=>{const c=o.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!c)return $n("text",o);const[,u]=c;return $n("element",{tagName:`#${u}`})});n.children.splice(i,1,...r)}}},y9=({h:e,context:t},a)=>(t.autolink&&(a=c_(a)),Array.isArray(a)?a.map(i=>{if(typeof i=="string")return i;const{component:n,props:r}=i,o=n.name==="NcLink"?void 0:"rich-text--component";return e(n,{props:r,class:o})}):a),A9={name:"NcRichText",components:{NcReferenceList:Rs},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},references:{type:Object,default:null},markdownCssClasses:{type:Object,default:()=>({a:"rich-text--external-link",ol:"rich-text--ordered-list",ul:"rich-text--un-ordered-list",li:"rich-text--list-item",strong:"rich-text--strong",em:"rich-text--italic",h1:"rich-text--heading rich-text--heading-1",h2:"rich-text--heading rich-text--heading-2",h3:"rich-text--heading rich-text--heading-3",h4:"rich-text--heading rich-text--heading-4",h5:"rich-text--heading rich-text--heading-5",h6:"rich-text--heading rich-text--heading-6",hr:"rich-text--hr",table:"rich-text--table",pre:"rich-text--pre",code:"rich-text--code",blockquote:"rich-text--blockquote"})},useMarkdown:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},methods:{renderPlaintext(e){const t=this,a=this.text.split(/(\{[a-z\-_.0-9]+\})/ig).map(function(i,n,r){const o=i.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!o)return y9({h:e,context:t},i);const s=o[1],l=t.arguments[s];if(typeof l=="object"){const{component:c,props:u}=l;return e(c,{props:u,class:"rich-text--component"})}return l?e("span",{class:"rich-text--fallback"},l):i});return e("div",{class:"rich-text--wrapper"},[e("div",{},a.flat()),this.referenceLimit>0?e("div",{class:"rich-text--reference-widget"},[e(Rs,{props:{text:this.text,referenceData:this.references}})]):null])},renderMarkdown(e){const t=QS().use(nv).use(E9,{autolink:this.autolink,useMarkdown:this.useMarkdown}).use(hv).use(Xv,{handlers:{component(a,i){return a(i,i.component,{value:i.value})}}}).use(b9).use(_9,{target:"_blank",rel:["noopener noreferrer"]}).use(n9,{createElement:(a,i,n)=>{if(n=n?.map(o=>typeof o=="string"?o.replace(/</gmi,"<"):o),!a.startsWith("#"))return e(a,i,n);const r=this.arguments[a.slice(1)];return r?r.component?e(r.component,{attrs:i,props:r.props,class:"rich-text--component"},n):e("span",i,[r]):e("span",{attrs:i,class:"rich-text--fallback"},[`{${a.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/")).result;return e("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[t,this.referenceLimit>0?e("div",{class:"rich-text--reference-widget"},[e(Rs,{props:{text:this.text,referenceData:this.references}})]):null])}},render(e){return this.useMarkdown?this.renderMarkdown(e):this.renderPlaintext(e)}},S9=null,k9=null;var v9=de(A9,S9,k9,!1,null,"5f33f45b",null,null);const h_=v9.exports;const R9={name:"NcActionButton",components:{ChevronRightIcon:bg},mixins:[Uf],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{disabled:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},isMenu:{type:Boolean,default:!1}},computed:{isFocusable(){return!this.disabled}}};var N9=function(){var e=this,t=e._self._c;return t("li",{staticClass:"action",class:{"action--disabled":e.disabled},attrs:{role:e.isInSemanticMenu&&"presentation"}},[t("button",{staticClass:"action-button",class:{focusable:e.isFocusable},attrs:{"aria-label":e.ariaLabel,title:e.title,role:e.isInSemanticMenu&&"menuitem",type:"button"},on:{click:e.onClick}},[e._t("icon",function(){return[t("span",{staticClass:"action-button__icon",class:[e.isIconUrl?"action-button__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?`url(${e.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e.name?t("span",{staticClass:"action-button__longtext-wrapper"},[t("strong",{staticClass:"action-button__name"},[e._v(" "+e._s(e.name)+" ")]),t("br"),t("span",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?t("span",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-button__text"},[e._v(e._s(e.text))]),e.isMenu?t("ChevronRightIcon",{staticClass:"action-button__menu-icon"}):e._e(),e._e()],2)])},w9=[],O9=de(R9,N9,w9,!1,null,"7e49b418",null,null);const x9=O9.exports;const f_=dF.getLoggerBuilder().detectUser().setApp("@nextcloud/vue").build();var g_={exports:{}};(function(e){var t;(function(){t=e.exports})(),t.foldLength=75,t.newLineChar=`\r +`,hc="/",fc="*",mi="",bR="comment",yR="declaration",AR=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,i=1;function n(g){var m=g.match(gR);m&&(a+=m.length);var p=g.lastIndexOf(ER);i=~p?g.length-p:i+g.length}function r(){var g={line:a,column:i};return function(m){return m.position=new o(g),c(),m}}function o(g){this.start=g,this.end={line:a,column:i},this.source=t.source}o.prototype.content=e;function s(g){var m=new Error(t.source+":"+a+":"+i+": "+g);if(m.reason=g,m.filename=t.source,m.line=a,m.column=i,m.source=e,!t.silent)throw m}function l(g){var m=g.exec(e);if(m){var p=m[0];return n(p),e=e.slice(p.length),m}}function c(){l(_R)}function u(g){var m;for(g=g||[];m=d();)m!==!1&&g.push(m);return g}function d(){var g=r();if(!(hc!=e.charAt(0)||fc!=e.charAt(1))){for(var m=2;mi!=e.charAt(m)&&(fc!=e.charAt(m)||hc!=e.charAt(m+1));)++m;if(m+=2,mi===e.charAt(m-1))return s("End of comment missing");var p=e.slice(2,m-2);return i+=2,n(p),e=e.slice(m),i+=2,g({type:bR,comment:p})}}function f(){var g=r(),m=l(FR);if(m){if(d(),!l(mR))return s("property missing ':'");var p=l(pR),T=g({type:yR,property:gc(m[0].replace(cc,mi)),value:p?gc(p[0].replace(cc,mi)):mi});return l(TR),T}}function h(){var g=[];u(g);for(var m;m=f();)m!==!1&&(g.push(m),u(g));return g}return c(),h()};function gc(e){return e?e.replace(DR,mi):mi}var SR=AR;function _c(e,t){var a=null;if(!e||typeof e!="string")return a;for(var i,n=SR(e),r=typeof t=="function",o,s,l=0,c=n.length;l0?e.call(t,r,o,s):e.call(t,r,o)}function OR(e,t,a,i,n){const r=oR(i.schema,t);let o;a==null||typeof a=="number"&&Number.isNaN(a)||a===!1&&(i.vue||i.vdom||i.hyperscript)||!a&&r.boolean&&(i.vue||i.vdom||i.hyperscript)||(Array.isArray(a)&&(a=r.commaSeparated?fR(a):hR(a)),r.boolean&&i.hyperscript&&(a=""),r.property==="style"&&typeof a=="string"&&(i.react||i.vue||i.vdom)&&(a=YR(a,n)),i.vue?r.property!=="style"&&(o="attrs"):r.mustUseProperty||(i.vdom?r.property!=="style"&&(o="attributes"):i.hyperscript&&(o="attrs")),o?e[o]=Object.assign(e[o]||{},{[r.attribute]:a}):r.space&&i.react?e[uR[r.property]||r.property]=a:e[r.attribute]=a)}function xR(e){const t=e("div",{});return!!(t&&("_owner"in t||"_store"in t)&&(t.key===void 0||t.key===null))}function BR(e){return"context"in e&&"cleanup"in e}function CR(e){return e("div",{}).type==="VirtualNode"}function MR(e){const t=e("div",{});return!!(t&&t.context&&t.context._isVue)}function YR(e,t){const a={};try{vR(e,(i,n)=>{i.slice(0,4)==="-ms-"&&(i="ms-"+i.slice(4)),a[i.replace(/-([a-z])/g,(r,o)=>o.toUpperCase())]=n})}catch(i){const n=i;throw n.message=t+"[style]"+n.message.slice(9),n}return a}var LR=s_;function s_(e){if(typeof e=="string")return PR(e);if(e==null)return GR;if(typeof e=="object")return("length"in e?jR:IR)(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function ZR(e){for(var t=[],a=e.length,i=-1;++ic&&d!t9(l))),e.components&&a9.call(e.components,r)){const l=e.components[r];return e.passNode&&typeof l=="function"&&(o=Object.assign({node:this},o)),t(l,o,s)}return t(r,o,s)}}const d_=function(e){if(e==null)return s9;if(typeof e=="string")return o9(e);if(typeof e=="object")return r9(e);if(typeof e=="function")return zu(e);throw new Error("Expected function, string, or array as `test`")};function r9(e){const t=[];let a=-1;for(;++a0&&(r.properties.rel=[...f]),h&&(r.properties.target=h),u){const m=wn(t.contentProperties,r)||{};r.children.push({type:"element",tagName:"span",properties:yi(m),children:yi(u)})}}}})}}function wn(e,t){return typeof e=="function"?e(t):e}const mc=/(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig,pc=/(\s|\(|^)((https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig,F9={name:"NcReferenceList",components:{NcReferenceWidget:yg},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data(){return{references:null,loading:!0}},computed:{isVisible(){return this.loading||this.displayedReferences},values(){return this.referenceData?this.referenceData:this.references?Object.values(this.references):[]},firstReference(){var e;return(e=this.values[0])!=null?e:null},displayedReferences(){return this.values.slice(0,this.limit)}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){if(this.loading=!0,this.referenceData){this.loading=!1;return}if(!new RegExp(mc).exec(this.text)){this.loading=!1;return}this.resolve().then(e=>{this.references=e.data.ocs.data.references,this.loading=!1}).catch(e=>{console.error("Failed to extract references",e),this.loading=!1})},resolve(){const e=new RegExp(mc).exec(this.text.trim());return this.limit===1&&e?Wa.get($a("references/resolve",2)+`?reference=${encodeURIComponent(e[0])}`):Wa.post($a("references/extract",2),{text:this.text,resolve:!0,limit:this.limit})}}};var m9=function(){var e=this,t=e._self._c;return e.isVisible?t("div",{staticClass:"widgets--list",class:{"icon-loading":e.loading}},e._l(e.displayedReferences,function(a){var i;return t("div",{key:(i=a?.openGraphObject)==null?void 0:i.id},[t("NcReferenceWidget",{attrs:{reference:a}})],1)}),0):e._e()},p9=[],T9=de(F9,m9,p9,!1,null,"bd1fbb02",null,null);const Rs=T9.exports,D9={name:"NcLink",props:{href:{type:String,required:!0}},render(e){return e("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},E9=function({autolink:e,useMarkdown:t}){return function(a){!t||!e||Lo(a,i=>i.type==="text",(i,n,r)=>{let o=c_(i.value);return o=o.map(s=>typeof s=="string"?$n("text",s):$n("link",{url:s.props.href},[$n("text",s.props.href)])).filter(s=>s),r.children.splice(n,1,...o.flat()),[kg,n+o.flat().length]})}},c_=e=>{let t=pc.exec(e);const a=[];let i=0;for(;t!==null;){let r=t[2],o,s=e.substring(i,t.index+t[1].length);r[0]===" "&&(s+=r[0],r=r.substring(1).trim());const l=r[r.length-1];(l==="."||l===","||l===";"||t[0][0]==="("&&l===")")&&(r=r.substring(0,r.length-1),o=l),a.push(s),a.push({component:D9,props:{href:r}}),o&&a.push(o),i=t.index+t[0].length,t=pc.exec(e)}a.push(e.substring(i));const n=a.map(r=>typeof r=="string"?r:r.props.href).join("");return e===n?a:(console.error("Failed to reassemble the chunked text: "+e),e)},b9=function(){return function(e){Lo(e,a=>a.type==="text",t);function t(a,i,n){const r=a.value.split(/(\{[a-z\-_.0-9]+\})/ig).map((o,s,l)=>{const c=o.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!c)return $n("text",o);const[,u]=c;return $n("element",{tagName:`#${u}`})});n.children.splice(i,1,...r)}}},y9=({h:e,context:t},a)=>(t.autolink&&(a=c_(a)),Array.isArray(a)?a.map(i=>{if(typeof i=="string")return i;const{component:n,props:r}=i,o=n.name==="NcLink"?void 0:"rich-text--component";return e(n,{props:r,class:o})}):a),A9={name:"NcRichText",components:{NcReferenceList:Rs},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},references:{type:Object,default:null},markdownCssClasses:{type:Object,default:()=>({a:"rich-text--external-link",ol:"rich-text--ordered-list",ul:"rich-text--un-ordered-list",li:"rich-text--list-item",strong:"rich-text--strong",em:"rich-text--italic",h1:"rich-text--heading rich-text--heading-1",h2:"rich-text--heading rich-text--heading-2",h3:"rich-text--heading rich-text--heading-3",h4:"rich-text--heading rich-text--heading-4",h5:"rich-text--heading rich-text--heading-5",h6:"rich-text--heading rich-text--heading-6",hr:"rich-text--hr",table:"rich-text--table",pre:"rich-text--pre",code:"rich-text--code",blockquote:"rich-text--blockquote"})},useMarkdown:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},methods:{renderPlaintext(e){const t=this,a=this.text.split(/(\{[a-z\-_.0-9]+\})/ig).map(function(i,n,r){const o=i.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!o)return y9({h:e,context:t},i);const s=o[1],l=t.arguments[s];if(typeof l=="object"){const{component:c,props:u}=l;return e(c,{props:u,class:"rich-text--component"})}return l?e("span",{class:"rich-text--fallback"},l):i});return e("div",{class:"rich-text--wrapper"},[e("div",{},a.flat()),this.referenceLimit>0?e("div",{class:"rich-text--reference-widget"},[e(Rs,{props:{text:this.text,referenceData:this.references}})]):null])},renderMarkdown(e){const t=QS().use(nv).use(E9,{autolink:this.autolink,useMarkdown:this.useMarkdown}).use(hv).use(Xv,{handlers:{component(a,i){return a(i,i.component,{value:i.value})}}}).use(b9).use(_9,{target:"_blank",rel:["noopener noreferrer"]}).use(n9,{createElement:(a,i,n)=>{if(n=n?.map(o=>typeof o=="string"?o.replace(/</gmi,"<"):o),!a.startsWith("#"))return e(a,i,n);const r=this.arguments[a.slice(1)];return r?r.component?e(r.component,{attrs:i,props:r.props,class:"rich-text--component"},n):e("span",i,[r]):e("span",{attrs:i,class:"rich-text--fallback"},[`{${a.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/")).result;return e("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[t,this.referenceLimit>0?e("div",{class:"rich-text--reference-widget"},[e(Rs,{props:{text:this.text,referenceData:this.references}})]):null])}},render(e){return this.useMarkdown?this.renderMarkdown(e):this.renderPlaintext(e)}},S9=null,k9=null;var v9=de(A9,S9,k9,!1,null,"5f33f45b",null,null);const h_=v9.exports;const R9={name:"NcActionButton",components:{ChevronRightIcon:bg},mixins:[Uf],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{disabled:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},isMenu:{type:Boolean,default:!1}},computed:{isFocusable(){return!this.disabled}}};var N9=function(){var e=this,t=e._self._c;return t("li",{staticClass:"action",class:{"action--disabled":e.disabled},attrs:{role:e.isInSemanticMenu&&"presentation"}},[t("button",{staticClass:"action-button button-vue",class:{focusable:e.isFocusable},attrs:{"aria-label":e.ariaLabel,title:e.title,role:e.isInSemanticMenu&&"menuitem",type:"button"},on:{click:e.onClick}},[e._t("icon",function(){return[t("span",{staticClass:"action-button__icon",class:[e.isIconUrl?"action-button__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?`url(${e.icon})`:null},attrs:{"aria-hidden":"true"}})]}),e.name?t("span",{staticClass:"action-button__longtext-wrapper"},[t("strong",{staticClass:"action-button__name"},[e._v(" "+e._s(e.name)+" ")]),t("br"),t("span",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?t("span",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-button__text"},[e._v(e._s(e.text))]),e.isMenu?t("ChevronRightIcon",{staticClass:"action-button__menu-icon"}):e._e(),e._e()],2)])},w9=[],O9=de(R9,N9,w9,!1,null,"41ba401e",null,null);const x9=O9.exports;const f_=dF.getLoggerBuilder().detectUser().setApp("@nextcloud/vue").build();var g_={exports:{}};(function(e){var t;(function(){t=e.exports})(),t.foldLength=75,t.newLineChar=`\r `,t.helpers={updateTimezones:function(a){var i,n,r,o,s,l;if(!a||a.name!=="vcalendar")return a;for(i=a.getAllSubcomponents(),n=[],r={},s=0;s"u"))return a instanceof i?a:new i(a)},unescapedIndexOf:function(a,i,n){for(;(n=a.indexOf(i,n))!==-1;)if(n>0&&a[n-1]==="\\")n+=1;else return n;return-1},binsearchInsert:function(a,i,n){if(!a.length)return 0;for(var r=0,o=a.length-1,s,l;r<=o;)if(s=r+Math.floor((o-r)/2),l=n(i,a[s]),l<0)o=s-1;else if(l>0)r=s+1;else break;return l<0?s:l>0?s+1:s},dumpn:function(){t.debug&&(typeof console<"u"&&"log"in console?t.helpers.dumpn=function(a){console.log(a)}:t.helpers.dumpn=function(a){dump(a+` `)},t.helpers.dumpn(arguments[0]))},clone:function(a,i){if(!a||typeof a!="object")return a;if(a instanceof Date)return new Date(a.getTime());if("clone"in a)return a.clone();if(Array.isArray(a)){for(var n=[],r=0;r65535?2:1:(i+=t.newLineChar+" "+n.substring(0,r),n=n.substring(r),r=o=0)}return i.substr(t.newLineChar.length+1)},pad2:function(a){typeof a!="string"&&(typeof a=="number"&&(a=parseInt(a)),a=String(a));var i=a.length;switch(i){case 0:return"00";case 1:return"0"+a;default:return a}},trunc:function(a){return a<0?Math.ceil(a):Math.floor(a)},inherits:function(a,i,n){function r(){}r.prototype=a.prototype,i.prototype=new r,n&&t.helpers.extend(n,i.prototype)},extend:function(a,i){for(var n in a){var r=Object.getOwnPropertyDescriptor(a,n);r&&!Object.getOwnPropertyDescriptor(i,n)&&Object.defineProperty(i,n,r)}return i}},t.design=function(){var a=/\\\\|\\;|\\,|\\[Nn]/g,i=/\\|;|,|\n/g,n=/\\\\|\\,|\\[Nn]/g,r=/\\|,|\n/g;function o(y,G){var A={matches:/.*/,fromICAL:function(z,re){return R(z,y,re)},toICAL:function(z,re){var w=G;return re&&(w=new RegExp(w.source+"|"+re)),z.replace(w,function(fe){switch(fe){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case` `:return"\\n";default:return fe}})}};return A}var s={defaultType:"text"},l={defaultType:"text",multiValue:","},c={defaultType:"text",structuredValue:";"},u={defaultType:"integer"},d={defaultType:"date-time",allowedTypes:["date-time","date"]},f={defaultType:"date-time"},h={defaultType:"uri"},g={defaultType:"utc-offset"},m={defaultType:"recur"},p={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function T(y){switch(y){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return` @@ -8239,7 +8239,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `+e._s(i.text)+` `)])}),0)},GO=[],UO=void 0,qO=void 0,HO=void 0,zO=!1,VO=jt({render:PO,staticRenderFns:GO},UO,jO,qO,zO,HO,!1,void 0,void 0,void 0),$O={name:"TimePanel",components:{ListColumns:LO,ListOptions:VO},inject:{getLocale:{default:function(){return pn}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},format:{default:"HH:mm:ss"},timeTitleFormat:{type:String,default:"YYYY-MM-DD"},showTimeHeader:{type:Boolean,default:!1},disabledTime:{type:Function,default:function(){return!1}},timePickerOptions:{type:[Object,Function],default:function(){return null}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12h:{type:Boolean,default:void 0},scrollDuration:{type:Number,default:100}},data:function(){return{innerValue:_n(this.value,this.defaultValue)}},computed:{title:function(){var e=this.timeTitleFormat,t=new Date(this.innerValue);return this.formatDate(t,e)},innerForamt:function(){return typeof this.format=="string"?this.format:"HH:mm:ss"},ShowHourMinuteSecondAMPM:function(){var e=this,t=this.innerForamt,a={showHour:/[HhKk]/.test(t),showMinute:/m/.test(t),showSecond:/s/.test(t),use12h:/a/i.test(t)},i={};return Object.keys(a).forEach(function(n){i[n]=typeof e[n]=="boolean"?e[n]:a[n]}),i}},watch:{value:{immediate:!0,handler:function(){this.innerValue=_n(this.value,this.defaultValue)}}},methods:{formatDate:function(e,t){return Ho(e,t,{locale:this.getLocale().formatLocale})},isDisabledTime:function(e){return this.disabledTime(new Date(e))},isDisabledHour:function(e){var t=new Date(e);return this.isDisabledTime(t)&&this.isDisabledTime(t.setMinutes(0,0,0))&&this.isDisabledTime(t.setMinutes(59,59,999))},isDisabledMinute:function(e){var t=new Date(e);return this.isDisabledTime(t)&&this.isDisabledTime(t.setSeconds(0,0))&&this.isDisabledTime(t.setSeconds(59,999))},isDisabledAMPM:function(e){var t=new Date(e),a=t.getHours()<12?0:12,i=a+11;return this.isDisabledTime(t)&&this.isDisabledTime(t.setHours(a,0,0,0))&&this.isDisabledTime(t.setHours(i,59,59,999))},isDisabled:function(e,t){return t==="hour"?this.isDisabledHour(e):t==="minute"?this.isDisabledMinute(e):t==="ampm"?this.isDisabledAMPM(e):this.isDisabledTime(e)},handleSelect:function(e,t){var a=new Date(e);this.isDisabled(e,t)||(this.innerValue=a,this.isDisabledTime(a)||this.$emit("select",a,t))},handleClickTitle:function(){this.$emit("clicktitle")},getClasses:function(e,t){var a=new Date(e);return this.isDisabled(e,t)?"disabled":a.getTime()===this.innerValue.getTime()?"active":""}}},WO=$O,QO=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.prefixClass+"-time"},[e.showTimeHeader?a("div",{class:e.prefixClass+"-time-header"},[a("button",{class:e.prefixClass+"-btn "+e.prefixClass+"-btn-text "+e.prefixClass+"-time-header-title",attrs:{type:"button"},on:{click:e.handleClickTitle}},[e._v(` `+e._s(e.title)+` - `)])]):e._e(),e._v(" "),a("div",{class:e.prefixClass+"-time-content"},[e.timePickerOptions?a("list-options",{attrs:{date:e.innerValue,"get-classes":e.getClasses,options:e.timePickerOptions,format:e.innerForamt},on:{select:e.handleSelect}}):a("list-columns",e._b({attrs:{date:e.innerValue,"get-classes":e.getClasses,"hour-options":e.hourOptions,"minute-options":e.minuteOptions,"second-options":e.secondOptions,"hour-step":e.hourStep,"minute-step":e.minuteStep,"second-step":e.secondStep,"scroll-duration":e.scrollDuration},on:{select:e.handleSelect}},"list-columns",e.ShowHourMinuteSecondAMPM,!1))],1)])},JO=[],KO=void 0,XO=void 0,ex=void 0,tx=!1,za=jt({render:QO,staticRenderFns:JO},KO,WO,XO,tx,ex,!1,void 0,void 0,void 0),n0={name:"TimeRange",inject:{prefixClass:{default:"mx"}},props:je({},za.props),data:function(){return{startValue:new Date(NaN),endValue:new Date(NaN)}},watch:{value:{immediate:!0,handler:function(){if(zo(this.value)){var e=a0(this.value,2),t=e[0],a=e[1];this.startValue=t,this.endValue=a}else this.startValue=new Date(NaN),this.endValue=new Date(NaN)}}},methods:{emitChange:function(e,t){var a=[this.startValue,this.endValue];this.$emit("select",a,e==="time"?"time-range":e,t)},handleSelectStart:function(e,t){this.startValue=e,this.endValue.getTime()>=e.getTime()||(this.endValue=e),this.emitChange(t,0)},handleSelectEnd:function(e,t){this.endValue=e,this.startValue.getTime()<=e.getTime()||(this.startValue=e),this.emitChange(t,1)},disabledStartTime:function(e){return this.disabledTime(e,0)},disabledEndTime:function(e){return e.getTime()2&&arguments[2]!==void 0?arguments[2]:!0;this.userInput=null;var i=Array.isArray(e)?e.map(this.date2value):this.date2value(e);return this.$emit("input",i),this.$emit("change",i,t),a&&this.closePopup(),i},isValidValue:function(e){return this.validMultipleType?QN(e):this.range?zo(e):Aa(e)},isValidValueAndNotDisabled:function(e){if(!this.isValidValue(e))return!1;var t=typeof this.disabledDate=="function"?this.disabledDate:function(){return!1},a=typeof this.disabledTime=="function"?this.disabledTime:function(){return!1};return Array.isArray(e)||(e=[e]),e.every(function(i){return!t(i)&&!a(i)})},handleMultipleDates:function(e,t){if(this.validMultipleType&&t){var a=t.filter(function(i){return i.getTime()!==e.getTime()});return a.length===t.length&&a.push(e),a}return e},handleSelectDate:function(e,t,a){e=this.handleMultipleDates(e,a),this.confirm?this.currentValue=e:this.emitValue(e,t,!this.validMultipleType&&(t===this.type||t==="time"))},clear:function(){this.emitValue(this.range?[null,null]:null),this.$emit("clear")},handleClear:function(e){e.stopPropagation(),this.clear()},handleConfirmDate:function(){var e=this.emitValue(this.currentValue);this.$emit("confirm",e)},handleSelectShortcut:function(e){var t=e.currentTarget.getAttribute("data-index"),a=this.shortcuts[parseInt(t,10)];if(ia(a)&&typeof a.onClick=="function"){var i=a.onClick(this);i&&this.emitValue(i)}},openPopup:function(e){this.popupVisible||this.disabled||(this.defaultOpen=!0,this.$emit("open",e),this.$emit("update:open",!0))},closePopup:function(){this.popupVisible&&(this.defaultOpen=!1,this.$emit("close"),this.$emit("update:open",!1))},blur:function(){this.$refs.input&&this.$refs.input.blur()},focus:function(){this.$refs.input&&this.$refs.input.focus()},handleInputChange:function(){var e=this;if(!(!this.editable||this.userInput===null)){var t=this.userInput.trim();if(this.userInput=null,t===""){this.clear();return}var a;if(this.validMultipleType)a=t.split(this.innerRangeSeparator).map(function(n){return e.parseDate(n.trim())});else if(this.range){var i=t.split(this.innerRangeSeparator);i.length!==2&&(i=t.split(this.innerRangeSeparator.trim())),a=i.map(function(n){return e.parseDate(n.trim())})}else a=this.parseDate(t);this.isValidValueAndNotDisabled(a)?(this.emitValue(a),this.blur()):this.$emit("input-error",t)}},handleInputInput:function(e){this.userInput=typeof e=="string"?e:e.target.value},handleInputKeydown:function(e){var t=e.keyCode;t===9?this.closePopup():t===13&&this.handleInputChange()},handleInputBlur:function(e){this.$emit("blur",e)},handleInputFocus:function(e){this.openPopup(e),this.$emit("focus",e)},hasSlot:function(e){return!!(this.$slots[e]||this.$scopedSlots[e])},renderSlot:function(e,t,a){var i=this.$scopedSlots[e];return i?i(a)||t:this.$slots[e]||t},renderInput:function(){var e=this.$createElement,t=this.prefixClass,a=je({name:"date",type:"text",autocomplete:"off",value:this.text,class:this.inputClass||"".concat(this.prefixClass,"-input"),readonly:!this.editable,disabled:this.disabled,placeholder:this.placeholder},this.inputAttr),i=a.value,n=a.class,r=jN(a,["value","class"]),o={keydown:this.handleInputKeydown,focus:this.handleInputFocus,blur:this.handleInputBlur,input:this.handleInputInput,change:this.handleInputChange},s=this.renderSlot("input",e("input",{domProps:{value:i},class:n,attrs:je({},r),on:je({},o),ref:"input"}),{props:a,events:o}),l=this.type==="time"?e(ww):e(yw);return e("div",{class:"".concat(t,"-input-wrapper"),on:{mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,click:this.openPopup},ref:"inputWrapper"},[s,this.showClearIcon?e("i",{class:"".concat(t,"-icon-clear"),on:{click:this.handleClear}},[this.renderSlot("icon-clear",e(Lw))]):e("i",{class:"".concat(t,"-icon-calendar")},[this.renderSlot("icon-calendar",l)])])},renderContent:function(){var e=this.$createElement,t=this.range?ix:ax,a=t[this.type]||t.default,i=je({},mn(this.$props,Object.keys(a.props)),{value:this.currentValue}),n=je({},mn(this.$listeners,a.emits||[]),{select:this.handleSelectDate}),r=e(a,_0([{},{props:i,on:n,ref:"picker"}]));return e("div",{class:"".concat(this.prefixClass,"-datepicker-body")},[this.renderSlot("content",r,{value:this.currentValue,emit:this.handleSelectDate})])},renderSidebar:function(){var e=this,t=this.$createElement,a=this.prefixClass;return t("div",{class:"".concat(a,"-datepicker-sidebar")},[this.renderSlot("sidebar",null,{value:this.currentValue,emit:this.handleSelectDate}),this.shortcuts.map(function(i,n){return t("button",{key:n,attrs:{"data-index":n,type:"button"},class:"".concat(a,"-btn ").concat(a,"-btn-text ").concat(a,"-btn-shortcut"),on:{click:e.handleSelectShortcut}},[i.text])})])},renderHeader:function(){var e=this.$createElement;return e("div",{class:"".concat(this.prefixClass,"-datepicker-header")},[this.renderSlot("header",null,{value:this.currentValue,emit:this.handleSelectDate})])},renderFooter:function(){var e=this.$createElement,t=this.prefixClass;return e("div",{class:"".concat(t,"-datepicker-footer")},[this.renderSlot("footer",null,{value:this.currentValue,emit:this.handleSelectDate}),this.confirm?e("button",{attrs:{type:"button"},class:"".concat(t,"-btn ").concat(t,"-datepicker-btn-confirm"),on:{click:this.handleConfirmDate}},[this.confirmText]):null])}},render:function(){var e,t=arguments[0],a=this.prefixClass,i=this.inline,n=this.disabled,r=this.hasSlot("sidebar")||this.shortcuts.length?this.renderSidebar():null,o=t("div",{class:"".concat(a,"-datepicker-content")},[this.hasSlot("header")?this.renderHeader():null,this.renderContent(),this.hasSlot("footer")||this.confirm?this.renderFooter():null]);return t("div",{class:(e={},Di(e,"".concat(a,"-datepicker"),!0),Di(e,"".concat(a,"-datepicker-range"),this.range),Di(e,"".concat(a,"-datepicker-inline"),i),Di(e,"disabled",n),e)},[i?null:this.renderInput(),i?t("div",{class:"".concat(a,"-datepicker-main")},[r,o]):t(Fw,{ref:"popup",class:this.popupClass,style:this.popupStyle,attrs:{visible:this.popupVisible,appendToBody:this.appendToBody},on:{clickoutside:this.handleClickOutSide}},[r,o])])}};fi.locale=x_,fi.install=function(e){e.component(fi.name,fi)},typeof window<"u"&&window.Vue&&fi.install(window.Vue),Nl(fi,{CalendarPanel:Ai,CalendarRange:i0,TimePanel:za,TimeRange:n0,DatetimePanel:Xu,DatetimeRange:C_});const nx={name:"CalendarBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon calendar-blank-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},ox=[],sx=de(nx,rx,ox,!1,null,null,null,null);const lx=sx.exports,ux={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var dx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon web-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},cx=[],hx=de(ux,dx,cx,!1,null,null,null,null);const fx=hx.exports,xc={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD H:mm:ss",year:"YYYY",month:"YYYY-MM",time:"H:mm:ss",week:"w"},gx={name:"NcDateTimePicker",components:{CalendarBlank:lx,DatePicker:fi,NcPopover:pu,NcTimezonePicker:fN,Web:fx},mixins:[go],inheritAttrs:!1,props:{clearable:{type:Boolean,default:!1},minuteStep:{type:Number,default:10},type:{type:String,default:"date"},format:{type:String,default:null},formatter:{type:Object,default:null},lang:{type:Object,default:null},value:{default:()=>new Date},timezoneId:{type:String,default:"UTC"},showTimezoneSelect:{type:Boolean,default:!1},highlightTimezone:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!1},showWeekNumber:{type:Boolean,default:!1},placeholder:{type:String,default:null}},emits:["update:value","update:timezone-id"],data(){return{showTimezonePopover:!1,tzVal:this.timezoneId}},computed:{defaultLang(){return{formatLocale:{months:tF(),monthsShort:aF(),weekdays:iF(),weekdaysShort:nF(),weekdaysMin:rF(),firstDayOfWeek:oF()},monthFormat:"MMM"}},defaultPlaceholder(){return this.type==="time"?ae("Pick a time"):this.type==="month"?ae("Pick a month"):this.type==="year"?ae("Pick a year"):this.type==="week"?ae("Pick a week"):this.type==="date"?ae("Pick a date"):ae("Pick a date and a time")},formatTypeMap(){var e;return(e=xc[this.type])!=null?e:xc.date}},methods:{handleSelectYear(e){const t=this.$refs.datepicker.currentValue;if(t)try{const a=new Date(new Date(t).setFullYear(e));this.$refs.datepicker.selectDate(a)}catch{console.error("Invalid value",t,e)}},handleSelectMonth(e){const t=this.$refs.datepicker.currentValue;if(t)try{const a=new Date(new Date(t).setMonth(e));this.$refs.datepicker.selectDate(a)}catch{console.error("Invalid value",t,e)}},toggleTimezonePopover(){this.showTimezoneSelect&&(this.showTimezonePopover=!this.showTimezonePopover)}}};var _x=function(){var e=this,t=e._self._c;return t("DatePicker",e._g(e._b({ref:"datepicker",attrs:{"append-to-body":e.appendToBody,clearable:e.clearable,format:e.format?e.format:e.formatTypeMap,formatter:e.formatter,lang:e.lang?e.lang:e.defaultLang,"minute-step":e.minuteStep,placeholder:e.placeholder?e.placeholder:e.defaultPlaceholder,"popup-class":{"show-week-number":e.showWeekNumber},"show-week-number":e.showWeekNumber,type:e.type,value:e.value},on:{"select-year":e.handleSelectYear,"select-month":e.handleSelectMonth,"update:value":function(a){return e.$emit("update:value",e.value)}},scopedSlots:e._u([{key:"icon-calendar",fn:function(){return[e.showTimezoneSelect?t("NcPopover",{attrs:{shown:e.showTimezonePopover,"popover-base-class":"timezone-select__popper"},on:{"update:shown":function(a){e.showTimezonePopover=a}},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("button",{staticClass:"datetime-picker-inline-icon",class:{"datetime-picker-inline-icon--highlighted":e.highlightTimezone},on:{mousedown:function(a){return a.stopPropagation(),a.preventDefault(),(()=>{}).apply(null,arguments)}}},[t("Web",{attrs:{size:20}})],1)]},proxy:!0}],null,!1,3375037618)},[t("div",{staticClass:"timezone-popover-wrapper__label"},[t("strong",[e._v(" "+e._s(e.t("Please select a time zone:"))+" ")])]),t("NcTimezonePicker",{staticClass:"timezone-popover-wrapper__timezone-select",on:{input:function(a){return e.$emit("update:timezone-id",arguments[0])}},model:{value:e.tzVal,callback:function(a){e.tzVal=a},expression:"tzVal"}})],1):t("CalendarBlank",{attrs:{size:20}})]},proxy:!0},e._l(e.$scopedSlots,function(a,i){return{key:i,fn:function(n){return[e._t(i,null,null,n)]}}})],null,!0)},"DatePicker",e.$attrs,!1),e.$listeners))},Fx=[],mx=de(gx,_x,Fx,!1,null,"26676d3b",null,null);const px=mx.exports;xu(px);const Tx=["date","datetime-local","month","time","week"],Dx={name:"NcDateTimePickerNative",inheritAttrs:!1,props:{value:{type:Date,default:null},id:{type:String,required:!0},type:{type:String,default:"date",validate:e=>Tx.includes(e)},label:{type:String,default:"Please choose a date"},min:{type:[Date,Boolean],default:null},max:{type:[Date,Boolean],default:null},hideLabel:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["input"],computed:{formattedValue(){return this.formatValue(this.value)},formattedMin(){return this.min?this.formatValue(this.min):!1},formattedMax(){return this.max?this.formatValue(this.max):!1},listeners(){return{...this.$listeners,input:e=>{if(isNaN(e.target.valueAsNumber))return this.$emit("input",null);if(this.type==="time"){const i=e.target.value;if(this.value===""){const{yyyy:s,MM:l,dd:c}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${s}-${l}-${c}T${i}`))}const{yyyy:n,MM:r,dd:o}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${n}-${r}-${o}T${i}`))}else if(this.type==="month"){const i=(new Date(e.target.value).getMonth()+1).toString().padStart(2,"0");if(this.value===""){const{yyyy:l,dd:c,hh:u,mm:d}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${l}-${i}-${c}T${u}:${d}`))}const{yyyy:n,dd:r,hh:o,mm:s}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${n}-${i}-${r}T${o}:${s}`))}const t=new Date(e.target.valueAsNumber).getTimezoneOffset()*1e3*60,a=e.target.valueAsNumber+t;return this.$emit("input",new Date(a))}}}},methods:{getReadableDate(e){if(e instanceof Date){const t=e.getFullYear().toString().padStart(4,"0"),a=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),n=e.getHours().toString().padStart(2,"0"),r=e.getMinutes().toString().padStart(2,"0");return{yyyy:t,MM:a,dd:i,hh:n,mm:r}}},formatValue(e){if(e instanceof Date){const{yyyy:t,MM:a,dd:i,hh:n,mm:r}=this.getReadableDate(e);if(this.type==="datetime-local")return`${t}-${a}-${i}T${n}:${r}`;if(this.type==="date")return`${t}-${a}-${i}`;if(this.type==="month")return`${t}-${a}`;if(this.type==="time")return`${n}:${r}`;if(this.type==="week"){const o=new Date(t,0,1),s=Math.floor((e-o)/(24*60*60*1e3)),l=Math.ceil(s/7);return`${t}-W${l}`}}else return""}}};var Ex=function(){var e=this,t=e._self._c;return t("div",{staticClass:"native-datetime-picker"},[t("label",{class:{"hidden-visually":e.hideLabel},attrs:{for:e.id}},[e._v(e._s(e.label))]),t("input",e._g(e._b({staticClass:"native-datetime-picker--input",class:e.inputClass,attrs:{id:e.id,type:e.type,min:e.formattedMin,max:e.formattedMax},domProps:{value:e.formattedValue}},"input",e.$attrs,!1),e.listeners))])},bx=[],yx=de(Dx,Ex,bx,!1,null,"22982259",null,null);const Ax=yx.exports;xu(Ax);var Bl={exports:{}};function Bc(e,t=100,a={}){if(typeof e!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof a=="boolean"?{immediate:a}:a;let n,r,o,s,l;function c(){const d=Date.now()-s;if(d=0)o=setTimeout(c,t-d);else if(o=void 0,!i){const f=n,h=r;n=void 0,r=void 0,l=e.apply(f,h)}}const u=function(...d){if(n&&this!==n)throw new Error("Debounced method called with different contexts.");n=this,r=d,s=Date.now();const f=i&&!o;if(o||(o=setTimeout(c,t)),f){const h=n,g=r;n=void 0,r=void 0,l=e.apply(h,g)}return l};return u.clear=()=>{o&&(clearTimeout(o),o=void 0)},u.flush=()=>{if(!o)return;const d=n,f=r;n=void 0,r=void 0,l=e.apply(d,f),clearTimeout(o),o=void 0},u}Bl.exports.debounce=Bc,Bl.exports=Bc;var Sx=Bl.exports;const $o=ti(Sx),kx={name:"EyeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var vx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon eye-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Rx=[],Nx=de(kx,vx,Rx,!1,null,null,null,null);const wx=Nx.exports,Ox={name:"EyeOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var xx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon eye-off-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Bx=[],Cx=de(Ox,xx,Bx,!1,null,null,null,null);const Mx=Cx.exports,Cc=Ps("core","capabilities",{}).password_policy||null,Yx=new Set(Object.keys(fn.props)),Lx={name:"NcPasswordField",components:{NcInputField:fn,Eye:wx,EyeOff:Mx},inheritAttrs:!1,props:{" ":{},...fn.props,showTrailingButton:{type:Boolean,default:!0},trailingButtonLabel:void 0,checkPasswordStrength:{type:Boolean,default:!1},minlength:{type:Number,default:0},maxlength:{type:Number,default:null}},emits:["valid","invalid","update:value"],data(){return{isPasswordHidden:!0,internalHelpMessage:"",isValid:null}},computed:{computedError(){return this.error||this.isValid===!1},computedSuccess(){return this.success||this.isValid===!0},computedHelperText(){return this.helperText.length>0?this.helperText:this.internalHelpMessage},rules(){const{minlength:e}=this;return{minlength:e??Cc?.minLength}},trailingButtonLabelPassword(){return this.isPasswordHidden?ae("Show password"):ae("Hide password")},propsAndAttrsToForward(){return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter(([e])=>Yx.has(e)))}}},watch:{value(e){if(this.checkPasswordStrength){if(Cc===null)return;this.checkPassword(e)}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(e){this.$emit("update:value",e.target.value)},togglePasswordVisibility(){this.isPasswordHidden=!this.isPasswordHidden},checkPassword:$o(async function(e){try{const{data:t}=await Wa.post($a("apps/password_policy/api/v1/validate"),{password:e});if(this.isValid=t.ocs.data.passed,t.ocs.data.passed){this.internalHelpMessage=ae("Password is secure"),this.$emit("valid");return}this.internalHelpMessage=t.ocs.data.reason,this.$emit("invalid")}catch(t){f_.error("Password policy returned an error",t)}},500)}};var Zx=function(){var e=this,t=e._self._c;return t("NcInputField",e._g(e._b({ref:"inputField",attrs:{type:e.isPasswordHidden?"password":"text","trailing-button-label":e.trailingButtonLabelPassword,"helper-text":e.computedHelperText,error:e.computedError,success:e.computedSuccess,minlength:e.rules.minlength},on:{"trailing-button-click":e.togglePasswordVisibility,input:e.handleInput},scopedSlots:e._u([{key:"trailing-button-icon",fn:function(){return[e.isPasswordHidden?t("Eye",{attrs:{size:18}}):t("EyeOff",{attrs:{size:18}})]},proxy:!0}])},"NcInputField",e.propsAndAttrsToForward,!1),e.$listeners),[e._t("default")],2)},Ix=[],jx=de(Lx,Zx,Ix,!1,null,null,null,null);const v7=jx.exports;ae("Submit");const Px={name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(e){var t,a,i;return this.vnodes||((t=this.$slots)==null?void 0:t.default)||((i=(a=this.$scopedSlots)==null?void 0:a.default)==null?void 0:i.call(a))}},Gx=null,Ux=null;var qx=de(Px,Gx,Ux,!1,null,null,null,null);const R7=qx.exports;const Hx={props:{excludeClickOutsideSelectors:{type:[String,Array],default:()=>[]}},computed:{clickOutsideOptions(){return{ignore:Array.isArray(this.excludeClickOutsideSelectors)?this.excludeClickOutsideSelectors:[this.excludeClickOutsideSelectors]}}}},zx={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Vx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon cog-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},$x=[],Wx=de(zx,Vx,$x,!1,null,null,null,null);const Qx=Wx.exports,Jx={directives:{ClickOutside:rg},components:{Cog:Qx},mixins:[Hx],props:{name:{type:String,required:!1,default:ae("Settings")}},data(){return{open:!1}},computed:{clickOutsideConfig(){return[this.closeMenu,this.clickOutsideOptions]},ariaLabel(){return ae("Open settings menu")}},methods:{toggleMenu(){this.open=!this.open},closeMenu(){this.open=!1}}};var Kx=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:e.open},attrs:{id:"app-settings"}},[t("div",{attrs:{id:"app-settings__header"}},[t("button",{staticClass:"settings-button",attrs:{type:"button","aria-expanded":e.open?"true":"false","aria-controls":"app-settings__content","aria-label":e.ariaLabel},on:{click:e.toggleMenu}},[t("Cog",{staticClass:"settings-button__icon",attrs:{size:20}}),t("span",{staticClass:"settings-button__label"},[e._v(e._s(e.name))])],1)]),t("transition",{attrs:{name:"slide-up"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],attrs:{id:"app-settings__content"}},[e._t("default")],2)])],1)},Xx=[],e5=de(Jx,Kx,Xx,!1,null,"db4cc195",null,null);const N7=e5.exports;const t5=Tn({name:"NcDialogButton",components:{NcButton:ai,NcIconSvgWrapper:Cf},props:{callback:{type:Function,required:!0},label:{type:String,required:!0},icon:{type:String,required:!1,default:void 0},type:{type:String,required:!1,default:"secondary",validator:e=>typeof e=="string"&&["primary","secondary","error","warning","success"].includes(e)}},emits:["click"],setup(e,{emit:t}){return{handleClick:a=>{var i;(i=e.callback)==null||i.call(e),t("click",a)}}}});var a5=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcButton",{attrs:{"aria-label":e.label,type:e.type},on:{click:e.handleClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon",function(){return[e.icon!==void 0?t("NcIconSvgWrapper",{attrs:{svg:e.icon}}):e._e()]})]},proxy:!0}],null,!0)},[e._v(" "+e._s(e.label)+" ")])},i5=[],n5=de(t5,a5,i5,!1,null,null,null,null);const r5=n5.exports,o5=Tn({name:"NcDialog",components:{NcDialogButton:r5,NcModal:Bu},props:{name:{type:String,required:!0},message:{type:String,default:""},additionalTrapElements:{type:Array,validator:e=>Array.isArray(e)&&e.every(t=>typeof t=="string"),default:()=>[]},container:{type:String,required:!1,default:"body"},open:{type:Boolean,default:!0},size:{type:String,required:!1,default:"small",validator:e=>typeof e=="string"&&["small","normal","large","full"].includes(e)},buttons:{type:Array,required:!1,default:()=>[],validator:e=>Array.isArray(e)&&e.every(t=>typeof t=="object")},canClose:{type:Boolean,default:!0},outTransition:{type:Boolean,default:!1},navigationClasses:{type:[String,Array,Object],required:!1,default:""},contentClasses:{type:[String,Array,Object],required:!1,default:""},dialogClasses:{type:[String,Array,Object],required:!1,default:""}},emits:["closing","update:open"],setup(e,{emit:t,slots:a}){const i=nt(),{width:n}=HD(i),r=Ge(()=>n.value<876),o=Ge(()=>a?.navigation!==void 0),s=nt(!0),l=()=>{c(),window.setTimeout(()=>u(),300)},c=()=>{s.value=!1,t("closing")},u=()=>{s.value=!0,t("update:open",!1)},d=Ge(()=>({canClose:e.canClose,container:e.container===void 0?"body":e.container,size:e.size,show:e.open&&s.value,outTransition:e.outTransition,class:"dialog__modal",closeOnClickOutside:!1,enableSlideshow:!1,enableSwipe:!1}));return{handleButtonClose:l,handleClosing:c,handleClosed:u,hasNavigation:o,isNavigationCollapsed:r,modalProps:d,wrapper:i}}});var s5=function(){var e=this,t=e._self._c;return e._self._setupProxy,e.open?t("NcModal",e._b({on:{close:e.handleClosed,"update:show":e.handleClosing}},"NcModal",e.modalProps,!1),[t("h2",{staticClass:"dialog__name",domProps:{textContent:e._s(e.name)}}),t("div",{staticClass:"dialog",class:e.dialogClasses},[t("div",{ref:"wrapper",class:["dialog__wrapper",{"dialog__wrapper--collapsed":e.isNavigationCollapsed}]},[e.hasNavigation?t("nav",{staticClass:"dialog__navigation",class:e.navigationClasses},[e._t("navigation",null,{isCollapsed:e.isNavigationCollapsed})],2):e._e(),t("div",{staticClass:"dialog__content",class:e.contentClasses},[e._t("default",function(){return[t("p",[e._v(e._s(e.message))])]})],2)]),t("div",{staticClass:"dialog__actions"},[e._t("actions",function(){return e._l(e.buttons,function(a,i){return t("NcDialogButton",e._b({key:i,on:{click:e.handleButtonClose}},"NcDialogButton",a,!1))})})],2)])]):e._e()},l5=[],u5=de(o5,s5,l5,!1,null,"cf1c45bf",null,null);const w7=u5.exports;$o(function(){this.selectedSection="",document.activeElement.className.includes("navigation-list__link")&&document.activeElement.blur()},300);var d5={exports:{}};(function(e,t){(function(a,i){e.exports=i()})(typeof self<"u"?self:Ia,function(){return function(a){function i(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return a[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}var n={};return i.m=a,i.c=n,i.d=function(r,o,s){i.o(r,o)||Object.defineProperty(r,o,{configurable:!1,enumerable:!0,get:s})},i.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(o,"a",o),o},i.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},i.p="",i(i.s=60)}([function(a,i){function n(o,s){var l=o[1]||"",c=o[3];if(!c)return l;if(s&&typeof btoa=="function"){var u=r(c);return[l].concat(c.sources.map(function(d){return"/*# sourceURL="+c.sourceRoot+d+" */"})).concat([u]).join(` + `)])]):e._e(),e._v(" "),a("div",{class:e.prefixClass+"-time-content"},[e.timePickerOptions?a("list-options",{attrs:{date:e.innerValue,"get-classes":e.getClasses,options:e.timePickerOptions,format:e.innerForamt},on:{select:e.handleSelect}}):a("list-columns",e._b({attrs:{date:e.innerValue,"get-classes":e.getClasses,"hour-options":e.hourOptions,"minute-options":e.minuteOptions,"second-options":e.secondOptions,"hour-step":e.hourStep,"minute-step":e.minuteStep,"second-step":e.secondStep,"scroll-duration":e.scrollDuration},on:{select:e.handleSelect}},"list-columns",e.ShowHourMinuteSecondAMPM,!1))],1)])},JO=[],KO=void 0,XO=void 0,ex=void 0,tx=!1,za=jt({render:QO,staticRenderFns:JO},KO,WO,XO,tx,ex,!1,void 0,void 0,void 0),n0={name:"TimeRange",inject:{prefixClass:{default:"mx"}},props:je({},za.props),data:function(){return{startValue:new Date(NaN),endValue:new Date(NaN)}},watch:{value:{immediate:!0,handler:function(){if(zo(this.value)){var e=a0(this.value,2),t=e[0],a=e[1];this.startValue=t,this.endValue=a}else this.startValue=new Date(NaN),this.endValue=new Date(NaN)}}},methods:{emitChange:function(e,t){var a=[this.startValue,this.endValue];this.$emit("select",a,e==="time"?"time-range":e,t)},handleSelectStart:function(e,t){this.startValue=e,this.endValue.getTime()>=e.getTime()||(this.endValue=e),this.emitChange(t,0)},handleSelectEnd:function(e,t){this.endValue=e,this.startValue.getTime()<=e.getTime()||(this.startValue=e),this.emitChange(t,1)},disabledStartTime:function(e){return this.disabledTime(e,0)},disabledEndTime:function(e){return e.getTime()2&&arguments[2]!==void 0?arguments[2]:!0;this.userInput=null;var i=Array.isArray(e)?e.map(this.date2value):this.date2value(e);return this.$emit("input",i),this.$emit("change",i,t),a&&this.closePopup(),i},isValidValue:function(e){return this.validMultipleType?QN(e):this.range?zo(e):Aa(e)},isValidValueAndNotDisabled:function(e){if(!this.isValidValue(e))return!1;var t=typeof this.disabledDate=="function"?this.disabledDate:function(){return!1},a=typeof this.disabledTime=="function"?this.disabledTime:function(){return!1};return Array.isArray(e)||(e=[e]),e.every(function(i){return!t(i)&&!a(i)})},handleMultipleDates:function(e,t){if(this.validMultipleType&&t){var a=t.filter(function(i){return i.getTime()!==e.getTime()});return a.length===t.length&&a.push(e),a}return e},handleSelectDate:function(e,t,a){e=this.handleMultipleDates(e,a),this.confirm?this.currentValue=e:this.emitValue(e,t,!this.validMultipleType&&(t===this.type||t==="time"))},clear:function(){this.emitValue(this.range?[null,null]:null),this.$emit("clear")},handleClear:function(e){e.stopPropagation(),this.clear()},handleConfirmDate:function(){var e=this.emitValue(this.currentValue);this.$emit("confirm",e)},handleSelectShortcut:function(e){var t=e.currentTarget.getAttribute("data-index"),a=this.shortcuts[parseInt(t,10)];if(ia(a)&&typeof a.onClick=="function"){var i=a.onClick(this);i&&this.emitValue(i)}},openPopup:function(e){this.popupVisible||this.disabled||(this.defaultOpen=!0,this.$emit("open",e),this.$emit("update:open",!0))},closePopup:function(){this.popupVisible&&(this.defaultOpen=!1,this.$emit("close"),this.$emit("update:open",!1))},blur:function(){this.$refs.input&&this.$refs.input.blur()},focus:function(){this.$refs.input&&this.$refs.input.focus()},handleInputChange:function(){var e=this;if(!(!this.editable||this.userInput===null)){var t=this.userInput.trim();if(this.userInput=null,t===""){this.clear();return}var a;if(this.validMultipleType)a=t.split(this.innerRangeSeparator).map(function(n){return e.parseDate(n.trim())});else if(this.range){var i=t.split(this.innerRangeSeparator);i.length!==2&&(i=t.split(this.innerRangeSeparator.trim())),a=i.map(function(n){return e.parseDate(n.trim())})}else a=this.parseDate(t);this.isValidValueAndNotDisabled(a)?(this.emitValue(a),this.blur()):this.$emit("input-error",t)}},handleInputInput:function(e){this.userInput=typeof e=="string"?e:e.target.value},handleInputKeydown:function(e){var t=e.keyCode;t===9?this.closePopup():t===13&&this.handleInputChange()},handleInputBlur:function(e){this.$emit("blur",e)},handleInputFocus:function(e){this.openPopup(e),this.$emit("focus",e)},hasSlot:function(e){return!!(this.$slots[e]||this.$scopedSlots[e])},renderSlot:function(e,t,a){var i=this.$scopedSlots[e];return i?i(a)||t:this.$slots[e]||t},renderInput:function(){var e=this.$createElement,t=this.prefixClass,a=je({name:"date",type:"text",autocomplete:"off",value:this.text,class:this.inputClass||"".concat(this.prefixClass,"-input"),readonly:!this.editable,disabled:this.disabled,placeholder:this.placeholder},this.inputAttr),i=a.value,n=a.class,r=jN(a,["value","class"]),o={keydown:this.handleInputKeydown,focus:this.handleInputFocus,blur:this.handleInputBlur,input:this.handleInputInput,change:this.handleInputChange},s=this.renderSlot("input",e("input",{domProps:{value:i},class:n,attrs:je({},r),on:je({},o),ref:"input"}),{props:a,events:o}),l=this.type==="time"?e(ww):e(yw);return e("div",{class:"".concat(t,"-input-wrapper"),on:{mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,click:this.openPopup},ref:"inputWrapper"},[s,this.showClearIcon?e("i",{class:"".concat(t,"-icon-clear"),on:{click:this.handleClear}},[this.renderSlot("icon-clear",e(Lw))]):e("i",{class:"".concat(t,"-icon-calendar")},[this.renderSlot("icon-calendar",l)])])},renderContent:function(){var e=this.$createElement,t=this.range?ix:ax,a=t[this.type]||t.default,i=je({},mn(this.$props,Object.keys(a.props)),{value:this.currentValue}),n=je({},mn(this.$listeners,a.emits||[]),{select:this.handleSelectDate}),r=e(a,_0([{},{props:i,on:n,ref:"picker"}]));return e("div",{class:"".concat(this.prefixClass,"-datepicker-body")},[this.renderSlot("content",r,{value:this.currentValue,emit:this.handleSelectDate})])},renderSidebar:function(){var e=this,t=this.$createElement,a=this.prefixClass;return t("div",{class:"".concat(a,"-datepicker-sidebar")},[this.renderSlot("sidebar",null,{value:this.currentValue,emit:this.handleSelectDate}),this.shortcuts.map(function(i,n){return t("button",{key:n,attrs:{"data-index":n,type:"button"},class:"".concat(a,"-btn ").concat(a,"-btn-text ").concat(a,"-btn-shortcut"),on:{click:e.handleSelectShortcut}},[i.text])})])},renderHeader:function(){var e=this.$createElement;return e("div",{class:"".concat(this.prefixClass,"-datepicker-header")},[this.renderSlot("header",null,{value:this.currentValue,emit:this.handleSelectDate})])},renderFooter:function(){var e=this.$createElement,t=this.prefixClass;return e("div",{class:"".concat(t,"-datepicker-footer")},[this.renderSlot("footer",null,{value:this.currentValue,emit:this.handleSelectDate}),this.confirm?e("button",{attrs:{type:"button"},class:"".concat(t,"-btn ").concat(t,"-datepicker-btn-confirm"),on:{click:this.handleConfirmDate}},[this.confirmText]):null])}},render:function(){var e,t=arguments[0],a=this.prefixClass,i=this.inline,n=this.disabled,r=this.hasSlot("sidebar")||this.shortcuts.length?this.renderSidebar():null,o=t("div",{class:"".concat(a,"-datepicker-content")},[this.hasSlot("header")?this.renderHeader():null,this.renderContent(),this.hasSlot("footer")||this.confirm?this.renderFooter():null]);return t("div",{class:(e={},Di(e,"".concat(a,"-datepicker"),!0),Di(e,"".concat(a,"-datepicker-range"),this.range),Di(e,"".concat(a,"-datepicker-inline"),i),Di(e,"disabled",n),e)},[i?null:this.renderInput(),i?t("div",{class:"".concat(a,"-datepicker-main")},[r,o]):t(Fw,{ref:"popup",class:this.popupClass,style:this.popupStyle,attrs:{visible:this.popupVisible,appendToBody:this.appendToBody},on:{clickoutside:this.handleClickOutSide}},[r,o])])}};fi.locale=x_,fi.install=function(e){e.component(fi.name,fi)},typeof window<"u"&&window.Vue&&fi.install(window.Vue),Nl(fi,{CalendarPanel:Ai,CalendarRange:i0,TimePanel:za,TimeRange:n0,DatetimePanel:Xu,DatetimeRange:C_});const nx={name:"CalendarBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon calendar-blank-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},ox=[],sx=de(nx,rx,ox,!1,null,null,null,null);const lx=sx.exports,ux={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var dx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon web-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},cx=[],hx=de(ux,dx,cx,!1,null,null,null,null);const fx=hx.exports,xc={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD H:mm:ss",year:"YYYY",month:"YYYY-MM",time:"H:mm:ss",week:"w"},gx={name:"NcDateTimePicker",components:{CalendarBlank:lx,DatePicker:fi,NcPopover:pu,NcTimezonePicker:fN,Web:fx},mixins:[go],inheritAttrs:!1,props:{clearable:{type:Boolean,default:!1},minuteStep:{type:Number,default:10},type:{type:String,default:"date"},format:{type:String,default:null},formatter:{type:Object,default:null},lang:{type:Object,default:null},value:{default:()=>new Date},timezoneId:{type:String,default:"UTC"},showTimezoneSelect:{type:Boolean,default:!1},highlightTimezone:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!1},showWeekNumber:{type:Boolean,default:!1},placeholder:{type:String,default:null}},emits:["update:value","update:timezone-id"],data(){return{showTimezonePopover:!1,tzVal:this.timezoneId}},computed:{defaultLang(){return{formatLocale:{months:tF(),monthsShort:aF(),weekdays:iF(),weekdaysShort:nF(),weekdaysMin:rF(),firstDayOfWeek:oF()},monthFormat:"MMM"}},defaultPlaceholder(){return this.type==="time"?ae("Pick a time"):this.type==="month"?ae("Pick a month"):this.type==="year"?ae("Pick a year"):this.type==="week"?ae("Pick a week"):this.type==="date"?ae("Pick a date"):ae("Pick a date and a time")},formatTypeMap(){var e;return(e=xc[this.type])!=null?e:xc.date}},methods:{handleSelectYear(e){const t=this.$refs.datepicker.currentValue;if(t)try{const a=new Date(new Date(t).setFullYear(e));this.$refs.datepicker.selectDate(a)}catch{console.error("Invalid value",t,e)}},handleSelectMonth(e){const t=this.$refs.datepicker.currentValue;if(t)try{const a=new Date(new Date(t).setMonth(e));this.$refs.datepicker.selectDate(a)}catch{console.error("Invalid value",t,e)}},toggleTimezonePopover(){this.showTimezoneSelect&&(this.showTimezonePopover=!this.showTimezonePopover)}}};var _x=function(){var e=this,t=e._self._c;return t("DatePicker",e._g(e._b({ref:"datepicker",attrs:{"append-to-body":e.appendToBody,clearable:e.clearable,format:e.format?e.format:e.formatTypeMap,formatter:e.formatter,lang:e.lang?e.lang:e.defaultLang,"minute-step":e.minuteStep,placeholder:e.placeholder?e.placeholder:e.defaultPlaceholder,"popup-class":{"show-week-number":e.showWeekNumber},"show-week-number":e.showWeekNumber,type:e.type,value:e.value},on:{"select-year":e.handleSelectYear,"select-month":e.handleSelectMonth,"update:value":function(a){return e.$emit("update:value",e.value)}},scopedSlots:e._u([{key:"icon-calendar",fn:function(){return[e.showTimezoneSelect?t("NcPopover",{attrs:{shown:e.showTimezonePopover,"popover-base-class":"timezone-select__popper"},on:{"update:shown":function(a){e.showTimezonePopover=a}},scopedSlots:e._u([{key:"trigger",fn:function(){return[t("button",{staticClass:"datetime-picker-inline-icon",class:{"datetime-picker-inline-icon--highlighted":e.highlightTimezone},on:{mousedown:function(a){return a.stopPropagation(),a.preventDefault(),(()=>{}).apply(null,arguments)}}},[t("Web",{attrs:{size:20}})],1)]},proxy:!0}],null,!1,3375037618)},[t("div",{staticClass:"timezone-popover-wrapper__label"},[t("strong",[e._v(" "+e._s(e.t("Please select a time zone:"))+" ")])]),t("NcTimezonePicker",{staticClass:"timezone-popover-wrapper__timezone-select",on:{input:function(a){return e.$emit("update:timezone-id",arguments[0])}},model:{value:e.tzVal,callback:function(a){e.tzVal=a},expression:"tzVal"}})],1):t("CalendarBlank",{attrs:{size:20}})]},proxy:!0},e._l(e.$scopedSlots,function(a,i){return{key:i,fn:function(n){return[e._t(i,null,null,n)]}}})],null,!0)},"DatePicker",e.$attrs,!1),e.$listeners))},Fx=[],mx=de(gx,_x,Fx,!1,null,"26676d3b",null,null);const px=mx.exports;xu(px);const Tx=["date","datetime-local","month","time","week"],Dx={name:"NcDateTimePickerNative",inheritAttrs:!1,props:{value:{type:Date,default:null},id:{type:String,required:!0},type:{type:String,default:"date",validate:e=>Tx.includes(e)},label:{type:String,default:"Please choose a date"},min:{type:[Date,Boolean],default:null},max:{type:[Date,Boolean],default:null},hideLabel:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["input"],computed:{formattedValue(){return this.formatValue(this.value)},formattedMin(){return this.min?this.formatValue(this.min):!1},formattedMax(){return this.max?this.formatValue(this.max):!1},listeners(){return{...this.$listeners,input:e=>{if(isNaN(e.target.valueAsNumber))return this.$emit("input",null);if(this.type==="time"){const i=e.target.value;if(this.value===""){const{yyyy:s,MM:l,dd:c}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${s}-${l}-${c}T${i}`))}const{yyyy:n,MM:r,dd:o}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${n}-${r}-${o}T${i}`))}else if(this.type==="month"){const i=(new Date(e.target.value).getMonth()+1).toString().padStart(2,"0");if(this.value===""){const{yyyy:l,dd:c,hh:u,mm:d}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${l}-${i}-${c}T${u}:${d}`))}const{yyyy:n,dd:r,hh:o,mm:s}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${n}-${i}-${r}T${o}:${s}`))}const t=new Date(e.target.valueAsNumber).getTimezoneOffset()*1e3*60,a=e.target.valueAsNumber+t;return this.$emit("input",new Date(a))}}}},methods:{getReadableDate(e){if(e instanceof Date){const t=e.getFullYear().toString().padStart(4,"0"),a=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),n=e.getHours().toString().padStart(2,"0"),r=e.getMinutes().toString().padStart(2,"0");return{yyyy:t,MM:a,dd:i,hh:n,mm:r}}},formatValue(e){if(e instanceof Date){const{yyyy:t,MM:a,dd:i,hh:n,mm:r}=this.getReadableDate(e);if(this.type==="datetime-local")return`${t}-${a}-${i}T${n}:${r}`;if(this.type==="date")return`${t}-${a}-${i}`;if(this.type==="month")return`${t}-${a}`;if(this.type==="time")return`${n}:${r}`;if(this.type==="week"){const o=new Date(t,0,1),s=Math.floor((e-o)/(24*60*60*1e3)),l=Math.ceil(s/7);return`${t}-W${l}`}}else return""}}};var Ex=function(){var e=this,t=e._self._c;return t("div",{staticClass:"native-datetime-picker"},[t("label",{class:{"hidden-visually":e.hideLabel},attrs:{for:e.id}},[e._v(e._s(e.label))]),t("input",e._g(e._b({staticClass:"native-datetime-picker--input",class:e.inputClass,attrs:{id:e.id,type:e.type,min:e.formattedMin,max:e.formattedMax},domProps:{value:e.formattedValue}},"input",e.$attrs,!1),e.listeners))])},bx=[],yx=de(Dx,Ex,bx,!1,null,"22982259",null,null);const Ax=yx.exports;xu(Ax);var Bl={exports:{}};function Bc(e,t=100,a={}){if(typeof e!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:i}=typeof a=="boolean"?{immediate:a}:a;let n,r,o,s,l;function c(){const d=Date.now()-s;if(d=0)o=setTimeout(c,t-d);else if(o=void 0,!i){const f=n,h=r;n=void 0,r=void 0,l=e.apply(f,h)}}const u=function(...d){if(n&&this!==n)throw new Error("Debounced method called with different contexts.");n=this,r=d,s=Date.now();const f=i&&!o;if(o||(o=setTimeout(c,t)),f){const h=n,g=r;n=void 0,r=void 0,l=e.apply(h,g)}return l};return u.clear=()=>{o&&(clearTimeout(o),o=void 0)},u.flush=()=>{if(!o)return;const d=n,f=r;n=void 0,r=void 0,l=e.apply(d,f),clearTimeout(o),o=void 0},u}Bl.exports.debounce=Bc,Bl.exports=Bc;var Sx=Bl.exports;const $o=ti(Sx),kx={name:"EyeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var vx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon eye-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Rx=[],Nx=de(kx,vx,Rx,!1,null,null,null,null);const wx=Nx.exports,Ox={name:"EyeOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var xx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon eye-off-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Bx=[],Cx=de(Ox,xx,Bx,!1,null,null,null,null);const Mx=Cx.exports,Cc=Ps("core","capabilities",{}).password_policy||null,Yx=new Set(Object.keys(fn.props)),Lx={name:"NcPasswordField",components:{NcInputField:fn,Eye:wx,EyeOff:Mx},inheritAttrs:!1,props:{" ":{},...fn.props,showTrailingButton:{type:Boolean,default:!0},trailingButtonLabel:void 0,checkPasswordStrength:{type:Boolean,default:!1},minlength:{type:Number,default:0},maxlength:{type:Number,default:null}},emits:["valid","invalid","update:value"],data(){return{isPasswordHidden:!0,internalHelpMessage:"",isValid:null}},computed:{computedError(){return this.error||this.isValid===!1},computedSuccess(){return this.success||this.isValid===!0},computedHelperText(){return this.helperText.length>0?this.helperText:this.internalHelpMessage},rules(){const{minlength:e}=this;return{minlength:e??Cc?.minLength}},trailingButtonLabelPassword(){return this.isPasswordHidden?ae("Show password"):ae("Hide password")},propsAndAttrsToForward(){return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter(([e])=>Yx.has(e)))}}},watch:{value(e){if(this.checkPasswordStrength){if(Cc===null)return;this.checkPassword(e)}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(e){this.$emit("update:value",e.target.value)},togglePasswordVisibility(){this.isPasswordHidden=!this.isPasswordHidden},checkPassword:$o(async function(e){try{const{data:t}=await Wa.post($a("apps/password_policy/api/v1/validate"),{password:e});if(this.isValid=t.ocs.data.passed,t.ocs.data.passed){this.internalHelpMessage=ae("Password is secure"),this.$emit("valid");return}this.internalHelpMessage=t.ocs.data.reason,this.$emit("invalid")}catch(t){f_.error("Password policy returned an error",t)}},500)}};var Zx=function(){var e=this,t=e._self._c;return t("NcInputField",e._g(e._b({ref:"inputField",attrs:{type:e.isPasswordHidden?"password":"text","trailing-button-label":e.trailingButtonLabelPassword,"helper-text":e.computedHelperText,error:e.computedError,success:e.computedSuccess,minlength:e.rules.minlength},on:{"trailing-button-click":e.togglePasswordVisibility,input:e.handleInput},scopedSlots:e._u([{key:"trailing-button-icon",fn:function(){return[e.isPasswordHidden?t("Eye",{attrs:{size:18}}):t("EyeOff",{attrs:{size:18}})]},proxy:!0}])},"NcInputField",e.propsAndAttrsToForward,!1),e.$listeners),[e._t("default")],2)},Ix=[],jx=de(Lx,Zx,Ix,!1,null,null,null,null);const v7=jx.exports;ae("Submit");const Px={name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(e){var t,a,i;return this.vnodes||((t=this.$slots)==null?void 0:t.default)||((i=(a=this.$scopedSlots)==null?void 0:a.default)==null?void 0:i.call(a))}},Gx=null,Ux=null;var qx=de(Px,Gx,Ux,!1,null,null,null,null);const R7=qx.exports;const Hx={props:{excludeClickOutsideSelectors:{type:[String,Array],default:()=>[]}},computed:{clickOutsideOptions(){return{ignore:Array.isArray(this.excludeClickOutsideSelectors)?this.excludeClickOutsideSelectors:[this.excludeClickOutsideSelectors]}}}},zx={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Vx=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon cog-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(a){return e.$emit("click",a)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},$x=[],Wx=de(zx,Vx,$x,!1,null,null,null,null);const Qx=Wx.exports,Jx={directives:{ClickOutside:rg},components:{Cog:Qx},mixins:[Hx],props:{name:{type:String,required:!1,default:ae("Settings")}},data(){return{open:!1}},computed:{clickOutsideConfig(){return[this.closeMenu,this.clickOutsideOptions]},ariaLabel(){return ae("Open settings menu")}},methods:{toggleMenu(){this.open=!this.open},closeMenu(){this.open=!1}}};var Kx=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:e.open},attrs:{id:"app-settings"}},[t("div",{attrs:{id:"app-settings__header"}},[t("button",{staticClass:"settings-button",attrs:{type:"button","aria-expanded":e.open?"true":"false","aria-controls":"app-settings__content","aria-label":e.ariaLabel},on:{click:e.toggleMenu}},[t("Cog",{staticClass:"settings-button__icon",attrs:{size:20}}),t("span",{staticClass:"settings-button__label"},[e._v(e._s(e.name))])],1)]),t("transition",{attrs:{name:"slide-up"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],attrs:{id:"app-settings__content"}},[e._t("default")],2)])],1)},Xx=[],e5=de(Jx,Kx,Xx,!1,null,"db4cc195",null,null);const N7=e5.exports;const t5=Tn({name:"NcDialogButton",components:{NcButton:ai,NcIconSvgWrapper:Cf},props:{callback:{type:Function,required:!0},label:{type:String,required:!0},icon:{type:String,required:!1,default:void 0},type:{type:String,required:!1,default:"secondary",validator:e=>typeof e=="string"&&["primary","secondary","error","warning","success"].includes(e)}},emits:["click"],setup(e,{emit:t}){return{handleClick:a=>{var i;(i=e.callback)==null||i.call(e),t("click",a)}}}});var a5=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcButton",{attrs:{"aria-label":e.label,type:e.type},on:{click:e.handleClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon",function(){return[e.icon!==void 0?t("NcIconSvgWrapper",{attrs:{svg:e.icon}}):e._e()]})]},proxy:!0}],null,!0)},[e._v(" "+e._s(e.label)+" ")])},i5=[],n5=de(t5,a5,i5,!1,null,null,null,null);const r5=n5.exports,o5=Tn({name:"NcDialog",components:{NcDialogButton:r5,NcModal:Bu},props:{name:{type:String,required:!0},message:{type:String,default:""},additionalTrapElements:{type:Array,validator:e=>Array.isArray(e)&&e.every(t=>typeof t=="string"),default:()=>[]},container:{type:String,required:!1,default:"body"},open:{type:Boolean,default:!0},size:{type:String,required:!1,default:"small",validator:e=>typeof e=="string"&&["small","normal","large","full"].includes(e)},buttons:{type:Array,required:!1,default:()=>[],validator:e=>Array.isArray(e)&&e.every(t=>typeof t=="object")},canClose:{type:Boolean,default:!0},outTransition:{type:Boolean,default:!1},navigationClasses:{type:[String,Array,Object],required:!1,default:""},contentClasses:{type:[String,Array,Object],required:!1,default:""},dialogClasses:{type:[String,Array,Object],required:!1,default:""}},emits:["closing","update:open"],setup(e,{emit:t,slots:a}){const i=nt(),{width:n}=HD(i,{width:900}),r=Ge(()=>n.value<876),o=Ge(()=>a?.navigation!==void 0),s=nt(!0),l=()=>{c(),window.setTimeout(()=>u(),300)},c=()=>{s.value=!1,t("closing")},u=()=>{s.value=!0,t("update:open",!1)},d=Ge(()=>({canClose:e.canClose,container:e.container===void 0?"body":e.container,size:e.size,show:e.open&&s.value,outTransition:e.outTransition,class:"dialog__modal",closeOnClickOutside:!1,enableSlideshow:!1,enableSwipe:!1}));return{handleButtonClose:l,handleClosing:c,handleClosed:u,hasNavigation:o,isNavigationCollapsed:r,modalProps:d,wrapper:i}}});var s5=function(){var e=this,t=e._self._c;return e._self._setupProxy,e.open?t("NcModal",e._b({on:{close:e.handleClosed,"update:show":e.handleClosing}},"NcModal",e.modalProps,!1),[t("h2",{staticClass:"dialog__name",domProps:{textContent:e._s(e.name)}}),t("div",{staticClass:"dialog",class:e.dialogClasses},[t("div",{ref:"wrapper",class:["dialog__wrapper",{"dialog__wrapper--collapsed":e.isNavigationCollapsed}]},[e.hasNavigation?t("nav",{staticClass:"dialog__navigation",class:e.navigationClasses},[e._t("navigation",null,{isCollapsed:e.isNavigationCollapsed})],2):e._e(),t("div",{staticClass:"dialog__content",class:e.contentClasses},[e._t("default",function(){return[t("p",{staticClass:"dialog__text"},[e._v(" "+e._s(e.message)+" ")])]})],2)]),t("div",{staticClass:"dialog__actions"},[e._t("actions",function(){return e._l(e.buttons,function(a,i){return t("NcDialogButton",e._b({key:i,on:{click:e.handleButtonClose}},"NcDialogButton",a,!1))})})],2)])]):e._e()},l5=[],u5=de(o5,s5,l5,!1,null,"94a1cf4a",null,null);const w7=u5.exports;$o(function(){this.selectedSection="",document.activeElement.className.includes("navigation-list__link")&&document.activeElement.blur()},300);var d5={exports:{}};(function(e,t){(function(a,i){e.exports=i()})(typeof self<"u"?self:Ia,function(){return function(a){function i(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return a[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}var n={};return i.m=a,i.c=n,i.d=function(r,o,s){i.o(r,o)||Object.defineProperty(r,o,{configurable:!1,enumerable:!0,get:s})},i.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(o,"a",o),o},i.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},i.p="",i(i.s=60)}([function(a,i){function n(o,s){var l=o[1]||"",c=o[3];if(!c)return l;if(s&&typeof btoa=="function"){var u=r(c);return[l].concat(c.sources.map(function(d){return"/*# sourceURL="+c.sourceRoot+d+" */"})).concat([u]).join(` `)}return[l].join(` `)}function r(o){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"}a.exports=function(o){var s=[];return s.toString=function(){return this.map(function(l){var c=n(l,o);return l[2]?"@media "+l[2]+"{"+c+"}":c}).join("")},s.i=function(l,c){typeof l=="string"&&(l=[[null,l,""]]);for(var u={},d=0;dM.parts.length&&(P.parts.length=M.parts.length)}else{for(var D=[],_=0;_F.length)&&(b=F.length);for(var N=0,B=new Array(b);N0}),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1}return Z(F,[{key:"onScroll",value:function(){for(var b=this._vm.$refs.scroll.scrollTop,N=this.filteredCategories[0],B=0,H=this.filteredCategories.length;Bb)break;N=ee}this.activeCategory=N}},{key:"allCategories",get:function(){return this._categories}},{key:"filteredCategories",get:function(){return this.searchEmojis?[{id:"search",name:"Search",emojis:this.searchEmojis}]:this._categories.filter(function(b){return b.emojis.length>0})}},{key:"previewEmojiCategory",get:function(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}},{key:"onAnchorClick",value:function(b){var N=this;if(!this.searchEmojis){var B=this.filteredCategories.indexOf(b),H=this._vm.getCategoryComponent(B);this._vm.infiniteScroll?function(){if(H){var ee=H.$el.offsetTop;b.first&&(ee=0),N._vm.$refs.scroll.scrollTop=ee}}():this.activeCategory=this.filteredCategories[B]}}},{key:"onSearch",value:function(b){var N=this._data.search(b,this.maxSearchResults);this.searchEmojis=N,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}},{key:"onEmojiEnter",value:function(b){this.previewEmoji=b,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}},{key:"onEmojiLeave",value:function(b){this.previewEmoji=null}},{key:"onArrowLeft",value:function(){this.previewEmojiIdx>0?this.previewEmojiIdx-=1:(this.previewEmojiCategoryIdx-=1,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}},{key:"onArrowRight",value:function(){this.previewEmojiIdx=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}},{key:"onArrowDown",value:function(){if(this.previewEmojiIdx==-1)return this.onArrowRight();var b=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length,N=this._perLine;this.previewEmojiIdx+N>b&&(N=b%this._perLine);for(var B=0;B0?this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:0);for(var N=0;NH+N.scrollTop&&(N.scrollTop+=B.offsetHeight),B&&B.offsetTop"u")return 0;var F=document.createElement("div");F.style.width="100px",F.style.height="100px",F.style.overflow="scroll",F.style.position="absolute",F.style.top="-9999px",document.body.appendChild(F);var b=F.offsetWidth-F.clientWidth;return document.body.removeChild(F),b}()},filteredCategories:function(){return this.view.filteredCategories},mergedI18n:function(){return Object.freeze(A(Be,this.i18n))},idleEmoji:function(){try{return this.data.emoji(this.emoji)}catch(F){return console.error("Default preview emoji `"+this.emoji+"` is not available, check the Picker `emoji` property"),console.error(F),this.data.firstEmoji()}}},methods:{onScroll:function(){this.infiniteScroll&&!this.waitingForPaint&&(this.waitingForPaint=!0,window.requestAnimationFrame(this.onScrollPaint.bind(this)))},onScrollPaint:function(){this.waitingForPaint=!1,this.view.onScroll()},onAnchorClick:function(F){this.view.onAnchorClick(F)},onSearch:function(F){this.view.onSearch(F)},onEmojiEnter:function(F){this.view.onEmojiEnter(F)},onEmojiLeave:function(F){this.view.onEmojiLeave(F)},onArrowLeft:function(F){var b=this.view.previewEmojiIdx;this.view.onArrowLeft(),F&&this.view.previewEmojiIdx!==b&&F.preventDefault()},onArrowRight:function(){this.view.onArrowRight()},onArrowDown:function(){this.view.onArrowDown()},onArrowUp:function(F){this.view.onArrowUp(),F.preventDefault()},onEnter:function(){this.view.previewEmoji&&(this.$emit("select",this.view.previewEmoji),M.add(this.view.previewEmoji))},onEmojiClick:function(F){this.$emit("select",F),M.add(F)},onTextSelect:function(F){F.stopPropagation()},onSkinChange:function(F){this.activeSkin=F,f.update({skin:F}),this.$emit("skin-change",F)},getCategoryComponent:function(F){var b=this.$refs["categories_"+F];return b&&"0"in b?b[0]:b}},components:{Anchors:S,Category:ct,Preview:v,Search:O}},W=_(U,function(){var F=this,b=F.$createElement,N=F._self._c||b;return N("section",{staticClass:"emoji-mart emoji-mart-static",style:F.customStyles},[F.showCategories?N("div",{staticClass:"emoji-mart-bar emoji-mart-bar-anchors"},[N("anchors",{attrs:{data:F.data,i18n:F.mergedI18n,color:F.color,categories:F.view.allCategories,"active-category":F.view.activeCategory},on:{click:F.onAnchorClick}})],1):F._e(),F._v(" "),F._t("searchTemplate",function(){return[F.showSearch?N("search",{ref:"search",attrs:{data:F.data,i18n:F.mergedI18n,"auto-focus":F.autoFocus,"on-search":F.onSearch},on:{search:F.onSearch,arrowLeft:F.onArrowLeft,arrowRight:F.onArrowRight,arrowDown:F.onArrowDown,arrowUp:F.onArrowUp,enter:F.onEnter,select:F.onTextSelect}}):F._e()]},{data:F.data,i18n:F.i18n,autoFocus:F.autoFocus,onSearch:F.onSearch}),F._v(" "),N("div",{ref:"scroll",staticClass:"emoji-mart-scroll",attrs:{role:"tabpanel"},on:{scroll:F.onScroll}},[N("div",{ref:"scrollContent",attrs:{id:"emoji-mart-list",role:"listbox","aria-expanded":"true"}},[F._t("customCategory"),F._v(" "),F._l(F.view.filteredCategories,function(B,H){return N("category",{directives:[{name:"show",rawName:"v-show",value:F.infiniteScroll||B==F.view.activeCategory,expression:"infiniteScroll || category == view.activeCategory"}],key:B.id,ref:"categories_"+H,refInFor:!0,attrs:{data:F.data,i18n:F.mergedI18n,id:B.id,name:B.name,emojis:B.emojis,"emoji-props":F.emojiProps}})})],2)]),F._v(" "),F._t("previewTemplate",function(){return[F.showPreview?N("div",{staticClass:"emoji-mart-bar emoji-mart-bar-preview"},[N("preview",{attrs:{data:F.data,title:F.title,emoji:F.view.previewEmoji,"idle-emoji":F.idleEmoji,"show-skin-tones":F.showSkinTones,"emoji-props":F.emojiProps,"skin-props":F.skinProps,"on-skin-change":F.onSkinChange}})],1):F._e()]},{data:F.data,title:F.title,emoji:F.view.previewEmoji,idleEmoji:F.idleEmoji,showSkinTones:F.showSkinTones,emojiProps:F.emojiProps,skinProps:F.skinProps,onSkinChange:F.onSkinChange})],2)},[],!1,null,null,null),q=W.exports}(),r}()})})(M_);var Mc=M_.exports;const x7={search:ae("Search emoji"),notfound:ae("No emoji found"),categories:{search:ae("Search results"),recent:ae("Frequently used"),smileys:ae("Smileys & Emotion"),people:ae("People & Body"),nature:ae("Animals & Nature"),foods:ae("Food & Drink"),activity:ae("Activities"),places:ae("Travel & Places"),objects:ae("Objects"),symbols:ae("Symbols"),flags:ae("Flags"),custom:ae("Custom")}};Mc.Emoji,Mc.Picker,ae("Pick an emoji"),ae;const _5={name:"NcResource",components:{NcButton:ai},props:{icon:{type:String,required:!0},name:{type:String,required:!0},url:{type:String,required:!0}},data(){return{labelTranslated:ae('Open link to "{resourceName}"',{resourceName:this.name})}},methods:{t:ae}};var F5=function(){var e=this,t=e._self._c;return t("li",{staticClass:"resource"},[t("NcButton",{staticClass:"resource__button",attrs:{"aria-label":e.labelTranslated,type:"tertiary",href:e.url},scopedSlots:e._u([{key:"icon",fn:function(){return[t("div",{staticClass:"resource__icon"},[t("img",{attrs:{src:e.icon}})])]},proxy:!0}])},[e._v(" "+e._s(e.name)+" ")])],1)},m5=[],p5=de(_5,F5,m5,!1,null,"1a960bef",null,null);const B7=p5.exports;ae("Related resources"),ae("Anything shared with the same group of people will show up here"),ae;const T5={name:"NcMentionBubble",props:{id:{type:String,required:!0},title:{type:String,required:!0},icon:{type:String,required:!0},iconUrl:{type:[String,null],default:null},source:{type:String,required:!0},primary:{type:Boolean,default:!1}},computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&this.source==="users"?this.getAvatarUrl(this.id,44):null},mentionText(){return!this.id.includes(" ")&&!this.id.includes("/")?`@${this.id}`:`@"${this.id}"`}},methods:{getAvatarUrl(e,t){return _r("/avatar/{user}/{size}",{user:e,size:t})}}};var D5=function(){var e=this,t=e._self._c;return t("span",{staticClass:"mention-bubble",class:{"mention-bubble--primary":e.primary},attrs:{contenteditable:"false"}},[t("span",{staticClass:"mention-bubble__wrapper"},[t("span",{staticClass:"mention-bubble__content"},[t("span",{staticClass:"mention-bubble__icon",class:[e.icon,`mention-bubble__icon--${e.avatarUrl?"with-avatar":""}`],style:e.avatarUrl?{backgroundImage:`url(${e.avatarUrl})`}:null}),t("span",{staticClass:"mention-bubble__title",attrs:{role:"heading",title:e.title}})]),t("span",{staticClass:"mention-bubble__select",attrs:{role:"none"}},[e._v(e._s(e.mentionText))])])])},E5=[],b5=de(T5,D5,E5,!1,null,"357e6d0e",null,null);const C7=b5.exports,Y_="(?:^|\\s)",L_="(?:[^a-z]|$)",M7=new RegExp(`${Y_}(@[a-zA-Z0-9_.@\\-']+)(${L_})`,"gi"),Y7=new RegExp(`${Y_}(@"[a-zA-Z0-9 _.@\\-']+")(${L_})`,"gi");if(Array.prototype.find||(Array.prototype.find=function(e){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof e!="function")throw new TypeError("predicate must be a function");for(var t=Object(this),a=t.length>>>0,i=arguments[1],n,r=0;r<~]))"].join("|");return new RegExp(t,e?void 0:"g")}const L7=y5();const A5={name:"NcAutoCompleteResult",props:{title:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},iconUrl:{type:String,default:null},source:{type:String,required:!0},status:{type:[Object,Array],default:()=>({})}},computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&this.source==="users"?this.getAvatarUrl(this.id,44):null},haveStatus(){var e,t,a;return((e=this.status)==null?void 0:e.icon)||((t=this.status)==null?void 0:t.status)&&((a=this.status)==null?void 0:a.status)!=="offline"}},methods:{getAvatarUrl(e,t){return _r("/avatar/{user}/{size}",{user:e,size:t})}}};var S5=function(){var e=this,t=e._self._c;return t("div",{staticClass:"autocomplete-result"},[t("div",{staticClass:"autocomplete-result__icon",class:[e.icon,`autocomplete-result__icon--${e.avatarUrl?"with-avatar":""}`],style:e.avatarUrl?{backgroundImage:`url(${e.avatarUrl})`}:null},[e.haveStatus?t("div",{staticClass:"autocomplete-result__status",class:[`autocomplete-result__status--${e.status&&e.status.icon?"icon":e.status.status}`]},[e._v(" "+e._s(e.status&&e.status.icon||"")+" ")]):e._e()]),t("span",{staticClass:"autocomplete-result__content"},[t("span",{staticClass:"autocomplete-result__title",attrs:{title:e.title}},[e._v(" "+e._s(e.title)+" ")]),e.subline?t("span",{staticClass:"autocomplete-result__subline"},[e._v(" "+e._s(e.subline)+" ")]):e._e()])])},k5=[],v5=de(A5,S5,k5,!1,null,"25cf09d8",null,null);const Z7=v5.exports;ae("Write a message …"),$o(async function(e,t){this.autoComplete(e,t)},100);({...Mo.props,placeholder:ae("Select a tag")});go,$o(function(e){this.loadGroup(e)},200);const R5={name:"NcUserBubbleDiv"};var N5=function(){var e=this,t=e._self._c;return t("div",[e._t("trigger")],2)},w5=[],O5=de(R5,N5,w5,!1,null,null,null,null);const x5=O5.exports,B5={name:"NcUserBubble",components:{NcAvatar:y0,NcPopover:pu,NcUserBubbleDiv:x5},props:{avatarImage:{type:String,default:void 0},user:{type:String,default:void 0},displayName:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!1},url:{type:String,default:void 0,validator:e=>{var t;try{return e=new URL(e,(t=e?.startsWith)!=null&&t.call(e,"/")?window.location.href:void 0),!0}catch{return!1}}},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},size:{type:Number,default:20},margin:{type:Number,default:2}},emits:["click","update:open"],computed:{isPopoverComponent(){return this.popoverEmpty?"NcUserBubbleDiv":"NcPopover"},isAvatarUrl(){if(!this.avatarImage)return!1;try{return!!new URL(this.avatarImage)}catch{return!1}},isCustomAvatar(){return!!this.avatarImage},hasUrl(){return this.url&&this.url.trim()!==""},isLinkComponent(){return this.hasUrl?"a":"div"},popoverEmpty(){return!("default"in this.$slots)},styles(){return{content:{height:this.size+"px",lineHeight:this.size+"px",borderRadius:this.size/2+"px"},avatar:{marginLeft:this.margin+"px"}}}},mounted(){!this.displayName&&!this.user&&Va.util.warn("[NcUserBubble] At least `displayName` or `user` property should be set.")},methods:{onOpenChange(e){this.$emit("update:open",e)},onClick(e){this.$emit("click",e)}}};var C5=function(){var e=this,t=e._self._c;return t(e.isPopoverComponent,{tag:"component",staticClass:"user-bubble__wrapper",attrs:{trigger:"hover focus",shown:e.open},on:{"update:open":e.onOpenChange},scopedSlots:e._u([{key:"trigger",fn:function(){return[t(e.isLinkComponent,{tag:"component",staticClass:"user-bubble__content",class:{"user-bubble__content--primary":e.primary},style:e.styles.content,attrs:{href:e.hasUrl?e.url:null},on:{click:e.onClick}},[t("NcAvatar",{staticClass:"user-bubble__avatar",style:e.styles.avatar,attrs:{url:e.isCustomAvatar&&e.isAvatarUrl?e.avatarImage:void 0,"icon-class":e.isCustomAvatar&&!e.isAvatarUrl?e.avatarImage:void 0,user:e.user,"display-name":e.displayName,size:e.size-e.margin*2,"disable-tooltip":!0,"disable-menu":!0,"show-user-status":e.showUserStatus}}),t("span",{staticClass:"user-bubble__name"},[e._v(" "+e._s(e.displayName||e.user)+" ")]),e.$slots.name?t("span",{staticClass:"user-bubble__secondary"},[e._t("name")],2):e._e()],1)]},proxy:!0}],null,!0)},[e._t("default")],2)},M5=[],Y5=de(B5,C5,M5,!1,null,"55ab76f1",null,null);const Yc=Y5.exports;var sn={},L5=Sa,Z5=Dn,I5=ql,j5=Z5("species"),ed=function(e){return I5>=51||!L5(function(){var t=[],a=t.constructor={};return a[j5]=function(){return{foo:1}},t[e](Boolean).foo!==1})},P5=m0,G5=oh.map,U5=ed,q5=U5("map");P5({target:"Array",proto:!0,forced:!q5},{map:function(e){return G5(this,e,arguments.length>1?arguments[1]:void 0)}});var H5=p0,z5=function(){var e=H5(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},td=Sa,V5=_o,ad=V5.RegExp,id=td(function(){var e=ad("a","y");return e.lastIndex=2,e.exec("abcd")!==null}),$5=id||td(function(){return!ad("a","y").sticky}),W5=id||td(function(){var e=ad("^r","gy");return e.lastIndex=2,e.exec("str")!==null}),Z_={BROKEN_CARET:W5,MISSED_STICKY:$5,UNSUPPORTED_Y:id},Q5=Sa,J5=_o,K5=J5.RegExp,X5=Q5(function(){var e=K5(".","s");return!(e.dotAll&&e.test(` `)&&e.flags==="s")}),eB=Sa,tB=_o,aB=tB.RegExp,iB=eB(function(){var e=aB("(?b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$c")!=="bc"}),Ji=Fo,Wo=mo,nB=Hl,rB=z5,oB=Z_,sB=hF,lB=fF,uB=cF.get,dB=X5,cB=iB,hB=sB("native-string-replace",String.prototype.replace),ho=RegExp.prototype.exec,Cl=ho,fB=Wo("".charAt),gB=Wo("".indexOf),_B=Wo("".replace),Ms=Wo("".slice),Ml=function(){var e=/a/,t=/b*/g;return Ji(ho,e,"a"),Ji(ho,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),I_=oB.BROKEN_CARET,Yl=/()??/.exec("")[1]!==void 0,FB=Ml||Yl||I_||dB||cB;FB&&(Cl=function(e){var t=this,a=uB(t),i=nB(e),n=a.raw,r,o,s,l,c,u,d;if(n)return n.lastIndex=t.lastIndex,r=Ji(Cl,n,i),t.lastIndex=n.lastIndex,r;var f=a.groups,h=I_&&t.sticky,g=Ji(rB,t),m=t.source,p=0,T=i;if(h&&(g=_B(g,"y",""),gB(g,"g")===-1&&(g+="g"),T=Ms(i,t.lastIndex),t.lastIndex>0&&(!t.multiline||t.multiline&&fB(i,t.lastIndex-1)!==` -`)&&(m="(?: "+m+")",T=" "+T,p++),o=new RegExp("^(?:"+m+")",g)),Yl&&(o=new RegExp("^"+m+"$(?!\\s)",g)),Ml&&(s=t.lastIndex),l=Ji(ho,h?o:t,T),h?l?(l.input=Ms(l.input,p),l[0]=Ms(l[0],p),l.index=t.lastIndex,t.lastIndex+=l[0].length):t.lastIndex=0:Ml&&l&&(t.lastIndex=t.global?l.index+l[0].length:s),Yl&&l&&l.length>1&&Ji(hB,l[0],o,function(){for(c=1;c1||"".split(/.?/).length?i=function(n,r){var o=Ls(Uc(this)),s=r===void 0?zc:r>>>0;if(s===0)return[];if(n===void 0)return[o];if(!HB(n))return On(t,o,n,s);for(var l=[],c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),u=0,d=new RegExp(n.source,c+"g"),f,h,g;(f=On(QB,d,o))&&(h=d.lastIndex,!(h>u&&(Zi(l,xn(o,u,f.index)),f.length>1&&f.index=s)));)d.lastIndex===f.index&&d.lastIndex++;return u===o.length?(g||!eC(d,""))&&Zi(l,""):Zi(l,xn(o,u)),l.length>s?qc(l,0,s):l}:"0".split(void 0,0).length?i=function(n,r){return n===void 0&&r===0?[]:On(t,this,n,r)}:i=t,[function(n,r){var o=Uc(this),s=qB(n)?void 0:WB(n,e);return s?On(s,n,o,r):On(i,Ls(o),n,r)},function(n,r){var o=UB(this),s=Ls(n),l=a(i,o,s,r,i!==t);if(l.done)return l.value;var c=zB(o,RegExp),u=o.unicode,d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Li?"g":"y"),f=new c(Li?"^(?:"+o.source+")":o,d),h=r===void 0?zc:r>>>0;if(h===0)return[];if(s.length===0)return Hc(f,s)===null?[s]:[];for(var g=0,m=0,p=[];m]*>)/g,oC=/\$([$&'`]|\d{1,2})/g,sC=function(e,t,a,i,n,r){var o=a+e.length,s=i.length,l=oC;return n!==void 0&&(n=aC(n),l=rC),nC(r,l,function(c,u){var d;switch(Zs(u,0)){case"$":return"$";case"&":return e;case"`":return Is(t,0,a);case"'":return Is(t,o);case"<":d=n[Is(u,1,-1)];break;default:var f=+u;if(f===0)return c;if(f>s){var h=iC(f/10);return h===0?c:h<=s?i[h-1]===void 0?Zs(u,1):i[h-1]+Zs(u,1):c}d=i[f-1]}return d===void 0?"":d})},lC=hh,Vc=Fo,Jo=mo,uC=P_,dC=Sa,cC=p0,hC=lh,fC=Vl,gC=EF,_C=dh,Ii=Hl,FC=uh,mC=G_,pC=ch,TC=sC,DC=U_,EC=Dn,Ll=EC("replace"),bC=Math.max,yC=Math.min,AC=Jo([].concat),js=Jo([].push),$c=Jo("".indexOf),Wc=Jo("".slice),SC=function(e){return e===void 0?e:String(e)},kC=function(){return"a".replace(/./,"$0")==="$0"}(),Qc=function(){return/./[Ll]?/./[Ll]("a","$0")==="":!1}(),vC=!dC(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$")!=="7"});uC("replace",function(e,t,a){var i=Qc?"$":"$0";return[function(n,r){var o=FC(this),s=fC(n)?void 0:pC(n,Ll);return s?Vc(s,n,o,r):Vc(t,Ii(o),n,r)},function(n,r){var o=cC(this),s=Ii(n);if(typeof r=="string"&&$c(r,i)===-1&&$c(r,"$<")===-1){var l=a(t,o,s,r);if(l.done)return l.value}var c=hC(r);c||(r=Ii(r));var u=o.global,d;u&&(d=o.unicode,o.lastIndex=0);for(var f=[],h;h=DC(o,s),!(h===null||(js(f,h),!u));){var g=Ii(h[0]);g===""&&(o.lastIndex=mC(s,_C(o.lastIndex),d))}for(var m="",p=0,T=0;T=p&&(m+=Wc(s,p,k)+j,p=k+R.length)}return m+Wc(s,p)}]},!vC||!kC||Qc);var RC=m0,NC=oh.filter,wC=ed,OC=wC("filter");RC({target:"Array",proto:!0,forced:!OC},{filter:function(e){return NC(this,e,arguments.length>1?arguments[1]:void 0)}});var xC=bF,BC=$l,CC=yF,MC=fh,YC=TypeError,Jc=function(e){return function(t,a,i,n){xC(a);var r=BC(t),o=CC(r),s=MC(r),l=e?s-1:0,c=e?-1:1;if(i<2)for(;;){if(l in o){n=o[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw new YC("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in o&&(n=a(n,o[l],l,r));return n}},LC={left:Jc(!1),right:Jc(!0)},ZC=Sa,IC=function(e,t){var a=[][e];return!!a&&ZC(function(){a.call(null,t||function(){return 1},1)})},jC=_o,PC=zl,GC=PC(jC.process)==="process",UC=m0,qC=LC.left,HC=IC,Kc=ql,zC=GC,VC=!zC&&Kc>79&&Kc<83,$C=VC||!HC("reduce");UC({target:"Array",proto:!0,forced:$C},{reduce:function(e){var t=arguments.length;return qC(this,e,t,t>1?arguments[1]:void 0)}});var WC=TypeError,QC=9007199254740991,JC=function(e){if(e>QC)throw WC("Maximum allowed index exceeded");return e},KC=m0,XC=Sa,eM=kF,tM=sh,aM=$l,iM=fh,Xc=JC,eh=AF,nM=SF,rM=ed,oM=Dn,sM=ql,H_=oM("isConcatSpreadable"),lM=sM>=51||!XC(function(){var e=[];return e[H_]=!1,e.concat()[0]!==e}),uM=function(e){if(!tM(e))return!1;var t=e[H_];return t!==void 0?!!t:eM(e)},dM=!lM||!rM("concat");KC({target:"Array",proto:!0,arity:1,forced:dM},{concat:function(e){var t=aM(this),a=nM(t,0),i=0,n,r,o,s,l;for(n=-1,o=arguments.length;n0});if(i.length<1)return"";var n=i[i.length-1],r=i[0].charAt(0)==="/",o=n.charAt(n.length-1)==="/",s=i.reduce(function(u,d){return u.concat(d.split("/"))},[]),l=!r,c=s.reduce(function(u,d){return d===""?u:l?(l=!1,u+d):u+"/"+d},"");return o?c+"/":c}function _M(e,t){var a=(e||"").split("/").filter(function(n){return n!=="."}),i=(t||"").split("/").filter(function(n){return n!=="."});return e=Zl.apply(void 0,a),t=Zl.apply(void 0,i),e===t}const FM={name:"FileRichArgument",props:{name:{type:String,required:!0},path:{type:String,required:!0},link:{type:String,required:!0}},methods:{t:Fr},computed:{isRoot(){return th(this.path,"")},parentPathIsRoot(){return th(this.parentFolder,"/")},parentFolder(){return cM(this.name)}}};var mM=function(){var e=this,t=e._self._c;return t("span",{staticClass:"rich-text-file"},[!e.isRoot&&e.parentPathIsRoot?t("a",{attrs:{href:e.link}},[e._v(e._s(e.name))]):e._e(),!e.isRoot&&!e.parentPathIsRoot?t("a",{attrs:{title:e.t("activity","in {path}",{path:e.parentFolder}),"aria-label":e.t("activity","in {path}",{path:e.parentFolder}),href:e.link}},[e._v(e._s(e.name))]):e._e(),e.isRoot?t("span",{staticClass:"icon-home",attrs:{title:e.t("activity","Home"),"aria-label":"t('activity', 'Home')"}}):e._e()])},pM=[],TM=zt(FM,mM,pM,!1,null,"f30ef6d6",null,null);const DM=TM.exports,EM={name:"EmailRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0}}};var bM=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:`mailto:${e.id}`}},[e._v(e._s(e.name))])},yM=[],AM=zt(EM,bM,yM,!1,null,null,null,null);const SM=AM.exports;const kM={name:"SystemTagRichArgument",props:{name:{type:String,required:!0}}};var vM=function(){var e=this,t=e._self._c;return t("strong",[e._v(e._s(e.name))])},RM=[],NM=zt(kM,vM,RM,!1,null,"b8794790",null,null);const wM=NM.exports,OM={name:"CalendarRichArgument",props:{name:{type:String,required:!0}}};var xM=function(){var e=this,t=e._self._c;return t("strong",[e._v(e._s(e.name))])},BM=[],CM=zt(OM,xM,BM,!1,null,null,null,null);const MM=CM.exports,YM={name:"CalendarEventRichArgument",props:{name:{type:String,required:!0},title:{type:String,required:!0},link:{type:String,required:!0}}};var LM=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:e.link,title:e.title}},[t("strong",[e._v(e._s(e.name))])])},ZM=[],IM=zt(YM,LM,ZM,!1,null,null,null,null);const jM=IM.exports,PM={name:"OpenGraphRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0},description:{type:String,required:!0},thumb:{type:String,default:""},link:{type:String,required:!0},website:{type:String,required:!0}},computed:{thumbIsDefined(){return this.thumb!==""}}};var GM=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:e.link}},[t("div",{staticClass:"opengraph",attrs:{id:`opengraph-${e.id}`}},[e.thumbIsDefined?t("div",{staticClass:"opengraph-thumb",style:`background-image: url('${e.thumb}')`}):e._e(),t("div",{staticClass:"opengraph-name",class:{"opengraph-with-thumb":e.thumbIsDefined}},[e._v(e._s(e.name))]),t("div",{staticClass:"opengraph-description",class:{"opengraph-with-thumb":e.thumbIsDefined}},[e._v(e._s(e.description))]),t("span",{staticClass:"opengraph-website"},[e._v(e._s(e.website))])])])},UM=[],qM=zt(PM,GM,UM,!1,null,null,null,null);const HM=qM.exports,zM={name:"AddressBookRichArgument",props:{name:{type:String,required:!0}}};var VM=function(){var e=this,t=e._self._c;return t("strong",[e._v(e._s(e.name))])},$M=[],WM=zt(zM,VM,$M,!1,null,null,null,null);const QM=WM.exports;function Il(e){const t={};for(const a in e)t[a]=JM(e[a]);return t}function JM(e){switch(e.type){case"file":return{component:DM,props:e};case"user":return{component:Yc,props:{displayName:e.name,user:e.id,url:e.link}};case"group":return{component:Yc,props:{avatarImage:"icon-group",displayName:e.name,primary:!0}};case"email":return{component:SM,props:e};case"systemtag":return{component:wM,props:e};case"opengraph":return{component:HM,props:e};case"calendar":return{component:MM,props:e};case"calendar-event":return{component:jM,props:e};case"addressbook":return{component:QM,props:e};default:return e}}const KM=Tn({__name:"CommentActivity",props:{activity:null,showPreviews:{type:Boolean}},setup(e){const t=e,a=Ge(()=>t.activity.subjectRichObjects?.author?.id??t.activity.user),i=Ge(()=>t.activity.user===Tr()?.uid?Fr("activity","You commented"):t.activity.subjectRichObjects?.author?.name??t.activity.user),n=Ge(()=>t.activity.timestamp*1e3),r=Ge(()=>t.activity.messageRichTemplate||t.activity.message||Fr("activity","Message deleted by author")),o=Ge(()=>t.activity.subjectRichTemplate||t.activity.subject),s=Ge(()=>Il(t.activity.subjectRichObjects));return{__sfc:!0,props:t,authorId:a,authorDisplayName:i,timestamp:n,messageText:r,subjectText:o,subjectArguments:s,NcAvatar:y0,NcDateTime:ug,NcRichText:h_}}});var XM=function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t("li",{staticClass:"activity-entry comments-activity"},[t(a.NcAvatar,{staticClass:"comments-activity__icon",attrs:{"disable-menu":!1,user:a.authorId}}),t("div",{staticClass:"comments-activity__content"},[e.showPreviews?t(a.NcRichText,{staticClass:"comments-activity__title",attrs:{text:a.subjectText,arguments:a.subjectArguments}}):t("div",{staticClass:"comments-activity__title"},[e._v(" "+e._s(a.authorDisplayName)+" ")]),t(a.NcRichText,{staticClass:"comments-activity__subline",attrs:{text:a.messageText,arguments:e.activity.messageRichObjects}})],1),t("span",{staticClass:"hidden-visually"},[e._v(e._s(e.activity.formattedDate))]),t(a.NcDateTime,{staticClass:"comments-activity__date",attrs:{"data-testid":"activity-date",timestamp:a.timestamp,"ignore-seconds":!0}})],1)},e7=[],t7=zt(KM,XM,e7,!1,null,"d0df7393",null,null);const a7=t7.exports,i7=Tn({name:"GenericActivity",components:{NcAvatar:y0,NcDateTime:ug,NcRichText:h_},props:{activity:{type:Mf,required:!0},showPreviews:{type:Boolean,default:!1}},computed:{timestamp(){return this.activity.timestamp*1e3},messageText(){return this.activity.messageRichTemplate||this.activity.message},messageArguments(){return Il(this.activity.messageRichObjects)},subjectText(){return this.activity.subjectRichTemplate||this.activity.subject},subjectArguments(){return Il(this.activity.subjectRichObjects)},applyMonochromeIconColor(){return this.activity.type!=="file_created"&&this.activity.type!=="file_deleted"&&this.activity.type!=="favorite"&&!this.activity.icon.endsWith("-color.svg")?"monochrome":""}},methods:{t:Fr,handlePreviewClick(e,t){if(t.filePath&&window?.OCA?.Viewer?.open!==void 0&&window.OCA.Viewer.mimetypes.includes(t.mimeType))try{window.OCA.Viewer.open({path:t.filePath.replace(/^\/[^/]+\/files/,"")}),e.preventDefault(),e.stopPropagation()}catch(a){vF.debug(a)}}}});var n7=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("li",{staticClass:"activity-entry"},[t("NcAvatar",{class:[e.applyMonochromeIconColor,"activity-entry__icon","activity-icon","avatardiv--unknown"],attrs:{"disable-menu":!0,"disable-tooltip":!0,url:e.activity.icon,size:20}}),t("div",{staticClass:"activity-entry__content"},[t("NcRichText",{staticClass:"activity-entry__content__subject",attrs:{text:e.subjectText,arguments:e.subjectArguments}}),t("NcRichText",{staticClass:"activity-entry__content__message",attrs:{text:e.messageText,arguments:e.messageArguments}})],1),t("span",{staticClass:"hidden-visually"},[e._v(e._s(e.activity.formattedDate))]),t("NcDateTime",{staticClass:"activity-entry__date",attrs:{timestamp:e.timestamp,"ignore-seconds":!0,"data-testid":"activity-date"}}),e.showPreviews?t("ul",{staticClass:"activity-entry__preview-wrapper"},e._l(e.activity.previews,function(a,i){return t("li",{key:a.fileId??`preview-${i}`},[t(a.link?"a":"span",{tag:"component",staticClass:"activity-entry__preview",attrs:{href:a.link},on:{click:function(n){return e.handlePreviewClick(n,a)}}},[t("img",{staticClass:"activity-entry__preview-image",class:{"activity-entry__preview-mimetype":a.isMimeTypeIcon},attrs:{src:a.source,alt:a.link?e.t("activity","Open {filename}",{filename:a.filename}):""}})])],1)}),0):e._e()],1)},r7=[],o7=zt(i7,n7,r7,!1,null,"f5227368",null,null);const s7=o7.exports,l7=Tn({__name:"PluginActivity",props:{activity:null,showPreviews:{type:Boolean}},emits:["reload"],setup(e,{emit:t}){const a=e,i=nt();return Pl(()=>a.activity.mount(i.value,{context:jl()?.proxy,reload:()=>t("reload")})),sF(()=>a.activity.unmount()),{__sfc:!0,props:a,emit:t,activityMount:i}}});var u7=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("li",{ref:"activityMount"})},d7=[],c7=zt(l7,u7,d7,!1,null,null,null,null);const h7=c7.exports,f7=Tn({__name:"Activity",props:{activity:null,showPreviews:{type:Boolean}},setup(e){const t=e,a=Ge(()=>t),i=Ge(()=>{if(!(t.activity instanceof Mf))return console.warn(t.activity),h7;switch(t.activity.type){case"comments":return a7;default:return s7}});return{__sfc:!0,props:t,activityOptions:a,activityComponent:i}}});var g7=function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t(a.activityComponent,e._b({tag:"component",on:{reload:function(i){return e.$emit("reload")}}},"component",a.activityOptions,!1))},_7=[],F7=zt(f7,g7,_7,!1,null,null,null,null);const I7=F7.exports;export{I7 as A,N7 as F,Ef as V,A7 as W,bf as _,Gf as a,Co as b,bD as c,x9 as d,n4 as e,os as f,y7 as g,mu as h,Mf as i,fn as j,ai as m,ol as n,Du as p,R7 as u,Cf as v}; +`)&&(m="(?: "+m+")",T=" "+T,p++),o=new RegExp("^(?:"+m+")",g)),Yl&&(o=new RegExp("^"+m+"$(?!\\s)",g)),Ml&&(s=t.lastIndex),l=Ji(ho,h?o:t,T),h?l?(l.input=Ms(l.input,p),l[0]=Ms(l[0],p),l.index=t.lastIndex,t.lastIndex+=l[0].length):t.lastIndex=0:Ml&&l&&(t.lastIndex=t.global?l.index+l[0].length:s),Yl&&l&&l.length>1&&Ji(hB,l[0],o,function(){for(c=1;c1||"".split(/.?/).length?i=function(n,r){var o=Ls(Uc(this)),s=r===void 0?zc:r>>>0;if(s===0)return[];if(n===void 0)return[o];if(!HB(n))return On(t,o,n,s);for(var l=[],c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),u=0,d=new RegExp(n.source,c+"g"),f,h,g;(f=On(QB,d,o))&&(h=d.lastIndex,!(h>u&&(Zi(l,xn(o,u,f.index)),f.length>1&&f.index=s)));)d.lastIndex===f.index&&d.lastIndex++;return u===o.length?(g||!eC(d,""))&&Zi(l,""):Zi(l,xn(o,u)),l.length>s?qc(l,0,s):l}:"0".split(void 0,0).length?i=function(n,r){return n===void 0&&r===0?[]:On(t,this,n,r)}:i=t,[function(n,r){var o=Uc(this),s=qB(n)?void 0:WB(n,e);return s?On(s,n,o,r):On(i,Ls(o),n,r)},function(n,r){var o=UB(this),s=Ls(n),l=a(i,o,s,r,i!==t);if(l.done)return l.value;var c=zB(o,RegExp),u=o.unicode,d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Li?"g":"y"),f=new c(Li?"^(?:"+o.source+")":o,d),h=r===void 0?zc:r>>>0;if(h===0)return[];if(s.length===0)return Hc(f,s)===null?[s]:[];for(var g=0,m=0,p=[];m]*>)/g,oC=/\$([$&'`]|\d{1,2})/g,sC=function(e,t,a,i,n,r){var o=a+e.length,s=i.length,l=oC;return n!==void 0&&(n=aC(n),l=rC),nC(r,l,function(c,u){var d;switch(Zs(u,0)){case"$":return"$";case"&":return e;case"`":return Is(t,0,a);case"'":return Is(t,o);case"<":d=n[Is(u,1,-1)];break;default:var f=+u;if(f===0)return c;if(f>s){var h=iC(f/10);return h===0?c:h<=s?i[h-1]===void 0?Zs(u,1):i[h-1]+Zs(u,1):c}d=i[f-1]}return d===void 0?"":d})},lC=hh,Vc=Fo,Jo=mo,uC=P_,dC=Sa,cC=p0,hC=lh,fC=Vl,gC=EF,_C=dh,Ii=Hl,FC=uh,mC=G_,pC=ch,TC=sC,DC=U_,EC=Dn,Ll=EC("replace"),bC=Math.max,yC=Math.min,AC=Jo([].concat),js=Jo([].push),$c=Jo("".indexOf),Wc=Jo("".slice),SC=function(e){return e===void 0?e:String(e)},kC=function(){return"a".replace(/./,"$0")==="$0"}(),Qc=function(){return/./[Ll]?/./[Ll]("a","$0")==="":!1}(),vC=!dC(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$")!=="7"});uC("replace",function(e,t,a){var i=Qc?"$":"$0";return[function(n,r){var o=FC(this),s=fC(n)?void 0:pC(n,Ll);return s?Vc(s,n,o,r):Vc(t,Ii(o),n,r)},function(n,r){var o=cC(this),s=Ii(n);if(typeof r=="string"&&$c(r,i)===-1&&$c(r,"$<")===-1){var l=a(t,o,s,r);if(l.done)return l.value}var c=hC(r);c||(r=Ii(r));var u=o.global,d;u&&(d=o.unicode,o.lastIndex=0);for(var f=[],h;h=DC(o,s),!(h===null||(js(f,h),!u));){var g=Ii(h[0]);g===""&&(o.lastIndex=mC(s,_C(o.lastIndex),d))}for(var m="",p=0,T=0;T=p&&(m+=Wc(s,p,k)+j,p=k+R.length)}return m+Wc(s,p)}]},!vC||!kC||Qc);var RC=m0,NC=oh.filter,wC=ed,OC=wC("filter");RC({target:"Array",proto:!0,forced:!OC},{filter:function(e){return NC(this,e,arguments.length>1?arguments[1]:void 0)}});var xC=bF,BC=$l,CC=yF,MC=fh,YC=TypeError,Jc=function(e){return function(t,a,i,n){xC(a);var r=BC(t),o=CC(r),s=MC(r),l=e?s-1:0,c=e?-1:1;if(i<2)for(;;){if(l in o){n=o[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw new YC("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in o&&(n=a(n,o[l],l,r));return n}},LC={left:Jc(!1),right:Jc(!0)},ZC=Sa,IC=function(e,t){var a=[][e];return!!a&&ZC(function(){a.call(null,t||function(){return 1},1)})},jC=_o,PC=zl,GC=PC(jC.process)==="process",UC=m0,qC=LC.left,HC=IC,Kc=ql,zC=GC,VC=!zC&&Kc>79&&Kc<83,$C=VC||!HC("reduce");UC({target:"Array",proto:!0,forced:$C},{reduce:function(e){var t=arguments.length;return qC(this,e,t,t>1?arguments[1]:void 0)}});var WC=TypeError,QC=9007199254740991,JC=function(e){if(e>QC)throw WC("Maximum allowed index exceeded");return e},KC=m0,XC=Sa,eM=kF,tM=sh,aM=$l,iM=fh,Xc=JC,eh=AF,nM=SF,rM=ed,oM=Dn,sM=ql,H_=oM("isConcatSpreadable"),lM=sM>=51||!XC(function(){var e=[];return e[H_]=!1,e.concat()[0]!==e}),uM=function(e){if(!tM(e))return!1;var t=e[H_];return t!==void 0?!!t:eM(e)},dM=!lM||!rM("concat");KC({target:"Array",proto:!0,arity:1,forced:dM},{concat:function(e){var t=aM(this),a=nM(t,0),i=0,n,r,o,s,l;for(n=-1,o=arguments.length;n0});if(i.length<1)return"";var n=i[i.length-1],r=i[0].charAt(0)==="/",o=n.charAt(n.length-1)==="/",s=i.reduce(function(u,d){return u.concat(d.split("/"))},[]),l=!r,c=s.reduce(function(u,d){return d===""?u:l?(l=!1,u+d):u+"/"+d},"");return o?c+"/":c}function _M(e,t){var a=(e||"").split("/").filter(function(n){return n!=="."}),i=(t||"").split("/").filter(function(n){return n!=="."});return e=Zl.apply(void 0,a),t=Zl.apply(void 0,i),e===t}const FM={name:"FileRichArgument",props:{name:{type:String,required:!0},path:{type:String,required:!0},link:{type:String,required:!0}},methods:{t:Fr},computed:{isRoot(){return th(this.path,"")},parentPathIsRoot(){return th(this.parentFolder,"/")},parentFolder(){return cM(this.name)}}};var mM=function(){var e=this,t=e._self._c;return t("span",{staticClass:"rich-text-file"},[!e.isRoot&&e.parentPathIsRoot?t("a",{attrs:{href:e.link}},[e._v(e._s(e.name))]):e._e(),!e.isRoot&&!e.parentPathIsRoot?t("a",{attrs:{title:e.t("activity","in {path}",{path:e.parentFolder}),"aria-label":e.t("activity","in {path}",{path:e.parentFolder}),href:e.link}},[e._v(e._s(e.name))]):e._e(),e.isRoot?t("span",{staticClass:"icon-home",attrs:{title:e.t("activity","Home"),"aria-label":"t('activity', 'Home')"}}):e._e()])},pM=[],TM=zt(FM,mM,pM,!1,null,"f30ef6d6",null,null);const DM=TM.exports,EM={name:"EmailRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0}}};var bM=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:`mailto:${e.id}`}},[e._v(e._s(e.name))])},yM=[],AM=zt(EM,bM,yM,!1,null,null,null,null);const SM=AM.exports;const kM={name:"SystemTagRichArgument",props:{name:{type:String,required:!0}}};var vM=function(){var e=this,t=e._self._c;return t("strong",[e._v(e._s(e.name))])},RM=[],NM=zt(kM,vM,RM,!1,null,"b8794790",null,null);const wM=NM.exports,OM={name:"CalendarRichArgument",props:{name:{type:String,required:!0}}};var xM=function(){var e=this,t=e._self._c;return t("strong",[e._v(e._s(e.name))])},BM=[],CM=zt(OM,xM,BM,!1,null,null,null,null);const MM=CM.exports,YM={name:"CalendarEventRichArgument",props:{name:{type:String,required:!0},title:{type:String,required:!0},link:{type:String,required:!0}}};var LM=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:e.link,title:e.title}},[t("strong",[e._v(e._s(e.name))])])},ZM=[],IM=zt(YM,LM,ZM,!1,null,null,null,null);const jM=IM.exports,PM={name:"OpenGraphRichArgument",props:{id:{type:String,required:!0},name:{type:String,required:!0},description:{type:String,required:!0},thumb:{type:String,default:""},link:{type:String,required:!0},website:{type:String,required:!0}},computed:{thumbIsDefined(){return this.thumb!==""}}};var GM=function(){var e=this,t=e._self._c;return t("a",{attrs:{href:e.link}},[t("div",{staticClass:"opengraph",attrs:{id:`opengraph-${e.id}`}},[e.thumbIsDefined?t("div",{staticClass:"opengraph-thumb",style:`background-image: url('${e.thumb}')`}):e._e(),t("div",{staticClass:"opengraph-name",class:{"opengraph-with-thumb":e.thumbIsDefined}},[e._v(e._s(e.name))]),t("div",{staticClass:"opengraph-description",class:{"opengraph-with-thumb":e.thumbIsDefined}},[e._v(e._s(e.description))]),t("span",{staticClass:"opengraph-website"},[e._v(e._s(e.website))])])])},UM=[],qM=zt(PM,GM,UM,!1,null,null,null,null);const HM=qM.exports,zM={name:"AddressBookRichArgument",props:{name:{type:String,required:!0}}};var VM=function(){var e=this,t=e._self._c;return t("strong",[e._v(e._s(e.name))])},$M=[],WM=zt(zM,VM,$M,!1,null,null,null,null);const QM=WM.exports;function Il(e){const t={};for(const a in e)t[a]=JM(e[a]);return t}function JM(e){switch(e.type){case"file":return{component:DM,props:e};case"user":return{component:Yc,props:{displayName:e.name,user:e.id,url:e.link}};case"group":return{component:Yc,props:{avatarImage:"icon-group",displayName:e.name,primary:!0}};case"email":return{component:SM,props:e};case"systemtag":return{component:wM,props:e};case"opengraph":return{component:HM,props:e};case"calendar":return{component:MM,props:e};case"calendar-event":return{component:jM,props:e};case"addressbook":return{component:QM,props:e};default:return e}}const KM=Tn({__name:"CommentActivity",props:{activity:null,showPreviews:{type:Boolean}},setup(e){const t=e,a=Ge(()=>t.activity.subjectRichObjects?.author?.id??t.activity.user),i=Ge(()=>t.activity.user===Tr()?.uid?Fr("activity","You commented"):t.activity.subjectRichObjects?.author?.name??t.activity.user),n=Ge(()=>t.activity.timestamp*1e3),r=Ge(()=>t.activity.messageRichTemplate||t.activity.message||Fr("activity","Message deleted by author")),o=Ge(()=>t.activity.subjectRichTemplate||t.activity.subject),s=Ge(()=>Il(t.activity.subjectRichObjects));return{__sfc:!0,props:t,authorId:a,authorDisplayName:i,timestamp:n,messageText:r,subjectText:o,subjectArguments:s,NcAvatar:y0,NcDateTime:ug,NcRichText:h_}}});var XM=function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t("li",{staticClass:"activity-entry comments-activity"},[t(a.NcAvatar,{staticClass:"comments-activity__icon",attrs:{"disable-menu":!1,user:a.authorId}}),t("div",{staticClass:"comments-activity__content"},[e.showPreviews?t(a.NcRichText,{staticClass:"comments-activity__title",attrs:{text:a.subjectText,arguments:a.subjectArguments}}):t("div",{staticClass:"comments-activity__title"},[e._v(" "+e._s(a.authorDisplayName)+" ")]),t(a.NcRichText,{staticClass:"comments-activity__subline",attrs:{text:a.messageText,arguments:e.activity.messageRichObjects}})],1),t("span",{staticClass:"hidden-visually"},[e._v(e._s(e.activity.formattedDate))]),t(a.NcDateTime,{staticClass:"comments-activity__date",attrs:{"data-testid":"activity-date",timestamp:a.timestamp,"ignore-seconds":!0}})],1)},e7=[],t7=zt(KM,XM,e7,!1,null,"d0df7393",null,null);const a7=t7.exports,i7=Tn({name:"GenericActivity",components:{NcAvatar:y0,NcDateTime:ug,NcRichText:h_},props:{activity:{type:Mf,required:!0},showPreviews:{type:Boolean,default:!1}},computed:{timestamp(){return this.activity.timestamp*1e3},messageText(){return this.activity.messageRichTemplate||this.activity.message},messageArguments(){return Il(this.activity.messageRichObjects)},subjectText(){return this.activity.subjectRichTemplate||this.activity.subject},subjectArguments(){return Il(this.activity.subjectRichObjects)},applyMonochromeIconColor(){return this.activity.type!=="file_created"&&this.activity.type!=="file_deleted"&&this.activity.type!=="favorite"&&!this.activity.icon.endsWith("-color.svg")?"monochrome":""}},methods:{t:Fr,handlePreviewClick(e,t){if(t.filePath&&window?.OCA?.Viewer?.open!==void 0&&window.OCA.Viewer.mimetypes.includes(t.mimeType))try{window.OCA.Viewer.open({path:t.filePath.replace(/^\/[^/]+\/files/,"")}),e.preventDefault(),e.stopPropagation()}catch(a){vF.debug(a)}}}});var n7=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("li",{staticClass:"activity-entry"},[t("NcAvatar",{class:[e.applyMonochromeIconColor,"activity-entry__icon","activity-icon","avatardiv--unknown"],attrs:{"disable-menu":!0,"disable-tooltip":!0,url:e.activity.icon,size:20}}),t("div",{staticClass:"activity-entry__content"},[t("NcRichText",{staticClass:"activity-entry__content__subject",attrs:{text:e.subjectText,arguments:e.subjectArguments}}),t("NcRichText",{staticClass:"activity-entry__content__message",attrs:{text:e.messageText,arguments:e.messageArguments}})],1),t("span",{staticClass:"hidden-visually"},[e._v(e._s(e.activity.formattedDate))]),t("NcDateTime",{staticClass:"activity-entry__date",attrs:{timestamp:e.timestamp,"ignore-seconds":!0,"data-testid":"activity-date"}}),e.showPreviews?t("ul",{staticClass:"activity-entry__preview-wrapper"},e._l(e.activity.previews,function(a,i){return t("li",{key:a.fileId??`preview-${i}`},[t(a.link?"a":"span",{tag:"component",staticClass:"activity-entry__preview",attrs:{href:a.link},on:{click:function(n){return e.handlePreviewClick(n,a)}}},[t("img",{staticClass:"activity-entry__preview-image",class:{"activity-entry__preview-mimetype":a.isMimeTypeIcon},attrs:{src:a.source,alt:a.link?e.t("activity","Open {filename}",{filename:a.filename}):""}})])],1)}),0):e._e()],1)},r7=[],o7=zt(i7,n7,r7,!1,null,"f5227368",null,null);const s7=o7.exports,l7=Tn({__name:"PluginActivity",props:{activity:null,showPreviews:{type:Boolean}},emits:["reload"],setup(e,{emit:t}){const a=e,i=nt();return Pl(()=>a.activity.mount(i.value,{context:jl()?.proxy,reload:()=>t("reload")})),sF(()=>a.activity.unmount()),{__sfc:!0,props:a,emit:t,activityMount:i}}});var u7=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("li",{ref:"activityMount"})},d7=[],c7=zt(l7,u7,d7,!1,null,null,null,null);const h7=c7.exports,f7=Tn({__name:"Activity",props:{activity:null,showPreviews:{type:Boolean}},setup(e){const t=e,a=Ge(()=>t),i=Ge(()=>{if(!(t.activity instanceof Mf))return console.warn(t.activity),h7;switch(t.activity.type){case"comments":return a7;default:return s7}});return{__sfc:!0,props:t,activityOptions:a,activityComponent:i}}});var g7=function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t(a.activityComponent,e._b({tag:"component",on:{reload:function(i){return e.$emit("reload")}}},"component",a.activityOptions,!1))},_7=[],F7=zt(f7,g7,_7,!1,null,null,null,null);const I7=F7.exports;export{I7 as A,N7 as F,A7 as W,bf as _,Gf as a,Co as b,bD as c,x9 as d,n4 as e,os as f,y7 as g,mu as h,Mf as i,fn as j,ai as m,ol as n,Du as p,R7 as u,Cf as v}; diff --git a/js/Activity-51fa98c0.mjs.map b/js/Activity-cb8c2203.mjs.map similarity index 50% rename from js/Activity-51fa98c0.mjs.map rename to js/Activity-cb8c2203.mjs.map index 1bbc12acc..8b1e0c401 100644 --- a/js/Activity-51fa98c0.mjs.map +++ b/js/Activity-cb8c2203.mjs.map @@ -1 +1 @@ -{"version":3,"file":"Activity-51fa98c0.mjs","sources":["../node_modules/moment/dist/moment.js","../node_modules/@nextcloud/moment/dist/index.js","../node_modules/@nextcloud/vue/dist/Components/NcButton.mjs","../node_modules/floating-vue/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js","../node_modules/floating-vue/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js","../node_modules/floating-vue/dist/floating-vue.es.js","../node_modules/@nextcloud/vue/dist/Directives/Tooltip.mjs","../node_modules/@nextcloud/vue/dist/chunks/ArrowRight-74a9fcb2.mjs","../node_modules/@nextcloud/vue/dist/Composables/useIsMobile.mjs","../node_modules/@nextcloud/browser-storage/dist/scopedstorage.js","../node_modules/@nextcloud/browser-storage/dist/storagebuilder.js","../node_modules/@nextcloud/browser-storage/dist/index.js","../node_modules/@vueuse/core/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/core/node_modules/@vueuse/shared/index.mjs","../node_modules/@vueuse/core/index.mjs","../node_modules/splitpanes/dist/splitpanes.es.js","../node_modules/@nextcloud/vue/dist/Components/NcAppContent.mjs","../node_modules/@nextcloud/vue/dist/Components/NcIconSvgWrapper.mjs","../node_modules/@nextcloud/vue/dist/Components/NcEmptyContent.mjs","../src/models/ActivityModel.ts","../node_modules/tabbable/dist/index.esm.js","../node_modules/focus-trap/dist/focus-trap.esm.js","../node_modules/@nextcloud/vue/dist/chunks/focusTrap-5d0f71d4.mjs","../node_modules/@nextcloud/vue/dist/Components/NcPopover.mjs","../node_modules/@nextcloud/vue/dist/chunks/DotsHorizontal-0ee7d901.mjs","../node_modules/@nextcloud/vue/dist/Components/NcActions.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionGlobal-8c1c28c9.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionText-60ff01d1.mjs","../node_modules/@nextcloud/vue/dist/Components/NcActionLink.mjs","../node_modules/@nextcloud/vue/dist/chunks/GenColors-02173e2c.mjs","../node_modules/crypt/crypt.js","../node_modules/charenc/charenc.js","../node_modules/is-buffer/index.js","../node_modules/md5/md5.js","../node_modules/@nextcloud/vue/dist/Functions/usernameToColor.mjs","../node_modules/@nextcloud/vue/dist/Composables/useIsFullscreen.mjs","../node_modules/linkifyjs/dist/linkify.es.js","../node_modules/linkify-string/dist/linkify-string.es.js","../node_modules/striptags/src/striptags.js","../node_modules/@nextcloud/capabilities/dist/index.js","../node_modules/@vueuse/components/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/shared/index.mjs","../node_modules/@vueuse/components/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/index-cea13a24.mjs","../node_modules/@nextcloud/vue/dist/Components/NcDateTime.mjs","../node_modules/@nextcloud/vue/dist/chunks/index-20a9ace9.mjs","../node_modules/@nextcloud/vue-select/dist/vue-select.js","../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs","../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../node_modules/@nextcloud/vue/dist/chunks/ChevronDown-a72d365d.mjs","../node_modules/@nextcloud/vue/dist/chunks/Close-271f72e2.mjs","../node_modules/@nextcloud/vue/dist/Components/NcEllipsisedOption.mjs","../node_modules/@nextcloud/vue/dist/Components/NcListItemIcon.mjs","../node_modules/@nextcloud/vue/dist/Components/NcSelect.mjs","../node_modules/@nextcloud/vue/dist/chunks/AlertCircleOutline-b73838e0.mjs","../node_modules/@nextcloud/vue/dist/chunks/Check-2ea0a88a.mjs","../node_modules/@nextcloud/vue/dist/Components/NcInputField.mjs","../node_modules/@nextcloud/vue/dist/Components/NcTextField.mjs","../node_modules/@nextcloud/vue/dist/chunks/ScopeComponent-3ea00dcd.mjs","../node_modules/@nextcloud/vue/dist/chunks/ChevronRight-1a6a6cf2.mjs","../node_modules/@nextcloud/vue/dist/Components/NcModal.mjs","../node_modules/@nextcloud/vue/dist/chunks/ArrowLeft-3779ba88.mjs","../node_modules/@nextcloud/vue/dist/chunks/referencePickerModal-c2f33569.mjs","../node_modules/unist-util-is/lib/index.js","../node_modules/unist-util-visit-parents/lib/index.js","../node_modules/unist-util-visit/lib/index.js","../node_modules/unist-builder/lib/index.js","../node_modules/bail/index.js","../node_modules/extend/index.js","../node_modules/unified/node_modules/is-plain-obj/index.js","../node_modules/trough/index.js","../node_modules/unist-util-stringify-position/lib/index.js","../node_modules/vfile-message/lib/index.js","../node_modules/vfile/lib/minpath.browser.js","../node_modules/vfile/lib/minproc.browser.js","../node_modules/vfile/lib/minurl.shared.js","../node_modules/vfile/lib/minurl.browser.js","../node_modules/vfile/lib/index.js","../node_modules/unified/lib/callable-instance.js","../node_modules/unified/lib/index.js","../node_modules/mdast-util-to-string/lib/index.js","../node_modules/decode-named-character-reference/index.dom.js","../node_modules/micromark-util-chunked/index.js","../node_modules/micromark-util-combine-extensions/index.js","../node_modules/micromark-util-decode-numeric-character-reference/index.js","../node_modules/micromark-util-normalize-identifier/index.js","../node_modules/micromark-util-character/index.js","../node_modules/micromark-util-sanitize-uri/index.js","../node_modules/micromark-factory-space/index.js","../node_modules/micromark/lib/initialize/content.js","../node_modules/micromark/lib/initialize/document.js","../node_modules/micromark-util-classify-character/index.js","../node_modules/micromark-util-resolve-all/index.js","../node_modules/micromark-core-commonmark/lib/attention.js","../node_modules/micromark-core-commonmark/lib/autolink.js","../node_modules/micromark-core-commonmark/lib/blank-line.js","../node_modules/micromark-core-commonmark/lib/block-quote.js","../node_modules/micromark-core-commonmark/lib/character-escape.js","../node_modules/micromark-core-commonmark/lib/character-reference.js","../node_modules/micromark-core-commonmark/lib/code-fenced.js","../node_modules/micromark-core-commonmark/lib/code-indented.js","../node_modules/micromark-core-commonmark/lib/code-text.js","../node_modules/micromark-util-subtokenize/index.js","../node_modules/micromark-core-commonmark/lib/content.js","../node_modules/micromark-factory-destination/index.js","../node_modules/micromark-factory-label/index.js","../node_modules/micromark-factory-title/index.js","../node_modules/micromark-factory-whitespace/index.js","../node_modules/micromark-core-commonmark/lib/definition.js","../node_modules/micromark-core-commonmark/lib/hard-break-escape.js","../node_modules/micromark-core-commonmark/lib/heading-atx.js","../node_modules/micromark-util-html-tag-name/index.js","../node_modules/micromark-core-commonmark/lib/html-flow.js","../node_modules/micromark-core-commonmark/lib/html-text.js","../node_modules/micromark-core-commonmark/lib/label-end.js","../node_modules/micromark-core-commonmark/lib/label-start-image.js","../node_modules/micromark-core-commonmark/lib/label-start-link.js","../node_modules/micromark-core-commonmark/lib/line-ending.js","../node_modules/micromark-core-commonmark/lib/thematic-break.js","../node_modules/micromark-core-commonmark/lib/list.js","../node_modules/micromark-core-commonmark/lib/setext-underline.js","../node_modules/micromark/lib/initialize/flow.js","../node_modules/micromark/lib/initialize/text.js","../node_modules/micromark/lib/create-tokenizer.js","../node_modules/micromark/lib/constructs.js","../node_modules/micromark/lib/parse.js","../node_modules/micromark/lib/postprocess.js","../node_modules/micromark/lib/preprocess.js","../node_modules/micromark-util-decode-string/index.js","../node_modules/mdast-util-from-markdown/lib/index.js","../node_modules/remark-parse/lib/index.js","../node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js","../node_modules/mdast-util-find-and-replace/lib/index.js","../node_modules/mdast-util-newline-to-break/lib/index.js","../node_modules/remark-breaks/lib/index.js","../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js","../node_modules/mdast-util-to-hast/lib/handlers/break.js","../node_modules/mdast-util-to-hast/lib/handlers/code.js","../node_modules/mdast-util-to-hast/lib/handlers/delete.js","../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js","../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js","../node_modules/mdast-util-to-hast/lib/handlers/heading.js","../node_modules/mdast-util-to-hast/lib/handlers/html.js","../node_modules/mdast-util-to-hast/lib/revert.js","../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js","../node_modules/mdast-util-to-hast/lib/handlers/image.js","../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js","../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js","../node_modules/mdast-util-to-hast/lib/handlers/link.js","../node_modules/mdast-util-to-hast/lib/handlers/list-item.js","../node_modules/mdast-util-to-hast/lib/handlers/list.js","../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js","../node_modules/mdast-util-to-hast/lib/handlers/root.js","../node_modules/mdast-util-to-hast/lib/handlers/strong.js","../node_modules/unist-util-position/lib/index.js","../node_modules/mdast-util-to-hast/lib/handlers/table.js","../node_modules/mdast-util-to-hast/lib/handlers/table-row.js","../node_modules/mdast-util-to-hast/lib/handlers/table-cell.js","../node_modules/trim-lines/index.js","../node_modules/mdast-util-to-hast/lib/handlers/text.js","../node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js","../node_modules/mdast-util-to-hast/lib/handlers/index.js","../node_modules/@ungap/structured-clone/esm/types.js","../node_modules/@ungap/structured-clone/esm/deserialize.js","../node_modules/@ungap/structured-clone/esm/serialize.js","../node_modules/@ungap/structured-clone/esm/index.js","../node_modules/mdast-util-to-hast/lib/footer.js","../node_modules/mdast-util-to-hast/lib/state.js","../node_modules/mdast-util-to-hast/lib/index.js","../node_modules/remark-rehype/lib/index.js","../node_modules/property-information/lib/util/schema.js","../node_modules/property-information/lib/util/merge.js","../node_modules/property-information/lib/normalize.js","../node_modules/property-information/lib/util/info.js","../node_modules/property-information/lib/util/types.js","../node_modules/property-information/lib/util/defined-info.js","../node_modules/property-information/lib/util/create.js","../node_modules/property-information/lib/xlink.js","../node_modules/property-information/lib/xml.js","../node_modules/property-information/lib/util/case-sensitive-transform.js","../node_modules/property-information/lib/util/case-insensitive-transform.js","../node_modules/property-information/lib/xmlns.js","../node_modules/property-information/lib/aria.js","../node_modules/property-information/lib/html.js","../node_modules/property-information/lib/svg.js","../node_modules/property-information/lib/find.js","../node_modules/property-information/lib/hast-to-react.js","../node_modules/property-information/index.js","../node_modules/space-separated-tokens/index.js","../node_modules/comma-separated-tokens/index.js","../node_modules/inline-style-parser/index.js","../node_modules/style-to-object/index.js","../node_modules/web-namespaces/index.js","../node_modules/hast-to-hyperscript/lib/index.js","../node_modules/@mapbox/hast-util-table-cell-style/node_modules/unist-util-is/convert.js","../node_modules/@mapbox/hast-util-table-cell-style/node_modules/unist-util-visit-parents/index.js","../node_modules/@mapbox/hast-util-table-cell-style/node_modules/unist-util-visit/index.js","../node_modules/@mapbox/hast-util-table-cell-style/index.js","../node_modules/hast-util-whitespace/index.js","../node_modules/rehype-react/lib/index.js","../node_modules/hast-util-is-element/lib/index.js","../node_modules/is-absolute-url/index.js","../node_modules/rehype-external-links/lib/index.js","../node_modules/@nextcloud/vue/dist/chunks/NcRichText-f5cfcd57.mjs","../node_modules/@nextcloud/vue/dist/Components/NcActionButton.mjs","../node_modules/@nextcloud/vue/dist/chunks/logger-3612e664.mjs","../node_modules/ical.js/build/ical.js","../node_modules/@nextcloud/vue/node_modules/uuid/dist/esm-browser/rng.js","../node_modules/@nextcloud/vue/node_modules/uuid/dist/esm-browser/stringify.js","../node_modules/@nextcloud/vue/node_modules/uuid/dist/esm-browser/native.js","../node_modules/@nextcloud/vue/node_modules/uuid/dist/esm-browser/v4.js","../node_modules/@nextcloud/vue/node_modules/@nextcloud/calendar-js/dist/index.es.mjs","../node_modules/@nextcloud/vue/dist/Components/NcTimezonePicker.mjs","../node_modules/date-format-parse/es/util.js","../node_modules/date-format-parse/es/locale/en.js","../node_modules/date-format-parse/es/format.js","../node_modules/date-format-parse/es/parse.js","../node_modules/vue2-datepicker/index.esm.js","../node_modules/@nextcloud/vue/dist/Components/NcDateTimePicker.mjs","../node_modules/@nextcloud/vue/dist/Components/NcDateTimePickerNative.mjs","../node_modules/debounce/index.js","../node_modules/@nextcloud/vue/dist/Components/NcPasswordField.mjs","../node_modules/@nextcloud/vue/dist/Components/NcActionInput.mjs","../node_modules/@nextcloud/vue/dist/Components/NcVNodes.mjs","../node_modules/@nextcloud/vue/dist/Mixins/clickOutsideOptions.mjs","../node_modules/@nextcloud/vue/dist/Components/NcAppNavigationSettings.mjs","../node_modules/@nextcloud/vue/dist/Components/NcDialogButton.mjs","../node_modules/@nextcloud/vue/dist/Components/NcDialog.mjs","../node_modules/@nextcloud/vue/dist/Components/NcAppSettingsDialog.mjs","../node_modules/vue-color/dist/vue-color.min.js","../node_modules/@nextcloud/vue/dist/Components/NcDashboardWidgetItem.mjs","../node_modules/@nextcloud/vue/dist/Components/NcDashboardWidget.mjs","../node_modules/emoji-mart-vue-fast/dist/emoji-mart.js","../node_modules/@nextcloud/vue/dist/Components/NcEmojiPicker.mjs","../node_modules/@nextcloud/vue/dist/Components/NcRelatedResourcesPanel.mjs","../node_modules/@nextcloud/vue/dist/chunks/index-5f2a5f57.mjs","../node_modules/tributejs/dist/tribute.esm.js","../node_modules/string-length/node_modules/ansi-regex/index.js","../node_modules/string-length/node_modules/strip-ansi/index.js","../node_modules/@nextcloud/vue/dist/Components/NcRichContenteditable.mjs","../node_modules/@nextcloud/vue/dist/Components/NcSelectTags.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcSettingsSelectGroup-091c0306.mjs","../node_modules/@nextcloud/vue/dist/Components/NcUserBubble.mjs","../node_modules/core-js/internals/array-method-has-species-support.js","../node_modules/core-js/modules/es.array.map.js","../node_modules/core-js/internals/regexp-flags.js","../node_modules/core-js/internals/regexp-sticky-helpers.js","../node_modules/core-js/internals/regexp-unsupported-dot-all.js","../node_modules/core-js/internals/regexp-unsupported-ncg.js","../node_modules/core-js/internals/regexp-exec.js","../node_modules/core-js/modules/es.regexp.exec.js","../node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","../node_modules/core-js/internals/is-regexp.js","../node_modules/core-js/internals/a-constructor.js","../node_modules/core-js/internals/species-constructor.js","../node_modules/core-js/internals/advance-string-index.js","../node_modules/core-js/internals/regexp-exec-abstract.js","../node_modules/core-js/modules/es.string.split.js","../node_modules/core-js/internals/get-substitution.js","../node_modules/core-js/modules/es.string.replace.js","../node_modules/core-js/modules/es.array.filter.js","../node_modules/core-js/internals/array-reduce.js","../node_modules/core-js/internals/array-method-is-strict.js","../node_modules/core-js/internals/engine-is-node.js","../node_modules/core-js/modules/es.array.reduce.js","../node_modules/core-js/internals/does-not-exceed-safe-integer.js","../node_modules/core-js/modules/es.array.concat.js","../node_modules/@nextcloud/paths/dist/index.js","../src/components/richArgumentsTypes/FileRichArgument.vue","../src/components/richArgumentsTypes/EmailRichArgument.vue","../src/components/richArgumentsTypes/SystemTagRichArgument.vue","../src/components/richArgumentsTypes/CalendarRichArgument.vue","../src/components/richArgumentsTypes/CalendarEventRichArgument.vue","../src/components/richArgumentsTypes/OpenGraphRichArgument.vue","../src/components/richArgumentsTypes/AddressBookRichArgument.vue","../src/utils/richObjects.ts","../src/components/activities/CommentActivity.vue","../src/components/activities/GenericActivity.vue","../src/components/activities/PluginActivity.vue","../src/components/Activity.vue"],"sourcesContent":["//! moment.js\n//! version : 2.29.4\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\nvar hookCallback;\n\nfunction hooks() {\n return hookCallback.apply(null, arguments);\n}\n\n// This is done to register the method called with moment()\n// without creating circular dependencies.\nfunction setHookCallback(callback) {\n hookCallback = callback;\n}\n\nfunction isArray(input) {\n return (\n input instanceof Array ||\n Object.prototype.toString.call(input) === '[object Array]'\n );\n}\n\nfunction isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return (\n input != null &&\n Object.prototype.toString.call(input) === '[object Object]'\n );\n}\n\nfunction hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n}\n\nfunction isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n}\n\nfunction isUndefined(input) {\n return input === void 0;\n}\n\nfunction isNumber(input) {\n return (\n typeof input === 'number' ||\n Object.prototype.toString.call(input) === '[object Number]'\n );\n}\n\nfunction isDate(input) {\n return (\n input instanceof Date ||\n Object.prototype.toString.call(input) === '[object Date]'\n );\n}\n\nfunction map(arr, fn) {\n var res = [],\n i,\n arrLen = arr.length;\n for (i = 0; i < arrLen; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n}\n\nfunction extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n\n return a;\n}\n\nfunction createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n}\n\nfunction defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false,\n };\n}\n\nfunction getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n}\n\nvar some;\nif (Array.prototype.some) {\n some = Array.prototype.some;\n} else {\n some = function (fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n\n return false;\n };\n}\n\nfunction isValid(m) {\n if (m._isValid == null) {\n var flags = getParsingFlags(m),\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n }),\n isNowValid =\n !isNaN(m._d.getTime()) &&\n flags.overflow < 0 &&\n !flags.empty &&\n !flags.invalidEra &&\n !flags.invalidMonth &&\n !flags.invalidWeekday &&\n !flags.weekdayMismatch &&\n !flags.nullInput &&\n !flags.invalidFormat &&\n !flags.userInvalidated &&\n (!flags.meridiem || (flags.meridiem && parsedParts));\n\n if (m._strict) {\n isNowValid =\n isNowValid &&\n flags.charsLeftOver === 0 &&\n flags.unusedTokens.length === 0 &&\n flags.bigHour === undefined;\n }\n\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n }\n return m._isValid;\n}\n\nfunction createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n\n return m;\n}\n\n// Plugins that add properties should also add the key here (null value),\n// so we can properly clone ourselves.\nvar momentProperties = (hooks.momentProperties = []),\n updateInProgress = false;\n\nfunction copyConfig(to, from) {\n var i,\n prop,\n val,\n momentPropertiesLen = momentProperties.length;\n\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n\n if (momentPropertiesLen > 0) {\n for (i = 0; i < momentPropertiesLen; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n\n return to;\n}\n\n// Moment prototype object\nfunction Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n}\n\nfunction isMoment(obj) {\n return (\n obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n );\n}\n\nfunction warn(msg) {\n if (\n hooks.suppressDeprecationWarnings === false &&\n typeof console !== 'undefined' &&\n console.warn\n ) {\n console.warn('Deprecation warning: ' + msg);\n }\n}\n\nfunction deprecate(msg, fn) {\n var firstTime = true;\n\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key,\n argLen = arguments.length;\n for (i = 0; i < argLen; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(\n msg +\n '\\nArguments: ' +\n Array.prototype.slice.call(args).join('') +\n '\\n' +\n new Error().stack\n );\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n}\n\nvar deprecations = {};\n\nfunction deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n}\n\nhooks.suppressDeprecationWarnings = false;\nhooks.deprecationHandler = null;\n\nfunction isFunction(input) {\n return (\n (typeof Function !== 'undefined' && input instanceof Function) ||\n Object.prototype.toString.call(input) === '[object Function]'\n );\n}\n\nfunction set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp(\n (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n '|' +\n /\\d{1,2}/.source\n );\n}\n\nfunction mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (\n hasOwnProp(parentConfig, prop) &&\n !hasOwnProp(childConfig, prop) &&\n isObject(parentConfig[prop])\n ) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n}\n\nfunction Locale(config) {\n if (config != null) {\n this.set(config);\n }\n}\n\nvar keys;\n\nif (Object.keys) {\n keys = Object.keys;\n} else {\n keys = function (obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n}\n\nvar defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n};\n\nfunction calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n}\n\nfunction zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (\n (sign ? (forceSign ? '+' : '') : '-') +\n Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n absNumber\n );\n}\n\nvar formattingTokens =\n /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n// token: 'M'\n// padded: ['MM', 2]\n// ordinal: 'Mo'\n// callback: function () { this.month() + 1 }\nfunction addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function () {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(\n func.apply(this, arguments),\n token\n );\n };\n }\n}\n\nfunction removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n}\n\nfunction makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i])\n ? array[i].call(mom, format)\n : array[i];\n }\n return output;\n };\n}\n\n// format date using native date object\nfunction formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n\n format = expandFormat(format, m.localeData());\n formatFunctions[format] =\n formatFunctions[format] || makeFormatFunction(format);\n\n return formatFunctions[format](m);\n}\n\nfunction expandFormat(format, locale) {\n var i = 5;\n\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(\n localFormattingTokens,\n replaceLongDateFormatTokens\n );\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n\n return format;\n}\n\nvar defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A',\n};\n\nfunction longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n\n if (format || !formatUpper) {\n return format;\n }\n\n this._longDateFormat[key] = formatUpper\n .match(formattingTokens)\n .map(function (tok) {\n if (\n tok === 'MMMM' ||\n tok === 'MM' ||\n tok === 'DD' ||\n tok === 'dddd'\n ) {\n return tok.slice(1);\n }\n return tok;\n })\n .join('');\n\n return this._longDateFormat[key];\n}\n\nvar defaultInvalidDate = 'Invalid date';\n\nfunction invalidDate() {\n return this._invalidDate;\n}\n\nvar defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\nfunction ordinal(number) {\n return this._ordinal.replace('%d', number);\n}\n\nvar defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n};\n\nfunction relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output)\n ? output(number, withoutSuffix, string, isFuture)\n : output.replace(/%d/i, number);\n}\n\nfunction pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n}\n\nvar aliases = {};\n\nfunction addUnitAlias(unit, shorthand) {\n var lowerCase = unit.toLowerCase();\n aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n}\n\nfunction normalizeUnits(units) {\n return typeof units === 'string'\n ? aliases[units] || aliases[units.toLowerCase()]\n : undefined;\n}\n\nfunction normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n\n return normalizedInput;\n}\n\nvar priorities = {};\n\nfunction addUnitPriority(unit, priority) {\n priorities[unit] = priority;\n}\n\nfunction getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({ unit: u, priority: priorities[u] });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n}\n\nfunction isLeapYear(year) {\n return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n}\n\nfunction absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n}\n\nfunction toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n\n return value;\n}\n\nfunction makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n}\n\nfunction get(mom, unit) {\n return mom.isValid()\n ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]()\n : NaN;\n}\n\nfunction set$1(mom, unit, value) {\n if (mom.isValid() && !isNaN(value)) {\n if (\n unit === 'FullYear' &&\n isLeapYear(mom.year()) &&\n mom.month() === 1 &&\n mom.date() === 29\n ) {\n value = toInt(value);\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](\n value,\n mom.month(),\n daysInMonth(value, mom.month())\n );\n } else {\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n }\n }\n}\n\n// MOMENTS\n\nfunction stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n}\n\nfunction stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i,\n prioritizedLen = prioritized.length;\n for (i = 0; i < prioritizedLen; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n}\n\nvar match1 = /\\d/, // 0 - 9\n match2 = /\\d\\d/, // 00 - 99\n match3 = /\\d{3}/, // 000 - 999\n match4 = /\\d{4}/, // 0000 - 9999\n match6 = /[+-]?\\d{6}/, // -999999 - 999999\n match1to2 = /\\d\\d?/, // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/, // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/, // 99999 - 999999\n match1to3 = /\\d{1,3}/, // 0 - 999\n match1to4 = /\\d{1,4}/, // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n matchUnsigned = /\\d+/, // 0 - inf\n matchSigned = /[+-]?\\d+/, // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord =\n /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n regexes;\n\nregexes = {};\n\nfunction addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex)\n ? regex\n : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n}\n\nfunction getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n\n return regexes[token](config._strict, config._locale);\n}\n\n// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\nfunction unescapeFormat(s) {\n return regexEscape(\n s\n .replace('\\\\', '')\n .replace(\n /\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,\n function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }\n )\n );\n}\n\nfunction regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n}\n\nvar tokens = {};\n\nfunction addParseToken(token, callback) {\n var i,\n func = callback,\n tokenLen;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function (input, array) {\n array[callback] = toInt(input);\n };\n }\n tokenLen = token.length;\n for (i = 0; i < tokenLen; i++) {\n tokens[token[i]] = func;\n }\n}\n\nfunction addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n}\n\nfunction addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n}\n\nvar YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\nfunction mod(n, x) {\n return ((n % x) + x) % x;\n}\n\nvar indexOf;\n\nif (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n} else {\n indexOf = function (o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n}\n\nfunction daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1\n ? isLeapYear(year)\n ? 29\n : 28\n : 31 - ((modMonth % 7) % 2);\n}\n\n// FORMATTING\n\naddFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n});\n\naddFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n});\n\naddFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n});\n\n// ALIASES\n\naddUnitAlias('month', 'M');\n\n// PRIORITY\n\naddUnitPriority('month', 8);\n\n// PARSING\n\naddRegexToken('M', match1to2);\naddRegexToken('MM', match1to2, match2);\naddRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n});\naddRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n});\n\naddParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n});\n\naddParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n});\n\n// LOCALES\n\nvar defaultLocaleMonths =\n 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n defaultLocaleMonthsShort =\n 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n\nfunction localeMonths(m, format) {\n if (!m) {\n return isArray(this._months)\n ? this._months\n : this._months['standalone'];\n }\n return isArray(this._months)\n ? this._months[m.month()]\n : this._months[\n (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n ? 'format'\n : 'standalone'\n ][m.month()];\n}\n\nfunction localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort)\n ? this._monthsShort\n : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort)\n ? this._monthsShort[m.month()]\n : this._monthsShort[\n MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n ][m.month()];\n}\n\nfunction handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n}\n\nfunction localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp(\n '^' + this.months(mom, '').replace('.', '') + '$',\n 'i'\n );\n this._shortMonthsParse[i] = new RegExp(\n '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n 'i'\n );\n }\n if (!strict && !this._monthsParse[i]) {\n regex =\n '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'MMMM' &&\n this._longMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'MMM' &&\n this._shortMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n}\n\n// MOMENTS\n\nfunction setMonth(mom, value) {\n var dayOfMonth;\n\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n\n dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n return mom;\n}\n\nfunction getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n}\n\nfunction getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n}\n\nfunction monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict\n ? this._monthsShortStrictRegex\n : this._monthsShortRegex;\n }\n}\n\nfunction monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict\n ? this._monthsStrictRegex\n : this._monthsRegex;\n }\n}\n\nfunction computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortPieces.push(this.monthsShort(mom, ''));\n longPieces.push(this.months(mom, ''));\n mixedPieces.push(this.months(mom, ''));\n mixedPieces.push(this.monthsShort(mom, ''));\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n for (i = 0; i < 12; i++) {\n shortPieces[i] = regexEscape(shortPieces[i]);\n longPieces[i] = regexEscape(longPieces[i]);\n }\n for (i = 0; i < 24; i++) {\n mixedPieces[i] = regexEscape(mixedPieces[i]);\n }\n\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._monthsShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n}\n\n// FORMATTING\n\naddFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n});\n\naddFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n});\n\naddFormatToken(0, ['YYYY', 4], 0, 'year');\naddFormatToken(0, ['YYYYY', 5], 0, 'year');\naddFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n// ALIASES\n\naddUnitAlias('year', 'y');\n\n// PRIORITIES\n\naddUnitPriority('year', 1);\n\n// PARSING\n\naddRegexToken('Y', matchSigned);\naddRegexToken('YY', match1to2, match2);\naddRegexToken('YYYY', match1to4, match4);\naddRegexToken('YYYYY', match1to6, match6);\naddRegexToken('YYYYYY', match1to6, match6);\n\naddParseToken(['YYYYY', 'YYYYYY'], YEAR);\naddParseToken('YYYY', function (input, array) {\n array[YEAR] =\n input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n});\naddParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n});\naddParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n});\n\n// HELPERS\n\nfunction daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n}\n\n// HOOKS\n\nhooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n};\n\n// MOMENTS\n\nvar getSetYear = makeGetSet('FullYear', true);\n\nfunction getIsLeapYear() {\n return isLeapYear(this.year());\n}\n\nfunction createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n\n return date;\n}\n\nfunction createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n\n return date;\n}\n\n// start-of-first-week - start-of-year\nfunction firstWeekOffset(year, dow, doy) {\n var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n return -fwdlw + fwd - 1;\n}\n\n// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\nfunction dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n\n return {\n year: resYear,\n dayOfYear: resDayOfYear,\n };\n}\n\nfunction weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear,\n };\n}\n\nfunction weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n}\n\n// FORMATTING\n\naddFormatToken('w', ['ww', 2], 'wo', 'week');\naddFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n// ALIASES\n\naddUnitAlias('week', 'w');\naddUnitAlias('isoWeek', 'W');\n\n// PRIORITIES\n\naddUnitPriority('week', 5);\naddUnitPriority('isoWeek', 5);\n\n// PARSING\n\naddRegexToken('w', match1to2);\naddRegexToken('ww', match1to2, match2);\naddRegexToken('W', match1to2);\naddRegexToken('WW', match1to2, match2);\n\naddWeekParseToken(\n ['w', 'ww', 'W', 'WW'],\n function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n }\n);\n\n// HELPERS\n\n// LOCALES\n\nfunction localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n}\n\nvar defaultLocaleWeek = {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n};\n\nfunction localeFirstDayOfWeek() {\n return this._week.dow;\n}\n\nfunction localeFirstDayOfYear() {\n return this._week.doy;\n}\n\n// MOMENTS\n\nfunction getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n}\n\nfunction getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n}\n\n// FORMATTING\n\naddFormatToken('d', 0, 'do', 'day');\n\naddFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n});\n\naddFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n});\n\naddFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n});\n\naddFormatToken('e', 0, 0, 'weekday');\naddFormatToken('E', 0, 0, 'isoWeekday');\n\n// ALIASES\n\naddUnitAlias('day', 'd');\naddUnitAlias('weekday', 'e');\naddUnitAlias('isoWeekday', 'E');\n\n// PRIORITY\naddUnitPriority('day', 11);\naddUnitPriority('weekday', 11);\naddUnitPriority('isoWeekday', 11);\n\n// PARSING\n\naddRegexToken('d', match1to2);\naddRegexToken('e', match1to2);\naddRegexToken('E', match1to2);\naddRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n});\naddRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n});\naddRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n});\n\naddWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n});\n\naddWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n});\n\n// HELPERS\n\nfunction parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n\n return null;\n}\n\nfunction parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n}\n\n// LOCALES\nfunction shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n}\n\nvar defaultLocaleWeekdays =\n 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n\nfunction localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays)\n ? this._weekdays\n : this._weekdays[\n m && m !== true && this._weekdays.isFormat.test(format)\n ? 'format'\n : 'standalone'\n ];\n return m === true\n ? shiftWeekdays(weekdays, this._week.dow)\n : m\n ? weekdays[m.day()]\n : weekdays;\n}\n\nfunction localeWeekdaysShort(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n : m\n ? this._weekdaysShort[m.day()]\n : this._weekdaysShort;\n}\n\nfunction localeWeekdaysMin(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n : m\n ? this._weekdaysMin[m.day()]\n : this._weekdaysMin;\n}\n\nfunction handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(\n mom,\n ''\n ).toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n}\n\nfunction localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp(\n '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._shortWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._minWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n }\n if (!this._weekdaysParse[i]) {\n regex =\n '^' +\n this.weekdays(mom, '') +\n '|^' +\n this.weekdaysShort(mom, '') +\n '|^' +\n this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'dddd' &&\n this._fullWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'ddd' &&\n this._shortWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'dd' &&\n this._minWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n}\n\n// MOMENTS\n\nfunction getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n}\n\nfunction getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n}\n\nfunction getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n}\n\nfunction weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict\n ? this._weekdaysStrictRegex\n : this._weekdaysRegex;\n }\n}\n\nfunction weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict\n ? this._weekdaysShortStrictRegex\n : this._weekdaysShortRegex;\n }\n}\n\nfunction weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict\n ? this._weekdaysMinStrictRegex\n : this._weekdaysMinRegex;\n }\n}\n\nfunction computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n\n this._weekdaysStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysMinStrictRegex = new RegExp(\n '^(' + minPieces.join('|') + ')',\n 'i'\n );\n}\n\n// FORMATTING\n\nfunction hFormat() {\n return this.hours() % 12 || 12;\n}\n\nfunction kFormat() {\n return this.hours() || 24;\n}\n\naddFormatToken('H', ['HH', 2], 0, 'hour');\naddFormatToken('h', ['hh', 2], 0, hFormat);\naddFormatToken('k', ['kk', 2], 0, kFormat);\n\naddFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n});\n\naddFormatToken('hmmss', 0, 0, function () {\n return (\n '' +\n hFormat.apply(this) +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n});\n\naddFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n});\n\naddFormatToken('Hmmss', 0, 0, function () {\n return (\n '' +\n this.hours() +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n});\n\nfunction meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(\n this.hours(),\n this.minutes(),\n lowercase\n );\n });\n}\n\nmeridiem('a', true);\nmeridiem('A', false);\n\n// ALIASES\n\naddUnitAlias('hour', 'h');\n\n// PRIORITY\naddUnitPriority('hour', 13);\n\n// PARSING\n\nfunction matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n}\n\naddRegexToken('a', matchMeridiem);\naddRegexToken('A', matchMeridiem);\naddRegexToken('H', match1to2);\naddRegexToken('h', match1to2);\naddRegexToken('k', match1to2);\naddRegexToken('HH', match1to2, match2);\naddRegexToken('hh', match1to2, match2);\naddRegexToken('kk', match1to2, match2);\n\naddRegexToken('hmm', match3to4);\naddRegexToken('hmmss', match5to6);\naddRegexToken('Hmm', match3to4);\naddRegexToken('Hmmss', match5to6);\n\naddParseToken(['H', 'HH'], HOUR);\naddParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n});\naddParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n});\naddParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n});\naddParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n});\naddParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n});\naddParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n});\naddParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n});\n\n// LOCALES\n\nfunction localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n}\n\nvar defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n\nfunction localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n}\n\nvar baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n\n week: defaultLocaleWeek,\n\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n\n meridiemParse: defaultLocaleMeridiemParse,\n};\n\n// internal storage for locale config files\nvar locales = {},\n localeFamilies = {},\n globalLocale;\n\nfunction commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n}\n\nfunction normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n}\n\n// pick the locale from the array\n// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\nfunction chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (\n next &&\n next.length >= j &&\n commonPrefix(split, next) >= j - 1\n ) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n}\n\nfunction isLocaleNameSane(name) {\n // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n return name.match('^[^/\\\\\\\\]*$') != null;\n}\n\nfunction loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (\n locales[name] === undefined &&\n typeof module !== 'undefined' &&\n module &&\n module.exports &&\n isLocaleNameSane(name)\n ) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n return locales[name];\n}\n\n// This function will load locale and then set the global locale. If\n// no arguments are passed in, it will simply return the current global\n// locale key.\nfunction getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn(\n 'Locale ' + key + ' not found. Did you forget to load it?'\n );\n }\n }\n }\n\n return globalLocale._abbr;\n}\n\nfunction defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple(\n 'defineLocaleOverride',\n 'use moment.updateLocale(localeName, config) to change ' +\n 'an existing locale. moment.defineLocale(localeName, ' +\n 'config) should only be used for creating a new locale ' +\n 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n );\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config,\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n}\n\nfunction updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n}\n\n// returns locale data\nfunction getLocale(key) {\n var locale;\n\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n\n if (!key) {\n return globalLocale;\n }\n\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n\n return chooseLocale(key);\n}\n\nfunction listLocales() {\n return keys(locales);\n}\n\nfunction checkOverflow(m) {\n var overflow,\n a = m._a;\n\n if (a && getParsingFlags(m).overflow === -2) {\n overflow =\n a[MONTH] < 0 || a[MONTH] > 11\n ? MONTH\n : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n ? DATE\n : a[HOUR] < 0 ||\n a[HOUR] > 24 ||\n (a[HOUR] === 24 &&\n (a[MINUTE] !== 0 ||\n a[SECOND] !== 0 ||\n a[MILLISECOND] !== 0))\n ? HOUR\n : a[MINUTE] < 0 || a[MINUTE] > 59\n ? MINUTE\n : a[SECOND] < 0 || a[SECOND] > 59\n ? SECOND\n : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n ? MILLISECOND\n : -1;\n\n if (\n getParsingFlags(m)._overflowDayOfYear &&\n (overflow < YEAR || overflow > DATE)\n ) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n\n getParsingFlags(m).overflow = overflow;\n }\n\n return m;\n}\n\n// iso 8601 regex\n// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\nvar extendedIsoRegex =\n /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex =\n /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [\n ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n ['YYYY-DDD', /\\d{4}-\\d{3}/],\n ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n ['YYYYYYMMDD', /[+-]\\d{10}/],\n ['YYYYMMDD', /\\d{8}/],\n ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n ['YYYYDDD', /\\d{7}/],\n ['YYYYMM', /\\d{6}/, false],\n ['YYYY', /\\d{4}/, false],\n ],\n // iso time formats and regexes\n isoTimes = [\n ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n ['HH:mm', /\\d\\d:\\d\\d/],\n ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n ['HHmm', /\\d\\d\\d\\d/],\n ['HH', /\\d\\d/],\n ],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 =\n /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60,\n };\n\n// date from iso format\nfunction configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat,\n isoDatesLen = isoDates.length,\n isoTimesLen = isoTimes.length;\n\n if (match) {\n getParsingFlags(config).iso = true;\n for (i = 0, l = isoDatesLen; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimesLen; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n}\n\nfunction extractFromRFC2822Strings(\n yearStr,\n monthStr,\n dayStr,\n hourStr,\n minuteStr,\n secondStr\n) {\n var result = [\n untruncateYear(yearStr),\n defaultLocaleMonthsShort.indexOf(monthStr),\n parseInt(dayStr, 10),\n parseInt(hourStr, 10),\n parseInt(minuteStr, 10),\n ];\n\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n\n return result;\n}\n\nfunction untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n}\n\nfunction preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s\n .replace(/\\([^()]*\\)|[\\n\\t]/g, ' ')\n .replace(/(\\s\\s+)/g, ' ')\n .replace(/^\\s\\s*/, '')\n .replace(/\\s\\s*$/, '');\n}\n\nfunction checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(\n parsedInput[0],\n parsedInput[1],\n parsedInput[2]\n ).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n}\n\nfunction calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n}\n\n// date and time from ref 2822 format\nfunction configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(\n match[4],\n match[3],\n match[2],\n match[5],\n match[6],\n match[7]\n );\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n}\n\n// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\nfunction configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n}\n\nhooks.createFromInputFallback = deprecate(\n 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n }\n);\n\n// Pick the first defined of two or three arguments.\nfunction defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n}\n\nfunction currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [\n nowValue.getUTCFullYear(),\n nowValue.getUTCMonth(),\n nowValue.getUTCDate(),\n ];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n}\n\n// convert an array to a date.\n// the array should mirror the parameters below\n// note: all values past the year are optional and will default to the lowest possible value.\n// [year, month, day , hour, minute, second, millisecond]\nfunction configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n\n if (config._d) {\n return;\n }\n\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n if (\n config._dayOfYear > daysInYear(yearToUse) ||\n config._dayOfYear === 0\n ) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] =\n config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (\n config._a[HOUR] === 24 &&\n config._a[MINUTE] === 0 &&\n config._a[SECOND] === 0 &&\n config._a[MILLISECOND] === 0\n ) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n\n config._d = (config._useUTC ? createUTCDate : createDate).apply(\n null,\n input\n );\n expectedWeekday = config._useUTC\n ? config._d.getUTCDay()\n : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (\n config._w &&\n typeof config._w.d !== 'undefined' &&\n config._w.d !== expectedWeekday\n ) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n}\n\nfunction dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(\n w.GG,\n config._a[YEAR],\n weekOfYear(createLocal(), 1, 4).year\n );\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n\n curWeek = weekOfYear(createLocal(), dow, doy);\n\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n}\n\n// constant that refers to the ISO standard\nhooks.ISO_8601 = function () {};\n\n// constant that refers to the RFC 2822 form\nhooks.RFC_2822 = function () {};\n\n// date from string and format string\nfunction configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era,\n tokenLen;\n\n tokens =\n expandFormat(config._f, config._locale).match(formattingTokens) || [];\n tokenLen = tokens.length;\n for (i = 0; i < tokenLen; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(\n string.indexOf(parsedInput) + parsedInput.length\n );\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver =\n stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (\n config._a[HOUR] <= 12 &&\n getParsingFlags(config).bigHour === true &&\n config._a[HOUR] > 0\n ) {\n getParsingFlags(config).bigHour = undefined;\n }\n\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(\n config._locale,\n config._a[HOUR],\n config._meridiem\n );\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n\n configFromArray(config);\n checkOverflow(config);\n}\n\nfunction meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n}\n\n// date from string and array of format strings\nfunction configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false,\n configfLen = config._f.length;\n\n if (configfLen === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n\n for (i = 0; i < configfLen; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n getParsingFlags(tempConfig).score = currentScore;\n\n if (!bestFormatIsValid) {\n if (\n scoreToBeat == null ||\n currentScore < scoreToBeat ||\n validFormatFound\n ) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n\n extend(config, bestMoment || tempConfig);\n}\n\nfunction configFromObject(config) {\n if (config._d) {\n return;\n }\n\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map(\n [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n function (obj) {\n return obj && parseInt(obj, 10);\n }\n );\n\n configFromArray(config);\n}\n\nfunction createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n\n return res;\n}\n\nfunction prepareConfig(config) {\n var input = config._i,\n format = config._f;\n\n config._locale = config._locale || getLocale(config._l);\n\n if (input === null || (format === undefined && input === '')) {\n return createInvalid({ nullInput: true });\n }\n\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n\n if (!isValid(config)) {\n config._d = null;\n }\n\n return config;\n}\n\nfunction configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n}\n\nfunction createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n\n if (\n (isObject(input) && isObjectEmpty(input)) ||\n (isArray(input) && input.length === 0)\n ) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n\n return createFromConfig(c);\n}\n\nfunction createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n}\n\nvar prototypeMin = deprecate(\n 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }\n ),\n prototypeMax = deprecate(\n 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n }\n );\n\n// Pick a moment m from moments so that m[fn](other) is true for all\n// other. This relies on the function fn to be transitive.\n//\n// moments should either be an array of moment objects or an array, whose\n// first element is an array of moment objects.\nfunction pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n}\n\n// TODO: Use [].sort instead?\nfunction min() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isBefore', args);\n}\n\nfunction max() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isAfter', args);\n}\n\nvar now = function () {\n return Date.now ? Date.now() : +new Date();\n};\n\nvar ordering = [\n 'year',\n 'quarter',\n 'month',\n 'week',\n 'day',\n 'hour',\n 'minute',\n 'second',\n 'millisecond',\n];\n\nfunction isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i,\n orderLen = ordering.length;\n for (key in m) {\n if (\n hasOwnProp(m, key) &&\n !(\n indexOf.call(ordering, key) !== -1 &&\n (m[key] == null || !isNaN(m[key]))\n )\n ) {\n return false;\n }\n }\n\n for (i = 0; i < orderLen; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n\n return true;\n}\n\nfunction isValid$1() {\n return this._isValid;\n}\n\nfunction createInvalid$1() {\n return createDuration(NaN);\n}\n\nfunction Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds =\n +milliseconds +\n seconds * 1e3 + // 1000\n minutes * 6e4 + // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n\n this._data = {};\n\n this._locale = getLocale();\n\n this._bubble();\n}\n\nfunction isDuration(obj) {\n return obj instanceof Duration;\n}\n\nfunction absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n}\n\n// compare two arrays, return the number of differences\nfunction compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (\n (dontConvert && array1[i] !== array2[i]) ||\n (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n ) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n}\n\n// FORMATTING\n\nfunction offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return (\n sign +\n zeroFill(~~(offset / 60), 2) +\n separator +\n zeroFill(~~offset % 60, 2)\n );\n });\n}\n\noffset('Z', ':');\noffset('ZZ', '');\n\n// PARSING\n\naddRegexToken('Z', matchShortOffset);\naddRegexToken('ZZ', matchShortOffset);\naddParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n});\n\n// HELPERS\n\n// timezone chunker\n// '+10:00' > ['10', '00']\n// '-1530' > ['-15', '30']\nvar chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\nfunction offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n\n if (matches === null) {\n return null;\n }\n\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n}\n\n// Return a moment from input, that is local/utc/zone equivalent to model.\nfunction cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff =\n (isMoment(input) || isDate(input)\n ? input.valueOf()\n : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n}\n\nfunction getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n}\n\n// HOOKS\n\n// This function will be called whenever a moment is mutated.\n// It is intended to keep the offset in sync with the timezone.\nhooks.updateOffset = function () {};\n\n// MOMENTS\n\n// keepLocalTime = true means only change the timezone, without\n// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n// +0200, so we adjust the time as needed, to be valid.\n//\n// Keeping the time actually adds/subtracts (one hour)\n// from the actual represented time. That is why we call updateOffset\n// a second time. In case it wants us to change the offset again\n// _changeInProgress == true case, then we have to adjust, because\n// there is no such time in the given timezone.\nfunction getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(\n this,\n createDuration(input - offset, 'm'),\n 1,\n false\n );\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n}\n\nfunction getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n\n this.utcOffset(input, keepLocalTime);\n\n return this;\n } else {\n return -this.utcOffset();\n }\n}\n\nfunction setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n}\n\nfunction setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n}\n\nfunction setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n}\n\nfunction hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n\n return (this.utcOffset() - input) % 60 === 0;\n}\n\nfunction isDaylightSavingTime() {\n return (\n this.utcOffset() > this.clone().month(0).utcOffset() ||\n this.utcOffset() > this.clone().month(5).utcOffset()\n );\n}\n\nfunction isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n\n var c = {},\n other;\n\n copyConfig(c, this);\n c = prepareConfig(c);\n\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted =\n this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n\n return this._isDSTShifted;\n}\n\nfunction isLocal() {\n return this.isValid() ? !this._isUTC : false;\n}\n\nfunction isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n}\n\nfunction isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n}\n\n// ASP.NET json date format regex\nvar aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex =\n /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\nfunction createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months,\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if ((match = aspNetRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n };\n } else if ((match = isoRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign),\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (\n typeof duration === 'object' &&\n ('from' in duration || 'to' in duration)\n ) {\n diffRes = momentsDifference(\n createLocal(duration.from),\n createLocal(duration.to)\n );\n\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n\n ret = new Duration(duration);\n\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n\n return ret;\n}\n\ncreateDuration.fn = Duration.prototype;\ncreateDuration.invalid = createInvalid$1;\n\nfunction parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n}\n\nfunction positiveMomentsDifference(base, other) {\n var res = {};\n\n res.months =\n other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n return res;\n}\n\nfunction momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return { milliseconds: 0, months: 0 };\n }\n\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n\n return res;\n}\n\n// TODO: remove 'name' arg after deprecation is removed\nfunction createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(\n name,\n 'moment().' +\n name +\n '(period, number) is deprecated. Please use moment().' +\n name +\n '(number, period). ' +\n 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n );\n tmp = val;\n val = period;\n period = tmp;\n }\n\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n}\n\nfunction addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n\n if (!mom.isValid()) {\n // No op\n return;\n }\n\n updateOffset = updateOffset == null ? true : updateOffset;\n\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n}\n\nvar add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n\nfunction isString(input) {\n return typeof input === 'string' || input instanceof String;\n}\n\n// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\nfunction isMomentInput(input) {\n return (\n isMoment(input) ||\n isDate(input) ||\n isString(input) ||\n isNumber(input) ||\n isNumberOrStringArray(input) ||\n isMomentInputObject(input) ||\n input === null ||\n input === undefined\n );\n}\n\nfunction isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'years',\n 'year',\n 'y',\n 'months',\n 'month',\n 'M',\n 'days',\n 'day',\n 'd',\n 'dates',\n 'date',\n 'D',\n 'hours',\n 'hour',\n 'h',\n 'minutes',\n 'minute',\n 'm',\n 'seconds',\n 'second',\n 's',\n 'milliseconds',\n 'millisecond',\n 'ms',\n ],\n i,\n property,\n propertyLen = properties.length;\n\n for (i = 0; i < propertyLen; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n}\n\nfunction isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest =\n input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n}\n\nfunction isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'sameDay',\n 'nextDay',\n 'lastDay',\n 'nextWeek',\n 'lastWeek',\n 'sameElse',\n ],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n}\n\nfunction getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6\n ? 'sameElse'\n : diff < -1\n ? 'lastWeek'\n : diff < 0\n ? 'lastDay'\n : diff < 1\n ? 'sameDay'\n : diff < 2\n ? 'nextDay'\n : diff < 7\n ? 'nextWeek'\n : 'sameElse';\n}\n\nfunction calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output =\n formats &&\n (isFunction(formats[format])\n ? formats[format].call(this, now)\n : formats[format]);\n\n return this.format(\n output || this.localeData().calendar(format, this, createLocal(now))\n );\n}\n\nfunction clone() {\n return new Moment(this);\n}\n\nfunction isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n}\n\nfunction isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n}\n\nfunction isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (\n (inclusivity[0] === '('\n ? this.isAfter(localFrom, units)\n : !this.isBefore(localFrom, units)) &&\n (inclusivity[1] === ')'\n ? this.isBefore(localTo, units)\n : !this.isAfter(localTo, units))\n );\n}\n\nfunction isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return (\n this.clone().startOf(units).valueOf() <= inputMs &&\n inputMs <= this.clone().endOf(units).valueOf()\n );\n }\n}\n\nfunction isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n}\n\nfunction isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n}\n\nfunction diff(input, units, asFloat) {\n var that, zoneDelta, output;\n\n if (!this.isValid()) {\n return NaN;\n }\n\n that = cloneWithOffset(input, this);\n\n if (!that.isValid()) {\n return NaN;\n }\n\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n units = normalizeUnits(units);\n\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break; // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break; // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break; // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break; // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break; // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n\n return asFloat ? output : absFloor(output);\n}\n\nfunction monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n}\n\nhooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\nhooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\nfunction toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n}\n\nfunction toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(\n m,\n utc\n ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n .toISOString()\n .replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(\n m,\n utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n}\n\n/**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\nfunction inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n\n return this.format(prefix + year + datetime + suffix);\n}\n\nfunction format(inputString) {\n if (!inputString) {\n inputString = this.isUtc()\n ? hooks.defaultFormatUtc\n : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n}\n\nfunction from(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ to: this, from: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n}\n\nfunction fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n}\n\nfunction to(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ from: this, to: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n}\n\nfunction toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n}\n\n// If passed a locale key, it will set the locale for this\n// instance. Otherwise, it will return the locale configuration\n// variables for this instance.\nfunction locale(key) {\n var newLocaleData;\n\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n}\n\nvar lang = deprecate(\n 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n }\n);\n\nfunction localeData() {\n return this._locale;\n}\n\nvar MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n// actual modulo - handles negative numbers (for dates before 1970):\nfunction mod$1(dividend, divisor) {\n return ((dividend % divisor) + divisor) % divisor;\n}\n\nfunction localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n}\n\nfunction utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n}\n\nfunction startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(\n this.year(),\n this.month() - (this.month() % 3),\n 1\n );\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday()\n );\n break;\n case 'isoWeek':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1)\n );\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n );\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n}\n\nfunction endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time =\n startOfDate(\n this.year(),\n this.month() - (this.month() % 3) + 3,\n 1\n ) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday() + 7\n ) - 1;\n break;\n case 'isoWeek':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1) + 7\n ) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time +=\n MS_PER_HOUR -\n mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n ) -\n 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n}\n\nfunction valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n}\n\nfunction unix() {\n return Math.floor(this.valueOf() / 1000);\n}\n\nfunction toDate() {\n return new Date(this.valueOf());\n}\n\nfunction toArray() {\n var m = this;\n return [\n m.year(),\n m.month(),\n m.date(),\n m.hour(),\n m.minute(),\n m.second(),\n m.millisecond(),\n ];\n}\n\nfunction toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds(),\n };\n}\n\nfunction toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n}\n\nfunction isValid$2() {\n return isValid(this);\n}\n\nfunction parsingFlags() {\n return extend({}, getParsingFlags(this));\n}\n\nfunction invalidAt() {\n return getParsingFlags(this).overflow;\n}\n\nfunction creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict,\n };\n}\n\naddFormatToken('N', 0, 0, 'eraAbbr');\naddFormatToken('NN', 0, 0, 'eraAbbr');\naddFormatToken('NNN', 0, 0, 'eraAbbr');\naddFormatToken('NNNN', 0, 0, 'eraName');\naddFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\naddFormatToken('y', ['y', 1], 'yo', 'eraYear');\naddFormatToken('y', ['yy', 2], 0, 'eraYear');\naddFormatToken('y', ['yyy', 3], 0, 'eraYear');\naddFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\naddRegexToken('N', matchEraAbbr);\naddRegexToken('NN', matchEraAbbr);\naddRegexToken('NNN', matchEraAbbr);\naddRegexToken('NNNN', matchEraName);\naddRegexToken('NNNNN', matchEraNarrow);\n\naddParseToken(\n ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],\n function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n }\n);\n\naddRegexToken('y', matchUnsigned);\naddRegexToken('yy', matchUnsigned);\naddRegexToken('yyy', matchUnsigned);\naddRegexToken('yyyy', matchUnsigned);\naddRegexToken('yo', matchEraYearOrdinal);\n\naddParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\naddParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n});\n\nfunction localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n}\n\nfunction localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n}\n\nfunction localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n}\n\nfunction getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n\n return '';\n}\n\nfunction getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n\n return '';\n}\n\nfunction getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n\n return '';\n}\n\nfunction getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (\n (eras[i].since <= val && val <= eras[i].until) ||\n (eras[i].until <= val && val <= eras[i].since)\n ) {\n return (\n (this.year() - hooks(eras[i].since).year()) * dir +\n eras[i].offset\n );\n }\n }\n\n return this.year();\n}\n\nfunction erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n}\n\nfunction erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n}\n\nfunction erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n}\n\nfunction matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n}\n\nfunction matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n}\n\nfunction matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n}\n\nfunction matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n}\n\nfunction computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n eras = this.eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n namePieces.push(regexEscape(eras[i].name));\n abbrPieces.push(regexEscape(eras[i].abbr));\n narrowPieces.push(regexEscape(eras[i].narrow));\n\n mixedPieces.push(regexEscape(eras[i].name));\n mixedPieces.push(regexEscape(eras[i].abbr));\n mixedPieces.push(regexEscape(eras[i].narrow));\n }\n\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp(\n '^(' + narrowPieces.join('|') + ')',\n 'i'\n );\n}\n\n// FORMATTING\n\naddFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n});\n\naddFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n});\n\nfunction addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n}\n\naddWeekYearFormatToken('gggg', 'weekYear');\naddWeekYearFormatToken('ggggg', 'weekYear');\naddWeekYearFormatToken('GGGG', 'isoWeekYear');\naddWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n// ALIASES\n\naddUnitAlias('weekYear', 'gg');\naddUnitAlias('isoWeekYear', 'GG');\n\n// PRIORITY\n\naddUnitPriority('weekYear', 1);\naddUnitPriority('isoWeekYear', 1);\n\n// PARSING\n\naddRegexToken('G', matchSigned);\naddRegexToken('g', matchSigned);\naddRegexToken('GG', match1to2, match2);\naddRegexToken('gg', match1to2, match2);\naddRegexToken('GGGG', match1to4, match4);\naddRegexToken('gggg', match1to4, match4);\naddRegexToken('GGGGG', match1to6, match6);\naddRegexToken('ggggg', match1to6, match6);\n\naddWeekParseToken(\n ['gggg', 'ggggg', 'GGGG', 'GGGGG'],\n function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n }\n);\n\naddWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n});\n\n// MOMENTS\n\nfunction getSetWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.week(),\n this.weekday(),\n this.localeData()._week.dow,\n this.localeData()._week.doy\n );\n}\n\nfunction getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.isoWeek(),\n this.isoWeekday(),\n 1,\n 4\n );\n}\n\nfunction getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n}\n\nfunction getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n}\n\nfunction getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n}\n\nfunction getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n}\n\nfunction getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n}\n\nfunction setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n}\n\n// FORMATTING\n\naddFormatToken('Q', 0, 'Qo', 'quarter');\n\n// ALIASES\n\naddUnitAlias('quarter', 'Q');\n\n// PRIORITY\n\naddUnitPriority('quarter', 7);\n\n// PARSING\n\naddRegexToken('Q', match1);\naddParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n});\n\n// MOMENTS\n\nfunction getSetQuarter(input) {\n return input == null\n ? Math.ceil((this.month() + 1) / 3)\n : this.month((input - 1) * 3 + (this.month() % 3));\n}\n\n// FORMATTING\n\naddFormatToken('D', ['DD', 2], 'Do', 'date');\n\n// ALIASES\n\naddUnitAlias('date', 'D');\n\n// PRIORITY\naddUnitPriority('date', 9);\n\n// PARSING\n\naddRegexToken('D', match1to2);\naddRegexToken('DD', match1to2, match2);\naddRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict\n ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n : locale._dayOfMonthOrdinalParseLenient;\n});\n\naddParseToken(['D', 'DD'], DATE);\naddParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n});\n\n// MOMENTS\n\nvar getSetDayOfMonth = makeGetSet('Date', true);\n\n// FORMATTING\n\naddFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n// ALIASES\n\naddUnitAlias('dayOfYear', 'DDD');\n\n// PRIORITY\naddUnitPriority('dayOfYear', 4);\n\n// PARSING\n\naddRegexToken('DDD', match1to3);\naddRegexToken('DDDD', match3);\naddParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n});\n\n// HELPERS\n\n// MOMENTS\n\nfunction getSetDayOfYear(input) {\n var dayOfYear =\n Math.round(\n (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n ) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n}\n\n// FORMATTING\n\naddFormatToken('m', ['mm', 2], 0, 'minute');\n\n// ALIASES\n\naddUnitAlias('minute', 'm');\n\n// PRIORITY\n\naddUnitPriority('minute', 14);\n\n// PARSING\n\naddRegexToken('m', match1to2);\naddRegexToken('mm', match1to2, match2);\naddParseToken(['m', 'mm'], MINUTE);\n\n// MOMENTS\n\nvar getSetMinute = makeGetSet('Minutes', false);\n\n// FORMATTING\n\naddFormatToken('s', ['ss', 2], 0, 'second');\n\n// ALIASES\n\naddUnitAlias('second', 's');\n\n// PRIORITY\n\naddUnitPriority('second', 15);\n\n// PARSING\n\naddRegexToken('s', match1to2);\naddRegexToken('ss', match1to2, match2);\naddParseToken(['s', 'ss'], SECOND);\n\n// MOMENTS\n\nvar getSetSecond = makeGetSet('Seconds', false);\n\n// FORMATTING\n\naddFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n});\n\naddFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n});\n\naddFormatToken(0, ['SSS', 3], 0, 'millisecond');\naddFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n});\naddFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n});\naddFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n});\naddFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n});\naddFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n});\naddFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n});\n\n// ALIASES\n\naddUnitAlias('millisecond', 'ms');\n\n// PRIORITY\n\naddUnitPriority('millisecond', 16);\n\n// PARSING\n\naddRegexToken('S', match1to3, match1);\naddRegexToken('SS', match1to3, match2);\naddRegexToken('SSS', match1to3, match3);\n\nvar token, getSetMillisecond;\nfor (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n}\n\nfunction parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n}\n\nfor (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n}\n\ngetSetMillisecond = makeGetSet('Milliseconds', false);\n\n// FORMATTING\n\naddFormatToken('z', 0, 0, 'zoneAbbr');\naddFormatToken('zz', 0, 0, 'zoneName');\n\n// MOMENTS\n\nfunction getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n}\n\nfunction getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n}\n\nvar proto = Moment.prototype;\n\nproto.add = add;\nproto.calendar = calendar$1;\nproto.clone = clone;\nproto.diff = diff;\nproto.endOf = endOf;\nproto.format = format;\nproto.from = from;\nproto.fromNow = fromNow;\nproto.to = to;\nproto.toNow = toNow;\nproto.get = stringGet;\nproto.invalidAt = invalidAt;\nproto.isAfter = isAfter;\nproto.isBefore = isBefore;\nproto.isBetween = isBetween;\nproto.isSame = isSame;\nproto.isSameOrAfter = isSameOrAfter;\nproto.isSameOrBefore = isSameOrBefore;\nproto.isValid = isValid$2;\nproto.lang = lang;\nproto.locale = locale;\nproto.localeData = localeData;\nproto.max = prototypeMax;\nproto.min = prototypeMin;\nproto.parsingFlags = parsingFlags;\nproto.set = stringSet;\nproto.startOf = startOf;\nproto.subtract = subtract;\nproto.toArray = toArray;\nproto.toObject = toObject;\nproto.toDate = toDate;\nproto.toISOString = toISOString;\nproto.inspect = inspect;\nif (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n}\nproto.toJSON = toJSON;\nproto.toString = toString;\nproto.unix = unix;\nproto.valueOf = valueOf;\nproto.creationData = creationData;\nproto.eraName = getEraName;\nproto.eraNarrow = getEraNarrow;\nproto.eraAbbr = getEraAbbr;\nproto.eraYear = getEraYear;\nproto.year = getSetYear;\nproto.isLeapYear = getIsLeapYear;\nproto.weekYear = getSetWeekYear;\nproto.isoWeekYear = getSetISOWeekYear;\nproto.quarter = proto.quarters = getSetQuarter;\nproto.month = getSetMonth;\nproto.daysInMonth = getDaysInMonth;\nproto.week = proto.weeks = getSetWeek;\nproto.isoWeek = proto.isoWeeks = getSetISOWeek;\nproto.weeksInYear = getWeeksInYear;\nproto.weeksInWeekYear = getWeeksInWeekYear;\nproto.isoWeeksInYear = getISOWeeksInYear;\nproto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\nproto.date = getSetDayOfMonth;\nproto.day = proto.days = getSetDayOfWeek;\nproto.weekday = getSetLocaleDayOfWeek;\nproto.isoWeekday = getSetISODayOfWeek;\nproto.dayOfYear = getSetDayOfYear;\nproto.hour = proto.hours = getSetHour;\nproto.minute = proto.minutes = getSetMinute;\nproto.second = proto.seconds = getSetSecond;\nproto.millisecond = proto.milliseconds = getSetMillisecond;\nproto.utcOffset = getSetOffset;\nproto.utc = setOffsetToUTC;\nproto.local = setOffsetToLocal;\nproto.parseZone = setOffsetToParsedOffset;\nproto.hasAlignedHourOffset = hasAlignedHourOffset;\nproto.isDST = isDaylightSavingTime;\nproto.isLocal = isLocal;\nproto.isUtcOffset = isUtcOffset;\nproto.isUtc = isUtc;\nproto.isUTC = isUtc;\nproto.zoneAbbr = getZoneAbbr;\nproto.zoneName = getZoneName;\nproto.dates = deprecate(\n 'dates accessor is deprecated. Use date instead.',\n getSetDayOfMonth\n);\nproto.months = deprecate(\n 'months accessor is deprecated. Use month instead',\n getSetMonth\n);\nproto.years = deprecate(\n 'years accessor is deprecated. Use year instead',\n getSetYear\n);\nproto.zone = deprecate(\n 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n getSetZone\n);\nproto.isDSTShifted = deprecate(\n 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n isDaylightSavingTimeShifted\n);\n\nfunction createUnix(input) {\n return createLocal(input * 1000);\n}\n\nfunction createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n}\n\nfunction preParsePostFormat(string) {\n return string;\n}\n\nvar proto$1 = Locale.prototype;\n\nproto$1.calendar = calendar;\nproto$1.longDateFormat = longDateFormat;\nproto$1.invalidDate = invalidDate;\nproto$1.ordinal = ordinal;\nproto$1.preparse = preParsePostFormat;\nproto$1.postformat = preParsePostFormat;\nproto$1.relativeTime = relativeTime;\nproto$1.pastFuture = pastFuture;\nproto$1.set = set;\nproto$1.eras = localeEras;\nproto$1.erasParse = localeErasParse;\nproto$1.erasConvertYear = localeErasConvertYear;\nproto$1.erasAbbrRegex = erasAbbrRegex;\nproto$1.erasNameRegex = erasNameRegex;\nproto$1.erasNarrowRegex = erasNarrowRegex;\n\nproto$1.months = localeMonths;\nproto$1.monthsShort = localeMonthsShort;\nproto$1.monthsParse = localeMonthsParse;\nproto$1.monthsRegex = monthsRegex;\nproto$1.monthsShortRegex = monthsShortRegex;\nproto$1.week = localeWeek;\nproto$1.firstDayOfYear = localeFirstDayOfYear;\nproto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\nproto$1.weekdays = localeWeekdays;\nproto$1.weekdaysMin = localeWeekdaysMin;\nproto$1.weekdaysShort = localeWeekdaysShort;\nproto$1.weekdaysParse = localeWeekdaysParse;\n\nproto$1.weekdaysRegex = weekdaysRegex;\nproto$1.weekdaysShortRegex = weekdaysShortRegex;\nproto$1.weekdaysMinRegex = weekdaysMinRegex;\n\nproto$1.isPM = localeIsPM;\nproto$1.meridiem = localeMeridiem;\n\nfunction get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n}\n\nfunction listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n}\n\n// ()\n// (5)\n// (fmt, 5)\n// (fmt)\n// (true)\n// (true, 5)\n// (true, fmt, 5)\n// (true, fmt)\nfunction listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n }\n\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n}\n\nfunction listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n}\n\nfunction listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n}\n\nfunction listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n}\n\nfunction listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n}\n\nfunction listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n}\n\ngetSetGlobalLocale('en', {\n eras: [\n {\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD',\n },\n {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC',\n },\n ],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n toInt((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n});\n\n// Side effect imports\n\nhooks.lang = deprecate(\n 'moment.lang is deprecated. Use moment.locale instead.',\n getSetGlobalLocale\n);\nhooks.langData = deprecate(\n 'moment.langData is deprecated. Use moment.localeData instead.',\n getLocale\n);\n\nvar mathAbs = Math.abs;\n\nfunction abs() {\n var data = this._data;\n\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n\n return this;\n}\n\nfunction addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n\n return duration._bubble();\n}\n\n// supports only 2.0-style add(1, 's') or add(duration)\nfunction add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n}\n\n// supports only 2.0-style subtract(1, 's') or subtract(duration)\nfunction subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n}\n\nfunction absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n}\n\nfunction bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (\n !(\n (milliseconds >= 0 && days >= 0 && months >= 0) ||\n (milliseconds <= 0 && days <= 0 && months <= 0)\n )\n ) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n data.days = days;\n data.months = months;\n data.years = years;\n\n return this;\n}\n\nfunction daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return (days * 4800) / 146097;\n}\n\nfunction monthsToDays(months) {\n // the reverse of daysToMonths\n return (months * 146097) / 4800;\n}\n\nfunction as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n\n units = normalizeUnits(units);\n\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n}\n\n// TODO: Use this.as('ms')?\nfunction valueOf$1() {\n if (!this.isValid()) {\n return NaN;\n }\n return (\n this._milliseconds +\n this._days * 864e5 +\n (this._months % 12) * 2592e6 +\n toInt(this._months / 12) * 31536e6\n );\n}\n\nfunction makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n}\n\nvar asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y');\n\nfunction clone$1() {\n return createDuration(this);\n}\n\nfunction get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n}\n\nfunction makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n}\n\nvar milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n\nfunction weeks() {\n return absFloor(this.days() / 7);\n}\n\nvar round = Math.round,\n thresholds = {\n ss: 44, // a few seconds to seconds\n s: 45, // seconds to minute\n m: 45, // minutes to hour\n h: 22, // hours to day\n d: 26, // days to month/week\n w: null, // weeks to month\n M: 11, // months to year\n };\n\n// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\nfunction substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n}\n\nfunction relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a =\n (seconds <= thresholds.ss && ['s', seconds]) ||\n (seconds < thresholds.s && ['ss', seconds]) ||\n (minutes <= 1 && ['m']) ||\n (minutes < thresholds.m && ['mm', minutes]) ||\n (hours <= 1 && ['h']) ||\n (hours < thresholds.h && ['hh', hours]) ||\n (days <= 1 && ['d']) ||\n (days < thresholds.d && ['dd', days]);\n\n if (thresholds.w != null) {\n a =\n a ||\n (weeks <= 1 && ['w']) ||\n (weeks < thresholds.w && ['ww', weeks]);\n }\n a = a ||\n (months <= 1 && ['M']) ||\n (months < thresholds.M && ['MM', months]) ||\n (years <= 1 && ['y']) || ['yy', years];\n\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n}\n\n// This function allows you to set the rounding function for relative time strings\nfunction getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n}\n\n// This function allows you to set a threshold for relative time strings\nfunction getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n}\n\nfunction humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n\n return locale.postformat(output);\n}\n\nvar abs$1 = Math.abs;\n\nfunction sign(x) {\n return (x > 0) - (x < 0) || +x;\n}\n\nfunction toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n return (\n totalSign +\n 'P' +\n (years ? ymSign + years + 'Y' : '') +\n (months ? ymSign + months + 'M' : '') +\n (days ? daysSign + days + 'D' : '') +\n (hours || minutes || seconds ? 'T' : '') +\n (hours ? hmsSign + hours + 'H' : '') +\n (minutes ? hmsSign + minutes + 'M' : '') +\n (seconds ? hmsSign + s + 'S' : '')\n );\n}\n\nvar proto$2 = Duration.prototype;\n\nproto$2.isValid = isValid$1;\nproto$2.abs = abs;\nproto$2.add = add$1;\nproto$2.subtract = subtract$1;\nproto$2.as = as;\nproto$2.asMilliseconds = asMilliseconds;\nproto$2.asSeconds = asSeconds;\nproto$2.asMinutes = asMinutes;\nproto$2.asHours = asHours;\nproto$2.asDays = asDays;\nproto$2.asWeeks = asWeeks;\nproto$2.asMonths = asMonths;\nproto$2.asQuarters = asQuarters;\nproto$2.asYears = asYears;\nproto$2.valueOf = valueOf$1;\nproto$2._bubble = bubble;\nproto$2.clone = clone$1;\nproto$2.get = get$2;\nproto$2.milliseconds = milliseconds;\nproto$2.seconds = seconds;\nproto$2.minutes = minutes;\nproto$2.hours = hours;\nproto$2.days = days;\nproto$2.weeks = weeks;\nproto$2.months = months;\nproto$2.years = years;\nproto$2.humanize = humanize;\nproto$2.toISOString = toISOString$1;\nproto$2.toString = toISOString$1;\nproto$2.toJSON = toISOString$1;\nproto$2.locale = locale;\nproto$2.localeData = localeData;\n\nproto$2.toIsoString = deprecate(\n 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n toISOString$1\n);\nproto$2.lang = lang;\n\n// FORMATTING\n\naddFormatToken('X', 0, 0, 'unix');\naddFormatToken('x', 0, 0, 'valueOf');\n\n// PARSING\n\naddRegexToken('x', matchSigned);\naddRegexToken('X', matchTimestamp);\naddParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n});\naddParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n});\n\n//! moment.js\n\nhooks.version = '2.29.4';\n\nsetHookCallback(createLocal);\n\nhooks.fn = proto;\nhooks.min = min;\nhooks.max = max;\nhooks.now = now;\nhooks.utc = createUTC;\nhooks.unix = createUnix;\nhooks.months = listMonths;\nhooks.isDate = isDate;\nhooks.locale = getSetGlobalLocale;\nhooks.invalid = createInvalid;\nhooks.duration = createDuration;\nhooks.isMoment = isMoment;\nhooks.weekdays = listWeekdays;\nhooks.parseZone = createInZone;\nhooks.localeData = getLocale;\nhooks.isDuration = isDuration;\nhooks.monthsShort = listMonthsShort;\nhooks.weekdaysMin = listWeekdaysMin;\nhooks.defineLocale = defineLocale;\nhooks.updateLocale = updateLocale;\nhooks.locales = listLocales;\nhooks.weekdaysShort = listWeekdaysShort;\nhooks.normalizeUnits = normalizeUnits;\nhooks.relativeTimeRounding = getSetRelativeTimeRounding;\nhooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\nhooks.calendarFormat = getCalendarFormat;\nhooks.prototype = proto;\n\n// currently HTML5 input type only supports 24-hour formats\nhooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // \n DATE: 'YYYY-MM-DD', // \n TIME: 'HH:mm', // \n TIME_SECONDS: 'HH:mm:ss', // \n TIME_MS: 'HH:mm:ss.SSS', // \n WEEK: 'GGGG-[W]WW', // \n MONTH: 'YYYY-MM', // \n};\n\nexport default hooks;\n","!function(n,a){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=a():\"function\"==typeof define&&define.amd?define([],a):\"object\"==typeof exports?exports.NextcloudMoment=a():n.NextcloudMoment=a()}(self,(function(){return function(){\"use strict\";var n={n:function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(s,{a:s}),s},d:function(a,s){for(var t in s)n.o(s,t)&&!n.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:s[t]})},o:function(n,a){return Object.prototype.hasOwnProperty.call(n,a)},r:function(n){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(n,\"__esModule\",{value:!0})}},a={};n.r(a),n.d(a,{default:function(){return p}});var s=require(\"moment\"),t=n.n(s),o=require(\"node-gettext\"),e=n.n(o),l=require(\"@nextcloud/l10n\"),r=new(e()),m=(0,l.getLocale)();[{locale:\"ar\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"Ali , 2023\",\"Language-Team\":\"Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ar\",\"Plural-Forms\":\"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nAli , 2023\\n\"},msgstr:[\"Last-Translator: Ali , 2023\\nLanguage-Team: Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ar\\nPlural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"ثوانٍ\"]}}}}},{locale:\"ast\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Asturian (https://app.transifex.com/nextcloud/teams/64236/ast/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ast\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Asturian (https://app.transifex.com/nextcloud/teams/64236/ast/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ast\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"br\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Breton (https://app.transifex.com/nextcloud/teams/64236/br/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"br\",\"Plural-Forms\":\"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Breton (https://app.transifex.com/nextcloud/teams/64236/br/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: br\\nPlural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"eilennoù\"]}}}}},{locale:\"ca\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Catalan (https://app.transifex.com/nextcloud/teams/64236/ca/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ca\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Catalan (https://app.transifex.com/nextcloud/teams/64236/ca/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ca\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segons\"]}}}}},{locale:\"cs_CZ\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Czech (Czech Republic) (https://app.transifex.com/nextcloud/teams/64236/cs_CZ/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"cs_CZ\",\"Plural-Forms\":\"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Czech (Czech Republic) (https://app.transifex.com/nextcloud/teams/64236/cs_CZ/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: cs_CZ\\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekund(y)\"]}}}}},{locale:\"da\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Danish (https://app.transifex.com/nextcloud/teams/64236/da/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"da\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Danish (https://app.transifex.com/nextcloud/teams/64236/da/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: da\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunder\"]}}}}},{locale:\"de\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"Markus Eckstein, 2023\",\"Language-Team\":\"German (https://app.transifex.com/nextcloud/teams/64236/de/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"de\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nMarkus Eckstein, 2023\\n\"},msgstr:[\"Last-Translator: Markus Eckstein, 2023\\nLanguage-Team: German (https://app.transifex.com/nextcloud/teams/64236/de/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: de\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"Sekunden\"]}}}}},{locale:\"de_DE\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"German (Germany) (https://app.transifex.com/nextcloud/teams/64236/de_DE/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"de_DE\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: German (Germany) (https://app.transifex.com/nextcloud/teams/64236/de_DE/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: de_DE\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"Sekunden\"]}}}}},{locale:\"el\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Greek (https://app.transifex.com/nextcloud/teams/64236/el/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"el\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Greek (https://app.transifex.com/nextcloud/teams/64236/el/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: el\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"δευτερόλεπτα\"]}}}}},{locale:\"en_GB\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"English (United Kingdom) (https://app.transifex.com/nextcloud/teams/64236/en_GB/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"en_GB\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: English (United Kingdom) (https://app.transifex.com/nextcloud/teams/64236/en_GB/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: en_GB\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"seconds\"]}}}}},{locale:\"eo\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Esperanto (https://app.transifex.com/nextcloud/teams/64236/eo/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"eo\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Esperanto (https://app.transifex.com/nextcloud/teams/64236/eo/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: eo\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundoj\"]}}}}},{locale:\"es\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Spanish (https://app.transifex.com/nextcloud/teams/64236/es/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"es\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Spanish (https://app.transifex.com/nextcloud/teams/64236/es/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: es\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"es_AR\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Spanish (Argentina) (https://app.transifex.com/nextcloud/teams/64236/es_AR/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"es_AR\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Spanish (Argentina) (https://app.transifex.com/nextcloud/teams/64236/es_AR/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: es_AR\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"es_MX\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Spanish (Mexico) (https://app.transifex.com/nextcloud/teams/64236/es_MX/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"es_MX\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Spanish (Mexico) (https://app.transifex.com/nextcloud/teams/64236/es_MX/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: es_MX\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"et_EE\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Estonian (Estonia) (https://app.transifex.com/nextcloud/teams/64236/et_EE/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"et_EE\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Estonian (Estonia) (https://app.transifex.com/nextcloud/teams/64236/et_EE/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: et_EE\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundid\"]}}}}},{locale:\"eu\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Basque (https://app.transifex.com/nextcloud/teams/64236/eu/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"eu\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Basque (https://app.transifex.com/nextcloud/teams/64236/eu/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: eu\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundo\"]}}}}},{locale:\"fa\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Persian (https://app.transifex.com/nextcloud/teams/64236/fa/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"fa\",\"Plural-Forms\":\"nplurals=2; plural=(n > 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Persian (https://app.transifex.com/nextcloud/teams/64236/fa/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: fa\\nPlural-Forms: nplurals=2; plural=(n > 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"ثانیه\"]}}}}},{locale:\"fi_FI\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Finnish (Finland) (https://app.transifex.com/nextcloud/teams/64236/fi_FI/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"fi_FI\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Finnish (Finland) (https://app.transifex.com/nextcloud/teams/64236/fi_FI/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: fi_FI\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekuntia\"]}}}}},{locale:\"fr\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"French (https://app.transifex.com/nextcloud/teams/64236/fr/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"fr\",\"Plural-Forms\":\"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: French (https://app.transifex.com/nextcloud/teams/64236/fr/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: fr\\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"secondes\"]}}}}},{locale:\"gl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Galician (https://app.transifex.com/nextcloud/teams/64236/gl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"gl\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Galician (https://app.transifex.com/nextcloud/teams/64236/gl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: gl\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"he\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Hebrew (https://app.transifex.com/nextcloud/teams/64236/he/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"he\",\"Plural-Forms\":\"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Hebrew (https://app.transifex.com/nextcloud/teams/64236/he/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: he\\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"שניות\"]}}}}},{locale:\"hu_HU\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Hungarian (Hungary) (https://app.transifex.com/nextcloud/teams/64236/hu_HU/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"hu_HU\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Hungarian (Hungary) (https://app.transifex.com/nextcloud/teams/64236/hu_HU/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: hu_HU\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"másodperc\"]}}}}},{locale:\"id\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Indonesian (https://app.transifex.com/nextcloud/teams/64236/id/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"id\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Indonesian (https://app.transifex.com/nextcloud/teams/64236/id/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: id\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"detik\"]}}}}},{locale:\"is\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Icelandic (https://app.transifex.com/nextcloud/teams/64236/is/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"is\",\"Plural-Forms\":\"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Icelandic (https://app.transifex.com/nextcloud/teams/64236/is/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: is\\nPlural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekúndur\"]}}}}},{locale:\"it\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Italian (https://app.transifex.com/nextcloud/teams/64236/it/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"it\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Italian (https://app.transifex.com/nextcloud/teams/64236/it/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: it\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"secondi\"]}}}}},{locale:\"ja_JP\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Japanese (Japan) (https://app.transifex.com/nextcloud/teams/64236/ja_JP/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ja_JP\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Japanese (Japan) (https://app.transifex.com/nextcloud/teams/64236/ja_JP/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ja_JP\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}},{locale:\"kab\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Kabyle (https://app.transifex.com/nextcloud/teams/64236/kab/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"kab\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Kabyle (https://app.transifex.com/nextcloud/teams/64236/kab/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: kab\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"tasinin\"]}}}}},{locale:\"ko\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Korean (https://app.transifex.com/nextcloud/teams/64236/ko/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ko\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Korean (https://app.transifex.com/nextcloud/teams/64236/ko/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ko\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"초\"]}}}}},{locale:\"lo\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Lao (https://app.transifex.com/nextcloud/teams/64236/lo/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"lo\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Lao (https://app.transifex.com/nextcloud/teams/64236/lo/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: lo\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"ວິນາທີ\"]}}}}},{locale:\"lt_LT\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Lithuanian (Lithuania) (https://app.transifex.com/nextcloud/teams/64236/lt_LT/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"lt_LT\",\"Plural-Forms\":\"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Lithuanian (Lithuania) (https://app.transifex.com/nextcloud/teams/64236/lt_LT/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: lt_LT\\nPlural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sek.\"]}}}}},{locale:\"lv\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Latvian (https://app.transifex.com/nextcloud/teams/64236/lv/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"lv\",\"Plural-Forms\":\"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Latvian (https://app.transifex.com/nextcloud/teams/64236/lv/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: lv\\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundes\"]}}}}},{locale:\"mk\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Macedonian (https://app.transifex.com/nextcloud/teams/64236/mk/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"mk\",\"Plural-Forms\":\"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Macedonian (https://app.transifex.com/nextcloud/teams/64236/mk/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: mk\\nPlural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунди\"]}}}}},{locale:\"mn\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Mongolian (https://app.transifex.com/nextcloud/teams/64236/mn/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"mn\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Mongolian (https://app.transifex.com/nextcloud/teams/64236/mn/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: mn\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунд\"]}}}}},{locale:\"my\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Burmese (https://app.transifex.com/nextcloud/teams/64236/my/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"my\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Burmese (https://app.transifex.com/nextcloud/teams/64236/my/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: my\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"စက္ကန့်\"]}}}}},{locale:\"nb_NO\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Norwegian Bokmål (Norway) (https://app.transifex.com/nextcloud/teams/64236/nb_NO/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"nb_NO\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Norwegian Bokmål (Norway) (https://app.transifex.com/nextcloud/teams/64236/nb_NO/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: nb_NO\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunder\"]}}}}},{locale:\"nl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Dutch (https://app.transifex.com/nextcloud/teams/64236/nl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"nl\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Dutch (https://app.transifex.com/nextcloud/teams/64236/nl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: nl\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"seconden\"]}}}}},{locale:\"oc\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Occitan (post 1500) (https://app.transifex.com/nextcloud/teams/64236/oc/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"oc\",\"Plural-Forms\":\"nplurals=2; plural=(n > 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Occitan (post 1500) (https://app.transifex.com/nextcloud/teams/64236/oc/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: oc\\nPlural-Forms: nplurals=2; plural=(n > 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segondas\"]}}}}},{locale:\"pl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Polish (https://app.transifex.com/nextcloud/teams/64236/pl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"pl\",\"Plural-Forms\":\"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Polish (https://app.transifex.com/nextcloud/teams/64236/pl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: pl\\nPlural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundy\"]}}}}},{locale:\"pt_BR\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Portuguese (Brazil) (https://app.transifex.com/nextcloud/teams/64236/pt_BR/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"pt_BR\",\"Plural-Forms\":\"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Portuguese (Brazil) (https://app.transifex.com/nextcloud/teams/64236/pt_BR/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: pt_BR\\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"pt_PT\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Portuguese (Portugal) (https://app.transifex.com/nextcloud/teams/64236/pt_PT/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"pt_PT\",\"Plural-Forms\":\"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Portuguese (Portugal) (https://app.transifex.com/nextcloud/teams/64236/pt_PT/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: pt_PT\\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"ro\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Romanian (https://app.transifex.com/nextcloud/teams/64236/ro/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ro\",\"Plural-Forms\":\"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Romanian (https://app.transifex.com/nextcloud/teams/64236/ro/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ro\\nPlural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"secunde\"]}}}}},{locale:\"ru\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Russian (https://app.transifex.com/nextcloud/teams/64236/ru/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ru\",\"Plural-Forms\":\"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Russian (https://app.transifex.com/nextcloud/teams/64236/ru/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ru\\nPlural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунды\"]}}}}},{locale:\"si\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Sinhala (https://app.transifex.com/nextcloud/teams/64236/si/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"si\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Sinhala (https://app.transifex.com/nextcloud/teams/64236/si/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: si\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"තත්පර\"]}}}}},{locale:\"sk_SK\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Slovak (Slovakia) (https://app.transifex.com/nextcloud/teams/64236/sk_SK/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sk_SK\",\"Plural-Forms\":\"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Slovak (Slovakia) (https://app.transifex.com/nextcloud/teams/64236/sk_SK/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sk_SK\\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundy\"]}}}}},{locale:\"sl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Slovenian (https://app.transifex.com/nextcloud/teams/64236/sl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sl\",\"Plural-Forms\":\"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Slovenian (https://app.transifex.com/nextcloud/teams/64236/sl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sl\\nPlural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunde\"]}}}}},{locale:\"sq\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Albanian (https://app.transifex.com/nextcloud/teams/64236/sq/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sq\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Albanian (https://app.transifex.com/nextcloud/teams/64236/sq/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sq\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekonda\"]}}}}},{locale:\"sr\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Serbian (https://app.transifex.com/nextcloud/teams/64236/sr/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sr\",\"Plural-Forms\":\"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Serbian (https://app.transifex.com/nextcloud/teams/64236/sr/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sr\\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунде\"]}}}}},{locale:\"sv\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Swedish (https://app.transifex.com/nextcloud/teams/64236/sv/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sv\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Swedish (https://app.transifex.com/nextcloud/teams/64236/sv/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sv\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunder\"]}}}}},{locale:\"th_TH\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Thai (Thailand) (https://app.transifex.com/nextcloud/teams/64236/th_TH/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"th_TH\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Thai (Thailand) (https://app.transifex.com/nextcloud/teams/64236/th_TH/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: th_TH\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"วินาที\"]}}}}},{locale:\"tr\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Turkish (https://app.transifex.com/nextcloud/teams/64236/tr/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"tr\",\"Plural-Forms\":\"nplurals=2; plural=(n > 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Turkish (https://app.transifex.com/nextcloud/teams/64236/tr/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: tr\\nPlural-Forms: nplurals=2; plural=(n > 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"saniye\"]}}}}},{locale:\"uk\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Ukrainian (https://app.transifex.com/nextcloud/teams/64236/uk/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"uk\",\"Plural-Forms\":\"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Ukrainian (https://app.transifex.com/nextcloud/teams/64236/uk/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: uk\\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунд\"]}}}}},{locale:\"vi\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Vietnamese (https://app.transifex.com/nextcloud/teams/64236/vi/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"vi\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Vietnamese (https://app.transifex.com/nextcloud/teams/64236/vi/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: vi\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"giây\"]}}}}},{locale:\"zh_CN\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Chinese (China) (https://app.transifex.com/nextcloud/teams/64236/zh_CN/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"zh_CN\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Chinese (China) (https://app.transifex.com/nextcloud/teams/64236/zh_CN/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: zh_CN\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}},{locale:\"zh_HK\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Chinese (Hong Kong) (https://app.transifex.com/nextcloud/teams/64236/zh_HK/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"zh_HK\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Chinese (Hong Kong) (https://app.transifex.com/nextcloud/teams/64236/zh_HK/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: zh_HK\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}},{locale:\"zh_TW\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236/zh_TW/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"zh_TW\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236/zh_TW/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: zh_TW\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}}].map((function(n){r.addTranslations(n.locale,\"messages\",n.json)})),r.setLocale(m),t().locale(m),(\"en\"===m||[{locale:\"ar\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"Ali , 2023\",\"Language-Team\":\"Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ar\",\"Plural-Forms\":\"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nAli , 2023\\n\"},msgstr:[\"Last-Translator: Ali , 2023\\nLanguage-Team: Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ar\\nPlural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"ثوانٍ\"]}}}}},{locale:\"ast\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Asturian (https://app.transifex.com/nextcloud/teams/64236/ast/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ast\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Asturian (https://app.transifex.com/nextcloud/teams/64236/ast/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ast\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"br\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Breton (https://app.transifex.com/nextcloud/teams/64236/br/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"br\",\"Plural-Forms\":\"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Breton (https://app.transifex.com/nextcloud/teams/64236/br/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: br\\nPlural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"eilennoù\"]}}}}},{locale:\"ca\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Catalan (https://app.transifex.com/nextcloud/teams/64236/ca/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ca\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Catalan (https://app.transifex.com/nextcloud/teams/64236/ca/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ca\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segons\"]}}}}},{locale:\"cs_CZ\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Czech (Czech Republic) (https://app.transifex.com/nextcloud/teams/64236/cs_CZ/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"cs_CZ\",\"Plural-Forms\":\"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Czech (Czech Republic) (https://app.transifex.com/nextcloud/teams/64236/cs_CZ/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: cs_CZ\\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekund(y)\"]}}}}},{locale:\"da\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Danish (https://app.transifex.com/nextcloud/teams/64236/da/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"da\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Danish (https://app.transifex.com/nextcloud/teams/64236/da/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: da\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunder\"]}}}}},{locale:\"de\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"Markus Eckstein, 2023\",\"Language-Team\":\"German (https://app.transifex.com/nextcloud/teams/64236/de/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"de\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nMarkus Eckstein, 2023\\n\"},msgstr:[\"Last-Translator: Markus Eckstein, 2023\\nLanguage-Team: German (https://app.transifex.com/nextcloud/teams/64236/de/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: de\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"Sekunden\"]}}}}},{locale:\"de_DE\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"German (Germany) (https://app.transifex.com/nextcloud/teams/64236/de_DE/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"de_DE\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: German (Germany) (https://app.transifex.com/nextcloud/teams/64236/de_DE/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: de_DE\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"Sekunden\"]}}}}},{locale:\"el\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Greek (https://app.transifex.com/nextcloud/teams/64236/el/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"el\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Greek (https://app.transifex.com/nextcloud/teams/64236/el/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: el\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"δευτερόλεπτα\"]}}}}},{locale:\"en_GB\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"English (United Kingdom) (https://app.transifex.com/nextcloud/teams/64236/en_GB/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"en_GB\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: English (United Kingdom) (https://app.transifex.com/nextcloud/teams/64236/en_GB/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: en_GB\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"seconds\"]}}}}},{locale:\"eo\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Esperanto (https://app.transifex.com/nextcloud/teams/64236/eo/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"eo\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Esperanto (https://app.transifex.com/nextcloud/teams/64236/eo/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: eo\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundoj\"]}}}}},{locale:\"es\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Spanish (https://app.transifex.com/nextcloud/teams/64236/es/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"es\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Spanish (https://app.transifex.com/nextcloud/teams/64236/es/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: es\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"es_AR\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Spanish (Argentina) (https://app.transifex.com/nextcloud/teams/64236/es_AR/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"es_AR\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Spanish (Argentina) (https://app.transifex.com/nextcloud/teams/64236/es_AR/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: es_AR\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"es_MX\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Spanish (Mexico) (https://app.transifex.com/nextcloud/teams/64236/es_MX/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"es_MX\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Spanish (Mexico) (https://app.transifex.com/nextcloud/teams/64236/es_MX/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: es_MX\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"et_EE\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Estonian (Estonia) (https://app.transifex.com/nextcloud/teams/64236/et_EE/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"et_EE\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Estonian (Estonia) (https://app.transifex.com/nextcloud/teams/64236/et_EE/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: et_EE\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundid\"]}}}}},{locale:\"eu\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Basque (https://app.transifex.com/nextcloud/teams/64236/eu/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"eu\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Basque (https://app.transifex.com/nextcloud/teams/64236/eu/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: eu\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundo\"]}}}}},{locale:\"fa\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Persian (https://app.transifex.com/nextcloud/teams/64236/fa/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"fa\",\"Plural-Forms\":\"nplurals=2; plural=(n > 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Persian (https://app.transifex.com/nextcloud/teams/64236/fa/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: fa\\nPlural-Forms: nplurals=2; plural=(n > 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"ثانیه\"]}}}}},{locale:\"fi_FI\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Finnish (Finland) (https://app.transifex.com/nextcloud/teams/64236/fi_FI/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"fi_FI\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Finnish (Finland) (https://app.transifex.com/nextcloud/teams/64236/fi_FI/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: fi_FI\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekuntia\"]}}}}},{locale:\"fr\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"French (https://app.transifex.com/nextcloud/teams/64236/fr/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"fr\",\"Plural-Forms\":\"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: French (https://app.transifex.com/nextcloud/teams/64236/fr/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: fr\\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"secondes\"]}}}}},{locale:\"gl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Galician (https://app.transifex.com/nextcloud/teams/64236/gl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"gl\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Galician (https://app.transifex.com/nextcloud/teams/64236/gl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: gl\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"he\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Hebrew (https://app.transifex.com/nextcloud/teams/64236/he/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"he\",\"Plural-Forms\":\"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Hebrew (https://app.transifex.com/nextcloud/teams/64236/he/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: he\\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"שניות\"]}}}}},{locale:\"hu_HU\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Hungarian (Hungary) (https://app.transifex.com/nextcloud/teams/64236/hu_HU/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"hu_HU\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Hungarian (Hungary) (https://app.transifex.com/nextcloud/teams/64236/hu_HU/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: hu_HU\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"másodperc\"]}}}}},{locale:\"id\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Indonesian (https://app.transifex.com/nextcloud/teams/64236/id/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"id\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Indonesian (https://app.transifex.com/nextcloud/teams/64236/id/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: id\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"detik\"]}}}}},{locale:\"is\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Icelandic (https://app.transifex.com/nextcloud/teams/64236/is/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"is\",\"Plural-Forms\":\"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Icelandic (https://app.transifex.com/nextcloud/teams/64236/is/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: is\\nPlural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekúndur\"]}}}}},{locale:\"it\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Italian (https://app.transifex.com/nextcloud/teams/64236/it/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"it\",\"Plural-Forms\":\"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Italian (https://app.transifex.com/nextcloud/teams/64236/it/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: it\\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"secondi\"]}}}}},{locale:\"ja_JP\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Japanese (Japan) (https://app.transifex.com/nextcloud/teams/64236/ja_JP/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ja_JP\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Japanese (Japan) (https://app.transifex.com/nextcloud/teams/64236/ja_JP/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ja_JP\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}},{locale:\"kab\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Kabyle (https://app.transifex.com/nextcloud/teams/64236/kab/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"kab\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Kabyle (https://app.transifex.com/nextcloud/teams/64236/kab/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: kab\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"tasinin\"]}}}}},{locale:\"ko\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Korean (https://app.transifex.com/nextcloud/teams/64236/ko/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ko\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Korean (https://app.transifex.com/nextcloud/teams/64236/ko/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ko\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"초\"]}}}}},{locale:\"lo\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Lao (https://app.transifex.com/nextcloud/teams/64236/lo/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"lo\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Lao (https://app.transifex.com/nextcloud/teams/64236/lo/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: lo\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"ວິນາທີ\"]}}}}},{locale:\"lt_LT\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Lithuanian (Lithuania) (https://app.transifex.com/nextcloud/teams/64236/lt_LT/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"lt_LT\",\"Plural-Forms\":\"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Lithuanian (Lithuania) (https://app.transifex.com/nextcloud/teams/64236/lt_LT/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: lt_LT\\nPlural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sek.\"]}}}}},{locale:\"lv\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Latvian (https://app.transifex.com/nextcloud/teams/64236/lv/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"lv\",\"Plural-Forms\":\"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Latvian (https://app.transifex.com/nextcloud/teams/64236/lv/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: lv\\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundes\"]}}}}},{locale:\"mk\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Macedonian (https://app.transifex.com/nextcloud/teams/64236/mk/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"mk\",\"Plural-Forms\":\"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Macedonian (https://app.transifex.com/nextcloud/teams/64236/mk/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: mk\\nPlural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунди\"]}}}}},{locale:\"mn\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Mongolian (https://app.transifex.com/nextcloud/teams/64236/mn/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"mn\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Mongolian (https://app.transifex.com/nextcloud/teams/64236/mn/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: mn\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунд\"]}}}}},{locale:\"my\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Burmese (https://app.transifex.com/nextcloud/teams/64236/my/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"my\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Burmese (https://app.transifex.com/nextcloud/teams/64236/my/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: my\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"စက္ကန့်\"]}}}}},{locale:\"nb_NO\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Norwegian Bokmål (Norway) (https://app.transifex.com/nextcloud/teams/64236/nb_NO/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"nb_NO\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Norwegian Bokmål (Norway) (https://app.transifex.com/nextcloud/teams/64236/nb_NO/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: nb_NO\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunder\"]}}}}},{locale:\"nl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Dutch (https://app.transifex.com/nextcloud/teams/64236/nl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"nl\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Dutch (https://app.transifex.com/nextcloud/teams/64236/nl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: nl\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"seconden\"]}}}}},{locale:\"oc\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Occitan (post 1500) (https://app.transifex.com/nextcloud/teams/64236/oc/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"oc\",\"Plural-Forms\":\"nplurals=2; plural=(n > 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Occitan (post 1500) (https://app.transifex.com/nextcloud/teams/64236/oc/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: oc\\nPlural-Forms: nplurals=2; plural=(n > 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segondas\"]}}}}},{locale:\"pl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Polish (https://app.transifex.com/nextcloud/teams/64236/pl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"pl\",\"Plural-Forms\":\"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Polish (https://app.transifex.com/nextcloud/teams/64236/pl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: pl\\nPlural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundy\"]}}}}},{locale:\"pt_BR\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Portuguese (Brazil) (https://app.transifex.com/nextcloud/teams/64236/pt_BR/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"pt_BR\",\"Plural-Forms\":\"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Portuguese (Brazil) (https://app.transifex.com/nextcloud/teams/64236/pt_BR/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: pt_BR\\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"pt_PT\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Portuguese (Portugal) (https://app.transifex.com/nextcloud/teams/64236/pt_PT/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"pt_PT\",\"Plural-Forms\":\"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Portuguese (Portugal) (https://app.transifex.com/nextcloud/teams/64236/pt_PT/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: pt_PT\\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"segundos\"]}}}}},{locale:\"ro\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Romanian (https://app.transifex.com/nextcloud/teams/64236/ro/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ro\",\"Plural-Forms\":\"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Romanian (https://app.transifex.com/nextcloud/teams/64236/ro/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ro\\nPlural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"secunde\"]}}}}},{locale:\"ru\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Russian (https://app.transifex.com/nextcloud/teams/64236/ru/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"ru\",\"Plural-Forms\":\"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Russian (https://app.transifex.com/nextcloud/teams/64236/ru/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: ru\\nPlural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунды\"]}}}}},{locale:\"si\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Sinhala (https://app.transifex.com/nextcloud/teams/64236/si/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"si\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Sinhala (https://app.transifex.com/nextcloud/teams/64236/si/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: si\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"තත්පර\"]}}}}},{locale:\"sk_SK\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Slovak (Slovakia) (https://app.transifex.com/nextcloud/teams/64236/sk_SK/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sk_SK\",\"Plural-Forms\":\"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Slovak (Slovakia) (https://app.transifex.com/nextcloud/teams/64236/sk_SK/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sk_SK\\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekundy\"]}}}}},{locale:\"sl\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Slovenian (https://app.transifex.com/nextcloud/teams/64236/sl/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sl\",\"Plural-Forms\":\"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Slovenian (https://app.transifex.com/nextcloud/teams/64236/sl/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sl\\nPlural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunde\"]}}}}},{locale:\"sq\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Albanian (https://app.transifex.com/nextcloud/teams/64236/sq/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sq\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Albanian (https://app.transifex.com/nextcloud/teams/64236/sq/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sq\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekonda\"]}}}}},{locale:\"sr\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Serbian (https://app.transifex.com/nextcloud/teams/64236/sr/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sr\",\"Plural-Forms\":\"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Serbian (https://app.transifex.com/nextcloud/teams/64236/sr/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sr\\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунде\"]}}}}},{locale:\"sv\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Swedish (https://app.transifex.com/nextcloud/teams/64236/sv/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"sv\",\"Plural-Forms\":\"nplurals=2; plural=(n != 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Swedish (https://app.transifex.com/nextcloud/teams/64236/sv/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: sv\\nPlural-Forms: nplurals=2; plural=(n != 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"sekunder\"]}}}}},{locale:\"th_TH\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Thai (Thailand) (https://app.transifex.com/nextcloud/teams/64236/th_TH/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"th_TH\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Thai (Thailand) (https://app.transifex.com/nextcloud/teams/64236/th_TH/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: th_TH\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"วินาที\"]}}}}},{locale:\"tr\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Turkish (https://app.transifex.com/nextcloud/teams/64236/tr/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"tr\",\"Plural-Forms\":\"nplurals=2; plural=(n > 1);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Turkish (https://app.transifex.com/nextcloud/teams/64236/tr/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: tr\\nPlural-Forms: nplurals=2; plural=(n > 1);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"saniye\"]}}}}},{locale:\"uk\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Ukrainian (https://app.transifex.com/nextcloud/teams/64236/uk/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"uk\",\"Plural-Forms\":\"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Ukrainian (https://app.transifex.com/nextcloud/teams/64236/uk/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: uk\\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"секунд\"]}}}}},{locale:\"vi\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Vietnamese (https://app.transifex.com/nextcloud/teams/64236/vi/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"vi\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Vietnamese (https://app.transifex.com/nextcloud/teams/64236/vi/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: vi\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"giây\"]}}}}},{locale:\"zh_CN\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Chinese (China) (https://app.transifex.com/nextcloud/teams/64236/zh_CN/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"zh_CN\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Chinese (China) (https://app.transifex.com/nextcloud/teams/64236/zh_CN/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: zh_CN\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}},{locale:\"zh_HK\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Chinese (Hong Kong) (https://app.transifex.com/nextcloud/teams/64236/zh_HK/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"zh_HK\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Chinese (Hong Kong) (https://app.transifex.com/nextcloud/teams/64236/zh_HK/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: zh_HK\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}},{locale:\"zh_TW\",json:{charset:\"utf-8\",headers:{\"Last-Translator\":\"John Molakvoæ , 2023\",\"Language-Team\":\"Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236/zh_TW/)\",\"Content-Type\":\"text/plain; charset=UTF-8\",Language:\"zh_TW\",\"Plural-Forms\":\"nplurals=1; plural=0;\"},translations:{\"\":{\"\":{msgid:\"\",comments:{translator:\"\\nTranslators:\\nJohn Molakvoæ , 2023\\n\"},msgstr:[\"Last-Translator: John Molakvoæ , 2023\\nLanguage-Team: Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236/zh_TW/)\\nContent-Type: text/plain; charset=UTF-8\\nLanguage: zh_TW\\nPlural-Forms: nplurals=1; plural=0;\\n\"]},seconds:{msgid:\"seconds\",comments:{reference:\"lib/index.ts:22\"},msgstr:[\"秒\"]}}}}}].find((function(n){return n.locale===m})))&&t().updateLocale(t().locale(),{relativeTime:{s:r.gettext(\"seconds\")}});var p=t();return a}()}));\n//# sourceMappingURL=index.js.map","import \"../assets/index-f091e784.css\";\nimport { n as h } from \"../chunks/_plugin-vue2_normalizer-71e2aa87.mjs\";\nconst p = {\n name: \"NcButton\",\n props: {\n /**\n * Set the text and icon alignment\n *\n * @default 'center'\n */\n alignment: {\n type: String,\n default: \"center\",\n validator: (t) => [\"start\", \"start-reverse\", \"center\", \"center-reverse\", \"end\", \"end-reverse\"].includes(t)\n },\n /**\n * Toggles the disabled state of the button on and off.\n */\n disabled: {\n type: Boolean,\n default: !1\n },\n /**\n * Specifies the button type\n * Accepted values: primary, secondary, tertiary, tertiary-no-background, tertiary-on-primary, error, warning, success. If left empty,\n * the default button style will be applied.\n */\n type: {\n type: String,\n validator(t) {\n return [\"primary\", \"secondary\", \"tertiary\", \"tertiary-no-background\", \"tertiary-on-primary\", \"error\", \"warning\", \"success\"].indexOf(t) !== -1;\n },\n default: \"secondary\"\n },\n /**\n * Specifies the button native type\n * Accepted values: submit, reset, button. If left empty,\n * the default \"button\" type will be used.\n */\n nativeType: {\n type: String,\n validator(t) {\n return [\"submit\", \"reset\", \"button\"].indexOf(t) !== -1;\n },\n default: \"button\"\n },\n /**\n * Specifies whether the button should span all the available width.\n * By default, buttons span the whole width of the container.\n */\n wide: {\n type: Boolean,\n default: !1\n },\n /**\n * Always try to provide an aria-label to your button. Make it more\n * specific than the button's name by provide some more context. E.g. if\n * the name of the button is \"send\" in the Mail app, the aria label could\n * be \"Send email\".\n */\n ariaLabel: {\n type: String,\n default: null\n },\n /**\n * Providing the href attribute turns the button component into an `a`\n * element.\n */\n href: {\n type: String,\n default: null\n },\n /**\n * Providing the download attribute with href downloads file when clicking.\n */\n download: {\n type: String,\n default: null\n },\n /**\n * Providing the to attribute turns the button component into a `router-link`\n * element. Takes precedence over the href attribute.\n */\n to: {\n type: [String, Object],\n default: null\n },\n /**\n * Pass in `true` if you want the matching behaviour of `router-link` to\n * be non-inclusive: https://router.vuejs.org/api/#exact\n */\n exact: {\n type: Boolean,\n default: !1\n },\n /**\n * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.\n * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,\n * otherwise root element will inherit incorrect aria-hidden.\n */\n ariaHidden: {\n type: Boolean,\n default: null\n },\n /**\n * The pressed state of the button if it has a checked state\n * This will add the `aria-pressed` attribute and for the button to have the primary style in checked state.\n */\n pressed: {\n type: Boolean,\n default: null\n }\n },\n emits: [\"update:pressed\", \"click\"],\n computed: {\n /**\n * The real type to be used for the button, enforces `primary` for pressed state and, if stateful button, any other type for not pressed state\n * Otherwise the type property is used.\n */\n realType() {\n return this.pressed ? \"primary\" : this.pressed === !1 && this.type === \"primary\" ? \"secondary\" : this.type;\n },\n /**\n * The flexbox alignment of the button content\n */\n flexAlignment() {\n return this.alignment.split(\"-\")[0];\n },\n /**\n * If the button content should be reversed (icon on the end)\n */\n isReverseAligned() {\n return this.alignment.includes(\"-\");\n }\n },\n /**\n * The render function to display the component\n *\n * @param {Function} h The function to create VNodes\n * @return {object|undefined} The created VNode\n */\n render(t) {\n var l, i, o;\n const e = !!this.$slots.default, s = (l = this.$slots) == null ? void 0 : l.icon;\n !e && !this.ariaLabel && console.warn(\n \"You need to fill either the text or the ariaLabel props in the button component.\",\n {\n text: (o = (i = this.$slots.default) == null ? void 0 : i[0]) == null ? void 0 : o.text,\n ariaLabel: this.ariaLabel\n },\n this\n );\n const r = ({ navigate: n, isActive: u, isExactActive: d } = {}) => t(\n this.to || !this.href ? \"button\" : \"a\",\n {\n class: [\n \"button-vue\",\n {\n \"button-vue--icon-only\": s && !e,\n \"button-vue--text-only\": e && !s,\n \"button-vue--icon-and-text\": s && e,\n [`button-vue--vue-${this.realType}`]: this.realType,\n \"button-vue--wide\": this.wide,\n [`button-vue--${this.flexAlignment}`]: this.flexAlignment !== \"center\",\n \"button-vue--reverse\": this.isReverseAligned,\n active: u,\n \"router-link-exact-active\": d\n }\n ],\n attrs: {\n \"aria-label\": this.ariaLabel,\n \"aria-pressed\": this.pressed,\n disabled: this.disabled,\n type: this.href ? null : this.nativeType,\n role: this.href ? \"button\" : null,\n href: !this.to && this.href ? this.href : null,\n target: !this.to && this.href ? \"_self\" : null,\n rel: !this.to && this.href ? \"nofollow noreferrer noopener\" : null,\n download: !this.to && this.href && this.download ? this.download : null,\n ...this.$attrs\n },\n on: {\n ...this.$listeners,\n click: (a) => {\n typeof this.pressed == \"boolean\" && this.$emit(\"update:pressed\", !this.pressed), this.$emit(\"click\", a), n == null || n(a);\n }\n }\n },\n [\n t(\"span\", { class: \"button-vue__wrapper\" }, [\n s ? t(\n \"span\",\n {\n class: \"button-vue__icon\",\n attrs: {\n \"aria-hidden\": \"true\"\n }\n },\n [this.$slots.icon]\n ) : null,\n e ? t(\"span\", { class: \"button-vue__text\" }, [this.$slots.default]) : null\n ])\n ]\n );\n return this.to ? t(\"router-link\", {\n props: {\n custom: !0,\n to: this.to,\n exact: this.exact\n },\n scopedSlots: {\n default: r\n }\n }) : r();\n }\n}, c = null, f = null;\nvar y = /* @__PURE__ */ h(\n p,\n c,\n f,\n !1,\n null,\n \"8f4e0666\",\n null,\n null\n);\nconst m = y.exports;\nexport {\n m as default\n};\n","function getBasePlacement(placement) {\n return placement.split('-')[0];\n}\n\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\n\nfunction getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].includes(getBasePlacement(placement)) ? 'x' : 'y';\n}\n\nfunction getLengthFromAxis(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\n\nfunction computeCoordsFromPlacement(_ref) {\n let {\n reference,\n floating,\n placement\n } = _ref;\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n let coords;\n\n switch (getBasePlacement(placement)) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n\n const mainAxis = getMainAxisFromPlacement(placement);\n const length = getLengthFromAxis(mainAxis);\n\n switch (getAlignment(placement)) {\n case 'start':\n coords[mainAxis] = coords[mainAxis] - (reference[length] / 2 - floating[length] / 2);\n break;\n\n case 'end':\n coords[mainAxis] = coords[mainAxis] + (reference[length] / 2 - floating[length] / 2);\n break;\n }\n\n return coords;\n}\n\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n\n if (process.env.NODE_ENV !== \"production\") {\n if (platform == null) {\n console.error(['Floating UI: `platform` property was not passed to config. If you', 'want to use Floating UI on the web, install @floating-ui/dom', 'instead of the /core package. Otherwise, you can create your own', '`platform`: https://floating-ui.com/docs/platform'].join(' '));\n }\n\n if (middleware.filter(_ref => {\n let {\n name\n } = _ref;\n return name === 'autoPlacement' || name === 'flip';\n }).length > 1) {\n throw new Error(['Floating UI: duplicate `flip` and/or `autoPlacement`', 'middleware detected. This will lead to an infinite loop. Ensure only', 'one of either has been passed to the `middleware` array.'].join(' '));\n }\n }\n\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement({ ...rects,\n placement\n });\n let statefulPlacement = placement;\n let middlewareData = {};\n let _debug_loop_count_ = 0;\n\n for (let i = 0; i < middleware.length; i++) {\n if (process.env.NODE_ENV !== \"production\") {\n _debug_loop_count_++;\n\n if (_debug_loop_count_ > 100) {\n throw new Error(['Floating UI: The middleware lifecycle appears to be', 'running in an infinite loop. This is usually caused by a `reset`', 'continually being returned without a break condition.'].join(' '));\n }\n }\n\n const {\n name,\n fn\n } = middleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = { ...middlewareData,\n [name]: data != null ? data : {}\n };\n\n if (reset) {\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n\n ({\n x,\n y\n } = computeCoordsFromPlacement({ ...rects,\n placement: statefulPlacement\n }));\n }\n\n i = -1;\n continue;\n }\n }\n\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\n\nfunction getSideObjectFromPadding(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\n\nfunction rectToClientRect(rect) {\n return { ...rect,\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n };\n}\n\nasync function detectOverflow(middlewareArguments, options) {\n if (options === void 0) {\n options = {};\n }\n\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = middlewareArguments;\n const {\n boundary = 'clippingParents',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = options;\n const paddingObject = getSideObjectFromPadding(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = await platform.getClippingClientRect({\n element: (await platform.isElement(element)) ? element : element.contextElement || (await platform.getDocumentElement({\n element: elements.floating\n })),\n boundary,\n rootBoundary\n });\n const elementClientRect = rectToClientRect(await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n rect: elementContext === 'floating' ? { ...rects.floating,\n x,\n y\n } : rects.reference,\n offsetParent: await platform.getOffsetParent({\n element: elements.floating\n }),\n strategy\n })); // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n return {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n}\n\nconst min = Math.min;\nconst max = Math.max;\n\nfunction within(min$1, value, max$1) {\n return max(min$1, min(value, max$1));\n}\n\nconst arrow = options => ({\n name: 'arrow',\n options,\n\n async fn(middlewareArguments) {\n // Since `element` is required, we don't Partial<> the type\n const {\n element,\n padding = 0\n } = options != null ? options : {};\n const {\n x,\n y,\n placement,\n rects,\n platform\n } = middlewareArguments;\n\n if (element == null) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn('Floating UI: No `element` was passed to the `arrow` middleware.');\n }\n\n return {};\n }\n\n const paddingObject = getSideObjectFromPadding(padding);\n const coords = {\n x,\n y\n };\n const basePlacement = getBasePlacement(placement);\n const axis = getMainAxisFromPlacement(basePlacement);\n const length = getLengthFromAxis(axis);\n const arrowDimensions = await platform.getDimensions({\n element\n });\n const minProp = axis === 'y' ? 'top' : 'left';\n const maxProp = axis === 'y' ? 'bottom' : 'right';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await platform.getOffsetParent({\n element\n });\n const clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n const centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside of the floating element's bounds\n\n const min = paddingObject[minProp];\n const max = clientSize - arrowDimensions[length] - paddingObject[maxProp];\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = within(min, center, max);\n return {\n data: {\n [axis]: offset,\n centerOffset: center - offset\n }\n };\n }\n\n});\n\nconst hash$1 = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, matched => hash$1[matched]);\n}\n\nfunction getAlignmentSides(placement, rects) {\n const isStart = getAlignment(placement) === 'start';\n const mainAxis = getMainAxisFromPlacement(placement);\n const length = getLengthFromAxis(mainAxis);\n let mainAlignmentSide = mainAxis === 'x' ? isStart ? 'right' : 'left' : isStart ? 'bottom' : 'top';\n\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n\n return {\n main: mainAlignmentSide,\n cross: getOppositePlacement(mainAlignmentSide)\n };\n}\n\nconst hash = {\n start: 'end',\n end: 'start'\n};\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, matched => hash[matched]);\n}\n\nconst basePlacements = ['top', 'right', 'bottom', 'left'];\nconst allPlacements = /*#__PURE__*/basePlacements.reduce((acc, basePlacement) => acc.concat(basePlacement, basePlacement + \"-start\", basePlacement + \"-end\"), []);\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getBasePlacement(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n\n return true;\n });\n}\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'autoPlacement',\n options,\n\n async fn(middlewareArguments) {\n var _middlewareData$autoP, _middlewareData$autoP2, _middlewareData$autoP3, _middlewareData$autoP4, _middlewareData$autoP5, _placementsSortedByLe;\n\n const {\n x,\n y,\n rects,\n middlewareData,\n placement\n } = middlewareArguments;\n const {\n alignment = null,\n allowedPlacements = allPlacements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = options;\n\n if ((_middlewareData$autoP = middlewareData.autoPlacement) != null && _middlewareData$autoP.skip) {\n return {};\n }\n\n const placements = getPlacementList(alignment, autoAlignment, allowedPlacements);\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const currentIndex = (_middlewareData$autoP2 = (_middlewareData$autoP3 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP3.index) != null ? _middlewareData$autoP2 : 0;\n const currentPlacement = placements[currentIndex];\n const {\n main,\n cross\n } = getAlignmentSides(currentPlacement, rects); // Make `computeCoords` start from the right place\n\n if (placement !== currentPlacement) {\n return {\n x,\n y,\n reset: {\n placement: placements[0]\n }\n };\n }\n\n const currentOverflows = [overflow[getBasePlacement(currentPlacement)], overflow[main], overflow[cross]];\n const allOverflows = [...((_middlewareData$autoP4 = (_middlewareData$autoP5 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP5.overflows) != null ? _middlewareData$autoP4 : []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements[currentIndex + 1]; // There are more placements to check\n\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n\n const placementsSortedByLeastOverflow = allOverflows.slice().sort((a, b) => a.overflows[0] - b.overflows[0]);\n const placementThatFitsOnAllSides = (_placementsSortedByLe = placementsSortedByLeastOverflow.find(_ref => {\n let {\n overflows\n } = _ref;\n return overflows.every(overflow => overflow <= 0);\n })) == null ? void 0 : _placementsSortedByLe.placement;\n return {\n data: {\n skip: true\n },\n reset: {\n placement: placementThatFitsOnAllSides != null ? placementThatFitsOnAllSides : placementsSortedByLeastOverflow[0].placement\n }\n };\n }\n\n };\n};\n\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\n\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'flip',\n options,\n\n async fn(middlewareArguments) {\n var _middlewareData$flip, _middlewareData$flip2;\n\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement\n } = middlewareArguments;\n\n if ((_middlewareData$flip = middlewareData.flip) != null && _middlewareData$flip.skip) {\n return {};\n }\n\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n flipAlignment = true,\n ...detectOverflowOptions\n } = options;\n const basePlacement = getBasePlacement(placement);\n const isBasePlacement = basePlacement === initialPlacement;\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.overflows) || [];\n\n if (checkMainAxis) {\n overflows.push(overflow[basePlacement]);\n }\n\n if (checkCrossAxis) {\n const {\n main,\n cross\n } = getAlignmentSides(placement, rects);\n overflows.push(overflow[main], overflow[cross]);\n }\n\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }]; // One or more sides is overflowing\n\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip$, _middlewareData$flip3;\n\n const nextIndex = ((_middlewareData$flip$ = (_middlewareData$flip3 = middlewareData.flip) == null ? void 0 : _middlewareData$flip3.index) != null ? _middlewareData$flip$ : 0) + 1;\n const nextPlacement = placements[nextIndex];\n\n if (nextPlacement) {\n // Try next placement and re-run the lifecycle\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n\n let resetPlacement = 'bottom';\n\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$slice$;\n\n const placement = (_overflowsData$slice$ = overflowsData.slice().sort((a, b) => a.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0) - b.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0))[0]) == null ? void 0 : _overflowsData$slice$.placement;\n\n if (placement) {\n resetPlacement = placement;\n }\n\n break;\n }\n\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n\n return {\n data: {\n skip: true\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n\n return {};\n }\n\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return basePlacements.some(side => overflow[side] >= 0);\n}\n\nconst hide = () => ({\n name: 'hide',\n\n async fn(modifierArguments) {\n const referenceOverflow = await detectOverflow(modifierArguments, {\n elementContext: 'reference'\n });\n const floatingAltOverflow = await detectOverflow(modifierArguments, {\n altBoundary: true\n });\n const referenceHiddenOffsets = getSideOffsets(referenceOverflow, modifierArguments.rects.reference);\n const escapedOffsets = getSideOffsets(floatingAltOverflow, modifierArguments.rects.floating);\n const referenceHidden = isAnySideFullyClipped(referenceHiddenOffsets);\n const escaped = isAnySideFullyClipped(escapedOffsets);\n return {\n data: {\n referenceHidden,\n referenceHiddenOffsets,\n escaped,\n escapedOffsets\n }\n };\n }\n\n});\n\nfunction convertValueToCoords(_ref) {\n let {\n placement,\n rects,\n value\n } = _ref;\n const basePlacement = getBasePlacement(placement);\n const multiplier = ['left', 'top'].includes(basePlacement) ? -1 : 1;\n const rawValue = typeof value === 'function' ? value({ ...rects,\n placement\n }) : value;\n const {\n mainAxis,\n crossAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawValue\n };\n return getMainAxisFromPlacement(basePlacement) === 'x' ? {\n x: crossAxis,\n y: mainAxis * multiplier\n } : {\n x: mainAxis * multiplier,\n y: crossAxis\n };\n}\nconst offset = function (value) {\n if (value === void 0) {\n value = 0;\n }\n\n return {\n name: 'offset',\n options: value,\n\n fn(middlewareArguments) {\n const {\n x,\n y,\n placement,\n rects\n } = middlewareArguments;\n const diffCoords = convertValueToCoords({\n placement,\n rects,\n value\n });\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: diffCoords\n };\n }\n\n };\n};\n\nfunction getCrossAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\n\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'shift',\n options,\n\n async fn(middlewareArguments) {\n const {\n x,\n y,\n placement\n } = middlewareArguments;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = options;\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const mainAxis = getMainAxisFromPlacement(getBasePlacement(placement));\n const crossAxis = getCrossAxis(mainAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = within(min, mainAxisCoord, max);\n }\n\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = within(min, crossAxisCoord, max);\n }\n\n const limitedCoords = limiter.fn({ ...middlewareArguments,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return { ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y\n }\n };\n }\n\n };\n};\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n options,\n\n fn(middlewareArguments) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = middlewareArguments;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = options;\n const coords = {\n x,\n y\n };\n const mainAxis = getMainAxisFromPlacement(placement);\n const crossAxis = getCrossAxis(mainAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = typeof offset === 'function' ? offset({ ...rects,\n placement\n }) : offset;\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2, _middlewareData$offse3, _middlewareData$offse4;\n\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = ['top', 'left'].includes(getBasePlacement(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? (_middlewareData$offse = (_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) != null ? _middlewareData$offse : 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : (_middlewareData$offse3 = (_middlewareData$offse4 = middlewareData.offset) == null ? void 0 : _middlewareData$offse4[crossAxis]) != null ? _middlewareData$offse3 : 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n\n };\n};\n\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'size',\n options,\n\n async fn(middlewareArguments) {\n var _middlewareData$size;\n\n const {\n placement,\n rects,\n middlewareData\n } = middlewareArguments;\n const {\n apply,\n ...detectOverflowOptions\n } = options;\n\n if ((_middlewareData$size = middlewareData.size) != null && _middlewareData$size.skip) {\n return {};\n }\n\n const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);\n const basePlacement = getBasePlacement(placement);\n const isEnd = getAlignment(placement) === 'end';\n let heightSide;\n let widthSide;\n\n if (basePlacement === 'top' || basePlacement === 'bottom') {\n heightSide = basePlacement;\n widthSide = isEnd ? 'left' : 'right';\n } else {\n widthSide = basePlacement;\n heightSide = isEnd ? 'top' : 'bottom';\n }\n\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n const dimensions = {\n height: rects.floating.height - (['left', 'right'].includes(placement) ? 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom)) : overflow[heightSide]),\n width: rects.floating.width - (['top', 'bottom'].includes(placement) ? 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right)) : overflow[widthSide])\n };\n apply == null ? void 0 : apply({ ...dimensions,\n ...rects\n });\n return {\n data: {\n skip: true\n },\n reset: {\n rects: true\n }\n };\n }\n\n };\n};\n\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'inline',\n options,\n\n async fn(middlewareArguments) {\n var _middlewareData$inlin, _await$platform$getCl;\n\n const {\n placement,\n elements,\n rects,\n platform,\n strategy,\n middlewareData\n } = middlewareArguments; // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n\n const {\n padding = 2,\n x,\n y\n } = options;\n\n if ((_middlewareData$inlin = middlewareData.inline) != null && _middlewareData$inlin.skip) {\n return {};\n }\n\n const fallback = rectToClientRect(await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n rect: rects.reference,\n offsetParent: await platform.getOffsetParent({\n element: elements.floating\n }),\n strategy\n }));\n const clientRects = Array.from((_await$platform$getCl = await (platform.getClientRects == null ? void 0 : platform.getClientRects({\n element: elements.reference\n }))) != null ? _await$platform$getCl : []);\n const paddingObject = getSideObjectFromPadding(padding);\n\n function getBoundingClientRect() {\n // There are two rects and they are disjoined\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n var _clientRects$find;\n\n // Find the first rect in which the point is fully inside\n return (_clientRects$find = clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom)) != null ? _clientRects$find : fallback;\n } // There are 2 or more connected rects\n\n\n if (clientRects.length >= 2) {\n if (getMainAxisFromPlacement(placement) === 'x') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getBasePlacement(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n\n const isLeftPlacement = getBasePlacement(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftPlacement ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n\n return fallback;\n }\n\n return {\n data: {\n skip: true\n },\n reset: {\n rects: await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n })\n }\n };\n }\n\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, rectToClientRect, shift, size };\n","import { rectToClientRect, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { arrow, autoPlacement, detectOverflow, flip, hide, inline, limitShift, offset, shift, size } from '@floating-ui/core';\n\nfunction isWindow(value) {\n return (value == null ? void 0 : value.toString()) === '[object Window]';\n}\nfunction getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (!isWindow(node)) {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n\nfunction getComputedStyle$1(element) {\n return getWindow(element).getComputedStyle(element);\n}\n\nfunction getNodeName(node) {\n return isWindow(node) ? '' : node ? (node.nodeName || '').toLowerCase() : '';\n}\n\nfunction isHTMLElement(value) {\n return value instanceof getWindow(value).HTMLElement;\n}\nfunction isElement(value) {\n return value instanceof getWindow(value).Element;\n}\nfunction isNode(value) {\n return value instanceof getWindow(value).Node;\n}\nfunction isShadowRoot(node) {\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\nfunction isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n const {\n overflow,\n overflowX,\n overflowY\n } = getComputedStyle$1(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isContainingBlock(element) {\n // TODO: Try and use feature detection here instead\n const isFirefox = navigator.userAgent.toLowerCase().includes('firefox');\n const css = getComputedStyle$1(element); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n return css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].includes(css.willChange) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false);\n}\n\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\n\nfunction getBoundingClientRect(element, includeScale) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n const clientRect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n return {\n width: clientRect.width / scaleX,\n height: clientRect.height / scaleY,\n top: clientRect.top / scaleY,\n right: clientRect.right / scaleX,\n bottom: clientRect.bottom / scaleY,\n left: clientRect.left / scaleX,\n x: clientRect.left / scaleX,\n y: clientRect.top / scaleY\n };\n}\n\nfunction getDocumentElement(node) {\n return ((isNode(node) ? node.ownerDocument : node.document) || window.document).documentElement;\n}\n\nfunction getNodeScroll(element) {\n if (isWindow(element)) {\n return {\n scrollLeft: element.pageXOffset,\n scrollTop: element.pageYOffset\n };\n }\n\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}\n\nfunction getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\nfunction isScaled(element) {\n const rect = getBoundingClientRect(element);\n return round(rect.width) !== element.offsetWidth || round(rect.height) !== element.offsetHeight;\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(element, isOffsetParentAnElement && isScaled(offsetParent));\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent, true);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // @ts-ignore\n node.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n node.parentNode || ( // DOM Element detected\n isShadowRoot(node) ? node.host : null) || // ShadowRoot detected\n getDocumentElement(node) // fallback\n\n );\n}\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n}\n\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n\n while (isHTMLElement(currentNode) && !['html', 'body'].includes(getNodeName(currentNode))) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nfunction getOffsetParent(element) {\n const window = getWindow(element);\n let offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n\nfunction getDimensions(element) {\n return {\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n\n if (offsetParent === documentElement) {\n return rect;\n }\n\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent, true);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } // This doesn't appear to be need to be negated.\n // else if (documentElement) {\n // offsets.x = getWindowScrollBarX(documentElement);\n // }\n\n }\n\n return { ...rect,\n x: rect.x - scroll.scrollLeft + offsets.x,\n y: rect.y - scroll.scrollTop + offsets.y\n };\n}\n\nfunction getViewportRect(element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number <= 0, usually < -1 when pinch-zoomed\n\n if (Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) < 0.01) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// of the `` and `` rect bounds if horizontally scrollable\n\nfunction getDocumentRect(element) {\n var _element$ownerDocumen;\n\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n const width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n\n if (getComputedStyle$1(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getScrollParent(node) {\n if (['html', 'body', '#document'].includes(getNodeName(node))) {\n // @ts-ignore assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n\nfunction getScrollParents(node, list) {\n var _node$ownerDocument;\n\n if (list === void 0) {\n list = [];\n }\n\n const scrollParent = getScrollParent(node);\n const isBody = scrollParent === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);\n const win = getWindow(scrollParent);\n const target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n const updatedList = list.concat(target);\n return isBody ? updatedList : // @ts-ignore: isBody tells us target will be an HTMLElement here\n updatedList.concat(getScrollParents(getParentNode(target)));\n}\n\nfunction contains(parent, child) {\n const rootNode = child.getRootNode == null ? void 0 : child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n\n do {\n // use `===` replace node.isSameNode()\n if (next && parent === next) {\n return true;\n } // @ts-ignore: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n }\n\n return false;\n}\n\nfunction getInnerBoundingClientRect(element) {\n const clientRect = getBoundingClientRect(element);\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n return {\n top,\n left,\n x: left,\n y: top,\n right: left + element.clientWidth,\n bottom: top + element.clientHeight,\n width: element.clientWidth,\n height: element.clientHeight\n };\n}\n\nfunction getClientRectFromClippingParent(element, clippingParent) {\n if (clippingParent === 'viewport') {\n return rectToClientRect(getViewportRect(element));\n }\n\n if (isElement(clippingParent)) {\n return getInnerBoundingClientRect(clippingParent);\n }\n\n return rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n const clippingParents = getScrollParents(getParentNode(element));\n const canEscapeClipping = ['absolute', 'fixed'].includes(getComputedStyle$1(element).position);\n const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // @ts-ignore isElement check ensures we return Array\n\n\n return clippingParents.filter(clippingParent => isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body');\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nfunction getClippingClientRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary\n } = _ref;\n const mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n const clippingRect = clippingParents.reduce((accRect, clippingParent) => {\n const rect = getClientRectFromClippingParent(element, clippingParent);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingParent(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}\n\nconst platform = {\n getElementRects: _ref => {\n let {\n reference,\n floating,\n strategy\n } = _ref;\n return {\n reference: getRectRelativeToOffsetParent(reference, getOffsetParent(floating), strategy),\n floating: { ...getDimensions(floating),\n x: 0,\n y: 0\n }\n };\n },\n convertOffsetParentRelativeRectToViewportRelativeRect: args => convertOffsetParentRelativeRectToViewportRelativeRect(args),\n getOffsetParent: _ref2 => {\n let {\n element\n } = _ref2;\n return getOffsetParent(element);\n },\n isElement: value => isElement(value),\n getDocumentElement: _ref3 => {\n let {\n element\n } = _ref3;\n return getDocumentElement(element);\n },\n getClippingClientRect: args => getClippingClientRect(args),\n getDimensions: _ref4 => {\n let {\n element\n } = _ref4;\n return getDimensions(element);\n },\n getClientRects: _ref5 => {\n let {\n element\n } = _ref5;\n return element.getClientRects();\n }\n};\n\nconst computePosition = (reference, floating, options) => computePosition$1(reference, floating, {\n platform,\n ...options\n});\n\nexport { computePosition, getScrollParents };\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nimport { offset, autoPlacement, shift, flip, arrow, size, computePosition, getScrollParents } from \"@floating-ui/dom\";\nimport Vue from \"vue\";\nfunction assign(to, from) {\n for (const key in from) {\n if (Object.prototype.hasOwnProperty.call(from, key)) {\n if (typeof from[key] === \"object\" && to[key]) {\n assign(to[key], from[key]);\n } else {\n to[key] = from[key];\n }\n }\n }\n}\nconst config = {\n disabled: false,\n distance: 5,\n skidding: 0,\n container: \"body\",\n boundary: void 0,\n instantMove: false,\n disposeTimeout: 5e3,\n popperTriggers: [],\n strategy: \"absolute\",\n preventOverflow: true,\n flip: true,\n shift: true,\n overflowPadding: 0,\n arrowPadding: 0,\n arrowOverflow: true,\n themes: {\n tooltip: {\n placement: \"top\",\n triggers: [\"hover\", \"focus\", \"touch\"],\n hideTriggers: (events) => [...events, \"click\"],\n delay: {\n show: 200,\n hide: 0\n },\n handleResize: false,\n html: false,\n loadingContent: \"...\"\n },\n dropdown: {\n placement: \"bottom\",\n triggers: [\"click\"],\n delay: 0,\n handleResize: true,\n autoHide: true\n },\n menu: {\n $extend: \"dropdown\",\n triggers: [\"hover\", \"focus\"],\n popperTriggers: [\"hover\", \"focus\"],\n delay: {\n show: 0,\n hide: 400\n }\n }\n }\n};\nfunction getDefaultConfig(theme, key) {\n let themeConfig = config.themes[theme] || {};\n let value;\n do {\n value = themeConfig[key];\n if (typeof value === \"undefined\") {\n if (themeConfig.$extend) {\n themeConfig = config.themes[themeConfig.$extend] || {};\n } else {\n themeConfig = null;\n value = config[key];\n }\n } else {\n themeConfig = null;\n }\n } while (themeConfig);\n return value;\n}\nfunction getThemeClasses(theme) {\n const result = [theme];\n let themeConfig = config.themes[theme] || {};\n do {\n if (themeConfig.$extend && !themeConfig.$resetCss) {\n result.push(themeConfig.$extend);\n themeConfig = config.themes[themeConfig.$extend] || {};\n } else {\n themeConfig = null;\n }\n } while (themeConfig);\n return result.map((c) => `v-popper--theme-${c}`);\n}\nfunction getAllParentThemes(theme) {\n const result = [theme];\n let themeConfig = config.themes[theme] || {};\n do {\n if (themeConfig.$extend) {\n result.push(themeConfig.$extend);\n themeConfig = config.themes[themeConfig.$extend] || {};\n } else {\n themeConfig = null;\n }\n } while (themeConfig);\n return result;\n}\nvar vueResize = \"\";\nlet supportsPassive = false;\nif (typeof window !== \"undefined\") {\n supportsPassive = false;\n try {\n const opts = Object.defineProperty({}, \"passive\", {\n get() {\n supportsPassive = true;\n }\n });\n window.addEventListener(\"test\", null, opts);\n } catch (e) {\n }\n}\nlet isIOS = false;\nif (typeof window !== \"undefined\" && typeof navigator !== \"undefined\") {\n isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\n}\nconst placements = [\"auto\", \"top\", \"bottom\", \"left\", \"right\"].reduce((acc, base) => acc.concat([\n base,\n `${base}-start`,\n `${base}-end`\n]), []);\nconst SHOW_EVENT_MAP = {\n hover: \"mouseenter\",\n focus: \"focus\",\n click: \"click\",\n touch: \"touchstart\"\n};\nconst HIDE_EVENT_MAP = {\n hover: \"mouseleave\",\n focus: \"blur\",\n click: \"click\",\n touch: \"touchend\"\n};\nfunction removeFromArray(array, item) {\n const index = array.indexOf(item);\n if (index !== -1) {\n array.splice(index, 1);\n }\n}\nfunction nextFrame() {\n return new Promise((resolve) => requestAnimationFrame(() => {\n requestAnimationFrame(resolve);\n }));\n}\nconst shownPoppers = [];\nlet hidingPopper = null;\nconst shownPoppersByTheme = {};\nfunction getShownPoppersByTheme(theme) {\n let list = shownPoppersByTheme[theme];\n if (!list) {\n list = shownPoppersByTheme[theme] = [];\n }\n return list;\n}\nlet Element = function() {\n};\nif (typeof window !== \"undefined\") {\n Element = window.Element;\n}\nfunction defaultPropFactory(prop) {\n return function() {\n const props = this.$props;\n return getDefaultConfig(props.theme, prop);\n };\n}\nconst PROVIDE_KEY = \"__floating-vue__popper\";\nvar PrivatePopper = () => ({\n name: \"VPopper\",\n props: {\n theme: {\n type: String,\n required: true\n },\n targetNodes: {\n type: Function,\n required: true\n },\n referenceNode: {\n type: Function,\n required: true\n },\n popperNode: {\n type: Function,\n required: true\n },\n shown: {\n type: Boolean,\n default: false\n },\n showGroup: {\n type: String,\n default: null\n },\n ariaId: {\n default: null\n },\n disabled: {\n type: Boolean,\n default: defaultPropFactory(\"disabled\")\n },\n positioningDisabled: {\n type: Boolean,\n default: defaultPropFactory(\"positioningDisabled\")\n },\n placement: {\n type: String,\n default: defaultPropFactory(\"placement\"),\n validator: (value) => placements.includes(value)\n },\n delay: {\n type: [String, Number, Object],\n default: defaultPropFactory(\"delay\")\n },\n distance: {\n type: [Number, String],\n default: defaultPropFactory(\"distance\")\n },\n skidding: {\n type: [Number, String],\n default: defaultPropFactory(\"skidding\")\n },\n triggers: {\n type: Array,\n default: defaultPropFactory(\"triggers\")\n },\n showTriggers: {\n type: [Array, Function],\n default: defaultPropFactory(\"showTriggers\")\n },\n hideTriggers: {\n type: [Array, Function],\n default: defaultPropFactory(\"hideTriggers\")\n },\n popperTriggers: {\n type: Array,\n default: defaultPropFactory(\"popperTriggers\")\n },\n popperShowTriggers: {\n type: [Array, Function],\n default: defaultPropFactory(\"popperShowTriggers\")\n },\n popperHideTriggers: {\n type: [Array, Function],\n default: defaultPropFactory(\"popperHideTriggers\")\n },\n container: {\n type: [String, Object, Element, Boolean],\n default: defaultPropFactory(\"container\")\n },\n boundary: {\n type: [String, Element],\n default: defaultPropFactory(\"boundary\")\n },\n strategy: {\n type: String,\n validator: (value) => [\"absolute\", \"fixed\"].includes(value),\n default: defaultPropFactory(\"strategy\")\n },\n autoHide: {\n type: [Boolean, Function],\n default: defaultPropFactory(\"autoHide\")\n },\n handleResize: {\n type: Boolean,\n default: defaultPropFactory(\"handleResize\")\n },\n instantMove: {\n type: Boolean,\n default: defaultPropFactory(\"instantMove\")\n },\n eagerMount: {\n type: Boolean,\n default: defaultPropFactory(\"eagerMount\")\n },\n popperClass: {\n type: [String, Array, Object],\n default: defaultPropFactory(\"popperClass\")\n },\n computeTransformOrigin: {\n type: Boolean,\n default: defaultPropFactory(\"computeTransformOrigin\")\n },\n autoMinSize: {\n type: Boolean,\n default: defaultPropFactory(\"autoMinSize\")\n },\n autoSize: {\n type: [Boolean, String],\n default: defaultPropFactory(\"autoSize\")\n },\n autoMaxSize: {\n type: Boolean,\n default: defaultPropFactory(\"autoMaxSize\")\n },\n autoBoundaryMaxSize: {\n type: Boolean,\n default: defaultPropFactory(\"autoBoundaryMaxSize\")\n },\n preventOverflow: {\n type: Boolean,\n default: defaultPropFactory(\"preventOverflow\")\n },\n overflowPadding: {\n type: [Number, String],\n default: defaultPropFactory(\"overflowPadding\")\n },\n arrowPadding: {\n type: [Number, String],\n default: defaultPropFactory(\"arrowPadding\")\n },\n arrowOverflow: {\n type: Boolean,\n default: defaultPropFactory(\"arrowOverflow\")\n },\n flip: {\n type: Boolean,\n default: defaultPropFactory(\"flip\")\n },\n shift: {\n type: Boolean,\n default: defaultPropFactory(\"shift\")\n },\n shiftCrossAxis: {\n type: Boolean,\n default: defaultPropFactory(\"shiftCrossAxis\")\n },\n noAutoFocus: {\n type: Boolean,\n default: defaultPropFactory(\"noAutoFocus\")\n }\n },\n provide() {\n return {\n [PROVIDE_KEY]: {\n parentPopper: this\n }\n };\n },\n inject: {\n [PROVIDE_KEY]: { default: null }\n },\n data() {\n return {\n isShown: false,\n isMounted: false,\n skipTransition: false,\n classes: {\n showFrom: false,\n showTo: false,\n hideFrom: false,\n hideTo: true\n },\n result: {\n x: 0,\n y: 0,\n placement: \"\",\n strategy: this.strategy,\n arrow: {\n x: 0,\n y: 0,\n centerOffset: 0\n },\n transformOrigin: null\n },\n shownChildren: /* @__PURE__ */ new Set(),\n lastAutoHide: true\n };\n },\n computed: {\n popperId() {\n return this.ariaId != null ? this.ariaId : this.randomId;\n },\n shouldMountContent() {\n return this.eagerMount || this.isMounted;\n },\n slotData() {\n return {\n popperId: this.popperId,\n isShown: this.isShown,\n shouldMountContent: this.shouldMountContent,\n skipTransition: this.skipTransition,\n autoHide: typeof this.autoHide === \"function\" ? this.lastAutoHide : this.autoHide,\n show: this.show,\n hide: this.hide,\n handleResize: this.handleResize,\n onResize: this.onResize,\n classes: __spreadProps(__spreadValues({}, this.classes), {\n popperClass: this.popperClass\n }),\n result: this.positioningDisabled ? null : this.result\n };\n },\n parentPopper() {\n var _a;\n return (_a = this[PROVIDE_KEY]) == null ? void 0 : _a.parentPopper;\n },\n hasPopperShowTriggerHover() {\n var _a, _b;\n return ((_a = this.popperTriggers) == null ? void 0 : _a.includes(\"hover\")) || ((_b = this.popperShowTriggers) == null ? void 0 : _b.includes(\"hover\"));\n }\n },\n watch: __spreadValues(__spreadValues({\n shown: \"$_autoShowHide\",\n disabled(value) {\n if (value) {\n this.dispose();\n } else {\n this.init();\n }\n },\n async container() {\n if (this.isShown) {\n this.$_ensureTeleport();\n await this.$_computePosition();\n }\n }\n }, [\n \"triggers\",\n \"positioningDisabled\"\n ].reduce((acc, prop) => {\n acc[prop] = \"$_refreshListeners\";\n return acc;\n }, {})), [\n \"placement\",\n \"distance\",\n \"skidding\",\n \"boundary\",\n \"strategy\",\n \"overflowPadding\",\n \"arrowPadding\",\n \"preventOverflow\",\n \"shift\",\n \"shiftCrossAxis\",\n \"flip\"\n ].reduce((acc, prop) => {\n acc[prop] = \"$_computePosition\";\n return acc;\n }, {})),\n created() {\n this.$_isDisposed = true;\n this.randomId = `popper_${[Math.random(), Date.now()].map((n) => n.toString(36).substring(2, 10)).join(\"_\")}`;\n if (this.autoMinSize) {\n console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize=\"min\"` instead.');\n }\n if (this.autoMaxSize) {\n console.warn(\"[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.\");\n }\n },\n mounted() {\n this.init();\n this.$_detachPopperNode();\n },\n activated() {\n this.$_autoShowHide();\n },\n deactivated() {\n this.hide();\n },\n beforeDestroy() {\n this.dispose();\n },\n methods: {\n show({ event = null, skipDelay = false, force = false } = {}) {\n var _a, _b;\n if (((_a = this.parentPopper) == null ? void 0 : _a.lockedChild) && this.parentPopper.lockedChild !== this)\n return;\n this.$_pendingHide = false;\n if (force || !this.disabled) {\n if (((_b = this.parentPopper) == null ? void 0 : _b.lockedChild) === this) {\n this.parentPopper.lockedChild = null;\n }\n this.$_scheduleShow(event, skipDelay);\n this.$emit(\"show\");\n this.$_showFrameLocked = true;\n requestAnimationFrame(() => {\n this.$_showFrameLocked = false;\n });\n }\n this.$emit(\"update:shown\", true);\n },\n hide({ event = null, skipDelay = false, skipAiming = false } = {}) {\n var _a;\n if (this.$_hideInProgress)\n return;\n if (this.shownChildren.size > 0) {\n this.$_pendingHide = true;\n return;\n }\n if (!skipAiming && this.hasPopperShowTriggerHover && this.$_isAimingPopper()) {\n if (this.parentPopper) {\n this.parentPopper.lockedChild = this;\n clearTimeout(this.parentPopper.lockedChildTimer);\n this.parentPopper.lockedChildTimer = setTimeout(() => {\n if (this.parentPopper.lockedChild === this) {\n this.parentPopper.lockedChild.hide({ skipDelay });\n this.parentPopper.lockedChild = null;\n }\n }, 1e3);\n }\n return;\n }\n if (((_a = this.parentPopper) == null ? void 0 : _a.lockedChild) === this) {\n this.parentPopper.lockedChild = null;\n }\n this.$_pendingHide = false;\n this.$_scheduleHide(event, skipDelay);\n this.$emit(\"hide\");\n this.$emit(\"update:shown\", false);\n },\n init() {\n if (!this.$_isDisposed)\n return;\n this.$_isDisposed = false;\n this.isMounted = false;\n this.$_events = [];\n this.$_preventShow = false;\n this.$_referenceNode = this.referenceNode();\n this.$_targetNodes = this.targetNodes().filter((e) => e.nodeType === e.ELEMENT_NODE);\n this.$_popperNode = this.popperNode();\n this.$_innerNode = this.$_popperNode.querySelector(\".v-popper__inner\");\n this.$_arrowNode = this.$_popperNode.querySelector(\".v-popper__arrow-container\");\n this.$_swapTargetAttrs(\"title\", \"data-original-title\");\n this.$_detachPopperNode();\n if (this.triggers.length) {\n this.$_addEventListeners();\n }\n if (this.shown) {\n this.show();\n }\n },\n dispose() {\n if (this.$_isDisposed)\n return;\n this.$_isDisposed = true;\n this.$_removeEventListeners();\n this.hide({ skipDelay: true });\n this.$_detachPopperNode();\n this.isMounted = false;\n this.isShown = false;\n this.$_updateParentShownChildren(false);\n this.$_swapTargetAttrs(\"data-original-title\", \"title\");\n this.$emit(\"dispose\");\n },\n async onResize() {\n if (this.isShown) {\n await this.$_computePosition();\n this.$emit(\"resize\");\n }\n },\n async $_computePosition() {\n var _a;\n if (this.$_isDisposed || this.positioningDisabled)\n return;\n const options2 = {\n strategy: this.strategy,\n middleware: []\n };\n if (this.distance || this.skidding) {\n options2.middleware.push(offset({\n mainAxis: this.distance,\n crossAxis: this.skidding\n }));\n }\n const isPlacementAuto = this.placement.startsWith(\"auto\");\n if (isPlacementAuto) {\n options2.middleware.push(autoPlacement({\n alignment: (_a = this.placement.split(\"-\")[1]) != null ? _a : \"\"\n }));\n } else {\n options2.placement = this.placement;\n }\n if (this.preventOverflow) {\n if (this.shift) {\n options2.middleware.push(shift({\n padding: this.overflowPadding,\n boundary: this.boundary,\n crossAxis: this.shiftCrossAxis\n }));\n }\n if (!isPlacementAuto && this.flip) {\n options2.middleware.push(flip({\n padding: this.overflowPadding,\n boundary: this.boundary\n }));\n }\n }\n options2.middleware.push(arrow({\n element: this.$_arrowNode,\n padding: this.arrowPadding\n }));\n if (this.arrowOverflow) {\n options2.middleware.push({\n name: \"arrowOverflow\",\n fn: ({ placement, rects, middlewareData }) => {\n let overflow;\n const { centerOffset } = middlewareData.arrow;\n if (placement.startsWith(\"top\") || placement.startsWith(\"bottom\")) {\n overflow = Math.abs(centerOffset) > rects.reference.width / 2;\n } else {\n overflow = Math.abs(centerOffset) > rects.reference.height / 2;\n }\n return {\n data: {\n overflow\n }\n };\n }\n });\n }\n if (this.autoMinSize || this.autoSize) {\n const autoSize = this.autoSize ? this.autoSize : this.autoMinSize ? \"min\" : null;\n options2.middleware.push({\n name: \"autoSize\",\n fn: ({ rects, placement, middlewareData }) => {\n var _a2;\n if ((_a2 = middlewareData.autoSize) == null ? void 0 : _a2.skip) {\n return {};\n }\n let width;\n let height;\n if (placement.startsWith(\"top\") || placement.startsWith(\"bottom\")) {\n width = rects.reference.width;\n } else {\n height = rects.reference.height;\n }\n this.$_innerNode.style[autoSize === \"min\" ? \"minWidth\" : autoSize === \"max\" ? \"maxWidth\" : \"width\"] = width != null ? `${width}px` : null;\n this.$_innerNode.style[autoSize === \"min\" ? \"minHeight\" : autoSize === \"max\" ? \"maxHeight\" : \"height\"] = height != null ? `${height}px` : null;\n return {\n data: {\n skip: true\n },\n reset: {\n rects: true\n }\n };\n }\n });\n }\n if (this.autoMaxSize || this.autoBoundaryMaxSize) {\n this.$_innerNode.style.maxWidth = null;\n this.$_innerNode.style.maxHeight = null;\n options2.middleware.push(size({\n boundary: this.boundary,\n padding: this.overflowPadding,\n apply: ({ width, height }) => {\n this.$_innerNode.style.maxWidth = width != null ? `${width}px` : null;\n this.$_innerNode.style.maxHeight = height != null ? `${height}px` : null;\n }\n }));\n }\n const data = await computePosition(this.$_referenceNode, this.$_popperNode, options2);\n Object.assign(this.result, {\n x: data.x,\n y: data.y,\n placement: data.placement,\n strategy: data.strategy,\n arrow: __spreadValues(__spreadValues({}, data.middlewareData.arrow), data.middlewareData.arrowOverflow)\n });\n },\n $_scheduleShow(event = null, skipDelay = false) {\n this.$_updateParentShownChildren(true);\n this.$_hideInProgress = false;\n clearTimeout(this.$_scheduleTimer);\n if (hidingPopper && this.instantMove && hidingPopper.instantMove && hidingPopper !== this.parentPopper) {\n hidingPopper.$_applyHide(true);\n this.$_applyShow(true);\n return;\n }\n if (skipDelay) {\n this.$_applyShow();\n } else {\n this.$_scheduleTimer = setTimeout(this.$_applyShow.bind(this), this.$_computeDelay(\"show\"));\n }\n },\n $_scheduleHide(event = null, skipDelay = false) {\n if (this.shownChildren.size > 0) {\n this.$_pendingHide = true;\n return;\n }\n this.$_updateParentShownChildren(false);\n this.$_hideInProgress = true;\n clearTimeout(this.$_scheduleTimer);\n if (this.isShown) {\n hidingPopper = this;\n }\n if (skipDelay) {\n this.$_applyHide();\n } else {\n this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay(\"hide\"));\n }\n },\n $_computeDelay(type) {\n const delay = this.delay;\n return parseInt(delay && delay[type] || delay || 0);\n },\n async $_applyShow(skipTransition = false) {\n clearTimeout(this.$_disposeTimer);\n clearTimeout(this.$_scheduleTimer);\n this.skipTransition = skipTransition;\n if (this.isShown) {\n return;\n }\n this.$_ensureTeleport();\n await nextFrame();\n await this.$_computePosition();\n await this.$_applyShowEffect();\n if (!this.positioningDisabled) {\n this.$_registerEventListeners([\n ...getScrollParents(this.$_referenceNode),\n ...getScrollParents(this.$_popperNode)\n ], \"scroll\", () => {\n this.$_computePosition();\n });\n }\n },\n async $_applyShowEffect() {\n if (this.$_hideInProgress)\n return;\n if (this.computeTransformOrigin) {\n const bounds = this.$_referenceNode.getBoundingClientRect();\n const popperWrapper = this.$_popperNode.querySelector(\".v-popper__wrapper\");\n const parentBounds = popperWrapper.parentNode.getBoundingClientRect();\n const x = bounds.x + bounds.width / 2 - (parentBounds.left + popperWrapper.offsetLeft);\n const y = bounds.y + bounds.height / 2 - (parentBounds.top + popperWrapper.offsetTop);\n this.result.transformOrigin = `${x}px ${y}px`;\n }\n this.isShown = true;\n this.$_applyAttrsToTarget({\n \"aria-describedby\": this.popperId,\n \"data-popper-shown\": \"\"\n });\n const showGroup = this.showGroup;\n if (showGroup) {\n let popover;\n for (let i = 0; i < shownPoppers.length; i++) {\n popover = shownPoppers[i];\n if (popover.showGroup !== showGroup) {\n popover.hide();\n popover.$emit(\"close-group\");\n }\n }\n }\n shownPoppers.push(this);\n document.body.classList.add(\"v-popper--some-open\");\n for (const theme of getAllParentThemes(this.theme)) {\n getShownPoppersByTheme(theme).push(this);\n document.body.classList.add(`v-popper--some-open--${theme}`);\n }\n this.$emit(\"apply-show\");\n this.classes.showFrom = true;\n this.classes.showTo = false;\n this.classes.hideFrom = false;\n this.classes.hideTo = false;\n await nextFrame();\n this.classes.showFrom = false;\n this.classes.showTo = true;\n if (!this.noAutoFocus)\n this.$_popperNode.focus();\n },\n async $_applyHide(skipTransition = false) {\n if (this.shownChildren.size > 0) {\n this.$_pendingHide = true;\n this.$_hideInProgress = false;\n return;\n }\n clearTimeout(this.$_scheduleTimer);\n if (!this.isShown) {\n return;\n }\n this.skipTransition = skipTransition;\n removeFromArray(shownPoppers, this);\n if (shownPoppers.length === 0) {\n document.body.classList.remove(\"v-popper--some-open\");\n }\n for (const theme of getAllParentThemes(this.theme)) {\n const list = getShownPoppersByTheme(theme);\n removeFromArray(list, this);\n if (list.length === 0) {\n document.body.classList.remove(`v-popper--some-open--${theme}`);\n }\n }\n if (hidingPopper === this) {\n hidingPopper = null;\n }\n this.isShown = false;\n this.$_applyAttrsToTarget({\n \"aria-describedby\": void 0,\n \"data-popper-shown\": void 0\n });\n clearTimeout(this.$_disposeTimer);\n const disposeTime = getDefaultConfig(this.theme, \"disposeTimeout\");\n if (disposeTime !== null) {\n this.$_disposeTimer = setTimeout(() => {\n if (this.$_popperNode) {\n this.$_detachPopperNode();\n this.isMounted = false;\n }\n }, disposeTime);\n }\n this.$_removeEventListeners(\"scroll\");\n this.$emit(\"apply-hide\");\n this.classes.showFrom = false;\n this.classes.showTo = false;\n this.classes.hideFrom = true;\n this.classes.hideTo = false;\n await nextFrame();\n this.classes.hideFrom = false;\n this.classes.hideTo = true;\n },\n $_autoShowHide() {\n if (this.shown) {\n this.show();\n } else {\n this.hide();\n }\n },\n $_ensureTeleport() {\n if (this.$_isDisposed)\n return;\n let container = this.container;\n if (typeof container === \"string\") {\n container = window.document.querySelector(container);\n } else if (container === false) {\n container = this.$_targetNodes[0].parentNode;\n }\n if (!container) {\n throw new Error(\"No container for popover: \" + this.container);\n }\n container.appendChild(this.$_popperNode);\n this.isMounted = true;\n },\n $_addEventListeners() {\n const handleShow = (event) => {\n if (this.isShown && !this.$_hideInProgress) {\n return;\n }\n event.usedByTooltip = true;\n !this.$_preventShow && this.show({ event });\n };\n this.$_registerTriggerListeners(this.$_targetNodes, SHOW_EVENT_MAP, this.triggers, this.showTriggers, handleShow);\n this.$_registerTriggerListeners([this.$_popperNode], SHOW_EVENT_MAP, this.popperTriggers, this.popperShowTriggers, handleShow);\n const handleHide = (skipAiming) => (event) => {\n if (event.usedByTooltip) {\n return;\n }\n this.hide({ event, skipAiming });\n };\n this.$_registerTriggerListeners(this.$_targetNodes, HIDE_EVENT_MAP, this.triggers, this.hideTriggers, handleHide(false));\n this.$_registerTriggerListeners([this.$_popperNode], HIDE_EVENT_MAP, this.popperTriggers, this.popperHideTriggers, handleHide(true));\n },\n $_registerEventListeners(targetNodes, eventType, handler) {\n this.$_events.push({ targetNodes, eventType, handler });\n targetNodes.forEach((node) => node.addEventListener(eventType, handler, supportsPassive ? {\n passive: true\n } : void 0));\n },\n $_registerTriggerListeners(targetNodes, eventMap, commonTriggers, customTrigger, handler) {\n let triggers = commonTriggers;\n if (customTrigger != null) {\n triggers = typeof customTrigger === \"function\" ? customTrigger(triggers) : customTrigger;\n }\n triggers.forEach((trigger) => {\n const eventType = eventMap[trigger];\n if (eventType) {\n this.$_registerEventListeners(targetNodes, eventType, handler);\n }\n });\n },\n $_removeEventListeners(filterEventType) {\n const newList = [];\n this.$_events.forEach((listener) => {\n const { targetNodes, eventType, handler } = listener;\n if (!filterEventType || filterEventType === eventType) {\n targetNodes.forEach((node) => node.removeEventListener(eventType, handler));\n } else {\n newList.push(listener);\n }\n });\n this.$_events = newList;\n },\n $_refreshListeners() {\n if (!this.$_isDisposed) {\n this.$_removeEventListeners();\n this.$_addEventListeners();\n }\n },\n $_handleGlobalClose(event, touch = false) {\n if (this.$_showFrameLocked)\n return;\n this.hide({ event });\n if (event.closePopover) {\n this.$emit(\"close-directive\");\n } else {\n this.$emit(\"auto-hide\");\n }\n if (touch) {\n this.$_preventShow = true;\n setTimeout(() => {\n this.$_preventShow = false;\n }, 300);\n }\n },\n $_detachPopperNode() {\n this.$_popperNode.parentNode && this.$_popperNode.parentNode.removeChild(this.$_popperNode);\n },\n $_swapTargetAttrs(attrFrom, attrTo) {\n for (const el of this.$_targetNodes) {\n const value = el.getAttribute(attrFrom);\n if (value) {\n el.removeAttribute(attrFrom);\n el.setAttribute(attrTo, value);\n }\n }\n },\n $_applyAttrsToTarget(attrs) {\n for (const el of this.$_targetNodes) {\n for (const n in attrs) {\n const value = attrs[n];\n if (value == null) {\n el.removeAttribute(n);\n } else {\n el.setAttribute(n, value);\n }\n }\n }\n },\n $_updateParentShownChildren(value) {\n let parent = this.parentPopper;\n while (parent) {\n if (value) {\n parent.shownChildren.add(this.randomId);\n } else {\n parent.shownChildren.delete(this.randomId);\n if (parent.$_pendingHide) {\n parent.hide();\n }\n }\n parent = parent.parentPopper;\n }\n },\n $_isAimingPopper() {\n const referenceBounds = this.$el.getBoundingClientRect();\n if (mouseX >= referenceBounds.left && mouseX <= referenceBounds.right && mouseY >= referenceBounds.top && mouseY <= referenceBounds.bottom) {\n const popperBounds = this.$_popperNode.getBoundingClientRect();\n const vectorX = mouseX - mousePreviousX;\n const vectorY = mouseY - mousePreviousY;\n const distance = popperBounds.left + popperBounds.width / 2 - mousePreviousX + (popperBounds.top + popperBounds.height / 2) - mousePreviousY;\n const newVectorLength = distance + popperBounds.width + popperBounds.height;\n const edgeX = mousePreviousX + vectorX * newVectorLength;\n const edgeY = mousePreviousY + vectorY * newVectorLength;\n return lineIntersectsLine(mousePreviousX, mousePreviousY, edgeX, edgeY, popperBounds.left, popperBounds.top, popperBounds.left, popperBounds.bottom) || lineIntersectsLine(mousePreviousX, mousePreviousY, edgeX, edgeY, popperBounds.left, popperBounds.top, popperBounds.right, popperBounds.top) || lineIntersectsLine(mousePreviousX, mousePreviousY, edgeX, edgeY, popperBounds.right, popperBounds.top, popperBounds.right, popperBounds.bottom) || lineIntersectsLine(mousePreviousX, mousePreviousY, edgeX, edgeY, popperBounds.left, popperBounds.bottom, popperBounds.right, popperBounds.bottom);\n }\n return false;\n }\n },\n render() {\n return this.$scopedSlots.default(this.slotData)[0];\n }\n});\nif (typeof document !== \"undefined\" && typeof window !== \"undefined\") {\n if (isIOS) {\n document.addEventListener(\"touchstart\", handleGlobalMousedown, supportsPassive ? {\n passive: true,\n capture: true\n } : true);\n document.addEventListener(\"touchend\", handleGlobalTouchend, supportsPassive ? {\n passive: true,\n capture: true\n } : true);\n } else {\n window.addEventListener(\"mousedown\", handleGlobalMousedown, true);\n window.addEventListener(\"click\", handleGlobalClick, true);\n }\n window.addEventListener(\"resize\", computePositionAllShownPoppers);\n}\nfunction handleGlobalMousedown(event) {\n for (let i = 0; i < shownPoppers.length; i++) {\n const popper = shownPoppers[i];\n try {\n const popperContent = popper.popperNode();\n popper.$_mouseDownContains = popperContent.contains(event.target);\n } catch (e) {\n }\n }\n}\nfunction handleGlobalClick(event) {\n handleGlobalClose(event);\n}\nfunction handleGlobalTouchend(event) {\n handleGlobalClose(event, true);\n}\nfunction handleGlobalClose(event, touch = false) {\n const preventClose = {};\n for (let i = shownPoppers.length - 1; i >= 0; i--) {\n const popper = shownPoppers[i];\n try {\n const contains = popper.$_containsGlobalTarget = isContainingEventTarget(popper, event);\n popper.$_pendingHide = false;\n requestAnimationFrame(() => {\n popper.$_pendingHide = false;\n if (preventClose[popper.randomId])\n return;\n if (shouldAutoHide(popper, contains, event)) {\n popper.$_handleGlobalClose(event, touch);\n if (!event.closeAllPopover && event.closePopover && contains) {\n let parent2 = popper.parentPopper;\n while (parent2) {\n preventClose[parent2.randomId] = true;\n parent2 = parent2.parentPopper;\n }\n return;\n }\n let parent = popper.parentPopper;\n while (parent) {\n if (shouldAutoHide(parent, parent.$_containsGlobalTarget, event)) {\n parent.$_handleGlobalClose(event, touch);\n } else {\n break;\n }\n parent = parent.parentPopper;\n }\n }\n });\n } catch (e) {\n }\n }\n}\nfunction isContainingEventTarget(popper, event) {\n const popperContent = popper.popperNode();\n return popper.$_mouseDownContains || popperContent.contains(event.target);\n}\nfunction shouldAutoHide(popper, contains, event) {\n return event.closeAllPopover || event.closePopover && contains || getAutoHideResult(popper, event) && !contains;\n}\nfunction getAutoHideResult(popper, event) {\n if (typeof popper.autoHide === \"function\") {\n const result = popper.autoHide(event);\n popper.lastAutoHide = result;\n return result;\n }\n return popper.autoHide;\n}\nfunction computePositionAllShownPoppers(event) {\n for (let i = 0; i < shownPoppers.length; i++) {\n const popper = shownPoppers[i];\n popper.$_computePosition(event);\n }\n}\nfunction hideAllPoppers() {\n for (let i = 0; i < shownPoppers.length; i++) {\n const popper = shownPoppers[i];\n popper.hide();\n }\n}\nlet mousePreviousX = 0;\nlet mousePreviousY = 0;\nlet mouseX = 0;\nlet mouseY = 0;\nif (typeof window !== \"undefined\") {\n window.addEventListener(\"mousemove\", (event) => {\n mousePreviousX = mouseX;\n mousePreviousY = mouseY;\n mouseX = event.clientX;\n mouseY = event.clientY;\n }, supportsPassive ? {\n passive: true\n } : void 0);\n}\nfunction lineIntersectsLine(x1, y1, x2, y2, x3, y3, x4, y4) {\n const uA = ((x4 - x3) * (y1 - y3) - (y4 - y3) * (x1 - x3)) / ((y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1));\n const uB = ((x2 - x1) * (y1 - y3) - (y2 - y1) * (x1 - x3)) / ((y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1));\n return uA >= 0 && uA <= 1 && uB >= 0 && uB <= 1;\n}\nfunction getInternetExplorerVersion() {\n var ua = window.navigator.userAgent;\n var msie = ua.indexOf(\"MSIE \");\n if (msie > 0) {\n return parseInt(ua.substring(msie + 5, ua.indexOf(\".\", msie)), 10);\n }\n var trident = ua.indexOf(\"Trident/\");\n if (trident > 0) {\n var rv = ua.indexOf(\"rv:\");\n return parseInt(ua.substring(rv + 3, ua.indexOf(\".\", rv)), 10);\n }\n var edge = ua.indexOf(\"Edge/\");\n if (edge > 0) {\n return parseInt(ua.substring(edge + 5, ua.indexOf(\".\", edge)), 10);\n }\n return -1;\n}\nvar isIE;\nfunction initCompat() {\n if (!initCompat.init) {\n initCompat.init = true;\n isIE = getInternetExplorerVersion() !== -1;\n }\n}\nvar script = {\n name: \"ResizeObserver\",\n props: {\n emitOnMount: {\n type: Boolean,\n default: false\n },\n ignoreWidth: {\n type: Boolean,\n default: false\n },\n ignoreHeight: {\n type: Boolean,\n default: false\n }\n },\n mounted: function mounted() {\n var _this = this;\n initCompat();\n this.$nextTick(function() {\n _this._w = _this.$el.offsetWidth;\n _this._h = _this.$el.offsetHeight;\n if (_this.emitOnMount) {\n _this.emitSize();\n }\n });\n var object = document.createElement(\"object\");\n this._resizeObject = object;\n object.setAttribute(\"aria-hidden\", \"true\");\n object.setAttribute(\"tabindex\", -1);\n object.onload = this.addResizeHandlers;\n object.type = \"text/html\";\n if (isIE) {\n this.$el.appendChild(object);\n }\n object.data = \"about:blank\";\n if (!isIE) {\n this.$el.appendChild(object);\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.removeResizeHandlers();\n },\n methods: {\n compareAndNotify: function compareAndNotify() {\n if (!this.ignoreWidth && this._w !== this.$el.offsetWidth || !this.ignoreHeight && this._h !== this.$el.offsetHeight) {\n this._w = this.$el.offsetWidth;\n this._h = this.$el.offsetHeight;\n this.emitSize();\n }\n },\n emitSize: function emitSize() {\n this.$emit(\"notify\", {\n width: this._w,\n height: this._h\n });\n },\n addResizeHandlers: function addResizeHandlers() {\n this._resizeObject.contentDocument.defaultView.addEventListener(\"resize\", this.compareAndNotify);\n this.compareAndNotify();\n },\n removeResizeHandlers: function removeResizeHandlers() {\n if (this._resizeObject && this._resizeObject.onload) {\n if (!isIE && this._resizeObject.contentDocument) {\n this._resizeObject.contentDocument.defaultView.removeEventListener(\"resize\", this.compareAndNotify);\n }\n this.$el.removeChild(this._resizeObject);\n this._resizeObject.onload = null;\n this._resizeObject = null;\n }\n }\n }\n};\nfunction normalizeComponent$1(template, style, script2, scopeId, isFunctionalTemplate, moduleIdentifier, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\n if (typeof shadowMode !== \"boolean\") {\n createInjectorSSR = createInjector;\n createInjector = shadowMode;\n shadowMode = false;\n }\n var options2 = typeof script2 === \"function\" ? script2.options : script2;\n if (template && template.render) {\n options2.render = template.render;\n options2.staticRenderFns = template.staticRenderFns;\n options2._compiled = true;\n if (isFunctionalTemplate) {\n options2.functional = true;\n }\n }\n if (scopeId) {\n options2._scopeId = scopeId;\n }\n var hook;\n if (moduleIdentifier) {\n hook = function hook2(context) {\n context = context || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;\n if (!context && typeof __VUE_SSR_CONTEXT__ !== \"undefined\") {\n context = __VUE_SSR_CONTEXT__;\n }\n if (style) {\n style.call(this, createInjectorSSR(context));\n }\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n };\n options2._ssrRegister = hook;\n } else if (style) {\n hook = shadowMode ? function(context) {\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\n } : function(context) {\n style.call(this, createInjector(context));\n };\n }\n if (hook) {\n if (options2.functional) {\n var originalRender = options2.render;\n options2.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n var existing = options2.beforeCreate;\n options2.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n return script2;\n}\nvar __vue_script__ = script;\nvar __vue_render__ = function __vue_render__2() {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c(\"div\", {\n staticClass: \"resize-observer\",\n attrs: {\n tabindex: \"-1\"\n }\n });\n};\nvar __vue_staticRenderFns__ = [];\n__vue_render__._withStripped = true;\nvar __vue_inject_styles__ = void 0;\nvar __vue_scope_id__ = \"data-v-8859cc6c\";\nvar __vue_module_identifier__ = void 0;\nvar __vue_is_functional_template__ = false;\nvar __vue_component__ = /* @__PURE__ */ normalizeComponent$1({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, void 0, void 0, void 0);\nfunction install$1(Vue2) {\n Vue2.component(\"resize-observer\", __vue_component__);\n Vue2.component(\"ResizeObserver\", __vue_component__);\n}\nvar plugin$1 = {\n version: \"1.0.1\",\n install: install$1\n};\nvar GlobalVue$1 = null;\nif (typeof window !== \"undefined\") {\n GlobalVue$1 = window.Vue;\n} else if (typeof global !== \"undefined\") {\n GlobalVue$1 = global.Vue;\n}\nif (GlobalVue$1) {\n GlobalVue$1.use(plugin$1);\n}\nvar PrivateThemeClass = {\n computed: {\n themeClass() {\n return getThemeClasses(this.theme);\n }\n }\n};\nvar __vue2_script$5 = {\n name: \"VPopperContent\",\n components: {\n ResizeObserver: __vue_component__\n },\n mixins: [\n PrivateThemeClass\n ],\n props: {\n popperId: String,\n theme: String,\n shown: Boolean,\n mounted: Boolean,\n skipTransition: Boolean,\n autoHide: Boolean,\n handleResize: Boolean,\n classes: Object,\n result: Object\n },\n methods: {\n toPx(value) {\n if (value != null && !isNaN(value)) {\n return `${value}px`;\n }\n return null;\n }\n }\n};\nvar render$2 = function() {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c(\"div\", { ref: \"popover\", staticClass: \"v-popper__popper\", class: [\n _vm.themeClass,\n _vm.classes.popperClass,\n {\n \"v-popper__popper--shown\": _vm.shown,\n \"v-popper__popper--hidden\": !_vm.shown,\n \"v-popper__popper--show-from\": _vm.classes.showFrom,\n \"v-popper__popper--show-to\": _vm.classes.showTo,\n \"v-popper__popper--hide-from\": _vm.classes.hideFrom,\n \"v-popper__popper--hide-to\": _vm.classes.hideTo,\n \"v-popper__popper--skip-transition\": _vm.skipTransition,\n \"v-popper__popper--arrow-overflow\": _vm.result && _vm.result.arrow.overflow,\n \"v-popper__popper--no-positioning\": !_vm.result\n }\n ], style: _vm.result ? {\n position: _vm.result.strategy,\n transform: \"translate3d(\" + Math.round(_vm.result.x) + \"px,\" + Math.round(_vm.result.y) + \"px,0)\"\n } : void 0, attrs: { \"id\": _vm.popperId, \"aria-hidden\": _vm.shown ? \"false\" : \"true\", \"tabindex\": _vm.autoHide ? 0 : void 0, \"data-popper-placement\": _vm.result ? _vm.result.placement : void 0 }, on: { \"keyup\": function($event) {\n if (!$event.type.indexOf(\"key\") && _vm._k($event.keyCode, \"esc\", 27, $event.key, [\"Esc\", \"Escape\"])) {\n return null;\n }\n _vm.autoHide && _vm.$emit(\"hide\");\n } } }, [_c(\"div\", { staticClass: \"v-popper__backdrop\", on: { \"click\": function($event) {\n _vm.autoHide && _vm.$emit(\"hide\");\n } } }), _c(\"div\", { staticClass: \"v-popper__wrapper\", style: _vm.result ? {\n transformOrigin: _vm.result.transformOrigin\n } : void 0 }, [_c(\"div\", { ref: \"inner\", staticClass: \"v-popper__inner\" }, [_vm.mounted ? [_c(\"div\", [_vm._t(\"default\")], 2), _vm.handleResize ? _c(\"ResizeObserver\", { on: { \"notify\": function($event) {\n return _vm.$emit(\"resize\", $event);\n } } }) : _vm._e()] : _vm._e()], 2), _c(\"div\", { ref: \"arrow\", staticClass: \"v-popper__arrow-container\", style: _vm.result ? {\n left: _vm.toPx(_vm.result.arrow.x),\n top: _vm.toPx(_vm.result.arrow.y)\n } : void 0 }, [_c(\"div\", { staticClass: \"v-popper__arrow-outer\" }), _c(\"div\", { staticClass: \"v-popper__arrow-inner\" })])])]);\n};\nvar staticRenderFns$2 = [];\nvar PopperContent_vue_vue_type_style_index_0_lang = \"\";\nfunction normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {\n var options2 = typeof scriptExports === \"function\" ? scriptExports.options : scriptExports;\n if (render2) {\n options2.render = render2;\n options2.staticRenderFns = staticRenderFns2;\n options2._compiled = true;\n }\n if (functionalTemplate) {\n options2.functional = true;\n }\n if (scopeId) {\n options2._scopeId = \"data-v-\" + scopeId;\n }\n var hook;\n if (moduleIdentifier) {\n hook = function(context) {\n context = context || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;\n if (!context && typeof __VUE_SSR_CONTEXT__ !== \"undefined\") {\n context = __VUE_SSR_CONTEXT__;\n }\n if (injectStyles) {\n injectStyles.call(this, context);\n }\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n };\n options2._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function() {\n injectStyles.call(this, (options2.functional ? this.parent : this).$root.$options.shadowRoot);\n } : injectStyles;\n }\n if (hook) {\n if (options2.functional) {\n options2._injectStyles = hook;\n var originalRender = options2.render;\n options2.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n var existing = options2.beforeCreate;\n options2.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n return {\n exports: scriptExports,\n options: options2\n };\n}\nconst __cssModules$5 = {};\nvar __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$2, staticRenderFns$2, false, __vue2_injectStyles$5, null, null, null);\nfunction __vue2_injectStyles$5(context) {\n for (let o in __cssModules$5) {\n this[o] = __cssModules$5[o];\n }\n}\nvar PrivatePopperContent = /* @__PURE__ */ function() {\n return __component__$5.exports;\n}();\nvar PrivatePopperMethods = {\n methods: {\n show(...args) {\n return this.$refs.popper.show(...args);\n },\n hide(...args) {\n return this.$refs.popper.hide(...args);\n },\n dispose(...args) {\n return this.$refs.popper.dispose(...args);\n },\n onResize(...args) {\n return this.$refs.popper.onResize(...args);\n }\n }\n};\nvar __vue2_script$4 = {\n name: \"VPopperWrapper\",\n components: {\n Popper: PrivatePopper(),\n PopperContent: PrivatePopperContent\n },\n mixins: [\n PrivatePopperMethods,\n PrivateThemeClass\n ],\n inheritAttrs: false,\n props: {\n theme: {\n type: String,\n default() {\n return this.$options.vPopperTheme;\n }\n }\n },\n methods: {\n getTargetNodes() {\n return Array.from(this.$refs.reference.children).filter((node) => node !== this.$refs.popperContent.$el);\n }\n }\n};\nvar render$1 = function() {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c(\"Popper\", _vm._g(_vm._b({ ref: \"popper\", attrs: { \"theme\": _vm.theme, \"target-nodes\": _vm.getTargetNodes, \"reference-node\": function() {\n return _vm.$refs.reference;\n }, \"popper-node\": function() {\n return _vm.$refs.popperContent.$el;\n } }, scopedSlots: _vm._u([{ key: \"default\", fn: function(ref) {\n var popperId = ref.popperId;\n var isShown = ref.isShown;\n var shouldMountContent = ref.shouldMountContent;\n var skipTransition = ref.skipTransition;\n var autoHide = ref.autoHide;\n var show = ref.show;\n var hide = ref.hide;\n var handleResize = ref.handleResize;\n var onResize = ref.onResize;\n var classes = ref.classes;\n var result = ref.result;\n return [_c(\"div\", { ref: \"reference\", staticClass: \"v-popper\", class: [\n _vm.themeClass,\n {\n \"v-popper--shown\": isShown\n }\n ] }, [_vm._t(\"default\", null, { \"shown\": isShown, \"show\": show, \"hide\": hide }), _c(\"PopperContent\", { ref: \"popperContent\", attrs: { \"popper-id\": popperId, \"theme\": _vm.theme, \"shown\": isShown, \"mounted\": shouldMountContent, \"skip-transition\": skipTransition, \"auto-hide\": autoHide, \"handle-resize\": handleResize, \"classes\": classes, \"result\": result }, on: { \"hide\": hide, \"resize\": onResize } }, [_vm._t(\"popper\", null, { \"shown\": isShown, \"hide\": hide })], 2)], 2)];\n } }], null, true) }, \"Popper\", _vm.$attrs, false), _vm.$listeners));\n};\nvar staticRenderFns$1 = [];\nconst __cssModules$4 = {};\nvar __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$1, staticRenderFns$1, false, __vue2_injectStyles$4, null, null, null);\nfunction __vue2_injectStyles$4(context) {\n for (let o in __cssModules$4) {\n this[o] = __cssModules$4[o];\n }\n}\nvar PrivatePopperWrapper = /* @__PURE__ */ function() {\n return __component__$4.exports;\n}();\nvar __vue2_script$3 = __spreadProps(__spreadValues({}, PrivatePopperWrapper), {\n name: \"VDropdown\",\n vPopperTheme: \"dropdown\"\n});\nvar Dropdown_vue_vue_type_style_index_0_lang = \"\";\nlet __vue2_render$2, __vue2_staticRenderFns$2;\nconst __cssModules$3 = {};\nvar __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, __vue2_render$2, __vue2_staticRenderFns$2, false, __vue2_injectStyles$3, null, null, null);\nfunction __vue2_injectStyles$3(context) {\n for (let o in __cssModules$3) {\n this[o] = __cssModules$3[o];\n }\n}\nvar PrivateDropdown = /* @__PURE__ */ function() {\n return __component__$3.exports;\n}();\nvar __vue2_script$2 = __spreadProps(__spreadValues({}, PrivatePopperWrapper), {\n name: \"VMenu\",\n vPopperTheme: \"menu\"\n});\nlet __vue2_render$1, __vue2_staticRenderFns$1;\nconst __cssModules$2 = {};\nvar __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, __vue2_render$1, __vue2_staticRenderFns$1, false, __vue2_injectStyles$2, null, null, null);\nfunction __vue2_injectStyles$2(context) {\n for (let o in __cssModules$2) {\n this[o] = __cssModules$2[o];\n }\n}\nvar PrivateMenu = /* @__PURE__ */ function() {\n return __component__$2.exports;\n}();\nvar __vue2_script$1 = __spreadProps(__spreadValues({}, PrivatePopperWrapper), {\n name: \"VTooltip\",\n vPopperTheme: \"tooltip\"\n});\nvar Tooltip_vue_vue_type_style_index_0_lang = \"\";\nlet __vue2_render, __vue2_staticRenderFns;\nconst __cssModules$1 = {};\nvar __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, __vue2_render, __vue2_staticRenderFns, false, __vue2_injectStyles$1, null, null, null);\nfunction __vue2_injectStyles$1(context) {\n for (let o in __cssModules$1) {\n this[o] = __cssModules$1[o];\n }\n}\nvar PrivateTooltip = /* @__PURE__ */ function() {\n return __component__$1.exports;\n}();\nvar __vue2_script = {\n name: \"VTooltipDirective\",\n components: {\n Popper: PrivatePopper(),\n PopperContent: PrivatePopperContent\n },\n mixins: [\n PrivatePopperMethods\n ],\n inheritAttrs: false,\n props: {\n theme: {\n type: String,\n default: \"tooltip\"\n },\n html: {\n type: Boolean,\n default() {\n return getDefaultConfig(this.theme, \"html\");\n }\n },\n content: {\n type: [String, Number, Function],\n default: null\n },\n loadingContent: {\n type: String,\n default() {\n return getDefaultConfig(this.theme, \"loadingContent\");\n }\n }\n },\n data() {\n return {\n asyncContent: null\n };\n },\n computed: {\n isContentAsync() {\n return typeof this.content === \"function\";\n },\n loading() {\n return this.isContentAsync && this.asyncContent == null;\n },\n finalContent() {\n if (this.isContentAsync) {\n return this.loading ? this.loadingContent : this.asyncContent;\n }\n return this.content;\n }\n },\n watch: {\n content: {\n handler() {\n this.fetchContent(true);\n },\n immediate: true\n },\n async finalContent(value) {\n await this.$nextTick();\n this.$refs.popper.onResize();\n }\n },\n created() {\n this.$_fetchId = 0;\n },\n methods: {\n fetchContent(force) {\n if (typeof this.content === \"function\" && this.$_isShown && (force || !this.$_loading && this.asyncContent == null)) {\n this.asyncContent = null;\n this.$_loading = true;\n const fetchId = ++this.$_fetchId;\n const result = this.content(this);\n if (result.then) {\n result.then((res) => this.onResult(fetchId, res));\n } else {\n this.onResult(fetchId, result);\n }\n }\n },\n onResult(fetchId, result) {\n if (fetchId !== this.$_fetchId)\n return;\n this.$_loading = false;\n this.asyncContent = result;\n },\n onShow() {\n this.$_isShown = true;\n this.fetchContent();\n },\n onHide() {\n this.$_isShown = false;\n }\n }\n};\nvar render = function() {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c(\"Popper\", _vm._g(_vm._b({ ref: \"popper\", attrs: { \"theme\": _vm.theme, \"popper-node\": function() {\n return _vm.$refs.popperContent.$el;\n } }, on: { \"apply-show\": _vm.onShow, \"apply-hide\": _vm.onHide }, scopedSlots: _vm._u([{ key: \"default\", fn: function(ref) {\n var popperId = ref.popperId;\n var isShown = ref.isShown;\n var shouldMountContent = ref.shouldMountContent;\n var skipTransition = ref.skipTransition;\n var autoHide = ref.autoHide;\n var hide = ref.hide;\n var handleResize = ref.handleResize;\n var onResize = ref.onResize;\n var classes = ref.classes;\n var result = ref.result;\n return [_c(\"PopperContent\", { ref: \"popperContent\", class: {\n \"v-popper--tooltip-loading\": _vm.loading\n }, attrs: { \"popper-id\": popperId, \"theme\": _vm.theme, \"shown\": isShown, \"mounted\": shouldMountContent, \"skip-transition\": skipTransition, \"auto-hide\": autoHide, \"handle-resize\": handleResize, \"classes\": classes, \"result\": result }, on: { \"hide\": hide, \"resize\": onResize } }, [_vm.html ? _c(\"div\", { domProps: { \"innerHTML\": _vm._s(_vm.finalContent) } }) : _c(\"div\", { domProps: { \"textContent\": _vm._s(_vm.finalContent) } })])];\n } }]) }, \"Popper\", _vm.$attrs, false), _vm.$listeners));\n};\nvar staticRenderFns = [];\nconst __cssModules = {};\nvar __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);\nfunction __vue2_injectStyles(context) {\n for (let o in __cssModules) {\n this[o] = __cssModules[o];\n }\n}\nvar PrivateTooltipDirective = /* @__PURE__ */ function() {\n return __component__.exports;\n}();\nconst TARGET_CLASS = \"v-popper--has-tooltip\";\nfunction getPlacement(options2, modifiers) {\n let result = options2.placement;\n if (!result && modifiers) {\n for (const pos of placements) {\n if (modifiers[pos]) {\n result = pos;\n }\n }\n }\n if (!result) {\n result = getDefaultConfig(options2.theme || \"tooltip\", \"placement\");\n }\n return result;\n}\nfunction getOptions(el, value, modifiers) {\n let options2;\n const type = typeof value;\n if (type === \"string\") {\n options2 = { content: value };\n } else if (value && type === \"object\") {\n options2 = value;\n } else {\n options2 = { content: false };\n }\n options2.placement = getPlacement(options2, modifiers);\n options2.targetNodes = () => [el];\n options2.referenceNode = () => el;\n return options2;\n}\nfunction createTooltip(el, value, modifiers) {\n const options2 = getOptions(el, value, modifiers);\n const tooltipApp = el.$_popper = new Vue({\n mixins: [\n PrivatePopperMethods\n ],\n data() {\n return {\n options: options2\n };\n },\n render(h) {\n const _a = this.options, {\n theme,\n html,\n content,\n loadingContent\n } = _a, otherOptions = __objRest(_a, [\n \"theme\",\n \"html\",\n \"content\",\n \"loadingContent\"\n ]);\n return h(PrivateTooltipDirective, {\n props: {\n theme,\n html,\n content,\n loadingContent\n },\n attrs: otherOptions,\n ref: \"popper\"\n });\n },\n devtools: {\n hide: true\n }\n });\n const mountTarget = document.createElement(\"div\");\n document.body.appendChild(mountTarget);\n tooltipApp.$mount(mountTarget);\n if (el.classList) {\n el.classList.add(TARGET_CLASS);\n }\n return tooltipApp;\n}\nfunction destroyTooltip(el) {\n if (el.$_popper) {\n el.$_popper.$destroy();\n delete el.$_popper;\n delete el.$_popperOldShown;\n }\n if (el.classList) {\n el.classList.remove(TARGET_CLASS);\n }\n}\nfunction bind(el, { value, oldValue, modifiers }) {\n const options2 = getOptions(el, value, modifiers);\n if (!options2.content || getDefaultConfig(options2.theme || \"tooltip\", \"disabled\")) {\n destroyTooltip(el);\n } else {\n let tooltipApp;\n if (el.$_popper) {\n tooltipApp = el.$_popper;\n tooltipApp.options = options2;\n } else {\n tooltipApp = createTooltip(el, value, modifiers);\n }\n if (typeof value.shown !== \"undefined\" && value.shown !== el.$_popperOldShown) {\n el.$_popperOldShown = value.shown;\n value.shown ? tooltipApp.show() : tooltipApp.hide();\n }\n }\n}\nvar PrivateVTooltip = {\n bind,\n update: bind,\n unbind(el) {\n destroyTooltip(el);\n }\n};\nfunction addListeners(el) {\n el.addEventListener(\"click\", onClick);\n el.addEventListener(\"touchstart\", onTouchStart, supportsPassive ? {\n passive: true\n } : false);\n}\nfunction removeListeners(el) {\n el.removeEventListener(\"click\", onClick);\n el.removeEventListener(\"touchstart\", onTouchStart);\n el.removeEventListener(\"touchend\", onTouchEnd);\n el.removeEventListener(\"touchcancel\", onTouchCancel);\n}\nfunction onClick(event) {\n const el = event.currentTarget;\n event.closePopover = !el.$_vclosepopover_touch;\n event.closeAllPopover = el.$_closePopoverModifiers && !!el.$_closePopoverModifiers.all;\n}\nfunction onTouchStart(event) {\n if (event.changedTouches.length === 1) {\n const el = event.currentTarget;\n el.$_vclosepopover_touch = true;\n const touch = event.changedTouches[0];\n el.$_vclosepopover_touchPoint = touch;\n el.addEventListener(\"touchend\", onTouchEnd);\n el.addEventListener(\"touchcancel\", onTouchCancel);\n }\n}\nfunction onTouchEnd(event) {\n const el = event.currentTarget;\n el.$_vclosepopover_touch = false;\n if (event.changedTouches.length === 1) {\n const touch = event.changedTouches[0];\n const firstTouch = el.$_vclosepopover_touchPoint;\n event.closePopover = Math.abs(touch.screenY - firstTouch.screenY) < 20 && Math.abs(touch.screenX - firstTouch.screenX) < 20;\n event.closeAllPopover = el.$_closePopoverModifiers && !!el.$_closePopoverModifiers.all;\n }\n}\nfunction onTouchCancel(event) {\n const el = event.currentTarget;\n el.$_vclosepopover_touch = false;\n}\nvar PrivateVClosePopper = {\n bind(el, { value, modifiers }) {\n el.$_closePopoverModifiers = modifiers;\n if (typeof value === \"undefined\" || value) {\n addListeners(el);\n }\n },\n update(el, { value, oldValue, modifiers }) {\n el.$_closePopoverModifiers = modifiers;\n if (value !== oldValue) {\n if (typeof value === \"undefined\" || value) {\n addListeners(el);\n } else {\n removeListeners(el);\n }\n }\n },\n unbind(el) {\n removeListeners(el);\n }\n};\nconst options = config;\nconst VTooltip = PrivateVTooltip;\nconst VClosePopper = PrivateVClosePopper;\nconst Dropdown = PrivateDropdown;\nconst Menu = PrivateMenu;\nconst Popper = PrivatePopper;\nconst PopperContent = PrivatePopperContent;\nconst PopperMethods = PrivatePopperMethods;\nconst PopperWrapper = PrivatePopperWrapper;\nconst ThemeClass = PrivateThemeClass;\nconst Tooltip = PrivateTooltip;\nconst TooltipDirective = PrivateTooltipDirective;\nfunction install(app, options2 = {}) {\n if (app.$_vTooltipInstalled)\n return;\n app.$_vTooltipInstalled = true;\n assign(config, options2);\n app.directive(\"tooltip\", PrivateVTooltip);\n app.directive(\"close-popper\", PrivateVClosePopper);\n app.component(\"v-tooltip\", PrivateTooltip);\n app.component(\"VTooltip\", PrivateTooltip);\n app.component(\"v-dropdown\", PrivateDropdown);\n app.component(\"VDropdown\", PrivateDropdown);\n app.component(\"v-menu\", PrivateMenu);\n app.component(\"VMenu\", PrivateMenu);\n}\nconst plugin = {\n version: \"1.0.0-beta.19\",\n install,\n options: config\n};\nlet GlobalVue = null;\nif (typeof window !== \"undefined\") {\n GlobalVue = window.Vue;\n} else if (typeof global !== \"undefined\") {\n GlobalVue = global.Vue;\n}\nif (GlobalVue) {\n GlobalVue.use(plugin);\n}\nexport { Dropdown, HIDE_EVENT_MAP, Menu, Popper, PopperContent, PopperMethods, PopperWrapper, SHOW_EVENT_MAP, ThemeClass, Tooltip, TooltipDirective, VClosePopper, VTooltip, createTooltip, plugin as default, destroyTooltip, hideAllPoppers, install, options, placements };\n","import \"../assets/index-d211cae8.css\";\nimport { options as o } from \"floating-vue\";\nimport { VTooltip as l, options as m } from \"floating-vue\";\n/**\n * @copyright Copyright (c) 2019 Julius Härtl \n *\n * @author Julius Härtl \n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\no.themes.tooltip.html = !1;\no.themes.tooltip.delay = { show: 500, hide: 200 };\no.themes.tooltip.distance = 10;\no.themes.tooltip[\"arrow-padding\"] = 3;\nexport {\n l as default,\n m as options\n};\n","import { n as r } from \"./_plugin-vue2_normalizer-71e2aa87.mjs\";\nconst l = {\n name: \"ArrowRightIcon\",\n emits: [\"click\"],\n props: {\n title: {\n type: String\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n};\nvar n = function() {\n var t = this, e = t._self._c;\n return e(\"span\", t._b({ staticClass: \"material-design-icon arrow-right-icon\", attrs: { \"aria-hidden\": !t.title, \"aria-label\": t.title, role: \"img\" }, on: { click: function(i) {\n return t.$emit(\"click\", i);\n } } }, \"span\", t.$attrs, !1), [e(\"svg\", { staticClass: \"material-design-icon__svg\", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: \"0 0 24 24\" } }, [e(\"path\", { attrs: { d: \"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z\" } }, [t.title ? e(\"title\", [t._v(t._s(t.title))]) : t._e()])])]);\n}, s = [], a = /* @__PURE__ */ r(\n l,\n n,\n s,\n !1,\n null,\n null,\n null,\n null\n);\nconst _ = a.exports;\nexport {\n _ as A\n};\n","import { ref as n, readonly as t } from \"vue\";\n/**\n * @copyright Copyright (c) 2023 Grigorii K. Shartsev \n *\n * @author Grigorii K. Shartsev \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nconst i = 1024, o = () => document.documentElement.clientWidth < i, e = n(o());\nwindow.addEventListener(\"resize\", () => {\n e.value = o();\n});\nfunction c() {\n return t(e);\n}\nconst r = t(e);\nexport {\n i as MOBILE_BREAKPOINT,\n r as isMobileState,\n c as useIsMobile\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nclass ScopedStorage {\n constructor(scope, wrapped, persistent) {\n _defineProperty(this, \"scope\", void 0);\n _defineProperty(this, \"wrapped\", void 0);\n this.scope = `${persistent ? ScopedStorage.GLOBAL_SCOPE_PERSISTENT : ScopedStorage.GLOBAL_SCOPE_VOLATILE}_${btoa(scope)}_`;\n this.wrapped = wrapped;\n }\n scopeKey(key) {\n return `${this.scope}${key}`;\n }\n setItem(key, value) {\n this.wrapped.setItem(this.scopeKey(key), value);\n }\n getItem(key) {\n return this.wrapped.getItem(this.scopeKey(key));\n }\n removeItem(key) {\n this.wrapped.removeItem(this.scopeKey(key));\n }\n clear() {\n Object.keys(this.wrapped).filter(key => key.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped));\n }\n}\nexports.default = ScopedStorage;\n_defineProperty(ScopedStorage, \"GLOBAL_SCOPE_VOLATILE\", 'nextcloud_vol');\n_defineProperty(ScopedStorage, \"GLOBAL_SCOPE_PERSISTENT\", 'nextcloud_per');\n//# sourceMappingURL=scopedstorage.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _scopedstorage = _interopRequireDefault(require(\"./scopedstorage\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nclass StorageBuilder {\n constructor(appId) {\n _defineProperty(this, \"appId\", void 0);\n _defineProperty(this, \"persisted\", false);\n _defineProperty(this, \"clearedOnLogout\", false);\n this.appId = appId;\n }\n persist() {\n let persist = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n this.persisted = persist;\n return this;\n }\n clearOnLogout() {\n let clear = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n this.clearedOnLogout = clear;\n return this;\n }\n build() {\n return new _scopedstorage.default(this.appId, this.persisted ? window.localStorage : window.sessionStorage, !this.clearedOnLogout);\n }\n}\nexports.default = StorageBuilder;\n//# sourceMappingURL=storagebuilder.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.clearAll = clearAll;\nexports.clearNonPersistent = clearNonPersistent;\nexports.getBuilder = getBuilder;\nvar _storagebuilder = _interopRequireDefault(require(\"./storagebuilder\"));\nvar _scopedstorage = _interopRequireDefault(require(\"./scopedstorage\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction getBuilder(appId) {\n return new _storagebuilder.default(appId);\n}\nfunction clearStorage(storage, pred) {\n Object.keys(storage).filter(k => pred ? pred(k) : true).map(storage.removeItem.bind(storage));\n}\nfunction clearAll() {\n const storages = [window.sessionStorage, window.localStorage];\n storages.map(s => clearStorage(s));\n}\nfunction clearNonPersistent() {\n const storages = [window.sessionStorage, window.localStorage];\n storages.map(s => clearStorage(s, k => !k.startsWith(_scopedstorage.default.GLOBAL_SCOPE_PERSISTENT)));\n}\n//# sourceMappingURL=index.js.map","import Vue from 'vue'\nimport { getCurrentInstance } from 'vue'\n\nvar isVue2 = true\nvar isVue3 = false\nvar Vue2 = Vue\nvar warn = Vue.util.warn\n\nfunction install() {}\n\n// createApp polyfill\nexport function createApp(rootComponent, rootProps) {\n var vm\n var provide = {}\n var app = {\n config: Vue.config,\n use: Vue.use.bind(Vue),\n mixin: Vue.mixin.bind(Vue),\n component: Vue.component.bind(Vue),\n provide: function (key, value) {\n provide[key] = value\n return this\n },\n directive: function (name, dir) {\n if (dir) {\n Vue.directive(name, dir)\n return app\n } else {\n return Vue.directive(name)\n }\n },\n mount: function (el, hydrating) {\n if (!vm) {\n vm = new Vue(Object.assign({ propsData: rootProps }, rootComponent, { provide: Object.assign(provide, rootComponent.provide) }))\n vm.$mount(el, hydrating)\n return vm\n } else {\n return vm\n }\n },\n unmount: function () {\n if (vm) {\n vm.$destroy()\n vm = undefined\n }\n },\n }\n return app\n}\n\nexport {\n Vue,\n Vue2,\n isVue2,\n isVue3,\n install,\n warn\n}\n\n// Vue 3 components mock\nfunction createMockComponent(name) {\n return {\n setup() {\n throw new Error('[vue-demi] ' + name + ' is not supported in Vue 2. It\\'s provided to avoid compiler errors.')\n }\n }\n}\nexport var Fragment = /*#__PURE__*/ createMockComponent('Fragment')\nexport var Transition = /*#__PURE__*/ createMockComponent('Transition')\nexport var TransitionGroup = /*#__PURE__*/ createMockComponent('TransitionGroup')\nexport var Teleport = /*#__PURE__*/ createMockComponent('Teleport')\nexport var Suspense = /*#__PURE__*/ createMockComponent('Suspense')\nexport var KeepAlive = /*#__PURE__*/ createMockComponent('KeepAlive')\n\nexport * from 'vue'\n\n// Not implemented https://github.com/vuejs/core/pull/8111, falls back to getCurrentInstance()\nexport function hasInjectionContext() {\n return !!getCurrentInstance()\n}\n","import { shallowRef, watchEffect, readonly, ref, watch, customRef, getCurrentScope, onScopeDispose, effectScope, getCurrentInstance, provide, inject, isVue3, version, isRef, unref, computed, reactive, toRefs as toRefs$1, toRef as toRef$1, isVue2, set as set$1, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive } from 'vue-demi';\n\nfunction computedEager(fn, options) {\n var _a;\n const result = shallowRef();\n watchEffect(() => {\n result.value = fn();\n }, {\n ...options,\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n });\n return readonly(result);\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = ref(true);\n const update = () => {\n dirty.value = true;\n trigger();\n };\n watch(source, update, { flush: \"sync\" });\n const get = typeof fn === \"function\" ? fn : fn.get;\n const set = typeof fn === \"function\" ? void 0 : fn.set;\n const result = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = get();\n dirty.value = false;\n }\n track();\n return v;\n },\n set(v2) {\n set == null ? void 0 : set(v2);\n }\n };\n });\n if (Object.isExtensible(result))\n result.trigger = update;\n return result;\n}\n\nfunction tryOnScopeDispose(fn) {\n if (getCurrentScope()) {\n onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createEventHook() {\n const fns = /* @__PURE__ */ new Set();\n const off = (fn) => {\n fns.delete(fn);\n };\n const on = (fn) => {\n fns.add(fn);\n const offFn = () => off(fn);\n tryOnScopeDispose(offFn);\n return {\n off: offFn\n };\n };\n const trigger = (param) => {\n return Promise.all(Array.from(fns).map((fn) => param ? fn(param) : fn()));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = effectScope(true);\n return (...args) => {\n if (!initialized) {\n state = scope.run(() => stateFactory(...args));\n initialized = true;\n }\n return state;\n };\n}\n\nconst localProvidedStateMap = /* @__PURE__ */ new WeakMap();\n\nconst provideLocal = (key, value) => {\n var _a;\n const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;\n if (instance == null)\n throw new Error(\"provideLocal must be called in setup\");\n if (!localProvidedStateMap.has(instance))\n localProvidedStateMap.set(instance, /* @__PURE__ */ Object.create(null));\n const localProvidedState = localProvidedStateMap.get(instance);\n localProvidedState[key] = value;\n provide(key, value);\n};\n\nconst injectLocal = (...args) => {\n var _a;\n const key = args[0];\n const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;\n if (instance == null)\n throw new Error(\"injectLocal must be called in setup\");\n if (localProvidedStateMap.has(instance) && key in localProvidedStateMap.get(instance))\n return localProvidedStateMap.get(instance)[key];\n return inject(...args);\n};\n\nfunction createInjectionState(composable, options) {\n const key = (options == null ? void 0 : options.injectionKey) || Symbol(\"InjectionState\");\n const useProvidingState = (...args) => {\n const state = composable(...args);\n provideLocal(key, state);\n return state;\n };\n const useInjectedState = () => injectLocal(key);\n return [useProvidingState, useInjectedState];\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n if (!isVue3 && !version.startsWith(\"2.7.\")) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] extendRef only works in Vue 2.7 or above.\");\n return;\n }\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return unref(obj);\n return unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return unref(v) != null;\n}\n\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = { ...obj };\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction toValue(r) {\n return typeof r === \"function\" ? r() : unref(r);\n}\nconst resolveUnref = toValue;\n\nfunction reactify(fn, options) {\n const unrefFn = (options == null ? void 0 : options.computedGetter) === false ? unref : toValue;\n return function(...args) {\n return computed(() => fn.apply(this, args.map((i) => unrefFn(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n let options;\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n options = optionsOrKeys;\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(\n keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj), options) : value\n ];\n })\n );\n}\n\nfunction toReactive(objectRef) {\n if (!isRef(objectRef))\n return reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (isRef(objectRef.value[p]) && !isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n const flatKeys = keys.flat();\n const predicate = flatKeys[0];\n return reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\nconst isClient = typeof window !== \"undefined\" && typeof document !== \"undefined\";\nconst isWorker = typeof WorkerGlobalScope !== \"undefined\" && globalThis instanceof WorkerGlobalScope;\nconst isDef = (val) => typeof val !== \"undefined\";\nconst notNullish = (val) => val != null;\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);\nconst isIOS = /* @__PURE__ */ getIsIOS();\nfunction getIsIOS() {\n var _a;\n return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);\n}\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n return new Promise((resolve, reject) => {\n Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);\n });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n let lastRejector = noop;\n const _clearTimeout = (timer2) => {\n clearTimeout(timer2);\n lastRejector();\n lastRejector = noop;\n };\n const filter = (invoke) => {\n const duration = toValue(ms);\n const maxDuration = toValue(options.maxWait);\n if (timer)\n _clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n _clearTimeout(maxTimer);\n maxTimer = null;\n }\n return Promise.resolve(invoke());\n }\n return new Promise((resolve, reject) => {\n lastRejector = options.rejectOnCancel ? reject : resolve;\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n _clearTimeout(timer);\n maxTimer = null;\n resolve(invoke());\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n _clearTimeout(maxTimer);\n maxTimer = null;\n resolve(invoke());\n }, duration);\n });\n };\n return filter;\n}\nfunction throttleFilter(ms, trailing = true, leading = true, rejectOnCancel = false) {\n let lastExec = 0;\n let timer;\n let isLeading = true;\n let lastRejector = noop;\n let lastValue;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n lastRejector();\n lastRejector = noop;\n }\n };\n const filter = (_invoke) => {\n const duration = toValue(ms);\n const elapsed = Date.now() - lastExec;\n const invoke = () => {\n return lastValue = _invoke();\n };\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration && (leading || !isLeading)) {\n lastExec = Date.now();\n invoke();\n } else if (trailing) {\n lastValue = new Promise((resolve, reject) => {\n lastRejector = rejectOnCancel ? reject : resolve;\n timer = setTimeout(() => {\n lastExec = Date.now();\n isLeading = true;\n resolve(invoke());\n clear();\n }, Math.max(0, duration - elapsed));\n });\n }\n if (!leading && !timer)\n timer = setTimeout(() => isLeading = true, duration);\n isLeading = false;\n return lastValue;\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive: readonly(isActive), pause, resume, eventFilter };\n}\n\nconst directiveHooks = {\n mounted: isVue3 ? \"mounted\" : \"inserted\",\n updated: isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction cacheStringFunction(fn) {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, \"-$1\").toLowerCase());\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?[0-9]+\\.?[0-9]*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = Number.parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || obj[k] !== void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\nfunction objectOmit(obj, keys, omitUndefined = false) {\n return Object.fromEntries(Object.entries(obj).filter(([key, value]) => {\n return (!omitUndefined || value !== void 0) && !keys.includes(key);\n }));\n}\nfunction objectEntries(obj) {\n return Object.entries(obj);\n}\n\nfunction toRef(...args) {\n if (args.length !== 1)\n return toRef$1(...args);\n const r = args[0];\n return typeof r === \"function\" ? readonly(customRef(() => ({ get: r, set: noop }))) : ref(r);\n}\nconst resolveRef = toRef;\n\nfunction reactivePick(obj, ...keys) {\n const flatKeys = keys.flat();\n const predicate = flatKeys[0];\n return reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return customRef((track, trigger) => {\n let value = toValue(defaultValue);\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = toValue(defaultValue);\n trigger();\n }, toValue(afterMs));\n tryOnScopeDispose(() => {\n clearTimeout(timer);\n });\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(\n debounceFilter(ms, options),\n fn\n );\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n const debounced = ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {\n return createFilterWrapper(\n throttleFilter(ms, trailing, leading, rejectOnCancel),\n fn\n );\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(\n ref,\n {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n },\n { enumerable: true }\n );\n}\nconst controlledRef = refWithControl;\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (isVue2) {\n set$1(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction watchWithFilter(source, cb, options = {}) {\n const {\n eventFilter = bypassFilter,\n ...watchOptions\n } = options;\n return watch(\n source,\n createFilterWrapper(\n eventFilter,\n cb\n ),\n watchOptions\n );\n}\n\nfunction watchPausable(source, cb, options = {}) {\n const {\n eventFilter: filter,\n ...watchOptions\n } = options;\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter\n }\n );\n return { stop, pause, resume, isActive };\n}\n\nfunction syncRef(left, right, ...[options]) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\",\n transform = {}\n } = options || {};\n const watchers = [];\n const transformLTR = \"ltr\" in transform && transform.ltr || ((v) => v);\n const transformRTL = \"rtl\" in transform && transform.rtl || ((v) => v);\n if (direction === \"both\" || direction === \"ltr\") {\n watchers.push(watchPausable(\n left,\n (newValue) => {\n watchers.forEach((w) => w.pause());\n right.value = transformLTR(newValue);\n watchers.forEach((w) => w.resume());\n },\n { flush, deep, immediate }\n ));\n }\n if (direction === \"both\" || direction === \"rtl\") {\n watchers.push(watchPausable(\n right,\n (newValue) => {\n watchers.forEach((w) => w.pause());\n left.value = transformRTL(newValue);\n watchers.forEach((w) => w.resume());\n },\n { flush, deep, immediate }\n ));\n }\n const stop = () => {\n watchers.forEach((w) => w.stop());\n };\n return stop;\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return watch(\n source,\n (newValue) => targets.forEach((target) => target.value = newValue),\n { flush, deep, immediate }\n );\n}\n\nfunction toRefs(objectRef, options = {}) {\n if (!isRef(objectRef))\n return toRefs$1(objectRef);\n const result = Array.isArray(objectRef.value) ? Array.from({ length: objectRef.value.length }) : {};\n for (const key in objectRef.value) {\n result[key] = customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n var _a;\n const replaceRef = (_a = toValue(options.replaceRef)) != null ? _a : true;\n if (replaceRef) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n const newObject = { ...objectRef.value, [key]: v };\n Object.setPrototypeOf(newObject, Object.getPrototypeOf(objectRef.value));\n objectRef.value = newObject;\n }\n } else {\n objectRef.value[key] = v;\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeMount(fn, sync = true) {\n if (getCurrentInstance())\n onBeforeMount(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnBeforeUnmount(fn) {\n if (getCurrentInstance())\n onBeforeUnmount(fn);\n}\n\nfunction tryOnMounted(fn, sync = true) {\n if (getCurrentInstance())\n onMounted(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn) {\n if (getCurrentInstance())\n onUnmounted(fn);\n}\n\nfunction createUntil(r, isNot = false) {\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(\n r,\n (v) => {\n if (condition(v) !== isNot) {\n stop == null ? void 0 : stop();\n resolve(v);\n }\n },\n {\n flush,\n deep,\n immediate: true\n }\n );\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(\n promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop == null ? void 0 : stop())\n );\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n if (!isRef(value))\n return toMatch((v) => v === value, options);\n const { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options != null ? options : {};\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(\n [r, value],\n ([v1, v2]) => {\n if (isNot !== (v1 === v2)) {\n stop == null ? void 0 : stop();\n resolve(v1);\n }\n },\n {\n flush,\n deep,\n immediate: true\n }\n );\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(\n promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {\n stop == null ? void 0 : stop();\n return toValue(r);\n })\n );\n }\n return Promise.race(promises);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(toValue(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(toValue(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n }\n}\nfunction until(r) {\n return createUntil(r);\n}\n\nfunction defaultComparator(value, othVal) {\n return value === othVal;\n}\nfunction useArrayDifference(...args) {\n var _a;\n const list = args[0];\n const values = args[1];\n let compareFn = (_a = args[2]) != null ? _a : defaultComparator;\n if (typeof compareFn === \"string\") {\n const key = compareFn;\n compareFn = (value, othVal) => value[key] === othVal[key];\n }\n return computed(() => toValue(list).filter((x) => toValue(values).findIndex((y) => compareFn(x, y)) === -1));\n}\n\nfunction useArrayEvery(list, fn) {\n return computed(() => toValue(list).every((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction useArrayFilter(list, fn) {\n return computed(() => toValue(list).map((i) => toValue(i)).filter(fn));\n}\n\nfunction useArrayFind(list, fn) {\n return computed(() => toValue(\n toValue(list).find((element, index, array) => fn(toValue(element), index, array))\n ));\n}\n\nfunction useArrayFindIndex(list, fn) {\n return computed(() => toValue(list).findIndex((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction findLast(arr, cb) {\n let index = arr.length;\n while (index-- > 0) {\n if (cb(arr[index], index, arr))\n return arr[index];\n }\n return void 0;\n}\nfunction useArrayFindLast(list, fn) {\n return computed(() => toValue(\n !Array.prototype.findLast ? findLast(toValue(list), (element, index, array) => fn(toValue(element), index, array)) : toValue(list).findLast((element, index, array) => fn(toValue(element), index, array))\n ));\n}\n\nfunction isArrayIncludesOptions(obj) {\n return isObject(obj) && containsProp(obj, \"formIndex\", \"comparator\");\n}\nfunction useArrayIncludes(...args) {\n var _a;\n const list = args[0];\n const value = args[1];\n let comparator = args[2];\n let formIndex = 0;\n if (isArrayIncludesOptions(comparator)) {\n formIndex = (_a = comparator.fromIndex) != null ? _a : 0;\n comparator = comparator.comparator;\n }\n if (typeof comparator === \"string\") {\n const key = comparator;\n comparator = (element, value2) => element[key] === toValue(value2);\n }\n comparator = comparator != null ? comparator : (element, value2) => element === toValue(value2);\n return computed(() => toValue(list).slice(formIndex).some((element, index, array) => comparator(\n toValue(element),\n toValue(value),\n index,\n toValue(array)\n )));\n}\n\nfunction useArrayJoin(list, separator) {\n return computed(() => toValue(list).map((i) => toValue(i)).join(toValue(separator)));\n}\n\nfunction useArrayMap(list, fn) {\n return computed(() => toValue(list).map((i) => toValue(i)).map(fn));\n}\n\nfunction useArrayReduce(list, reducer, ...args) {\n const reduceCallback = (sum, value, index) => reducer(toValue(sum), toValue(value), index);\n return computed(() => {\n const resolved = toValue(list);\n return args.length ? resolved.reduce(reduceCallback, toValue(args[0])) : resolved.reduce(reduceCallback);\n });\n}\n\nfunction useArraySome(list, fn) {\n return computed(() => toValue(list).some((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction uniq(array) {\n return Array.from(new Set(array));\n}\nfunction uniqueElementsBy(array, fn) {\n return array.reduce((acc, v) => {\n if (!acc.some((x) => fn(v, x, array)))\n acc.push(v);\n return acc;\n }, []);\n}\nfunction useArrayUnique(list, compareFn) {\n return computed(() => {\n const resolvedList = toValue(list).map((element) => toValue(element));\n return compareFn ? uniqueElementsBy(resolvedList, compareFn) : uniq(resolvedList);\n });\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n let _initialValue = unref(initialValue);\n const count = ref(initialValue);\n const {\n max = Number.POSITIVE_INFINITY,\n min = Number.NEGATIVE_INFINITY\n } = options;\n const inc = (delta = 1) => count.value = Math.min(max, count.value + delta);\n const dec = (delta = 1) => count.value = Math.max(min, count.value - delta);\n const get = () => count.value;\n const set = (val) => count.value = Math.max(min, Math.min(max, val));\n const reset = (val = _initialValue) => {\n _initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/;\nconst REGEX_FORMAT = /[YMDHhms]o|\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nfunction defaultMeridiem(hours, minutes, isLowercase, hasPeriod) {\n let m = hours < 12 ? \"AM\" : \"PM\";\n if (hasPeriod)\n m = m.split(\"\").reduce((acc, curr) => acc += `${curr}.`, \"\");\n return isLowercase ? m.toLowerCase() : m;\n}\nfunction formatOrdinal(num) {\n const suffixes = [\"th\", \"st\", \"nd\", \"rd\"];\n const v = num % 100;\n return num + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);\n}\nfunction formatDate(date, formatStr, options = {}) {\n var _a;\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const day = date.getDay();\n const meridiem = (_a = options.customMeridiem) != null ? _a : defaultMeridiem;\n const matches = {\n Yo: () => formatOrdinal(years),\n YY: () => String(years).slice(-2),\n YYYY: () => years,\n M: () => month + 1,\n Mo: () => formatOrdinal(month + 1),\n MM: () => `${month + 1}`.padStart(2, \"0\"),\n MMM: () => date.toLocaleDateString(options.locales, { month: \"short\" }),\n MMMM: () => date.toLocaleDateString(options.locales, { month: \"long\" }),\n D: () => String(days),\n Do: () => formatOrdinal(days),\n DD: () => `${days}`.padStart(2, \"0\"),\n H: () => String(hours),\n Ho: () => formatOrdinal(hours),\n HH: () => `${hours}`.padStart(2, \"0\"),\n h: () => `${hours % 12 || 12}`.padStart(1, \"0\"),\n ho: () => formatOrdinal(hours % 12 || 12),\n hh: () => `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: () => String(minutes),\n mo: () => formatOrdinal(minutes),\n mm: () => `${minutes}`.padStart(2, \"0\"),\n s: () => String(seconds),\n so: () => formatOrdinal(seconds),\n ss: () => `${seconds}`.padStart(2, \"0\"),\n SSS: () => `${milliseconds}`.padStart(3, \"0\"),\n d: () => day,\n dd: () => date.toLocaleDateString(options.locales, { weekday: \"narrow\" }),\n ddd: () => date.toLocaleDateString(options.locales, { weekday: \"short\" }),\n dddd: () => date.toLocaleDateString(options.locales, { weekday: \"long\" }),\n A: () => meridiem(hours, minutes),\n AA: () => meridiem(hours, minutes, false, true),\n a: () => meridiem(hours, minutes, true),\n aa: () => meridiem(hours, minutes, true, true)\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => {\n var _a2, _b;\n return (_b = $1 != null ? $1 : (_a2 = matches[match]) == null ? void 0 : _a2.call(matches)) != null ? _b : match;\n });\n}\nfunction normalizeDate(date) {\n if (date === null)\n return new Date(Number.NaN);\n if (date === void 0)\n return /* @__PURE__ */ new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n}\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\", options = {}) {\n return computed(() => formatDate(normalizeDate(toValue(date)), toValue(formatStr), options));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n const intervalValue = toValue(interval);\n if (intervalValue <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, intervalValue);\n }\n if (immediate && isClient)\n resume();\n if (isRef(interval) || typeof interval === \"function\") {\n const stopWatch = watch(interval, () => {\n if (isActive.value && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true,\n callback\n } = options;\n const counter = ref(0);\n const update = () => counter.value += 1;\n const reset = () => {\n counter.value = 0;\n };\n const controls = useIntervalFn(\n callback ? () => {\n update();\n callback(counter.value);\n } : update,\n interval,\n { immediate }\n );\n if (exposeControls) {\n return {\n counter,\n reset,\n ...controls\n };\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = ref((_a = options.initialValue) != null ? _a : null);\n watch(\n source,\n () => ms.value = timestamp(),\n options\n );\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, toValue(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending: readonly(isPending),\n start,\n stop\n };\n}\n\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n callback\n } = options;\n const controls = useTimeoutFn(\n callback != null ? callback : noop,\n interval,\n options\n );\n const ready = computed(() => !controls.isPending.value);\n if (exposeControls) {\n return {\n ready,\n ...controls\n };\n } else {\n return ready;\n }\n}\n\nfunction useToNumber(value, options = {}) {\n const {\n method = \"parseFloat\",\n radix,\n nanToZero\n } = options;\n return computed(() => {\n let resolved = toValue(value);\n if (typeof resolved === \"string\")\n resolved = Number[method](resolved, radix);\n if (nanToZero && Number.isNaN(resolved))\n resolved = 0;\n return resolved;\n });\n}\n\nfunction useToString(value) {\n return computed(() => `${toValue(value)}`);\n}\n\nfunction useToggle(initialValue = false, options = {}) {\n const {\n truthyValue = true,\n falsyValue = false\n } = options;\n const valueIsRef = isRef(initialValue);\n const _value = ref(initialValue);\n function toggle(value) {\n if (arguments.length) {\n _value.value = value;\n return _value.value;\n } else {\n const truthy = toValue(truthyValue);\n _value.value = _value.value === truthy ? toValue(falsyValue) : truthy;\n return _value.value;\n }\n }\n if (valueIsRef)\n return toggle;\n else\n return [_value, toggle];\n}\n\nfunction watchArray(source, cb, options) {\n let oldList = (options == null ? void 0 : options.immediate) ? [] : [...source instanceof Function ? source() : Array.isArray(source) ? source : toValue(source)];\n return watch(source, (newList, _, onCleanup) => {\n const oldListRemains = Array.from({ length: oldList.length });\n const added = [];\n for (const obj of newList) {\n let found = false;\n for (let i = 0; i < oldList.length; i++) {\n if (!oldListRemains[i] && obj === oldList[i]) {\n oldListRemains[i] = true;\n found = true;\n break;\n }\n }\n if (!found)\n added.push(obj);\n }\n const removed = oldList.filter((_2, i) => !oldListRemains[i]);\n cb(newList, oldList, added, removed, onCleanup);\n oldList = [...newList];\n }, options);\n}\n\nfunction watchAtMost(source, cb, options) {\n const {\n count,\n ...watchOptions\n } = options;\n const current = ref(0);\n const stop = watchWithFilter(\n source,\n (...args) => {\n current.value += 1;\n if (current.value >= toValue(count))\n nextTick(() => stop());\n cb(...args);\n },\n watchOptions\n );\n return { count: current, stop };\n}\n\nfunction watchDebounced(source, cb, options = {}) {\n const {\n debounce = 0,\n maxWait = void 0,\n ...watchOptions\n } = options;\n return watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter: debounceFilter(debounce, { maxWait })\n }\n );\n}\n\nfunction watchDeep(source, cb, options) {\n return watch(\n source,\n cb,\n {\n ...options,\n deep: true\n }\n );\n}\n\nfunction watchIgnorable(source, cb, options = {}) {\n const {\n eventFilter = bypassFilter,\n ...watchOptions\n } = options;\n const filteredCb = createFilterWrapper(\n eventFilter,\n cb\n );\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = watch(\n source,\n (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n },\n watchOptions\n );\n } else {\n const disposables = [];\n const ignoreCounter = ref(0);\n const syncCounter = ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(\n watch(\n source,\n () => {\n syncCounter.value++;\n },\n { ...watchOptions, flush: \"sync\" }\n )\n );\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(\n watch(\n source,\n (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n },\n watchOptions\n )\n );\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchImmediate(source, cb, options) {\n return watch(\n source,\n cb,\n {\n ...options,\n immediate: true\n }\n );\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = watch(source, (...args) => {\n nextTick(() => stop());\n return cb(...args);\n }, options);\n return stop;\n}\n\nfunction watchThrottled(source, cb, options = {}) {\n const {\n throttle = 0,\n trailing = true,\n leading = true,\n ...watchOptions\n } = options;\n return watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter: throttleFilter(throttle, trailing, leading)\n }\n );\n}\n\nfunction watchTriggerable(source, cb, options = {}) {\n let cleanupFn;\n function onEffect() {\n if (!cleanupFn)\n return;\n const fn = cleanupFn;\n cleanupFn = void 0;\n fn();\n }\n function onCleanup(callback) {\n cleanupFn = callback;\n }\n const _cb = (value, oldValue) => {\n onEffect();\n return cb(value, oldValue, onCleanup);\n };\n const res = watchIgnorable(source, _cb, options);\n const { ignoreUpdates } = res;\n const trigger = () => {\n let res2;\n ignoreUpdates(() => {\n res2 = _cb(getWatchSources(source), getOldValue(source));\n });\n return res2;\n };\n return {\n ...res,\n trigger\n };\n}\nfunction getWatchSources(sources) {\n if (isReactive(sources))\n return sources;\n if (Array.isArray(sources))\n return sources.map((item) => toValue(item));\n return toValue(sources);\n}\nfunction getOldValue(source) {\n return Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\nfunction whenever(source, cb, options) {\n return watch(\n source,\n (v, ov, onInvalidate) => {\n if (v)\n cb(v, ov, onInvalidate);\n },\n options\n );\n}\n\nexport { assert, refAutoReset as autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, directiveHooks, computedEager as eagerComputed, extendRef, formatDate, get, hasOwn, hyphenate, identity, watchIgnorable as ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, pausableFilter, watchPausable as pausableWatch, promiseTimeout, provideLocal, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toReactive, toRef, toRefs, toValue, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };\n","import { noop, makeDestructurable, camelize, toValue, isClient, isObject, tryOnScopeDispose, isIOS, tryOnMounted, computedWithControl, objectOmit, promiseTimeout, until, increaseWithUnit, objectEntries, createSingletonPromise, useTimeoutFn, pausableWatch, toRef, createEventHook, timestamp, pausableFilter, watchIgnorable, debounceFilter, createFilterWrapper, bypassFilter, toRefs, useIntervalFn, notNullish, containsProp, hasOwn, throttleFilter, useDebounceFn, useThrottleFn, clamp, syncRef, objectPick, tryOnUnmounted, watchWithFilter, identity, isDef, isWorker } from '@vueuse/shared';\nexport * from '@vueuse/shared';\nimport { isRef, ref, shallowRef, watchEffect, computed, inject, isVue3, version, defineComponent, h, TransitionGroup, shallowReactive, Fragment, watch, getCurrentInstance, customRef, onUpdated, onMounted, readonly, nextTick, reactive, markRaw, unref, getCurrentScope, isVue2, set, del, isReadonly, onBeforeUpdate } from 'vue-demi';\nimport { useEventListener as useEventListener$1 } from '@vueuse/core';\n\nfunction computedAsync(evaluationCallback, initialState, optionsOrRef) {\n let options;\n if (isRef(optionsOrRef)) {\n options = {\n evaluating: optionsOrRef\n };\n } else {\n options = optionsOrRef || {};\n }\n const {\n lazy = false,\n evaluating = void 0,\n shallow = true,\n onError = noop\n } = options;\n const started = ref(!lazy);\n const current = shallow ? shallowRef(initialState) : ref(initialState);\n let counter = 0;\n watchEffect(async (onInvalidate) => {\n if (!started.value)\n return;\n counter++;\n const counterAtBeginning = counter;\n let hasFinished = false;\n if (evaluating) {\n Promise.resolve().then(() => {\n evaluating.value = true;\n });\n }\n try {\n const result = await evaluationCallback((cancelCallback) => {\n onInvalidate(() => {\n if (evaluating)\n evaluating.value = false;\n if (!hasFinished)\n cancelCallback();\n });\n });\n if (counterAtBeginning === counter)\n current.value = result;\n } catch (e) {\n onError(e);\n } finally {\n if (evaluating && counterAtBeginning === counter)\n evaluating.value = false;\n hasFinished = true;\n }\n });\n if (lazy) {\n return computed(() => {\n started.value = true;\n return current.value;\n });\n } else {\n return current;\n }\n}\n\nfunction computedInject(key, options, defaultSource, treatDefaultAsFactory) {\n let source = inject(key);\n if (defaultSource)\n source = inject(key, defaultSource);\n if (treatDefaultAsFactory)\n source = inject(key, defaultSource, treatDefaultAsFactory);\n if (typeof options === \"function\") {\n return computed((ctx) => options(source, ctx));\n } else {\n return computed({\n get: (ctx) => options.get(source, ctx),\n set: options.set\n });\n }\n}\n\nfunction createReusableTemplate(options = {}) {\n if (!isVue3 && !version.startsWith(\"2.7.\")) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] createReusableTemplate only works in Vue 2.7 or above.\");\n return;\n }\n const {\n inheritAttrs = true\n } = options;\n const render = shallowRef();\n const define = /* #__PURE__ */ defineComponent({\n setup(_, { slots }) {\n return () => {\n render.value = slots.default;\n };\n }\n });\n const reuse = /* #__PURE__ */ defineComponent({\n inheritAttrs,\n setup(_, { attrs, slots }) {\n return () => {\n var _a;\n if (!render.value && process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] Failed to find the definition of reusable template\");\n const vnode = (_a = render.value) == null ? void 0 : _a.call(render, { ...keysToCamelKebabCase(attrs), $slots: slots });\n return inheritAttrs && (vnode == null ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;\n };\n }\n });\n return makeDestructurable(\n { define, reuse },\n [define, reuse]\n );\n}\nfunction keysToCamelKebabCase(obj) {\n const newObj = {};\n for (const key in obj)\n newObj[camelize(key)] = obj[key];\n return newObj;\n}\n\nfunction createTemplatePromise(options = {}) {\n if (!isVue3) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] createTemplatePromise only works in Vue 3 or above.\");\n return;\n }\n let index = 0;\n const instances = ref([]);\n function create(...args) {\n const props = shallowReactive({\n key: index++,\n args,\n promise: void 0,\n resolve: () => {\n },\n reject: () => {\n },\n isResolving: false,\n options\n });\n instances.value.push(props);\n props.promise = new Promise((_resolve, _reject) => {\n props.resolve = (v) => {\n props.isResolving = true;\n return _resolve(v);\n };\n props.reject = _reject;\n }).finally(() => {\n props.promise = void 0;\n const index2 = instances.value.indexOf(props);\n if (index2 !== -1)\n instances.value.splice(index2, 1);\n });\n return props.promise;\n }\n function start(...args) {\n if (options.singleton && instances.value.length > 0)\n return instances.value[0].promise;\n return create(...args);\n }\n const component = /* #__PURE__ */ defineComponent((_, { slots }) => {\n const renderList = () => instances.value.map((props) => {\n var _a;\n return h(Fragment, { key: props.key }, (_a = slots.default) == null ? void 0 : _a.call(slots, props));\n });\n if (options.transition)\n return () => h(TransitionGroup, options.transition, renderList);\n return renderList;\n });\n component.start = start;\n return component;\n}\n\nfunction createUnrefFn(fn) {\n return function(...args) {\n return fn.apply(this, args.map((i) => toValue(i)));\n };\n}\n\nfunction unrefElement(elRef) {\n var _a;\n const plain = toValue(elRef);\n return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;\n}\n\nconst defaultWindow = isClient ? window : void 0;\nconst defaultDocument = isClient ? window.document : void 0;\nconst defaultNavigator = isClient ? window.navigator : void 0;\nconst defaultLocation = isClient ? window.location : void 0;\n\nfunction useEventListener(...args) {\n let target;\n let events;\n let listeners;\n let options;\n if (typeof args[0] === \"string\" || Array.isArray(args[0])) {\n [events, listeners, options] = args;\n target = defaultWindow;\n } else {\n [target, events, listeners, options] = args;\n }\n if (!target)\n return noop;\n if (!Array.isArray(events))\n events = [events];\n if (!Array.isArray(listeners))\n listeners = [listeners];\n const cleanups = [];\n const cleanup = () => {\n cleanups.forEach((fn) => fn());\n cleanups.length = 0;\n };\n const register = (el, event, listener, options2) => {\n el.addEventListener(event, listener, options2);\n return () => el.removeEventListener(event, listener, options2);\n };\n const stopWatch = watch(\n () => [unrefElement(target), toValue(options)],\n ([el, options2]) => {\n cleanup();\n if (!el)\n return;\n const optionsClone = isObject(options2) ? { ...options2 } : options2;\n cleanups.push(\n ...events.flatMap((event) => {\n return listeners.map((listener) => register(el, event, listener, optionsClone));\n })\n );\n },\n { immediate: true, flush: \"post\" }\n );\n const stop = () => {\n stopWatch();\n cleanup();\n };\n tryOnScopeDispose(stop);\n return stop;\n}\n\nlet _iOSWorkaround = false;\nfunction onClickOutside(target, handler, options = {}) {\n const { window = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;\n if (!window)\n return;\n if (isIOS && !_iOSWorkaround) {\n _iOSWorkaround = true;\n Array.from(window.document.body.children).forEach((el) => el.addEventListener(\"click\", noop));\n window.document.documentElement.addEventListener(\"click\", noop);\n }\n let shouldListen = true;\n const shouldIgnore = (event) => {\n return ignore.some((target2) => {\n if (typeof target2 === \"string\") {\n return Array.from(window.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));\n } else {\n const el = unrefElement(target2);\n return el && (event.target === el || event.composedPath().includes(el));\n }\n });\n };\n const listener = (event) => {\n const el = unrefElement(target);\n if (!el || el === event.target || event.composedPath().includes(el))\n return;\n if (event.detail === 0)\n shouldListen = !shouldIgnore(event);\n if (!shouldListen) {\n shouldListen = true;\n return;\n }\n handler(event);\n };\n const cleanup = [\n useEventListener(window, \"click\", listener, { passive: true, capture }),\n useEventListener(window, \"pointerdown\", (e) => {\n const el = unrefElement(target);\n shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));\n }, { passive: true }),\n detectIframe && useEventListener(window, \"blur\", (event) => {\n setTimeout(() => {\n var _a;\n const el = unrefElement(target);\n if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === \"IFRAME\" && !(el == null ? void 0 : el.contains(window.document.activeElement)))\n handler(event);\n }, 0);\n })\n ].filter(Boolean);\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nfunction createKeyPredicate(keyFilter) {\n if (typeof keyFilter === \"function\")\n return keyFilter;\n else if (typeof keyFilter === \"string\")\n return (event) => event.key === keyFilter;\n else if (Array.isArray(keyFilter))\n return (event) => keyFilter.includes(event.key);\n return () => true;\n}\nfunction onKeyStroke(...args) {\n let key;\n let handler;\n let options = {};\n if (args.length === 3) {\n key = args[0];\n handler = args[1];\n options = args[2];\n } else if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n key = true;\n handler = args[0];\n options = args[1];\n } else {\n key = args[0];\n handler = args[1];\n }\n } else {\n key = true;\n handler = args[0];\n }\n const {\n target = defaultWindow,\n eventName = \"keydown\",\n passive = false,\n dedupe = false\n } = options;\n const predicate = createKeyPredicate(key);\n const listener = (e) => {\n if (e.repeat && toValue(dedupe))\n return;\n if (predicate(e))\n handler(e);\n };\n return useEventListener(target, eventName, listener, passive);\n}\nfunction onKeyDown(key, handler, options = {}) {\n return onKeyStroke(key, handler, { ...options, eventName: \"keydown\" });\n}\nfunction onKeyPressed(key, handler, options = {}) {\n return onKeyStroke(key, handler, { ...options, eventName: \"keypress\" });\n}\nfunction onKeyUp(key, handler, options = {}) {\n return onKeyStroke(key, handler, { ...options, eventName: \"keyup\" });\n}\n\nconst DEFAULT_DELAY = 500;\nfunction onLongPress(target, handler, options) {\n var _a, _b;\n const elementRef = computed(() => unrefElement(target));\n let timeout;\n function clear() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = void 0;\n }\n }\n function onDown(ev) {\n var _a2, _b2, _c, _d;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n clear();\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n timeout = setTimeout(\n () => handler(ev),\n (_d = options == null ? void 0 : options.delay) != null ? _d : DEFAULT_DELAY\n );\n }\n const listenerOptions = {\n capture: (_a = options == null ? void 0 : options.modifiers) == null ? void 0 : _a.capture,\n once: (_b = options == null ? void 0 : options.modifiers) == null ? void 0 : _b.once\n };\n const cleanup = [\n useEventListener(elementRef, \"pointerdown\", onDown, listenerOptions),\n useEventListener(elementRef, [\"pointerup\", \"pointerleave\"], clear, listenerOptions)\n ].filter(Boolean);\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nfunction isFocusedElementEditable() {\n const { activeElement, body } = document;\n if (!activeElement)\n return false;\n if (activeElement === body)\n return false;\n switch (activeElement.tagName) {\n case \"INPUT\":\n case \"TEXTAREA\":\n return true;\n }\n return activeElement.hasAttribute(\"contenteditable\");\n}\nfunction isTypedCharValid({\n keyCode,\n metaKey,\n ctrlKey,\n altKey\n}) {\n if (metaKey || ctrlKey || altKey)\n return false;\n if (keyCode >= 48 && keyCode <= 57)\n return true;\n if (keyCode >= 65 && keyCode <= 90)\n return true;\n if (keyCode >= 97 && keyCode <= 122)\n return true;\n return false;\n}\nfunction onStartTyping(callback, options = {}) {\n const { document: document2 = defaultDocument } = options;\n const keydown = (event) => {\n !isFocusedElementEditable() && isTypedCharValid(event) && callback(event);\n };\n if (document2)\n useEventListener(document2, \"keydown\", keydown, { passive: true });\n}\n\nfunction templateRef(key, initialValue = null) {\n const instance = getCurrentInstance();\n let _trigger = () => {\n };\n const element = customRef((track, trigger) => {\n _trigger = trigger;\n return {\n get() {\n var _a, _b;\n track();\n return (_b = (_a = instance == null ? void 0 : instance.proxy) == null ? void 0 : _a.$refs[key]) != null ? _b : initialValue;\n },\n set() {\n }\n };\n });\n tryOnMounted(_trigger);\n onUpdated(_trigger);\n return element;\n}\n\nfunction useActiveElement(options = {}) {\n var _a;\n const {\n window = defaultWindow,\n deep = true\n } = options;\n const document = (_a = options.document) != null ? _a : window == null ? void 0 : window.document;\n const getDeepActiveElement = () => {\n var _a2;\n let element = document == null ? void 0 : document.activeElement;\n if (deep) {\n while (element == null ? void 0 : element.shadowRoot)\n element = (_a2 = element == null ? void 0 : element.shadowRoot) == null ? void 0 : _a2.activeElement;\n }\n return element;\n };\n const activeElement = computedWithControl(\n () => null,\n () => getDeepActiveElement()\n );\n if (window) {\n useEventListener(window, \"blur\", (event) => {\n if (event.relatedTarget !== null)\n return;\n activeElement.trigger();\n }, true);\n useEventListener(window, \"focus\", activeElement.trigger, true);\n }\n return activeElement;\n}\n\nfunction useMounted() {\n const isMounted = ref(false);\n if (getCurrentInstance()) {\n onMounted(() => {\n isMounted.value = true;\n });\n }\n return isMounted;\n}\n\nfunction useSupported(callback) {\n const isMounted = useMounted();\n return computed(() => {\n isMounted.value;\n return Boolean(callback());\n });\n}\n\nfunction useRafFn(fn, options = {}) {\n const {\n immediate = true,\n fpsLimit = void 0,\n window = defaultWindow\n } = options;\n const isActive = ref(false);\n const intervalLimit = fpsLimit ? 1e3 / fpsLimit : null;\n let previousFrameTimestamp = 0;\n let rafId = null;\n function loop(timestamp) {\n if (!isActive.value || !window)\n return;\n const delta = timestamp - (previousFrameTimestamp || timestamp);\n if (intervalLimit && delta < intervalLimit) {\n rafId = window.requestAnimationFrame(loop);\n return;\n }\n fn({ delta, timestamp });\n previousFrameTimestamp = timestamp;\n rafId = window.requestAnimationFrame(loop);\n }\n function resume() {\n if (!isActive.value && window) {\n isActive.value = true;\n rafId = window.requestAnimationFrame(loop);\n }\n }\n function pause() {\n isActive.value = false;\n if (rafId != null && window) {\n window.cancelAnimationFrame(rafId);\n rafId = null;\n }\n }\n if (immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive: readonly(isActive),\n pause,\n resume\n };\n}\n\nfunction useAnimate(target, keyframes, options) {\n let config;\n let animateOptions;\n if (isObject(options)) {\n config = options;\n animateOptions = objectOmit(options, [\"window\", \"immediate\", \"commitStyles\", \"persist\", \"onReady\", \"onError\"]);\n } else {\n config = { duration: options };\n animateOptions = options;\n }\n const {\n window = defaultWindow,\n immediate = true,\n commitStyles,\n persist,\n playbackRate: _playbackRate = 1,\n onReady,\n onError = (e) => {\n console.error(e);\n }\n } = config;\n const isSupported = useSupported(() => window && HTMLElement && \"animate\" in HTMLElement.prototype);\n const animate = shallowRef(void 0);\n const store = shallowReactive({\n startTime: null,\n currentTime: null,\n timeline: null,\n playbackRate: _playbackRate,\n pending: false,\n playState: immediate ? \"idle\" : \"paused\",\n replaceState: \"active\"\n });\n const pending = computed(() => store.pending);\n const playState = computed(() => store.playState);\n const replaceState = computed(() => store.replaceState);\n const startTime = computed({\n get() {\n return store.startTime;\n },\n set(value) {\n store.startTime = value;\n if (animate.value)\n animate.value.startTime = value;\n }\n });\n const currentTime = computed({\n get() {\n return store.currentTime;\n },\n set(value) {\n store.currentTime = value;\n if (animate.value) {\n animate.value.currentTime = value;\n syncResume();\n }\n }\n });\n const timeline = computed({\n get() {\n return store.timeline;\n },\n set(value) {\n store.timeline = value;\n if (animate.value)\n animate.value.timeline = value;\n }\n });\n const playbackRate = computed({\n get() {\n return store.playbackRate;\n },\n set(value) {\n store.playbackRate = value;\n if (animate.value)\n animate.value.playbackRate = value;\n }\n });\n const play = () => {\n if (animate.value) {\n try {\n animate.value.play();\n syncResume();\n } catch (e) {\n syncPause();\n onError(e);\n }\n } else {\n update();\n }\n };\n const pause = () => {\n var _a;\n try {\n (_a = animate.value) == null ? void 0 : _a.pause();\n syncPause();\n } catch (e) {\n onError(e);\n }\n };\n const reverse = () => {\n var _a;\n !animate.value && update();\n try {\n (_a = animate.value) == null ? void 0 : _a.reverse();\n syncResume();\n } catch (e) {\n syncPause();\n onError(e);\n }\n };\n const finish = () => {\n var _a;\n try {\n (_a = animate.value) == null ? void 0 : _a.finish();\n syncPause();\n } catch (e) {\n onError(e);\n }\n };\n const cancel = () => {\n var _a;\n try {\n (_a = animate.value) == null ? void 0 : _a.cancel();\n syncPause();\n } catch (e) {\n onError(e);\n }\n };\n watch(() => unrefElement(target), (el) => {\n el && update();\n });\n watch(() => keyframes, (value) => {\n !animate.value && update();\n if (!unrefElement(target) && animate.value) {\n animate.value.effect = new KeyframeEffect(\n unrefElement(target),\n toValue(value),\n animateOptions\n );\n }\n }, { deep: true });\n tryOnMounted(() => {\n nextTick(() => update(true));\n });\n tryOnScopeDispose(cancel);\n function update(init) {\n const el = unrefElement(target);\n if (!isSupported.value || !el)\n return;\n animate.value = el.animate(toValue(keyframes), animateOptions);\n if (commitStyles)\n animate.value.commitStyles();\n if (persist)\n animate.value.persist();\n if (_playbackRate !== 1)\n animate.value.playbackRate = _playbackRate;\n if (init && !immediate)\n animate.value.pause();\n else\n syncResume();\n onReady == null ? void 0 : onReady(animate.value);\n }\n useEventListener(animate, [\"cancel\", \"finish\", \"remove\"], syncPause);\n const { resume: resumeRef, pause: pauseRef } = useRafFn(() => {\n if (!animate.value)\n return;\n store.pending = animate.value.pending;\n store.playState = animate.value.playState;\n store.replaceState = animate.value.replaceState;\n store.startTime = animate.value.startTime;\n store.currentTime = animate.value.currentTime;\n store.timeline = animate.value.timeline;\n store.playbackRate = animate.value.playbackRate;\n }, { immediate: false });\n function syncResume() {\n if (isSupported.value)\n resumeRef();\n }\n function syncPause() {\n if (isSupported.value && window)\n window.requestAnimationFrame(pauseRef);\n }\n return {\n isSupported,\n animate,\n // actions\n play,\n pause,\n reverse,\n finish,\n cancel,\n // state\n pending,\n playState,\n replaceState,\n startTime,\n currentTime,\n timeline,\n playbackRate\n };\n}\n\nfunction useAsyncQueue(tasks, options) {\n const {\n interrupt = true,\n onError = noop,\n onFinished = noop,\n signal\n } = options || {};\n const promiseState = {\n aborted: \"aborted\",\n fulfilled: \"fulfilled\",\n pending: \"pending\",\n rejected: \"rejected\"\n };\n const initialResult = Array.from(Array.from({ length: tasks.length }), () => ({ state: promiseState.pending, data: null }));\n const result = reactive(initialResult);\n const activeIndex = ref(-1);\n if (!tasks || tasks.length === 0) {\n onFinished();\n return {\n activeIndex,\n result\n };\n }\n function updateResult(state, res) {\n activeIndex.value++;\n result[activeIndex.value].data = res;\n result[activeIndex.value].state = state;\n }\n tasks.reduce((prev, curr) => {\n return prev.then((prevRes) => {\n var _a;\n if (signal == null ? void 0 : signal.aborted) {\n updateResult(promiseState.aborted, new Error(\"aborted\"));\n return;\n }\n if (((_a = result[activeIndex.value]) == null ? void 0 : _a.state) === promiseState.rejected && interrupt) {\n onFinished();\n return;\n }\n const done = curr(prevRes).then((currentRes) => {\n updateResult(promiseState.fulfilled, currentRes);\n activeIndex.value === tasks.length - 1 && onFinished();\n return currentRes;\n });\n if (!signal)\n return done;\n return Promise.race([done, whenAborted(signal)]);\n }).catch((e) => {\n if (signal == null ? void 0 : signal.aborted) {\n updateResult(promiseState.aborted, e);\n return e;\n }\n updateResult(promiseState.rejected, e);\n onError();\n return e;\n });\n }, Promise.resolve());\n return {\n activeIndex,\n result\n };\n}\nfunction whenAborted(signal) {\n return new Promise((resolve, reject) => {\n const error = new Error(\"aborted\");\n if (signal.aborted)\n reject(error);\n else\n signal.addEventListener(\"abort\", () => reject(error), { once: true });\n });\n}\n\nfunction useAsyncState(promise, initialState, options) {\n const {\n immediate = true,\n delay = 0,\n onError = noop,\n onSuccess = noop,\n resetOnExecute = true,\n shallow = true,\n throwError\n } = options != null ? options : {};\n const state = shallow ? shallowRef(initialState) : ref(initialState);\n const isReady = ref(false);\n const isLoading = ref(false);\n const error = shallowRef(void 0);\n async function execute(delay2 = 0, ...args) {\n if (resetOnExecute)\n state.value = initialState;\n error.value = void 0;\n isReady.value = false;\n isLoading.value = true;\n if (delay2 > 0)\n await promiseTimeout(delay2);\n const _promise = typeof promise === \"function\" ? promise(...args) : promise;\n try {\n const data = await _promise;\n state.value = data;\n isReady.value = true;\n onSuccess(data);\n } catch (e) {\n error.value = e;\n onError(e);\n if (throwError)\n throw e;\n } finally {\n isLoading.value = false;\n }\n return state.value;\n }\n if (immediate)\n execute(delay);\n const shell = {\n state,\n isReady,\n isLoading,\n error,\n execute\n };\n function waitUntilIsLoaded() {\n return new Promise((resolve, reject) => {\n until(isLoading).toBe(false).then(() => resolve(shell)).catch(reject);\n });\n }\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilIsLoaded().then(onFulfilled, onRejected);\n }\n };\n}\n\nconst defaults = {\n array: (v) => JSON.stringify(v),\n object: (v) => JSON.stringify(v),\n set: (v) => JSON.stringify(Array.from(v)),\n map: (v) => JSON.stringify(Object.fromEntries(v)),\n null: () => \"\"\n};\nfunction getDefaultSerialization(target) {\n if (!target)\n return defaults.null;\n if (target instanceof Map)\n return defaults.map;\n else if (target instanceof Set)\n return defaults.set;\n else if (Array.isArray(target))\n return defaults.array;\n else\n return defaults.object;\n}\n\nfunction useBase64(target, options) {\n const base64 = ref(\"\");\n const promise = ref();\n function execute() {\n if (!isClient)\n return;\n promise.value = new Promise((resolve, reject) => {\n try {\n const _target = toValue(target);\n if (_target == null) {\n resolve(\"\");\n } else if (typeof _target === \"string\") {\n resolve(blobToBase64(new Blob([_target], { type: \"text/plain\" })));\n } else if (_target instanceof Blob) {\n resolve(blobToBase64(_target));\n } else if (_target instanceof ArrayBuffer) {\n resolve(window.btoa(String.fromCharCode(...new Uint8Array(_target))));\n } else if (_target instanceof HTMLCanvasElement) {\n resolve(_target.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n } else if (_target instanceof HTMLImageElement) {\n const img = _target.cloneNode(false);\n img.crossOrigin = \"Anonymous\";\n imgLoaded(img).then(() => {\n const canvas = document.createElement(\"canvas\");\n const ctx = canvas.getContext(\"2d\");\n canvas.width = img.width;\n canvas.height = img.height;\n ctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n resolve(canvas.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n }).catch(reject);\n } else if (typeof _target === \"object\") {\n const _serializeFn = (options == null ? void 0 : options.serializer) || getDefaultSerialization(_target);\n const serialized = _serializeFn(_target);\n return resolve(blobToBase64(new Blob([serialized], { type: \"application/json\" })));\n } else {\n reject(new Error(\"target is unsupported types\"));\n }\n } catch (error) {\n reject(error);\n }\n });\n promise.value.then((res) => base64.value = res);\n return promise.value;\n }\n if (isRef(target) || typeof target === \"function\")\n watch(target, execute, { immediate: true });\n else\n execute();\n return {\n base64,\n promise,\n execute\n };\n}\nfunction imgLoaded(img) {\n return new Promise((resolve, reject) => {\n if (!img.complete) {\n img.onload = () => {\n resolve();\n };\n img.onerror = reject;\n } else {\n resolve();\n }\n });\n}\nfunction blobToBase64(blob) {\n return new Promise((resolve, reject) => {\n const fr = new FileReader();\n fr.onload = (e) => {\n resolve(e.target.result);\n };\n fr.onerror = reject;\n fr.readAsDataURL(blob);\n });\n}\n\nfunction useBattery(options = {}) {\n const { navigator = defaultNavigator } = options;\n const events = [\"chargingchange\", \"chargingtimechange\", \"dischargingtimechange\", \"levelchange\"];\n const isSupported = useSupported(() => navigator && \"getBattery\" in navigator);\n const charging = ref(false);\n const chargingTime = ref(0);\n const dischargingTime = ref(0);\n const level = ref(1);\n let battery;\n function updateBatteryInfo() {\n charging.value = this.charging;\n chargingTime.value = this.chargingTime || 0;\n dischargingTime.value = this.dischargingTime || 0;\n level.value = this.level;\n }\n if (isSupported.value) {\n navigator.getBattery().then((_battery) => {\n battery = _battery;\n updateBatteryInfo.call(battery);\n useEventListener(battery, events, updateBatteryInfo, { passive: true });\n });\n }\n return {\n isSupported,\n charging,\n chargingTime,\n dischargingTime,\n level\n };\n}\n\nfunction useBluetooth(options) {\n let {\n acceptAllDevices = false\n } = options || {};\n const {\n filters = void 0,\n optionalServices = void 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => navigator && \"bluetooth\" in navigator);\n const device = shallowRef(void 0);\n const error = shallowRef(null);\n watch(device, () => {\n connectToBluetoothGATTServer();\n });\n async function requestDevice() {\n if (!isSupported.value)\n return;\n error.value = null;\n if (filters && filters.length > 0)\n acceptAllDevices = false;\n try {\n device.value = await (navigator == null ? void 0 : navigator.bluetooth.requestDevice({\n acceptAllDevices,\n filters,\n optionalServices\n }));\n } catch (err) {\n error.value = err;\n }\n }\n const server = ref();\n const isConnected = computed(() => {\n var _a;\n return ((_a = server.value) == null ? void 0 : _a.connected) || false;\n });\n async function connectToBluetoothGATTServer() {\n error.value = null;\n if (device.value && device.value.gatt) {\n device.value.addEventListener(\"gattserverdisconnected\", () => {\n });\n try {\n server.value = await device.value.gatt.connect();\n } catch (err) {\n error.value = err;\n }\n }\n }\n tryOnMounted(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.connect();\n });\n tryOnScopeDispose(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.disconnect();\n });\n return {\n isSupported,\n isConnected,\n // Device:\n device,\n requestDevice,\n // Server:\n server,\n // Errors:\n error\n };\n}\n\nfunction useMediaQuery(query, options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"matchMedia\" in window && typeof window.matchMedia === \"function\");\n let mediaQuery;\n const matches = ref(false);\n const handler = (event) => {\n matches.value = event.matches;\n };\n const cleanup = () => {\n if (!mediaQuery)\n return;\n if (\"removeEventListener\" in mediaQuery)\n mediaQuery.removeEventListener(\"change\", handler);\n else\n mediaQuery.removeListener(handler);\n };\n const stopWatch = watchEffect(() => {\n if (!isSupported.value)\n return;\n cleanup();\n mediaQuery = window.matchMedia(toValue(query));\n if (\"addEventListener\" in mediaQuery)\n mediaQuery.addEventListener(\"change\", handler);\n else\n mediaQuery.addListener(handler);\n matches.value = mediaQuery.matches;\n });\n tryOnScopeDispose(() => {\n stopWatch();\n cleanup();\n mediaQuery = void 0;\n });\n return matches;\n}\n\nconst breakpointsTailwind = {\n \"sm\": 640,\n \"md\": 768,\n \"lg\": 1024,\n \"xl\": 1280,\n \"2xl\": 1536\n};\nconst breakpointsBootstrapV5 = {\n xs: 0,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1400\n};\nconst breakpointsVuetify = {\n xs: 600,\n sm: 960,\n md: 1264,\n lg: 1904\n};\nconst breakpointsAntDesign = {\n xs: 480,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1600\n};\nconst breakpointsQuasar = {\n xs: 600,\n sm: 1024,\n md: 1440,\n lg: 1920\n};\nconst breakpointsSematic = {\n mobileS: 320,\n mobileM: 375,\n mobileL: 425,\n tablet: 768,\n laptop: 1024,\n laptopL: 1440,\n desktop4K: 2560\n};\nconst breakpointsMasterCss = {\n \"3xs\": 360,\n \"2xs\": 480,\n \"xs\": 600,\n \"sm\": 768,\n \"md\": 1024,\n \"lg\": 1280,\n \"xl\": 1440,\n \"2xl\": 1600,\n \"3xl\": 1920,\n \"4xl\": 2560\n};\nconst breakpointsPrimeFlex = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200\n};\n\nfunction useBreakpoints(breakpoints, options = {}) {\n function getValue(k, delta) {\n let v = breakpoints[k];\n if (delta != null)\n v = increaseWithUnit(v, delta);\n if (typeof v === \"number\")\n v = `${v}px`;\n return v;\n }\n const { window = defaultWindow } = options;\n function match(query) {\n if (!window)\n return false;\n return window.matchMedia(query).matches;\n }\n const greaterOrEqual = (k) => {\n return useMediaQuery(`(min-width: ${getValue(k)})`, options);\n };\n const shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {\n Object.defineProperty(shortcuts, k, {\n get: () => greaterOrEqual(k),\n enumerable: true,\n configurable: true\n });\n return shortcuts;\n }, {});\n return Object.assign(shortcutMethods, {\n greater(k) {\n return useMediaQuery(`(min-width: ${getValue(k, 0.1)})`, options);\n },\n greaterOrEqual,\n smaller(k) {\n return useMediaQuery(`(max-width: ${getValue(k, -0.1)})`, options);\n },\n smallerOrEqual(k) {\n return useMediaQuery(`(max-width: ${getValue(k)})`, options);\n },\n between(a, b) {\n return useMediaQuery(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`, options);\n },\n isGreater(k) {\n return match(`(min-width: ${getValue(k, 0.1)})`);\n },\n isGreaterOrEqual(k) {\n return match(`(min-width: ${getValue(k)})`);\n },\n isSmaller(k) {\n return match(`(max-width: ${getValue(k, -0.1)})`);\n },\n isSmallerOrEqual(k) {\n return match(`(max-width: ${getValue(k)})`);\n },\n isInBetween(a, b) {\n return match(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`);\n },\n current() {\n const points = Object.keys(breakpoints).map((i) => [i, greaterOrEqual(i)]);\n return computed(() => points.filter(([, v]) => v.value).map(([k]) => k));\n }\n });\n}\n\nfunction useBroadcastChannel(options) {\n const {\n name,\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"BroadcastChannel\" in window);\n const isClosed = ref(false);\n const channel = ref();\n const data = ref();\n const error = shallowRef(null);\n const post = (data2) => {\n if (channel.value)\n channel.value.postMessage(data2);\n };\n const close = () => {\n if (channel.value)\n channel.value.close();\n isClosed.value = true;\n };\n if (isSupported.value) {\n tryOnMounted(() => {\n error.value = null;\n channel.value = new BroadcastChannel(name);\n channel.value.addEventListener(\"message\", (e) => {\n data.value = e.data;\n }, { passive: true });\n channel.value.addEventListener(\"messageerror\", (e) => {\n error.value = e;\n }, { passive: true });\n channel.value.addEventListener(\"close\", () => {\n isClosed.value = true;\n });\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n isSupported,\n channel,\n data,\n post,\n close,\n error,\n isClosed\n };\n}\n\nconst WRITABLE_PROPERTIES = [\n \"hash\",\n \"host\",\n \"hostname\",\n \"href\",\n \"pathname\",\n \"port\",\n \"protocol\",\n \"search\"\n];\nfunction useBrowserLocation(options = {}) {\n const { window = defaultWindow } = options;\n const refs = Object.fromEntries(\n WRITABLE_PROPERTIES.map((key) => [key, ref()])\n );\n for (const [key, ref2] of objectEntries(refs)) {\n watch(ref2, (value) => {\n if (!(window == null ? void 0 : window.location) || window.location[key] === value)\n return;\n window.location[key] = value;\n });\n }\n const buildState = (trigger) => {\n var _a;\n const { state: state2, length } = (window == null ? void 0 : window.history) || {};\n const { origin } = (window == null ? void 0 : window.location) || {};\n for (const key of WRITABLE_PROPERTIES)\n refs[key].value = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a[key];\n return reactive({\n trigger,\n state: state2,\n length,\n origin,\n ...refs\n });\n };\n const state = ref(buildState(\"load\"));\n if (window) {\n useEventListener(window, \"popstate\", () => state.value = buildState(\"popstate\"), { passive: true });\n useEventListener(window, \"hashchange\", () => state.value = buildState(\"hashchange\"), { passive: true });\n }\n return state;\n}\n\nfunction useCached(refValue, comparator = (a, b) => a === b, watchOptions) {\n const cachedValue = ref(refValue.value);\n watch(() => refValue.value, (value) => {\n if (!comparator(value, cachedValue.value))\n cachedValue.value = value;\n }, watchOptions);\n return cachedValue;\n}\n\nfunction usePermission(permissionDesc, options = {}) {\n const {\n controls = false,\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"permissions\" in navigator);\n let permissionStatus;\n const desc = typeof permissionDesc === \"string\" ? { name: permissionDesc } : permissionDesc;\n const state = ref();\n const onChange = () => {\n if (permissionStatus)\n state.value = permissionStatus.state;\n };\n const query = createSingletonPromise(async () => {\n if (!isSupported.value)\n return;\n if (!permissionStatus) {\n try {\n permissionStatus = await navigator.permissions.query(desc);\n useEventListener(permissionStatus, \"change\", onChange);\n onChange();\n } catch (e) {\n state.value = \"prompt\";\n }\n }\n return permissionStatus;\n });\n query();\n if (controls) {\n return {\n state,\n isSupported,\n query\n };\n } else {\n return state;\n }\n}\n\nfunction useClipboard(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500,\n legacy = false\n } = options;\n const isClipboardApiSupported = useSupported(() => navigator && \"clipboard\" in navigator);\n const permissionRead = usePermission(\"clipboard-read\");\n const permissionWrite = usePermission(\"clipboard-write\");\n const isSupported = computed(() => isClipboardApiSupported.value || legacy);\n const text = ref(\"\");\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateText() {\n if (isClipboardApiSupported.value && permissionRead.value !== \"denied\") {\n navigator.clipboard.readText().then((value) => {\n text.value = value;\n });\n } else {\n text.value = legacyRead();\n }\n }\n if (isSupported.value && read)\n useEventListener([\"copy\", \"cut\"], updateText);\n async function copy(value = toValue(source)) {\n if (isSupported.value && value != null) {\n if (isClipboardApiSupported.value && permissionWrite.value !== \"denied\")\n await navigator.clipboard.writeText(value);\n else\n legacyCopy(value);\n text.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n function legacyCopy(value) {\n const ta = document.createElement(\"textarea\");\n ta.value = value != null ? value : \"\";\n ta.style.position = \"absolute\";\n ta.style.opacity = \"0\";\n document.body.appendChild(ta);\n ta.select();\n document.execCommand(\"copy\");\n ta.remove();\n }\n function legacyRead() {\n var _a, _b, _c;\n return (_c = (_b = (_a = document == null ? void 0 : document.getSelection) == null ? void 0 : _a.call(document)) == null ? void 0 : _b.toString()) != null ? _c : \"\";\n }\n return {\n isSupported,\n text,\n copied,\n copy\n };\n}\n\nfunction useClipboardItems(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500\n } = options;\n const isSupported = useSupported(() => navigator && \"clipboard\" in navigator);\n const content = ref([]);\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateContent() {\n if (isSupported.value) {\n navigator.clipboard.read().then((items) => {\n content.value = items;\n });\n }\n }\n if (isSupported.value && read)\n useEventListener([\"copy\", \"cut\"], updateContent);\n async function copy(value = toValue(source)) {\n if (isSupported.value && value != null) {\n await navigator.clipboard.write(value);\n content.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n return {\n isSupported,\n content,\n copied,\n copy\n };\n}\n\nfunction cloneFnJSON(source) {\n return JSON.parse(JSON.stringify(source));\n}\nfunction useCloned(source, options = {}) {\n const cloned = ref({});\n const {\n manual,\n clone = cloneFnJSON,\n // watch options\n deep = true,\n immediate = true\n } = options;\n function sync() {\n cloned.value = clone(toValue(source));\n }\n if (!manual && (isRef(source) || typeof source === \"function\")) {\n watch(source, sync, {\n ...options,\n deep,\n immediate\n });\n } else {\n sync();\n }\n return { cloned, sync };\n}\n\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nconst globalKey = \"__vueuse_ssr_handlers__\";\nconst handlers = /* @__PURE__ */ getHandlers();\nfunction getHandlers() {\n if (!(globalKey in _global))\n _global[globalKey] = _global[globalKey] || {};\n return _global[globalKey];\n}\nfunction getSSRHandler(key, fallback) {\n return handlers[key] || fallback;\n}\nfunction setSSRHandler(key, fn) {\n handlers[key] = fn;\n}\n\nfunction guessSerializerType(rawInit) {\n return rawInit == null ? \"any\" : rawInit instanceof Set ? \"set\" : rawInit instanceof Map ? \"map\" : rawInit instanceof Date ? \"date\" : typeof rawInit === \"boolean\" ? \"boolean\" : typeof rawInit === \"string\" ? \"string\" : typeof rawInit === \"object\" ? \"object\" : !Number.isNaN(rawInit) ? \"number\" : \"any\";\n}\n\nconst StorageSerializers = {\n boolean: {\n read: (v) => v === \"true\",\n write: (v) => String(v)\n },\n object: {\n read: (v) => JSON.parse(v),\n write: (v) => JSON.stringify(v)\n },\n number: {\n read: (v) => Number.parseFloat(v),\n write: (v) => String(v)\n },\n any: {\n read: (v) => v,\n write: (v) => String(v)\n },\n string: {\n read: (v) => v,\n write: (v) => String(v)\n },\n map: {\n read: (v) => new Map(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v.entries()))\n },\n set: {\n read: (v) => new Set(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v))\n },\n date: {\n read: (v) => new Date(v),\n write: (v) => v.toISOString()\n }\n};\nconst customStorageEventName = \"vueuse-storage\";\nfunction useStorage(key, defaults, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n },\n initOnMounted\n } = options;\n const data = (shallow ? shallowRef : ref)(typeof defaults === \"function\" ? defaults() : defaults);\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n if (!storage)\n return data;\n const rawInit = toValue(defaults);\n const type = guessSerializerType(rawInit);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n const { pause: pauseWatch, resume: resumeWatch } = pausableWatch(\n data,\n () => write(data.value),\n { flush, deep, eventFilter }\n );\n if (window && listenToStorageChanges) {\n tryOnMounted(() => {\n useEventListener(window, \"storage\", update);\n useEventListener(window, customStorageEventName, updateFromCustomEvent);\n if (initOnMounted)\n update();\n });\n }\n if (!initOnMounted)\n update();\n return data;\n function write(v) {\n try {\n if (v == null) {\n storage.removeItem(key);\n } else {\n const serialized = serializer.write(v);\n const oldValue = storage.getItem(key);\n if (oldValue !== serialized) {\n storage.setItem(key, serialized);\n if (window) {\n window.dispatchEvent(new CustomEvent(customStorageEventName, {\n detail: {\n key,\n oldValue,\n newValue: serialized,\n storageArea: storage\n }\n }));\n }\n }\n }\n } catch (e) {\n onError(e);\n }\n }\n function read(event) {\n const rawValue = event ? event.newValue : storage.getItem(key);\n if (rawValue == null) {\n if (writeDefaults && rawInit !== null)\n storage.setItem(key, serializer.write(rawInit));\n return rawInit;\n } else if (!event && mergeDefaults) {\n const value = serializer.read(rawValue);\n if (typeof mergeDefaults === \"function\")\n return mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n return { ...rawInit, ...value };\n return value;\n } else if (typeof rawValue !== \"string\") {\n return rawValue;\n } else {\n return serializer.read(rawValue);\n }\n }\n function updateFromCustomEvent(event) {\n update(event.detail);\n }\n function update(event) {\n if (event && event.storageArea !== storage)\n return;\n if (event && event.key == null) {\n data.value = rawInit;\n return;\n }\n if (event && event.key !== key)\n return;\n pauseWatch();\n try {\n if ((event == null ? void 0 : event.newValue) !== serializer.write(data.value))\n data.value = read(event);\n } catch (e) {\n onError(e);\n } finally {\n if (event)\n nextTick(resumeWatch);\n else\n resumeWatch();\n }\n }\n}\n\nfunction usePreferredDark(options) {\n return useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n}\n\nfunction useColorMode(options = {}) {\n const {\n selector = \"html\",\n attribute = \"class\",\n initialValue = \"auto\",\n window = defaultWindow,\n storage,\n storageKey = \"vueuse-color-scheme\",\n listenToStorageChanges = true,\n storageRef,\n emitAuto,\n disableTransition = true\n } = options;\n const modes = {\n auto: \"\",\n light: \"light\",\n dark: \"dark\",\n ...options.modes || {}\n };\n const preferredDark = usePreferredDark({ window });\n const system = computed(() => preferredDark.value ? \"dark\" : \"light\");\n const store = storageRef || (storageKey == null ? toRef(initialValue) : useStorage(storageKey, initialValue, storage, { window, listenToStorageChanges }));\n const state = computed(() => store.value === \"auto\" ? system.value : store.value);\n const updateHTMLAttrs = getSSRHandler(\n \"updateHTMLAttrs\",\n (selector2, attribute2, value) => {\n const el = typeof selector2 === \"string\" ? window == null ? void 0 : window.document.querySelector(selector2) : unrefElement(selector2);\n if (!el)\n return;\n let style;\n if (disableTransition) {\n style = window.document.createElement(\"style\");\n const styleString = \"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\";\n style.appendChild(document.createTextNode(styleString));\n window.document.head.appendChild(style);\n }\n if (attribute2 === \"class\") {\n const current = value.split(/\\s/g);\n Object.values(modes).flatMap((i) => (i || \"\").split(/\\s/g)).filter(Boolean).forEach((v) => {\n if (current.includes(v))\n el.classList.add(v);\n else\n el.classList.remove(v);\n });\n } else {\n el.setAttribute(attribute2, value);\n }\n if (disableTransition) {\n window.getComputedStyle(style).opacity;\n document.head.removeChild(style);\n }\n }\n );\n function defaultOnChanged(mode) {\n var _a;\n updateHTMLAttrs(selector, attribute, (_a = modes[mode]) != null ? _a : mode);\n }\n function onChanged(mode) {\n if (options.onChanged)\n options.onChanged(mode, defaultOnChanged);\n else\n defaultOnChanged(mode);\n }\n watch(state, onChanged, { flush: \"post\", immediate: true });\n tryOnMounted(() => onChanged(state.value));\n const auto = computed({\n get() {\n return emitAuto ? store.value : state.value;\n },\n set(v) {\n store.value = v;\n }\n });\n try {\n return Object.assign(auto, { store, system, state });\n } catch (e) {\n return auto;\n }\n}\n\nfunction useConfirmDialog(revealed = ref(false)) {\n const confirmHook = createEventHook();\n const cancelHook = createEventHook();\n const revealHook = createEventHook();\n let _resolve = noop;\n const reveal = (data) => {\n revealHook.trigger(data);\n revealed.value = true;\n return new Promise((resolve) => {\n _resolve = resolve;\n });\n };\n const confirm = (data) => {\n revealed.value = false;\n confirmHook.trigger(data);\n _resolve({ data, isCanceled: false });\n };\n const cancel = (data) => {\n revealed.value = false;\n cancelHook.trigger(data);\n _resolve({ data, isCanceled: true });\n };\n return {\n isRevealed: computed(() => revealed.value),\n reveal,\n confirm,\n cancel,\n onReveal: revealHook.on,\n onConfirm: confirmHook.on,\n onCancel: cancelHook.on\n };\n}\n\nfunction useMutationObserver(target, callback, options = {}) {\n const { window = defaultWindow, ...mutationOptions } = options;\n let observer;\n const isSupported = useSupported(() => window && \"MutationObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(\n () => unrefElement(target),\n (el) => {\n cleanup();\n if (isSupported.value && window && el) {\n observer = new MutationObserver(callback);\n observer.observe(el, mutationOptions);\n }\n },\n { immediate: true }\n );\n const takeRecords = () => {\n return observer == null ? void 0 : observer.takeRecords();\n };\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop,\n takeRecords\n };\n}\n\nfunction useCssVar(prop, target, options = {}) {\n const { window = defaultWindow, initialValue = \"\", observe = false } = options;\n const variable = ref(initialValue);\n const elRef = computed(() => {\n var _a;\n return unrefElement(target) || ((_a = window == null ? void 0 : window.document) == null ? void 0 : _a.documentElement);\n });\n function updateCssVar() {\n var _a;\n const key = toValue(prop);\n const el = toValue(elRef);\n if (el && window) {\n const value = (_a = window.getComputedStyle(el).getPropertyValue(key)) == null ? void 0 : _a.trim();\n variable.value = value || initialValue;\n }\n }\n if (observe) {\n useMutationObserver(elRef, updateCssVar, {\n attributeFilter: [\"style\", \"class\"],\n window\n });\n }\n watch(\n [elRef, () => toValue(prop)],\n updateCssVar,\n { immediate: true }\n );\n watch(\n variable,\n (val) => {\n var _a;\n if ((_a = elRef.value) == null ? void 0 : _a.style)\n elRef.value.style.setProperty(toValue(prop), val);\n }\n );\n return variable;\n}\n\nfunction useCurrentElement() {\n const vm = getCurrentInstance();\n const currentElement = computedWithControl(\n () => null,\n () => vm.proxy.$el\n );\n onUpdated(currentElement.trigger);\n onMounted(currentElement.trigger);\n return currentElement;\n}\n\nfunction useCycleList(list, options) {\n const state = shallowRef(getInitialValue());\n const listRef = toRef(list);\n const index = computed({\n get() {\n var _a;\n const targetList = listRef.value;\n let index2 = (options == null ? void 0 : options.getIndexOf) ? options.getIndexOf(state.value, targetList) : targetList.indexOf(state.value);\n if (index2 < 0)\n index2 = (_a = options == null ? void 0 : options.fallbackIndex) != null ? _a : 0;\n return index2;\n },\n set(v) {\n set(v);\n }\n });\n function set(i) {\n const targetList = listRef.value;\n const length = targetList.length;\n const index2 = (i % length + length) % length;\n const value = targetList[index2];\n state.value = value;\n return value;\n }\n function shift(delta = 1) {\n return set(index.value + delta);\n }\n function next(n = 1) {\n return shift(n);\n }\n function prev(n = 1) {\n return shift(-n);\n }\n function getInitialValue() {\n var _a, _b;\n return (_b = toValue((_a = options == null ? void 0 : options.initialValue) != null ? _a : toValue(list)[0])) != null ? _b : void 0;\n }\n watch(listRef, () => set(index.value));\n return {\n state,\n index,\n next,\n prev\n };\n}\n\nfunction useDark(options = {}) {\n const {\n valueDark = \"dark\",\n valueLight = \"\"\n } = options;\n const mode = useColorMode({\n ...options,\n onChanged: (mode2, defaultHandler) => {\n var _a;\n if (options.onChanged)\n (_a = options.onChanged) == null ? void 0 : _a.call(options, mode2 === \"dark\", defaultHandler, mode2);\n else\n defaultHandler(mode2);\n },\n modes: {\n dark: valueDark,\n light: valueLight\n }\n });\n const isDark = computed({\n get() {\n return mode.value === \"dark\";\n },\n set(v) {\n const modeVal = v ? \"dark\" : \"light\";\n if (mode.system.value === modeVal)\n mode.value = \"auto\";\n else\n mode.value = modeVal;\n }\n });\n return isDark;\n}\n\nfunction fnBypass(v) {\n return v;\n}\nfunction fnSetSource(source, value) {\n return source.value = value;\n}\nfunction defaultDump(clone) {\n return clone ? typeof clone === \"function\" ? clone : cloneFnJSON : fnBypass;\n}\nfunction defaultParse(clone) {\n return clone ? typeof clone === \"function\" ? clone : cloneFnJSON : fnBypass;\n}\nfunction useManualRefHistory(source, options = {}) {\n const {\n clone = false,\n dump = defaultDump(clone),\n parse = defaultParse(clone),\n setSource = fnSetSource\n } = options;\n function _createHistoryRecord() {\n return markRaw({\n snapshot: dump(source.value),\n timestamp: timestamp()\n });\n }\n const last = ref(_createHistoryRecord());\n const undoStack = ref([]);\n const redoStack = ref([]);\n const _setSource = (record) => {\n setSource(source, parse(record.snapshot));\n last.value = record;\n };\n const commit = () => {\n undoStack.value.unshift(last.value);\n last.value = _createHistoryRecord();\n if (options.capacity && undoStack.value.length > options.capacity)\n undoStack.value.splice(options.capacity, Number.POSITIVE_INFINITY);\n if (redoStack.value.length)\n redoStack.value.splice(0, redoStack.value.length);\n };\n const clear = () => {\n undoStack.value.splice(0, undoStack.value.length);\n redoStack.value.splice(0, redoStack.value.length);\n };\n const undo = () => {\n const state = undoStack.value.shift();\n if (state) {\n redoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const redo = () => {\n const state = redoStack.value.shift();\n if (state) {\n undoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const reset = () => {\n _setSource(last.value);\n };\n const history = computed(() => [last.value, ...undoStack.value]);\n const canUndo = computed(() => undoStack.value.length > 0);\n const canRedo = computed(() => redoStack.value.length > 0);\n return {\n source,\n undoStack,\n redoStack,\n last,\n history,\n canUndo,\n canRedo,\n clear,\n commit,\n reset,\n undo,\n redo\n };\n}\n\nfunction useRefHistory(source, options = {}) {\n const {\n deep = false,\n flush = \"pre\",\n eventFilter\n } = options;\n const {\n eventFilter: composedFilter,\n pause,\n resume: resumeTracking,\n isActive: isTracking\n } = pausableFilter(eventFilter);\n const {\n ignoreUpdates,\n ignorePrevAsyncUpdates,\n stop\n } = watchIgnorable(\n source,\n commit,\n { deep, flush, eventFilter: composedFilter }\n );\n function setSource(source2, value) {\n ignorePrevAsyncUpdates();\n ignoreUpdates(() => {\n source2.value = value;\n });\n }\n const manualHistory = useManualRefHistory(source, { ...options, clone: options.clone || deep, setSource });\n const { clear, commit: manualCommit } = manualHistory;\n function commit() {\n ignorePrevAsyncUpdates();\n manualCommit();\n }\n function resume(commitNow) {\n resumeTracking();\n if (commitNow)\n commit();\n }\n function batch(fn) {\n let canceled = false;\n const cancel = () => canceled = true;\n ignoreUpdates(() => {\n fn(cancel);\n });\n if (!canceled)\n commit();\n }\n function dispose() {\n stop();\n clear();\n }\n return {\n ...manualHistory,\n isTracking,\n pause,\n resume,\n commit,\n batch,\n dispose\n };\n}\n\nfunction useDebouncedRefHistory(source, options = {}) {\n const filter = options.debounce ? debounceFilter(options.debounce) : void 0;\n const history = useRefHistory(source, { ...options, eventFilter: filter });\n return {\n ...history\n };\n}\n\nfunction useDeviceMotion(options = {}) {\n const {\n window = defaultWindow,\n eventFilter = bypassFilter\n } = options;\n const acceleration = ref({ x: null, y: null, z: null });\n const rotationRate = ref({ alpha: null, beta: null, gamma: null });\n const interval = ref(0);\n const accelerationIncludingGravity = ref({\n x: null,\n y: null,\n z: null\n });\n if (window) {\n const onDeviceMotion = createFilterWrapper(\n eventFilter,\n (event) => {\n acceleration.value = event.acceleration;\n accelerationIncludingGravity.value = event.accelerationIncludingGravity;\n rotationRate.value = event.rotationRate;\n interval.value = event.interval;\n }\n );\n useEventListener(window, \"devicemotion\", onDeviceMotion);\n }\n return {\n acceleration,\n accelerationIncludingGravity,\n rotationRate,\n interval\n };\n}\n\nfunction useDeviceOrientation(options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"DeviceOrientationEvent\" in window);\n const isAbsolute = ref(false);\n const alpha = ref(null);\n const beta = ref(null);\n const gamma = ref(null);\n if (window && isSupported.value) {\n useEventListener(window, \"deviceorientation\", (event) => {\n isAbsolute.value = event.absolute;\n alpha.value = event.alpha;\n beta.value = event.beta;\n gamma.value = event.gamma;\n });\n }\n return {\n isSupported,\n isAbsolute,\n alpha,\n beta,\n gamma\n };\n}\n\nfunction useDevicePixelRatio(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const pixelRatio = ref(1);\n if (window) {\n let observe2 = function() {\n pixelRatio.value = window.devicePixelRatio;\n cleanup2();\n media = window.matchMedia(`(resolution: ${pixelRatio.value}dppx)`);\n media.addEventListener(\"change\", observe2, { once: true });\n }, cleanup2 = function() {\n media == null ? void 0 : media.removeEventListener(\"change\", observe2);\n };\n let media;\n observe2();\n tryOnScopeDispose(cleanup2);\n }\n return { pixelRatio };\n}\n\nfunction useDevicesList(options = {}) {\n const {\n navigator = defaultNavigator,\n requestPermissions = false,\n constraints = { audio: true, video: true },\n onUpdated\n } = options;\n const devices = ref([]);\n const videoInputs = computed(() => devices.value.filter((i) => i.kind === \"videoinput\"));\n const audioInputs = computed(() => devices.value.filter((i) => i.kind === \"audioinput\"));\n const audioOutputs = computed(() => devices.value.filter((i) => i.kind === \"audiooutput\"));\n const isSupported = useSupported(() => navigator && navigator.mediaDevices && navigator.mediaDevices.enumerateDevices);\n const permissionGranted = ref(false);\n let stream;\n async function update() {\n if (!isSupported.value)\n return;\n devices.value = await navigator.mediaDevices.enumerateDevices();\n onUpdated == null ? void 0 : onUpdated(devices.value);\n if (stream) {\n stream.getTracks().forEach((t) => t.stop());\n stream = null;\n }\n }\n async function ensurePermissions() {\n if (!isSupported.value)\n return false;\n if (permissionGranted.value)\n return true;\n const { state, query } = usePermission(\"camera\", { controls: true });\n await query();\n if (state.value !== \"granted\") {\n stream = await navigator.mediaDevices.getUserMedia(constraints);\n update();\n permissionGranted.value = true;\n } else {\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n }\n if (isSupported.value) {\n if (requestPermissions)\n ensurePermissions();\n useEventListener(navigator.mediaDevices, \"devicechange\", update);\n update();\n }\n return {\n devices,\n ensurePermissions,\n permissionGranted,\n videoInputs,\n audioInputs,\n audioOutputs,\n isSupported\n };\n}\n\nfunction useDisplayMedia(options = {}) {\n var _a;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const video = options.video;\n const audio = options.audio;\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getDisplayMedia;\n });\n const constraint = { audio, video };\n const stream = shallowRef();\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getDisplayMedia(constraint);\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n watch(\n enabled,\n (v) => {\n if (v)\n _start();\n else\n _stop();\n },\n { immediate: true }\n );\n return {\n isSupported,\n stream,\n start,\n stop,\n enabled\n };\n}\n\nfunction useDocumentVisibility(options = {}) {\n const { document = defaultDocument } = options;\n if (!document)\n return ref(\"visible\");\n const visibility = ref(document.visibilityState);\n useEventListener(document, \"visibilitychange\", () => {\n visibility.value = document.visibilityState;\n });\n return visibility;\n}\n\nfunction useDraggable(target, options = {}) {\n var _a, _b;\n const {\n pointerTypes,\n preventDefault,\n stopPropagation,\n exact,\n onMove,\n onEnd,\n onStart,\n initialValue,\n axis = \"both\",\n draggingElement = defaultWindow,\n containerElement,\n handle: draggingHandle = target\n } = options;\n const position = ref(\n (_a = toValue(initialValue)) != null ? _a : { x: 0, y: 0 }\n );\n const pressedDelta = ref();\n const filterEvent = (e) => {\n if (pointerTypes)\n return pointerTypes.includes(e.pointerType);\n return true;\n };\n const handleEvent = (e) => {\n if (toValue(preventDefault))\n e.preventDefault();\n if (toValue(stopPropagation))\n e.stopPropagation();\n };\n const start = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (toValue(exact) && e.target !== toValue(target))\n return;\n const container = toValue(containerElement);\n const containerRect = (_a2 = container == null ? void 0 : container.getBoundingClientRect) == null ? void 0 : _a2.call(container);\n const targetRect = toValue(target).getBoundingClientRect();\n const pos = {\n x: e.clientX - (container ? targetRect.left - containerRect.left : targetRect.left),\n y: e.clientY - (container ? targetRect.top - containerRect.top : targetRect.top)\n };\n if ((onStart == null ? void 0 : onStart(pos, e)) === false)\n return;\n pressedDelta.value = pos;\n handleEvent(e);\n };\n const move = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n const container = toValue(containerElement);\n const containerRect = (_a2 = container == null ? void 0 : container.getBoundingClientRect) == null ? void 0 : _a2.call(container);\n const targetRect = toValue(target).getBoundingClientRect();\n let { x, y } = position.value;\n if (axis === \"x\" || axis === \"both\") {\n x = e.clientX - pressedDelta.value.x;\n if (container)\n x = Math.min(Math.max(0, x), containerRect.width - targetRect.width);\n }\n if (axis === \"y\" || axis === \"both\") {\n y = e.clientY - pressedDelta.value.y;\n if (container)\n y = Math.min(Math.max(0, y), containerRect.height - targetRect.height);\n }\n position.value = {\n x,\n y\n };\n onMove == null ? void 0 : onMove(position.value, e);\n handleEvent(e);\n };\n const end = (e) => {\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n pressedDelta.value = void 0;\n onEnd == null ? void 0 : onEnd(position.value, e);\n handleEvent(e);\n };\n if (isClient) {\n const config = { capture: (_b = options.capture) != null ? _b : true };\n useEventListener(draggingHandle, \"pointerdown\", start, config);\n useEventListener(draggingElement, \"pointermove\", move, config);\n useEventListener(draggingElement, \"pointerup\", end, config);\n }\n return {\n ...toRefs(position),\n position,\n isDragging: computed(() => !!pressedDelta.value),\n style: computed(\n () => `left:${position.value.x}px;top:${position.value.y}px;`\n )\n };\n}\n\nfunction useDropZone(target, options = {}) {\n const isOverDropZone = ref(false);\n const files = shallowRef(null);\n let counter = 0;\n let isDataTypeIncluded = true;\n if (isClient) {\n const _options = typeof options === \"function\" ? { onDrop: options } : options;\n const getFiles = (event) => {\n var _a, _b;\n const list = Array.from((_b = (_a = event.dataTransfer) == null ? void 0 : _a.files) != null ? _b : []);\n return files.value = list.length === 0 ? null : list;\n };\n useEventListener$1(target, \"dragenter\", (event) => {\n var _a;\n if (_options.dataTypes && event.dataTransfer) {\n const dataTypes = unref(_options.dataTypes);\n isDataTypeIncluded = typeof dataTypes === \"function\" ? dataTypes(event.dataTransfer.types) : dataTypes ? dataTypes.some((item) => event.dataTransfer.types.includes(item)) : true;\n if (!isDataTypeIncluded)\n return;\n }\n event.preventDefault();\n counter += 1;\n isOverDropZone.value = true;\n (_a = _options.onEnter) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n useEventListener$1(target, \"dragover\", (event) => {\n var _a;\n if (!isDataTypeIncluded)\n return;\n event.preventDefault();\n (_a = _options.onOver) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n useEventListener$1(target, \"dragleave\", (event) => {\n var _a;\n if (!isDataTypeIncluded)\n return;\n event.preventDefault();\n counter -= 1;\n if (counter === 0)\n isOverDropZone.value = false;\n (_a = _options.onLeave) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n useEventListener$1(target, \"drop\", (event) => {\n var _a;\n event.preventDefault();\n counter = 0;\n isOverDropZone.value = false;\n (_a = _options.onDrop) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n }\n return {\n files,\n isOverDropZone\n };\n}\n\nfunction useResizeObserver(target, callback, options = {}) {\n const { window = defaultWindow, ...observerOptions } = options;\n let observer;\n const isSupported = useSupported(() => window && \"ResizeObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const targets = computed(() => Array.isArray(target) ? target.map((el) => unrefElement(el)) : [unrefElement(target)]);\n const stopWatch = watch(\n targets,\n (els) => {\n cleanup();\n if (isSupported.value && window) {\n observer = new ResizeObserver(callback);\n for (const _el of els)\n _el && observer.observe(_el, observerOptions);\n }\n },\n { immediate: true, flush: \"post\", deep: true }\n );\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nfunction useElementBounding(target, options = {}) {\n const {\n reset = true,\n windowResize = true,\n windowScroll = true,\n immediate = true\n } = options;\n const height = ref(0);\n const bottom = ref(0);\n const left = ref(0);\n const right = ref(0);\n const top = ref(0);\n const width = ref(0);\n const x = ref(0);\n const y = ref(0);\n function update() {\n const el = unrefElement(target);\n if (!el) {\n if (reset) {\n height.value = 0;\n bottom.value = 0;\n left.value = 0;\n right.value = 0;\n top.value = 0;\n width.value = 0;\n x.value = 0;\n y.value = 0;\n }\n return;\n }\n const rect = el.getBoundingClientRect();\n height.value = rect.height;\n bottom.value = rect.bottom;\n left.value = rect.left;\n right.value = rect.right;\n top.value = rect.top;\n width.value = rect.width;\n x.value = rect.x;\n y.value = rect.y;\n }\n useResizeObserver(target, update);\n watch(() => unrefElement(target), (ele) => !ele && update());\n if (windowScroll)\n useEventListener(\"scroll\", update, { capture: true, passive: true });\n if (windowResize)\n useEventListener(\"resize\", update, { passive: true });\n tryOnMounted(() => {\n if (immediate)\n update();\n });\n return {\n height,\n bottom,\n left,\n right,\n top,\n width,\n x,\n y,\n update\n };\n}\n\nfunction useElementByPoint(options) {\n const {\n x,\n y,\n document = defaultDocument,\n multiple,\n interval = \"requestAnimationFrame\",\n immediate = true\n } = options;\n const isSupported = useSupported(() => {\n if (toValue(multiple))\n return document && \"elementsFromPoint\" in document;\n return document && \"elementFromPoint\" in document;\n });\n const element = ref(null);\n const cb = () => {\n var _a, _b;\n element.value = toValue(multiple) ? (_a = document == null ? void 0 : document.elementsFromPoint(toValue(x), toValue(y))) != null ? _a : [] : (_b = document == null ? void 0 : document.elementFromPoint(toValue(x), toValue(y))) != null ? _b : null;\n };\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate });\n return {\n isSupported,\n element,\n ...controls\n };\n}\n\nfunction useElementHover(el, options = {}) {\n const {\n delayEnter = 0,\n delayLeave = 0,\n window = defaultWindow\n } = options;\n const isHovered = ref(false);\n let timer;\n const toggle = (entering) => {\n const delay = entering ? delayEnter : delayLeave;\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n }\n if (delay)\n timer = setTimeout(() => isHovered.value = entering, delay);\n else\n isHovered.value = entering;\n };\n if (!window)\n return isHovered;\n useEventListener(el, \"mouseenter\", () => toggle(true), { passive: true });\n useEventListener(el, \"mouseleave\", () => toggle(false), { passive: true });\n return isHovered;\n}\n\nfunction useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {\n const { window = defaultWindow, box = \"content-box\" } = options;\n const isSVG = computed(() => {\n var _a, _b;\n return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes(\"svg\");\n });\n const width = ref(initialSize.width);\n const height = ref(initialSize.height);\n const { stop: stop1 } = useResizeObserver(\n target,\n ([entry]) => {\n const boxSize = box === \"border-box\" ? entry.borderBoxSize : box === \"content-box\" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;\n if (window && isSVG.value) {\n const $elem = unrefElement(target);\n if ($elem) {\n const styles = window.getComputedStyle($elem);\n width.value = Number.parseFloat(styles.width);\n height.value = Number.parseFloat(styles.height);\n }\n } else {\n if (boxSize) {\n const formatBoxSize = Array.isArray(boxSize) ? boxSize : [boxSize];\n width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);\n height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);\n } else {\n width.value = entry.contentRect.width;\n height.value = entry.contentRect.height;\n }\n }\n },\n options\n );\n tryOnMounted(() => {\n const ele = unrefElement(target);\n if (ele) {\n width.value = \"offsetWidth\" in ele ? ele.offsetWidth : initialSize.width;\n height.value = \"offsetHeight\" in ele ? ele.offsetHeight : initialSize.height;\n }\n });\n const stop2 = watch(\n () => unrefElement(target),\n (ele) => {\n width.value = ele ? initialSize.width : 0;\n height.value = ele ? initialSize.height : 0;\n }\n );\n function stop() {\n stop1();\n stop2();\n }\n return {\n width,\n height,\n stop\n };\n}\n\nfunction useIntersectionObserver(target, callback, options = {}) {\n const {\n root,\n rootMargin = \"0px\",\n threshold = 0.1,\n window = defaultWindow,\n immediate = true\n } = options;\n const isSupported = useSupported(() => window && \"IntersectionObserver\" in window);\n const targets = computed(() => {\n const _target = toValue(target);\n return (Array.isArray(_target) ? _target : [_target]).map(unrefElement).filter(notNullish);\n });\n let cleanup = noop;\n const isActive = ref(immediate);\n const stopWatch = isSupported.value ? watch(\n () => [targets.value, unrefElement(root), isActive.value],\n ([targets2, root2]) => {\n cleanup();\n if (!isActive.value)\n return;\n if (!targets2.length)\n return;\n const observer = new IntersectionObserver(\n callback,\n {\n root: unrefElement(root2),\n rootMargin,\n threshold\n }\n );\n targets2.forEach((el) => el && observer.observe(el));\n cleanup = () => {\n observer.disconnect();\n cleanup = noop;\n };\n },\n { immediate, flush: \"post\" }\n ) : noop;\n const stop = () => {\n cleanup();\n stopWatch();\n isActive.value = false;\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n isActive,\n pause() {\n cleanup();\n isActive.value = false;\n },\n resume() {\n isActive.value = true;\n },\n stop\n };\n}\n\nfunction useElementVisibility(element, options = {}) {\n const { window = defaultWindow, scrollTarget } = options;\n const elementIsVisible = ref(false);\n useIntersectionObserver(\n element,\n ([{ isIntersecting }]) => {\n elementIsVisible.value = isIntersecting;\n },\n {\n root: scrollTarget,\n window,\n threshold: 0\n }\n );\n return elementIsVisible;\n}\n\nconst events = /* @__PURE__ */ new Map();\n\nfunction useEventBus(key) {\n const scope = getCurrentScope();\n function on(listener) {\n var _a;\n const listeners = events.get(key) || /* @__PURE__ */ new Set();\n listeners.add(listener);\n events.set(key, listeners);\n const _off = () => off(listener);\n (_a = scope == null ? void 0 : scope.cleanups) == null ? void 0 : _a.push(_off);\n return _off;\n }\n function once(listener) {\n function _listener(...args) {\n off(_listener);\n listener(...args);\n }\n return on(_listener);\n }\n function off(listener) {\n const listeners = events.get(key);\n if (!listeners)\n return;\n listeners.delete(listener);\n if (!listeners.size)\n reset();\n }\n function reset() {\n events.delete(key);\n }\n function emit(event, payload) {\n var _a;\n (_a = events.get(key)) == null ? void 0 : _a.forEach((v) => v(event, payload));\n }\n return { on, once, off, emit, reset };\n}\n\nfunction useEventSource(url, events = [], options = {}) {\n const event = ref(null);\n const data = ref(null);\n const status = ref(\"CONNECTING\");\n const eventSource = ref(null);\n const error = shallowRef(null);\n const {\n withCredentials = false\n } = options;\n const close = () => {\n if (eventSource.value) {\n eventSource.value.close();\n eventSource.value = null;\n status.value = \"CLOSED\";\n }\n };\n const es = new EventSource(url, { withCredentials });\n eventSource.value = es;\n es.onopen = () => {\n status.value = \"OPEN\";\n error.value = null;\n };\n es.onerror = (e) => {\n status.value = \"CLOSED\";\n error.value = e;\n };\n es.onmessage = (e) => {\n event.value = null;\n data.value = e.data;\n };\n for (const event_name of events) {\n useEventListener(es, event_name, (e) => {\n event.value = event_name;\n data.value = e.data || null;\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n eventSource,\n event,\n data,\n status,\n error,\n close\n };\n}\n\nfunction useEyeDropper(options = {}) {\n const { initialValue = \"\" } = options;\n const isSupported = useSupported(() => typeof window !== \"undefined\" && \"EyeDropper\" in window);\n const sRGBHex = ref(initialValue);\n async function open(openOptions) {\n if (!isSupported.value)\n return;\n const eyeDropper = new window.EyeDropper();\n const result = await eyeDropper.open(openOptions);\n sRGBHex.value = result.sRGBHex;\n return result;\n }\n return { isSupported, sRGBHex, open };\n}\n\nfunction useFavicon(newIcon = null, options = {}) {\n const {\n baseUrl = \"\",\n rel = \"icon\",\n document = defaultDocument\n } = options;\n const favicon = toRef(newIcon);\n const applyIcon = (icon) => {\n const elements = document == null ? void 0 : document.head.querySelectorAll(`link[rel*=\"${rel}\"]`);\n if (!elements || elements.length === 0) {\n const link = document == null ? void 0 : document.createElement(\"link\");\n if (link) {\n link.rel = rel;\n link.href = `${baseUrl}${icon}`;\n link.type = `image/${icon.split(\".\").pop()}`;\n document == null ? void 0 : document.head.append(link);\n }\n return;\n }\n elements == null ? void 0 : elements.forEach((el) => el.href = `${baseUrl}${icon}`);\n };\n watch(\n favicon,\n (i, o) => {\n if (typeof i === \"string\" && i !== o)\n applyIcon(i);\n },\n { immediate: true }\n );\n return favicon;\n}\n\nconst payloadMapping = {\n json: \"application/json\",\n text: \"text/plain\"\n};\nfunction isFetchOptions(obj) {\n return obj && containsProp(obj, \"immediate\", \"refetch\", \"initialData\", \"timeout\", \"beforeFetch\", \"afterFetch\", \"onFetchError\", \"fetch\", \"updateDataOnError\");\n}\nfunction isAbsoluteURL(url) {\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\nfunction headersToObject(headers) {\n if (typeof Headers !== \"undefined\" && headers instanceof Headers)\n return Object.fromEntries([...headers.entries()]);\n return headers;\n}\nfunction combineCallbacks(combination, ...callbacks) {\n if (combination === \"overwrite\") {\n return async (ctx) => {\n const callback = callbacks[callbacks.length - 1];\n if (callback)\n return { ...ctx, ...await callback(ctx) };\n return ctx;\n };\n } else {\n return async (ctx) => {\n for (const callback of callbacks) {\n if (callback)\n ctx = { ...ctx, ...await callback(ctx) };\n }\n return ctx;\n };\n }\n}\nfunction createFetch(config = {}) {\n const _combination = config.combination || \"chain\";\n const _options = config.options || {};\n const _fetchOptions = config.fetchOptions || {};\n function useFactoryFetch(url, ...args) {\n const computedUrl = computed(() => {\n const baseUrl = toValue(config.baseUrl);\n const targetUrl = toValue(url);\n return baseUrl && !isAbsoluteURL(targetUrl) ? joinPaths(baseUrl, targetUrl) : targetUrl;\n });\n let options = _options;\n let fetchOptions = _fetchOptions;\n if (args.length > 0) {\n if (isFetchOptions(args[0])) {\n options = {\n ...options,\n ...args[0],\n beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[0].beforeFetch),\n afterFetch: combineCallbacks(_combination, _options.afterFetch, args[0].afterFetch),\n onFetchError: combineCallbacks(_combination, _options.onFetchError, args[0].onFetchError)\n };\n } else {\n fetchOptions = {\n ...fetchOptions,\n ...args[0],\n headers: {\n ...headersToObject(fetchOptions.headers) || {},\n ...headersToObject(args[0].headers) || {}\n }\n };\n }\n }\n if (args.length > 1 && isFetchOptions(args[1])) {\n options = {\n ...options,\n ...args[1],\n beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[1].beforeFetch),\n afterFetch: combineCallbacks(_combination, _options.afterFetch, args[1].afterFetch),\n onFetchError: combineCallbacks(_combination, _options.onFetchError, args[1].onFetchError)\n };\n }\n return useFetch(computedUrl, fetchOptions, options);\n }\n return useFactoryFetch;\n}\nfunction useFetch(url, ...args) {\n var _a;\n const supportsAbort = typeof AbortController === \"function\";\n let fetchOptions = {};\n let options = {\n immediate: true,\n refetch: false,\n timeout: 0,\n updateDataOnError: false\n };\n const config = {\n method: \"GET\",\n type: \"text\",\n payload: void 0\n };\n if (args.length > 0) {\n if (isFetchOptions(args[0]))\n options = { ...options, ...args[0] };\n else\n fetchOptions = args[0];\n }\n if (args.length > 1) {\n if (isFetchOptions(args[1]))\n options = { ...options, ...args[1] };\n }\n const {\n fetch = (_a = defaultWindow) == null ? void 0 : _a.fetch,\n initialData,\n timeout\n } = options;\n const responseEvent = createEventHook();\n const errorEvent = createEventHook();\n const finallyEvent = createEventHook();\n const isFinished = ref(false);\n const isFetching = ref(false);\n const aborted = ref(false);\n const statusCode = ref(null);\n const response = shallowRef(null);\n const error = shallowRef(null);\n const data = shallowRef(initialData || null);\n const canAbort = computed(() => supportsAbort && isFetching.value);\n let controller;\n let timer;\n const abort = () => {\n if (supportsAbort) {\n controller == null ? void 0 : controller.abort();\n controller = new AbortController();\n controller.signal.onabort = () => aborted.value = true;\n fetchOptions = {\n ...fetchOptions,\n signal: controller.signal\n };\n }\n };\n const loading = (isLoading) => {\n isFetching.value = isLoading;\n isFinished.value = !isLoading;\n };\n if (timeout)\n timer = useTimeoutFn(abort, timeout, { immediate: false });\n let executeCounter = 0;\n const execute = async (throwOnFailed = false) => {\n var _a2;\n abort();\n loading(true);\n error.value = null;\n statusCode.value = null;\n aborted.value = false;\n executeCounter += 1;\n const currentExecuteCounter = executeCounter;\n const defaultFetchOptions = {\n method: config.method,\n headers: {}\n };\n if (config.payload) {\n const headers = headersToObject(defaultFetchOptions.headers);\n const payload = toValue(config.payload);\n if (!config.payloadType && payload && Object.getPrototypeOf(payload) === Object.prototype && !(payload instanceof FormData))\n config.payloadType = \"json\";\n if (config.payloadType)\n headers[\"Content-Type\"] = (_a2 = payloadMapping[config.payloadType]) != null ? _a2 : config.payloadType;\n defaultFetchOptions.body = config.payloadType === \"json\" ? JSON.stringify(payload) : payload;\n }\n let isCanceled = false;\n const context = {\n url: toValue(url),\n options: {\n ...defaultFetchOptions,\n ...fetchOptions\n },\n cancel: () => {\n isCanceled = true;\n }\n };\n if (options.beforeFetch)\n Object.assign(context, await options.beforeFetch(context));\n if (isCanceled || !fetch) {\n loading(false);\n return Promise.resolve(null);\n }\n let responseData = null;\n if (timer)\n timer.start();\n return new Promise((resolve, reject) => {\n var _a3;\n fetch(\n context.url,\n {\n ...defaultFetchOptions,\n ...context.options,\n headers: {\n ...headersToObject(defaultFetchOptions.headers),\n ...headersToObject((_a3 = context.options) == null ? void 0 : _a3.headers)\n }\n }\n ).then(async (fetchResponse) => {\n response.value = fetchResponse;\n statusCode.value = fetchResponse.status;\n responseData = await fetchResponse[config.type]();\n if (!fetchResponse.ok) {\n data.value = initialData || null;\n throw new Error(fetchResponse.statusText);\n }\n if (options.afterFetch) {\n ({ data: responseData } = await options.afterFetch({\n data: responseData,\n response: fetchResponse\n }));\n }\n data.value = responseData;\n responseEvent.trigger(fetchResponse);\n return resolve(fetchResponse);\n }).catch(async (fetchError) => {\n let errorData = fetchError.message || fetchError.name;\n if (options.onFetchError) {\n ({ error: errorData, data: responseData } = await options.onFetchError({\n data: responseData,\n error: fetchError,\n response: response.value\n }));\n }\n error.value = errorData;\n if (options.updateDataOnError)\n data.value = responseData;\n errorEvent.trigger(fetchError);\n if (throwOnFailed)\n return reject(fetchError);\n return resolve(null);\n }).finally(() => {\n if (currentExecuteCounter === executeCounter)\n loading(false);\n if (timer)\n timer.stop();\n finallyEvent.trigger(null);\n });\n });\n };\n const refetch = toRef(options.refetch);\n watch(\n [\n refetch,\n toRef(url)\n ],\n ([refetch2]) => refetch2 && execute(),\n { deep: true }\n );\n const shell = {\n isFinished,\n statusCode,\n response,\n error,\n data,\n isFetching,\n canAbort,\n aborted,\n abort,\n execute,\n onFetchResponse: responseEvent.on,\n onFetchError: errorEvent.on,\n onFetchFinally: finallyEvent.on,\n // method\n get: setMethod(\"GET\"),\n put: setMethod(\"PUT\"),\n post: setMethod(\"POST\"),\n delete: setMethod(\"DELETE\"),\n patch: setMethod(\"PATCH\"),\n head: setMethod(\"HEAD\"),\n options: setMethod(\"OPTIONS\"),\n // type\n json: setType(\"json\"),\n text: setType(\"text\"),\n blob: setType(\"blob\"),\n arrayBuffer: setType(\"arrayBuffer\"),\n formData: setType(\"formData\")\n };\n function setMethod(method) {\n return (payload, payloadType) => {\n if (!isFetching.value) {\n config.method = method;\n config.payload = payload;\n config.payloadType = payloadType;\n if (isRef(config.payload)) {\n watch(\n [\n refetch,\n toRef(config.payload)\n ],\n ([refetch2]) => refetch2 && execute(),\n { deep: true }\n );\n }\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n };\n }\n return void 0;\n };\n }\n function waitUntilFinished() {\n return new Promise((resolve, reject) => {\n until(isFinished).toBe(true).then(() => resolve(shell)).catch((error2) => reject(error2));\n });\n }\n function setType(type) {\n return () => {\n if (!isFetching.value) {\n config.type = type;\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n };\n }\n return void 0;\n };\n }\n if (options.immediate)\n Promise.resolve().then(() => execute());\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n };\n}\nfunction joinPaths(start, end) {\n if (!start.endsWith(\"/\") && !end.startsWith(\"/\"))\n return `${start}/${end}`;\n return `${start}${end}`;\n}\n\nconst DEFAULT_OPTIONS = {\n multiple: true,\n accept: \"*\",\n reset: false,\n directory: false\n};\nfunction useFileDialog(options = {}) {\n const {\n document = defaultDocument\n } = options;\n const files = ref(null);\n const { on: onChange, trigger } = createEventHook();\n let input;\n if (document) {\n input = document.createElement(\"input\");\n input.type = \"file\";\n input.onchange = (event) => {\n const result = event.target;\n files.value = result.files;\n trigger(files.value);\n };\n }\n const reset = () => {\n files.value = null;\n if (input)\n input.value = \"\";\n };\n const open = (localOptions) => {\n if (!input)\n return;\n const _options = {\n ...DEFAULT_OPTIONS,\n ...options,\n ...localOptions\n };\n input.multiple = _options.multiple;\n input.accept = _options.accept;\n input.webkitdirectory = _options.directory;\n if (hasOwn(_options, \"capture\"))\n input.capture = _options.capture;\n if (_options.reset)\n reset();\n input.click();\n };\n return {\n files: readonly(files),\n open,\n reset,\n onChange\n };\n}\n\nfunction useFileSystemAccess(options = {}) {\n const {\n window: _window = defaultWindow,\n dataType = \"Text\"\n } = options;\n const window = _window;\n const isSupported = useSupported(() => window && \"showSaveFilePicker\" in window && \"showOpenFilePicker\" in window);\n const fileHandle = ref();\n const data = ref();\n const file = ref();\n const fileName = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.name) != null ? _b : \"\";\n });\n const fileMIME = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.type) != null ? _b : \"\";\n });\n const fileSize = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.size) != null ? _b : 0;\n });\n const fileLastModified = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.lastModified) != null ? _b : 0;\n });\n async function open(_options = {}) {\n if (!isSupported.value)\n return;\n const [handle] = await window.showOpenFilePicker({ ...toValue(options), ..._options });\n fileHandle.value = handle;\n await updateFile();\n await updateData();\n }\n async function create(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker({ ...options, ..._options });\n data.value = void 0;\n await updateFile();\n await updateData();\n }\n async function save(_options = {}) {\n if (!isSupported.value)\n return;\n if (!fileHandle.value)\n return saveAs(_options);\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function saveAs(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker({ ...options, ..._options });\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function updateFile() {\n var _a;\n file.value = await ((_a = fileHandle.value) == null ? void 0 : _a.getFile());\n }\n async function updateData() {\n var _a, _b;\n const type = toValue(dataType);\n if (type === \"Text\")\n data.value = await ((_a = file.value) == null ? void 0 : _a.text());\n else if (type === \"ArrayBuffer\")\n data.value = await ((_b = file.value) == null ? void 0 : _b.arrayBuffer());\n else if (type === \"Blob\")\n data.value = file.value;\n }\n watch(() => toValue(dataType), updateData);\n return {\n isSupported,\n data,\n file,\n fileName,\n fileMIME,\n fileSize,\n fileLastModified,\n open,\n create,\n save,\n saveAs,\n updateData\n };\n}\n\nfunction useFocus(target, options = {}) {\n const { initialValue = false, focusVisible = false } = options;\n const innerFocused = ref(false);\n const targetElement = computed(() => unrefElement(target));\n useEventListener(targetElement, \"focus\", (event) => {\n var _a, _b;\n if (!focusVisible || ((_b = (_a = event.target).matches) == null ? void 0 : _b.call(_a, \":focus-visible\")))\n innerFocused.value = true;\n });\n useEventListener(targetElement, \"blur\", () => innerFocused.value = false);\n const focused = computed({\n get: () => innerFocused.value,\n set(value) {\n var _a, _b;\n if (!value && innerFocused.value)\n (_a = targetElement.value) == null ? void 0 : _a.blur();\n else if (value && !innerFocused.value)\n (_b = targetElement.value) == null ? void 0 : _b.focus();\n }\n });\n watch(\n targetElement,\n () => {\n focused.value = initialValue;\n },\n { immediate: true, flush: \"post\" }\n );\n return { focused };\n}\n\nfunction useFocusWithin(target, options = {}) {\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed(() => targetElement.value && activeElement.value ? targetElement.value.contains(activeElement.value) : false);\n return { focused };\n}\n\nfunction useFps(options) {\n var _a;\n const fps = ref(0);\n if (typeof performance === \"undefined\")\n return fps;\n const every = (_a = options == null ? void 0 : options.every) != null ? _a : 10;\n let last = performance.now();\n let ticks = 0;\n useRafFn(() => {\n ticks += 1;\n if (ticks >= every) {\n const now = performance.now();\n const diff = now - last;\n fps.value = Math.round(1e3 / (diff / ticks));\n last = now;\n ticks = 0;\n }\n });\n return fps;\n}\n\nconst eventHandlers = [\n \"fullscreenchange\",\n \"webkitfullscreenchange\",\n \"webkitendfullscreen\",\n \"mozfullscreenchange\",\n \"MSFullscreenChange\"\n];\nfunction useFullscreen(target, options = {}) {\n const {\n document = defaultDocument,\n autoExit = false\n } = options;\n const targetRef = computed(() => {\n var _a;\n return (_a = unrefElement(target)) != null ? _a : document == null ? void 0 : document.querySelector(\"html\");\n });\n const isFullscreen = ref(false);\n const requestMethod = computed(() => {\n return [\n \"requestFullscreen\",\n \"webkitRequestFullscreen\",\n \"webkitEnterFullscreen\",\n \"webkitEnterFullScreen\",\n \"webkitRequestFullScreen\",\n \"mozRequestFullScreen\",\n \"msRequestFullscreen\"\n ].find((m) => document && m in document || targetRef.value && m in targetRef.value);\n });\n const exitMethod = computed(() => {\n return [\n \"exitFullscreen\",\n \"webkitExitFullscreen\",\n \"webkitExitFullScreen\",\n \"webkitCancelFullScreen\",\n \"mozCancelFullScreen\",\n \"msExitFullscreen\"\n ].find((m) => document && m in document || targetRef.value && m in targetRef.value);\n });\n const fullscreenEnabled = computed(() => {\n return [\n \"fullScreen\",\n \"webkitIsFullScreen\",\n \"webkitDisplayingFullscreen\",\n \"mozFullScreen\",\n \"msFullscreenElement\"\n ].find((m) => document && m in document || targetRef.value && m in targetRef.value);\n });\n const fullscreenElementMethod = [\n \"fullscreenElement\",\n \"webkitFullscreenElement\",\n \"mozFullScreenElement\",\n \"msFullscreenElement\"\n ].find((m) => document && m in document);\n const isSupported = useSupported(() => targetRef.value && document && requestMethod.value !== void 0 && exitMethod.value !== void 0 && fullscreenEnabled.value !== void 0);\n const isCurrentElementFullScreen = () => {\n if (fullscreenElementMethod)\n return (document == null ? void 0 : document[fullscreenElementMethod]) === targetRef.value;\n return false;\n };\n const isElementFullScreen = () => {\n if (fullscreenEnabled.value) {\n if (document && document[fullscreenEnabled.value] != null) {\n return document[fullscreenEnabled.value];\n } else {\n const target2 = targetRef.value;\n if ((target2 == null ? void 0 : target2[fullscreenEnabled.value]) != null) {\n return Boolean(target2[fullscreenEnabled.value]);\n }\n }\n }\n return false;\n };\n async function exit() {\n if (!isSupported.value || !isFullscreen.value)\n return;\n if (exitMethod.value) {\n if ((document == null ? void 0 : document[exitMethod.value]) != null) {\n await document[exitMethod.value]();\n } else {\n const target2 = targetRef.value;\n if ((target2 == null ? void 0 : target2[exitMethod.value]) != null)\n await target2[exitMethod.value]();\n }\n }\n isFullscreen.value = false;\n }\n async function enter() {\n if (!isSupported.value || isFullscreen.value)\n return;\n if (isElementFullScreen())\n await exit();\n const target2 = targetRef.value;\n if (requestMethod.value && (target2 == null ? void 0 : target2[requestMethod.value]) != null) {\n await target2[requestMethod.value]();\n isFullscreen.value = true;\n }\n }\n async function toggle() {\n await (isFullscreen.value ? exit() : enter());\n }\n const handlerCallback = () => {\n const isElementFullScreenValue = isElementFullScreen();\n if (!isElementFullScreenValue || isElementFullScreenValue && isCurrentElementFullScreen())\n isFullscreen.value = isElementFullScreenValue;\n };\n useEventListener(document, eventHandlers, handlerCallback, false);\n useEventListener(() => unrefElement(targetRef), eventHandlers, handlerCallback, false);\n if (autoExit)\n tryOnScopeDispose(exit);\n return {\n isSupported,\n isFullscreen,\n enter,\n exit,\n toggle\n };\n}\n\nfunction mapGamepadToXbox360Controller(gamepad) {\n return computed(() => {\n if (gamepad.value) {\n return {\n buttons: {\n a: gamepad.value.buttons[0],\n b: gamepad.value.buttons[1],\n x: gamepad.value.buttons[2],\n y: gamepad.value.buttons[3]\n },\n bumper: {\n left: gamepad.value.buttons[4],\n right: gamepad.value.buttons[5]\n },\n triggers: {\n left: gamepad.value.buttons[6],\n right: gamepad.value.buttons[7]\n },\n stick: {\n left: {\n horizontal: gamepad.value.axes[0],\n vertical: gamepad.value.axes[1],\n button: gamepad.value.buttons[10]\n },\n right: {\n horizontal: gamepad.value.axes[2],\n vertical: gamepad.value.axes[3],\n button: gamepad.value.buttons[11]\n }\n },\n dpad: {\n up: gamepad.value.buttons[12],\n down: gamepad.value.buttons[13],\n left: gamepad.value.buttons[14],\n right: gamepad.value.buttons[15]\n },\n back: gamepad.value.buttons[8],\n start: gamepad.value.buttons[9]\n };\n }\n return null;\n });\n}\nfunction useGamepad(options = {}) {\n const {\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"getGamepads\" in navigator);\n const gamepads = ref([]);\n const onConnectedHook = createEventHook();\n const onDisconnectedHook = createEventHook();\n const stateFromGamepad = (gamepad) => {\n const hapticActuators = [];\n const vibrationActuator = \"vibrationActuator\" in gamepad ? gamepad.vibrationActuator : null;\n if (vibrationActuator)\n hapticActuators.push(vibrationActuator);\n if (gamepad.hapticActuators)\n hapticActuators.push(...gamepad.hapticActuators);\n return {\n ...gamepad,\n id: gamepad.id,\n hapticActuators,\n axes: gamepad.axes.map((axes) => axes),\n buttons: gamepad.buttons.map((button) => ({ pressed: button.pressed, touched: button.touched, value: button.value }))\n };\n };\n const updateGamepadState = () => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad) {\n const index = gamepads.value.findIndex(({ index: index2 }) => index2 === gamepad.index);\n if (index > -1)\n gamepads.value[index] = stateFromGamepad(gamepad);\n }\n }\n };\n const { isActive, pause, resume } = useRafFn(updateGamepadState);\n const onGamepadConnected = (gamepad) => {\n if (!gamepads.value.some(({ index }) => index === gamepad.index)) {\n gamepads.value.push(stateFromGamepad(gamepad));\n onConnectedHook.trigger(gamepad.index);\n }\n resume();\n };\n const onGamepadDisconnected = (gamepad) => {\n gamepads.value = gamepads.value.filter((x) => x.index !== gamepad.index);\n onDisconnectedHook.trigger(gamepad.index);\n };\n useEventListener(\"gamepadconnected\", (e) => onGamepadConnected(e.gamepad));\n useEventListener(\"gamepaddisconnected\", (e) => onGamepadDisconnected(e.gamepad));\n tryOnMounted(() => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n if (_gamepads) {\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad)\n onGamepadConnected(gamepad);\n }\n }\n });\n pause();\n return {\n isSupported,\n onConnected: onConnectedHook.on,\n onDisconnected: onDisconnectedHook.on,\n gamepads,\n pause,\n resume,\n isActive\n };\n}\n\nfunction useGeolocation(options = {}) {\n const {\n enableHighAccuracy = true,\n maximumAge = 3e4,\n timeout = 27e3,\n navigator = defaultNavigator,\n immediate = true\n } = options;\n const isSupported = useSupported(() => navigator && \"geolocation\" in navigator);\n const locatedAt = ref(null);\n const error = shallowRef(null);\n const coords = ref({\n accuracy: 0,\n latitude: Number.POSITIVE_INFINITY,\n longitude: Number.POSITIVE_INFINITY,\n altitude: null,\n altitudeAccuracy: null,\n heading: null,\n speed: null\n });\n function updatePosition(position) {\n locatedAt.value = position.timestamp;\n coords.value = position.coords;\n error.value = null;\n }\n let watcher;\n function resume() {\n if (isSupported.value) {\n watcher = navigator.geolocation.watchPosition(\n updatePosition,\n (err) => error.value = err,\n {\n enableHighAccuracy,\n maximumAge,\n timeout\n }\n );\n }\n }\n if (immediate)\n resume();\n function pause() {\n if (watcher && navigator)\n navigator.geolocation.clearWatch(watcher);\n }\n tryOnScopeDispose(() => {\n pause();\n });\n return {\n isSupported,\n coords,\n locatedAt,\n error,\n resume,\n pause\n };\n}\n\nconst defaultEvents$1 = [\"mousemove\", \"mousedown\", \"resize\", \"keydown\", \"touchstart\", \"wheel\"];\nconst oneMinute = 6e4;\nfunction useIdle(timeout = oneMinute, options = {}) {\n const {\n initialState = false,\n listenForVisibilityChange = true,\n events = defaultEvents$1,\n window = defaultWindow,\n eventFilter = throttleFilter(50)\n } = options;\n const idle = ref(initialState);\n const lastActive = ref(timestamp());\n let timer;\n const reset = () => {\n idle.value = false;\n clearTimeout(timer);\n timer = setTimeout(() => idle.value = true, timeout);\n };\n const onEvent = createFilterWrapper(\n eventFilter,\n () => {\n lastActive.value = timestamp();\n reset();\n }\n );\n if (window) {\n const document = window.document;\n for (const event of events)\n useEventListener(window, event, onEvent, { passive: true });\n if (listenForVisibilityChange) {\n useEventListener(document, \"visibilitychange\", () => {\n if (!document.hidden)\n onEvent();\n });\n }\n reset();\n }\n return {\n idle,\n lastActive,\n reset\n };\n}\n\nasync function loadImage(options) {\n return new Promise((resolve, reject) => {\n const img = new Image();\n const { src, srcset, sizes, class: clazz, loading, crossorigin, referrerPolicy } = options;\n img.src = src;\n if (srcset)\n img.srcset = srcset;\n if (sizes)\n img.sizes = sizes;\n if (clazz)\n img.className = clazz;\n if (loading)\n img.loading = loading;\n if (crossorigin)\n img.crossOrigin = crossorigin;\n if (referrerPolicy)\n img.referrerPolicy = referrerPolicy;\n img.onload = () => resolve(img);\n img.onerror = reject;\n });\n}\nfunction useImage(options, asyncStateOptions = {}) {\n const state = useAsyncState(\n () => loadImage(toValue(options)),\n void 0,\n {\n resetOnExecute: true,\n ...asyncStateOptions\n }\n );\n watch(\n () => toValue(options),\n () => state.execute(asyncStateOptions.delay),\n { deep: true }\n );\n return state;\n}\n\nconst ARRIVED_STATE_THRESHOLD_PIXELS = 1;\nfunction useScroll(element, options = {}) {\n const {\n throttle = 0,\n idle = 200,\n onStop = noop,\n onScroll = noop,\n offset = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n },\n eventListenerOptions = {\n capture: false,\n passive: true\n },\n behavior = \"auto\",\n window = defaultWindow\n } = options;\n const internalX = ref(0);\n const internalY = ref(0);\n const x = computed({\n get() {\n return internalX.value;\n },\n set(x2) {\n scrollTo(x2, void 0);\n }\n });\n const y = computed({\n get() {\n return internalY.value;\n },\n set(y2) {\n scrollTo(void 0, y2);\n }\n });\n function scrollTo(_x, _y) {\n var _a, _b, _c;\n if (!window)\n return;\n const _element = toValue(element);\n if (!_element)\n return;\n (_c = _element instanceof Document ? window.document.body : _element) == null ? void 0 : _c.scrollTo({\n top: (_a = toValue(_y)) != null ? _a : y.value,\n left: (_b = toValue(_x)) != null ? _b : x.value,\n behavior: toValue(behavior)\n });\n }\n const isScrolling = ref(false);\n const arrivedState = reactive({\n left: true,\n right: false,\n top: true,\n bottom: false\n });\n const directions = reactive({\n left: false,\n right: false,\n top: false,\n bottom: false\n });\n const onScrollEnd = (e) => {\n if (!isScrolling.value)\n return;\n isScrolling.value = false;\n directions.left = false;\n directions.right = false;\n directions.top = false;\n directions.bottom = false;\n onStop(e);\n };\n const onScrollEndDebounced = useDebounceFn(onScrollEnd, throttle + idle);\n const setArrivedState = (target) => {\n var _a;\n if (!window)\n return;\n const el = target.document ? target.document.documentElement : (_a = target.documentElement) != null ? _a : target;\n const { display, flexDirection } = getComputedStyle(el);\n const scrollLeft = el.scrollLeft;\n directions.left = scrollLeft < internalX.value;\n directions.right = scrollLeft > internalX.value;\n const left = Math.abs(scrollLeft) <= 0 + (offset.left || 0);\n const right = Math.abs(scrollLeft) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n if (display === \"flex\" && flexDirection === \"row-reverse\") {\n arrivedState.left = right;\n arrivedState.right = left;\n } else {\n arrivedState.left = left;\n arrivedState.right = right;\n }\n internalX.value = scrollLeft;\n let scrollTop = el.scrollTop;\n if (target === window.document && !scrollTop)\n scrollTop = window.document.body.scrollTop;\n directions.top = scrollTop < internalY.value;\n directions.bottom = scrollTop > internalY.value;\n const top = Math.abs(scrollTop) <= 0 + (offset.top || 0);\n const bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n if (display === \"flex\" && flexDirection === \"column-reverse\") {\n arrivedState.top = bottom;\n arrivedState.bottom = top;\n } else {\n arrivedState.top = top;\n arrivedState.bottom = bottom;\n }\n internalY.value = scrollTop;\n };\n const onScrollHandler = (e) => {\n var _a;\n if (!window)\n return;\n const eventTarget = (_a = e.target.documentElement) != null ? _a : e.target;\n setArrivedState(eventTarget);\n isScrolling.value = true;\n onScrollEndDebounced(e);\n onScroll(e);\n };\n useEventListener(\n element,\n \"scroll\",\n throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler,\n eventListenerOptions\n );\n tryOnMounted(() => {\n const _element = toValue(element);\n if (!_element)\n return;\n setArrivedState(_element);\n });\n useEventListener(\n element,\n \"scrollend\",\n onScrollEnd,\n eventListenerOptions\n );\n return {\n x,\n y,\n isScrolling,\n arrivedState,\n directions,\n measure() {\n const _element = toValue(element);\n if (window && _element)\n setArrivedState(_element);\n }\n };\n}\n\nfunction resolveElement(el) {\n if (typeof Window !== \"undefined\" && el instanceof Window)\n return el.document.documentElement;\n if (typeof Document !== \"undefined\" && el instanceof Document)\n return el.documentElement;\n return el;\n}\n\nfunction useInfiniteScroll(element, onLoadMore, options = {}) {\n var _a;\n const {\n direction = \"bottom\",\n interval = 100\n } = options;\n const state = reactive(useScroll(\n element,\n {\n ...options,\n offset: {\n [direction]: (_a = options.distance) != null ? _a : 0,\n ...options.offset\n }\n }\n ));\n const promise = ref();\n const isLoading = computed(() => !!promise.value);\n const observedElement = computed(() => {\n return resolveElement(toValue(element));\n });\n const isElementVisible = useElementVisibility(observedElement);\n function checkAndLoad() {\n state.measure();\n if (!observedElement.value || !isElementVisible.value)\n return;\n const { scrollHeight, clientHeight, scrollWidth, clientWidth } = observedElement.value;\n const isNarrower = direction === \"bottom\" || direction === \"top\" ? scrollHeight <= clientHeight : scrollWidth <= clientWidth;\n if (state.arrivedState[direction] || isNarrower) {\n if (!promise.value) {\n promise.value = Promise.all([\n onLoadMore(state),\n new Promise((resolve) => setTimeout(resolve, interval))\n ]).finally(() => {\n promise.value = null;\n nextTick(() => checkAndLoad());\n });\n }\n }\n }\n watch(\n () => [state.arrivedState[direction], isElementVisible.value],\n checkAndLoad,\n { immediate: true }\n );\n return {\n isLoading\n };\n}\n\nconst defaultEvents = [\"mousedown\", \"mouseup\", \"keydown\", \"keyup\"];\nfunction useKeyModifier(modifier, options = {}) {\n const {\n events = defaultEvents,\n document = defaultDocument,\n initial = null\n } = options;\n const state = ref(initial);\n if (document) {\n events.forEach((listenerEvent) => {\n useEventListener(document, listenerEvent, (evt) => {\n if (typeof evt.getModifierState === \"function\")\n state.value = evt.getModifierState(modifier);\n });\n });\n }\n return state;\n}\n\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);\n}\n\nconst DefaultMagicKeysAliasMap = {\n ctrl: \"control\",\n command: \"meta\",\n cmd: \"meta\",\n option: \"alt\",\n up: \"arrowup\",\n down: \"arrowdown\",\n left: \"arrowleft\",\n right: \"arrowright\"\n};\n\nfunction useMagicKeys(options = {}) {\n const {\n reactive: useReactive = false,\n target = defaultWindow,\n aliasMap = DefaultMagicKeysAliasMap,\n passive = true,\n onEventFired = noop\n } = options;\n const current = reactive(/* @__PURE__ */ new Set());\n const obj = {\n toJSON() {\n return {};\n },\n current\n };\n const refs = useReactive ? reactive(obj) : obj;\n const metaDeps = /* @__PURE__ */ new Set();\n const usedKeys = /* @__PURE__ */ new Set();\n function setRefs(key, value) {\n if (key in refs) {\n if (useReactive)\n refs[key] = value;\n else\n refs[key].value = value;\n }\n }\n function reset() {\n current.clear();\n for (const key of usedKeys)\n setRefs(key, false);\n }\n function updateRefs(e, value) {\n var _a, _b;\n const key = (_a = e.key) == null ? void 0 : _a.toLowerCase();\n const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();\n const values = [code, key].filter(Boolean);\n if (key) {\n if (value)\n current.add(key);\n else\n current.delete(key);\n }\n for (const key2 of values) {\n usedKeys.add(key2);\n setRefs(key2, value);\n }\n if (key === \"meta\" && !value) {\n metaDeps.forEach((key2) => {\n current.delete(key2);\n setRefs(key2, false);\n });\n metaDeps.clear();\n } else if (typeof e.getModifierState === \"function\" && e.getModifierState(\"Meta\") && value) {\n [...current, ...values].forEach((key2) => metaDeps.add(key2));\n }\n }\n useEventListener(target, \"keydown\", (e) => {\n updateRefs(e, true);\n return onEventFired(e);\n }, { passive });\n useEventListener(target, \"keyup\", (e) => {\n updateRefs(e, false);\n return onEventFired(e);\n }, { passive });\n useEventListener(\"blur\", reset, { passive: true });\n useEventListener(\"focus\", reset, { passive: true });\n const proxy = new Proxy(\n refs,\n {\n get(target2, prop, rec) {\n if (typeof prop !== \"string\")\n return Reflect.get(target2, prop, rec);\n prop = prop.toLowerCase();\n if (prop in aliasMap)\n prop = aliasMap[prop];\n if (!(prop in refs)) {\n if (/[+_-]/.test(prop)) {\n const keys = prop.split(/[+_-]/g).map((i) => i.trim());\n refs[prop] = computed(() => keys.every((key) => toValue(proxy[key])));\n } else {\n refs[prop] = ref(false);\n }\n }\n const r = Reflect.get(target2, prop, rec);\n return useReactive ? toValue(r) : r;\n }\n }\n );\n return proxy;\n}\n\nfunction usingElRef(source, cb) {\n if (toValue(source))\n cb(toValue(source));\n}\nfunction timeRangeToArray(timeRanges) {\n let ranges = [];\n for (let i = 0; i < timeRanges.length; ++i)\n ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]];\n return ranges;\n}\nfunction tracksToArray(tracks) {\n return Array.from(tracks).map(({ label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }, id) => ({ id, label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }));\n}\nconst defaultOptions = {\n src: \"\",\n tracks: []\n};\nfunction useMediaControls(target, options = {}) {\n options = {\n ...defaultOptions,\n ...options\n };\n const {\n document = defaultDocument\n } = options;\n const currentTime = ref(0);\n const duration = ref(0);\n const seeking = ref(false);\n const volume = ref(1);\n const waiting = ref(false);\n const ended = ref(false);\n const playing = ref(false);\n const rate = ref(1);\n const stalled = ref(false);\n const buffered = ref([]);\n const tracks = ref([]);\n const selectedTrack = ref(-1);\n const isPictureInPicture = ref(false);\n const muted = ref(false);\n const supportsPictureInPicture = document && \"pictureInPictureEnabled\" in document;\n const sourceErrorEvent = createEventHook();\n const disableTrack = (track) => {\n usingElRef(target, (el) => {\n if (track) {\n const id = typeof track === \"number\" ? track : track.id;\n el.textTracks[id].mode = \"disabled\";\n } else {\n for (let i = 0; i < el.textTracks.length; ++i)\n el.textTracks[i].mode = \"disabled\";\n }\n selectedTrack.value = -1;\n });\n };\n const enableTrack = (track, disableTracks = true) => {\n usingElRef(target, (el) => {\n const id = typeof track === \"number\" ? track : track.id;\n if (disableTracks)\n disableTrack();\n el.textTracks[id].mode = \"showing\";\n selectedTrack.value = id;\n });\n };\n const togglePictureInPicture = () => {\n return new Promise((resolve, reject) => {\n usingElRef(target, async (el) => {\n if (supportsPictureInPicture) {\n if (!isPictureInPicture.value) {\n el.requestPictureInPicture().then(resolve).catch(reject);\n } else {\n document.exitPictureInPicture().then(resolve).catch(reject);\n }\n }\n });\n });\n };\n watchEffect(() => {\n if (!document)\n return;\n const el = toValue(target);\n if (!el)\n return;\n const src = toValue(options.src);\n let sources = [];\n if (!src)\n return;\n if (typeof src === \"string\")\n sources = [{ src }];\n else if (Array.isArray(src))\n sources = src;\n else if (isObject(src))\n sources = [src];\n el.querySelectorAll(\"source\").forEach((e) => {\n e.removeEventListener(\"error\", sourceErrorEvent.trigger);\n e.remove();\n });\n sources.forEach(({ src: src2, type }) => {\n const source = document.createElement(\"source\");\n source.setAttribute(\"src\", src2);\n source.setAttribute(\"type\", type || \"\");\n source.addEventListener(\"error\", sourceErrorEvent.trigger);\n el.appendChild(source);\n });\n el.load();\n });\n tryOnScopeDispose(() => {\n const el = toValue(target);\n if (!el)\n return;\n el.querySelectorAll(\"source\").forEach((e) => e.removeEventListener(\"error\", sourceErrorEvent.trigger));\n });\n watch([target, volume], () => {\n const el = toValue(target);\n if (!el)\n return;\n el.volume = volume.value;\n });\n watch([target, muted], () => {\n const el = toValue(target);\n if (!el)\n return;\n el.muted = muted.value;\n });\n watch([target, rate], () => {\n const el = toValue(target);\n if (!el)\n return;\n el.playbackRate = rate.value;\n });\n watchEffect(() => {\n if (!document)\n return;\n const textTracks = toValue(options.tracks);\n const el = toValue(target);\n if (!textTracks || !textTracks.length || !el)\n return;\n el.querySelectorAll(\"track\").forEach((e) => e.remove());\n textTracks.forEach(({ default: isDefault, kind, label, src, srcLang }, i) => {\n const track = document.createElement(\"track\");\n track.default = isDefault || false;\n track.kind = kind;\n track.label = label;\n track.src = src;\n track.srclang = srcLang;\n if (track.default)\n selectedTrack.value = i;\n el.appendChild(track);\n });\n });\n const { ignoreUpdates: ignoreCurrentTimeUpdates } = watchIgnorable(currentTime, (time) => {\n const el = toValue(target);\n if (!el)\n return;\n el.currentTime = time;\n });\n const { ignoreUpdates: ignorePlayingUpdates } = watchIgnorable(playing, (isPlaying) => {\n const el = toValue(target);\n if (!el)\n return;\n isPlaying ? el.play() : el.pause();\n });\n useEventListener(target, \"timeupdate\", () => ignoreCurrentTimeUpdates(() => currentTime.value = toValue(target).currentTime));\n useEventListener(target, \"durationchange\", () => duration.value = toValue(target).duration);\n useEventListener(target, \"progress\", () => buffered.value = timeRangeToArray(toValue(target).buffered));\n useEventListener(target, \"seeking\", () => seeking.value = true);\n useEventListener(target, \"seeked\", () => seeking.value = false);\n useEventListener(target, [\"waiting\", \"loadstart\"], () => {\n waiting.value = true;\n ignorePlayingUpdates(() => playing.value = false);\n });\n useEventListener(target, \"loadeddata\", () => waiting.value = false);\n useEventListener(target, \"playing\", () => {\n waiting.value = false;\n ended.value = false;\n ignorePlayingUpdates(() => playing.value = true);\n });\n useEventListener(target, \"ratechange\", () => rate.value = toValue(target).playbackRate);\n useEventListener(target, \"stalled\", () => stalled.value = true);\n useEventListener(target, \"ended\", () => ended.value = true);\n useEventListener(target, \"pause\", () => ignorePlayingUpdates(() => playing.value = false));\n useEventListener(target, \"play\", () => ignorePlayingUpdates(() => playing.value = true));\n useEventListener(target, \"enterpictureinpicture\", () => isPictureInPicture.value = true);\n useEventListener(target, \"leavepictureinpicture\", () => isPictureInPicture.value = false);\n useEventListener(target, \"volumechange\", () => {\n const el = toValue(target);\n if (!el)\n return;\n volume.value = el.volume;\n muted.value = el.muted;\n });\n const listeners = [];\n const stop = watch([target], () => {\n const el = toValue(target);\n if (!el)\n return;\n stop();\n listeners[0] = useEventListener(el.textTracks, \"addtrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[1] = useEventListener(el.textTracks, \"removetrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[2] = useEventListener(el.textTracks, \"change\", () => tracks.value = tracksToArray(el.textTracks));\n });\n tryOnScopeDispose(() => listeners.forEach((listener) => listener()));\n return {\n currentTime,\n duration,\n waiting,\n seeking,\n ended,\n stalled,\n buffered,\n playing,\n rate,\n // Volume\n volume,\n muted,\n // Tracks\n tracks,\n selectedTrack,\n enableTrack,\n disableTrack,\n // Picture in Picture\n supportsPictureInPicture,\n togglePictureInPicture,\n isPictureInPicture,\n // Events\n onSourceError: sourceErrorEvent.on\n };\n}\n\nfunction getMapVue2Compat() {\n const data = reactive({});\n return {\n get: (key) => data[key],\n set: (key, value) => set(data, key, value),\n has: (key) => hasOwn(data, key),\n delete: (key) => del(data, key),\n clear: () => {\n Object.keys(data).forEach((key) => {\n del(data, key);\n });\n }\n };\n}\nfunction useMemoize(resolver, options) {\n const initCache = () => {\n if (options == null ? void 0 : options.cache)\n return reactive(options.cache);\n if (isVue2)\n return getMapVue2Compat();\n return reactive(/* @__PURE__ */ new Map());\n };\n const cache = initCache();\n const generateKey = (...args) => (options == null ? void 0 : options.getKey) ? options.getKey(...args) : JSON.stringify(args);\n const _loadData = (key, ...args) => {\n cache.set(key, resolver(...args));\n return cache.get(key);\n };\n const loadData = (...args) => _loadData(generateKey(...args), ...args);\n const deleteData = (...args) => {\n cache.delete(generateKey(...args));\n };\n const clearData = () => {\n cache.clear();\n };\n const memoized = (...args) => {\n const key = generateKey(...args);\n if (cache.has(key))\n return cache.get(key);\n return _loadData(key, ...args);\n };\n memoized.load = loadData;\n memoized.delete = deleteData;\n memoized.clear = clearData;\n memoized.generateKey = generateKey;\n memoized.cache = cache;\n return memoized;\n}\n\nfunction useMemory(options = {}) {\n const memory = ref();\n const isSupported = useSupported(() => typeof performance !== \"undefined\" && \"memory\" in performance);\n if (isSupported.value) {\n const { interval = 1e3 } = options;\n useIntervalFn(() => {\n memory.value = performance.memory;\n }, interval, { immediate: options.immediate, immediateCallback: options.immediateCallback });\n }\n return { isSupported, memory };\n}\n\nconst UseMouseBuiltinExtractors = {\n page: (event) => [event.pageX, event.pageY],\n client: (event) => [event.clientX, event.clientY],\n screen: (event) => [event.screenX, event.screenY],\n movement: (event) => event instanceof Touch ? null : [event.movementX, event.movementY]\n};\nfunction useMouse(options = {}) {\n const {\n type = \"page\",\n touch = true,\n resetOnTouchEnds = false,\n initialValue = { x: 0, y: 0 },\n window = defaultWindow,\n target = window,\n scroll = true,\n eventFilter\n } = options;\n let _prevMouseEvent = null;\n const x = ref(initialValue.x);\n const y = ref(initialValue.y);\n const sourceType = ref(null);\n const extractor = typeof type === \"function\" ? type : UseMouseBuiltinExtractors[type];\n const mouseHandler = (event) => {\n const result = extractor(event);\n _prevMouseEvent = event;\n if (result) {\n [x.value, y.value] = result;\n sourceType.value = \"mouse\";\n }\n };\n const touchHandler = (event) => {\n if (event.touches.length > 0) {\n const result = extractor(event.touches[0]);\n if (result) {\n [x.value, y.value] = result;\n sourceType.value = \"touch\";\n }\n }\n };\n const scrollHandler = () => {\n if (!_prevMouseEvent || !window)\n return;\n const pos = extractor(_prevMouseEvent);\n if (_prevMouseEvent instanceof MouseEvent && pos) {\n x.value = pos[0] + window.scrollX;\n y.value = pos[1] + window.scrollY;\n }\n };\n const reset = () => {\n x.value = initialValue.x;\n y.value = initialValue.y;\n };\n const mouseHandlerWrapper = eventFilter ? (event) => eventFilter(() => mouseHandler(event), {}) : (event) => mouseHandler(event);\n const touchHandlerWrapper = eventFilter ? (event) => eventFilter(() => touchHandler(event), {}) : (event) => touchHandler(event);\n const scrollHandlerWrapper = eventFilter ? () => eventFilter(() => scrollHandler(), {}) : () => scrollHandler();\n if (target) {\n const listenerOptions = { passive: true };\n useEventListener(target, [\"mousemove\", \"dragover\"], mouseHandlerWrapper, listenerOptions);\n if (touch && type !== \"movement\") {\n useEventListener(target, [\"touchstart\", \"touchmove\"], touchHandlerWrapper, listenerOptions);\n if (resetOnTouchEnds)\n useEventListener(target, \"touchend\", reset, listenerOptions);\n }\n if (scroll && type === \"page\")\n useEventListener(window, \"scroll\", scrollHandlerWrapper, { passive: true });\n }\n return {\n x,\n y,\n sourceType\n };\n}\n\nfunction useMouseInElement(target, options = {}) {\n const {\n handleOutside = true,\n window = defaultWindow\n } = options;\n const type = options.type || \"page\";\n const { x, y, sourceType } = useMouse(options);\n const targetRef = ref(target != null ? target : window == null ? void 0 : window.document.body);\n const elementX = ref(0);\n const elementY = ref(0);\n const elementPositionX = ref(0);\n const elementPositionY = ref(0);\n const elementHeight = ref(0);\n const elementWidth = ref(0);\n const isOutside = ref(true);\n let stop = () => {\n };\n if (window) {\n stop = watch(\n [targetRef, x, y],\n () => {\n const el = unrefElement(targetRef);\n if (!el)\n return;\n const {\n left,\n top,\n width,\n height\n } = el.getBoundingClientRect();\n elementPositionX.value = left + (type === \"page\" ? window.pageXOffset : 0);\n elementPositionY.value = top + (type === \"page\" ? window.pageYOffset : 0);\n elementHeight.value = height;\n elementWidth.value = width;\n const elX = x.value - elementPositionX.value;\n const elY = y.value - elementPositionY.value;\n isOutside.value = width === 0 || height === 0 || elX < 0 || elY < 0 || elX > width || elY > height;\n if (handleOutside || !isOutside.value) {\n elementX.value = elX;\n elementY.value = elY;\n }\n },\n { immediate: true }\n );\n useEventListener(document, \"mouseleave\", () => {\n isOutside.value = true;\n });\n }\n return {\n x,\n y,\n sourceType,\n elementX,\n elementY,\n elementPositionX,\n elementPositionY,\n elementHeight,\n elementWidth,\n isOutside,\n stop\n };\n}\n\nfunction useMousePressed(options = {}) {\n const {\n touch = true,\n drag = true,\n capture = false,\n initialValue = false,\n window = defaultWindow\n } = options;\n const pressed = ref(initialValue);\n const sourceType = ref(null);\n if (!window) {\n return {\n pressed,\n sourceType\n };\n }\n const onPressed = (srcType) => () => {\n pressed.value = true;\n sourceType.value = srcType;\n };\n const onReleased = () => {\n pressed.value = false;\n sourceType.value = null;\n };\n const target = computed(() => unrefElement(options.target) || window);\n useEventListener(target, \"mousedown\", onPressed(\"mouse\"), { passive: true, capture });\n useEventListener(window, \"mouseleave\", onReleased, { passive: true, capture });\n useEventListener(window, \"mouseup\", onReleased, { passive: true, capture });\n if (drag) {\n useEventListener(target, \"dragstart\", onPressed(\"mouse\"), { passive: true, capture });\n useEventListener(window, \"drop\", onReleased, { passive: true, capture });\n useEventListener(window, \"dragend\", onReleased, { passive: true, capture });\n }\n if (touch) {\n useEventListener(target, \"touchstart\", onPressed(\"touch\"), { passive: true, capture });\n useEventListener(window, \"touchend\", onReleased, { passive: true, capture });\n useEventListener(window, \"touchcancel\", onReleased, { passive: true, capture });\n }\n return {\n pressed,\n sourceType\n };\n}\n\nfunction useNavigatorLanguage(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"language\" in navigator);\n const language = ref(navigator == null ? void 0 : navigator.language);\n useEventListener(window, \"languagechange\", () => {\n if (navigator)\n language.value = navigator.language;\n });\n return {\n isSupported,\n language\n };\n}\n\nfunction useNetwork(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"connection\" in navigator);\n const isOnline = ref(true);\n const saveData = ref(false);\n const offlineAt = ref(void 0);\n const onlineAt = ref(void 0);\n const downlink = ref(void 0);\n const downlinkMax = ref(void 0);\n const rtt = ref(void 0);\n const effectiveType = ref(void 0);\n const type = ref(\"unknown\");\n const connection = isSupported.value && navigator.connection;\n function updateNetworkInformation() {\n if (!navigator)\n return;\n isOnline.value = navigator.onLine;\n offlineAt.value = isOnline.value ? void 0 : Date.now();\n onlineAt.value = isOnline.value ? Date.now() : void 0;\n if (connection) {\n downlink.value = connection.downlink;\n downlinkMax.value = connection.downlinkMax;\n effectiveType.value = connection.effectiveType;\n rtt.value = connection.rtt;\n saveData.value = connection.saveData;\n type.value = connection.type;\n }\n }\n if (window) {\n useEventListener(window, \"offline\", () => {\n isOnline.value = false;\n offlineAt.value = Date.now();\n });\n useEventListener(window, \"online\", () => {\n isOnline.value = true;\n onlineAt.value = Date.now();\n });\n }\n if (connection)\n useEventListener(connection, \"change\", updateNetworkInformation, false);\n updateNetworkInformation();\n return {\n isSupported,\n isOnline,\n saveData,\n offlineAt,\n onlineAt,\n downlink,\n downlinkMax,\n effectiveType,\n rtt,\n type\n };\n}\n\nfunction useNow(options = {}) {\n const {\n controls: exposeControls = false,\n interval = \"requestAnimationFrame\"\n } = options;\n const now = ref(/* @__PURE__ */ new Date());\n const update = () => now.value = /* @__PURE__ */ new Date();\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate: true }) : useIntervalFn(update, interval, { immediate: true });\n if (exposeControls) {\n return {\n now,\n ...controls\n };\n } else {\n return now;\n }\n}\n\nfunction useObjectUrl(object) {\n const url = ref();\n const release = () => {\n if (url.value)\n URL.revokeObjectURL(url.value);\n url.value = void 0;\n };\n watch(\n () => toValue(object),\n (newObject) => {\n release();\n if (newObject)\n url.value = URL.createObjectURL(newObject);\n },\n { immediate: true }\n );\n tryOnScopeDispose(release);\n return readonly(url);\n}\n\nfunction useClamp(value, min, max) {\n if (typeof value === \"function\" || isReadonly(value))\n return computed(() => clamp(toValue(value), toValue(min), toValue(max)));\n const _value = ref(value);\n return computed({\n get() {\n return _value.value = clamp(_value.value, toValue(min), toValue(max));\n },\n set(value2) {\n _value.value = clamp(value2, toValue(min), toValue(max));\n }\n });\n}\n\nfunction useOffsetPagination(options) {\n const {\n total = Number.POSITIVE_INFINITY,\n pageSize = 10,\n page = 1,\n onPageChange = noop,\n onPageSizeChange = noop,\n onPageCountChange = noop\n } = options;\n const currentPageSize = useClamp(pageSize, 1, Number.POSITIVE_INFINITY);\n const pageCount = computed(() => Math.max(\n 1,\n Math.ceil(toValue(total) / toValue(currentPageSize))\n ));\n const currentPage = useClamp(page, 1, pageCount);\n const isFirstPage = computed(() => currentPage.value === 1);\n const isLastPage = computed(() => currentPage.value === pageCount.value);\n if (isRef(page))\n syncRef(page, currentPage);\n if (isRef(pageSize))\n syncRef(pageSize, currentPageSize);\n function prev() {\n currentPage.value--;\n }\n function next() {\n currentPage.value++;\n }\n const returnValue = {\n currentPage,\n currentPageSize,\n pageCount,\n isFirstPage,\n isLastPage,\n prev,\n next\n };\n watch(currentPage, () => {\n onPageChange(reactive(returnValue));\n });\n watch(currentPageSize, () => {\n onPageSizeChange(reactive(returnValue));\n });\n watch(pageCount, () => {\n onPageCountChange(reactive(returnValue));\n });\n return returnValue;\n}\n\nfunction useOnline(options = {}) {\n const { isOnline } = useNetwork(options);\n return isOnline;\n}\n\nfunction usePageLeave(options = {}) {\n const { window = defaultWindow } = options;\n const isLeft = ref(false);\n const handler = (event) => {\n if (!window)\n return;\n event = event || window.event;\n const from = event.relatedTarget || event.toElement;\n isLeft.value = !from;\n };\n if (window) {\n useEventListener(window, \"mouseout\", handler, { passive: true });\n useEventListener(window.document, \"mouseleave\", handler, { passive: true });\n useEventListener(window.document, \"mouseenter\", handler, { passive: true });\n }\n return isLeft;\n}\n\nfunction useParallax(target, options = {}) {\n const {\n deviceOrientationTiltAdjust = (i) => i,\n deviceOrientationRollAdjust = (i) => i,\n mouseTiltAdjust = (i) => i,\n mouseRollAdjust = (i) => i,\n window = defaultWindow\n } = options;\n const orientation = reactive(useDeviceOrientation({ window }));\n const {\n elementX: x,\n elementY: y,\n elementWidth: width,\n elementHeight: height\n } = useMouseInElement(target, { handleOutside: false, window });\n const source = computed(() => {\n if (orientation.isSupported && (orientation.alpha != null && orientation.alpha !== 0 || orientation.gamma != null && orientation.gamma !== 0))\n return \"deviceOrientation\";\n return \"mouse\";\n });\n const roll = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = -orientation.beta / 90;\n return deviceOrientationRollAdjust(value);\n } else {\n const value = -(y.value - height.value / 2) / height.value;\n return mouseRollAdjust(value);\n }\n });\n const tilt = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = orientation.gamma / 90;\n return deviceOrientationTiltAdjust(value);\n } else {\n const value = (x.value - width.value / 2) / width.value;\n return mouseTiltAdjust(value);\n }\n });\n return { roll, tilt, source };\n}\n\nfunction useParentElement(element = useCurrentElement()) {\n const parentElement = shallowRef();\n const update = () => {\n const el = unrefElement(element);\n if (el)\n parentElement.value = el.parentElement;\n };\n tryOnMounted(update);\n watch(() => toValue(element), update);\n return parentElement;\n}\n\nfunction usePerformanceObserver(options, callback) {\n const {\n window = defaultWindow,\n immediate = true,\n ...performanceOptions\n } = options;\n const isSupported = useSupported(() => window && \"PerformanceObserver\" in window);\n let observer;\n const stop = () => {\n observer == null ? void 0 : observer.disconnect();\n };\n const start = () => {\n if (isSupported.value) {\n stop();\n observer = new PerformanceObserver(callback);\n observer.observe(performanceOptions);\n }\n };\n tryOnScopeDispose(stop);\n if (immediate)\n start();\n return {\n isSupported,\n start,\n stop\n };\n}\n\nconst defaultState = {\n x: 0,\n y: 0,\n pointerId: 0,\n pressure: 0,\n tiltX: 0,\n tiltY: 0,\n width: 0,\n height: 0,\n twist: 0,\n pointerType: null\n};\nconst keys = /* @__PURE__ */ Object.keys(defaultState);\nfunction usePointer(options = {}) {\n const {\n target = defaultWindow\n } = options;\n const isInside = ref(false);\n const state = ref(options.initialValue || {});\n Object.assign(state.value, defaultState, state.value);\n const handler = (event) => {\n isInside.value = true;\n if (options.pointerTypes && !options.pointerTypes.includes(event.pointerType))\n return;\n state.value = objectPick(event, keys, false);\n };\n if (target) {\n const listenerOptions = { passive: true };\n useEventListener(target, [\"pointerdown\", \"pointermove\", \"pointerup\"], handler, listenerOptions);\n useEventListener(target, \"pointerleave\", () => isInside.value = false, listenerOptions);\n }\n return {\n ...toRefs(state),\n isInside\n };\n}\n\nfunction usePointerLock(target, options = {}) {\n const { document = defaultDocument, pointerLockOptions } = options;\n const isSupported = useSupported(() => document && \"pointerLockElement\" in document);\n const element = ref();\n const triggerElement = ref();\n let targetElement;\n if (isSupported.value) {\n useEventListener(document, \"pointerlockchange\", () => {\n var _a;\n const currentElement = (_a = document.pointerLockElement) != null ? _a : element.value;\n if (targetElement && currentElement === targetElement) {\n element.value = document.pointerLockElement;\n if (!element.value)\n targetElement = triggerElement.value = null;\n }\n });\n useEventListener(document, \"pointerlockerror\", () => {\n var _a;\n const currentElement = (_a = document.pointerLockElement) != null ? _a : element.value;\n if (targetElement && currentElement === targetElement) {\n const action = document.pointerLockElement ? \"release\" : \"acquire\";\n throw new Error(`Failed to ${action} pointer lock.`);\n }\n });\n }\n async function lock(e, options2) {\n var _a;\n if (!isSupported.value)\n throw new Error(\"Pointer Lock API is not supported by your browser.\");\n triggerElement.value = e instanceof Event ? e.currentTarget : null;\n targetElement = e instanceof Event ? (_a = unrefElement(target)) != null ? _a : triggerElement.value : unrefElement(e);\n if (!targetElement)\n throw new Error(\"Target element undefined.\");\n targetElement.requestPointerLock(options2 != null ? options2 : pointerLockOptions);\n return await until(element).toBe(targetElement);\n }\n async function unlock() {\n if (!element.value)\n return false;\n document.exitPointerLock();\n await until(element).toBeNull();\n return true;\n }\n return {\n isSupported,\n element,\n triggerElement,\n lock,\n unlock\n };\n}\n\nfunction usePointerSwipe(target, options = {}) {\n const targetRef = toRef(target);\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart\n } = options;\n const posStart = reactive({ x: 0, y: 0 });\n const updatePosStart = (x, y) => {\n posStart.x = x;\n posStart.y = y;\n };\n const posEnd = reactive({ x: 0, y: 0 });\n const updatePosEnd = (x, y) => {\n posEnd.x = x;\n posEnd.y = y;\n };\n const distanceX = computed(() => posStart.x - posEnd.x);\n const distanceY = computed(() => posStart.y - posEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);\n const isSwiping = ref(false);\n const isPointerDown = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return \"none\";\n if (abs(distanceX.value) > abs(distanceY.value)) {\n return distanceX.value > 0 ? \"left\" : \"right\";\n } else {\n return distanceY.value > 0 ? \"up\" : \"down\";\n }\n });\n const eventIsAllowed = (e) => {\n var _a, _b, _c;\n const isReleasingButton = e.buttons === 0;\n const isPrimaryButton = e.buttons === 1;\n return (_c = (_b = (_a = options.pointerTypes) == null ? void 0 : _a.includes(e.pointerType)) != null ? _b : isReleasingButton || isPrimaryButton) != null ? _c : true;\n };\n const stops = [\n useEventListener(target, \"pointerdown\", (e) => {\n var _a, _b;\n if (!eventIsAllowed(e))\n return;\n isPointerDown.value = true;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"none\");\n const eventTarget = e.target;\n eventTarget == null ? void 0 : eventTarget.setPointerCapture(e.pointerId);\n const { clientX: x, clientY: y } = e;\n updatePosStart(x, y);\n updatePosEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }),\n useEventListener(target, \"pointermove\", (e) => {\n if (!eventIsAllowed(e))\n return;\n if (!isPointerDown.value)\n return;\n const { clientX: x, clientY: y } = e;\n updatePosEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }),\n useEventListener(target, \"pointerup\", (e) => {\n var _a, _b;\n if (!eventIsAllowed(e))\n return;\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isPointerDown.value = false;\n isSwiping.value = false;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"initial\");\n })\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isSwiping: readonly(isSwiping),\n direction: readonly(direction),\n posStart: readonly(posStart),\n posEnd: readonly(posEnd),\n distanceX,\n distanceY,\n stop\n };\n}\n\nfunction usePreferredColorScheme(options) {\n const isLight = useMediaQuery(\"(prefers-color-scheme: light)\", options);\n const isDark = useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n return computed(() => {\n if (isDark.value)\n return \"dark\";\n if (isLight.value)\n return \"light\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredContrast(options) {\n const isMore = useMediaQuery(\"(prefers-contrast: more)\", options);\n const isLess = useMediaQuery(\"(prefers-contrast: less)\", options);\n const isCustom = useMediaQuery(\"(prefers-contrast: custom)\", options);\n return computed(() => {\n if (isMore.value)\n return \"more\";\n if (isLess.value)\n return \"less\";\n if (isCustom.value)\n return \"custom\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredLanguages(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref([\"en\"]);\n const navigator = window.navigator;\n const value = ref(navigator.languages);\n useEventListener(window, \"languagechange\", () => {\n value.value = navigator.languages;\n });\n return value;\n}\n\nfunction usePreferredReducedMotion(options) {\n const isReduced = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return computed(() => {\n if (isReduced.value)\n return \"reduce\";\n return \"no-preference\";\n });\n}\n\nfunction usePrevious(value, initialValue) {\n const previous = shallowRef(initialValue);\n watch(\n toRef(value),\n (_, oldValue) => {\n previous.value = oldValue;\n },\n { flush: \"sync\" }\n );\n return readonly(previous);\n}\n\nfunction useScreenOrientation(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"screen\" in window && \"orientation\" in window.screen);\n const screenOrientation = isSupported.value ? window.screen.orientation : {};\n const orientation = ref(screenOrientation.type);\n const angle = ref(screenOrientation.angle || 0);\n if (isSupported.value) {\n useEventListener(window, \"orientationchange\", () => {\n orientation.value = screenOrientation.type;\n angle.value = screenOrientation.angle;\n });\n }\n const lockOrientation = (type) => {\n if (!isSupported.value)\n return Promise.reject(new Error(\"Not supported\"));\n return screenOrientation.lock(type);\n };\n const unlockOrientation = () => {\n if (isSupported.value)\n screenOrientation.unlock();\n };\n return {\n isSupported,\n orientation,\n angle,\n lockOrientation,\n unlockOrientation\n };\n}\n\nconst topVarName = \"--vueuse-safe-area-top\";\nconst rightVarName = \"--vueuse-safe-area-right\";\nconst bottomVarName = \"--vueuse-safe-area-bottom\";\nconst leftVarName = \"--vueuse-safe-area-left\";\nfunction useScreenSafeArea() {\n const top = ref(\"\");\n const right = ref(\"\");\n const bottom = ref(\"\");\n const left = ref(\"\");\n if (isClient) {\n const topCssVar = useCssVar(topVarName);\n const rightCssVar = useCssVar(rightVarName);\n const bottomCssVar = useCssVar(bottomVarName);\n const leftCssVar = useCssVar(leftVarName);\n topCssVar.value = \"env(safe-area-inset-top, 0px)\";\n rightCssVar.value = \"env(safe-area-inset-right, 0px)\";\n bottomCssVar.value = \"env(safe-area-inset-bottom, 0px)\";\n leftCssVar.value = \"env(safe-area-inset-left, 0px)\";\n update();\n useEventListener(\"resize\", useDebounceFn(update));\n }\n function update() {\n top.value = getValue(topVarName);\n right.value = getValue(rightVarName);\n bottom.value = getValue(bottomVarName);\n left.value = getValue(leftVarName);\n }\n return {\n top,\n right,\n bottom,\n left,\n update\n };\n}\nfunction getValue(position) {\n return getComputedStyle(document.documentElement).getPropertyValue(position);\n}\n\nfunction useScriptTag(src, onLoaded = noop, options = {}) {\n const {\n immediate = true,\n manual = false,\n type = \"text/javascript\",\n async = true,\n crossOrigin,\n referrerPolicy,\n noModule,\n defer,\n document = defaultDocument,\n attrs = {}\n } = options;\n const scriptTag = ref(null);\n let _promise = null;\n const loadScript = (waitForScriptLoad) => new Promise((resolve, reject) => {\n const resolveWithElement = (el2) => {\n scriptTag.value = el2;\n resolve(el2);\n return el2;\n };\n if (!document) {\n resolve(false);\n return;\n }\n let shouldAppend = false;\n let el = document.querySelector(`script[src=\"${toValue(src)}\"]`);\n if (!el) {\n el = document.createElement(\"script\");\n el.type = type;\n el.async = async;\n el.src = toValue(src);\n if (defer)\n el.defer = defer;\n if (crossOrigin)\n el.crossOrigin = crossOrigin;\n if (noModule)\n el.noModule = noModule;\n if (referrerPolicy)\n el.referrerPolicy = referrerPolicy;\n Object.entries(attrs).forEach(([name, value]) => el == null ? void 0 : el.setAttribute(name, value));\n shouldAppend = true;\n } else if (el.hasAttribute(\"data-loaded\")) {\n resolveWithElement(el);\n }\n el.addEventListener(\"error\", (event) => reject(event));\n el.addEventListener(\"abort\", (event) => reject(event));\n el.addEventListener(\"load\", () => {\n el.setAttribute(\"data-loaded\", \"true\");\n onLoaded(el);\n resolveWithElement(el);\n });\n if (shouldAppend)\n el = document.head.appendChild(el);\n if (!waitForScriptLoad)\n resolveWithElement(el);\n });\n const load = (waitForScriptLoad = true) => {\n if (!_promise)\n _promise = loadScript(waitForScriptLoad);\n return _promise;\n };\n const unload = () => {\n if (!document)\n return;\n _promise = null;\n if (scriptTag.value)\n scriptTag.value = null;\n const el = document.querySelector(`script[src=\"${toValue(src)}\"]`);\n if (el)\n document.head.removeChild(el);\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnUnmounted(unload);\n return { scriptTag, load, unload };\n}\n\nfunction checkOverflowScroll(ele) {\n const style = window.getComputedStyle(ele);\n if (style.overflowX === \"scroll\" || style.overflowY === \"scroll\" || style.overflowX === \"auto\" && ele.clientWidth < ele.scrollWidth || style.overflowY === \"auto\" && ele.clientHeight < ele.scrollHeight) {\n return true;\n } else {\n const parent = ele.parentNode;\n if (!parent || parent.tagName === \"BODY\")\n return false;\n return checkOverflowScroll(parent);\n }\n}\nfunction preventDefault(rawEvent) {\n const e = rawEvent || window.event;\n const _target = e.target;\n if (checkOverflowScroll(_target))\n return false;\n if (e.touches.length > 1)\n return true;\n if (e.preventDefault)\n e.preventDefault();\n return false;\n}\nconst elInitialOverflow = /* @__PURE__ */ new WeakMap();\nfunction useScrollLock(element, initialState = false) {\n const isLocked = ref(initialState);\n let stopTouchMoveListener = null;\n let initialOverflow;\n watch(toRef(element), (el) => {\n const target = resolveElement(toValue(el));\n if (target) {\n const ele = target;\n if (!elInitialOverflow.get(ele))\n elInitialOverflow.set(ele, initialOverflow);\n if (isLocked.value)\n ele.style.overflow = \"hidden\";\n }\n }, {\n immediate: true\n });\n const lock = () => {\n const el = resolveElement(toValue(element));\n if (!el || isLocked.value)\n return;\n if (isIOS) {\n stopTouchMoveListener = useEventListener(\n el,\n \"touchmove\",\n (e) => {\n preventDefault(e);\n },\n { passive: false }\n );\n }\n el.style.overflow = \"hidden\";\n isLocked.value = true;\n };\n const unlock = () => {\n var _a;\n const el = resolveElement(toValue(element));\n if (!el || !isLocked.value)\n return;\n isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());\n el.style.overflow = (_a = elInitialOverflow.get(el)) != null ? _a : \"\";\n elInitialOverflow.delete(el);\n isLocked.value = false;\n };\n tryOnScopeDispose(unlock);\n return computed({\n get() {\n return isLocked.value;\n },\n set(v) {\n if (v)\n lock();\n else\n unlock();\n }\n });\n}\n\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.sessionStorage, options);\n}\n\nfunction useShare(shareOptions = {}, options = {}) {\n const { navigator = defaultNavigator } = options;\n const _navigator = navigator;\n const isSupported = useSupported(() => _navigator && \"canShare\" in _navigator);\n const share = async (overrideOptions = {}) => {\n if (isSupported.value) {\n const data = {\n ...toValue(shareOptions),\n ...toValue(overrideOptions)\n };\n let granted = true;\n if (data.files && _navigator.canShare)\n granted = _navigator.canShare({ files: data.files });\n if (granted)\n return _navigator.share(data);\n }\n };\n return {\n isSupported,\n share\n };\n}\n\nconst defaultSortFn = (source, compareFn) => source.sort(compareFn);\nconst defaultCompare = (a, b) => a - b;\nfunction useSorted(...args) {\n var _a, _b, _c, _d;\n const [source] = args;\n let compareFn = defaultCompare;\n let options = {};\n if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n options = args[1];\n compareFn = (_a = options.compareFn) != null ? _a : defaultCompare;\n } else {\n compareFn = (_b = args[1]) != null ? _b : defaultCompare;\n }\n } else if (args.length > 2) {\n compareFn = (_c = args[1]) != null ? _c : defaultCompare;\n options = (_d = args[2]) != null ? _d : {};\n }\n const {\n dirty = false,\n sortFn = defaultSortFn\n } = options;\n if (!dirty)\n return computed(() => sortFn([...toValue(source)], compareFn));\n watchEffect(() => {\n const result = sortFn(toValue(source), compareFn);\n if (isRef(source))\n source.value = result;\n else\n source.splice(0, source.length, ...result);\n });\n return source;\n}\n\nfunction useSpeechRecognition(options = {}) {\n const {\n interimResults = true,\n continuous = true,\n window = defaultWindow\n } = options;\n const lang = toRef(options.lang || \"en-US\");\n const isListening = ref(false);\n const isFinal = ref(false);\n const result = ref(\"\");\n const error = shallowRef(void 0);\n const toggle = (value = !isListening.value) => {\n isListening.value = value;\n };\n const start = () => {\n isListening.value = true;\n };\n const stop = () => {\n isListening.value = false;\n };\n const SpeechRecognition = window && (window.SpeechRecognition || window.webkitSpeechRecognition);\n const isSupported = useSupported(() => SpeechRecognition);\n let recognition;\n if (isSupported.value) {\n recognition = new SpeechRecognition();\n recognition.continuous = continuous;\n recognition.interimResults = interimResults;\n recognition.lang = toValue(lang);\n recognition.onstart = () => {\n isFinal.value = false;\n };\n watch(lang, (lang2) => {\n if (recognition && !isListening.value)\n recognition.lang = lang2;\n });\n recognition.onresult = (event) => {\n const transcript = Array.from(event.results).map((result2) => {\n isFinal.value = result2.isFinal;\n return result2[0];\n }).map((result2) => result2.transcript).join(\"\");\n result.value = transcript;\n error.value = void 0;\n };\n recognition.onerror = (event) => {\n error.value = event;\n };\n recognition.onend = () => {\n isListening.value = false;\n recognition.lang = toValue(lang);\n };\n watch(isListening, () => {\n if (isListening.value)\n recognition.start();\n else\n recognition.stop();\n });\n }\n tryOnScopeDispose(() => {\n isListening.value = false;\n });\n return {\n isSupported,\n isListening,\n isFinal,\n recognition,\n result,\n error,\n toggle,\n start,\n stop\n };\n}\n\nfunction useSpeechSynthesis(text, options = {}) {\n const {\n pitch = 1,\n rate = 1,\n volume = 1,\n window = defaultWindow\n } = options;\n const synth = window && window.speechSynthesis;\n const isSupported = useSupported(() => synth);\n const isPlaying = ref(false);\n const status = ref(\"init\");\n const spokenText = toRef(text || \"\");\n const lang = toRef(options.lang || \"en-US\");\n const error = shallowRef(void 0);\n const toggle = (value = !isPlaying.value) => {\n isPlaying.value = value;\n };\n const bindEventsForUtterance = (utterance2) => {\n utterance2.lang = toValue(lang);\n utterance2.voice = toValue(options.voice) || null;\n utterance2.pitch = toValue(pitch);\n utterance2.rate = toValue(rate);\n utterance2.volume = volume;\n utterance2.onstart = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onpause = () => {\n isPlaying.value = false;\n status.value = \"pause\";\n };\n utterance2.onresume = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onend = () => {\n isPlaying.value = false;\n status.value = \"end\";\n };\n utterance2.onerror = (event) => {\n error.value = event;\n };\n };\n const utterance = computed(() => {\n isPlaying.value = false;\n status.value = \"init\";\n const newUtterance = new SpeechSynthesisUtterance(spokenText.value);\n bindEventsForUtterance(newUtterance);\n return newUtterance;\n });\n const speak = () => {\n synth.cancel();\n utterance && synth.speak(utterance.value);\n };\n const stop = () => {\n synth.cancel();\n isPlaying.value = false;\n };\n if (isSupported.value) {\n bindEventsForUtterance(utterance.value);\n watch(lang, (lang2) => {\n if (utterance.value && !isPlaying.value)\n utterance.value.lang = lang2;\n });\n if (options.voice) {\n watch(options.voice, () => {\n synth.cancel();\n });\n }\n watch(isPlaying, () => {\n if (isPlaying.value)\n synth.resume();\n else\n synth.pause();\n });\n }\n tryOnScopeDispose(() => {\n isPlaying.value = false;\n });\n return {\n isSupported,\n isPlaying,\n status,\n utterance,\n error,\n stop,\n toggle,\n speak\n };\n}\n\nfunction useStepper(steps, initialStep) {\n const stepsRef = ref(steps);\n const stepNames = computed(() => Array.isArray(stepsRef.value) ? stepsRef.value : Object.keys(stepsRef.value));\n const index = ref(stepNames.value.indexOf(initialStep != null ? initialStep : stepNames.value[0]));\n const current = computed(() => at(index.value));\n const isFirst = computed(() => index.value === 0);\n const isLast = computed(() => index.value === stepNames.value.length - 1);\n const next = computed(() => stepNames.value[index.value + 1]);\n const previous = computed(() => stepNames.value[index.value - 1]);\n function at(index2) {\n if (Array.isArray(stepsRef.value))\n return stepsRef.value[index2];\n return stepsRef.value[stepNames.value[index2]];\n }\n function get(step) {\n if (!stepNames.value.includes(step))\n return;\n return at(stepNames.value.indexOf(step));\n }\n function goTo(step) {\n if (stepNames.value.includes(step))\n index.value = stepNames.value.indexOf(step);\n }\n function goToNext() {\n if (isLast.value)\n return;\n index.value++;\n }\n function goToPrevious() {\n if (isFirst.value)\n return;\n index.value--;\n }\n function goBackTo(step) {\n if (isAfter(step))\n goTo(step);\n }\n function isNext(step) {\n return stepNames.value.indexOf(step) === index.value + 1;\n }\n function isPrevious(step) {\n return stepNames.value.indexOf(step) === index.value - 1;\n }\n function isCurrent(step) {\n return stepNames.value.indexOf(step) === index.value;\n }\n function isBefore(step) {\n return index.value < stepNames.value.indexOf(step);\n }\n function isAfter(step) {\n return index.value > stepNames.value.indexOf(step);\n }\n return {\n steps: stepsRef,\n stepNames,\n index,\n current,\n next,\n previous,\n isFirst,\n isLast,\n at,\n get,\n goTo,\n goToNext,\n goToPrevious,\n goBackTo,\n isNext,\n isPrevious,\n isCurrent,\n isBefore,\n isAfter\n };\n}\n\nfunction useStorageAsync(key, initialValue, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const rawInit = toValue(initialValue);\n const type = guessSerializerType(rawInit);\n const data = (shallow ? shallowRef : ref)(initialValue);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n async function read(event) {\n if (!storage || event && event.key !== key)\n return;\n try {\n const rawValue = event ? event.newValue : await storage.getItem(key);\n if (rawValue == null) {\n data.value = rawInit;\n if (writeDefaults && rawInit !== null)\n await storage.setItem(key, await serializer.write(rawInit));\n } else if (mergeDefaults) {\n const value = await serializer.read(rawValue);\n if (typeof mergeDefaults === \"function\")\n data.value = mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n data.value = { ...rawInit, ...value };\n else\n data.value = value;\n } else {\n data.value = await serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n }\n }\n read();\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", (e) => Promise.resolve().then(() => read(e)));\n if (storage) {\n watchWithFilter(\n data,\n async () => {\n try {\n if (data.value == null)\n await storage.removeItem(key);\n else\n await storage.setItem(key, await serializer.write(data.value));\n } catch (e) {\n onError(e);\n }\n },\n {\n flush,\n deep,\n eventFilter\n }\n );\n }\n return data;\n}\n\nlet _id = 0;\nfunction useStyleTag(css, options = {}) {\n const isLoaded = ref(false);\n const {\n document = defaultDocument,\n immediate = true,\n manual = false,\n id = `vueuse_styletag_${++_id}`\n } = options;\n const cssRef = ref(css);\n let stop = () => {\n };\n const load = () => {\n if (!document)\n return;\n const el = document.getElementById(id) || document.createElement(\"style\");\n if (!el.isConnected) {\n el.id = id;\n if (options.media)\n el.media = options.media;\n document.head.appendChild(el);\n }\n if (isLoaded.value)\n return;\n stop = watch(\n cssRef,\n (value) => {\n el.textContent = value;\n },\n { immediate: true }\n );\n isLoaded.value = true;\n };\n const unload = () => {\n if (!document || !isLoaded.value)\n return;\n stop();\n document.head.removeChild(document.getElementById(id));\n isLoaded.value = false;\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnScopeDispose(unload);\n return {\n id,\n css: cssRef,\n unload,\n load,\n isLoaded: readonly(isLoaded)\n };\n}\n\nfunction useSwipe(target, options = {}) {\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart,\n passive = true,\n window = defaultWindow\n } = options;\n const coordsStart = reactive({ x: 0, y: 0 });\n const coordsEnd = reactive({ x: 0, y: 0 });\n const diffX = computed(() => coordsStart.x - coordsEnd.x);\n const diffY = computed(() => coordsStart.y - coordsEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(diffX.value), abs(diffY.value)) >= threshold);\n const isSwiping = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return \"none\";\n if (abs(diffX.value) > abs(diffY.value)) {\n return diffX.value > 0 ? \"left\" : \"right\";\n } else {\n return diffY.value > 0 ? \"up\" : \"down\";\n }\n });\n const getTouchEventCoords = (e) => [e.touches[0].clientX, e.touches[0].clientY];\n const updateCoordsStart = (x, y) => {\n coordsStart.x = x;\n coordsStart.y = y;\n };\n const updateCoordsEnd = (x, y) => {\n coordsEnd.x = x;\n coordsEnd.y = y;\n };\n let listenerOptions;\n const isPassiveEventSupported = checkPassiveEventSupport(window == null ? void 0 : window.document);\n if (!passive)\n listenerOptions = isPassiveEventSupported ? { passive: false, capture: true } : { capture: true };\n else\n listenerOptions = isPassiveEventSupported ? { passive: true } : { capture: false };\n const onTouchEnd = (e) => {\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isSwiping.value = false;\n };\n const stops = [\n useEventListener(target, \"touchstart\", (e) => {\n if (e.touches.length !== 1)\n return;\n if (listenerOptions.capture && !listenerOptions.passive)\n e.preventDefault();\n const [x, y] = getTouchEventCoords(e);\n updateCoordsStart(x, y);\n updateCoordsEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }, listenerOptions),\n useEventListener(target, \"touchmove\", (e) => {\n if (e.touches.length !== 1)\n return;\n const [x, y] = getTouchEventCoords(e);\n updateCoordsEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }, listenerOptions),\n useEventListener(target, [\"touchend\", \"touchcancel\"], onTouchEnd, listenerOptions)\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isPassiveEventSupported,\n isSwiping,\n direction,\n coordsStart,\n coordsEnd,\n lengthX: diffX,\n lengthY: diffY,\n stop\n };\n}\nfunction checkPassiveEventSupport(document) {\n if (!document)\n return false;\n let supportsPassive = false;\n const optionsBlock = {\n get passive() {\n supportsPassive = true;\n return false;\n }\n };\n document.addEventListener(\"x\", noop, optionsBlock);\n document.removeEventListener(\"x\", noop);\n return supportsPassive;\n}\n\nfunction useTemplateRefsList() {\n const refs = ref([]);\n refs.value.set = (el) => {\n if (el)\n refs.value.push(el);\n };\n onBeforeUpdate(() => {\n refs.value.length = 0;\n });\n return refs;\n}\n\nfunction useTextDirection(options = {}) {\n const {\n document = defaultDocument,\n selector = \"html\",\n observe = false,\n initialValue = \"ltr\"\n } = options;\n function getValue() {\n var _a, _b;\n return (_b = (_a = document == null ? void 0 : document.querySelector(selector)) == null ? void 0 : _a.getAttribute(\"dir\")) != null ? _b : initialValue;\n }\n const dir = ref(getValue());\n tryOnMounted(() => dir.value = getValue());\n if (observe && document) {\n useMutationObserver(\n document.querySelector(selector),\n () => dir.value = getValue(),\n { attributes: true }\n );\n }\n return computed({\n get() {\n return dir.value;\n },\n set(v) {\n var _a, _b;\n dir.value = v;\n if (!document)\n return;\n if (dir.value)\n (_a = document.querySelector(selector)) == null ? void 0 : _a.setAttribute(\"dir\", dir.value);\n else\n (_b = document.querySelector(selector)) == null ? void 0 : _b.removeAttribute(\"dir\");\n }\n });\n}\n\nfunction getRangesFromSelection(selection) {\n var _a;\n const rangeCount = (_a = selection.rangeCount) != null ? _a : 0;\n return Array.from({ length: rangeCount }, (_, i) => selection.getRangeAt(i));\n}\nfunction useTextSelection(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const selection = ref(null);\n const text = computed(() => {\n var _a, _b;\n return (_b = (_a = selection.value) == null ? void 0 : _a.toString()) != null ? _b : \"\";\n });\n const ranges = computed(() => selection.value ? getRangesFromSelection(selection.value) : []);\n const rects = computed(() => ranges.value.map((range) => range.getBoundingClientRect()));\n function onSelectionChange() {\n selection.value = null;\n if (window)\n selection.value = window.getSelection();\n }\n if (window)\n useEventListener(window.document, \"selectionchange\", onSelectionChange);\n return {\n text,\n rects,\n ranges,\n selection\n };\n}\n\nfunction useTextareaAutosize(options) {\n const textarea = ref(options == null ? void 0 : options.element);\n const input = ref(options == null ? void 0 : options.input);\n const textareaScrollHeight = ref(1);\n function triggerResize() {\n var _a, _b;\n if (!textarea.value)\n return;\n let height = \"\";\n textarea.value.style.height = \"1px\";\n textareaScrollHeight.value = (_a = textarea.value) == null ? void 0 : _a.scrollHeight;\n if (options == null ? void 0 : options.styleTarget)\n toValue(options.styleTarget).style.height = `${textareaScrollHeight.value}px`;\n else\n height = `${textareaScrollHeight.value}px`;\n textarea.value.style.height = height;\n (_b = options == null ? void 0 : options.onResize) == null ? void 0 : _b.call(options);\n }\n watch([input, textarea], () => nextTick(triggerResize), { immediate: true });\n useResizeObserver(textarea, () => triggerResize());\n if (options == null ? void 0 : options.watch)\n watch(options.watch, triggerResize, { immediate: true, deep: true });\n return {\n textarea,\n input,\n triggerResize\n };\n}\n\nfunction useThrottledRefHistory(source, options = {}) {\n const { throttle = 200, trailing = true } = options;\n const filter = throttleFilter(throttle, trailing);\n const history = useRefHistory(source, { ...options, eventFilter: filter });\n return {\n ...history\n };\n}\n\nconst DEFAULT_UNITS = [\n { max: 6e4, value: 1e3, name: \"second\" },\n { max: 276e4, value: 6e4, name: \"minute\" },\n { max: 72e6, value: 36e5, name: \"hour\" },\n { max: 5184e5, value: 864e5, name: \"day\" },\n { max: 24192e5, value: 6048e5, name: \"week\" },\n { max: 28512e6, value: 2592e6, name: \"month\" },\n { max: Number.POSITIVE_INFINITY, value: 31536e6, name: \"year\" }\n];\nconst DEFAULT_MESSAGES = {\n justNow: \"just now\",\n past: (n) => n.match(/\\d/) ? `${n} ago` : n,\n future: (n) => n.match(/\\d/) ? `in ${n}` : n,\n month: (n, past) => n === 1 ? past ? \"last month\" : \"next month\" : `${n} month${n > 1 ? \"s\" : \"\"}`,\n year: (n, past) => n === 1 ? past ? \"last year\" : \"next year\" : `${n} year${n > 1 ? \"s\" : \"\"}`,\n day: (n, past) => n === 1 ? past ? \"yesterday\" : \"tomorrow\" : `${n} day${n > 1 ? \"s\" : \"\"}`,\n week: (n, past) => n === 1 ? past ? \"last week\" : \"next week\" : `${n} week${n > 1 ? \"s\" : \"\"}`,\n hour: (n) => `${n} hour${n > 1 ? \"s\" : \"\"}`,\n minute: (n) => `${n} minute${n > 1 ? \"s\" : \"\"}`,\n second: (n) => `${n} second${n > 1 ? \"s\" : \"\"}`,\n invalid: \"\"\n};\nfunction DEFAULT_FORMATTER(date) {\n return date.toISOString().slice(0, 10);\n}\nfunction useTimeAgo(time, options = {}) {\n const {\n controls: exposeControls = false,\n updateInterval = 3e4\n } = options;\n const { now, ...controls } = useNow({ interval: updateInterval, controls: true });\n const timeAgo = computed(() => formatTimeAgo(new Date(toValue(time)), options, toValue(now)));\n if (exposeControls) {\n return {\n timeAgo,\n ...controls\n };\n } else {\n return timeAgo;\n }\n}\nfunction formatTimeAgo(from, options = {}, now = Date.now()) {\n var _a;\n const {\n max,\n messages = DEFAULT_MESSAGES,\n fullDateFormatter = DEFAULT_FORMATTER,\n units = DEFAULT_UNITS,\n showSecond = false,\n rounding = \"round\"\n } = options;\n const roundFn = typeof rounding === \"number\" ? (n) => +n.toFixed(rounding) : Math[rounding];\n const diff = +now - +from;\n const absDiff = Math.abs(diff);\n function getValue(diff2, unit) {\n return roundFn(Math.abs(diff2) / unit.value);\n }\n function format(diff2, unit) {\n const val = getValue(diff2, unit);\n const past = diff2 > 0;\n const str = applyFormat(unit.name, val, past);\n return applyFormat(past ? \"past\" : \"future\", str, past);\n }\n function applyFormat(name, val, isPast) {\n const formatter = messages[name];\n if (typeof formatter === \"function\")\n return formatter(val, isPast);\n return formatter.replace(\"{0}\", val.toString());\n }\n if (absDiff < 6e4 && !showSecond)\n return messages.justNow;\n if (typeof max === \"number\" && absDiff > max)\n return fullDateFormatter(new Date(from));\n if (typeof max === \"string\") {\n const unitMax = (_a = units.find((i) => i.name === max)) == null ? void 0 : _a.max;\n if (unitMax && absDiff > unitMax)\n return fullDateFormatter(new Date(from));\n }\n for (const [idx, unit] of units.entries()) {\n const val = getValue(diff, unit);\n if (val <= 0 && units[idx - 1])\n return format(diff, units[idx - 1]);\n if (absDiff < unit.max)\n return format(diff, unit);\n }\n return messages.invalid;\n}\n\nfunction useTimeoutPoll(fn, interval, timeoutPollOptions) {\n const { start } = useTimeoutFn(loop, interval, { immediate: false });\n const isActive = ref(false);\n async function loop() {\n if (!isActive.value)\n return;\n await fn();\n start();\n }\n function resume() {\n if (!isActive.value) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n }\n if (timeoutPollOptions == null ? void 0 : timeoutPollOptions.immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nfunction useTimestamp(options = {}) {\n const {\n controls: exposeControls = false,\n offset = 0,\n immediate = true,\n interval = \"requestAnimationFrame\",\n callback\n } = options;\n const ts = ref(timestamp() + offset);\n const update = () => ts.value = timestamp() + offset;\n const cb = callback ? () => {\n update();\n callback(ts.value);\n } : update;\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate });\n if (exposeControls) {\n return {\n timestamp: ts,\n ...controls\n };\n } else {\n return ts;\n }\n}\n\nfunction useTitle(newTitle = null, options = {}) {\n var _a, _b;\n const {\n document = defaultDocument\n } = options;\n const title = toRef((_a = newTitle != null ? newTitle : document == null ? void 0 : document.title) != null ? _a : null);\n const isReadonly = newTitle && typeof newTitle === \"function\";\n function format(t) {\n if (!(\"titleTemplate\" in options))\n return t;\n const template = options.titleTemplate || \"%s\";\n return typeof template === \"function\" ? template(t) : toValue(template).replace(/%s/g, t);\n }\n watch(\n title,\n (t, o) => {\n if (t !== o && document)\n document.title = format(typeof t === \"string\" ? t : \"\");\n },\n { immediate: true }\n );\n if (options.observe && !options.titleTemplate && document && !isReadonly) {\n useMutationObserver(\n (_b = document.head) == null ? void 0 : _b.querySelector(\"title\"),\n () => {\n if (document && document.title !== title.value)\n title.value = format(document.title);\n },\n { childList: true }\n );\n }\n return title;\n}\n\nconst _TransitionPresets = {\n easeInSine: [0.12, 0, 0.39, 0],\n easeOutSine: [0.61, 1, 0.88, 1],\n easeInOutSine: [0.37, 0, 0.63, 1],\n easeInQuad: [0.11, 0, 0.5, 0],\n easeOutQuad: [0.5, 1, 0.89, 1],\n easeInOutQuad: [0.45, 0, 0.55, 1],\n easeInCubic: [0.32, 0, 0.67, 0],\n easeOutCubic: [0.33, 1, 0.68, 1],\n easeInOutCubic: [0.65, 0, 0.35, 1],\n easeInQuart: [0.5, 0, 0.75, 0],\n easeOutQuart: [0.25, 1, 0.5, 1],\n easeInOutQuart: [0.76, 0, 0.24, 1],\n easeInQuint: [0.64, 0, 0.78, 0],\n easeOutQuint: [0.22, 1, 0.36, 1],\n easeInOutQuint: [0.83, 0, 0.17, 1],\n easeInExpo: [0.7, 0, 0.84, 0],\n easeOutExpo: [0.16, 1, 0.3, 1],\n easeInOutExpo: [0.87, 0, 0.13, 1],\n easeInCirc: [0.55, 0, 1, 0.45],\n easeOutCirc: [0, 0.55, 0.45, 1],\n easeInOutCirc: [0.85, 0, 0.15, 1],\n easeInBack: [0.36, 0, 0.66, -0.56],\n easeOutBack: [0.34, 1.56, 0.64, 1],\n easeInOutBack: [0.68, -0.6, 0.32, 1.6]\n};\nconst TransitionPresets = /* @__PURE__ */ Object.assign({}, { linear: identity }, _TransitionPresets);\nfunction createEasingFunction([p0, p1, p2, p3]) {\n const a = (a1, a2) => 1 - 3 * a2 + 3 * a1;\n const b = (a1, a2) => 3 * a2 - 6 * a1;\n const c = (a1) => 3 * a1;\n const calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\n const getSlope = (t, a1, a2) => 3 * a(a1, a2) * t * t + 2 * b(a1, a2) * t + c(a1);\n const getTforX = (x) => {\n let aGuessT = x;\n for (let i = 0; i < 4; ++i) {\n const currentSlope = getSlope(aGuessT, p0, p2);\n if (currentSlope === 0)\n return aGuessT;\n const currentX = calcBezier(aGuessT, p0, p2) - x;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n };\n return (x) => p0 === p1 && p2 === p3 ? x : calcBezier(getTforX(x), p1, p3);\n}\nfunction lerp(a, b, alpha) {\n return a + alpha * (b - a);\n}\nfunction toVec(t) {\n return (typeof t === \"number\" ? [t] : t) || [];\n}\nfunction executeTransition(source, from, to, options = {}) {\n var _a, _b;\n const fromVal = toValue(from);\n const toVal = toValue(to);\n const v1 = toVec(fromVal);\n const v2 = toVec(toVal);\n const duration = (_a = toValue(options.duration)) != null ? _a : 1e3;\n const startedAt = Date.now();\n const endAt = Date.now() + duration;\n const trans = typeof options.transition === \"function\" ? options.transition : (_b = toValue(options.transition)) != null ? _b : identity;\n const ease = typeof trans === \"function\" ? trans : createEasingFunction(trans);\n return new Promise((resolve) => {\n source.value = fromVal;\n const tick = () => {\n var _a2;\n if ((_a2 = options.abort) == null ? void 0 : _a2.call(options)) {\n resolve();\n return;\n }\n const now = Date.now();\n const alpha = ease((now - startedAt) / duration);\n const arr = toVec(source.value).map((n, i) => lerp(v1[i], v2[i], alpha));\n if (Array.isArray(source.value))\n source.value = arr.map((n, i) => {\n var _a3, _b2;\n return lerp((_a3 = v1[i]) != null ? _a3 : 0, (_b2 = v2[i]) != null ? _b2 : 0, alpha);\n });\n else if (typeof source.value === \"number\")\n source.value = arr[0];\n if (now < endAt) {\n requestAnimationFrame(tick);\n } else {\n source.value = toVal;\n resolve();\n }\n };\n tick();\n });\n}\nfunction useTransition(source, options = {}) {\n let currentId = 0;\n const sourceVal = () => {\n const v = toValue(source);\n return typeof v === \"number\" ? v : v.map(toValue);\n };\n const outputRef = ref(sourceVal());\n watch(sourceVal, async (to) => {\n var _a, _b;\n if (toValue(options.disabled))\n return;\n const id = ++currentId;\n if (options.delay)\n await promiseTimeout(toValue(options.delay));\n if (id !== currentId)\n return;\n const toVal = Array.isArray(to) ? to.map(toValue) : toValue(to);\n (_a = options.onStarted) == null ? void 0 : _a.call(options);\n await executeTransition(outputRef, outputRef.value, toVal, {\n ...options,\n abort: () => {\n var _a2;\n return id !== currentId || ((_a2 = options.abort) == null ? void 0 : _a2.call(options));\n }\n });\n (_b = options.onFinished) == null ? void 0 : _b.call(options);\n }, { deep: true });\n watch(() => toValue(options.disabled), (disabled) => {\n if (disabled) {\n currentId++;\n outputRef.value = sourceVal();\n }\n });\n tryOnScopeDispose(() => {\n currentId++;\n });\n return computed(() => toValue(options.disabled) ? sourceVal() : outputRef.value);\n}\n\nfunction useUrlSearchParams(mode = \"history\", options = {}) {\n const {\n initialValue = {},\n removeNullishValues = true,\n removeFalsyValues = false,\n write: enableWrite = true,\n window = defaultWindow\n } = options;\n if (!window)\n return reactive(initialValue);\n const state = reactive({});\n function getRawParams() {\n if (mode === \"history\") {\n return window.location.search || \"\";\n } else if (mode === \"hash\") {\n const hash = window.location.hash || \"\";\n const index = hash.indexOf(\"?\");\n return index > 0 ? hash.slice(index) : \"\";\n } else {\n return (window.location.hash || \"\").replace(/^#/, \"\");\n }\n }\n function constructQuery(params) {\n const stringified = params.toString();\n if (mode === \"history\")\n return `${stringified ? `?${stringified}` : \"\"}${window.location.hash || \"\"}`;\n if (mode === \"hash-params\")\n return `${window.location.search || \"\"}${stringified ? `#${stringified}` : \"\"}`;\n const hash = window.location.hash || \"#\";\n const index = hash.indexOf(\"?\");\n if (index > 0)\n return `${hash.slice(0, index)}${stringified ? `?${stringified}` : \"\"}`;\n return `${hash}${stringified ? `?${stringified}` : \"\"}`;\n }\n function read() {\n return new URLSearchParams(getRawParams());\n }\n function updateState(params) {\n const unusedKeys = new Set(Object.keys(state));\n for (const key of params.keys()) {\n const paramsForKey = params.getAll(key);\n state[key] = paramsForKey.length > 1 ? paramsForKey : params.get(key) || \"\";\n unusedKeys.delete(key);\n }\n Array.from(unusedKeys).forEach((key) => delete state[key]);\n }\n const { pause, resume } = pausableWatch(\n state,\n () => {\n const params = new URLSearchParams(\"\");\n Object.keys(state).forEach((key) => {\n const mapEntry = state[key];\n if (Array.isArray(mapEntry))\n mapEntry.forEach((value) => params.append(key, value));\n else if (removeNullishValues && mapEntry == null)\n params.delete(key);\n else if (removeFalsyValues && !mapEntry)\n params.delete(key);\n else\n params.set(key, mapEntry);\n });\n write(params);\n },\n { deep: true }\n );\n function write(params, shouldUpdate) {\n pause();\n if (shouldUpdate)\n updateState(params);\n window.history.replaceState(\n window.history.state,\n window.document.title,\n window.location.pathname + constructQuery(params)\n );\n resume();\n }\n function onChanged() {\n if (!enableWrite)\n return;\n write(read(), true);\n }\n useEventListener(window, \"popstate\", onChanged, false);\n if (mode !== \"history\")\n useEventListener(window, \"hashchange\", onChanged, false);\n const initial = read();\n if (initial.keys().next().value)\n updateState(initial);\n else\n Object.assign(state, initialValue);\n return state;\n}\n\nfunction useUserMedia(options = {}) {\n var _a, _b;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const autoSwitch = ref((_b = options.autoSwitch) != null ? _b : true);\n const constraints = ref(options.constraints);\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getUserMedia;\n });\n const stream = shallowRef();\n function getDeviceOptions(type) {\n switch (type) {\n case \"video\": {\n if (constraints.value)\n return constraints.value.video || false;\n break;\n }\n case \"audio\": {\n if (constraints.value)\n return constraints.value.audio || false;\n break;\n }\n }\n }\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getUserMedia({\n video: getDeviceOptions(\"video\"),\n audio: getDeviceOptions(\"audio\")\n });\n return stream.value;\n }\n function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n async function restart() {\n _stop();\n return await start();\n }\n watch(\n enabled,\n (v) => {\n if (v)\n _start();\n else\n _stop();\n },\n { immediate: true }\n );\n watch(\n constraints,\n () => {\n if (autoSwitch.value && stream.value)\n restart();\n },\n { immediate: true }\n );\n return {\n isSupported,\n stream,\n start,\n stop,\n restart,\n constraints,\n enabled,\n autoSwitch\n };\n}\n\nfunction useVModel(props, key, emit, options = {}) {\n var _a, _b, _c, _d, _e;\n const {\n clone = false,\n passive = false,\n eventName,\n deep = false,\n defaultValue,\n shouldEmit\n } = options;\n const vm = getCurrentInstance();\n const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));\n let event = eventName;\n if (!key) {\n if (isVue2) {\n const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;\n key = (modelOptions == null ? void 0 : modelOptions.value) || \"value\";\n if (!eventName)\n event = (modelOptions == null ? void 0 : modelOptions.event) || \"input\";\n } else {\n key = \"modelValue\";\n }\n }\n event = event || `update:${key.toString()}`;\n const cloneFn = (val) => !clone ? val : typeof clone === \"function\" ? clone(val) : cloneFnJSON(val);\n const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;\n const triggerEmit = (value) => {\n if (shouldEmit) {\n if (shouldEmit(value))\n _emit(event, value);\n } else {\n _emit(event, value);\n }\n };\n if (passive) {\n const initialValue = getValue();\n const proxy = ref(initialValue);\n let isUpdating = false;\n watch(\n () => props[key],\n (v) => {\n if (!isUpdating) {\n isUpdating = true;\n proxy.value = cloneFn(v);\n nextTick(() => isUpdating = false);\n }\n }\n );\n watch(\n proxy,\n (v) => {\n if (!isUpdating && (v !== props[key] || deep))\n triggerEmit(v);\n },\n { deep }\n );\n return proxy;\n } else {\n return computed({\n get() {\n return getValue();\n },\n set(value) {\n triggerEmit(value);\n }\n });\n }\n}\n\nfunction useVModels(props, emit, options = {}) {\n const ret = {};\n for (const key in props) {\n ret[key] = useVModel(\n props,\n key,\n emit,\n options\n );\n }\n return ret;\n}\n\nfunction useVibrate(options) {\n const {\n pattern = [],\n interval = 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => typeof navigator !== \"undefined\" && \"vibrate\" in navigator);\n const patternRef = toRef(pattern);\n let intervalControls;\n const vibrate = (pattern2 = patternRef.value) => {\n if (isSupported.value)\n navigator.vibrate(pattern2);\n };\n const stop = () => {\n if (isSupported.value)\n navigator.vibrate(0);\n intervalControls == null ? void 0 : intervalControls.pause();\n };\n if (interval > 0) {\n intervalControls = useIntervalFn(\n vibrate,\n interval,\n {\n immediate: false,\n immediateCallback: false\n }\n );\n }\n return {\n isSupported,\n pattern,\n intervalControls,\n vibrate,\n stop\n };\n}\n\nfunction useVirtualList(list, options) {\n const { containerStyle, wrapperProps, scrollTo, calculateRange, currentList, containerRef } = \"itemHeight\" in options ? useVerticalVirtualList(options, list) : useHorizontalVirtualList(options, list);\n return {\n list: currentList,\n scrollTo,\n containerProps: {\n ref: containerRef,\n onScroll: () => {\n calculateRange();\n },\n style: containerStyle\n },\n wrapperProps\n };\n}\nfunction useVirtualListResources(list) {\n const containerRef = ref(null);\n const size = useElementSize(containerRef);\n const currentList = ref([]);\n const source = shallowRef(list);\n const state = ref({ start: 0, end: 10 });\n return { state, source, currentList, size, containerRef };\n}\nfunction createGetViewCapacity(state, source, itemSize) {\n return (containerSize) => {\n if (typeof itemSize === \"number\")\n return Math.ceil(containerSize / itemSize);\n const { start = 0 } = state.value;\n let sum = 0;\n let capacity = 0;\n for (let i = start; i < source.value.length; i++) {\n const size = itemSize(i);\n sum += size;\n capacity = i;\n if (sum > containerSize)\n break;\n }\n return capacity - start;\n };\n}\nfunction createGetOffset(source, itemSize) {\n return (scrollDirection) => {\n if (typeof itemSize === \"number\")\n return Math.floor(scrollDirection / itemSize) + 1;\n let sum = 0;\n let offset = 0;\n for (let i = 0; i < source.value.length; i++) {\n const size = itemSize(i);\n sum += size;\n if (sum >= scrollDirection) {\n offset = i;\n break;\n }\n }\n return offset + 1;\n };\n}\nfunction createCalculateRange(type, overscan, getOffset, getViewCapacity, { containerRef, state, currentList, source }) {\n return () => {\n const element = containerRef.value;\n if (element) {\n const offset = getOffset(type === \"vertical\" ? element.scrollTop : element.scrollLeft);\n const viewCapacity = getViewCapacity(type === \"vertical\" ? element.clientHeight : element.clientWidth);\n const from = offset - overscan;\n const to = offset + viewCapacity + overscan;\n state.value = {\n start: from < 0 ? 0 : from,\n end: to > source.value.length ? source.value.length : to\n };\n currentList.value = source.value.slice(state.value.start, state.value.end).map((ele, index) => ({\n data: ele,\n index: index + state.value.start\n }));\n }\n };\n}\nfunction createGetDistance(itemSize, source) {\n return (index) => {\n if (typeof itemSize === \"number\") {\n const size2 = index * itemSize;\n return size2;\n }\n const size = source.value.slice(0, index).reduce((sum, _, i) => sum + itemSize(i), 0);\n return size;\n };\n}\nfunction useWatchForSizes(size, list, calculateRange) {\n watch([size.width, size.height, list], () => {\n calculateRange();\n });\n}\nfunction createComputedTotalSize(itemSize, source) {\n return computed(() => {\n if (typeof itemSize === \"number\")\n return source.value.length * itemSize;\n return source.value.reduce((sum, _, index) => sum + itemSize(index), 0);\n });\n}\nconst scrollToDictionaryForElementScrollKey = {\n horizontal: \"scrollLeft\",\n vertical: \"scrollTop\"\n};\nfunction createScrollTo(type, calculateRange, getDistance, containerRef) {\n return (index) => {\n if (containerRef.value) {\n containerRef.value[scrollToDictionaryForElementScrollKey[type]] = getDistance(index);\n calculateRange();\n }\n };\n}\nfunction useHorizontalVirtualList(options, list) {\n const resources = useVirtualListResources(list);\n const { state, source, currentList, size, containerRef } = resources;\n const containerStyle = { overflowX: \"auto\" };\n const { itemWidth, overscan = 5 } = options;\n const getViewCapacity = createGetViewCapacity(state, source, itemWidth);\n const getOffset = createGetOffset(source, itemWidth);\n const calculateRange = createCalculateRange(\"horizontal\", overscan, getOffset, getViewCapacity, resources);\n const getDistanceLeft = createGetDistance(itemWidth, source);\n const offsetLeft = computed(() => getDistanceLeft(state.value.start));\n const totalWidth = createComputedTotalSize(itemWidth, source);\n useWatchForSizes(size, list, calculateRange);\n const scrollTo = createScrollTo(\"horizontal\", calculateRange, getDistanceLeft, containerRef);\n const wrapperProps = computed(() => {\n return {\n style: {\n height: \"100%\",\n width: `${totalWidth.value - offsetLeft.value}px`,\n marginLeft: `${offsetLeft.value}px`,\n display: \"flex\"\n }\n };\n });\n return {\n scrollTo,\n calculateRange,\n wrapperProps,\n containerStyle,\n currentList,\n containerRef\n };\n}\nfunction useVerticalVirtualList(options, list) {\n const resources = useVirtualListResources(list);\n const { state, source, currentList, size, containerRef } = resources;\n const containerStyle = { overflowY: \"auto\" };\n const { itemHeight, overscan = 5 } = options;\n const getViewCapacity = createGetViewCapacity(state, source, itemHeight);\n const getOffset = createGetOffset(source, itemHeight);\n const calculateRange = createCalculateRange(\"vertical\", overscan, getOffset, getViewCapacity, resources);\n const getDistanceTop = createGetDistance(itemHeight, source);\n const offsetTop = computed(() => getDistanceTop(state.value.start));\n const totalHeight = createComputedTotalSize(itemHeight, source);\n useWatchForSizes(size, list, calculateRange);\n const scrollTo = createScrollTo(\"vertical\", calculateRange, getDistanceTop, containerRef);\n const wrapperProps = computed(() => {\n return {\n style: {\n width: \"100%\",\n height: `${totalHeight.value - offsetTop.value}px`,\n marginTop: `${offsetTop.value}px`\n }\n };\n });\n return {\n calculateRange,\n scrollTo,\n containerStyle,\n wrapperProps,\n currentList,\n containerRef\n };\n}\n\nfunction useWakeLock(options = {}) {\n const {\n navigator = defaultNavigator,\n document = defaultDocument\n } = options;\n let wakeLock;\n const isSupported = useSupported(() => navigator && \"wakeLock\" in navigator);\n const isActive = ref(false);\n async function onVisibilityChange() {\n if (!isSupported.value || !wakeLock)\n return;\n if (document && document.visibilityState === \"visible\")\n wakeLock = await navigator.wakeLock.request(\"screen\");\n isActive.value = !wakeLock.released;\n }\n if (document)\n useEventListener(document, \"visibilitychange\", onVisibilityChange, { passive: true });\n async function request(type) {\n if (!isSupported.value)\n return;\n wakeLock = await navigator.wakeLock.request(type);\n isActive.value = !wakeLock.released;\n }\n async function release() {\n if (!isSupported.value || !wakeLock)\n return;\n await wakeLock.release();\n isActive.value = !wakeLock.released;\n wakeLock = null;\n }\n return {\n isSupported,\n isActive,\n request,\n release\n };\n}\n\nfunction useWebNotification(options = {}) {\n const {\n window = defaultWindow,\n requestPermissions: _requestForPermissions = true\n } = options;\n const defaultWebNotificationOptions = options;\n const isSupported = useSupported(() => !!window && \"Notification\" in window);\n const permissionGranted = ref(isSupported.value && \"permission\" in Notification && Notification.permission === \"granted\");\n const notification = ref(null);\n const ensurePermissions = async () => {\n if (!isSupported.value)\n return;\n if (!permissionGranted.value && Notification.permission !== \"denied\") {\n const result = await Notification.requestPermission();\n if (result === \"granted\")\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n };\n const { on: onClick, trigger: clickTrigger } = createEventHook();\n const { on: onShow, trigger: showTrigger } = createEventHook();\n const { on: onError, trigger: errorTrigger } = createEventHook();\n const { on: onClose, trigger: closeTrigger } = createEventHook();\n const show = async (overrides) => {\n if (!isSupported.value || !permissionGranted.value)\n return;\n const options2 = Object.assign({}, defaultWebNotificationOptions, overrides);\n notification.value = new Notification(options2.title || \"\", options2);\n notification.value.onclick = clickTrigger;\n notification.value.onshow = showTrigger;\n notification.value.onerror = errorTrigger;\n notification.value.onclose = closeTrigger;\n return notification.value;\n };\n const close = () => {\n if (notification.value)\n notification.value.close();\n notification.value = null;\n };\n if (_requestForPermissions)\n tryOnMounted(ensurePermissions);\n tryOnScopeDispose(close);\n if (isSupported.value && window) {\n const document = window.document;\n useEventListener(document, \"visibilitychange\", (e) => {\n e.preventDefault();\n if (document.visibilityState === \"visible\") {\n close();\n }\n });\n }\n return {\n isSupported,\n notification,\n ensurePermissions,\n permissionGranted,\n show,\n close,\n onClick,\n onShow,\n onError,\n onClose\n };\n}\n\nconst DEFAULT_PING_MESSAGE = \"ping\";\nfunction resolveNestedOptions(options) {\n if (options === true)\n return {};\n return options;\n}\nfunction useWebSocket(url, options = {}) {\n const {\n onConnected,\n onDisconnected,\n onError,\n onMessage,\n immediate = true,\n autoClose = true,\n protocols = []\n } = options;\n const data = ref(null);\n const status = ref(\"CLOSED\");\n const wsRef = ref();\n const urlRef = toRef(url);\n let heartbeatPause;\n let heartbeatResume;\n let explicitlyClosed = false;\n let retried = 0;\n let bufferedData = [];\n let pongTimeoutWait;\n const _sendBuffer = () => {\n if (bufferedData.length && wsRef.value && status.value === \"OPEN\") {\n for (const buffer of bufferedData)\n wsRef.value.send(buffer);\n bufferedData = [];\n }\n };\n const resetHeartbeat = () => {\n clearTimeout(pongTimeoutWait);\n pongTimeoutWait = void 0;\n };\n const close = (code = 1e3, reason) => {\n if (!isClient || !wsRef.value)\n return;\n explicitlyClosed = true;\n resetHeartbeat();\n heartbeatPause == null ? void 0 : heartbeatPause();\n wsRef.value.close(code, reason);\n };\n const send = (data2, useBuffer = true) => {\n if (!wsRef.value || status.value !== \"OPEN\") {\n if (useBuffer)\n bufferedData.push(data2);\n return false;\n }\n _sendBuffer();\n wsRef.value.send(data2);\n return true;\n };\n const _init = () => {\n if (explicitlyClosed || typeof urlRef.value === \"undefined\")\n return;\n const ws = new WebSocket(urlRef.value, protocols);\n wsRef.value = ws;\n status.value = \"CONNECTING\";\n ws.onopen = () => {\n status.value = \"OPEN\";\n onConnected == null ? void 0 : onConnected(ws);\n heartbeatResume == null ? void 0 : heartbeatResume();\n _sendBuffer();\n };\n ws.onclose = (ev) => {\n status.value = \"CLOSED\";\n wsRef.value = void 0;\n onDisconnected == null ? void 0 : onDisconnected(ws, ev);\n if (!explicitlyClosed && options.autoReconnect) {\n const {\n retries = -1,\n delay = 1e3,\n onFailed\n } = resolveNestedOptions(options.autoReconnect);\n retried += 1;\n if (typeof retries === \"number\" && (retries < 0 || retried < retries))\n setTimeout(_init, delay);\n else if (typeof retries === \"function\" && retries())\n setTimeout(_init, delay);\n else\n onFailed == null ? void 0 : onFailed();\n }\n };\n ws.onerror = (e) => {\n onError == null ? void 0 : onError(ws, e);\n };\n ws.onmessage = (e) => {\n if (options.heartbeat) {\n resetHeartbeat();\n const {\n message = DEFAULT_PING_MESSAGE\n } = resolveNestedOptions(options.heartbeat);\n if (e.data === message)\n return;\n }\n data.value = e.data;\n onMessage == null ? void 0 : onMessage(ws, e);\n };\n };\n if (options.heartbeat) {\n const {\n message = DEFAULT_PING_MESSAGE,\n interval = 1e3,\n pongTimeout = 1e3\n } = resolveNestedOptions(options.heartbeat);\n const { pause, resume } = useIntervalFn(\n () => {\n send(message, false);\n if (pongTimeoutWait != null)\n return;\n pongTimeoutWait = setTimeout(() => {\n close();\n explicitlyClosed = false;\n }, pongTimeout);\n },\n interval,\n { immediate: false }\n );\n heartbeatPause = pause;\n heartbeatResume = resume;\n }\n if (autoClose) {\n if (isClient)\n useEventListener(\"beforeunload\", () => close());\n tryOnScopeDispose(close);\n }\n const open = () => {\n if (!isClient && !isWorker)\n return;\n close();\n explicitlyClosed = false;\n retried = 0;\n _init();\n };\n if (immediate)\n watch(urlRef, open, { immediate: true });\n return {\n data,\n status,\n close,\n send,\n open,\n ws: wsRef\n };\n}\n\nfunction useWebWorker(arg0, workerOptions, options) {\n const {\n window = defaultWindow\n } = options != null ? options : {};\n const data = ref(null);\n const worker = shallowRef();\n const post = (...args) => {\n if (!worker.value)\n return;\n worker.value.postMessage(...args);\n };\n const terminate = function terminate2() {\n if (!worker.value)\n return;\n worker.value.terminate();\n };\n if (window) {\n if (typeof arg0 === \"string\")\n worker.value = new Worker(arg0, workerOptions);\n else if (typeof arg0 === \"function\")\n worker.value = arg0();\n else\n worker.value = arg0;\n worker.value.onmessage = (e) => {\n data.value = e.data;\n };\n tryOnScopeDispose(() => {\n if (worker.value)\n worker.value.terminate();\n });\n }\n return {\n data,\n post,\n terminate,\n worker\n };\n}\n\nfunction jobRunner(userFunc) {\n return (e) => {\n const userFuncArgs = e.data[0];\n return Promise.resolve(userFunc.apply(void 0, userFuncArgs)).then((result) => {\n postMessage([\"SUCCESS\", result]);\n }).catch((error) => {\n postMessage([\"ERROR\", error]);\n });\n };\n}\n\nfunction depsParser(deps) {\n if (deps.length === 0)\n return \"\";\n const depsString = deps.map((dep) => `'${dep}'`).toString();\n return `importScripts(${depsString})`;\n}\n\nfunction createWorkerBlobUrl(fn, deps) {\n const blobCode = `${depsParser(deps)}; onmessage=(${jobRunner})(${fn})`;\n const blob = new Blob([blobCode], { type: \"text/javascript\" });\n const url = URL.createObjectURL(blob);\n return url;\n}\n\nfunction useWebWorkerFn(fn, options = {}) {\n const {\n dependencies = [],\n timeout,\n window = defaultWindow\n } = options;\n const worker = ref();\n const workerStatus = ref(\"PENDING\");\n const promise = ref({});\n const timeoutId = ref();\n const workerTerminate = (status = \"PENDING\") => {\n if (worker.value && worker.value._url && window) {\n worker.value.terminate();\n URL.revokeObjectURL(worker.value._url);\n promise.value = {};\n worker.value = void 0;\n window.clearTimeout(timeoutId.value);\n workerStatus.value = status;\n }\n };\n workerTerminate();\n tryOnScopeDispose(workerTerminate);\n const generateWorker = () => {\n const blobUrl = createWorkerBlobUrl(fn, dependencies);\n const newWorker = new Worker(blobUrl);\n newWorker._url = blobUrl;\n newWorker.onmessage = (e) => {\n const { resolve = () => {\n }, reject = () => {\n } } = promise.value;\n const [status, result] = e.data;\n switch (status) {\n case \"SUCCESS\":\n resolve(result);\n workerTerminate(status);\n break;\n default:\n reject(result);\n workerTerminate(\"ERROR\");\n break;\n }\n };\n newWorker.onerror = (e) => {\n const { reject = () => {\n } } = promise.value;\n e.preventDefault();\n reject(e);\n workerTerminate(\"ERROR\");\n };\n if (timeout) {\n timeoutId.value = setTimeout(\n () => workerTerminate(\"TIMEOUT_EXPIRED\"),\n timeout\n );\n }\n return newWorker;\n };\n const callWorker = (...fnArgs) => new Promise((resolve, reject) => {\n promise.value = {\n resolve,\n reject\n };\n worker.value && worker.value.postMessage([[...fnArgs]]);\n workerStatus.value = \"RUNNING\";\n });\n const workerFn = (...fnArgs) => {\n if (workerStatus.value === \"RUNNING\") {\n console.error(\n \"[useWebWorkerFn] You can only run one instance of the worker at a time.\"\n );\n return Promise.reject();\n }\n worker.value = generateWorker();\n return callWorker(...fnArgs);\n };\n return {\n workerFn,\n workerStatus,\n workerTerminate\n };\n}\n\nfunction useWindowFocus(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref(false);\n const focused = ref(window.document.hasFocus());\n useEventListener(window, \"blur\", () => {\n focused.value = false;\n });\n useEventListener(window, \"focus\", () => {\n focused.value = true;\n });\n return focused;\n}\n\nfunction useWindowScroll(options = {}) {\n const { window = defaultWindow, behavior = \"auto\" } = options;\n if (!window) {\n return {\n x: ref(0),\n y: ref(0)\n };\n }\n const internalX = ref(window.scrollX);\n const internalY = ref(window.scrollY);\n const x = computed({\n get() {\n return internalX.value;\n },\n set(x2) {\n scrollTo({ left: x2, behavior });\n }\n });\n const y = computed({\n get() {\n return internalY.value;\n },\n set(y2) {\n scrollTo({ top: y2, behavior });\n }\n });\n useEventListener(\n window,\n \"scroll\",\n () => {\n internalX.value = window.scrollX;\n internalY.value = window.scrollY;\n },\n {\n capture: false,\n passive: true\n }\n );\n return { x, y };\n}\n\nfunction useWindowSize(options = {}) {\n const {\n window = defaultWindow,\n initialWidth = Number.POSITIVE_INFINITY,\n initialHeight = Number.POSITIVE_INFINITY,\n listenOrientation = true,\n includeScrollbar = true\n } = options;\n const width = ref(initialWidth);\n const height = ref(initialHeight);\n const update = () => {\n if (window) {\n if (includeScrollbar) {\n width.value = window.innerWidth;\n height.value = window.innerHeight;\n } else {\n width.value = window.document.documentElement.clientWidth;\n height.value = window.document.documentElement.clientHeight;\n }\n }\n };\n update();\n tryOnMounted(update);\n useEventListener(\"resize\", update, { passive: true });\n if (listenOrientation) {\n const matches = useMediaQuery(\"(orientation: portrait)\");\n watch(matches, () => update());\n }\n return { width, height };\n}\n\nexport { DefaultMagicKeysAliasMap, StorageSerializers, TransitionPresets, computedAsync as asyncComputed, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsMasterCss, breakpointsPrimeFlex, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, cloneFnJSON, computedAsync, computedInject, createFetch, createReusableTemplate, createTemplatePromise, createUnrefFn, customStorageEventName, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, executeTransition, formatTimeAgo, getSSRHandler, mapGamepadToXbox360Controller, onClickOutside, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, setSSRHandler, templateRef, unrefElement, useActiveElement, useAnimate, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useClipboardItems, useCloned, useColorMode, useConfirmDialog, useCssVar, useCurrentElement, useCycleList, useDark, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useKeyModifier, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, useParentElement, usePerformanceObserver, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePrevious, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, useThrottledRefHistory, useTimeAgo, useTimeoutPoll, useTimestamp, useTitle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize };\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nvar splitpanes_vue_vue_type_style_index_0_lang = \"\";\nfunction normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {\n var options = typeof scriptExports === \"function\" ? scriptExports.options : scriptExports;\n if (render2) {\n options.render = render2;\n options.staticRenderFns = staticRenderFns2;\n options._compiled = true;\n }\n if (functionalTemplate) {\n options.functional = true;\n }\n if (scopeId) {\n options._scopeId = \"data-v-\" + scopeId;\n }\n var hook;\n if (moduleIdentifier) {\n hook = function(context) {\n context = context || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;\n if (!context && typeof __VUE_SSR_CONTEXT__ !== \"undefined\") {\n context = __VUE_SSR_CONTEXT__;\n }\n if (injectStyles) {\n injectStyles.call(this, context);\n }\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n };\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function() {\n injectStyles.call(this, (options.functional ? this.parent : this).$root.$options.shadowRoot);\n } : injectStyles;\n }\n if (hook) {\n if (options.functional) {\n options._injectStyles = hook;\n var originalRender = options.render;\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n return {\n exports: scriptExports,\n options\n };\n}\nconst __vue2_script$1 = {\n name: \"splitpanes\",\n props: {\n horizontal: { type: Boolean },\n pushOtherPanes: { type: Boolean, default: true },\n dblClickSplitter: { type: Boolean, default: true },\n rtl: { type: Boolean, default: false },\n firstSplitter: { type: Boolean }\n },\n provide() {\n return {\n requestUpdate: this.requestUpdate,\n onPaneAdd: this.onPaneAdd,\n onPaneRemove: this.onPaneRemove,\n onPaneClick: this.onPaneClick\n };\n },\n data: () => ({\n container: null,\n ready: false,\n panes: [],\n touch: {\n mouseDown: false,\n dragging: false,\n activeSplitter: null\n },\n splitterTaps: {\n splitter: null,\n timeoutId: null\n }\n }),\n computed: {\n panesCount() {\n return this.panes.length;\n },\n indexedPanes() {\n return this.panes.reduce((obj, pane2) => (obj[pane2.id] = pane2) && obj, {});\n }\n },\n methods: {\n updatePaneComponents() {\n this.panes.forEach((pane2) => {\n pane2.update && pane2.update({\n [this.horizontal ? \"height\" : \"width\"]: `${this.indexedPanes[pane2.id].size}%`\n });\n });\n },\n bindEvents() {\n document.addEventListener(\"mousemove\", this.onMouseMove, { passive: false });\n document.addEventListener(\"mouseup\", this.onMouseUp);\n if (\"ontouchstart\" in window) {\n document.addEventListener(\"touchmove\", this.onMouseMove, { passive: false });\n document.addEventListener(\"touchend\", this.onMouseUp);\n }\n },\n unbindEvents() {\n document.removeEventListener(\"mousemove\", this.onMouseMove, { passive: false });\n document.removeEventListener(\"mouseup\", this.onMouseUp);\n if (\"ontouchstart\" in window) {\n document.removeEventListener(\"touchmove\", this.onMouseMove, { passive: false });\n document.removeEventListener(\"touchend\", this.onMouseUp);\n }\n },\n onMouseDown(event, splitterIndex) {\n this.bindEvents();\n this.touch.mouseDown = true;\n this.touch.activeSplitter = splitterIndex;\n },\n onMouseMove(event) {\n if (this.touch.mouseDown) {\n event.preventDefault();\n this.touch.dragging = true;\n this.calculatePanesSize(this.getCurrentMouseDrag(event));\n this.$emit(\"resize\", this.panes.map((pane2) => ({ min: pane2.min, max: pane2.max, size: pane2.size })));\n }\n },\n onMouseUp() {\n if (this.touch.dragging) {\n this.$emit(\"resized\", this.panes.map((pane2) => ({ min: pane2.min, max: pane2.max, size: pane2.size })));\n }\n this.touch.mouseDown = false;\n setTimeout(() => {\n this.touch.dragging = false;\n this.unbindEvents();\n }, 100);\n },\n onSplitterClick(event, splitterIndex) {\n if (\"ontouchstart\" in window) {\n event.preventDefault();\n if (this.dblClickSplitter) {\n if (this.splitterTaps.splitter === splitterIndex) {\n clearTimeout(this.splitterTaps.timeoutId);\n this.splitterTaps.timeoutId = null;\n this.onSplitterDblClick(event, splitterIndex);\n this.splitterTaps.splitter = null;\n } else {\n this.splitterTaps.splitter = splitterIndex;\n this.splitterTaps.timeoutId = setTimeout(() => {\n this.splitterTaps.splitter = null;\n }, 500);\n }\n }\n }\n if (!this.touch.dragging)\n this.$emit(\"splitter-click\", this.panes[splitterIndex]);\n },\n onSplitterDblClick(event, splitterIndex) {\n let totalMinSizes = 0;\n this.panes = this.panes.map((pane2, i) => {\n pane2.size = i === splitterIndex ? pane2.max : pane2.min;\n if (i !== splitterIndex)\n totalMinSizes += pane2.min;\n return pane2;\n });\n this.panes[splitterIndex].size -= totalMinSizes;\n this.$emit(\"pane-maximize\", this.panes[splitterIndex]);\n },\n onPaneClick(event, paneId) {\n this.$emit(\"pane-click\", this.indexedPanes[paneId]);\n },\n getCurrentMouseDrag(event) {\n const rect = this.container.getBoundingClientRect();\n const { clientX, clientY } = \"ontouchstart\" in window && event.touches ? event.touches[0] : event;\n return {\n x: clientX - rect.left,\n y: clientY - rect.top\n };\n },\n getCurrentDragPercentage(drag) {\n drag = drag[this.horizontal ? \"y\" : \"x\"];\n const containerSize = this.container[this.horizontal ? \"clientHeight\" : \"clientWidth\"];\n if (this.rtl && !this.horizontal)\n drag = containerSize - drag;\n return drag * 100 / containerSize;\n },\n calculatePanesSize(drag) {\n const splitterIndex = this.touch.activeSplitter;\n let sums = {\n prevPanesSize: this.sumPrevPanesSize(splitterIndex),\n nextPanesSize: this.sumNextPanesSize(splitterIndex),\n prevReachedMinPanes: 0,\n nextReachedMinPanes: 0\n };\n const minDrag = 0 + (this.pushOtherPanes ? 0 : sums.prevPanesSize);\n const maxDrag = 100 - (this.pushOtherPanes ? 0 : sums.nextPanesSize);\n const dragPercentage = Math.max(Math.min(this.getCurrentDragPercentage(drag), maxDrag), minDrag);\n let panesToResize = [splitterIndex, splitterIndex + 1];\n let paneBefore = this.panes[panesToResize[0]] || null;\n let paneAfter = this.panes[panesToResize[1]] || null;\n const paneBeforeMaxReached = paneBefore.max < 100 && dragPercentage >= paneBefore.max + sums.prevPanesSize;\n const paneAfterMaxReached = paneAfter.max < 100 && dragPercentage <= 100 - (paneAfter.max + this.sumNextPanesSize(splitterIndex + 1));\n if (paneBeforeMaxReached || paneAfterMaxReached) {\n if (paneBeforeMaxReached) {\n paneBefore.size = paneBefore.max;\n paneAfter.size = Math.max(100 - paneBefore.max - sums.prevPanesSize - sums.nextPanesSize, 0);\n } else {\n paneBefore.size = Math.max(100 - paneAfter.max - sums.prevPanesSize - this.sumNextPanesSize(splitterIndex + 1), 0);\n paneAfter.size = paneAfter.max;\n }\n return;\n }\n if (this.pushOtherPanes) {\n const vars = this.doPushOtherPanes(sums, dragPercentage);\n if (!vars)\n return;\n ({ sums, panesToResize } = vars);\n paneBefore = this.panes[panesToResize[0]] || null;\n paneAfter = this.panes[panesToResize[1]] || null;\n }\n if (paneBefore !== null) {\n paneBefore.size = Math.min(Math.max(dragPercentage - sums.prevPanesSize - sums.prevReachedMinPanes, paneBefore.min), paneBefore.max);\n }\n if (paneAfter !== null) {\n paneAfter.size = Math.min(Math.max(100 - dragPercentage - sums.nextPanesSize - sums.nextReachedMinPanes, paneAfter.min), paneAfter.max);\n }\n },\n doPushOtherPanes(sums, dragPercentage) {\n const splitterIndex = this.touch.activeSplitter;\n const panesToResize = [splitterIndex, splitterIndex + 1];\n if (dragPercentage < sums.prevPanesSize + this.panes[panesToResize[0]].min) {\n panesToResize[0] = this.findPrevExpandedPane(splitterIndex).index;\n sums.prevReachedMinPanes = 0;\n if (panesToResize[0] < splitterIndex) {\n this.panes.forEach((pane2, i) => {\n if (i > panesToResize[0] && i <= splitterIndex) {\n pane2.size = pane2.min;\n sums.prevReachedMinPanes += pane2.min;\n }\n });\n }\n sums.prevPanesSize = this.sumPrevPanesSize(panesToResize[0]);\n if (panesToResize[0] === void 0) {\n sums.prevReachedMinPanes = 0;\n this.panes[0].size = this.panes[0].min;\n this.panes.forEach((pane2, i) => {\n if (i > 0 && i <= splitterIndex) {\n pane2.size = pane2.min;\n sums.prevReachedMinPanes += pane2.min;\n }\n });\n this.panes[panesToResize[1]].size = 100 - sums.prevReachedMinPanes - this.panes[0].min - sums.prevPanesSize - sums.nextPanesSize;\n return null;\n }\n }\n if (dragPercentage > 100 - sums.nextPanesSize - this.panes[panesToResize[1]].min) {\n panesToResize[1] = this.findNextExpandedPane(splitterIndex).index;\n sums.nextReachedMinPanes = 0;\n if (panesToResize[1] > splitterIndex + 1) {\n this.panes.forEach((pane2, i) => {\n if (i > splitterIndex && i < panesToResize[1]) {\n pane2.size = pane2.min;\n sums.nextReachedMinPanes += pane2.min;\n }\n });\n }\n sums.nextPanesSize = this.sumNextPanesSize(panesToResize[1] - 1);\n if (panesToResize[1] === void 0) {\n sums.nextReachedMinPanes = 0;\n this.panes[this.panesCount - 1].size = this.panes[this.panesCount - 1].min;\n this.panes.forEach((pane2, i) => {\n if (i < this.panesCount - 1 && i >= splitterIndex + 1) {\n pane2.size = pane2.min;\n sums.nextReachedMinPanes += pane2.min;\n }\n });\n this.panes[panesToResize[0]].size = 100 - sums.prevPanesSize - sums.nextReachedMinPanes - this.panes[this.panesCount - 1].min - sums.nextPanesSize;\n return null;\n }\n }\n return { sums, panesToResize };\n },\n sumPrevPanesSize(splitterIndex) {\n return this.panes.reduce((total, pane2, i) => total + (i < splitterIndex ? pane2.size : 0), 0);\n },\n sumNextPanesSize(splitterIndex) {\n return this.panes.reduce((total, pane2, i) => total + (i > splitterIndex + 1 ? pane2.size : 0), 0);\n },\n findPrevExpandedPane(splitterIndex) {\n const pane2 = [...this.panes].reverse().find((p) => p.index < splitterIndex && p.size > p.min);\n return pane2 || {};\n },\n findNextExpandedPane(splitterIndex) {\n const pane2 = this.panes.find((p) => p.index > splitterIndex + 1 && p.size > p.min);\n return pane2 || {};\n },\n checkSplitpanesNodes() {\n const children = Array.from(this.container.children);\n children.forEach((child) => {\n const isPane = child.classList.contains(\"splitpanes__pane\");\n const isSplitter = child.classList.contains(\"splitpanes__splitter\");\n if (!isPane && !isSplitter) {\n child.parentNode.removeChild(child);\n console.warn(\"Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed.\");\n return;\n }\n });\n },\n addSplitter(paneIndex, nextPaneNode, isVeryFirst = false) {\n const splitterIndex = paneIndex - 1;\n const elm = document.createElement(\"div\");\n elm.classList.add(\"splitpanes__splitter\");\n if (!isVeryFirst) {\n elm.onmousedown = (event) => this.onMouseDown(event, splitterIndex);\n if (typeof window !== \"undefined\" && \"ontouchstart\" in window) {\n elm.ontouchstart = (event) => this.onMouseDown(event, splitterIndex);\n }\n elm.onclick = (event) => this.onSplitterClick(event, splitterIndex + 1);\n }\n if (this.dblClickSplitter) {\n elm.ondblclick = (event) => this.onSplitterDblClick(event, splitterIndex + 1);\n }\n nextPaneNode.parentNode.insertBefore(elm, nextPaneNode);\n },\n removeSplitter(node) {\n node.onmousedown = void 0;\n node.onclick = void 0;\n node.ondblclick = void 0;\n node.parentNode.removeChild(node);\n },\n redoSplitters() {\n const children = Array.from(this.container.children);\n children.forEach((el) => {\n if (el.className.includes(\"splitpanes__splitter\"))\n this.removeSplitter(el);\n });\n let paneIndex = 0;\n children.forEach((el) => {\n if (el.className.includes(\"splitpanes__pane\")) {\n if (!paneIndex && this.firstSplitter)\n this.addSplitter(paneIndex, el, true);\n else if (paneIndex)\n this.addSplitter(paneIndex, el);\n paneIndex++;\n }\n });\n },\n requestUpdate(_a) {\n var _b = _a, { target } = _b, args = __objRest(_b, [\"target\"]);\n const pane2 = this.indexedPanes[target._uid];\n Object.entries(args).forEach(([key, value]) => pane2[key] = value);\n },\n onPaneAdd(pane2) {\n let index = -1;\n Array.from(pane2.$el.parentNode.children).some((el) => {\n if (el.className.includes(\"splitpanes__pane\"))\n index++;\n return el === pane2.$el;\n });\n const min = parseFloat(pane2.minSize);\n const max = parseFloat(pane2.maxSize);\n this.panes.splice(index, 0, {\n id: pane2._uid,\n index,\n min: isNaN(min) ? 0 : min,\n max: isNaN(max) ? 100 : max,\n size: pane2.size === null ? null : parseFloat(pane2.size),\n givenSize: pane2.size,\n update: pane2.update\n });\n this.panes.forEach((p, i) => p.index = i);\n if (this.ready) {\n this.$nextTick(() => {\n this.redoSplitters();\n this.resetPaneSizes({ addedPane: this.panes[index] });\n this.$emit(\"pane-add\", { index, panes: this.panes.map((pane3) => ({ min: pane3.min, max: pane3.max, size: pane3.size })) });\n });\n }\n },\n onPaneRemove(pane2) {\n const index = this.panes.findIndex((p) => p.id === pane2._uid);\n const removed = this.panes.splice(index, 1)[0];\n this.panes.forEach((p, i) => p.index = i);\n this.$nextTick(() => {\n this.redoSplitters();\n this.resetPaneSizes({ removedPane: __spreadProps(__spreadValues({}, removed), { index }) });\n this.$emit(\"pane-remove\", { removed, panes: this.panes.map((pane3) => ({ min: pane3.min, max: pane3.max, size: pane3.size })) });\n });\n },\n resetPaneSizes(changedPanes = {}) {\n if (!changedPanes.addedPane && !changedPanes.removedPane)\n this.initialPanesSizing();\n else if (this.panes.some((pane2) => pane2.givenSize !== null || pane2.min || pane2.max < 100))\n this.equalizeAfterAddOrRemove(changedPanes);\n else\n this.equalize();\n if (this.ready)\n this.$emit(\"resized\", this.panes.map((pane2) => ({ min: pane2.min, max: pane2.max, size: pane2.size })));\n },\n equalize() {\n const equalSpace = 100 / this.panesCount;\n let leftToAllocate = 0;\n let ungrowable = [];\n let unshrinkable = [];\n this.panes.forEach((pane2) => {\n pane2.size = Math.max(Math.min(equalSpace, pane2.max), pane2.min);\n leftToAllocate -= pane2.size;\n if (pane2.size >= pane2.max)\n ungrowable.push(pane2.id);\n if (pane2.size <= pane2.min)\n unshrinkable.push(pane2.id);\n });\n if (leftToAllocate > 0.1)\n this.readjustSizes(leftToAllocate, ungrowable, unshrinkable);\n },\n initialPanesSizing() {\n 100 / this.panesCount;\n let leftToAllocate = 100;\n let ungrowable = [];\n let unshrinkable = [];\n let definedSizes = 0;\n this.panes.forEach((pane2) => {\n leftToAllocate -= pane2.size;\n if (pane2.size !== null)\n definedSizes++;\n if (pane2.size >= pane2.max)\n ungrowable.push(pane2.id);\n if (pane2.size <= pane2.min)\n unshrinkable.push(pane2.id);\n });\n let leftToAllocate2 = 100;\n if (leftToAllocate > 0.1) {\n this.panes.forEach((pane2) => {\n if (pane2.size === null) {\n pane2.size = Math.max(Math.min(leftToAllocate / (this.panesCount - definedSizes), pane2.max), pane2.min);\n }\n leftToAllocate2 -= pane2.size;\n });\n if (leftToAllocate2 > 0.1)\n this.readjustSizes(leftToAllocate, ungrowable, unshrinkable);\n }\n },\n equalizeAfterAddOrRemove({ addedPane, removedPane } = {}) {\n let equalSpace = 100 / this.panesCount;\n let leftToAllocate = 0;\n let ungrowable = [];\n let unshrinkable = [];\n if (addedPane && addedPane.givenSize !== null) {\n equalSpace = (100 - addedPane.givenSize) / (this.panesCount - 1);\n }\n this.panes.forEach((pane2) => {\n leftToAllocate -= pane2.size;\n if (pane2.size >= pane2.max)\n ungrowable.push(pane2.id);\n if (pane2.size <= pane2.min)\n unshrinkable.push(pane2.id);\n });\n if (Math.abs(leftToAllocate) < 0.1)\n return;\n this.panes.forEach((pane2) => {\n if (addedPane && addedPane.givenSize !== null && addedPane.id === pane2.id)\n ;\n else\n pane2.size = Math.max(Math.min(equalSpace, pane2.max), pane2.min);\n leftToAllocate -= pane2.size;\n if (pane2.size >= pane2.max)\n ungrowable.push(pane2.id);\n if (pane2.size <= pane2.min)\n unshrinkable.push(pane2.id);\n });\n if (leftToAllocate > 0.1)\n this.readjustSizes(leftToAllocate, ungrowable, unshrinkable);\n },\n readjustSizes(leftToAllocate, ungrowable, unshrinkable) {\n let equalSpaceToAllocate;\n if (leftToAllocate > 0)\n equalSpaceToAllocate = leftToAllocate / (this.panesCount - ungrowable.length);\n else\n equalSpaceToAllocate = leftToAllocate / (this.panesCount - unshrinkable.length);\n this.panes.forEach((pane2, i) => {\n if (leftToAllocate > 0 && !ungrowable.includes(pane2.id)) {\n const newPaneSize = Math.max(Math.min(pane2.size + equalSpaceToAllocate, pane2.max), pane2.min);\n const allocated = newPaneSize - pane2.size;\n leftToAllocate -= allocated;\n pane2.size = newPaneSize;\n } else if (!unshrinkable.includes(pane2.id)) {\n const newPaneSize = Math.max(Math.min(pane2.size + equalSpaceToAllocate, pane2.max), pane2.min);\n const allocated = newPaneSize - pane2.size;\n leftToAllocate -= allocated;\n pane2.size = newPaneSize;\n }\n pane2.update({\n [this.horizontal ? \"height\" : \"width\"]: `${this.indexedPanes[pane2.id].size}%`\n });\n });\n if (Math.abs(leftToAllocate) > 0.1) {\n this.$nextTick(() => {\n if (this.ready) {\n console.warn(\"Splitpanes: Could not resize panes correctly due to their constraints.\");\n }\n });\n }\n }\n },\n watch: {\n panes: {\n deep: true,\n immediate: false,\n handler() {\n this.updatePaneComponents();\n }\n },\n horizontal() {\n this.updatePaneComponents();\n },\n firstSplitter() {\n this.redoSplitters();\n },\n dblClickSplitter(enable) {\n const splitters = [...this.container.querySelectorAll(\".splitpanes__splitter\")];\n splitters.forEach((splitter, i) => {\n splitter.ondblclick = enable ? (event) => this.onSplitterDblClick(event, i) : void 0;\n });\n }\n },\n beforeDestroy() {\n this.ready = false;\n },\n mounted() {\n this.container = this.$refs.container;\n this.checkSplitpanesNodes();\n this.redoSplitters();\n this.resetPaneSizes();\n this.$emit(\"ready\");\n this.ready = true;\n },\n render(h) {\n return h(\"div\", {\n ref: \"container\",\n class: [\n \"splitpanes\",\n `splitpanes--${this.horizontal ? \"horizontal\" : \"vertical\"}`,\n {\n \"splitpanes--dragging\": this.touch.dragging\n }\n ]\n }, this.$slots.default);\n }\n};\nlet __vue2_render, __vue2_staticRenderFns;\nconst __cssModules$1 = {};\nvar __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, __vue2_render, __vue2_staticRenderFns, false, __vue2_injectStyles$1, null, null, null);\nfunction __vue2_injectStyles$1(context) {\n for (let o in __cssModules$1) {\n this[o] = __cssModules$1[o];\n }\n}\nvar splitpanes = /* @__PURE__ */ function() {\n return __component__$1.exports;\n}();\nvar render = function() {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c(\"div\", { staticClass: \"splitpanes__pane\", style: _vm.style, on: { \"click\": function($event) {\n return _vm.onPaneClick($event, _vm._uid);\n } } }, [_vm._t(\"default\")], 2);\n};\nvar staticRenderFns = [];\nconst __vue2_script = {\n name: \"pane\",\n inject: [\"requestUpdate\", \"onPaneAdd\", \"onPaneRemove\", \"onPaneClick\"],\n props: {\n size: { type: [Number, String], default: null },\n minSize: { type: [Number, String], default: 0 },\n maxSize: { type: [Number, String], default: 100 }\n },\n data: () => ({\n style: {}\n }),\n mounted() {\n this.onPaneAdd(this);\n },\n beforeDestroy() {\n this.onPaneRemove(this);\n },\n methods: {\n update(style) {\n this.style = style;\n }\n },\n computed: {\n sizeNumber() {\n return this.size || this.size === 0 ? parseFloat(this.size) : null;\n },\n minSizeNumber() {\n return parseFloat(this.minSize);\n },\n maxSizeNumber() {\n return parseFloat(this.maxSize);\n }\n },\n watch: {\n sizeNumber(size) {\n this.requestUpdate({ target: this, size });\n },\n minSizeNumber(min) {\n this.requestUpdate({ target: this, min });\n },\n maxSizeNumber(max) {\n this.requestUpdate({ target: this, max });\n }\n }\n};\nconst __cssModules = {};\nvar __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);\nfunction __vue2_injectStyles(context) {\n for (let o in __cssModules) {\n this[o] = __cssModules[o];\n }\n}\nvar pane = /* @__PURE__ */ function() {\n return __component__.exports;\n}();\nexport { pane as Pane, splitpanes as Splitpanes };\n","import \"../assets/index-4596132f.css\";\nimport l from \"./NcButton.mjs\";\nimport { t as p } from \"../chunks/l10n-ef44019c.mjs\";\nimport \"../Directives/Tooltip.mjs\";\nimport { emit as n } from \"@nextcloud/event-bus\";\nimport { A as r } from \"../chunks/ArrowRight-74a9fcb2.mjs\";\nimport { n as o } from \"../chunks/_plugin-vue2_normalizer-71e2aa87.mjs\";\nimport { VTooltip as c } from \"floating-vue\";\nimport { useIsMobile as u } from \"../Composables/useIsMobile.mjs\";\nimport { getBuilder as f } from \"@nextcloud/browser-storage\";\nimport { useSwipe as h } from \"@vueuse/core\";\nimport { Pane as g, Splitpanes as d } from \"splitpanes\";\nimport \"splitpanes/dist/splitpanes.css\";\nconst m = {\n name: \"NcAppDetailsToggle\",\n directives: {\n tooltip: c\n },\n components: {\n NcButton: l,\n ArrowRight: r\n },\n computed: {\n title() {\n return p(\"Go back to the list\");\n }\n },\n beforeMount() {\n this.toggleAppNavigationButton(!0);\n },\n beforeDestroy() {\n this.toggleAppNavigationButton(!1);\n },\n methods: {\n toggleAppNavigationButton(e = !0) {\n const t = document.querySelector(\".app-navigation .app-navigation-toggle\");\n t && (t.style.display = e ? \"none\" : null, e === !0 && n(\"toggle-navigation\", { open: !1 }));\n }\n }\n};\nvar _ = function() {\n var t = this, i = t._self._c;\n return i(\"NcButton\", { directives: [{ name: \"tooltip\", rawName: \"v-tooltip\", value: t.title, expression: \"title\" }], staticClass: \"app-details-toggle\", attrs: { \"aria-label\": t.title }, scopedSlots: t._u([{ key: \"icon\", fn: function() {\n return [i(\"ArrowRight\", { attrs: { size: 20 } })];\n }, proxy: !0 }]) });\n}, z = [], S = /* @__PURE__ */ o(\n m,\n _,\n z,\n !1,\n null,\n \"5244e83e\",\n null,\n null\n);\nconst v = S.exports;\nconst a = f(\"nextcloud\").persist().build(), w = {\n name: \"NcAppContent\",\n components: {\n NcAppDetailsToggle: v,\n Pane: g,\n Splitpanes: d\n },\n props: {\n /**\n * Allows to disable the control by swipe of the app navigation open state\n */\n allowSwipeNavigation: {\n type: Boolean,\n default: !0\n },\n /**\n * Allows you to set the default width of the resizable list in %\n * Must be between listMinWidth and listMaxWidth\n */\n listSize: {\n type: Number,\n default: 20\n },\n /**\n * Allows you to set the minimum width of the list column in %\n */\n listMinWidth: {\n type: Number,\n default: 15\n },\n /**\n * Allows you to set the maximum width of the list column in %\n */\n listMaxWidth: {\n type: Number,\n default: 40\n },\n /**\n * Specify the config key for the pane config sizes\n * Default is the global var appName if you use the webpack-vue-config\n */\n paneConfigKey: {\n type: String,\n default: \"\"\n },\n /**\n * When in mobile view, only the list or the details are shown\n * If you provide a list, you need to provide a variable\n * that will be set to true by the user when an element of\n * the list gets selected. The details will then show a back\n * arrow to return to the list that will update this prop to false.\n */\n showDetails: {\n type: Boolean,\n default: !0\n },\n /**\n * Specify the `

` page heading\n */\n pageHeading: {\n type: String,\n default: null\n }\n },\n emits: [\n \"update:showDetails\",\n \"resize:list\"\n ],\n setup() {\n return {\n isMobile: u()\n };\n },\n data() {\n return {\n contentHeight: 0,\n hasList: !1,\n swiping: {},\n listPaneSize: this.restorePaneConfig()\n };\n },\n computed: {\n paneConfigID() {\n if (this.paneConfigKey !== \"\")\n return `pane-list-size-${this.paneConfigKey}`;\n try {\n return `pane-list-size-${appName}`;\n } catch {\n return console.info(\"[INFO] AppContent:\", \"falling back to global nextcloud pane config\"), \"pane-list-size-nextcloud\";\n }\n },\n detailsPaneSize() {\n return this.listPaneSize ? 100 - this.listPaneSize : this.paneDefaults.details.size;\n },\n paneDefaults() {\n return {\n list: {\n size: this.listSize,\n min: this.listMinWidth,\n max: this.listMaxWidth\n },\n // set the inverse values of the details column\n // based on the provided (or default) values of the list column\n details: {\n size: 100 - this.listSize,\n min: 100 - this.listMaxWidth,\n max: 100 - this.listMinWidth\n }\n };\n }\n },\n updated() {\n this.checkListSlot();\n },\n mounted() {\n this.allowSwipeNavigation && (this.swiping = h(this.$el, {\n onSwipeEnd: this.handleSwipe\n })), this.checkListSlot(), this.restorePaneConfig();\n },\n methods: {\n /**\n * handle the swipe event\n *\n * @param {TouchEvent} e The touch event\n * @param {import('@vueuse/core').SwipeDirection} direction The swipe direction of the event\n */\n handleSwipe(e, t) {\n Math.abs(this.swiping.lengthX) > 70 && (this.swiping.coordsStart.x < 300 / 2 && t === \"right\" ? n(\"toggle-navigation\", {\n open: !0\n }) : this.swiping.coordsStart.x < 300 * 1.5 && t === \"left\" && n(\"toggle-navigation\", {\n open: !1\n }));\n },\n handlePaneResize(e) {\n const t = parseInt(e[0].size, 10);\n a.setItem(this.paneConfigID, JSON.stringify(t)), this.listPaneSize = t, this.$emit(\"resize:list\", { size: t }), console.debug(\"AppContent pane config\", t);\n },\n // $slots is not reactive, we need to update this manually\n checkListSlot() {\n const e = !!this.$slots.list;\n this.hasList !== e && (this.hasList = e);\n },\n // browserStorage is not reactive, we need to update this manually\n restorePaneConfig() {\n const e = parseInt(a.getItem(this.paneConfigID), 10);\n if (!isNaN(e) && e !== this.listPaneSize)\n return console.debug(\"AppContent pane config\", e), this.listPaneSize = e, e;\n },\n /**\n * The user clicked the back arrow from the details view\n */\n hideDetails() {\n this.$emit(\"update:showDetails\", !1);\n }\n }\n};\nvar y = function() {\n var t = this, i = t._self._c;\n return i(\"main\", { staticClass: \"app-content no-snapper\", class: { \"app-content--has-list\": t.hasList }, attrs: { id: \"app-content-vue\" } }, [t.pageHeading ? i(\"h1\", { staticClass: \"hidden-visually\" }, [t._v(\" \" + t._s(t.pageHeading) + \" \")]) : t._e(), t.hasList ? [t.isMobile ? i(\"div\", { staticClass: \"app-content-wrapper app-content-wrapper--mobile\", class: t.showDetails ? \"app-content-wrapper--show-details\" : \"app-content-wrapper--show-list\" }, [t.hasList && t.showDetails ? i(\"NcAppDetailsToggle\", { nativeOn: { click: function(s) {\n return s.stopPropagation(), s.preventDefault(), t.hideDetails.apply(null, arguments);\n } } }) : t._e(), t._t(\"list\"), t._t(\"default\")], 2) : i(\"div\", { staticClass: \"app-content-wrapper\" }, [i(\"Splitpanes\", { staticClass: \"default-theme\", on: { resized: t.handlePaneResize } }, [i(\"Pane\", { staticClass: \"splitpanes__pane-list\", attrs: { size: t.listPaneSize || t.paneDefaults.list.size, \"min-size\": t.paneDefaults.list.min, \"max-size\": t.paneDefaults.list.max } }, [t._t(\"list\")], 2), i(\"Pane\", { staticClass: \"splitpanes__pane-details\", attrs: { size: t.detailsPaneSize, \"min-size\": t.paneDefaults.details.min, \"max-size\": t.paneDefaults.details.max } }, [t._t(\"default\")], 2)], 1)], 1)] : t._t(\"default\")], 2);\n}, C = [], N = /* @__PURE__ */ o(\n w,\n y,\n C,\n !1,\n null,\n \"27fc3f3a\",\n null,\n null\n);\nconst W = N.exports;\nexport {\n W as default\n};\n","import \"../assets/index-57b305d3.css\";\nimport n from \"vue\";\nimport a from \"dompurify\";\nimport { n as s } from \"../chunks/_plugin-vue2_normalizer-71e2aa87.mjs\";\nconst i = {\n name: \"NcIconSvgWrapper\",\n props: {\n /**\n * Raw SVG string to render\n */\n svg: {\n type: String,\n default: \"\"\n },\n /**\n * Label of the icon, used in aria-label\n */\n name: {\n type: String,\n default: \"\"\n },\n /**\n * Raw SVG path to render. Takes precedence over the SVG string in the `svg` prop.\n */\n path: {\n type: String,\n default: \"\"\n }\n },\n computed: {\n cleanSvg() {\n if (!this.svg || this.path)\n return;\n const r = a.sanitize(this.svg), e = new DOMParser().parseFromString(r, \"image/svg+xml\");\n return e.querySelector(\"parsererror\") ? (n.util.warn(\"SVG is not valid\"), \"\") : (e.documentElement.id && e.documentElement.removeAttribute(\"id\"), e.documentElement.outerHTML);\n },\n attributes() {\n return {\n class: \"icon-vue\",\n role: \"img\",\n \"aria-hidden\": this.name ? void 0 : !0,\n \"aria-label\": this.name || void 0\n };\n }\n }\n};\nvar o = function() {\n var e = this, t = e._self._c;\n return e.cleanSvg ? t(\"span\", e._b({ domProps: { innerHTML: e._s(e.cleanSvg) } }, \"span\", e.attributes, !1)) : t(\"span\", e._b({}, \"span\", e.attributes, !1), [t(\"svg\", { attrs: { viewBox: \"0 0 24 24\", xmlns: \"http://www.w3.org/2000/svg\" } }, [t(\"path\", { attrs: { d: e.path } })])]);\n}, p = [], u = /* @__PURE__ */ s(\n i,\n o,\n p,\n !1,\n null,\n \"6176f396\",\n null,\n null\n);\nconst v = u.exports;\nexport {\n v as default\n};\n","import \"../assets/index-c239a2fc.css\";\nimport { n as s } from \"../chunks/_plugin-vue2_normalizer-71e2aa87.mjs\";\nconst i = {\n name: \"NcEmptyContent\",\n props: {\n /**\n * A header message about an empty content shown\n * @example 'No comments'\n */\n name: {\n type: String,\n default: \"\"\n },\n /**\n * Desription of the empty content\n * @example 'No comments yet, start the conversation!'\n */\n description: {\n type: String,\n default: \"\"\n }\n },\n computed: {\n hasName() {\n return this.name !== \"\";\n },\n /**\n * Check if a description is given as either property or slot\n */\n hasDescription() {\n var e;\n return this.description !== \"\" || ((e = this.$slots.description) == null ? void 0 : e[0]);\n }\n }\n};\nvar o = function() {\n var t = this, n = t._self._c;\n return n(\"div\", { staticClass: \"empty-content\", attrs: { role: \"note\" } }, [t.$slots.icon ? n(\"div\", { staticClass: \"empty-content__icon\", attrs: { \"aria-hidden\": \"true\" } }, [t._t(\"icon\")], 2) : t._e(), t._t(\"name\", function() {\n return [t.hasName ? n(\"span\", { staticClass: \"empty-content__name\" }, [t._v(\" \" + t._s(t.name) + \" \")]) : t._e()];\n }), t.hasDescription ? n(\"p\", { staticClass: \"empty-content__description\" }, [t._t(\"description\", function() {\n return [t._v(\" \" + t._s(t.description) + \" \")];\n })], 2) : t._e(), t.$slots.action ? n(\"div\", { staticClass: \"empty-content__action\" }, [t._t(\"action\")], 2) : t._e()], 2);\n}, a = [], _ = /* @__PURE__ */ s(\n i,\n o,\n a,\n !1,\n null,\n \"458108e7\",\n null,\n null\n);\nconst p = _.exports;\nexport {\n p as default\n};\n","/**\n * @copyright Copyright (c) 2021 Louis Chemineau \n *\n * @author Louis Chemineau \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport type { IPreview, IRawActivity, IRichObject } from './types'\nimport moment from '@nextcloud/moment'\n\nexport default class ActivityModel {\n\n\t_activity: IRawActivity\n\n\t/**\n\t * Create the activity object\n\t *\n\t * @param {IRawActivity} rawActivity the activity object from the ocs response\n\t */\n\tconstructor(rawActivity: IRawActivity) {\n\t\tif (typeof rawActivity !== 'object') {\n\t\t\tthrow new Error('Received activity data is not an object.')\n\t\t}\n\n\t\t// Sanity checks\n\t\tif (typeof rawActivity.activity_id !== 'number') {\n\t\t\tthrow new Error('The activity_id argument is not a valid string')\n\t\t}\n\t\tif (typeof rawActivity.type !== 'string' || rawActivity.type.trim() === '') {\n\t\t\tthrow new Error('The activity_id argument is not a valid string')\n\t\t}\n\t\tif (typeof rawActivity.subject !== 'string' || rawActivity.subject.trim() === '') {\n\t\t\tthrow new Error('The activity_id argument is not a valid string')\n\t\t}\n\t\tif (typeof rawActivity.icon !== 'string' || rawActivity.icon.trim() === '') {\n\t\t\tthrow new Error('The activity_id argument is not a valid string')\n\t\t}\n\t\tif (typeof rawActivity.datetime !== 'string' || rawActivity.datetime.trim() === '') {\n\t\t\tthrow new Error('The activity_id argument is not a valid string')\n\t\t}\n\n\t\t// store state\n\t\tthis._activity = rawActivity\n\t}\n\n\t/**\n\t * get the activity id\n\t *\n\t * @return {number}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget id(): number {\n\t\treturn this._activity.activity_id\n\t}\n\n\t/**\n\t * Get the app causing the activity\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget app(): string {\n\t\treturn this._activity.app\n\t}\n\n\t/**\n\t * Get the activity type\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget type(): string {\n\t\treturn this._activity.type\n\t}\n\n\t/**\n\t * Get the user ID of the user causing the activity or affected by the activity\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget user(): string {\n\t\treturn this._activity.user\n\t}\n\n\t/**\n\t * Get the activity subject\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget subject(): string {\n\t\treturn this._activity.subject\n\t}\n\n\t/**\n\t * Get the activity subject_rich template\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget subjectRichTemplate(): string {\n\t\treturn this._activity.subject_rich[0]\n\t}\n\n\t/**\n\t * Get the activity subject_rich objects\n\t *\n\t * @return {Record}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget subjectRichObjects(): Record {\n\t\tif (Array.isArray(this._activity.subject_rich[1])) {\n\t\t\treturn {}\n\t\t}\n\n\t\treturn this._activity.subject_rich[1] as Record\n\t}\n\n\t/**\n\t * Get the activity message\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget message(): string {\n\t\treturn this._activity.message\n\t}\n\n\t/**\n\t * Get the activity message_rich template\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget messageRichTemplate(): string {\n\t\treturn this._activity.message_rich[0]\n\t}\n\n\t/**\n\t * Get the activity message_rich objects\n\t *\n\t * @return {Record}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget messageRichObjects(): Record {\n\t\tif (!Array.isArray(this._activity.message_rich[1])) {\n\t\t\treturn {}\n\t\t}\n\n\t\treturn this._activity.message_rich[1] as Record\n\t}\n\n\t/**\n\t * Get the object_type\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget objectType(): string {\n\t\treturn this._activity.object_type\n\t}\n\n\t/**\n\t * Get the activity object_id\n\t *\n\t * @return {number}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget objectId(): number {\n\t\treturn this._activity.object_id\n\t}\n\n\t/**\n\t * Get the activity object_name\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget objectName(): string {\n\t\treturn this._activity.object_name\n\t}\n\n\t/**\n\t * Get the activity link\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget link(): string {\n\t\treturn this._activity.link\n\t}\n\n\t/**\n\t * Get the activity icon\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget icon(): string {\n\t\treturn this._activity.icon\n\t}\n\n\t/**\n\t * Get the activity datetime\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget datetime(): string {\n\t\treturn this._activity.datetime\n\t}\n\n\t/**\n\t * Get the activity formatted date from the current date\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget dateFromNow(): string {\n\t\treturn moment(this._activity.datetime).fromNow()\n\t}\n\n\t/**\n\t * Get the activity formatted datetime\n\t *\n\t * @return {string}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget formattedDate(): string {\n\t\treturn moment(this._activity.datetime).format('LLL')\n\t}\n\n\t/**\n\t * Get the activity timestamp\n\t *\n\t * @return {number}\n\t * @readonly\n\t * @memberof ActivityModel\n\t */\n\tget timestamp(): number {\n\t\treturn moment(this._activity.datetime).unix()\n\t}\n\n\t/**\n\t * Get previews of affected files\n\t */\n\tget previews(): IPreview[] {\n\t\treturn this._activity.previews ?? []\n\t}\n\n}\n","/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n// the entire query to fail, resulting in no nodes found, which will break a lot\n// of things... so we have to rely on JS to identify nodes inside an inert container\nvar candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n // so it likely would not support `:is([inert] *)` either...\n var result = inert || lookUp && node && isInert(node.parentNode); // recursive\n\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert, all its children are inert\n if (isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.}\n */\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome,
,