@26lights/orcha 0.41.84 → 0.41.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/orcha.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +1 -0
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
package/dist/orcha.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(X,e){var Le=document.createElement("style");Le.textContent=`*,*:before,*:after{box-sizing:border-box}html,body{margin:0;overflow:hidden;display:flex;flex-direction:column;height:100%;min-height:0}button{color:inherit;font-family:inherit}input,textarea{font-family:inherit}:root{--ao-color-blue-lightest: #ebf1ff;--ao-color-blue-lighter: #aabdff;--ao-color-blue-light: #7183ff;--ao-color-blue-base: #4952ff;--ao-color-blue-dark: #2226e7;--ao-color-blue-darker: #09099c;--ao-color-blue-darkest: #000033;--ao-color-grey-lightest: #e6e6e6;--ao-color-grey-light: #c8c8c8;--ao-color-grey-base: #ababab;--ao-color-grey-dark: #636363;--ao-color-grey-darkest: #1c1c1c;--ao-color-white: #fff;--ao-color-black: #000;--ao-color-sand-base: #d8a55a;--ao-color-red-light: #ff4f4f;--ao-color-teal-light: #64d9bb;--ao-color-primary-lightest: var(--ao-color-blue-lightest);--ao-color-primary-lighter: var(--ao-color-blue-lighter);--ao-color-primary-light: var(--ao-color-blue-light);--ao-color-primary-base: var(--ao-color-blue-base);--ao-color-primary-dark: var(--ao-color-blue-dark);--ao-color-primary-darker: var(--ao-color-blue-darker);--ao-color-primary-darkest: var(--ao-color-blue-darkest);--ao-color-neutral-lightest: var(--ao-color-grey-lightest);--ao-color-neutral-light: var(--ao-color-grey-light);--ao-color-neutral-base: var(--ao-color-grey-base);--ao-color-neutral-dark: var(--ao-color-grey-dark);--ao-color-neutral-darkest: var(--ao-color-grey-darkest);--ao-color-canvas: #f1f1f1;--ao-color-sheet: #f9f9f9;--ao-color-card: #f9f9f9;--ao-color-text: var(--ao-color-grey-darkest);--ao-color-danger: var(--ao-color-red-light);--ao-color-warning: var(--ao-color-sand-base);--ao-color-success: var(--ao-color-teal-light);--ao-color-text-contrast: var(--ao-color-white);--ao-color-group: rgba(255, 255, 255, .2);--ao-color-backdrop: rgba(0, 0, 0, .7);--ao-grid-size: 8px;--ao-space-xs: calc(var(--ao-grid-size) / 4);--ao-space-sm: calc(var(--ao-grid-size) / 2);--ao-space-md: calc(var(--ao-grid-size) * 1);--ao-space-lg: calc(var(--ao-grid-size) * 3 / 2);--ao-space-xl: calc(var(--ao-grid-size) * 2);--ao-space-xxl: calc(var(--ao-grid-size) * 4);--ao-border-width-sm: 1px;--ao-border-width-md: 2px;--ao-border-width-lg: 4px;--ao-border-width-xl: 6px;--ao-border-radius-xs: 2px;--ao-border-radius-sm: 4px;--ao-border-radius-md: 8px;--ao-border-radius-lg: 16px;--ao-border-radius-xl: 24px;--ao-border-radius-round: 100em;font-size:15px;--ao-font-size-base: 1rem;--ao-font-size-text: var(--ao-font-size-base);--ao-font-size-input: var(--ao-font-size-base);--ao-font-size-h5: var(--ao-font-size-base);--ao-font-size-h4: calc(var(--ao-font-size-base) * 1.25);--ao-font-size-h3: calc(var(--ao-font-size-h4) * 1.25);--ao-font-size-h2: calc(var(--ao-font-size-h3) * 1.25);--ao-font-size-h1: calc(var(--ao-font-size-h2) * 1.25);--ao-font-size-label: calc(var(--ao-font-size-base) / 1.25);--ao-font-size-tag: calc(var(--ao-font-size-label) / 1.25);--ao-font-size-button: var(--ao-font-size-base);--ao-font-weight-extra-light: 200;--ao-font-weight-regular: 400;--ao-font-weight-medium: 500;--ao-font-weight-semi-bold: 600;--ao-font-weight-bold: 800;--ao-font-weight-extra-bold: 900;--ao-font-stack-system-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;--ao-font-stack-sans: "Kumbh Sans", var(--ao-font-stack-system-sans);--ao-icon-size-sm: calc(var(--ao-grid-size) * 9 / 5);--ao-icon-size-md: calc(var(--ao-grid-size) * 3);--ao-icon-size-lg: calc(var(--ao-grid-size) * 4);--ao-icon-size-xl: calc(var(--ao-grid-size) * 5);--ao-transition-ease: cubic-bezier(.215, .61, .355, 1);--ao-shadow-key-umbra-opacity: .2;--ao-shadow-key-penumbra-opacity: .14;--ao-shadow-ambient-shadow-opacity: .12;--ao-elevation-2dp: 0 2px 2px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 1px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 5px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-3dp: 0 3px 4px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 3px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 8px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-4dp: 0 4px 5px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 10px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 2px 4px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-6dp: 0 6px 10px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 18px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 3px 5px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-8dp: 0 8px 10px 1px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 14px 2px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 5px 5px -3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-16dp: 0 16px 24px 2px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 6px 30px 5px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 8px 10px -5px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-24dp: 0 9px 46px 8px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 11px 15px -7px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 24px 38px 3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity))}html,body{font-family:var(--ao-font-stack-sans)}[class^=ao-]{scrollbar-width:thin}[class^=ao-]::-webkit-scrollbar{background-color:transparent;width:var(--ao-space-md);height:var(--ao-space-md);border-radius:var(--ao-border-radius-round)}[class^=ao-]::-webkit-scrollbar-thumb{background:var(--ao-color-neutral-light);border-radius:var(--ao-border-radius-round);cursor:grab}:root{--ao-input-color: inherit;--ao-input-bg: #fff;--ao-input-border-radius: var(--ao-border-radius-sm);--ao-input-border-width: var(--ao-border-width-sm);--ao-input-border-color: var(--ao-color-neutral-light);--ao-textarea-bg: var(--ao-input-bg)}.ao-fieldset{border-width:0;padding:0;margin:0}.ao-fieldset+.ao-fieldset{margin-block-start:var(--ao-space-xl)}.ao-fieldset__title{display:flex;align-items:center;gap:var(--ao-space-sm);color:var(--ao-color-neutral-dark)}.ao-field__row{display:flex;flex-direction:row;gap:var(--ao-space-lg)}.ao-field__row+.ao-field__row{margin-block-start:var(--ao-space-lg)}.ao-field{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ao-space-md)}.ao-field--full{flex:1;width:100%}.ao-field--multiselect{min-width:20ch}.ao-field--inline{flex-direction:row;align-items:center}.ao-field__label{font-size:var(--ao-font-size-label)}.ao-field__input{padding-inline:var(--ao-space-lg);padding-block:var(--ao-space-md);margin:0;border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-input-bg)}.ao-field__input:is(:focus,:active,:hover){--ao-input-border-color: var(--ao-color-primary-base)}.ao-field__textarea{padding:var(--ao-space-lg);border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-textarea-bg);flex:1;width:100%;resize:vertical}.ao-multiselect{--ms-font-size: var(--font-size-text);--ms-line-height: 1.2;--ms-border-color: var(--ao-color-neutral-lightest);--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: var(--ao-input-border-color);--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-md);--ms-py: var(--ao-space-md);--ms-px: var(--ao-space-lg);--ms-ring-color: var(--ao-color-primary-lightest);--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-tag-font-size: var(--ao-font-size-tag);--ms-tag-font-weight: var(--ao-font-weight-regular);--ms-tag-bg: var(--ao-color-primary-base);--ms-tag-radius: var(--ao-border-radius-xl);--ms-tag-py: var(--ao-space-sm);--ms-tag-my: 0;--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}input[readonly]{cursor:default}.is-disabled>.multiselect-wrapper{cursor:default}.ao-field__input::-webkit-outer-spin-button,.ao-field__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.ao-field__input[type=number]{-moz-appearance:textfield}.multiselect{align-items:center;background:var(--ms-bg,#fff);border:var(--ms-border-width,1px) solid var(--ms-border-color,#d1d5db);border-radius:var(--ms-radius,4px);box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-font-size,1rem);justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect.is-open{border-radius:var(--ms-radius,4px) var(--ms-radius,4px) 0 0}.multiselect.is-open-top{border-radius:0 0 var(--ms-radius,4px) var(--ms-radius,4px)}.multiselect.is-disabled{background:var(--ms-bg-disabled,#f3f4f6);cursor:default}.multiselect.is-active{border:var(--ms-border-width-active,var(--ms-border-width,1px)) solid var(--ms-border-color-active,var(--ms-border-color,#d1d5db));box-shadow:0 0 0 var(--ms-ring-width,3px) var(--ms-ring-color,rgba(16,185,129,.188))}.multiselect-wrapper{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect-multiple-label,.multiselect-placeholder,.multiselect-single-label{align-items:center;background:transparent;box-sizing:border-box;display:flex;height:100%;left:0;line-height:var(--ms-line-height,1.375);max-width:100%;padding-left:var(--ms-px,.875rem);padding-right:calc(1.25rem + var(--ms-px, .875rem)*3);pointer-events:none;position:absolute;top:0}.multiselect-placeholder{color:var(--ms-placeholder-color,#9ca3af)}.multiselect-single-label-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ms-bg,#fff);border:0;border-radius:var(--ms-radius,4px);bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;height:100%;left:0;outline:none;padding-left:var(--ms-px,.875rem);position:absolute;right:0;top:0;width:100%}.multiselect-search::-webkit-search-cancel-button,.multiselect-search::-webkit-search-decoration,.multiselect-search::-webkit-search-results-button,.multiselect-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-tags{flex-grow:1;flex-shrink:1;flex-wrap:wrap;margin:var(--ms-tag-my,.25rem) 0 0;padding-left:var(--ms-py,.5rem)}.multiselect-tag,.multiselect-tags{align-items:center;display:flex;min-width:0}.multiselect-tag{background:var(--ms-tag-bg,#10b981);border-radius:var(--ms-tag-radius,4px);color:var(--ms-tag-color,#fff);font-size:var(--ms-tag-font-size,.875rem);font-weight:var(--ms-tag-font-weight,600);line-height:var(--ms-tag-line-height,1.25rem);margin-bottom:var(--ms-tag-my,.25rem);margin-right:var(--ms-tag-mx,.25rem);padding:var(--ms-tag-py,.125rem) 0 var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem);white-space:nowrap}.multiselect-tag.is-disabled{background:var(--ms-tag-bg-disabled,#9ca3af);color:var(--ms-tag-color-disabled,#fff);padding-right:var(--ms-tag-px,.5rem)}.multiselect-tag-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-tag-wrapper-break{white-space:normal;word-break:break-all}.multiselect-tag-remove{align-items:center;border-radius:var(--ms-tag-remove-radius,4px);display:flex;justify-content:center;margin:var(--ms-tag-remove-my,0) var(--ms-tag-remove-mx,.125rem);padding:var(--ms-tag-remove-py,.25rem) var(--ms-tag-remove-px,.25rem)}.multiselect-tag-remove:hover{background:rgba(0,0,0,.063)}.multiselect-tag-remove-icon{background-color:currentColor;display:inline-block;height:.75rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;opacity:.8;width:.75rem}.multiselect-tags-search-wrapper{display:inline-block;flex-grow:1;flex-shrink:1;height:100%;margin:0 var(--ms-tag-mx,4px) var(--ms-tag-my,4px);position:relative}.multiselect-tags-search-copy{display:inline-block;height:1px;visibility:hidden;white-space:pre-wrap;width:100%}.multiselect-tags-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;left:0;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.multiselect-tags-search::-webkit-search-cancel-button,.multiselect-tags-search::-webkit-search-decoration,.multiselect-tags-search::-webkit-search-results-button,.multiselect-tags-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-inifite{align-items:center;display:flex;justify-content:center;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);width:100%}.multiselect-inifite-spinner,.multiselect-spinner{animation:multiselect-spin 1s linear infinite;background-color:var(--ms-spinner-color,#10b981);flex-grow:0;flex-shrink:0;height:1rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:1rem;z-index:10}.multiselect-spinner{margin:0 var(--ms-px,.875rem) 0 0}.multiselect-clear{display:flex;flex-grow:0;flex-shrink:0;opacity:1;padding:0 var(--ms-px,.875rem) 0 0;position:relative;transition:.3s;z-index:10}.multiselect-clear:hover .multiselect-clear-icon{background-color:var(--ms-clear-color-hover,#000)}.multiselect-clear-icon{background-color:var(--ms-clear-color,#999);display:inline-block;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");transition:.3s}.multiselect-caret,.multiselect-clear-icon{height:1.125rem;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:.625rem}.multiselect-caret{background-color:var(--ms-caret-color,#999);flex-grow:0;flex-shrink:0;margin:0 var(--ms-px,.875rem) 0 0;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");pointer-events:none;position:relative;transform:rotate(0);transition:transform .3s;z-index:10}.multiselect-caret.is-open{pointer-events:auto;transform:rotate(180deg)}.multiselect-dropdown{-webkit-overflow-scrolling:touch;background:var(--ms-dropdown-bg,#fff);border:var(--ms-dropdown-border-width,1px) solid var(--ms-dropdown-border-color,#d1d5db);border-radius:0 0 var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px);bottom:0;display:flex;flex-direction:column;left:calc(var(--ms-border-width, 1px)*-1);margin-top:calc(var(--ms-border-width, 1px)*-1);max-height:var(--ms-max-height,10rem);outline:none;overflow-y:scroll;position:absolute;right:calc(var(--ms-border-width, 1px)*-1);transform:translateY(100%);z-index:100}.multiselect-dropdown.is-top{border-radius:var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px) 0 0;bottom:auto;top:var(--ms-border-width,1px);transform:translateY(-100%)}.multiselect-dropdown.is-hidden{display:none}.multiselect-options{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}.multiselect-group{margin:0;padding:0}.multiselect-group-label{align-items:center;background:var(--ms-group-label-bg,#e5e7eb);box-sizing:border-box;color:var(--ms-group-label-color,#374151);cursor:default;display:flex;font-size:.875rem;font-weight:600;justify-content:flex-start;line-height:var(--ms-group-label-line-height,1.375);padding:var(--ms-group-label-py,.3rem) var(--ms-group-label-px,.75rem);text-align:left;text-decoration:none}.multiselect-group-label.is-pointable{cursor:pointer}.multiselect-group-label.is-pointed{background:var(--ms-group-label-bg-pointed,#d1d5db);color:var(--ms-group-label-color-pointed,#374151)}.multiselect-group-label.is-selected{background:var(--ms-group-label-bg-selected,#059669);color:var(--ms-group-label-color-selected,#fff)}.multiselect-group-label.is-disabled{background:var(--ms-group-label-bg-disabled,#f3f4f6);color:var(--ms-group-label-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-group-label.is-selected.is-pointed{background:var(--ms-group-label-bg-selected-pointed,#0c9e70);color:var(--ms-group-label-color-selected-pointed,#fff)}.multiselect-group-label.is-selected.is-disabled{background:var(--ms-group-label-bg-selected-disabled,#75cfb1);color:var(--ms-group-label-color-selected-disabled,#d1fae5)}.multiselect-group-options{margin:0;padding:0}.multiselect-option{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-option-font-size,1rem);justify-content:flex-start;line-height:var(--ms-option-line-height,1.375);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem);text-align:left;text-decoration:none}.multiselect-option.is-pointed{background:var(--ms-option-bg-pointed,#f3f4f6);color:var(--ms-option-color-pointed,#1f2937)}.multiselect-option.is-selected{background:var(--ms-option-bg-selected,#10b981);color:var(--ms-option-color-selected,#fff)}.multiselect-option.is-disabled{background:var(--ms-option-bg-disabled,#fff);color:var(--ms-option-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-option.is-selected.is-pointed{background:var(--ms-option-bg-selected-pointed,#26c08e);color:var(--ms-option-color-selected-pointed,#fff)}.multiselect-option.is-selected.is-disabled{background:var(--ms-option-bg-selected-disabled,#87dcc0);color:var(--ms-option-color-selected-disabled,#d1fae5)}.multiselect-no-options,.multiselect-no-results{color:var(--ms-empty-color,#4b5563);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem)}.multiselect-fake-input{background:transparent;border:0;bottom:-1px;font-size:0;height:1px;left:0;outline:none;padding:0;position:absolute;right:0;width:100%}.multiselect-fake-input:active,.multiselect-fake-input:focus{outline:none}.multiselect-assistive-text{clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.multiselect-spacer{display:none}[dir=rtl] .multiselect-multiple-label,[dir=rtl] .multiselect-placeholder,[dir=rtl] .multiselect-single-label{left:auto;padding-left:calc(1.25rem + var(--ms-px, .875rem)*3);padding-right:var(--ms-px,.875rem);right:0}[dir=rtl] .multiselect-search{padding-left:0;padding-right:var(--ms-px,.875rem)}[dir=rtl] .multiselect-tags{padding-left:0;padding-right:var(--ms-py,.5rem)}[dir=rtl] .multiselect-tag{margin-left:var(--ms-tag-mx,.25rem);margin-right:0;padding:var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem) var(--ms-tag-py,.125rem) 0}[dir=rtl] .multiselect-tag.is-disabled{padding-left:var(--ms-tag-px,.5rem)}[dir=rtl] .multiselect-caret,[dir=rtl] .multiselect-spinner{margin:0 0 0 var(--ms-px,.875rem)}[dir=rtl] .multiselect-clear{padding:0 0 0 var(--ms-px,.875rem)}@keyframes multiselect-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes blink-ad6da4a9{0%,to{opacity:1}50%{opacity:0}}.dot[data-v-ad6da4a9]{animation:blink-ad6da4a9 1.5s ease-in-out infinite}.dot--1[data-v-ad6da4a9]{animation-delay:0}.dot--2[data-v-ad6da4a9]{animation-delay:.5s}.dot--3[data-v-ad6da4a9]{animation-delay:1s}.ao-icon{color:inherit;fill:currentColor;width:var(--ao-icon-size);height:var(--ao-icon-size)}.ao-icon *{fill:inherit}.ao-icon--sm{--ao-icon-size: var(--ao-icon-size-sm)}.ao-icon--md{--ao-icon-size: var(--ao-icon-size-md)}.ao-icon--lg{--ao-icon-size: var(--ao-icon-size-lg)}.ao-icon--xl{--ao-icon-size: var(--ao-icon-size-xl)}.ao-button{--ao-button-main-color: initial;--ao-button-secondary-color: initial;--ao-button-color: var(--ao-button-main-color);--ao-button-bg: var(--ao-button-secondary);--ao-button-border-color: transparent;--ao-button-padding: var(--ao-space-sm);--ao-button-label-padding: var(--ao-space-sm);--ao-button-border-radius: var(--ao-border-radius-md);--ao-button-line-height: var(--ao-icon-size-md);--ao-button-font-size: var(--ao-font-size-button);display:flex;padding:var(--ao-button-padding);align-items:center;border-width:var(--ao-border-width-md);border-style:solid;border-radius:var(--ao-button-border-radius);border-color:var(--ao-button-border-color);color:var(--ao-button-color);background-color:var(--ao-button-bg);cursor:pointer;font-size:var(--ao-button-font-size);font-weight:var(--ao-font-weight-semi-bold);line-height:var(--ao-button-line-height)}.ao-button--primary{--ao-button-main-color: var(--ao-color-primary-base)}.ao-button--secondary{--ao-button-main-color: var(--ao-color-success)}.ao-button--neutral{--ao-button-main-color: var(--ao-color-neutral-base)}.ao-button--black{--ao-button-main-color: var(--ao-color-neutral-darkest)}.ao-button--warning{--ao-button-main-color: var(--ao-color-warning)}.ao-button--danger{--ao-button-main-color: var(--ao-color-danger)}.ao-button--success{--ao-button-main-color: var(--ao-color-success)}.ao-button--ghost{--ao-border-color: transparent;--ao-background-color: transparent}.ao-button--outline{--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid{--ao-button-color: var(--ao-button-secondary-color);--ao-button-bg: var(--ao-button-main-color);--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid:is(.ao-button--primary,.ao-button--secondary,.ao-button--neutral,.ao-button--black){--ao-button-color: var(--ao-color-white)}.ao-button--icon-start{flex-direction:row-reverse}.ao-button--icon-end{flex-direction:row}.ao-button__icon{flex-shrink:0}.ao-button__label{padding-inline:var(--ao-button-label-padding);flex:1;width:100%}.ao-button--footer{width:100%}.ao-button--footer .ao-button__label{text-align:center}.ao-button--is-disabled{cursor:default}.ao-button--sm{--ao-button-padding: var(--ao-space-xs);--ao-button-label-padding: var(--ao-space-xs);--ao-button-line-height: var(--ao-icon-size-sm);--ao-button-font-size: var(--ao-font-size-label)}.ao-button--lg{--ao-button-line-height: var(--ao-icon-size-lg);--ao-button-font-size: var(--ao-font-size-h4)}.ao-button--xl{--ao-button-line-height: var(--ao-icon-size-xl);--ao-button-font-size: var(--ao-font-size-h3)}.ao-button--round{--ao-button-border-radius: var(--ao-border-radius-round)}.ao-title{--ao-title-color: inherit;margin:0;font-weight:var(--ao-font-weight-semi-bold);font-family:var(--ao-font-family-title);color:var(--ao-title-color);cursor:default}.ao-title--editable{cursor:text}.ao-title--readonly{padding-block:var(--ao-space-md);border:var(--ao-input-border-width) solid transparent}.ao-title--1{font-size:var(--ao-font-size-h1)}.ao-title--2{font-size:var(--ao-font-size-h2)}.ao-title--3{font-size:var(--ao-font-size-h3)}.ao-title--4{font-size:var(--ao-font-size-h4)}.ao-title--5{font-size:var(--ao-font-size-h5)}.ao-title--primary{--ao-title-color: var(--ao-color-primary-base)}.ao-title--neutral{--ao-title-color: var(--ao-color-neutral-base)}.ao-title--black{--ao-title-color: var(--ao-color-neutral-darkest)}.ao-title--editing{--ao-title-color: var(--ao-color-primary-dark);width:100%}.ao-card-horiz{--ao-card-horiz-bg-color: var(--ao-color-card);--ao-card-horiz-text-color: inherit;--ao-card-horiz-label-color: var(--ao-color-neutral-base);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;grid-template-areas:"drag header secondary" "drag body body" "drag footer footer";border-radius:var(--ao-border-radius-md);color:var(--ao-card-horiz-text-color);background-color:var(--ao-card-horiz-bg-color);overflow:hidden;cursor:pointer;container:card-horiz / inline-size}.ao-card-horiz:hover{box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz--active{--ao-card-horiz-bg-color: var(--ao-color-primary-base);--ao-card-horiz-text-color: var(--ao-color-white);box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz__header{display:flex;align-items:center;padding-inline:var(--ao-space-md);padding-block-start:var(--ao-space-md);grid-area:header;width:100%}.ao-card-horiz__title-group{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.ao-card-horiz__title{min-width:2ch;min-height:1em}.ao-card-horiz__title,.ao-card-horiz__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:flex-start}.ao-card-horiz__subtitle{margin-top:var(--ao-space-xs);font-size:var(--ao-font-size-body)}.ao-card-horiz__body{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block:var(--ao-space-md);grid-area:body}.ao-card-horiz__footer{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block-end:var(--ao-space-md);grid-area:footer}.ao-card-horiz__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-card-horiz__drag-handle{opacity:0;visibility:hidden}.ao-card-horiz:hover .ao-card-horiz__drag-handle{opacity:1;visibility:visible}.ao-card-horiz__secondary{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);opacity:0;visibility:hidden;grid-area:secondary}.ao-card-horiz:hover .ao-card-horiz__secondary{opacity:1;visibility:visible}@container column (min-width: 480px){.ao-card-horiz{display:flex;flex-direction:row}.ao-card-horiz__header{padding-block:var(--ao-space-md);padding-inline-end:0;flex-shrink:1;min-width:0}.ao-card-horiz__body{padding-inline-end:0;flex-shrink:0}.ao-card-horiz__footer{align-items:flex-end;padding-block:var(--ao-space-md);grid-area:footer;flex-shrink:0}}@container column (min-width: 768px){.ao-card-horiz__header{width:50%}}@container column (min-width: 1024px){.ao-card-horiz__header{width:33%}}@container column (min-width: 1280px){.ao-card-horiz__header{width:25%}}.ao-tag{--ao-tag-color: var(--ao-color-text-contrast);--ao-tag-bg: var(transparent);--ao-tag-border-radius: var(--ao-border-radius-xl);display:flex;flex-direction:row;align-items:stretch;border:var(--ao-border-width-sm) var(--ao-tag-bg) solid;border-radius:var(--ao-tag-border-radius);font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-tag__icon{color:var(--ao-color-white)}.ao-tag--primary{--ao-tag-bg: var(--ao-color-primary-light)}.ao-tag--primary-lighter{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--black{--ao-tag-bg: var(--ao-color-neutral-darkest)}.ao-tag--secondary{--ao-tag-bg: var(--ao-color-success)}.ao-tag--neutral{--ao-tag-bg: var(--ao-color-neutral-light)}.ao-tag--solid.ao-tag--neutral{--ao-tag-color: var(--ao-color-neutral-darkest)}.ao-tag--solid .ao-tag__label{background-color:var(--ao-tag-bg)}.ao-tag--solid_icon .ao-tag__label{background-color:var(--ao-tag-bg);display:flex;gap:var(--ao-space-sm)}.ao-tag--solid .ao-tag__close{background-color:var(--ao-tag-bg)}.ao-tag--clickable .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-lightest)}.ao-tag--clickable.ao-tag--primary .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--clickable.ao-tag--black .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-dark)}.ao-tag--clickable .ao-tag__label{cursor:pointer}.ao-tag__label{padding:var(--ao-space-sm) var(--ao-space-md);color:var(--ao-tag-color);width:100%;border-radius:var(--ao-tag-border-radius);font-size:inherit;font-weight:inherit;text-align:inherit;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background-color:transparent;border-width:0}.ao-tag--closable .ao-tag__label{border-top-right-radius:0;border-bottom-right-radius:0}.ao-tag__close{display:flex;border-width:0;border-top-right-radius:var(--ao-tag-border-radius);border-bottom-right-radius:var(--ao-tag-border-radius);color:var(--ao-tag-color);background-color:transparent;cursor:pointer}.ao-tag--close-icon{padding:var(--ao-space-xs) var(--ao-space-md)}.ao-avatar{--ao-avatar-bg: var(--ao-color-primary-base);--ao-avatar-color: var(--ao-color-neutral-lightest);--ao-avatar-font-weight: --ao-font-weight-medium;--ao-avatar-font-size: var(--ao-font-size-base);--ao-avatar-padding: .5em;color:var(--ao-avatar-color);background-color:var(--ao-avatar-bg);position:relative;border-radius:var(--ao-border-radius-round);line-height:1;display:grid;grid-template-areas:"center";align-items:center;justify-content:center;padding:var(--ao-avatar-padding);cursor:default;overflow:hidden;font-weight:var(--ao-avatar-font-weight);font-size:var(--ao-avatar-font-size);flex-shrink:0}.ao-avatar--sm{--ao-avatar-font-weight: var(--ao-font-weight-bold);--ao-avatar-font-size: var(--ao-font-size-tag);--ao-avatar-padding: .8em}.ao-avatar--lg{--ao-avatar-font-weight: var(--ao-font-weight-light);--ao-avatar-font-size: var(--ao-font-size-h3)}.ao-avatar--xl{--ao-avatar-font-weight: var(--ao-font-weight-extra-light);--ao-avatar-font-size: var(--ao-font-size-h1)}.ao-avatar--primary{--ao-avatar-bg: var(--ao-color-primary-base)}.ao-avatar--neutral{--ao-avatar-bg: var(--ao-color-neutral-base)}.ao-avatar--black{--ao-avatar-bg: var(--ao-color-neutral-darkest)}.ao-avatar__initials{display:flex;flex-direction:column;grid-area:center;justify-content:center;align-items:center;width:1em;height:1em;text-align:center;text-transform:uppercase}.ao-avatar__close{grid-area:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);opacity:0;visibility:hidden}.ao-avatar:hover,.ao-avatar-img:hover{z-index:1}.ao-avatar:hover .ao-avatar__close,.ao-avatar-img:hover .ao-avatar__close{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}.ao-avatar-img--sm{width:var(--ao-icon-size-sm);height:var(--ao-icon-size-sm)}.ao-avatar-img--md{width:var(--ao-icon-size-md);height:var(--ao-icon-size-md)}.ao-avatar-img--lg{width:var(--ao-icon-size-lg);height:var(--ao-icon-size-lg)}.ao-avatar-img--xl{width:var(--ao-icon-size-xl);height:var(--ao-icon-size-xl)}.ao-avatar-img{position:relative;border-radius:var(--ao-border-radius-round);display:grid;grid-template-areas:"center";align-items:center;justify-content:center;cursor:default;overflow:hidden;flex-shrink:0}.ao-avatar__image{width:100%;height:100%}.ao-card-template__body{display:flex;flex-direction:row;align-items:center;flex:1}.ao-card-template__footer{display:flex;gap:var(--ao-space-md)}.ao-card-template__col-title{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-card-template__col-label{font-size:var(--ao-font-size-label);font-weight:600}.ao-card-template__col{display:flex;flex-direction:column;gap:var(--ao-space-md);color:var(--ao-color-neutral-dark);font-size:var(--ao-font-size-label)}.ao-card-template__col--phases{flex-grow:1;color:var(--ao-color-neutral-darkest)}.ao-card-template__phases-list{display:flex;gap:var(--ao-space-sm);padding:0;margin:0}.ao-card-template__col-body{display:flex;flex-direction:row;align-items:flex-start;flex:1}.ao-card-template__subitems{display:flex;margin:0;padding:0;gap:var(--ao-space-sm)}.ao-card-template__subitem{display:flex;align-items:center;list-style-type:none;font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-semi-bold)}.ao-page-header{display:flex;container:header / inline-size;z-index:1}.ao-page-header-main{display:flex;gap:var(--ao-space-sm);flex-grow:1}.ao-page-header-secondary{display:flex;gap:var(--ao-space-sm)}@container header (min-width: 720px){.ao-page-header-main{flex-direction:row;align-items:center}.ao-page-header-secondary{margin-inline-start:auto;align-items:center;justify-content:flex-end;flex-grow:1}}.ao-button-card{--ao-button-card-color: inherit;--ao-button-card-bg: transparent;--ao-button-card-border-color: currentColor;--ao-button-card-padding: var(--ao-space-md);--ao-button-card-label-padding: var(--ao-space-sm);--ao-button-card-border-radius: var(--ao-border-radius-md);display:flex;width:100%;flex:1;justify-content:center;padding:var(--ao-button-card-padding);flex-direction:column-reverse;align-items:center;border-width:var(--ao-border-width-sm);border-style:dashed;border-radius:var(--ao-button-card-border-radius);border-color:var(--ao-button-card-border-color);color:var(--ao-button-card-color);background-color:var(--ao-button-card-bg);cursor:pointer;font-size:var(--ao-font-size-button);font-weight:var(--ao-font-weight-semi-bold)}.ao-button-card--primary{--ao-button-card-color: var(--ao-color-primary-base)}.ao-button-card--secondary{--ao-button-card-color: var(--ao-color-success)}.ao-button-card--neutral{--ao-button-card-color: var(--ao-color-neutral-base)}.ao-button-card--black{--ao-button-card-color: var(--ao-color-neutral-darkest)}.ao-button-card__icon{flex-shrink:0}.ao-button-card__label{padding-inline:var(--ao-button-card-label-padding);width:100%}.ao-button-card--footer{width:100%}.ao-button-card--footer .ao-button-card__label{text-align:center}.ao-button-card--is-disabled{cursor:default}.ao-button-card--sm{--ao-button-card-padding: var(--ao-space-xs);--ao-button-card-label-padding: var(--ao-space-xs)}.ao-button-card--round{--ao-button-card-border-radius: var(--ao-border-radius-round)}.ao-card-template-item__footer{display:flex;flex:1;padding:0;margin:0;justify-content:flex-end;gap:var(--ao-space-sm);align-items:center}.ao-card-template-item__subitem{display:flex;align-items:center}.ao-card-template-item__subitem{font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-bold)}.ao-modal__wrapper{--ao-modal-z-index: 100;--ao-modal-padding-x: var(--ao-space-sm);display:grid;grid-template-columns:5% 1fr 5%;grid-template-rows:5vh 1fr 5vh;position:absolute;top:0;left:0;width:100%;height:100%;justify-items:center;align-items:flex-start;z-index:var(--ao-modal-z-index)}.ao-modal__wrapper.ao-modal__wrapper--sm{grid-template-columns:10% 1fr 10%;grid-template-rows:15vh auto 25vh}.ao-modal__backdrop{width:100%;height:100%;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-backdrop)}.ao-modal{display:flex;width:100%;max-width:768px;height:100%;min-height:0;flex-direction:column;overflow-y:auto;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-sheet);container:modal / inline-size}.ao-modal__wrapper--sm .ao-modal{height:auto}.ao-modal__header{display:flex;flex-direction:column;padding-inline:var(--ao-modal-padding-x)}.ao-modal__header-meta{display:flex;justify-content:flex-end}.ao-modal__body{display:flex;height:100%;min-height:0;flex-direction:column;flex-grow:1}.ao-modal__footer{display:flex;flex-direction:column}@media screen and (min-width: 480px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-lg)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow-y:auto}}@media screen and (min-width: 720px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-xl)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow:hidden}}.ao-tasks{display:flex;flex-direction:column}.ao-tasks__list{display:flex;flex-direction:column;padding-inline-start:0;margin-block:0;gap:var(--ao-space-md)}.ao-tasks__list-footer{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-block-start:var(--ao-space-md)}.ao-tasks__list-footer .ao-button{padding-left:0}.ao-subtask{display:flex;list-style-type:none;gap:var(--ao-space-md)}.ao-subtask__check{padding-left:0}.ao-subtask__field{flex-grow:1;border:0;border-bottom:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:0}.ao-subtask__field--checked{text-decoration:line-through}.ao-subtask__field:focus{outline:none;border-bottom:var(--ao-border-width-md) solid var(--ao-input-border-color)}.ao-subtask__assignees{width:30%}.ao-subtask__assignees .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-subtask__assignees .multiselect-wrapper{justify-content:flex-start}.ao-subtask__delete{opacity:0;visibility:hidden}.ao-subtask:is(:hover,:focus-within) .ao-subtask__delete{opacity:1;visibility:visible}.ao-files__wrapper{--ao-input-file-color: var(--ao-color-neutral-darkest);--ao-input-file-border-color: transparent;--ao-input-file-placeholder-color: var(--ao-color-neutral-base);--ao-input-file-bg: transparent;position:relative;display:flex;width:100%;flex-direction:column;flex:1;border:var(--ao-border-width-md) solid var(--ao-input-file-border-color);border-radius:var(--ao-border-radius-md);background-color:var(--ao-input-file-bg);font-family:inherit;font-size:var(--ao-font-size-text);color:var(--ao-input-file-color);overflow-y:auto}.ao-files__wrapper--drop-active{--ao-input-file-border-color: var(--ao-color-primary-base);--ao-input-file-bg: var(--ao-color-primary-lightest);outline:0}.input-field{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ao-files__input{display:flex}.ao-files__placeholder{width:100%;margin-block-start:var(--ao-space-md);text-align:center;color:var(--ao-color-neutral-base)}.ao-files__list{display:flex;padding:0;padding-block-start:var(--ao-space-md);margin:0;gap:var(--ao-space-sm);flex-wrap:wrap}.ao-file{display:flex;position:relative;padding:0;padding-inline-end:var(--ao-space-xl);list-style-type:none;background-color:var(--ao-color-primary-lighter);border-radius:var(--ao-border-radius-md)}.ao-files__delete-button{position:absolute;top:50%;right:0;transform:translateY(-50%) scale(0);transition:50ms var(--ao-transition-ease)}.ao-file:is(:hover,:focus-within) .ao-files__delete-button{transform:translateY(-50%) scale(1)}.ao-file__link{width:100%;display:flex;flex:1;align-items:center;padding-block:var(--ao-space-md);padding-inline-start:var(--ao-space-md);color:var(--ao-color-primary-darker);text-decoration:none}.ao-file__icon{flex:0}.ao-file__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ao-font-size-label)}.ao-files__dropzone{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--ao-color-backdrop)}.ao-files__dropzone-label{font-size:var(--ao-font-size-text);color:var(--ao-color-text-contrast)}.ao-comment{--ao-comment-border-radius: var(--ao-border-radius-md);--ao-comment-bg: var(--ao-color-neutral-lightest);display:grid;gap:var(--ao-space-sm);grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;font-size:var(--ao-font-size-text)}.ao-comment__avatar{grid-row:2;align-self:flex-start}.ao-comment__body{padding:0 var(--ao-space-sm);grid-column:2}.ao-comment__content-wrapper{width:100%}.ao-comment__content{display:inline;width:100%;margin:0;white-space:pre-line}.ao-comment__created-at{grid-column:2;padding:0 var(--ao-space-sm);font-size:var(--ao-font-size-tag);color:var(--ao-color-neutral-light)}.ao-comment__footer{grid-column:2;display:flex;gap:var(--ao-space-sm)}.ao-comments{flex:3;overflow-y:auto}.ao-comments__list{display:flex;flex-direction:column-reverse;min-height:0;gap:var(--ao-space-lg);padding:0;padding-block-start:var(--ao-space-md);margin:0}.ao-comments__form{display:grid;gap:var(--ao-space-md);grid-template-columns:1fr auto;grid-template-rows:1fr auto;align-items:flex-end}.ao-comments__form-textarea{grid-column:1/ -1;grid-row:1/ -1}.ao-comments__form-submit{padding:var(--ao-space-md);grid-column:2;grid-row:2;display:flex;justify-content:flex-end}.ao-activity-details{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__header{display:flex;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-lg) var(--ao-space-md)}.ao-activity-details__main{flex-grow:1;padding:var(--ao-space-lg)}.ao-activity__category{font-weight:var(--ao-font-weight-regular)}.ao-activity-details__content{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-lg)}.ao-activity-details__aside{border-top:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);margin-block-start:var(--ao-space-lg);padding-block-start:var(--ao-space-lg);display:flex;flex-direction:column}.ao-activity-details__aside-section:not(:empty){padding:var(--ao-space-xl) var(--ao-space-lg)}.ao-activity-details__aside-section+.ao-activity-details__aside-section:not(:empty){border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-light)}.ao-field__input--estim{width:8ch}@container modal (min-width: 480px){.ao-activity-details__content{overflow-y:auto}.ao-activity-details__aside{margin-block-start:0;border-top:0}}@container modal (min-width: 720px){.ao-activity-details{display:flex;flex-direction:column;height:auto;min-height:auto;flex-grow:1;overflow-y:none;flex-direction:row}.ao-activity-details__main{height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__aside{width:33%;background-color:var(--ao-color-canvas);padding-block-end:var(--ao-space-xl);padding-block-start:var(--ao-space-sm)}.ao-activity-details__aside>:nth-child(2){padding-block-start:var(--ao-space-md)}.ao-activity-details__close-button{display:flex;flex-direction:row;justify-content:end;margin-inline-end:var(--ao-space-sm)}.ao-activity-details__close-button *{cursor:pointer}.ao-activity-details__aside-section--created-by{margin-block-start:auto;border-block-start-width:0}.ao-activity-details__multiselect .multiselect-tags-search{background-color:transparent}.ao-activity-details__multiselect.ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-bg: transparent;--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-field__input:not(.ao-field__input--estim){background-color:transparent;border-color:transparent}}.ao-activity__created-by{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-activity__ao-tag{display:inline-flex;width:auto;border:none;border-radius:var(--ao-tag-border-radius)}.ao-activity__ao-tag .ao-tag__label{width:auto;max-width:100%}.assignee-inline{display:flex;align-items:center;gap:8px}.ao-rule-line{display:flex}.ao-rule-line__remove{visibility:hidden;opacity:0}.ao-rule-line:hover .ao-rule-line__remove{visibility:visible;opacity:1}.ao-template-rules__body{display:flex;flex-direction:column;flex:1;align-items:stretch;gap:var(--ao-space-lg)}.ao-template-rules__list{padding:0;margin:0;display:flex;flex-direction:column;flex:1;gap:var(--ao-space-md)}.ao-template-rule{list-style:none}.ao-template-details__cols{display:flex;list-style-type:none;padding:0;margin:0;container:columns / inline-size;overflow-x:auto}.ao-template-details__col{width:100%;padding-inline:var(--ao-space-md);flex-shrink:0}@container columns (min-width: 480px){.ao-template-details__col{width:50%}}@container columns (min-width: 960px){.ao-template-details__col{width:calc(1 / 3 * 100%)}}.ao-card{--ao-card-bg: var(--ao-color-card);--ao-card-color: inherit;--ao-card-padding: var(--ao-space-md);--ao-card-elevation: var(--ao-elevation-2dp);display:flex;flex-direction:row;border-radius:var(--ao-border-radius-md);background-color:var(--ao-card-bg);color:var(--ao-card-color);box-shadow:var(--ao-card-elevation);transform:translateY(0)}.ao-card__content{display:flex;flex-direction:column;width:100%}.ao-card__left-border{width:var(--ao-space-md);border-top-left-radius:var(--ao-border-radius-md);border-bottom-left-radius:var(--ao-border-radius-md)}:not(.ao-list-kanban__transition)>.ao-card{transition:all .15s var(--ao-transition-ease)}.ao-card--clickable{cursor:pointer}.ao-card--clickable:is(:hover,:focus-within){--ao-card-elevation: var(--ao-elevation-4dp);transform:translateY(-2px)}.ao-card__header{display:flex;flex-direction:column;padding-block-start:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-card__body{display:flex;flex-direction:column;flex:1;padding-inline:var(--ao-card-padding)}.ao-card__footer{display:flex;flex-direction:column;padding-block-end:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-progress{--ao-progress-bg: var(--ao-color-neutral-lightest);--ao-progress-height: var(--ao-grid-size);--ao-progress-border-radius: var(--ao-border-radius-md);height:var(--ao-progress-height);width:100%;display:grid;grid-column:1 / -1;grid-row:2;background-color:var(--ao-progress-bg);border-radius:var(--ao-progress-border-radius)}.ao-progress__progress{grid-column:1;grid-row:1;border-radius:var(--ao-progress-border-radius);background-color:var(--ao-progress-color);opacity:.2}.ao-progress--success{--ao-progress-color: var(--ao-color-success)}.ao-progress--warning{--ao-progress-color: var(--ao-color-warning)}.ao-progress--danger{--ao-progress-color: var(--ao-color-danger)}.ao-progress__progress:nth-child(1){opacity:1;z-index:1}.hu-color-picker{padding:10px;background:#1d2024;border-radius:4px;box-shadow:0 0 16px #00000029;z-index:1}.hu-color-picker.light{background:#f7f8f9}.hu-color-picker.light .color-show .sucker{background:#eceef0}.hu-color-picker.light .color-type .name{background:#e7e8e9}.hu-color-picker.light .color-type .value{color:#666;background:#eceef0}.hu-color-picker.light .colors.history{border-top:1px solid #eee}.hu-color-picker canvas{vertical-align:top}.hu-color-picker .color-set{display:flex}.hu-color-picker .color-show{margin-top:8px;display:flex}.saturation{position:relative;cursor:pointer}.saturation .slide{position:absolute;left:100px;top:0;width:10px;height:10px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 1px 1px #0000004d;pointer-events:none}.color-type{display:flex;margin-top:8px;font-size:12px}.color-type .name{width:60px;height:30px;float:left;display:flex;justify-content:center;align-items:center;color:#999;background:#252930}.color-type .value{flex:1;height:30px;min-width:100px;padding:0 12px;border:0;color:#fff;background:#2e333a;box-sizing:border-box}.color-alpha{position:relative;margin-left:8px;cursor:pointer}.color-alpha .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.sucker{width:30px;fill:#9099a4;background:#2e333a;cursor:pointer;transition:all .3s}.sucker.active,.sucker:hover{fill:#1593ff}.colors{padding:0;margin:0}.colors.history{margin-top:10px;border-top:1px solid #2e333a}.colors .item{position:relative;width:16px;height:16px;margin:10px 0 0 10px;border-radius:3px;box-sizing:border-box;vertical-align:top;display:inline-block;transition:all .1s;cursor:pointer}.colors .item:nth-child(8n+1){margin-left:0}.colors .item:hover{transform:scale(1.4)}.colors .item .alpha{height:100%;border-radius:4px}.colors .item .color{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:3px}.hue{position:relative;margin-left:8px;cursor:pointer}.hue .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.color-picker-wrapper{position:relative}.color-button{cursor:pointer;width:125px;height:24px;border-radius:var(--ao-border-radius-sm);border:1px solid #ccc}.color-picker{box-sizing:content-box;position:absolute;z-index:1000;box-shadow:var(--ao-elevation-2dp)}.color-picker.bottom{top:40px}.color-picker.top{bottom:40px}.ao-card-project-phase__header{display:flex;justify-content:flex-end}.ao-card-project-phase__footer{display:flex;flex-direction:column}.ao-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-card-project-phase__archive{opacity:0;visibility:hidden}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__archive{opacity:1;visibility:visible}.ao-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-card-project-phase__footer-row.ao-card-project-phase__no_deadline,.ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline{opacity:0;visibility:hidden}.ao-card-project-phase__deadline--readonly,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-phase__progress{flex-grow:1}.aoBadge{display:inline-block;padding:4px;width:8px;height:8px;border-radius:var(--ao-border-radius-round)}.ao-card-project-milestone{--ao-card-project-milestone-border-color: transparent;padding:0;border:var(--ao-border-width-md) solid var(--ao-card-project-milestone-border-color)}.ao-card-project-milestone__default{display:flex;justify-content:space-between}.ao-card-project-milestone__archive{display:none;height:fit-content;padding-block:var(--ao-space-md)}.ao-card-project-milestone:hover .ao-card-project-milestone__archive{display:flex}.ao-card-project-milestone__activities{display:flex;flex-direction:column}.ao-card-project-milestone__activities-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-project-milestone__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-milestone:hover .ao-card-project-milestone__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-milestone__activities-row+.ao-card-project-milestone__activities-row{margin-block-start:var(--ao-space-md)}.ao-card-project-milestone__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-milestone__progress{flex-grow:1}.ao-card-project-milestone__title{max-width:fit-content;display:inline;word-break:normal}.ao-card-project-item-milestone__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h5)}.ao-card-project-milestone__footer{display:flex;align-items:center;padding-block-start:var(--ao-space-sm);gap:var(--ao-space-sm)}.ao-card-project-milestone__assignee{display:flex;justify-content:flex-start;margin-inline-start:auto}.ao-card-project-milestone__deadline{padding-block:var(--ao-space-sm)}.ao-card-project-milestone__important{color:var(--ao-color-danger)}.ao-card-project-milestone__important--selected{color:var(--ao-color-white)}.ao-title-with-badge-wrapper{display:flex;align-items:center;gap:8px}.ao-mapping-card-project-phase__header{display:flex;justify-content:flex-end;opacity:0;visibility:collapse;//transition: collapse .15s}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__header{opacity:1;visibility:visible}.ao-mapping-card-project-phase__footer{display:flex;flex-direction:column}.ao-mapping-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-mapping-card-project-phase__archive{opacity:0;visibility:hidden}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__archive{opacity:1;visibility:visible}.ao-mapping-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-mapping-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-mapping-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-mapping-card-project-phase__footer-row.ao-mapping-card-project-phase__no_deadline,.ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline{opacity:0;visibility:collapse}.ao-mapping-card-project-phase__deadline--readonly,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-mapping-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-item__title-line{display:block;word-break:normal}.ao-card-project-item-phase__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h4)}.ao-mapping-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-mapping-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-mapping-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-mapping-card-project-phase__progress{flex-grow:1}.ao-project-phase__drag-handle{opacity:0;visibility:hidden}.ao-project-phase__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-project-phase:hover .ao-project-phase__drag-handle{opacity:1;visibility:visible}.ao-project-phase{display:flex;flex-direction:column;padding-block:var(--ao-space-md)}.ao-project-phase--selected .ao-project-phase__col-phase{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-xxl);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-mapping-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-lg) var(--ao-space-sm);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-project-phase__col-milestones{display:flex;flex:1;padding:var(--ao-space-md);gap:var(--ao-space-md);overflow-x:auto;scroll-snap-type:x mandatory}.ao-project-phase__milestones,.ao-project-phase__milestones-list{display:contents}.ao-project-phase__milestone{scroll-snap-align:center;width:90%;flex-shrink:0}.ao-project-phase__milestones-list-footer{display:flex;scroll-snap-align:center}@container page (min-width: 480px){.ao-project-phase__milestones-list{grid-auto-columns:45%;overflow-x:auto}.ao-project-phase__milestone{width:45%}}@container page (min-width: 720px){.ao-project-phase{flex-direction:row}.ao-project-phase__col-phase,.ao-mapping-project-phase__col-phase{width:20em}.ao-project-phase+.ao-project-phase{border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-project-phase__col-milestones{flex-direction:column;border-inline-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);overflow:hidden}.ao-project-phase__milestones{display:flex;width:100%;flex-direction:row;align-items:center;height:100%;padding:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet)}.ao-project-phases__draggable-card{margin:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet);display:flex;flex-direction:row}.ao-project-phase--selected .ao-project-phase__milestones{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__milestones-list{display:grid;padding:var(--ao-space-md);flex-shrink:1;max-width:100%;min-width:0;grid-auto-columns:minmax(max(20%,147px),196px);grid-auto-flow:column;align-items:stretch;gap:var(--ao-space-md);scroll-snap-type:x mandatory;scroll-snap-padding:var(--ao-space-md)}.ao-project-phase__milestone{width:100%;scroll-snap-align:start}.ao-project-phase__milestones-list-footer{align-items:center;padding:var(--ao-space-md)}.ao-project-phase__milestone-add{flex-grow:0;flex-shrink:0}}.ao-project__phases{display:flex;flex-direction:column;height:100%;min-height:0;padding-inline-start:0;margin-block:0}.ao-project-phase__add-phase{padding:var(--ao-space-lg)}@container page (min-width: 720px){.ao-project-phase__phases-list-footer{display:flex}.ao-project-phase__empty_drag{width:40px}.ao-project-phase__phases-list-footer .ao-project-phase__col-phase{max-width:20em;padding:var(--ao-space-md)}.ao-project-phase__phases-list-footer .ao-project-phase__col-milestones{border:none}}.ao-add-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md);padding:0 var(--ao-space-xl) var(--ao-space-xl) var(--ao-space-xl)}.ao-add-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-add-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md)}.ao-save-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-save-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{padding:0 var(--ao-space-lg) var(--ao-space-lg) var(--ao-space-lg)}.ao-save-template-modal__phases{margin-top:var(--ao-space-md)}.ao-field__label{padding:var(--ao-space-md) 0;font-size:var(--ao-font-size-base)}.ao-save-template-modal__phases-list{display:flex;flex-direction:column;gap:var(--ao-space-sm)}.ao-field--checkbox{display:flex;flex-direction:row}.tabbar-wrapper[data-v-ff4e3297]{display:flex;align-items:center;margin:0;font-size:var(--ao-font-size-h3);padding:var(--ao-space-sm);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-neutral-lightest)}.tab-button[data-v-ff4e3297]{border:none;background-color:transparent;padding:var(--ao-space-sm) var(--ao-space-md);border-radius:var(--ao-border-radius-sm);color:var(--ao-color-black);cursor:pointer;transition:background-color .2s ease}.tab-button--active[data-v-ff4e3297]{background-color:var(--ao-color-primary-base);color:var(--ao-color-white)}.ao-project-overview__add-template .ao-project-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:hidden}.ao-project__body{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;min-width:0;flex-grow:1;align-items:flex-start;padding-block:var(--ao-space-md);overflow:hidden}@container page (min-width: 720px){.ao-project{padding-inline:var(--ao-space-lg)}}.ao-card-feed{cursor:pointer}.ao-card-feed__header{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-items:flex-start}.ao-card-feed__header-secondary{grid-column:2;grid-row:1}.ao-card-feed__header-icons{margin-inline-start:auto}.ao-card-feed__title-group{margin-block:var(--ao-space-md);display:flex;align-items:center}.ao-card-feed__body{display:flex;flex-direction:column;align-items:flex-start}.ao-card-feed__project{max-width:100%}.ao-card-feed__breadcrumbs{font-size:var(--ao-font-size-label)}.ao-card-feed_deadline{color:var(--ao-color-neutral-base);font-size:var(--ao-font-size-label)}.ao-card-feed__important{margin-inline-start:auto;color:var(--ao-color-danger)}.ao-card-feed__warning{color:var(--ao-color-warning)}.ao-card-feed__footer{display:flex;flex-direction:column}.ao-card-feed__footer-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-feed__secondary{display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-feed:hover .ao-card-feed__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-feed__footer-row+.ao-card-feed__footer-row{margin-block-start:var(--ao-space-md)}.ao-assignees{display:flex;margin:0;padding:0}.ao-assignee{list-style-type:none}.ao-card-feed__subitems{margin:0;margin-inline-start:auto;padding:0;display:flex;gap:var(--ao-space-sm);align-items:center}.ao-card-feed__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-feed__progress-wrapper{display:flex;width:100%;align-items:center;gap:var(--ao-space-md)}.ao-card-feed__progress{flex-grow:1}.ao-card-feed__closed{color:var(--ao-color-primary-base)}.ao-card-feed--closed :is(.ao-card-feed__body,.ao-card-feed__footer,.ao-card-feed__project,.ao-card-feed__header-icons > *:not(.ao-card-feed__closed)){opacity:.3}.ao-card-feed__title-line{display:block;word-break:normal}.ao-card-feed__slug{font-weight:var(--ao-font-weight-semi-bold);white-space:nowrap;display:inline}.ao-card-feed__title-inline{display:inline;word-break:normal}.ao-project-milestone{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;width:24em;background-color:var(--ao-color-sheet);padding:var(--ao-space-lg)}.ao-project-milestone__header{display:flex;align-items:flex-start;flex-direction:column}.ao-project-milestone__header_line{display:flex;align-items:flex-start;justify-content:space-between;width:100%}.ao-project-milestone__title{display:flex;padding-inline:var(--ao-space-lg);width:100%}.ao-project-milestone__body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-project-milestone__activities{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-md);margin-block:0;overflow-y:auto}.ao-project-milestone__footer{display:flex;flex-direction:column;padding:var(--ao-space-md)}.ao-milestone__fieldset{width:100%;padding:var(--ao-space-md);border-block-end:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-milestone__field-row{width:100%;align-items:center}.ao-milestone__field-row+.ao-milestone__field-row{margin-block-start:var(--ao-space-sm)}.ao-milestone__field{padding:var(--ao-space-sm);font-size:var(--ao-font-size-label);background-color:transparent;border-width:0}.ao-milestone__field-multiselect{width:14ch;background-color:transparent}.ao-milestone__field-multiselect .multiselect-tags-search{background-color:transparent}.ao-milestone__field-multiselect .ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-milestone__important,.ao-milestone__close{margin-inline-start:auto}.ao-col-header{--ao-col-header-bg: var(--ao-color-card);display:flex;background-color:var(--ao-col-header-bg);border-radius:var(--ao-border-radius-md);align-items:center;padding:var(--ao-space-md)}.ao-col-header__title{flex:1}.ao-col-header__items{flex-shrink:0}.ao-list-kanban{display:flex;flex-direction:column;gap:var(--ao-space-lg);height:100%;min-height:0;scroll-snap-align:start end}.ao-list-kanban__list{display:flex;flex-direction:column;gap:var(--ao-space-md);min-height:0;overflow-y:auto;padding-inline:var(--ao-space-md)}.ao-list-kanban__header,.ao-list-kanban__footer{padding-inline:var(--ao-space-md)}.ao-list-kanban__end{display:flex;flex-direction:column;padding:var(--ao-space-md);align-items:center;justify-items:center;flex-shrink:0}.ao-list-kanban__divider{width:50%;height:2px;background-color:var(--ao-color-neutral-lightest)}.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-move,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-enter-active,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-leave-active{transition:all .5s ease}.ao-list-kanban__transition-leave-active{position:absolute}.ao-list-kanban__ghost{opacity:.5;background:var(--ao-color-primary-lightest)}.ao-search-field{--ao-search-field-icon-size: var(--ao-icon-size-md);--ao-search-field-icon-slot-size: calc( var(--ao-search-field-icon-size) + var(--ao-space-xl) );--ao-search-field-placeholder-color: var(--ao-color-black);--ao-input-border-color: var(--ao-color-neutral-lightest);display:grid;grid-template-columns:1fr var(--ao-search-field-icon-slot-size);align-items:center;gap:var(--ao-space-sm);flex:1}.ao-search-field__input{grid-column:1 / -1;grid-row:1;width:100%;padding-inline-end:var(--ao-search-field-icon-slot-size);font-size:var(--ao-font-size-button);border-radius:var(--ao-border-radius-md)}.ao-search-field__input:focus{color:var(--ao-color-primary-base);outline-color:var(--ao-color-primary-lightest)}.ao-search-field__input::placeholder{color:var(--ao-search-field-placeholder-color);opacity:1}.ao-search-field__action{grid-column:2;grid-row:1;justify-self:center;transform:scale(0);transition:transform .15s var(--ao-transition-ease);transform-origin:50%}.ao-search-field__action--visible{transform:scale(1)}.ao-search-field__icon{width:var(--ao-search-field-icon-size);height:var(--ao-search-field-icon-size);color:var(--ao-color-neutral-dark);pointer-events:none}.ao-feed{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;container:page / inline-size}.ao-feed__body{display:grid;grid-auto-flow:column;grid-auto-columns:100%;height:100%;min-height:0;flex-grow:1;overflow-x:auto;align-items:flex-start;padding-block:var(--ao-space-md);scroll-snap-type:x mandatory}.ao-feed__activity-details__header{display:flex;gap:var(--ao-space-md)}.ao-feed__activity-details__project{flex:2}.ao-feed__activity-details__status{flex:1}@container page (min-width: 420px){.ao-feed__body{grid-auto-columns:50cqi}}@container page (min-width: 768px){.ao-feed__body{grid-auto-columns:33cqi}}@container page (min-width: 1024px){.ao-feed__body{grid-auto-columns:minmax(calc(var(--ao-grid-size) * 32),calc(var(--ao-grid-size) * 32))}}.ao-kanban__col{display:flex;flex-direction:column;gap:var(--ao-space-md);max-height:100%;min-height:0;overflow-y:auto;padding:var(--ao-space-lg)}.ao-feed__filters{flex:1;display:flex;gap:1%;align-items:center;flex-direction:column}.ao-feed__filter .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-feed__filter .multiselect-wrapper{justify-content:flex-start}.ao-feed__show-archived{flex:0 auto}@container header (min-width: 720px){.ao-feed__filters{flex-direction:row}.ao-feed__search{padding-inline-end:var(--ao-space-md);border-right:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-feed__search,.ao-feed__filter__projects{max-width:33%}.ao-feed__filter__assignees,.ao-feed__filter__types{max-width:15%}}.ao-project-mapping-overview__add-template .ao-project-mapping-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-mapping-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project-mapping{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:visible}.ao-project-mapping-mapping__body{display:flex;flex-direction:row;align-items:flex-start;gap:var(--ao-space-md);padding-block:var(--ao-space-md)}.ao-project-mapping-mapping__phases{flex:0 0 auto;min-width:0;max-height:100vh;overflow:scroll}.ao-project-mapping-mapping__image-wrapper{flex:1 1 0;position:relative;min-width:0}.architecture-image{position:sticky;top:var(--ao-space-md);width:100%;height:auto;display:block}@container page (min-width: 720px){.ao-project-mapping{padding-inline:var(--ao-space-lg)}}.ao-templates{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg)}.ao-templates__header{display:flex;padding:var(--ao-space-sm)}.ao-templates__list{display:flex;margin:0;padding:var(--ao-space-sm);list-style-type:none;flex-direction:column;gap:var(--ao-space-md);container:column / inline-size}
|
|
1
|
+
(function(X,e){var Le=document.createElement("style");Le.textContent=`*,*:before,*:after{box-sizing:border-box}html,body{margin:0;overflow:hidden;display:flex;flex-direction:column;height:100%;min-height:0}button{color:inherit;font-family:inherit}input,textarea{font-family:inherit}:root{--ao-color-blue-lightest: #ebf1ff;--ao-color-blue-lighter: #aabdff;--ao-color-blue-light: #7183ff;--ao-color-blue-base: #4952ff;--ao-color-blue-dark: #2226e7;--ao-color-blue-darker: #09099c;--ao-color-blue-darkest: #000033;--ao-color-grey-lightest: #e6e6e6;--ao-color-grey-light: #c8c8c8;--ao-color-grey-base: #ababab;--ao-color-grey-dark: #636363;--ao-color-grey-darkest: #1c1c1c;--ao-color-white: #fff;--ao-color-black: #000;--ao-color-sand-base: #d8a55a;--ao-color-red-light: #ff4f4f;--ao-color-teal-light: #64d9bb;--ao-color-primary-lightest: var(--ao-color-blue-lightest);--ao-color-primary-lighter: var(--ao-color-blue-lighter);--ao-color-primary-light: var(--ao-color-blue-light);--ao-color-primary-base: var(--ao-color-blue-base);--ao-color-primary-dark: var(--ao-color-blue-dark);--ao-color-primary-darker: var(--ao-color-blue-darker);--ao-color-primary-darkest: var(--ao-color-blue-darkest);--ao-color-neutral-lightest: var(--ao-color-grey-lightest);--ao-color-neutral-light: var(--ao-color-grey-light);--ao-color-neutral-base: var(--ao-color-grey-base);--ao-color-neutral-dark: var(--ao-color-grey-dark);--ao-color-neutral-darkest: var(--ao-color-grey-darkest);--ao-color-canvas: #f1f1f1;--ao-color-sheet: #f9f9f9;--ao-color-card: #f9f9f9;--ao-color-text: var(--ao-color-grey-darkest);--ao-color-danger: var(--ao-color-red-light);--ao-color-warning: var(--ao-color-sand-base);--ao-color-success: var(--ao-color-teal-light);--ao-color-text-contrast: var(--ao-color-white);--ao-color-group: rgba(255, 255, 255, .2);--ao-color-backdrop: rgba(0, 0, 0, .7);--ao-grid-size: 8px;--ao-space-xs: calc(var(--ao-grid-size) / 4);--ao-space-sm: calc(var(--ao-grid-size) / 2);--ao-space-md: calc(var(--ao-grid-size) * 1);--ao-space-lg: calc(var(--ao-grid-size) * 3 / 2);--ao-space-xl: calc(var(--ao-grid-size) * 2);--ao-space-xxl: calc(var(--ao-grid-size) * 4);--ao-border-width-sm: 1px;--ao-border-width-md: 2px;--ao-border-width-lg: 4px;--ao-border-width-xl: 6px;--ao-border-radius-xs: 2px;--ao-border-radius-sm: 4px;--ao-border-radius-md: 8px;--ao-border-radius-lg: 16px;--ao-border-radius-xl: 24px;--ao-border-radius-round: 100em;font-size:15px;--ao-font-size-base: 1rem;--ao-font-size-text: var(--ao-font-size-base);--ao-font-size-input: var(--ao-font-size-base);--ao-font-size-h5: var(--ao-font-size-base);--ao-font-size-h4: calc(var(--ao-font-size-base) * 1.25);--ao-font-size-h3: calc(var(--ao-font-size-h4) * 1.25);--ao-font-size-h2: calc(var(--ao-font-size-h3) * 1.25);--ao-font-size-h1: calc(var(--ao-font-size-h2) * 1.25);--ao-font-size-label: calc(var(--ao-font-size-base) / 1.25);--ao-font-size-tag: calc(var(--ao-font-size-label) / 1.25);--ao-font-size-button: var(--ao-font-size-base);--ao-font-weight-extra-light: 200;--ao-font-weight-regular: 400;--ao-font-weight-medium: 500;--ao-font-weight-semi-bold: 600;--ao-font-weight-bold: 800;--ao-font-weight-extra-bold: 900;--ao-font-stack-system-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;--ao-font-stack-sans: "Kumbh Sans", var(--ao-font-stack-system-sans);--ao-icon-size-sm: calc(var(--ao-grid-size) * 9 / 5);--ao-icon-size-md: calc(var(--ao-grid-size) * 3);--ao-icon-size-lg: calc(var(--ao-grid-size) * 4);--ao-icon-size-xl: calc(var(--ao-grid-size) * 5);--ao-transition-ease: cubic-bezier(.215, .61, .355, 1);--ao-shadow-key-umbra-opacity: .2;--ao-shadow-key-penumbra-opacity: .14;--ao-shadow-ambient-shadow-opacity: .12;--ao-elevation-2dp: 0 2px 2px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 1px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 5px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-3dp: 0 3px 4px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 3px -2px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity)), 0 1px 8px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity));--ao-elevation-4dp: 0 4px 5px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 10px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 2px 4px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-6dp: 0 6px 10px 0 rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 1px 18px 0 rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 3px 5px -1px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-8dp: 0 8px 10px 1px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 3px 14px 2px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 5px 5px -3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-16dp: 0 16px 24px 2px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 6px 30px 5px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 8px 10px -5px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity));--ao-elevation-24dp: 0 9px 46px 8px rgba(0, 0, 0, var(--ao-shadow-key-penumbra-opacity)), 0 11px 15px -7px rgba(0, 0, 0, var(--ao-shadow-ambient-shadow-opacity)), 0 24px 38px 3px rgba(0, 0, 0, var(--ao-shadow-key-umbra-opacity))}html,body{font-family:var(--ao-font-stack-sans)}[class^=ao-]{scrollbar-width:thin}[class^=ao-]::-webkit-scrollbar{background-color:transparent;width:var(--ao-space-md);height:var(--ao-space-md);border-radius:var(--ao-border-radius-round)}[class^=ao-]::-webkit-scrollbar-thumb{background:var(--ao-color-neutral-light);border-radius:var(--ao-border-radius-round);cursor:grab}:root{--ao-input-color: inherit;--ao-input-bg: #fff;--ao-input-border-radius: var(--ao-border-radius-sm);--ao-input-border-width: var(--ao-border-width-sm);--ao-input-border-color: var(--ao-color-neutral-light);--ao-textarea-bg: var(--ao-input-bg)}.ao-fieldset{border-width:0;padding:0;margin:0}.ao-fieldset+.ao-fieldset{margin-block-start:var(--ao-space-xl)}.ao-fieldset__title{display:flex;align-items:center;gap:var(--ao-space-sm);color:var(--ao-color-neutral-dark)}.ao-field__row{display:flex;flex-direction:row;gap:var(--ao-space-lg)}.ao-field__row+.ao-field__row{margin-block-start:var(--ao-space-lg)}.ao-field{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ao-space-md)}.ao-field--full{flex:1;width:100%}.ao-field--multiselect{min-width:20ch}.ao-field--inline{flex-direction:row;align-items:center}.ao-field__label{font-size:var(--ao-font-size-label)}.ao-field__input{padding-inline:var(--ao-space-lg);padding-block:var(--ao-space-md);margin:0;border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-input-bg)}.ao-field__input:is(:focus,:active,:hover){--ao-input-border-color: var(--ao-color-primary-base)}.ao-field__textarea{padding:var(--ao-space-lg);border:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:var(--ao-input-border-radius);color:var(--ao-input-color);background-color:var(--ao-textarea-bg);flex:1;width:100%;resize:vertical}.ao-multiselect{--ms-font-size: var(--font-size-text);--ms-line-height: 1.2;--ms-border-color: var(--ao-color-neutral-lightest);--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: var(--ao-input-border-color);--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-md);--ms-py: var(--ao-space-md);--ms-px: var(--ao-space-lg);--ms-ring-color: var(--ao-color-primary-lightest);--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-tag-font-size: var(--ao-font-size-tag);--ms-tag-font-weight: var(--ao-font-weight-regular);--ms-tag-bg: var(--ao-color-primary-base);--ms-tag-radius: var(--ao-border-radius-xl);--ms-tag-py: var(--ao-space-sm);--ms-tag-my: 0;--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}input[readonly]{cursor:default}.is-disabled>.multiselect-wrapper{cursor:default}.ao-field__input::-webkit-outer-spin-button,.ao-field__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.ao-field__input[type=number]{-moz-appearance:textfield}.multiselect{align-items:center;background:var(--ms-bg,#fff);border:var(--ms-border-width,1px) solid var(--ms-border-color,#d1d5db);border-radius:var(--ms-radius,4px);box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-font-size,1rem);justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect.is-open{border-radius:var(--ms-radius,4px) var(--ms-radius,4px) 0 0}.multiselect.is-open-top{border-radius:0 0 var(--ms-radius,4px) var(--ms-radius,4px)}.multiselect.is-disabled{background:var(--ms-bg-disabled,#f3f4f6);cursor:default}.multiselect.is-active{border:var(--ms-border-width-active,var(--ms-border-width,1px)) solid var(--ms-border-color-active,var(--ms-border-color,#d1d5db));box-shadow:0 0 0 var(--ms-ring-width,3px) var(--ms-ring-color,rgba(16,185,129,.188))}.multiselect-wrapper{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;justify-content:flex-end;margin:0 auto;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);outline:none;position:relative;width:100%}.multiselect-multiple-label,.multiselect-placeholder,.multiselect-single-label{align-items:center;background:transparent;box-sizing:border-box;display:flex;height:100%;left:0;line-height:var(--ms-line-height,1.375);max-width:100%;padding-left:var(--ms-px,.875rem);padding-right:calc(1.25rem + var(--ms-px, .875rem)*3);pointer-events:none;position:absolute;top:0}.multiselect-placeholder{color:var(--ms-placeholder-color,#9ca3af)}.multiselect-single-label-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ms-bg,#fff);border:0;border-radius:var(--ms-radius,4px);bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;height:100%;left:0;outline:none;padding-left:var(--ms-px,.875rem);position:absolute;right:0;top:0;width:100%}.multiselect-search::-webkit-search-cancel-button,.multiselect-search::-webkit-search-decoration,.multiselect-search::-webkit-search-results-button,.multiselect-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-tags{flex-grow:1;flex-shrink:1;flex-wrap:wrap;margin:var(--ms-tag-my,.25rem) 0 0;padding-left:var(--ms-py,.5rem)}.multiselect-tag,.multiselect-tags{align-items:center;display:flex;min-width:0}.multiselect-tag{background:var(--ms-tag-bg,#10b981);border-radius:var(--ms-tag-radius,4px);color:var(--ms-tag-color,#fff);font-size:var(--ms-tag-font-size,.875rem);font-weight:var(--ms-tag-font-weight,600);line-height:var(--ms-tag-line-height,1.25rem);margin-bottom:var(--ms-tag-my,.25rem);margin-right:var(--ms-tag-mx,.25rem);padding:var(--ms-tag-py,.125rem) 0 var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem);white-space:nowrap}.multiselect-tag.is-disabled{background:var(--ms-tag-bg-disabled,#9ca3af);color:var(--ms-tag-color-disabled,#fff);padding-right:var(--ms-tag-px,.5rem)}.multiselect-tag-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiselect-tag-wrapper-break{white-space:normal;word-break:break-all}.multiselect-tag-remove{align-items:center;border-radius:var(--ms-tag-remove-radius,4px);display:flex;justify-content:center;margin:var(--ms-tag-remove-my,0) var(--ms-tag-remove-mx,.125rem);padding:var(--ms-tag-remove-py,.25rem) var(--ms-tag-remove-px,.25rem)}.multiselect-tag-remove:hover{background:rgba(0,0,0,.063)}.multiselect-tag-remove-icon{background-color:currentColor;display:inline-block;height:.75rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;opacity:.8;width:.75rem}.multiselect-tags-search-wrapper{display:inline-block;flex-grow:1;flex-shrink:1;height:100%;margin:0 var(--ms-tag-mx,4px) var(--ms-tag-my,4px);position:relative}.multiselect-tags-search-copy{display:inline-block;height:1px;visibility:hidden;white-space:pre-wrap;width:100%}.multiselect-tags-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;bottom:0;box-sizing:border-box;font-family:inherit;font-size:inherit;left:0;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.multiselect-tags-search::-webkit-search-cancel-button,.multiselect-tags-search::-webkit-search-decoration,.multiselect-tags-search::-webkit-search-results-button,.multiselect-tags-search::-webkit-search-results-decoration{-webkit-appearance:none}.multiselect-inifite{align-items:center;display:flex;justify-content:center;min-height:calc(var(--ms-border-width, 1px)*2 + var(--ms-font-size, 1rem)*var(--ms-line-height, 1.375) + var(--ms-py, .5rem)*2);width:100%}.multiselect-inifite-spinner,.multiselect-spinner{animation:multiselect-spin 1s linear infinite;background-color:var(--ms-spinner-color,#10b981);flex-grow:0;flex-shrink:0;height:1rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m456.433 371.72-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:1rem;z-index:10}.multiselect-spinner{margin:0 var(--ms-px,.875rem) 0 0}.multiselect-clear{display:flex;flex-grow:0;flex-shrink:0;opacity:1;padding:0 var(--ms-px,.875rem) 0 0;position:relative;transition:.3s;z-index:10}.multiselect-clear:hover .multiselect-clear-icon{background-color:var(--ms-clear-color-hover,#000)}.multiselect-clear-icon{background-color:var(--ms-clear-color,#999);display:inline-block;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");transition:.3s}.multiselect-caret,.multiselect-clear-icon{height:1.125rem;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:.625rem}.multiselect-caret{background-color:var(--ms-caret-color,#999);flex-grow:0;flex-shrink:0;margin:0 var(--ms-px,.875rem) 0 0;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E");pointer-events:none;position:relative;transform:rotate(0);transition:transform .3s;z-index:10}.multiselect-caret.is-open{pointer-events:auto;transform:rotate(180deg)}.multiselect-dropdown{-webkit-overflow-scrolling:touch;background:var(--ms-dropdown-bg,#fff);border:var(--ms-dropdown-border-width,1px) solid var(--ms-dropdown-border-color,#d1d5db);border-radius:0 0 var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px);bottom:0;display:flex;flex-direction:column;left:calc(var(--ms-border-width, 1px)*-1);margin-top:calc(var(--ms-border-width, 1px)*-1);max-height:var(--ms-max-height,10rem);outline:none;overflow-y:scroll;position:absolute;right:calc(var(--ms-border-width, 1px)*-1);transform:translateY(100%);z-index:100}.multiselect-dropdown.is-top{border-radius:var(--ms-dropdown-radius,4px) var(--ms-dropdown-radius,4px) 0 0;bottom:auto;top:var(--ms-border-width,1px);transform:translateY(-100%)}.multiselect-dropdown.is-hidden{display:none}.multiselect-options{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}.multiselect-group{margin:0;padding:0}.multiselect-group-label{align-items:center;background:var(--ms-group-label-bg,#e5e7eb);box-sizing:border-box;color:var(--ms-group-label-color,#374151);cursor:default;display:flex;font-size:.875rem;font-weight:600;justify-content:flex-start;line-height:var(--ms-group-label-line-height,1.375);padding:var(--ms-group-label-py,.3rem) var(--ms-group-label-px,.75rem);text-align:left;text-decoration:none}.multiselect-group-label.is-pointable{cursor:pointer}.multiselect-group-label.is-pointed{background:var(--ms-group-label-bg-pointed,#d1d5db);color:var(--ms-group-label-color-pointed,#374151)}.multiselect-group-label.is-selected{background:var(--ms-group-label-bg-selected,#059669);color:var(--ms-group-label-color-selected,#fff)}.multiselect-group-label.is-disabled{background:var(--ms-group-label-bg-disabled,#f3f4f6);color:var(--ms-group-label-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-group-label.is-selected.is-pointed{background:var(--ms-group-label-bg-selected-pointed,#0c9e70);color:var(--ms-group-label-color-selected-pointed,#fff)}.multiselect-group-label.is-selected.is-disabled{background:var(--ms-group-label-bg-selected-disabled,#75cfb1);color:var(--ms-group-label-color-selected-disabled,#d1fae5)}.multiselect-group-options{margin:0;padding:0}.multiselect-option{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--ms-option-font-size,1rem);justify-content:flex-start;line-height:var(--ms-option-line-height,1.375);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem);text-align:left;text-decoration:none}.multiselect-option.is-pointed{background:var(--ms-option-bg-pointed,#f3f4f6);color:var(--ms-option-color-pointed,#1f2937)}.multiselect-option.is-selected{background:var(--ms-option-bg-selected,#10b981);color:var(--ms-option-color-selected,#fff)}.multiselect-option.is-disabled{background:var(--ms-option-bg-disabled,#fff);color:var(--ms-option-color-disabled,#d1d5db);cursor:not-allowed}.multiselect-option.is-selected.is-pointed{background:var(--ms-option-bg-selected-pointed,#26c08e);color:var(--ms-option-color-selected-pointed,#fff)}.multiselect-option.is-selected.is-disabled{background:var(--ms-option-bg-selected-disabled,#87dcc0);color:var(--ms-option-color-selected-disabled,#d1fae5)}.multiselect-no-options,.multiselect-no-results{color:var(--ms-empty-color,#4b5563);padding:var(--ms-option-py,.5rem) var(--ms-option-px,.75rem)}.multiselect-fake-input{background:transparent;border:0;bottom:-1px;font-size:0;height:1px;left:0;outline:none;padding:0;position:absolute;right:0;width:100%}.multiselect-fake-input:active,.multiselect-fake-input:focus{outline:none}.multiselect-assistive-text{clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.multiselect-spacer{display:none}[dir=rtl] .multiselect-multiple-label,[dir=rtl] .multiselect-placeholder,[dir=rtl] .multiselect-single-label{left:auto;padding-left:calc(1.25rem + var(--ms-px, .875rem)*3);padding-right:var(--ms-px,.875rem);right:0}[dir=rtl] .multiselect-search{padding-left:0;padding-right:var(--ms-px,.875rem)}[dir=rtl] .multiselect-tags{padding-left:0;padding-right:var(--ms-py,.5rem)}[dir=rtl] .multiselect-tag{margin-left:var(--ms-tag-mx,.25rem);margin-right:0;padding:var(--ms-tag-py,.125rem) var(--ms-tag-px,.5rem) var(--ms-tag-py,.125rem) 0}[dir=rtl] .multiselect-tag.is-disabled{padding-left:var(--ms-tag-px,.5rem)}[dir=rtl] .multiselect-caret,[dir=rtl] .multiselect-spinner{margin:0 0 0 var(--ms-px,.875rem)}[dir=rtl] .multiselect-clear{padding:0 0 0 var(--ms-px,.875rem)}@keyframes multiselect-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes blink-ad6da4a9{0%,to{opacity:1}50%{opacity:0}}.dot[data-v-ad6da4a9]{animation:blink-ad6da4a9 1.5s ease-in-out infinite}.dot--1[data-v-ad6da4a9]{animation-delay:0}.dot--2[data-v-ad6da4a9]{animation-delay:.5s}.dot--3[data-v-ad6da4a9]{animation-delay:1s}.ao-icon{color:inherit;fill:currentColor;width:var(--ao-icon-size);height:var(--ao-icon-size)}.ao-icon *{fill:inherit}.ao-icon--sm{--ao-icon-size: var(--ao-icon-size-sm)}.ao-icon--md{--ao-icon-size: var(--ao-icon-size-md)}.ao-icon--lg{--ao-icon-size: var(--ao-icon-size-lg)}.ao-icon--xl{--ao-icon-size: var(--ao-icon-size-xl)}.ao-button{--ao-button-main-color: initial;--ao-button-secondary-color: initial;--ao-button-color: var(--ao-button-main-color);--ao-button-bg: var(--ao-button-secondary);--ao-button-border-color: transparent;--ao-button-padding: var(--ao-space-sm);--ao-button-label-padding: var(--ao-space-sm);--ao-button-border-radius: var(--ao-border-radius-md);--ao-button-line-height: var(--ao-icon-size-md);--ao-button-font-size: var(--ao-font-size-button);display:flex;padding:var(--ao-button-padding);align-items:center;border-width:var(--ao-border-width-md);border-style:solid;border-radius:var(--ao-button-border-radius);border-color:var(--ao-button-border-color);color:var(--ao-button-color);background-color:var(--ao-button-bg);cursor:pointer;font-size:var(--ao-button-font-size);font-weight:var(--ao-font-weight-semi-bold);line-height:var(--ao-button-line-height)}.ao-button--primary{--ao-button-main-color: var(--ao-color-primary-base)}.ao-button--secondary{--ao-button-main-color: var(--ao-color-success)}.ao-button--neutral{--ao-button-main-color: var(--ao-color-neutral-base)}.ao-button--black{--ao-button-main-color: var(--ao-color-neutral-darkest)}.ao-button--warning{--ao-button-main-color: var(--ao-color-warning)}.ao-button--danger{--ao-button-main-color: var(--ao-color-danger)}.ao-button--success{--ao-button-main-color: var(--ao-color-success)}.ao-button--ghost{--ao-border-color: transparent;--ao-background-color: transparent}.ao-button--outline{--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid{--ao-button-color: var(--ao-button-secondary-color);--ao-button-bg: var(--ao-button-main-color);--ao-button-border-color: var(--ao-button-main-color)}.ao-button--solid:is(.ao-button--primary,.ao-button--secondary,.ao-button--neutral,.ao-button--black){--ao-button-color: var(--ao-color-white)}.ao-button--icon-start{flex-direction:row-reverse}.ao-button--icon-end{flex-direction:row}.ao-button__icon{flex-shrink:0}.ao-button__label{padding-inline:var(--ao-button-label-padding);flex:1;width:100%}.ao-button--footer{width:100%}.ao-button--footer .ao-button__label{text-align:center}.ao-button--is-disabled{cursor:default}.ao-button--sm{--ao-button-padding: var(--ao-space-xs);--ao-button-label-padding: var(--ao-space-xs);--ao-button-line-height: var(--ao-icon-size-sm);--ao-button-font-size: var(--ao-font-size-label)}.ao-button--lg{--ao-button-line-height: var(--ao-icon-size-lg);--ao-button-font-size: var(--ao-font-size-h4)}.ao-button--xl{--ao-button-line-height: var(--ao-icon-size-xl);--ao-button-font-size: var(--ao-font-size-h3)}.ao-button--round{--ao-button-border-radius: var(--ao-border-radius-round)}.ao-title{--ao-title-color: inherit;margin:0;font-weight:var(--ao-font-weight-semi-bold);font-family:var(--ao-font-family-title);color:var(--ao-title-color);cursor:default}.ao-title--editable{cursor:text}.ao-title--readonly{padding-block:var(--ao-space-md);border:var(--ao-input-border-width) solid transparent}.ao-title--1{font-size:var(--ao-font-size-h1)}.ao-title--2{font-size:var(--ao-font-size-h2)}.ao-title--3{font-size:var(--ao-font-size-h3)}.ao-title--4{font-size:var(--ao-font-size-h4)}.ao-title--5{font-size:var(--ao-font-size-h5)}.ao-title--primary{--ao-title-color: var(--ao-color-primary-base)}.ao-title--neutral{--ao-title-color: var(--ao-color-neutral-base)}.ao-title--black{--ao-title-color: var(--ao-color-neutral-darkest)}.ao-title--editing{--ao-title-color: var(--ao-color-primary-dark);width:100%}.ao-card-horiz{--ao-card-horiz-bg-color: var(--ao-color-card);--ao-card-horiz-text-color: inherit;--ao-card-horiz-label-color: var(--ao-color-neutral-base);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;grid-template-areas:"drag header secondary" "drag body body" "drag footer footer";border-radius:var(--ao-border-radius-md);color:var(--ao-card-horiz-text-color);background-color:var(--ao-card-horiz-bg-color);overflow:hidden;cursor:pointer;container:card-horiz / inline-size}.ao-card-horiz:hover{box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz--active{--ao-card-horiz-bg-color: var(--ao-color-primary-base);--ao-card-horiz-text-color: var(--ao-color-white);box-shadow:var(--ao-elevation-2dp)}.ao-card-horiz__header{display:flex;align-items:center;padding-inline:var(--ao-space-md);padding-block-start:var(--ao-space-md);grid-area:header;width:100%}.ao-card-horiz__title-group{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.ao-card-horiz__title{min-width:2ch;min-height:1em}.ao-card-horiz__title,.ao-card-horiz__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:flex-start}.ao-card-horiz__subtitle{margin-top:var(--ao-space-xs);font-size:var(--ao-font-size-body)}.ao-card-horiz__body{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block:var(--ao-space-md);grid-area:body}.ao-card-horiz__footer{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-md);padding-block-end:var(--ao-space-md);grid-area:footer}.ao-card-horiz__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-card-horiz__drag-handle{opacity:0;visibility:hidden}.ao-card-horiz:hover .ao-card-horiz__drag-handle{opacity:1;visibility:visible}.ao-card-horiz__secondary{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);opacity:0;visibility:hidden;grid-area:secondary}.ao-card-horiz:hover .ao-card-horiz__secondary{opacity:1;visibility:visible}@container column (min-width: 480px){.ao-card-horiz{display:flex;flex-direction:row}.ao-card-horiz__header{padding-block:var(--ao-space-md);padding-inline-end:0;flex-shrink:1;min-width:0}.ao-card-horiz__body{padding-inline-end:0;flex-shrink:0}.ao-card-horiz__footer{align-items:flex-end;padding-block:var(--ao-space-md);grid-area:footer;flex-shrink:0}}@container column (min-width: 768px){.ao-card-horiz__header{width:50%}}@container column (min-width: 1024px){.ao-card-horiz__header{width:33%}}@container column (min-width: 1280px){.ao-card-horiz__header{width:25%}}.ao-tag{--ao-tag-color: var(--ao-color-text-contrast);--ao-tag-bg: var(transparent);--ao-tag-border-radius: var(--ao-border-radius-xl);display:flex;flex-direction:row;align-items:stretch;border:var(--ao-border-width-sm) var(--ao-tag-bg) solid;border-radius:var(--ao-tag-border-radius);font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-tag__icon{color:var(--ao-color-white)}.ao-tag--primary{--ao-tag-bg: var(--ao-color-primary-light)}.ao-tag--primary-lighter{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--black{--ao-tag-bg: var(--ao-color-neutral-darkest)}.ao-tag--secondary{--ao-tag-bg: var(--ao-color-success)}.ao-tag--neutral{--ao-tag-bg: var(--ao-color-neutral-light)}.ao-tag--solid.ao-tag--neutral{--ao-tag-color: var(--ao-color-neutral-darkest)}.ao-tag--solid .ao-tag__label{background-color:var(--ao-tag-bg)}.ao-tag--solid_icon .ao-tag__label{background-color:var(--ao-tag-bg);display:flex;gap:var(--ao-space-sm)}.ao-tag--solid .ao-tag__close{background-color:var(--ao-tag-bg)}.ao-tag--clickable .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-lightest)}.ao-tag--clickable.ao-tag--primary .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-primary-lighter)}.ao-tag--clickable.ao-tag--black .ao-tag__label:hover{--ao-tag-bg: var(--ao-color-neutral-dark)}.ao-tag--clickable .ao-tag__label{cursor:pointer}.ao-tag__label{padding:var(--ao-space-sm) var(--ao-space-md);color:var(--ao-tag-color);width:100%;border-radius:var(--ao-tag-border-radius);font-size:inherit;font-weight:inherit;text-align:inherit;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background-color:transparent;border-width:0}.ao-tag--closable .ao-tag__label{border-top-right-radius:0;border-bottom-right-radius:0}.ao-tag__close{display:flex;border-width:0;border-top-right-radius:var(--ao-tag-border-radius);border-bottom-right-radius:var(--ao-tag-border-radius);color:var(--ao-tag-color);background-color:transparent;cursor:pointer}.ao-tag--close-icon{padding:var(--ao-space-xs) var(--ao-space-md)}.ao-avatar{--ao-avatar-bg: var(--ao-color-primary-base);--ao-avatar-color: var(--ao-color-neutral-lightest);--ao-avatar-font-weight: --ao-font-weight-medium;--ao-avatar-font-size: var(--ao-font-size-base);--ao-avatar-padding: .5em;color:var(--ao-avatar-color);background-color:var(--ao-avatar-bg);position:relative;border-radius:var(--ao-border-radius-round);line-height:1;display:grid;grid-template-areas:"center";align-items:center;justify-content:center;padding:var(--ao-avatar-padding);cursor:default;overflow:hidden;font-weight:var(--ao-avatar-font-weight);font-size:var(--ao-avatar-font-size);flex-shrink:0}.ao-avatar--sm{--ao-avatar-font-weight: var(--ao-font-weight-bold);--ao-avatar-font-size: var(--ao-font-size-tag);--ao-avatar-padding: .8em}.ao-avatar--lg{--ao-avatar-font-weight: var(--ao-font-weight-light);--ao-avatar-font-size: var(--ao-font-size-h3)}.ao-avatar--xl{--ao-avatar-font-weight: var(--ao-font-weight-extra-light);--ao-avatar-font-size: var(--ao-font-size-h1)}.ao-avatar--primary{--ao-avatar-bg: var(--ao-color-primary-base)}.ao-avatar--neutral{--ao-avatar-bg: var(--ao-color-neutral-base)}.ao-avatar--black{--ao-avatar-bg: var(--ao-color-neutral-darkest)}.ao-avatar__initials{display:flex;flex-direction:column;grid-area:center;justify-content:center;align-items:center;width:1em;height:1em;text-align:center;text-transform:uppercase}.ao-avatar__close{grid-area:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);opacity:0;visibility:hidden}.ao-avatar:hover,.ao-avatar-img:hover{z-index:1}.ao-avatar:hover .ao-avatar__close,.ao-avatar-img:hover .ao-avatar__close{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}.ao-avatar-img--sm{width:var(--ao-icon-size-sm);height:var(--ao-icon-size-sm)}.ao-avatar-img--md{width:var(--ao-icon-size-md);height:var(--ao-icon-size-md)}.ao-avatar-img--lg{width:var(--ao-icon-size-lg);height:var(--ao-icon-size-lg)}.ao-avatar-img--xl{width:var(--ao-icon-size-xl);height:var(--ao-icon-size-xl)}.ao-avatar-img{position:relative;border-radius:var(--ao-border-radius-round);display:grid;grid-template-areas:"center";align-items:center;justify-content:center;cursor:default;overflow:hidden;flex-shrink:0}.ao-avatar__image{width:100%;height:100%}.ao-card-template__body{display:flex;flex-direction:row;align-items:center;flex:1}.ao-card-template__footer{display:flex;gap:var(--ao-space-md)}.ao-card-template__col-title{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-card-template__col-label{font-size:var(--ao-font-size-label);font-weight:600}.ao-card-template__col{display:flex;flex-direction:column;gap:var(--ao-space-md);color:var(--ao-color-neutral-dark);font-size:var(--ao-font-size-label)}.ao-card-template__col--phases{flex-grow:1;color:var(--ao-color-neutral-darkest)}.ao-card-template__phases-list{display:flex;gap:var(--ao-space-sm);padding:0;margin:0}.ao-card-template__col-body{display:flex;flex-direction:row;align-items:flex-start;flex:1}.ao-card-template__subitems{display:flex;margin:0;padding:0;gap:var(--ao-space-sm)}.ao-card-template__subitem{display:flex;align-items:center;list-style-type:none;font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-semi-bold)}.ao-page-header{display:flex;container:header / inline-size;z-index:1}.ao-page-header-main{display:flex;gap:var(--ao-space-sm);flex-grow:1}.ao-page-header-secondary{display:flex;gap:var(--ao-space-sm)}@container header (min-width: 720px){.ao-page-header-main{flex-direction:row;align-items:center}.ao-page-header-secondary{margin-inline-start:auto;align-items:center;justify-content:flex-end;flex-grow:1}}.ao-button-card{--ao-button-card-color: inherit;--ao-button-card-bg: transparent;--ao-button-card-border-color: currentColor;--ao-button-card-padding: var(--ao-space-md);--ao-button-card-label-padding: var(--ao-space-sm);--ao-button-card-border-radius: var(--ao-border-radius-md);display:flex;width:100%;flex:1;justify-content:center;padding:var(--ao-button-card-padding);flex-direction:column-reverse;align-items:center;border-width:var(--ao-border-width-sm);border-style:dashed;border-radius:var(--ao-button-card-border-radius);border-color:var(--ao-button-card-border-color);color:var(--ao-button-card-color);background-color:var(--ao-button-card-bg);cursor:pointer;font-size:var(--ao-font-size-button);font-weight:var(--ao-font-weight-semi-bold)}.ao-button-card--primary{--ao-button-card-color: var(--ao-color-primary-base)}.ao-button-card--secondary{--ao-button-card-color: var(--ao-color-success)}.ao-button-card--neutral{--ao-button-card-color: var(--ao-color-neutral-base)}.ao-button-card--black{--ao-button-card-color: var(--ao-color-neutral-darkest)}.ao-button-card__icon{flex-shrink:0}.ao-button-card__label{padding-inline:var(--ao-button-card-label-padding);width:100%}.ao-button-card--footer{width:100%}.ao-button-card--footer .ao-button-card__label{text-align:center}.ao-button-card--is-disabled{cursor:default}.ao-button-card--sm{--ao-button-card-padding: var(--ao-space-xs);--ao-button-card-label-padding: var(--ao-space-xs)}.ao-button-card--round{--ao-button-card-border-radius: var(--ao-border-radius-round)}.ao-card-template-item__footer{display:flex;flex:1;padding:0;margin:0;justify-content:flex-end;gap:var(--ao-space-sm);align-items:center}.ao-card-template-item__subitem{display:flex;align-items:center}.ao-card-template-item__subitem{font-size:var(--ao-font-size-label);font-weight:var(--ao-font-weight-bold)}.ao-modal__wrapper{--ao-modal-z-index: 100;--ao-modal-padding-x: var(--ao-space-sm);display:grid;grid-template-columns:5% 1fr 5%;grid-template-rows:5vh 1fr 5vh;position:absolute;top:0;left:0;width:100%;height:100%;justify-items:center;align-items:flex-start;z-index:var(--ao-modal-z-index)}.ao-modal__wrapper.ao-modal__wrapper--sm{grid-template-columns:10% 1fr 10%;grid-template-rows:15vh auto 25vh}.ao-modal__backdrop{width:100%;height:100%;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-backdrop)}.ao-modal{display:flex;width:100%;max-width:768px;height:100%;min-height:0;flex-direction:column;overflow-y:auto;grid-column:1 / -1;grid-row:1 / -1;background-color:var(--ao-color-sheet);container:modal / inline-size}.ao-modal__wrapper--sm .ao-modal{height:auto}.ao-modal__header{display:flex;flex-direction:column;padding-inline:var(--ao-modal-padding-x)}.ao-modal__header-meta{display:flex;justify-content:flex-end}.ao-modal__body{display:flex;height:100%;min-height:0;flex-direction:column;flex-grow:1}.ao-modal__footer{display:flex;flex-direction:column}@media screen and (min-width: 480px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-lg)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow-y:auto}}@media screen and (min-width: 720px){.ao-modal__wrapper{--ao-modal-padding-x: var(--ao-space-xl)}.ao-modal{grid-column:2;grid-row:2;border-radius:var(--ao-border-radius-sm)}.ao-modal__body{flex-direction:row;overflow:hidden}}.ao-tasks{display:flex;flex-direction:column}.ao-tasks__list{display:flex;flex-direction:column;padding-inline-start:0;margin-block:0;gap:var(--ao-space-md)}.ao-tasks__list-footer{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-block-start:var(--ao-space-md)}.ao-tasks__list-footer .ao-button{padding-left:0}.ao-subtask{display:flex;list-style-type:none;gap:var(--ao-space-md)}.ao-subtask__check{padding-left:0}.ao-subtask__field{flex-grow:1;border:0;border-bottom:var(--ao-input-border-width) solid var(--ao-input-border-color);border-radius:0}.ao-subtask__field--checked{text-decoration:line-through}.ao-subtask__field:focus{outline:none;border-bottom:var(--ao-border-width-md) solid var(--ao-input-border-color)}.ao-subtask__assignees{width:30%}.ao-subtask__assignees .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-subtask__assignees .multiselect-wrapper{justify-content:flex-start}.ao-subtask__delete{opacity:0;visibility:hidden}.ao-subtask:is(:hover,:focus-within) .ao-subtask__delete{opacity:1;visibility:visible}.ao-files__wrapper{--ao-input-file-color: var(--ao-color-neutral-darkest);--ao-input-file-border-color: transparent;--ao-input-file-placeholder-color: var(--ao-color-neutral-base);--ao-input-file-bg: transparent;position:relative;display:flex;width:100%;flex-direction:column;flex:1;border:var(--ao-border-width-md) solid var(--ao-input-file-border-color);border-radius:var(--ao-border-radius-md);background-color:var(--ao-input-file-bg);font-family:inherit;font-size:var(--ao-font-size-text);color:var(--ao-input-file-color);overflow-y:auto}.ao-files__wrapper--drop-active{--ao-input-file-border-color: var(--ao-color-primary-base);--ao-input-file-bg: var(--ao-color-primary-lightest);outline:0}.input-field{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.ao-files__input{display:flex}.ao-files__placeholder{width:100%;margin-block-start:var(--ao-space-md);text-align:center;color:var(--ao-color-neutral-base)}.ao-files__list{display:flex;padding:0;padding-block-start:var(--ao-space-md);margin:0;gap:var(--ao-space-sm);flex-wrap:wrap}.ao-file{display:flex;position:relative;padding:0;padding-inline-end:var(--ao-space-xl);list-style-type:none;background-color:var(--ao-color-primary-lighter);border-radius:var(--ao-border-radius-md)}.ao-files__delete-button{position:absolute;top:50%;right:0;transform:translateY(-50%) scale(0);transition:50ms var(--ao-transition-ease)}.ao-file:is(:hover,:focus-within) .ao-files__delete-button{transform:translateY(-50%) scale(1)}.ao-file__link{width:100%;display:flex;flex:1;align-items:center;padding-block:var(--ao-space-md);padding-inline-start:var(--ao-space-md);color:var(--ao-color-primary-darker);text-decoration:none}.ao-file__icon{flex:0}.ao-file__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ao-font-size-label)}.ao-files__dropzone{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--ao-color-backdrop)}.ao-files__dropzone-label{font-size:var(--ao-font-size-text);color:var(--ao-color-text-contrast)}.ao-comment{--ao-comment-border-radius: var(--ao-border-radius-md);--ao-comment-bg: var(--ao-color-neutral-lightest);display:grid;gap:var(--ao-space-sm);grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;font-size:var(--ao-font-size-text)}.ao-comment__avatar{grid-row:2;align-self:flex-start}.ao-comment__body{padding:0 var(--ao-space-sm);grid-column:2}.ao-comment__content-wrapper{width:100%}.ao-comment__content{display:inline;width:100%;margin:0;white-space:pre-line}.ao-comment__created-at{grid-column:2;padding:0 var(--ao-space-sm);font-size:var(--ao-font-size-tag);color:var(--ao-color-neutral-light)}.ao-comment__footer{grid-column:2;display:flex;gap:var(--ao-space-sm)}.ao-comments{flex:3;overflow-y:auto}.ao-comments__list{display:flex;flex-direction:column-reverse;min-height:0;gap:var(--ao-space-lg);padding:0;padding-block-start:var(--ao-space-md);margin:0}.ao-comments__form{display:grid;gap:var(--ao-space-md);grid-template-columns:1fr auto;grid-template-rows:1fr auto;align-items:flex-end}.ao-comments__form-textarea{grid-column:1/ -1;grid-row:1/ -1}.ao-comments__form-submit{padding:var(--ao-space-md);grid-column:2;grid-row:2;display:flex;justify-content:flex-end}.ao-activity-details{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__header{display:flex;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-lg) var(--ao-space-md)}.ao-activity-details__main{flex-grow:1;padding:var(--ao-space-lg)}.ao-activity__category{font-weight:var(--ao-font-weight-regular)}.ao-activity-details__content{display:flex;flex-direction:column;flex-grow:1;padding-inline:var(--ao-space-lg)}.ao-activity-details__aside{border-top:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);margin-block-start:var(--ao-space-lg);padding-block-start:var(--ao-space-lg);display:flex;flex-direction:column}.ao-activity-details__aside-section:not(:empty){padding:var(--ao-space-xl) var(--ao-space-lg)}.ao-activity-details__aside-section+.ao-activity-details__aside-section:not(:empty){border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-light)}.ao-field__input--estim{width:8ch}@container modal (min-width: 480px){.ao-activity-details__content{overflow-y:auto}.ao-activity-details__aside{margin-block-start:0;border-top:0}}@container modal (min-width: 720px){.ao-activity-details{display:flex;flex-direction:column;height:auto;min-height:auto;flex-grow:1;overflow-y:none;flex-direction:row}.ao-activity-details__main{height:100%;min-height:0;flex-grow:1;overflow-y:auto}.ao-activity-details__aside{width:33%;background-color:var(--ao-color-canvas);padding-block-end:var(--ao-space-xl);padding-block-start:var(--ao-space-sm)}.ao-activity-details__aside>:nth-child(2){padding-block-start:var(--ao-space-md)}.ao-activity-details__close-button{display:flex;flex-direction:row;justify-content:end;margin-inline-end:var(--ao-space-sm)}.ao-activity-details__close-button *{cursor:pointer}.ao-activity-details__aside-section--created-by{margin-block-start:auto;border-block-start-width:0}.ao-activity-details__multiselect .multiselect-tags-search{background-color:transparent}.ao-activity-details__multiselect.ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-bg: transparent;--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-field__input:not(.ao-field__input--estim){background-color:transparent;border-color:transparent}}.ao-activity__created-by{display:flex;align-items:center;gap:var(--ao-space-sm)}.ao-activity__ao-tag{display:inline-flex;width:auto;border:none;border-radius:var(--ao-tag-border-radius)}.ao-activity__ao-tag .ao-tag__label{width:auto;max-width:100%}.assignee-inline{display:flex;align-items:center;gap:8px}.ao-rule-line{display:flex}.ao-rule-line__remove{visibility:hidden;opacity:0}.ao-rule-line:hover .ao-rule-line__remove{visibility:visible;opacity:1}.ao-template-rules__body{display:flex;flex-direction:column;flex:1;align-items:stretch;gap:var(--ao-space-lg)}.ao-template-rules__list{padding:0;margin:0;display:flex;flex-direction:column;flex:1;gap:var(--ao-space-md)}.ao-template-rule{list-style:none}.ao-template-details__cols{display:flex;list-style-type:none;padding:0;margin:0;container:columns / inline-size;overflow-x:auto}.ao-template-details__col{width:100%;padding-inline:var(--ao-space-md);flex-shrink:0}@container columns (min-width: 480px){.ao-template-details__col{width:50%}}@container columns (min-width: 960px){.ao-template-details__col{width:calc(1 / 3 * 100%)}}.ao-card{--ao-card-bg: var(--ao-color-card);--ao-card-color: inherit;--ao-card-padding: var(--ao-space-md);--ao-card-elevation: var(--ao-elevation-2dp);display:flex;flex-direction:row;border-radius:var(--ao-border-radius-md);background-color:var(--ao-card-bg);color:var(--ao-card-color);box-shadow:var(--ao-card-elevation);transform:translateY(0)}.ao-card__content{display:flex;flex-direction:column;width:100%}.ao-card__left-border{width:var(--ao-space-md);border-top-left-radius:var(--ao-border-radius-md);border-bottom-left-radius:var(--ao-border-radius-md)}:not(.ao-list-kanban__transition)>.ao-card{transition:all .15s var(--ao-transition-ease)}.ao-card--clickable{cursor:pointer}.ao-card--clickable:is(:hover,:focus-within){--ao-card-elevation: var(--ao-elevation-4dp);transform:translateY(-2px)}.ao-card__header{display:flex;flex-direction:column;padding-block-start:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-card__body{display:flex;flex-direction:column;flex:1;padding-inline:var(--ao-card-padding)}.ao-card__footer{display:flex;flex-direction:column;padding-block-end:var(--ao-card-padding);padding-inline:var(--ao-card-padding)}.ao-progress{--ao-progress-bg: var(--ao-color-neutral-lightest);--ao-progress-height: var(--ao-grid-size);--ao-progress-border-radius: var(--ao-border-radius-md);height:var(--ao-progress-height);width:100%;display:grid;grid-column:1 / -1;grid-row:2;background-color:var(--ao-progress-bg);border-radius:var(--ao-progress-border-radius)}.ao-progress__progress{grid-column:1;grid-row:1;border-radius:var(--ao-progress-border-radius);background-color:var(--ao-progress-color);opacity:.2}.ao-progress--success{--ao-progress-color: var(--ao-color-success)}.ao-progress--warning{--ao-progress-color: var(--ao-color-warning)}.ao-progress--danger{--ao-progress-color: var(--ao-color-danger)}.ao-progress__progress:nth-child(1){opacity:1;z-index:1}.hu-color-picker{padding:10px;background:#1d2024;border-radius:4px;box-shadow:0 0 16px #00000029;z-index:1}.hu-color-picker.light{background:#f7f8f9}.hu-color-picker.light .color-show .sucker{background:#eceef0}.hu-color-picker.light .color-type .name{background:#e7e8e9}.hu-color-picker.light .color-type .value{color:#666;background:#eceef0}.hu-color-picker.light .colors.history{border-top:1px solid #eee}.hu-color-picker canvas{vertical-align:top}.hu-color-picker .color-set{display:flex}.hu-color-picker .color-show{margin-top:8px;display:flex}.saturation{position:relative;cursor:pointer}.saturation .slide{position:absolute;left:100px;top:0;width:10px;height:10px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 1px 1px #0000004d;pointer-events:none}.color-type{display:flex;margin-top:8px;font-size:12px}.color-type .name{width:60px;height:30px;float:left;display:flex;justify-content:center;align-items:center;color:#999;background:#252930}.color-type .value{flex:1;height:30px;min-width:100px;padding:0 12px;border:0;color:#fff;background:#2e333a;box-sizing:border-box}.color-alpha{position:relative;margin-left:8px;cursor:pointer}.color-alpha .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.sucker{width:30px;fill:#9099a4;background:#2e333a;cursor:pointer;transition:all .3s}.sucker.active,.sucker:hover{fill:#1593ff}.colors{padding:0;margin:0}.colors.history{margin-top:10px;border-top:1px solid #2e333a}.colors .item{position:relative;width:16px;height:16px;margin:10px 0 0 10px;border-radius:3px;box-sizing:border-box;vertical-align:top;display:inline-block;transition:all .1s;cursor:pointer}.colors .item:nth-child(8n+1){margin-left:0}.colors .item:hover{transform:scale(1.4)}.colors .item .alpha{height:100%;border-radius:4px}.colors .item .color{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:3px}.hue{position:relative;margin-left:8px;cursor:pointer}.hue .slide{position:absolute;left:0;top:100px;width:100%;height:4px;background:#fff;box-shadow:0 0 1px #0000004d;pointer-events:none}.color-picker-wrapper{position:relative}.color-button{cursor:pointer;width:125px;height:24px;border-radius:var(--ao-border-radius-sm);border:1px solid #ccc}.color-picker{position:absolute;z-index:1000;box-shadow:var(--ao-elevation-2dp)}.color-picker.bottom{top:40px}.color-picker.top{bottom:40px}.color-picker-box{box-sizing:content-box}.ao-card-project-phase__header{display:flex;justify-content:flex-end}.ao-card-project-phase__footer{display:flex;flex-direction:column}.ao-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-card-project-phase__archive{opacity:0;visibility:hidden}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__archive{opacity:1;visibility:visible}.ao-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-card-project-phase__footer-row.ao-card-project-phase__no_deadline,.ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline{opacity:0;visibility:hidden}.ao-card-project-phase__deadline--readonly,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__deadline--input,.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-phase:is(:hover,:focus-within) .ao-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-phase__progress{flex-grow:1}.aoBadge{display:inline-block;padding:4px;width:8px;height:8px;border-radius:var(--ao-border-radius-round)}.ao-card-project-milestone{--ao-card-project-milestone-border-color: transparent;padding:0;border:var(--ao-border-width-md) solid var(--ao-card-project-milestone-border-color)}.ao-card-project-milestone__default{display:flex;justify-content:space-between}.ao-card-project-milestone__archive{display:none;height:fit-content;padding-block:var(--ao-space-md)}.ao-card-project-milestone:hover .ao-card-project-milestone__archive{display:flex}.ao-card-project-milestone__activities{display:flex;flex-direction:column}.ao-card-project-milestone__activities-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-project-milestone__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-project-milestone:hover .ao-card-project-milestone__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-project-milestone__activities-row+.ao-card-project-milestone__activities-row{margin-block-start:var(--ao-space-md)}.ao-card-project-milestone__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-project-milestone__progress{flex-grow:1}.ao-card-project-milestone__title{max-width:fit-content;display:inline;word-break:normal}.ao-card-project-item-milestone__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h5)}.ao-card-project-milestone__footer{display:flex;align-items:center;padding-block-start:var(--ao-space-sm);gap:var(--ao-space-sm)}.ao-card-project-milestone__assignee{display:flex;justify-content:flex-start;margin-inline-start:auto}.ao-card-project-milestone__deadline{padding-block:var(--ao-space-sm)}.ao-card-project-milestone__important{color:var(--ao-color-danger)}.ao-card-project-milestone__important--selected{color:var(--ao-color-white)}.ao-title-with-badge-wrapper{display:flex;align-items:center;gap:8px}.ao-mapping-card-project-phase__header{display:flex;justify-content:flex-end;opacity:0;visibility:collapse;//transition: collapse .15s}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__header{opacity:1;visibility:visible}.ao-mapping-card-project-phase__footer{display:flex;flex-direction:column}.ao-mapping-card-project-phase__footer-row{display:grid;grid-template-columns:auto;grid-template-rows:auto;gap:var(--ao-space-md);justify-items:start;position:relative}.ao-mapping-card-project-phase__archive{opacity:0;visibility:hidden}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__archive{opacity:1;visibility:visible}.ao-mapping-card-project-phase__deadline{font-size:var(--ao-font-size-label);padding:var(--ao-space-sm);grid-column:1;grid-row:1}.ao-mapping-card-project-phase__deadline--input{padding:var(--ao-space-sm);border-width:0;background-color:transparent}.ao-mapping-card-project-phase__deadline--readonly{letter-spacing:.1em}.ao-mapping-card-project-phase__footer-row.ao-mapping-card-project-phase__no_deadline,.ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline{opacity:0;visibility:collapse}.ao-mapping-card-project-phase__deadline--readonly,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__deadline--input,.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__no_deadline{opacity:1;visibility:visible}.ao-mapping-card-project-phase__title{padding-block:0;display:inline;word-break:normal}.ao-card-project-item__title-line{display:block;word-break:normal}.ao-card-project-item-phase__estimation{font-weight:var(--ao-font-weight-semi-bold);display:inline;font-size:var(--ao-font-size-h4)}.ao-mapping-card-project-phase__secondary{display:flex;position:absolute;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-mapping-card-project-phase:is(:hover,:focus-within) .ao-mapping-card-project-phase__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-mapping-card-project-phase__footer-row--progress{padding-block:var(--ao-space-sm)}.ao-mapping-card-project-phase__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-mapping-card-project-phase__progress{flex-grow:1}.ao-project-phase__drag-handle{opacity:0;visibility:hidden}.ao-project-phase__drag{display:flex;justify-content:center;align-items:center;padding-inline:var(--ao-space-md);cursor:grab;grid-area:drag}.ao-project-phase:hover .ao-project-phase__drag-handle{opacity:1;visibility:visible}.ao-project-phase{display:flex;flex-direction:column;padding-block:var(--ao-space-md)}.ao-project-phase--selected .ao-project-phase__col-phase{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-xl) var(--ao-space-xxl);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-mapping-project-phase__col-phase{display:flex;flex-shrink:0;flex-direction:column;padding:var(--ao-space-lg) var(--ao-space-sm);margin-inline-end:var(--ao-space-md);justify-content:center;border-radius:var(--ao-border-radius-md)}.ao-project-phase__col-milestones{display:flex;flex:1;padding:var(--ao-space-md);gap:var(--ao-space-md);overflow-x:auto;scroll-snap-type:x mandatory}.ao-project-phase__milestones,.ao-project-phase__milestones-list{display:contents}.ao-project-phase__milestone{scroll-snap-align:center;width:90%;flex-shrink:0}.ao-project-phase__milestones-list-footer{display:flex;scroll-snap-align:center}@container page (min-width: 480px){.ao-project-phase__milestones-list{grid-auto-columns:45%;overflow-x:auto}.ao-project-phase__milestone{width:45%}}@container page (min-width: 720px){.ao-project-phase{flex-direction:row}.ao-project-phase__col-phase,.ao-mapping-project-phase__col-phase{width:20em}.ao-project-phase+.ao-project-phase{border-block-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-project-phase__col-milestones{flex-direction:column;border-inline-start:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest);overflow:hidden}.ao-project-phase__milestones{display:flex;width:100%;flex-direction:row;align-items:center;height:100%;padding:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet)}.ao-project-phases__draggable-card{margin:var(--ao-space-md);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-sheet);display:flex;flex-direction:row}.ao-project-phase--selected .ao-project-phase__milestones{background-color:var(--ao-color-primary-lightest)}.ao-project-phase__milestones-list{display:grid;padding:var(--ao-space-md);flex-shrink:1;max-width:100%;min-width:0;grid-auto-columns:minmax(max(20%,147px),196px);grid-auto-flow:column;align-items:stretch;gap:var(--ao-space-md);scroll-snap-type:x mandatory;scroll-snap-padding:var(--ao-space-md)}.ao-project-phase__milestone{width:100%;scroll-snap-align:start}.ao-project-phase__milestones-list-footer{align-items:center;padding:var(--ao-space-md)}.ao-project-phase__milestone-add{flex-grow:0;flex-shrink:0}}.ao-project__phases{display:flex;flex-direction:column;height:100%;min-height:0;padding-inline-start:0;margin-block:0}.ao-project-phase__add-phase{padding:var(--ao-space-lg)}@container page (min-width: 720px){.ao-project-phase__phases-list-footer{display:flex}.ao-project-phase__empty_drag{width:40px}.ao-project-phase__phases-list-footer .ao-project-phase__col-phase{max-width:20em;padding:var(--ao-space-md)}.ao-project-phase__phases-list-footer .ao-project-phase__col-milestones{border:none}}.ao-add-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md);padding:0 var(--ao-space-xl) var(--ao-space-xl) var(--ao-space-xl)}.ao-add-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-add-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin-block-start:var(--ao-space-md)}.ao-save-template-modal__form-body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-save-template-modal__form-footer{display:flex;justify-content:flex-end;margin-block-start:var(--ao-space-lg)}.ao-save-template-modal__form{padding:0 var(--ao-space-lg) var(--ao-space-lg) var(--ao-space-lg)}.ao-save-template-modal__phases{margin-top:var(--ao-space-md)}.ao-field__label{padding:var(--ao-space-md) 0;font-size:var(--ao-font-size-base)}.ao-save-template-modal__phases-list{display:flex;flex-direction:column;gap:var(--ao-space-sm)}.ao-field--checkbox{display:flex;flex-direction:row}.tabbar-wrapper[data-v-ff4e3297]{display:flex;align-items:center;margin:0;font-size:var(--ao-font-size-h3);padding:var(--ao-space-sm);border-radius:var(--ao-border-radius-md);background-color:var(--ao-color-neutral-lightest)}.tab-button[data-v-ff4e3297]{border:none;background-color:transparent;padding:var(--ao-space-sm) var(--ao-space-md);border-radius:var(--ao-border-radius-sm);color:var(--ao-color-black);cursor:pointer;transition:background-color .2s ease}.tab-button--active[data-v-ff4e3297]{background-color:var(--ao-color-primary-base);color:var(--ao-color-white)}.ao-project-overview__add-template .ao-project-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:hidden}.ao-project__body{display:flex;flex-direction:column;height:100%;min-height:0;width:100%;min-width:0;flex-grow:1;align-items:flex-start;padding-block:var(--ao-space-md);overflow:hidden}@container page (min-width: 720px){.ao-project{padding-inline:var(--ao-space-lg)}}.ao-card-feed{cursor:pointer}.ao-card-feed__header{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-items:flex-start}.ao-card-feed__header-secondary{grid-column:2;grid-row:1}.ao-card-feed__header-icons{margin-inline-start:auto}.ao-card-feed__title-group{margin-block:var(--ao-space-md);display:flex;align-items:center}.ao-card-feed__body{display:flex;flex-direction:column;align-items:flex-start}.ao-card-feed__project{max-width:100%}.ao-card-feed__breadcrumbs{font-size:var(--ao-font-size-label)}.ao-card-feed_deadline{color:var(--ao-color-neutral-base);font-size:var(--ao-font-size-label)}.ao-card-feed__important{margin-inline-start:auto;color:var(--ao-color-danger)}.ao-card-feed__warning{color:var(--ao-color-warning)}.ao-card-feed__footer{display:flex;flex-direction:column}.ao-card-feed__footer-row{display:flex;gap:var(--ao-space-md);align-items:center;position:relative}.ao-card-feed__secondary{display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:var(--ao-card-bg);opacity:0;visibility:hidden;pointer-events:none}.ao-card-feed:hover .ao-card-feed__secondary{opacity:1;visibility:visible;pointer-events:all}.ao-card-feed__footer-row+.ao-card-feed__footer-row{margin-block-start:var(--ao-space-md)}.ao-assignees{display:flex;margin:0;padding:0}.ao-assignee{list-style-type:none}.ao-card-feed__subitems{margin:0;margin-inline-start:auto;padding:0;display:flex;gap:var(--ao-space-sm);align-items:center}.ao-card-feed__subitem{display:flex;flex-shrink:0;font-size:var(--ao-font-size-tag);font-weight:var(--ao-font-weight-semi-bold)}.ao-card-feed__progress-wrapper{display:flex;width:100%;align-items:center;gap:var(--ao-space-md)}.ao-card-feed__progress{flex-grow:1}.ao-card-feed__closed{color:var(--ao-color-primary-base)}.ao-card-feed--closed :is(.ao-card-feed__body,.ao-card-feed__footer,.ao-card-feed__project,.ao-card-feed__header-icons > *:not(.ao-card-feed__closed)){opacity:.3}.ao-card-feed__title-line{display:block;word-break:normal}.ao-card-feed__slug{font-weight:var(--ao-font-weight-semi-bold);white-space:nowrap;display:inline}.ao-card-feed__title-inline{display:inline;word-break:normal}.ao-project-milestone{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;width:24em;background-color:var(--ao-color-sheet);padding:var(--ao-space-lg)}.ao-project-milestone__header{display:flex;align-items:flex-start;flex-direction:column}.ao-project-milestone__header_line{display:flex;align-items:flex-start;justify-content:space-between;width:100%}.ao-project-milestone__title{display:flex;padding-inline:var(--ao-space-lg);width:100%}.ao-project-milestone__body{display:flex;flex-direction:column;height:100%;min-height:0}.ao-project-milestone__activities{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-md);margin-block:0;overflow-y:auto}.ao-project-milestone__footer{display:flex;flex-direction:column;padding:var(--ao-space-md)}.ao-milestone__fieldset{width:100%;padding:var(--ao-space-md);border-block-end:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-milestone__field-row{width:100%;align-items:center}.ao-milestone__field-row+.ao-milestone__field-row{margin-block-start:var(--ao-space-sm)}.ao-milestone__field{padding:var(--ao-space-sm);font-size:var(--ao-font-size-label);background-color:transparent;border-width:0}.ao-milestone__field-multiselect{width:14ch;background-color:transparent}.ao-milestone__field-multiselect .multiselect-tags-search{background-color:transparent}.ao-milestone__field-multiselect .ao-multiselect{--ms-font-size: var(--ao-font-size-label);--ms-line-height: 1;--ms-border-color: none;--ms-border-width: var(--ao-input-border-width);--ms-border-color-active: none;--ms-border-width-active: var(--ao-input-border-width);--ms-radius: var(--ao-border-radius-sm);--ms-py: var(--ao-space-sm);--ms-px: var(--ao-space-sm);--ms-ring-color: transparent;--ms-placeholder-color: var(--ao-color-black);--ms-spinner-color: var(--ao-color-primary-base);--ms-dropdown-radius: var(--ao-border-radius-sm);--ms-option-bg-selected: var(--ao-color-primary-base);--ms-option-bg-selected-pointed: var(--ao-color-primary-light)}.ao-milestone__important,.ao-milestone__close{margin-inline-start:auto}.ao-col-header{--ao-col-header-bg: var(--ao-color-card);display:flex;background-color:var(--ao-col-header-bg);border-radius:var(--ao-border-radius-md);align-items:center;padding:var(--ao-space-md)}.ao-col-header__title{flex:1}.ao-col-header__items{flex-shrink:0}.ao-list-kanban{display:flex;flex-direction:column;gap:var(--ao-space-lg);height:100%;min-height:0;scroll-snap-align:start end}.ao-list-kanban__list{display:flex;flex-direction:column;gap:var(--ao-space-md);min-height:0;overflow-y:auto;padding-inline:var(--ao-space-md)}.ao-list-kanban__header,.ao-list-kanban__footer{padding-inline:var(--ao-space-md)}.ao-list-kanban__end{display:flex;flex-direction:column;padding:var(--ao-space-md);align-items:center;justify-items:center;flex-shrink:0}.ao-list-kanban__divider{width:50%;height:2px;background-color:var(--ao-color-neutral-lightest)}.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-move,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-enter-active,.ao-list-kanban .ao-list-kanban__list .ao-list-kanban__transition-leave-active{transition:all .5s ease}.ao-list-kanban__transition-leave-active{position:absolute}.ao-list-kanban__ghost{opacity:.5;background:var(--ao-color-primary-lightest)}.ao-search-field{--ao-search-field-icon-size: var(--ao-icon-size-md);--ao-search-field-icon-slot-size: calc( var(--ao-search-field-icon-size) + var(--ao-space-xl) );--ao-search-field-placeholder-color: var(--ao-color-black);--ao-input-border-color: var(--ao-color-neutral-lightest);display:grid;grid-template-columns:1fr var(--ao-search-field-icon-slot-size);align-items:center;gap:var(--ao-space-sm);flex:1}.ao-search-field__input{grid-column:1 / -1;grid-row:1;width:100%;padding-inline-end:var(--ao-search-field-icon-slot-size);font-size:var(--ao-font-size-button);border-radius:var(--ao-border-radius-md)}.ao-search-field__input:focus{color:var(--ao-color-primary-base);outline-color:var(--ao-color-primary-lightest)}.ao-search-field__input::placeholder{color:var(--ao-search-field-placeholder-color);opacity:1}.ao-search-field__action{grid-column:2;grid-row:1;justify-self:center;transform:scale(0);transition:transform .15s var(--ao-transition-ease);transform-origin:50%}.ao-search-field__action--visible{transform:scale(1)}.ao-search-field__icon{width:var(--ao-search-field-icon-size);height:var(--ao-search-field-icon-size);color:var(--ao-color-neutral-dark);pointer-events:none}.ao-feed{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;container:page / inline-size}.ao-feed__body{display:grid;grid-auto-flow:column;grid-auto-columns:100%;height:100%;min-height:0;flex-grow:1;overflow-x:auto;align-items:flex-start;padding-block:var(--ao-space-md);scroll-snap-type:x mandatory}.ao-feed__activity-details__header{display:flex;gap:var(--ao-space-md)}.ao-feed__activity-details__project{flex:2}.ao-feed__activity-details__status{flex:1}@container page (min-width: 420px){.ao-feed__body{grid-auto-columns:50cqi}}@container page (min-width: 768px){.ao-feed__body{grid-auto-columns:33cqi}}@container page (min-width: 1024px){.ao-feed__body{grid-auto-columns:minmax(calc(var(--ao-grid-size) * 32),calc(var(--ao-grid-size) * 32))}}.ao-kanban__col{display:flex;flex-direction:column;gap:var(--ao-space-md);max-height:100%;min-height:0;overflow-y:auto;padding:var(--ao-space-lg)}.ao-feed__filters{flex:1;display:flex;gap:1%;align-items:center;flex-direction:column}.ao-feed__filter .multiselect-tags{flex-wrap:nowrap;overflow-x:auto;gap:var(--ao-space-xs)}.ao-feed__filter .multiselect-wrapper{justify-content:flex-start}.ao-feed__show-archived{flex:0 auto}@container header (min-width: 720px){.ao-feed__filters{flex-direction:row}.ao-feed__search{padding-inline-end:var(--ao-space-md);border-right:var(--ao-border-width-sm) solid var(--ao-color-neutral-lightest)}.ao-feed__search,.ao-feed__filter__projects{max-width:33%}.ao-feed__filter__assignees,.ao-feed__filter__types{max-width:15%}}.ao-project-mapping-overview__add-template .ao-project-mapping-overview__save-as-template{margin-left:auto;margin-right:var(--ao-space-md)}.ao-project-mapping-overview{display:grid;grid-template-columns:1fr auto;height:100%;min-height:0;container:page / inline-size}.ao-project-mapping{display:flex;flex-direction:column;gap:var(--ao-space-md);padding-block:var(--ao-space-lg);height:100%;min-height:0;flex-grow:1;overflow:visible}.ao-project-mapping-mapping__body{display:flex;flex-direction:row;align-items:flex-start;gap:var(--ao-space-md);padding-block:var(--ao-space-md)}.ao-project-mapping-mapping__phases{flex:0 0 auto;min-width:0;max-height:100vh;overflow:scroll}.ao-project-mapping-mapping__image-wrapper{flex:1 1 0;position:relative;min-width:0}.architecture-image{position:sticky;top:var(--ao-space-md);width:100%;height:auto;display:block}@container page (min-width: 720px){.ao-project-mapping{padding-inline:var(--ao-space-lg)}}.ao-templates{display:flex;flex-direction:column;gap:var(--ao-space-md);padding:var(--ao-space-lg)}.ao-templates__header{display:flex;padding:var(--ao-space-sm)}.ao-templates__list{display:flex;margin:0;padding:var(--ao-space-sm);list-style-type:none;flex-direction:column;gap:var(--ao-space-md);container:column / inline-size}
|
|
2
2
|
`,document.head.appendChild(Le),typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vue-router"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","vuedraggable"],e):(X=typeof globalThis<"u"?globalThis:X||self,e(X.Orcha={},X.Vue,X.vueRouter,X.Draggable))})(this,function(X,e,Le,je){"use strict";const W7="",q7="",Y7="",K7="",Zr=e.defineComponent({__name:"AoTemplates",props:{templates:{}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.unref(Le.RouterView),e.mergeProps({templates:t.templates},t.$attrs),null,16,["templates"]))}}),O=(a,t)=>{const o=a.__vccOpts||a;for(const[r,n]of t)o[r]=n;return o},Wr={},qr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yr=[e.createElementVNode("path",{d:"M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",fill:"black"},null,-1)];function Kr(a,t){return e.openBlock(),e.createElementBlock("svg",qr,Yr)}const Gr=O(Wr,[["render",Kr]]),Xr={},Qr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr=[e.createElementVNode("path",{d:"M5.85 17.1C6.7 16.45 7.65 15.9373 8.7 15.562C9.75 15.1867 10.85 14.9993 12 15C13.15 15 14.25 15.1877 15.3 15.563C16.35 15.9383 17.3 16.4507 18.15 17.1C18.7333 16.4167 19.1877 15.6417 19.513 14.775C19.8383 13.9083 20.0007 12.9833 20 12C20 9.78333 19.221 7.89567 17.663 6.337C16.105 4.77833 14.2173 3.99933 12 4C9.78333 4 7.89567 4.779 6.337 6.337C4.77833 7.895 3.99933 9.78267 4 12C4 12.9833 4.16267 13.9083 4.488 14.775C4.81333 15.6417 5.26733 16.4167 5.85 17.1ZM12 13C11.0167 13 10.1873 12.6627 9.512 11.988C8.83667 11.3133 8.49933 10.484 8.5 9.5C8.5 8.51667 8.83733 7.68733 9.512 7.012C10.1867 6.33667 11.016 5.99933 12 6C12.9833 6 13.8127 6.33733 14.488 7.012C15.1633 7.68667 15.5007 8.516 15.5 9.5C15.5 10.4833 15.1627 11.3127 14.488 11.988C13.8133 12.6633 12.984 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function en(a,t){return e.openBlock(),e.createElementBlock("svg",Qr,Jr)}const tn=O(Xr,[["render",en]]),an={},on={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rn=[e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17ZM17 9H20V5H17V9ZM17 19H20V15H17V19ZM4 9H7V5H4V9Z",fill:"black"},null,-1)];function nn(a,t){return e.openBlock(),e.createElementBlock("svg",on,rn)}const sn=O(an,[["render",nn]]),ln={},cn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dn=[e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17Z",fill:"black"},null,-1)];function pn(a,t){return e.openBlock(),e.createElementBlock("svg",cn,dn)}const un=O(ln,[["render",pn]]),mn={},fn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hn=[e.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"black"},null,-1)];function gn(a,t){return e.openBlock(),e.createElementBlock("svg",fn,hn)}const _n=O(mn,[["render",gn]]),vn={},Cn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bn=[e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16V13H16C16.2833 13 16.5207 12.904 16.712 12.712C16.904 12.5207 17 12.2833 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.5207 11.0957 16.2833 11 16 11H13V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V11H8C7.71667 11 7.479 11.0957 7.287 11.287C7.09567 11.479 7 11.7167 7 12C7 12.2833 7.09567 12.5207 7.287 12.712C7.479 12.904 7.71667 13 8 13H11V16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM5 21C4.45 21 3.979 20.8043 3.587 20.413C3.19567 20.021 3 19.55 3 19V5C3 4.45 3.19567 3.979 3.587 3.587C3.979 3.19567 4.45 3 5 3H19C19.55 3 20.021 3.19567 20.413 3.587C20.8043 3.979 21 4.45 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.021 20.8043 19.55 21 19 21H5ZM5 19H19V5H5V19ZM5 19V5V19Z",fill:"black"},null,-1)];function yn(a,t){return e.openBlock(),e.createElementBlock("svg",Cn,bn)}const wn=O(vn,[["render",yn]]),kn={},$n={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},En=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V6.50001C3 6.25001 3.04167 6.02501 3.125 5.82501C3.20834 5.62501 3.31667 5.43334 3.45 5.25001L4.85 3.55001C4.98333 3.36667 5.15 3.22901 5.35 3.13701C5.55 3.04501 5.76667 2.99934 6 3.00001H18C18.2333 3.00001 18.45 3.04567 18.65 3.13701C18.85 3.22834 19.0167 3.36601 19.15 3.55001L20.55 5.25001C20.6833 5.43334 20.7917 5.62501 20.875 5.82501C20.9583 6.02501 21 6.25001 21 6.50001V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5.4 6.00001H18.6L17.75 5.00001H6.25L5.4 6.00001ZM5 19H19V8.00001H5V19ZM12 17.575C12.1333 17.575 12.2583 17.554 12.375 17.512C12.4917 17.47 12.6 17.3993 12.7 17.3L15.3 14.7C15.4833 14.5167 15.575 14.2833 15.575 14C15.575 13.7167 15.4833 13.4833 15.3 13.3C15.1167 13.1167 14.8833 13.025 14.6 13.025C14.3167 13.025 14.0833 13.1167 13.9 13.3L13 14.2V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99934 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14.2L10.1 13.3C9.91667 13.1167 9.68333 13.025 9.4 13.025C9.11667 13.025 8.88334 13.1167 8.7 13.3C8.51667 13.4833 8.425 13.7167 8.425 14C8.425 14.2833 8.51667 14.5167 8.7 14.7L11.3 17.3C11.4 17.4 11.5083 17.4707 11.625 17.512C11.7417 17.5533 11.8667 17.5743 12 17.575Z",fill:"black"},null,-1)];function Bn(a,t){return e.openBlock(),e.createElementBlock("svg",$n,En)}const Vn=O(kn,[["render",Bn]]),Nn={},Sn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xn=[e.createElementVNode("path",{d:"M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",fill:"black"},null,-1)];function Mn(a,t){return e.openBlock(),e.createElementBlock("svg",Sn,xn)}const An=O(Nn,[["render",Mn]]),Tn={},On={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},In=[e.createElementVNode("path",{d:"M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",fill:"black"},null,-1)];function Ln(a,t){return e.openBlock(),e.createElementBlock("svg",On,In)}const jn=O(Tn,[["render",Ln]]),Dn={},Pn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zn=[e.createElementVNode("path",{d:"M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",fill:"black"},null,-1)];function Hn(a,t){return e.openBlock(),e.createElementBlock("svg",Pn,zn)}const Rn=O(Dn,[["render",Hn]]),Fn={},Un={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zn=[e.createElementVNode("path",{d:"M8 17H13C13.2833 17 13.521 16.904 13.713 16.712C13.905 16.52 14.0007 16.2827 14 16C14 15.7167 13.904 15.479 13.712 15.287C13.52 15.095 13.2827 14.9993 13 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H16C16.2833 9 16.521 8.904 16.713 8.712C16.905 8.52 17.0007 8.28267 17 8C17 7.71667 16.904 7.479 16.712 7.287C16.52 7.095 16.2827 6.99933 16 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71733 7 8C7 8.28333 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9ZM5 19H19V5H5V19ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99933 5 3H9.2C9.41667 2.4 9.77934 1.91667 10.288 1.55C10.7967 1.18333 11.3673 1 12 1C12.6333 1 13.2043 1.18333 13.713 1.55C14.2217 1.91667 14.584 2.4 14.8 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM12 4.25C12.2167 4.25 12.3957 4.179 12.537 4.037C12.6783 3.895 12.7493 3.716 12.75 3.5C12.75 3.28333 12.679 3.10433 12.537 2.963C12.395 2.82167 12.216 2.75067 12 2.75C11.7833 2.75 11.6043 2.821 11.463 2.963C11.3217 3.105 11.2507 3.284 11.25 3.5C11.25 3.71667 11.321 3.89567 11.463 4.037C11.605 4.17833 11.784 4.24933 12 4.25Z",fill:"black"},null,-1)];function Wn(a,t){return e.openBlock(),e.createElementBlock("svg",Un,Zn)}const qn=O(Fn,[["render",Wn]]),Yn={},Kn={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Gn=[e.createElementVNode("path",{d:"M11.5 22C9.96667 22 8.66667 21.4667 7.6 20.4C6.53333 19.3333 6 18.0333 6 16.5V6C6 4.9 6.39167 3.95833 7.175 3.175C7.95833 2.39167 8.9 2 10 2C11.1 2 12.0417 2.39167 12.825 3.175C13.6083 3.95833 14 4.9 14 6V15.5C14 16.2 13.7583 16.7917 13.275 17.275C12.7917 17.7583 12.2 18 11.5 18C10.8 18 10.2083 17.7583 9.725 17.275C9.24167 16.7917 9 16.2 9 15.5V6.75C9 6.53333 9.071 6.35433 9.213 6.213C9.355 6.07167 9.534 6.00067 9.75 6C9.96667 6 10.1457 6.071 10.287 6.213C10.4283 6.355 10.4993 6.534 10.5 6.75V15.5C10.5 15.7833 10.596 16.021 10.788 16.213C10.98 16.405 11.2173 16.5007 11.5 16.5C11.7833 16.5 12.021 16.404 12.213 16.212C12.405 16.02 12.5007 15.7827 12.5 15.5V6C12.5 5.3 12.2583 4.70833 11.775 4.225C11.2917 3.74167 10.7 3.5 10 3.5C9.3 3.5 8.70833 3.74167 8.225 4.225C7.74167 4.70833 7.5 5.3 7.5 6V16.5C7.5 17.6 7.89167 18.5417 8.675 19.325C9.45833 20.1083 10.4 20.5 11.5 20.5C12.6 20.5 13.5417 20.1083 14.325 19.325C15.1083 18.5417 15.5 17.6 15.5 16.5V6.75C15.5 6.53333 15.571 6.35433 15.713 6.213C15.855 6.07167 16.034 6.00067 16.25 6C16.4667 6 16.6457 6.071 16.787 6.213C16.9283 6.355 16.9993 6.534 17 6.75V16.5C17 18.0333 16.4667 19.3333 15.4 20.4C14.3333 21.4667 13.0333 22 11.5 22Z",fill:"black"},null,-1)];function Xn(a,t){return e.openBlock(),e.createElementBlock("svg",Kn,Gn)}const Qn=O(Yn,[["render",Xn]]),Jn={},ei={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ti=[e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6C3 5.45 3.196 4.979 3.588 4.587C3.98 4.195 4.45067 3.99933 5 4H6V2.975C6 2.69167 6.096 2.45833 6.288 2.275C6.48 2.09167 6.71734 2 7 2C7.28334 2 7.521 2.096 7.713 2.288C7.905 2.48 8.00067 2.71733 8 3V4H16V2.975C16 2.69167 16.096 2.45833 16.288 2.275C16.48 2.09167 16.7173 2 17 2C17.2833 2 17.521 2.096 17.713 2.288C17.905 2.48 18.0007 2.71733 18 3V4H19C19.55 4 20.021 4.196 20.413 4.588C20.805 4.98 21.0007 5.45067 21 6V20C21 20.55 20.804 21.021 20.412 21.413C20.02 21.805 19.5493 22.0007 19 22H5ZM5 20H19V10H5V20ZM5 8H19V6H5V8Z",fill:"black"},null,-1)];function ai(a,t){return e.openBlock(),e.createElementBlock("svg",ei,ti)}const oi=O(Jn,[["render",ai]]),ri={},ni={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ii=[e.createElementVNode("path",{d:"M12 13.4L14.9 16.3C15.0833 16.4833 15.3167 16.575 15.6 16.575C15.8833 16.575 16.1167 16.4833 16.3 16.3C16.4833 16.1167 16.575 15.8833 16.575 15.6C16.575 15.3167 16.4833 15.0833 16.3 14.9L13.4 12L16.3 9.1C16.4833 8.91667 16.575 8.68333 16.575 8.4C16.575 8.11667 16.4833 7.88333 16.3 7.7C16.1167 7.51667 15.8833 7.425 15.6 7.425C15.3167 7.425 15.0833 7.51667 14.9 7.7L12 10.6L9.1 7.7C8.91667 7.51667 8.68333 7.425 8.4 7.425C8.11667 7.425 7.88333 7.51667 7.7 7.7C7.51667 7.88333 7.425 8.11667 7.425 8.4C7.425 8.68333 7.51667 8.91667 7.7 9.1L10.6 12L7.7 14.9C7.51667 15.0833 7.425 15.3167 7.425 15.6C7.425 15.8833 7.51667 16.1167 7.7 16.3C7.88333 16.4833 8.11667 16.575 8.4 16.575C8.68333 16.575 8.91667 16.4833 9.1 16.3L12 13.4ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function si(a,t){return e.openBlock(),e.createElementBlock("svg",ni,ii)}const li=O(ri,[["render",si]]),ci={},di={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pi=[e.createElementVNode("path",{d:"M6 14H14V12H6V14ZM6 11H18V9H6V11ZM6 8H18V6H6V8ZM2 22V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H6L2 22ZM4 17.175L5.175 16H20V4H4V17.175Z",fill:"black"},null,-1)];function ui(a,t){return e.openBlock(),e.createElementBlock("svg",di,pi)}const mi=O(ci,[["render",ui]]),fi={},hi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gi=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1)];function _i(a,t){return e.openBlock(),e.createElementBlock("svg",hi,gi)}const vi=O(fi,[["render",_i]]),Ci={},bi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yi=[e.createElementVNode("path",{d:"M3 21V3H21V21H3ZM5 19H19V5H5V19Z",fill:"black"},null,-1)];function wi(a,t){return e.openBlock(),e.createElementBlock("svg",bi,yi)}const ki=O(Ci,[["render",wi]]),$i={},Ei={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bi=[e.createElementVNode("path",{d:"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1)];function Vi(a,t){return e.openBlock(),e.createElementBlock("svg",Ei,Bi)}const Ni=O($i,[["render",Vi]]),Si={},xi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mi=[e.createElementVNode("path",{d:"M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",fill:"black"},null,-1)];function Ai(a,t){return e.openBlock(),e.createElementBlock("svg",xi,Mi)}const Ti=O(Si,[["render",Ai]]),Oi={},Ii={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Li=[e.createElementVNode("path",{d:"M14 8.99989C13.7167 8.99989 13.479 8.90389 13.287 8.71189C13.095 8.51989 12.9994 8.28255 13 7.99989C13 7.71655 13.096 7.47889 13.288 7.28689C13.48 7.09489 13.7174 6.99922 14 6.99989H21C21.2834 6.99989 21.521 7.09589 21.713 7.28789C21.905 7.47989 22.0007 7.71722 22 7.99989C22 8.28322 21.904 8.52089 21.712 8.71289C21.52 8.90489 21.2827 9.00055 21 8.99989H14ZM14 16.9999C13.7167 16.9999 13.479 16.9039 13.287 16.7119C13.095 16.5199 12.9994 16.2826 13 15.9999C13 15.7166 13.096 15.4789 13.288 15.2869C13.48 15.0949 13.7174 14.9992 14 14.9999H21C21.2834 14.9999 21.521 15.0959 21.713 15.2879C21.905 15.4799 22.0007 15.7172 22 15.9999C22 16.2832 21.904 16.5209 21.712 16.7129C21.52 16.9049 21.2827 17.0006 21 16.9999H14ZM4.85005 10.2999L2.70005 8.14989C2.51672 7.96655 2.42505 7.73322 2.42505 7.44989C2.42505 7.16655 2.51672 6.93322 2.70005 6.74989C2.88338 6.56655 3.11672 6.47489 3.40005 6.47489C3.68338 6.47489 3.91672 6.56655 4.10005 6.74989L5.52505 8.17489L9.07505 4.62489C9.27505 4.42489 9.50838 4.32889 9.77505 4.33689C10.0417 4.34489 10.275 4.44922 10.475 4.64989C10.6584 4.84989 10.75 5.08322 10.75 5.34989C10.75 5.61655 10.6584 5.84989 10.475 6.04989L6.25005 10.2999C6.05005 10.4999 5.81672 10.5999 5.55005 10.5999C5.28338 10.5999 5.05005 10.4999 4.85005 10.2999ZM4.85005 18.2999L2.70005 16.1499C2.51672 15.9666 2.42505 15.7332 2.42505 15.4499C2.42505 15.1666 2.51672 14.9332 2.70005 14.7499C2.88338 14.5666 3.11672 14.4749 3.40005 14.4749C3.68338 14.4749 3.91672 14.5666 4.10005 14.7499L5.52505 16.1749L9.07505 12.6249C9.27505 12.4249 9.50838 12.3292 9.77505 12.3379C10.0417 12.3466 10.275 12.4506 10.475 12.6499C10.6584 12.8499 10.75 13.0832 10.75 13.3499C10.75 13.6166 10.6584 13.8499 10.475 14.0499L6.25005 18.2999C6.05005 18.4999 5.81672 18.5999 5.55005 18.5999C5.28338 18.5999 5.05005 18.4999 4.85005 18.2999Z",fill:"black"},null,-1)];function ji(a,t){return e.openBlock(),e.createElementBlock("svg",Ii,Li)}const Di=O(Oi,[["render",ji]]),Pi={},zi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hi=[e.createElementVNode("path",{d:"M14 18L8 12L14 6L15.4 7.4L10.8 12L15.4 16.6L14 18Z",fill:"black"},null,-1)];function Ri(a,t){return e.openBlock(),e.createElementBlock("svg",zi,Hi)}const Fi=O(Pi,[["render",Ri]]),Ui={},Zi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Wi=[e.createElementVNode("path",{d:"M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",fill:"black"},null,-1)];function qi(a,t){return e.openBlock(),e.createElementBlock("svg",Zi,Wi)}const Yi=O(Ui,[["render",qi]]),Ki={},Gi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Xi=[e.createElementVNode("path",{d:"M12 13.4L7.10005 18.3C6.91672 18.4834 6.68338 18.575 6.40005 18.575C6.11672 18.575 5.88338 18.4834 5.70005 18.3C5.51672 18.1167 5.42505 17.8834 5.42505 17.6C5.42505 17.3167 5.51672 17.0834 5.70005 16.9L10.6 12L5.70005 7.10005C5.51672 6.91672 5.42505 6.68338 5.42505 6.40005C5.42505 6.11672 5.51672 5.88338 5.70005 5.70005C5.88338 5.51672 6.11672 5.42505 6.40005 5.42505C6.68338 5.42505 6.91672 5.51672 7.10005 5.70005L12 10.6L16.9 5.70005C17.0834 5.51672 17.3167 5.42505 17.6 5.42505C17.8834 5.42505 18.1167 5.51672 18.3 5.70005C18.4834 5.88338 18.575 6.11672 18.575 6.40005C18.575 6.68338 18.4834 6.91672 18.3 7.10005L13.4 12L18.3 16.9C18.4834 17.0834 18.575 17.3167 18.575 17.6C18.575 17.8834 18.4834 18.1167 18.3 18.3C18.1167 18.4834 17.8834 18.575 17.6 18.575C17.3167 18.575 17.0834 18.4834 16.9 18.3L12 13.4Z",fill:"black"},null,-1)];function Qi(a,t){return e.openBlock(),e.createElementBlock("svg",Gi,Xi)}const Ji=O(Ki,[["render",Qi]]),es={},ts={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},as=[e.createElementVNode("path",{d:"M5 23C4.71667 23 4.479 22.904 4.287 22.712C4.095 22.52 3.99934 22.2827 4 22C4 21.7167 4.096 21.479 4.288 21.287C4.48 21.095 4.71734 20.9993 5 21H19C19.2833 21 19.521 21.096 19.713 21.288C19.905 21.48 20.0007 21.7173 20 22C20 22.2833 19.904 22.521 19.712 22.713C19.52 22.905 19.2827 23.0007 19 23H5ZM5 3C4.71667 3 4.479 2.904 4.287 2.712C4.095 2.52 3.99934 2.28267 4 2C4 1.71667 4.096 1.479 4.288 1.287C4.48 1.095 4.71734 0.999337 5 1H19C19.2833 1 19.521 1.096 19.713 1.288C19.905 1.48 20.0007 1.71734 20 2C20 2.28334 19.904 2.521 19.712 2.713C19.52 2.905 19.2827 3.00067 19 3H5ZM12 13C12.8333 13 13.5417 12.7083 14.125 12.125C14.7083 11.5417 15 10.8333 15 10C15 9.16667 14.7083 8.45834 14.125 7.875C13.5417 7.29167 12.8333 7 12 7C11.1667 7 10.4583 7.29167 9.875 7.875C9.29167 8.45834 9 9.16667 9 10C9 10.8333 9.29167 11.5417 9.875 12.125C10.4583 12.7083 11.1667 13 12 13ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4ZM5.75 18C6.5 17.0667 7.40834 16.3333 8.475 15.8C9.54167 15.2667 10.7167 15 12 15C13.2833 15 14.4583 15.2667 15.525 15.8C16.5917 16.3333 17.5 17.0667 18.25 18H20V6H4V18H5.75ZM8.7 18H15.3C14.8167 17.6667 14.2957 17.4167 13.737 17.25C13.1783 17.0833 12.5993 17 12 17C11.4 17 10.8207 17.0833 10.262 17.25C9.70334 17.4167 9.18267 17.6667 8.7 18ZM12 11C11.7167 11 11.479 10.904 11.287 10.712C11.095 10.52 10.9993 10.2827 11 10C11 9.71667 11.096 9.479 11.288 9.287C11.48 9.095 11.7173 8.99934 12 9C12.2833 9 12.521 9.096 12.713 9.288C12.905 9.48 13.0007 9.71734 13 10C13 10.2833 12.904 10.521 12.712 10.713C12.52 10.905 12.2827 11.0007 12 11Z",fill:"black"},null,-1)];function os(a,t){return e.openBlock(),e.createElementBlock("svg",ts,as)}const rs=O(es,[["render",os]]),ns={},is={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ss=[e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.979 17.804 7.587 17.412C7.195 17.02 6.99934 16.5493 7 16V4C7 3.45 7.196 2.979 7.588 2.587C7.98 2.195 8.45067 1.99934 9 2H18C18.55 2 19.021 2.196 19.413 2.588C19.805 2.98 20.0007 3.45067 20 4V16C20 16.55 19.804 17.021 19.412 17.413C19.02 17.805 18.5493 18.0007 18 18H9ZM9 16H18V4H9V16Z",fill:"black"},null,-1)];function ls(a,t){return e.openBlock(),e.createElementBlock("svg",is,ss)}const cs=O(ns,[["render",ls]]),ds={},ps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},us=[e.createElementVNode("path",{d:"M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",fill:"black"},null,-1)];function ms(a,t){return e.openBlock(),e.createElementBlock("svg",ps,us)}const fs=O(ds,[["render",ms]]),hs={},gs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_s=[e.createElementVNode("path",{d:"M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",fill:"black"},null,-1)];function vs(a,t){return e.openBlock(),e.createElementBlock("svg",gs,_s)}const Cs=O(hs,[["render",vs]]),bs={},ys={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ws=[e.createElementVNode("path",{d:"M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",fill:"black"},null,-1)];function ks(a,t){return e.openBlock(),e.createElementBlock("svg",ys,ws)}const $s=O(bs,[["render",ks]]),Es={},Bs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Vs=[e.createElementVNode("path",{d:"M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3043 2.75 17.863 2.75C18.4217 2.75 18.8923 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.571 21.275 6.113C21.2917 6.655 21.1083 7.11733 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",fill:"black"},null,-1)];function Ns(a,t){return e.openBlock(),e.createElementBlock("svg",Bs,Vs)}const Ss=O(Es,[["render",Ns]]),xs={},Ms={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},As=[e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1)];function Ts(a,t){return e.openBlock(),e.createElementBlock("svg",Ms,As)}const Os=O(xs,[["render",Ts]]),Is={},Ls={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},js=[e.createElementVNode("path",{d:"M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",fill:"black"},null,-1)];function Ds(a,t){return e.openBlock(),e.createElementBlock("svg",Ls,js)}const Ps=O(Is,[["render",Ds]]),zs={},Hs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rs=[e.createElementVNode("path",{d:"M6 21C5.71667 21 5.479 20.904 5.287 20.712C5.095 20.52 4.99934 20.2827 5 20V5C5 4.71667 5.096 4.479 5.288 4.287C5.48 4.095 5.71734 3.99934 6 4H13.175C13.4083 4 13.6167 4.075 13.8 4.225C13.9833 4.375 14.1 4.56667 14.15 4.8L14.4 6H19C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71734 20 7V15C20 15.2833 19.904 15.521 19.712 15.713C19.52 15.905 19.2827 16.0007 19 16H13.825C13.5917 16 13.3833 15.925 13.2 15.775C13.0167 15.625 12.9 15.4333 12.85 15.2L12.6 14H7V20C7 20.2833 6.904 20.521 6.712 20.713C6.52 20.905 6.28267 21.0007 6 21Z",fill:"black"},null,-1)];function Fs(a,t){return e.openBlock(),e.createElementBlock("svg",Hs,Rs)}const Us=O(zs,[["render",Fs]]),Zs={},Ws={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qs=[e.createElementVNode("path",{d:"M4 12V18V6V12ZM14 21C14.2833 21 14.521 20.904 14.713 20.712C14.905 20.52 15.0007 20.2827 15 20C15 19.7167 14.904 19.479 14.712 19.287C14.52 19.095 14.2827 18.9993 14 19C13.7167 19 13.479 19.096 13.287 19.288C13.095 19.48 12.9993 19.7173 13 20C13 20.2833 13.096 20.521 13.288 20.713C13.48 20.905 13.7173 21.0007 14 21ZM20 11C20.2833 11 20.521 10.904 20.713 10.712C20.905 10.52 21.0007 10.2827 21 10C21 9.71667 20.904 9.479 20.712 9.287C20.52 9.095 20.2827 8.99934 20 9C19.7167 9 19.479 9.096 19.287 9.288C19.095 9.48 18.9993 9.71734 19 10C19 10.2833 19.096 10.521 19.288 10.713C19.48 10.905 19.7173 11.0007 20 11ZM10 11C10.2833 11 10.521 10.904 10.713 10.712C10.905 10.52 11.0007 10.2827 11 10C11 9.71667 10.904 9.479 10.712 9.287C10.52 9.095 10.2827 8.99934 10 9H7C6.71667 9 6.479 9.096 6.287 9.288C6.095 9.48 5.99934 9.71734 6 10C6 10.2833 6.096 10.521 6.288 10.713C6.48 10.905 6.71734 11.0007 7 11H10ZM10 15C10.2833 15 10.521 14.904 10.713 14.712C10.905 14.52 11.0007 14.2827 11 14C11 13.7167 10.904 13.479 10.712 13.287C10.52 13.095 10.2827 12.9993 10 13H7C6.71667 13 6.479 13.096 6.287 13.288C6.095 13.48 5.99934 13.7173 6 14C6 14.2833 6.096 14.521 6.288 14.713C6.48 14.905 6.71734 15.0007 7 15H10ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6H4V18H9V20H4ZM14 23C13.1667 23 12.4583 22.7083 11.875 22.125C11.2917 21.5417 11 20.8333 11 20C11 19.35 11.1877 18.7667 11.563 18.25C11.9383 17.7333 12.4173 17.375 13 17.175V15C13 14.7167 13.096 14.479 13.288 14.287C13.48 14.095 13.7173 13.9993 14 14H19V12.825C18.4167 12.625 17.9373 12.2667 17.562 11.75C17.1867 11.2333 16.9993 10.65 17 10C17 9.16667 17.2917 8.45833 17.875 7.875C18.4583 7.29167 19.1667 7 20 7C20.8333 7 21.5417 7.29167 22.125 7.875C22.7083 8.45833 23 9.16667 23 10C23 10.65 22.8123 11.2333 22.437 11.75C22.0617 12.2667 21.5827 12.625 21 12.825V15C21 15.2833 20.904 15.521 20.712 15.713C20.52 15.905 20.2827 16.0007 20 16H15V17.175C15.5833 17.375 16.0627 17.7333 16.438 18.25C16.8133 18.7667 17.0007 19.35 17 20C17 20.8333 16.7083 21.5417 16.125 22.125C15.5417 22.7083 14.8333 23 14 23Z",fill:"black"},null,-1)];function Ys(a,t){return e.openBlock(),e.createElementBlock("svg",Ws,qs)}const Ks=O(Zs,[["render",Ys]]),Gs={},Xs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qs=[e.createElementVNode("path",{d:"M8.5 14H9.5C9.78334 14 10.021 13.904 10.213 13.712C10.405 13.52 10.5007 13.2827 10.5 13V12H9.5V13H8.5V11H10.5C10.5 10.7167 10.404 10.479 10.212 10.287C10.02 10.095 9.78267 9.99934 9.5 10H8.5C8.21667 10 7.979 10.096 7.787 10.288C7.595 10.48 7.49934 10.7173 7.5 11V13C7.5 13.2833 7.596 13.521 7.788 13.713C7.98 13.905 8.21734 14.0007 8.5 14ZM11.5 14H12.5V10H11.5V14ZM13.5 14H14.5V12.5H16V11.5H14.5V11H16.5V10H13.5V14ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1)];function Js(a,t){return e.openBlock(),e.createElementBlock("svg",Xs,Qs)}const el=O(Gs,[["render",Js]]),tl={},al={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ol=[e.createElementVNode("path",{d:"M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",fill:"black"},null,-1)];function rl(a,t){return e.openBlock(),e.createElementBlock("svg",al,ol)}const nl=O(tl,[["render",rl]]),il={},sl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ll=[e.createElementVNode("path",{d:"M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",fill:"black"},null,-1)];function cl(a,t){return e.openBlock(),e.createElementBlock("svg",sl,ll)}const dl=O(il,[["render",cl]]),pl={},ul={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ml=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",fill:"black"},null,-1)];function fl(a,t){return e.openBlock(),e.createElementBlock("svg",ul,ml)}const hl=O(pl,[["render",fl]]),gl={},_l={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vl=[e.createElementVNode("path",{d:"M11 17H13V11H11V17ZM12 9C12.2833 9 12.521 8.904 12.713 8.712C12.905 8.52 13.0007 8.28267 13 8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8C11 8.28333 11.096 8.521 11.288 8.713C11.48 8.905 11.7173 9.00067 12 9ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function Cl(a,t){return e.openBlock(),e.createElementBlock("svg",_l,vl)}const bl=O(gl,[["render",Cl]]),yl={},wl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kl=[e.createElementVNode("path",{d:"M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",fill:"black"},null,-1)];function $l(a,t){return e.openBlock(),e.createElementBlock("svg",wl,kl)}const El=O(yl,[["render",$l]]),Bl={},Vl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Nl=[e.createElementVNode("path",{d:"M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",fill:"black"},null,-1)];function Sl(a,t){return e.openBlock(),e.createElementBlock("svg",Vl,Nl)}const xl=O(Bl,[["render",Sl]]),Ml=e.defineComponent({name:"LoadingIcon"}),Lg="",xa=a=>(e.pushScopeId("data-v-ad6da4a9"),a=a(),e.popScopeId(),a),Al={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tl=[xa(()=>e.createElementVNode("circle",{class:"dot dot--1",cx:"6",cy:"12",r:"2"},null,-1)),xa(()=>e.createElementVNode("circle",{class:"dot dot--2",cx:"12",cy:"12",r:"2"},null,-1)),xa(()=>e.createElementVNode("circle",{class:"dot dot--3",cx:"18",cy:"12",r:"2"},null,-1))];function Ol(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("svg",Al,Tl)}const Il=O(Ml,[["render",Ol],["__scopeId","data-v-ad6da4a9"]]),Ll={},jl={xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},Dl=[e.createElementVNode("path",{d:"M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"},null,-1)];function Pl(a,t){return e.openBlock(),e.createElementBlock("svg",jl,Dl)}const zl=O(Ll,[["render",Pl]]),Hl={},Rl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fl=[e.createElementVNode("path",{d:"M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",fill:"black"},null,-1)];function Ul(a,t){return e.openBlock(),e.createElementBlock("svg",Rl,Fl)}const Zl=O(Hl,[["render",Ul]]),Wl={},ql={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yl=[e.createElementVNode("path",{d:"M3 18V16H21V18H3ZM3 13V11H21V13H3ZM3 8V6H21V8H3Z",fill:"black"},null,-1)];function Kl(a,t){return e.openBlock(),e.createElementBlock("svg",ql,Yl)}const Gl=O(Wl,[["render",Kl]]),Xl={},Ql={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jl=[e.createElementVNode("path",{d:"M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",fill:"black"},null,-1)];function e1(a,t){return e.openBlock(),e.createElementBlock("svg",Ql,Jl)}const t1=O(Xl,[["render",e1]]),a1={},o1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r1=[e.createElementVNode("path",{d:"M11 21C9.75 21 8.57933 20.7667 7.488 20.3C6.396 19.8333 5.44167 19.1917 4.625 18.375C3.80833 17.5583 3.16667 16.604 2.7 15.512C2.23333 14.4207 2 13.25 2 12C2 9.48333 2.871 7.354 4.613 5.612C6.35433 3.87067 8.48333 3 11 3C11.2167 3 11.425 3.00833 11.625 3.025C11.825 3.04167 12.025 3.06667 12.225 3.1C12.4417 3.13333 12.625 3.24567 12.775 3.437C12.925 3.629 13 3.84167 13 4.075C13 4.40833 12.8877 4.66233 12.663 4.837C12.4377 5.01233 12.15 5.08333 11.8 5.05C11.6667 5.03333 11.5333 5.02067 11.4 5.012C11.2667 5.004 11.1333 5 11 5C9.03333 5 7.375 5.675 6.025 7.025C4.675 8.375 4 10.0333 4 12C4 13.9667 4.675 15.625 6.025 16.975C7.375 18.325 9.03333 19 11 19C12.95 19 14.596 18.3333 15.938 17C17.2793 15.6667 17.9667 14.025 18 12.075H18.013H18C18 11.7917 18.096 11.5417 18.288 11.325C18.4793 11.1083 18.7167 11 19 11C19.2667 11 19.5 11.0957 19.7 11.287C19.9 11.479 20 11.7 20 11.95V12C20 14.5167 19.129 16.6457 17.387 18.387C15.6457 20.129 13.5167 21 11 21ZM19 9C18.7167 9 18.4793 8.904 18.288 8.712C18.096 8.52067 18 8.28333 18 8V6H16C15.7167 6 15.4793 5.90433 15.288 5.713C15.096 5.521 15 5.28333 15 5C15 4.71667 15.096 4.479 15.288 4.287C15.4793 4.09567 15.7167 4 16 4H18V2C18 1.71667 18.096 1.479 18.288 1.287C18.4793 1.09567 18.7167 1 19 1C19.2833 1 19.5207 1.09567 19.712 1.287C19.904 1.479 20 1.71667 20 2V4H22C22.2833 4 22.5207 4.09567 22.712 4.287C22.904 4.479 23 4.71667 23 5C23 5.28333 22.904 5.521 22.712 5.713C22.5207 5.90433 22.2833 6 22 6H20V8C20 8.28333 19.904 8.52067 19.712 8.712C19.5207 8.904 19.2833 9 19 9ZM13.1 15.5L10.3 12.7C10.2 12.6 10.125 12.4873 10.075 12.362C10.025 12.2373 10 12.1083 10 11.975V8C10 7.71667 10.096 7.479 10.288 7.287C10.4793 7.09567 10.7167 7 11 7C11.2833 7 11.521 7.09567 11.713 7.287C11.9043 7.479 12 7.71667 12 8V11.6L14.5 14.1C14.6833 14.2833 14.775 14.5167 14.775 14.8C14.775 15.0833 14.6833 15.3167 14.5 15.5C14.3167 15.6833 14.0833 15.775 13.8 15.775C13.5167 15.775 13.2833 15.6833 13.1 15.5V15.5Z",fill:"black"},null,-1)];function n1(a,t){return e.openBlock(),e.createElementBlock("svg",o1,r1)}const i1=O(a1,[["render",n1]]),s1={},l1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c1=[e.createElementVNode("path",{d:"M12 20C11.45 20 10.979 19.804 10.587 19.412C10.195 19.02 9.99934 18.5493 10 18C10 17.45 10.196 16.979 10.588 16.587C10.98 16.195 11.4507 15.9993 12 16C12.55 16 13.021 16.196 13.413 16.588C13.805 16.98 14.0007 17.4507 14 18C14 18.55 13.804 19.021 13.412 19.413C13.02 19.805 12.5493 20.0007 12 20ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM12 8C11.45 8 10.979 7.804 10.587 7.412C10.195 7.02 9.99934 6.54934 10 6C10 5.45 10.196 4.979 10.588 4.587C10.98 4.195 11.4507 3.99934 12 4C12.55 4 13.021 4.196 13.413 4.588C13.805 4.98 14.0007 5.45067 14 6C14 6.55 13.804 7.021 13.412 7.413C13.02 7.805 12.5493 8.00067 12 8Z",fill:"black"},null,-1)];function d1(a,t){return e.openBlock(),e.createElementBlock("svg",l1,c1)}const p1=O(s1,[["render",d1]]),u1={},m1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f1=[e.createElementVNode("path",{d:"M8.70002 12.925L10.075 13.85L11.55 13.1C11.6834 13.0167 11.8334 12.975 12 12.975C12.1667 12.975 12.3167 13.0167 12.45 13.1L13.925 13.85L15.25 12.975L14.25 11H9.65002L8.70002 12.925ZM5.22502 20H18.75L16.15 14.775L14.55 15.85C14.4 15.95 14.2377 16.0043 14.063 16.013C13.8884 16.0217 13.7174 15.984 13.55 15.9L12 15.125L10.45 15.9C10.2834 15.9833 10.1124 16.0167 9.93702 16C9.76169 15.9833 9.59936 15.925 9.45002 15.825L7.80002 14.75L5.22502 20ZM3.60002 22C3.21669 22 2.92936 21.8417 2.73802 21.525C2.54669 21.2083 2.53402 20.8833 2.70002 20.55L7.85002 10.125C8.01669 9.79167 8.26269 9.52067 8.58802 9.312C8.91336 9.10334 9.26736 8.99934 9.65002 9H11V3C11 2.71667 11.096 2.479 11.288 2.287C11.48 2.095 11.7174 1.99934 12 2H17.2C17.3834 2 17.525 2.07934 17.625 2.238C17.725 2.39667 17.7334 2.559 17.65 2.725L17.1 3.775C17.0667 3.85834 17.05 3.93334 17.05 4C17.05 4.06667 17.0667 4.14167 17.1 4.225L17.65 5.275C17.7334 5.44167 17.725 5.604 17.625 5.762C17.525 5.92 17.3834 5.99934 17.2 6H13V9H14.25C14.6334 9 14.9834 9.1 15.3 9.3C15.6167 9.5 15.8667 9.76667 16.05 10.1L21.275 20.55C21.4417 20.8833 21.4294 21.2083 21.238 21.525C21.0467 21.8417 20.759 22 20.375 22H3.60002Z",fill:"black"},null,-1)];function h1(a,t){return e.openBlock(),e.createElementBlock("svg",m1,f1)}const g1=O(u1,[["render",h1]]),_1={},v1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C1=[e.createElementVNode("path",{d:"M19 14C18.7167 14 18.479 13.904 18.287 13.712C18.095 13.52 17.9993 13.2827 18 13V11H16C15.7167 11 15.479 10.904 15.287 10.712C15.095 10.52 14.9993 10.2827 15 10C15 9.71667 15.096 9.479 15.288 9.287C15.48 9.095 15.7173 8.99933 16 9H18V7C18 6.71667 18.096 6.479 18.288 6.287C18.48 6.095 18.7173 5.99933 19 6C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71733 20 7V9H22C22.2833 9 22.521 9.096 22.713 9.288C22.905 9.48 23.0007 9.71733 23 10C23 10.2833 22.904 10.521 22.712 10.713C22.52 10.905 22.2827 11.0007 22 11H20V13C20 13.2833 19.904 13.521 19.712 13.713C19.52 13.905 19.2827 14.0007 19 14ZM9 12C7.9 12 6.95834 11.6083 6.175 10.825C5.39167 10.0417 5 9.1 5 8C5 6.9 5.39167 5.95833 6.175 5.175C6.95834 4.39167 7.9 4 9 4C10.1 4 11.0417 4.39167 11.825 5.175C12.6083 5.95833 13 6.9 13 8C13 9.1 12.6083 10.0417 11.825 10.825C11.0417 11.6083 10.1 12 9 12ZM2 20C1.71667 20 1.479 19.904 1.287 19.712C1.095 19.52 0.999337 19.2827 1 19V17.2C1 16.6333 1.146 16.1123 1.438 15.637C1.73 15.1617 2.11734 14.7993 2.6 14.55C3.63334 14.0333 4.68334 13.6457 5.75 13.387C6.81667 13.1283 7.9 12.9993 9 13C10.1 13 11.1833 13.1293 12.25 13.388C13.3167 13.6467 14.3667 14.034 15.4 14.55C15.8833 14.8 16.271 15.1627 16.563 15.638C16.855 16.1133 17.0007 16.634 17 17.2V19C17 19.2833 16.904 19.521 16.712 19.713C16.52 19.905 16.2827 20.0007 16 20H2ZM3 18H15V17.2C15 17.0167 14.954 16.85 14.862 16.7C14.77 16.55 14.6493 16.4333 14.5 16.35C13.6 15.9 12.6917 15.5627 11.775 15.338C10.8583 15.1133 9.93334 15.0007 9 15C8.06667 15 7.14167 15.1127 6.225 15.338C5.30834 15.5633 4.4 15.9007 3.5 16.35C3.35 16.4333 3.229 16.55 3.137 16.7C3.045 16.85 2.99934 17.0167 3 17.2V18ZM9 10C9.55 10 10.021 9.804 10.413 9.412C10.805 9.02 11.0007 8.54933 11 8C11 7.45 10.804 6.979 10.412 6.587C10.02 6.195 9.54934 5.99933 9 6C8.45 6 7.979 6.196 7.587 6.588C7.195 6.98 6.99934 7.45067 7 8C7 8.55 7.196 9.021 7.588 9.413C7.98 9.805 8.45067 10.0007 9 10Z",fill:"black"},null,-1)];function b1(a,t){return e.openBlock(),e.createElementBlock("svg",v1,C1)}const y1=O(_1,[["render",b1]]),w1={},k1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$1=[e.createElementVNode("path",{d:"M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",fill:"black"},null,-1)];function E1(a,t){return e.openBlock(),e.createElementBlock("svg",k1,$1)}const B1=O(w1,[["render",E1]]),V1={},N1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S1=[e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1)];function x1(a,t){return e.openBlock(),e.createElementBlock("svg",N1,S1)}const M1=O(V1,[["render",x1]]),A1={},T1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},O1=[e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1)];function I1(a,t){return e.openBlock(),e.createElementBlock("svg",T1,O1)}const L1=O(A1,[["render",I1]]),j1={},D1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P1=[e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 20C9.76667 20 7.875 19.225 6.325 17.675C4.775 16.125 4 14.2333 4 12C4 9.76667 4.775 7.875 6.325 6.325C7.875 4.775 9.76667 4 12 4C14.2333 4 16.125 4.775 17.675 6.325C19.225 7.875 20 9.76667 20 12C20 14.2333 19.225 16.125 17.675 17.675C16.125 19.225 14.2333 20 12 20Z",fill:"black"},null,-1)];function z1(a,t){return e.openBlock(),e.createElementBlock("svg",D1,P1)}const H1=O(j1,[["render",z1]]),R1={},F1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},U1=[e.createElementVNode("path",{d:"M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",fill:"black"},null,-1)];function Z1(a,t){return e.openBlock(),e.createElementBlock("svg",F1,U1)}const W1=O(R1,[["render",Z1]]),q1={},Y1={width:"26",height:"29",viewBox:"0 0 26 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},K1=[e.createStaticVNode('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>',2)];function G1(a,t){return e.openBlock(),e.createElementBlock("svg",Y1,K1)}const X1=O(q1,[["render",G1]]),Q1={},J1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ec=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.1333 3 19.2583 3.01267 19.375 3.038C19.4917 3.06334 19.6083 3.10067 19.725 3.15L17.875 5H5V19H19V12.35L21 10.35V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM11.525 17L5.875 11.35L7.275 9.95L11.525 14.2L20.7 5.025L22.125 6.4L11.525 17Z",fill:"black"},null,-1)];function tc(a,t){return e.openBlock(),e.createElementBlock("svg",J1,ec)}const ac=O(Q1,[["render",tc]]),oc={},rc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nc=[e.createElementVNode("path",{d:"M4.4 19.4251C4.06667 19.5584 3.75 19.5291 3.45 19.3371C3.15 19.1457 3 18.8667 3 18.5001V14.7751C3 14.5417 3.06667 14.3334 3.2 14.1501C3.33333 13.9667 3.51667 13.8501 3.75 13.8001L11 12.0001L3.75 10.2001C3.51667 10.1501 3.33333 10.0334 3.2 9.85006C3.06667 9.66672 3 9.45839 3 9.22506V5.50006C3 5.13339 3.15 4.85406 3.45 4.66206C3.75 4.47072 4.06667 4.44172 4.4 4.57506L19.8 11.0751C20.2167 11.2584 20.425 11.5667 20.425 12.0001C20.425 12.4334 20.2167 12.7417 19.8 12.9251L4.4 19.4251Z",fill:"black"},null,-1)];function ic(a,t){return e.openBlock(),e.createElementBlock("svg",rc,nc)}const sc=O(oc,[["render",ic]]),lc={},cc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dc=[e.createElementVNode("path",{d:"M9.24995 22L8.84995 18.8C8.63329 18.7167 8.42895 18.6167 8.23695 18.5C8.04495 18.3833 7.85762 18.2583 7.67495 18.125L4.69995 19.375L1.94995 14.625L4.52495 12.675C4.50828 12.5583 4.49995 12.4457 4.49995 12.337V11.663C4.49995 11.5543 4.50828 11.4417 4.52495 11.325L1.94995 9.375L4.69995 4.625L7.67495 5.875C7.85828 5.74167 8.04995 5.61667 8.24995 5.5C8.44995 5.38333 8.64995 5.28333 8.84995 5.2L9.24995 2H14.75L15.15 5.2C15.3666 5.28333 15.571 5.38333 15.763 5.5C15.955 5.61667 16.1423 5.74167 16.325 5.875L19.2999 4.625L22.0499 9.375L19.475 11.325C19.4916 11.4417 19.5 11.5543 19.5 11.663V12.337C19.5 12.4457 19.4833 12.5583 19.45 12.675L22.025 14.625L19.275 19.375L16.325 18.125C16.1416 18.2583 15.95 18.3833 15.75 18.5C15.55 18.6167 15.35 18.7167 15.15 18.8L14.75 22H9.24995ZM12.05 15.5C13.0166 15.5 13.8416 15.1583 14.525 14.475C15.2083 13.7917 15.55 12.9667 15.55 12C15.55 11.0333 15.2083 10.2083 14.525 9.525C13.8416 8.84167 13.0166 8.5 12.05 8.5C11.0666 8.5 10.2373 8.84167 9.56195 9.525C8.88662 10.2083 8.54928 11.0333 8.54995 12C8.54995 12.9667 8.88728 13.7917 9.56195 14.475C10.2366 15.1583 11.066 15.5 12.05 15.5Z",fill:"black"},null,-1)];function pc(a,t){return e.openBlock(),e.createElementBlock("svg",cc,dc)}const uc=O(lc,[["render",pc]]),mc={},fc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hc=[e.createElementVNode("path",{d:"M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1)];function gc(a,t){return e.openBlock(),e.createElementBlock("svg",fc,hc)}const _c=O(mc,[["render",gc]]),vc={},Cc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bc=[e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 18C10.3333 18 8.91667 17.4167 7.75 16.25C6.58333 15.0833 6 13.6667 6 12C6 10.3333 6.58333 8.91667 7.75 7.75C8.91667 6.58333 10.3333 6 12 6C13.6667 6 15.0833 6.58333 16.25 7.75C17.4167 8.91667 18 10.3333 18 12C18 13.6667 17.4167 15.0833 16.25 16.25C15.0833 17.4167 13.6667 18 12 18ZM12 16C13.1 16 14.0417 15.6083 14.825 14.825C15.6083 14.0417 16 13.1 16 12C16 10.9 15.6083 9.95833 14.825 9.175C14.0417 8.39167 13.1 8 12 8C10.9 8 9.95833 8.39167 9.175 9.175C8.39167 9.95833 8 10.9 8 12C8 13.1 8.39167 14.0417 9.175 14.825C9.95833 15.6083 10.9 16 12 16ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99933 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99933 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14Z",fill:"black"},null,-1)];function yc(a,t){return e.openBlock(),e.createElementBlock("svg",Cc,bc)}const wc=O(vc,[["render",yc]]),kc={},$c={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ec=[e.createElementVNode("path",{d:"M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",fill:"black"},null,-1)];function Bc(a,t){return e.openBlock(),e.createElementBlock("svg",$c,Ec)}const Vc=O(kc,[["render",Bc]]),Nc={},Sc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xc=[e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H14.175C14.4417 3 14.696 3.05 14.938 3.15C15.18 3.25 15.3923 3.39167 15.575 3.575L20.425 8.425C20.6083 8.60834 20.75 8.821 20.85 9.063C20.95 9.305 21 9.559 21 9.825V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM8 17H16C16.2833 17 16.521 16.904 16.713 16.712C16.905 16.52 17.0007 16.2827 17 16C17 15.7167 16.904 15.479 16.712 15.287C16.52 15.095 16.2827 14.9993 16 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H13C13.2833 9 13.521 8.904 13.713 8.712C13.905 8.52 14.0007 8.28267 14 8C14 7.71667 13.904 7.479 13.712 7.287C13.52 7.095 13.2827 6.99934 13 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71734 7 8C7 8.28334 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9Z",fill:"black"},null,-1)];function Mc(a,t){return e.openBlock(),e.createElementBlock("svg",Sc,xc)}const Ac=O(Nc,[["render",Mc]]),Tc={},Oc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ic=[e.createElementVNode("path",{d:"M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",fill:"black"},null,-1)];function Lc(a,t){return e.openBlock(),e.createElementBlock("svg",Oc,Ic)}const jc=O(Tc,[["render",Lc]]),Dc={},Pc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zc=[e.createElementVNode("path",{d:"M8 10H4C3.45 10 2.979 9.804 2.587 9.412C2.195 9.02 1.99934 8.54934 2 8V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H8C8.55 2 9.021 2.196 9.413 2.588C9.805 2.98 10.0007 3.45067 10 4V8C10 8.55 9.804 9.021 9.412 9.413C9.02 9.805 8.54934 10.0007 8 10ZM8 22H4C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V16C2 15.45 2.196 14.979 2.588 14.587C2.98 14.195 3.45067 13.9993 4 14H8C8.55 14 9.021 14.196 9.413 14.588C9.805 14.98 10.0007 15.4507 10 16V20C10 20.55 9.804 21.021 9.412 21.413C9.02 21.805 8.54934 22.0007 8 22ZM20 10H16C15.45 10 14.979 9.804 14.587 9.412C14.195 9.02 13.9993 8.54934 14 8V4C14 3.45 14.196 2.979 14.588 2.587C14.98 2.195 15.4507 1.99934 16 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V8C22 8.55 21.804 9.021 21.412 9.413C21.02 9.805 20.5493 10.0007 20 10ZM20 22H16C15.45 22 14.979 21.804 14.587 21.412C14.195 21.02 13.9993 20.5493 14 20V16C14 15.45 14.196 14.979 14.588 14.587C14.98 14.195 15.4507 13.9993 16 14H20C20.55 14 21.021 14.196 21.413 14.588C21.805 14.98 22.0007 15.4507 22 16V20C22 20.55 21.804 21.021 21.412 21.413C21.02 21.805 20.5493 22.0007 20 22Z",fill:"black"},null,-1)];function Hc(a,t){return e.openBlock(),e.createElementBlock("svg",Pc,zc)}const Rc=O(Dc,[["render",Hc]]),Fc={},Uc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zc=[e.createElementVNode("path",{d:"M8.5 16.5H10.5C10.7833 16.5 11.021 16.404 11.213 16.212C11.405 16.02 11.5007 15.7827 11.5 15.5V13.5C11.5 13.2167 11.404 12.979 11.212 12.787C11.02 12.595 10.7827 12.4993 10.5 12.5H8.5C8.21667 12.5 7.979 12.596 7.787 12.788C7.595 12.98 7.49934 13.2173 7.5 13.5V15.5C7.5 15.7833 7.596 16.021 7.788 16.213C7.98 16.405 8.21734 16.5007 8.5 16.5ZM8.5 11.5H10.5C10.7833 11.5 11.021 11.404 11.213 11.212C11.405 11.02 11.5007 10.7827 11.5 10.5V8.5C11.5 8.21667 11.404 7.979 11.212 7.787C11.02 7.595 10.7827 7.49934 10.5 7.5H8.5C8.21667 7.5 7.979 7.596 7.787 7.788C7.595 7.98 7.49934 8.21734 7.5 8.5V10.5C7.5 10.7833 7.596 11.021 7.788 11.213C7.98 11.405 8.21734 11.5007 8.5 11.5ZM13.5 16.5H15.5C15.7833 16.5 16.021 16.404 16.213 16.212C16.405 16.02 16.5007 15.7827 16.5 15.5V13.5C16.5 13.2167 16.404 12.979 16.212 12.787C16.02 12.595 15.7827 12.4993 15.5 12.5H13.5C13.2167 12.5 12.979 12.596 12.787 12.788C12.595 12.98 12.4993 13.2173 12.5 13.5V15.5C12.5 15.7833 12.596 16.021 12.788 16.213C12.98 16.405 13.2173 16.5007 13.5 16.5ZM13.5 11.5H15.5C15.7833 11.5 16.021 11.404 16.213 11.212C16.405 11.02 16.5007 10.7827 16.5 10.5V8.5C16.5 8.21667 16.404 7.979 16.212 7.787C16.02 7.595 15.7827 7.49934 15.5 7.5H13.5C13.2167 7.5 12.979 7.596 12.787 7.788C12.595 7.98 12.4993 8.21734 12.5 8.5V10.5C12.5 10.7833 12.596 11.021 12.788 11.213C12.98 11.405 13.2173 11.5007 13.5 11.5ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4Z",fill:"black"},null,-1)];function Wc(a,t){return e.openBlock(),e.createElementBlock("svg",Uc,Zc)}const qc=O(Fc,[["render",Wc]]),Yc={},Kc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Gc=[e.createElementVNode("path",{d:"M7 17H11C11.2833 17 11.521 16.904 11.713 16.712C11.905 16.52 12.0007 16.2827 12 16C12 15.7167 11.904 15.479 11.712 15.287C11.52 15.095 11.2827 14.9993 11 15H7C6.71667 15 6.479 15.096 6.287 15.288C6.095 15.48 5.99934 15.7173 6 16C6 16.2833 6.096 16.521 6.288 16.713C6.48 16.905 6.71734 17.0007 7 17ZM10 13H14C14.2833 13 14.521 12.904 14.713 12.712C14.905 12.52 15.0007 12.2827 15 12C15 11.7167 14.904 11.479 14.712 11.287C14.52 11.095 14.2827 10.9993 14 11H10C9.71667 11 9.479 11.096 9.287 11.288C9.095 11.48 8.99934 11.7173 9 12C9 12.2833 9.096 12.521 9.288 12.713C9.48 12.905 9.71734 13.0007 10 13ZM13 9H17C17.2833 9 17.521 8.904 17.713 8.712C17.905 8.52 18.0007 8.28267 18 8C18 7.71667 17.904 7.479 17.712 7.287C17.52 7.095 17.2827 6.99934 17 7H13C12.7167 7 12.479 7.096 12.287 7.288C12.095 7.48 11.9993 7.71734 12 8C12 8.28334 12.096 8.521 12.288 8.713C12.48 8.905 12.7173 9.00067 13 9ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1)];function Xc(a,t){return e.openBlock(),e.createElementBlock("svg",Kc,Gc)}const Qc=O(Yc,[["render",Xc]]),Jc={},ed={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},td=[e.createElementVNode("path",{d:"M2.72499 21C2.54166 21 2.37499 20.954 2.22499 20.862C2.07499 20.77 1.95833 20.6493 1.87499 20.5C1.79166 20.35 1.74566 20.1873 1.73699 20.012C1.72833 19.8367 1.77433 19.666 1.87499 19.5L11.125 3.5C11.225 3.33333 11.3543 3.20833 11.513 3.125C11.6717 3.04167 11.834 3 12 3C12.1667 3 12.3293 3.04167 12.488 3.125C12.6467 3.20833 12.7757 3.33333 12.875 3.5L22.125 19.5C22.225 19.6667 22.271 19.8377 22.263 20.013C22.255 20.1883 22.209 20.3507 22.125 20.5C22.0417 20.65 21.925 20.771 21.775 20.863C21.625 20.955 21.4583 21.0007 21.275 21H2.72499ZM4.44999 19H19.55L12 6L4.44999 19ZM12 18C12.2833 18 12.521 17.904 12.713 17.712C12.905 17.52 13.0007 17.2827 13 17C13 16.7167 12.904 16.479 12.712 16.287C12.52 16.095 12.2827 15.9993 12 16C11.7167 16 11.479 16.096 11.287 16.288C11.095 16.48 10.9993 16.7173 11 17C11 17.2833 11.096 17.521 11.288 17.713C11.48 17.905 11.7173 18.0007 12 18ZM12 15C12.2833 15 12.521 14.904 12.713 14.712C12.905 14.52 13.0007 14.2827 13 14V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99933 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14C11 14.2833 11.096 14.521 11.288 14.713C11.48 14.905 11.7173 15.0007 12 15Z",fill:"black"},null,-1)];function ad(a,t){return e.openBlock(),e.createElementBlock("svg",ed,td)}const od=O(Jc,[["render",ad]]),rd={},nd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},id=[e.createElementVNode("path",{d:"M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",fill:"black"},null,-1)];function sd(a,t){return e.openBlock(),e.createElementBlock("svg",nd,id)}const ld=O(rd,[["render",sd]]),cd={},dd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pd=[e.createElementVNode("path",{d:"M19.5 20C19.0833 20 18.729 19.854 18.437 19.562C18.145 19.27 17.9993 18.916 18 18.5V5.5C18 5.08334 18.146 4.729 18.438 4.437C18.73 4.145 19.084 3.99934 19.5 4C19.9167 4 20.271 4.146 20.563 4.438C20.855 4.73 21.0007 5.084 21 5.5V18.5C21 18.9167 20.854 19.271 20.562 19.563C20.27 19.855 19.916 20.0007 19.5 20ZM4.5 20C4.08334 20 3.729 19.854 3.437 19.562C3.145 19.27 2.99934 18.916 3 18.5V14.5C3 14.0833 3.146 13.729 3.438 13.437C3.73 13.145 4.084 12.9993 4.5 13C4.91667 13 5.271 13.146 5.563 13.438C5.855 13.73 6.00067 14.084 6 14.5V18.5C6 18.9167 5.854 19.271 5.562 19.563C5.27 19.855 4.916 20.0007 4.5 20ZM15.5 7C15.0833 7 14.729 6.854 14.437 6.562C14.145 6.27 13.9993 5.916 14 5.5C14 5.08334 14.146 4.729 14.438 4.437C14.73 4.145 15.084 3.99934 15.5 4C15.9167 4 16.271 4.146 16.563 4.438C16.855 4.73 17.0007 5.084 17 5.5C17 5.91667 16.854 6.271 16.562 6.563C16.27 6.855 15.916 7.00067 15.5 7ZM11.5 9C11.0833 9 10.729 8.854 10.437 8.562C10.145 8.27 9.99934 7.916 10 7.5V6.5C10 6.08334 10.146 5.729 10.438 5.437C10.73 5.145 11.084 4.99934 11.5 5C11.9167 5 12.271 5.146 12.563 5.438C12.855 5.73 13.0007 6.084 13 6.5V7.5C13 7.91667 12.854 8.271 12.562 8.563C12.27 8.855 11.916 9.00067 11.5 9ZM8.5 14C8.08334 14 7.729 13.854 7.437 13.562C7.145 13.27 6.99934 12.916 7 12.5V11.5C7 11.0833 7.146 10.729 7.438 10.437C7.73 10.145 8.084 9.99934 8.5 10C8.91667 10 9.271 10.146 9.563 10.438C9.855 10.73 10.0007 11.084 10 11.5V12.5C10 12.9167 9.854 13.271 9.562 13.563C9.27 13.855 8.916 14.0007 8.5 14Z",fill:"black"},null,-1)];function ud(a,t){return e.openBlock(),e.createElementBlock("svg",dd,pd)}const md=Object.freeze(Object.defineProperty({__proto__:null,AccountBoxSharp:Gr,AccountCircle:tn,AccountTreeOutlineRounded:sn,AccountTreeRounded:un,Add:_n,AddBoxOutlineRounded:wn,ArchiveOutlineRounded:Vn,ArrowBackRounded:An,ArrowDropDownRounded:jn,ArrowForwardRounded:Rn,AssignmentOutlineRounded:qn,AttachFileRounded:Qn,CalendarTodayOutlineRounded:oi,CancelRounded:li,ChatOutline:mi,CheckBoxOutlineBlank:vi,CheckBoxOutlineBlankSharp:ki,CheckBoxOutlineRounded:Ni,CheckSmallRounded:Ti,ChecklistRounded:Di,ChevronLeft:Fi,ChevronRight:Yi,CloseRounded:Ji,ContactsOutlineRounded:rs,ContentCopyOutline:cs,DeleteOutlineRounded:fs,DragIndicator:Cs,EditDocumentRounded:$s,EditOutline:Ss,ErrorOutlineRounded:Os,FilterListRounded:Ps,FlagRounded:Us,FlowsheetOutlineRounded:Ks,GifBox:el,GroupsOutline:nl,HomeOutlineRounded:dl,ImageRounded:hl,Info:bl,KeyboardArrowDown:El,KeyboardArrowUp:xl,Loading:Il,Lock:zl,LogoutRounded:Zl,Menu:Gl,MoreHoriz:t1,MoreTimeRounded:i1,MoreVert:p1,MountainFlagOutlineRounded:g1,PersonAddOutlineRounded:y1,PictureAsPdfRounded:B1,RadioButtonChecked:M1,RadioButtonCheckedOutline:L1,RadioButtonUnchecked:H1,RemoveRounded:W1,SearchRounded:X1,SelectCheckBox:ac,SendRounded:sc,Settings:uc,SlideshowRounded:_c,Target:wc,TaskOutlineRounded:Vc,TextSnippetRounded:Ac,TimerOutline:jc,ViewComfyAltRounded:Rc,ViewCompactAltRounded:qc,ViewTimelineRounded:Qc,WarningOutlineRounded:od,WarningRounded:ld,WaterfallChartRounded:O(cd,[["render",ud]])},Symbol.toStringTag,{value:"Module"})),fd={SOLID:"solid",GHOST:"ghost",OUTLINE:"outline"},qt={SM:"sm",MD:"md",LG:"lg",XL:"xl"},Ma={PRIMARY:"primary",PRIMARY_LIGHTER:"primary-lighter",NEUTRAL:"neutral",BLACK:"black"};({...Ma,...{WARNING:"warning",SUCCESS:"success",DANGER:"danger"}});const Bo={ROUND:"round",ROUNDED:"rounded"},hd={SOLID:"solid",OUTLINE:"outline",SOLID_ICON:"solid_icon"},Q=e.defineComponent({__name:"AoIcon",props:{name:{},size:{default:qt.MD}},setup(a){const t=a,o=e.computed(()=>md[t.name]);return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:e.normalizeClass(["ao-icon",`ao-icon--${r.size}`])},null,8,["class"]))}}),g9="",gd=["type"],_d={key:0,class:"ao-button__label"},K=e.defineComponent({__name:"AoButton",props:{label:{default:()=>""},variant:{default:()=>fd.SOLID},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{},footer:{type:Boolean,default:()=>!1},size:{default:()=>qt.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Bo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),r=e.computed(()=>t.isLoading?"Loading":t.iconName);return(n,s)=>(e.openBlock(),e.createElementBlock("button",{type:n.type,class:e.normalizeClass(["ao-button",`ao-button--${n.variant}`,n.color?`ao-button--${n.color}`:"",`ao-button--${n.corners}`,n.footer?"ao-button--footer":"",n.size?`ao-button--${n.size}`:"",n.iconName&&n.iconPosition?`ao-button--icon-${n.iconPosition}`:"",n.$attrs.disabled?"ao-button--is-disabled":""])},[e.renderSlot(n.$slots,"default",{},()=>[n.label?(e.openBlock(),e.createElementBlock("span",_d,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)]),r.value?(e.openBlock(),e.createBlock(Q,{key:0,name:r.value,class:"ao-button__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,gd))}}),_9="";function Vo(a){const t=e.ref(!1),o=e.ref(""),r=e.computed(()=>"value"in a.value?"value":"innerHTML"),n=()=>{t.value=!t.value},s=c=>{t.value=c},i=c=>async()=>{s(!1),await e.nextTick(()=>{a.value[r.value]=o.value,c==null||c()})},l=c=>async u=>{const d=a.value[r.value];s(!1),await e.nextTick(()=>{c(d,u)})};return e.watch(t,async c=>{await e.nextTick(()=>{setTimeout(()=>{a.value&&c&&(a.value.focus(),o.value=a.value[r.value])},1)})}),{isEditing:t,setIsEditing:s,toggleIsEditing:n,onUpdate:l,onDiscard:i}}const ne=e.defineComponent({__name:"AoTitle",props:{id:{},title:{},level:{default:1},tag:{},color:{},isEditable:{type:Boolean,default:!1}},emits:["update:title","toggle-is-editing"],setup(a,{emit:t}){const o=a,r=e.ref(null),{isEditing:n,setIsEditing:s,onUpdate:i,onDiscard:l}=Vo(r),c=e.computed(()=>n.value?"input":o.tag||`h${o.level}`),u=e.computed(()=>o.isEditable?n.value?{change:d,click:_=>_.stopPropagation(),blur:m}:{click:b,focus:b}:{}),d=i((_,g)=>{const h=g.target.value;t("update:title",h)}),p=l(),m=async()=>{n.value&&s(!1)},f=()=>{t("toggle-is-editing",!1)},b=_=>{_.stopPropagation(),n.value||s(!0)};return e.watch(()=>o.isEditable,_=>{_||p()}),(_,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),e.mergeProps({id:_.id,ref_key:"target",ref:r,class:["ao-title",`ao-title--${_.level}`,{[`ao-title--${_.color}`]:!!_.color,"ao-title--editable":_.isEditable,"ao-field__input ao-title--editing":e.unref(n),"ao-title--readonly":!e.unref(n)}],type:e.unref(n)?"text":null,value:e.unref(n)?_.title:null,tabindex:"0",onKeyup:e.withKeys(f,["enter"])},e.toHandlers(u.value),{onKeydown:e.withKeys(e.unref(p),["esc"])}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.title),1)]),_:1},16,["id","class","type","value","onKeyup","onKeydown"]))}}),v9="",vd={key:0,class:"ao-card-horiz__drag ao-card__drag"},Cd={class:"ao-card-horiz__header"},bd={key:0,class:"ao-card-horiz__avatar"},yd={class:"ao-card-horiz__title-group"},wd={key:0,class:"ao-card-horiz__subtitle"},kd={key:1,class:"ao-card-horiz__header"},$d={key:1,class:"ao-card-horiz__body"},Ed={key:2,class:"ao-card-horiz__footer"},Bd={key:3,class:"ao-card-horiz__secondary"},No=e.defineComponent({__name:"AoCardHoriz",props:{id:{},title:{},subtitle:{},icon:{},isActive:{type:Boolean},isEditing:{type:Boolean},tagName:{default:"div"},isDraggable:{type:Boolean}},emits:["update:title"],setup(a,{emit:t}){const o=r=>{t("update:title",r)};return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.tagName),{class:e.normalizeClass(["ao-card-horiz",{"ao-card-horiz--active":r.isActive}])},{default:e.withCtx(()=>[r.isDraggable?(e.openBlock(),e.createElementBlock("div",vd,[e.createVNode(Q,{name:"DragIndicator",class:"ao-card-horiz__drag-handle"})])):e.createCommentVNode("",!0),e.createElementVNode("div",Cd,[r.icon?(e.openBlock(),e.createElementBlock("div",bd,[e.createVNode(Q,{class:"ao-card-horiz__icon",name:r.icon,size:"xl"},null,8,["name"])])):e.createCommentVNode("",!0),e.createElementVNode("div",yd,[e.createVNode(ne,{id:r.id,class:"ao-card-horiz__title",level:4,title:r.title||"","is-editable":!0,"onUpdate:title":o},null,8,["id","title"]),e.renderSlot(r.$slots,"subtitle",{},()=>[r.subtitle?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString(r.subtitle),1)):e.createCommentVNode("",!0)])]),r.$slots.header?(e.openBlock(),e.createElementBlock("div",kd,[e.renderSlot(r.$slots,"header")])):e.createCommentVNode("",!0)]),r.$slots.default?(e.openBlock(),e.createElementBlock("div",$d,[e.renderSlot(r.$slots,"default")])):e.createCommentVNode("",!0),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",Ed,[e.renderSlot(r.$slots,"footer")])):e.createCommentVNode("",!0),r.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Bd,[e.renderSlot(r.$slots,"secondary")])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}}),C9="",wt=e.defineComponent({__name:"AoTag",props:{label:{},color:{},rawColor:{},clickable:{type:Boolean},closable:{type:Boolean},variant:{},iconName:{}},emits:["click","close"],setup(a){const t=a,o=e.computed(()=>t.clickable?"button":"span"),r=e.computed(()=>o.value==="button"?{type:"button"}:{});return(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-tag",n.color?`ao-tag--${n.color}`:"",n.clickable?"ao-tag--clickable":"",n.closable?"ao-tag--closable":"",n.variant?`ao-tag--${n.variant}`:""]),style:e.normalizeStyle(n.rawColor?{"--ao-tag-bg":n.rawColor}:{})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps({class:"ao-tag__label"},r.value,{onClick:s[0]||(s[0]=i=>n.$emit("click",i))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label)+" ",1),n.variant===e.unref(hd).SOLID_ICON&&n.iconName?(e.openBlock(),e.createBlock(Q,{key:0,name:n.iconName,class:"ao-tag__icon",size:"sm"},null,8,["name"])):e.createCommentVNode("",!0)]),_:1},16)),n.closable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"ao-tag__close",onClick:s[1]||(s[1]=i=>n.$emit("close",i))},[e.createVNode(Q,{name:"CloseRounded",size:"sm",class:"ao-tag__close-icon"})])):e.createCommentVNode("",!0)],6))}}),b9="",kt={todo:"todo",done:"done",archived:"archived"},Vd={months:"months",weeks:"weeks",days:"days"},Nd={future:"future",this_month:"this_month",this_week:"this_week",today:"today",done:"done"},So={BEFORE:"before",AFTER:"after"},xo={START:"start",end:"end"},Mo={DAYS:"days",WEEKS:"weeks",MONTHS:"months"},ee={TEMPLATES:"templates",PHASES:"phases",MILESTONES:"milestones",ACTIVITIES:"activities",TASKS:"tasks"};var Ao=(a=>(a.PHASES="phases",a.MILESTONES="milestones",a.ACTIVITIES="activities",a))(Ao||{});const Sd={add:"add",remove:"remove",moved:"moved"},Xe={project:"projectId",type:"typeId",assignee:"assigneeId"};function Yt(a){"@babel/helpers - typeof";return Yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yt(a)}function Ve(a){if(a===null||a===!0||a===!1)return NaN;var t=Number(a);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function oe(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function se(a){oe(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||Yt(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function xd(a,t){oe(2,arguments);var o=se(a).getTime(),r=Ve(t);return new Date(o+r)}var Md={};function $t(){return Md}function Et(a){var t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),a.getTime()-t.getTime()}function To(a){oe(1,arguments);var t=se(a);return t.setHours(0,0,0,0),t}var Ad=864e5;function Td(a,t){oe(2,arguments);var o=To(a),r=To(t),n=o.getTime()-Et(o),s=r.getTime()-Et(r);return Math.round((n-s)/Ad)}function Od(a,t){oe(2,arguments);var o=se(a),r=se(t),n=o.getTime()-r.getTime();return n<0?-1:n>0?1:n}var Oo=6e4,Io=36e5;function Id(a){return oe(1,arguments),a instanceof Date||Yt(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Lo(a){if(oe(1,arguments),!Id(a)&&typeof a!="number")return!1;var t=se(a);return!isNaN(Number(t))}function Aa(a,t){oe(2,arguments);var o=Ve(t);return xd(a,-o)}var Ld=864e5;function jd(a){oe(1,arguments);var t=se(a),o=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),n=o-r;return Math.floor(n/Ld)+1}function Kt(a){oe(1,arguments);var t=1,o=se(a),r=o.getUTCDay(),n=(r<t?7:0)+r-t;return o.setUTCDate(o.getUTCDate()-n),o.setUTCHours(0,0,0,0),o}function jo(a){oe(1,arguments);var t=se(a),o=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(o+1,0,4),r.setUTCHours(0,0,0,0);var n=Kt(r),s=new Date(0);s.setUTCFullYear(o,0,4),s.setUTCHours(0,0,0,0);var i=Kt(s);return t.getTime()>=n.getTime()?o+1:t.getTime()>=i.getTime()?o:o-1}function Dd(a){oe(1,arguments);var t=jo(a),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var r=Kt(o);return r}var Pd=6048e5;function zd(a){oe(1,arguments);var t=se(a),o=Kt(t).getTime()-Dd(t).getTime();return Math.round(o/Pd)+1}function Gt(a,t){var o,r,n,s,i,l,c,u;oe(1,arguments);var d=$t(),p=Ve((o=(r=(n=(s=t==null?void 0:t.weekStartsOn)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(l=i.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:d.weekStartsOn)!==null&&r!==void 0?r:(c=d.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&o!==void 0?o:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=se(a),f=m.getUTCDay(),b=(f<p?7:0)+f-p;return m.setUTCDate(m.getUTCDate()-b),m.setUTCHours(0,0,0,0),m}function Do(a,t){var o,r,n,s,i,l,c,u;oe(1,arguments);var d=se(a),p=d.getUTCFullYear(),m=$t(),f=Ve((o=(r=(n=(s=t==null?void 0:t.firstWeekContainsDate)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(l=i.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:m.firstWeekContainsDate)!==null&&r!==void 0?r:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(p+1,0,f),b.setUTCHours(0,0,0,0);var _=Gt(b,t),g=new Date(0);g.setUTCFullYear(p,0,f),g.setUTCHours(0,0,0,0);var y=Gt(g,t);return d.getTime()>=_.getTime()?p+1:d.getTime()>=y.getTime()?p:p-1}function Hd(a,t){var o,r,n,s,i,l,c,u;oe(1,arguments);var d=$t(),p=Ve((o=(r=(n=(s=t==null?void 0:t.firstWeekContainsDate)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(l=i.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:d.firstWeekContainsDate)!==null&&r!==void 0?r:(c=d.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&o!==void 0?o:1),m=Do(a,t),f=new Date(0);f.setUTCFullYear(m,0,p),f.setUTCHours(0,0,0,0);var b=Gt(f,t);return b}var Rd=6048e5;function Fd(a,t){oe(1,arguments);var o=se(a),r=Gt(o,t).getTime()-Hd(o,t).getTime();return Math.round(r/Rd)+1}function J(a,t){for(var o=a<0?"-":"",r=Math.abs(a).toString();r.length<t;)r="0"+r;return o+r}var Ud={y:function(t,o){var r=t.getUTCFullYear(),n=r>0?r:1-r;return J(o==="yy"?n%100:n,o.length)},M:function(t,o){var r=t.getUTCMonth();return o==="M"?String(r+1):J(r+1,2)},d:function(t,o){return J(t.getUTCDate(),o.length)},a:function(t,o){var r=t.getUTCHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,o){return J(t.getUTCHours()%12||12,o.length)},H:function(t,o){return J(t.getUTCHours(),o.length)},m:function(t,o){return J(t.getUTCMinutes(),o.length)},s:function(t,o){return J(t.getUTCSeconds(),o.length)},S:function(t,o){var r=o.length,n=t.getUTCMilliseconds(),s=Math.floor(n*Math.pow(10,r-3));return J(s,o.length)}};const De=Ud;var lt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Zd={G:function(t,o,r){var n=t.getUTCFullYear()>0?1:0;switch(o){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,o,r){if(o==="yo"){var n=t.getUTCFullYear(),s=n>0?n:1-n;return r.ordinalNumber(s,{unit:"year"})}return De.y(t,o)},Y:function(t,o,r,n){var s=Do(t,n),i=s>0?s:1-s;if(o==="YY"){var l=i%100;return J(l,2)}return o==="Yo"?r.ordinalNumber(i,{unit:"year"}):J(i,o.length)},R:function(t,o){var r=jo(t);return J(r,o.length)},u:function(t,o){var r=t.getUTCFullYear();return J(r,o.length)},Q:function(t,o,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"Q":return String(n);case"QQ":return J(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,o,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"q":return String(n);case"qq":return J(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,o,r){var n=t.getUTCMonth();switch(o){case"M":case"MM":return De.M(t,o);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,o,r){var n=t.getUTCMonth();switch(o){case"L":return String(n+1);case"LL":return J(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,o,r,n){var s=Fd(t,n);return o==="wo"?r.ordinalNumber(s,{unit:"week"}):J(s,o.length)},I:function(t,o,r){var n=zd(t);return o==="Io"?r.ordinalNumber(n,{unit:"week"}):J(n,o.length)},d:function(t,o,r){return o==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):De.d(t,o)},D:function(t,o,r){var n=jd(t);return o==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):J(n,o.length)},E:function(t,o,r){var n=t.getUTCDay();switch(o){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,o,r,n){var s=t.getUTCDay(),i=(s-n.weekStartsOn+8)%7||7;switch(o){case"e":return String(i);case"ee":return J(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});case"eeee":default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(t,o,r,n){var s=t.getUTCDay(),i=(s-n.weekStartsOn+8)%7||7;switch(o){case"c":return String(i);case"cc":return J(i,o.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});case"cccc":default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(t,o,r){var n=t.getUTCDay(),s=n===0?7:n;switch(o){case"i":return String(s);case"ii":return J(s,o.length);case"io":return r.ordinalNumber(s,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,o,r){var n=t.getUTCHours(),s=n/12>=1?"pm":"am";switch(o){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,o,r){var n=t.getUTCHours(),s;switch(n===12?s=lt.noon:n===0?s=lt.midnight:s=n/12>=1?"pm":"am",o){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,o,r){var n=t.getUTCHours(),s;switch(n>=17?s=lt.evening:n>=12?s=lt.afternoon:n>=4?s=lt.morning:s=lt.night,o){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,o,r){if(o==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return De.h(t,o)},H:function(t,o,r){return o==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):De.H(t,o)},K:function(t,o,r){var n=t.getUTCHours()%12;return o==="Ko"?r.ordinalNumber(n,{unit:"hour"}):J(n,o.length)},k:function(t,o,r){var n=t.getUTCHours();return n===0&&(n=24),o==="ko"?r.ordinalNumber(n,{unit:"hour"}):J(n,o.length)},m:function(t,o,r){return o==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):De.m(t,o)},s:function(t,o,r){return o==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):De.s(t,o)},S:function(t,o){return De.S(t,o)},X:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();if(i===0)return"Z";switch(o){case"X":return zo(i);case"XXXX":case"XX":return Qe(i);case"XXXXX":case"XXX":default:return Qe(i,":")}},x:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();switch(o){case"x":return zo(i);case"xxxx":case"xx":return Qe(i);case"xxxxx":case"xxx":default:return Qe(i,":")}},O:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+Po(i,":");case"OOOO":default:return"GMT"+Qe(i,":")}},z:function(t,o,r,n){var s=n._originalDate||t,i=s.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+Po(i,":");case"zzzz":default:return"GMT"+Qe(i,":")}},t:function(t,o,r,n){var s=n._originalDate||t,i=Math.floor(s.getTime()/1e3);return J(i,o.length)},T:function(t,o,r,n){var s=n._originalDate||t,i=s.getTime();return J(i,o.length)}};function Po(a,t){var o=a>0?"-":"+",r=Math.abs(a),n=Math.floor(r/60),s=r%60;if(s===0)return o+String(n);var i=t||"";return o+String(n)+i+J(s,2)}function zo(a,t){if(a%60===0){var o=a>0?"-":"+";return o+J(Math.abs(a)/60,2)}return Qe(a,t)}function Qe(a,t){var o=t||"",r=a>0?"-":"+",n=Math.abs(a),s=J(Math.floor(n/60),2),i=J(n%60,2);return r+s+o+i}const Wd=Zd;var Ho=function(t,o){switch(t){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},Ro=function(t,o){switch(t){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},qd=function(t,o){var r=t.match(/(P+)(p+)?/)||[],n=r[1],s=r[2];if(!s)return Ho(t,o);var i;switch(n){case"P":i=o.dateTime({width:"short"});break;case"PP":i=o.dateTime({width:"medium"});break;case"PPP":i=o.dateTime({width:"long"});break;case"PPPP":default:i=o.dateTime({width:"full"});break}return i.replace("{{date}}",Ho(n,o)).replace("{{time}}",Ro(s,o))},Yd={p:Ro,P:qd};const Kd=Yd;var Gd=["D","DD"],Xd=["YY","YYYY"];function Qd(a){return Gd.indexOf(a)!==-1}function Jd(a){return Xd.indexOf(a)!==-1}function Fo(a,t,o){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ep={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tp=function(t,o,r){var n,s=ep[t];return typeof s=="string"?n=s:o===1?n=s.one:n=s.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const ap=tp;function Ta(a){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):a.defaultWidth,r=a.formats[o]||a.formats[a.defaultWidth];return r}}var op={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rp={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},np={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ip={date:Ta({formats:op,defaultWidth:"full"}),time:Ta({formats:rp,defaultWidth:"full"}),dateTime:Ta({formats:np,defaultWidth:"full"})};const sp=ip;var lp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},cp=function(t,o,r,n){return lp[t]};const dp=cp;function Bt(a){return function(t,o){var r=o!=null&&o.context?String(o.context):"standalone",n;if(r==="formatting"&&a.formattingValues){var s=a.defaultFormattingWidth||a.defaultWidth,i=o!=null&&o.width?String(o.width):s;n=a.formattingValues[i]||a.formattingValues[s]}else{var l=a.defaultWidth,c=o!=null&&o.width?String(o.width):a.defaultWidth;n=a.values[c]||a.values[l]}var u=a.argumentCallback?a.argumentCallback(t):t;return n[u]}}var pp={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},up={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},mp={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fp={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},hp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},gp={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},_p=function(t,o){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},vp={ordinalNumber:_p,era:Bt({values:pp,defaultWidth:"wide"}),quarter:Bt({values:up,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Bt({values:mp,defaultWidth:"wide"}),day:Bt({values:fp,defaultWidth:"wide"}),dayPeriod:Bt({values:hp,defaultWidth:"wide",formattingValues:gp,defaultFormattingWidth:"wide"})};const Cp=vp;function Vt(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=o.width,n=r&&a.matchPatterns[r]||a.matchPatterns[a.defaultMatchWidth],s=t.match(n);if(!s)return null;var i=s[0],l=r&&a.parsePatterns[r]||a.parsePatterns[a.defaultParseWidth],c=Array.isArray(l)?yp(l,function(p){return p.test(i)}):bp(l,function(p){return p.test(i)}),u;u=a.valueCallback?a.valueCallback(c):c,u=o.valueCallback?o.valueCallback(u):u;var d=t.slice(i.length);return{value:u,rest:d}}}function bp(a,t){for(var o in a)if(a.hasOwnProperty(o)&&t(a[o]))return o}function yp(a,t){for(var o=0;o<a.length;o++)if(t(a[o]))return o}function wp(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(a.matchPattern);if(!r)return null;var n=r[0],s=t.match(a.parsePattern);if(!s)return null;var i=a.valueCallback?a.valueCallback(s[0]):s[0];i=o.valueCallback?o.valueCallback(i):i;var l=t.slice(n.length);return{value:i,rest:l}}}var kp=/^(\d+)(th|st|nd|rd)?/i,$p=/\d+/i,Ep={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Bp={any:[/^b/i,/^(a|c)/i]},Vp={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Np={any:[/1/i,/2/i,/3/i,/4/i]},Sp={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},xp={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Mp={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ap={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Tp={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Op={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ip={ordinalNumber:wp({matchPattern:kp,parsePattern:$p,valueCallback:function(t){return parseInt(t,10)}}),era:Vt({matchPatterns:Ep,defaultMatchWidth:"wide",parsePatterns:Bp,defaultParseWidth:"any"}),quarter:Vt({matchPatterns:Vp,defaultMatchWidth:"wide",parsePatterns:Np,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Vt({matchPatterns:Sp,defaultMatchWidth:"wide",parsePatterns:xp,defaultParseWidth:"any"}),day:Vt({matchPatterns:Mp,defaultMatchWidth:"wide",parsePatterns:Ap,defaultParseWidth:"any"}),dayPeriod:Vt({matchPatterns:Tp,defaultMatchWidth:"any",parsePatterns:Op,defaultParseWidth:"any"})},Lp={code:"en-US",formatDistance:ap,formatLong:sp,formatRelative:dp,localize:Cp,match:Ip,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Uo=Lp;var jp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pp=/^'([^]*?)'?$/,zp=/''/g,Hp=/[a-zA-Z]/;function Zo(a,t,o){var r,n,s,i,l,c,u,d,p,m,f,b,_,g,y,h,v,N;oe(2,arguments);var B=String(t),V=$t(),I=(r=(n=o==null?void 0:o.locale)!==null&&n!==void 0?n:V.locale)!==null&&r!==void 0?r:Uo,j=Ve((s=(i=(l=(c=o==null?void 0:o.firstWeekContainsDate)!==null&&c!==void 0?c:o==null||(u=o.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&l!==void 0?l:V.firstWeekContainsDate)!==null&&i!==void 0?i:(p=V.locale)===null||p===void 0||(m=p.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=Ve((f=(b=(_=(g=o==null?void 0:o.weekStartsOn)!==null&&g!==void 0?g:o==null||(y=o.locale)===null||y===void 0||(h=y.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&_!==void 0?_:V.weekStartsOn)!==null&&b!==void 0?b:(v=V.locale)===null||v===void 0||(N=v.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&f!==void 0?f:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!I.localize)throw new RangeError("locale must contain localize property");if(!I.formatLong)throw new RangeError("locale must contain formatLong property");var H=se(a);if(!Lo(H))throw new RangeError("Invalid time value");var F=Et(H),A=Aa(H,F),z={firstWeekContainsDate:j,weekStartsOn:P,locale:I,_originalDate:H},Y=B.match(Dp).map(function(U){var R=U[0];if(R==="p"||R==="P"){var E=Kd[R];return E(U,I.formatLong)}return U}).join("").match(jp).map(function(U){if(U==="''")return"'";var R=U[0];if(R==="'")return Rp(U);var E=Wd[R];if(E)return!(o!=null&&o.useAdditionalWeekYearTokens)&&Jd(U)&&Fo(U,t,String(a)),!(o!=null&&o.useAdditionalDayOfYearTokens)&&Qd(U)&&Fo(U,t,String(a)),E(A,U,I.localize,z);if(R.match(Hp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return U}).join("");return Y}function Rp(a){var t=a.match(Pp);return t?t[1].replace(zp,"'"):a}function Fp(a,t,o){var r,n,s,i,l,c,u,d,p,m;oe(2,arguments);var f=se(a),b=se(t),_=$t(),g=(r=(n=o==null?void 0:o.locale)!==null&&n!==void 0?n:_.locale)!==null&&r!==void 0?r:Uo,y=Ve((s=(i=(l=(c=o==null?void 0:o.weekStartsOn)!==null&&c!==void 0?c:o==null||(u=o.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&l!==void 0?l:_.weekStartsOn)!==null&&i!==void 0?i:(p=_.locale)===null||p===void 0||(m=p.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&s!==void 0?s:0);if(!g.localize)throw new RangeError("locale must contain localize property");if(!g.formatLong)throw new RangeError("locale must contain formatLong property");if(!g.formatRelative)throw new RangeError("locale must contain formatRelative property");var h=Td(f,b);if(isNaN(h))throw new RangeError("Invalid time value");var v;h<-6?v="other":h<-1?v="lastWeek":h<0?v="yesterday":h<1?v="today":h<2?v="tomorrow":h<7?v="nextWeek":v="other";var N=Aa(f,Et(f)),B=Aa(b,Et(b)),V=g.formatRelative(v,N,B,{locale:g,weekStartsOn:y});return Zo(f,V,{locale:g,weekStartsOn:y})}function Nt(a,t){var o;oe(1,arguments);var r=Ve((o=t==null?void 0:t.additionalDigits)!==null&&o!==void 0?o:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof a=="string"||Object.prototype.toString.call(a)==="[object String]"))return new Date(NaN);var n=qp(a),s;if(n.date){var i=Yp(n.date,r);s=Kp(i.restDateString,i.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);var l=s.getTime(),c=0,u;if(n.time&&(c=Gp(n.time),isNaN(c)))return new Date(NaN);if(n.timezone){if(u=Xp(n.timezone),isNaN(u))return new Date(NaN)}else{var d=new Date(l+c),p=new Date(0);return p.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),p.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),p}return new Date(l+c+u)}var Xt={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Up=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Zp=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Wp=/^([+-])(\d{2})(?::?(\d{2}))?$/;function qp(a){var t={},o=a.split(Xt.dateTimeDelimiter),r;if(o.length>2)return t;if(/:/.test(o[0])?r=o[0]:(t.date=o[0],r=o[1],Xt.timeZoneDelimiter.test(t.date)&&(t.date=a.split(Xt.timeZoneDelimiter)[0],r=a.substr(t.date.length,a.length))),r){var n=Xt.timezone.exec(r);n?(t.time=r.replace(n[1],""),t.timezone=n[1]):t.time=r}return t}function Yp(a,t){var o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=a.match(o);if(!r)return{year:NaN,restDateString:""};var n=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:s===null?n:s*100,restDateString:a.slice((r[1]||r[2]).length)}}function Kp(a,t){if(t===null)return new Date(NaN);var o=a.match(Up);if(!o)return new Date(NaN);var r=!!o[4],n=St(o[1]),s=St(o[2])-1,i=St(o[3]),l=St(o[4]),c=St(o[5])-1;if(r)return a2(t,l,c)?Qp(t,l,c):new Date(NaN);var u=new Date(0);return!e2(t,s,i)||!t2(t,n)?new Date(NaN):(u.setUTCFullYear(t,s,Math.max(n,i)),u)}function St(a){return a?parseInt(a):1}function Gp(a){var t=a.match(Zp);if(!t)return NaN;var o=Oa(t[1]),r=Oa(t[2]),n=Oa(t[3]);return o2(o,r,n)?o*Io+r*Oo+n*1e3:NaN}function Oa(a){return a&&parseFloat(a.replace(",","."))||0}function Xp(a){if(a==="Z")return 0;var t=a.match(Wp);if(!t)return 0;var o=t[1]==="+"?-1:1,r=parseInt(t[2]),n=t[3]&&parseInt(t[3])||0;return r2(r,n)?o*(r*Io+n*Oo):NaN}function Qp(a,t,o){var r=new Date(0);r.setUTCFullYear(a,0,4);var n=r.getUTCDay()||7,s=(t-1)*7+o+1-n;return r.setUTCDate(r.getUTCDate()+s),r}var Jp=[31,null,31,30,31,30,31,31,30,31,30,31];function Wo(a){return a%400===0||a%4===0&&a%100!==0}function e2(a,t,o){return t>=0&&t<=11&&o>=1&&o<=(Jp[t]||(Wo(a)?29:28))}function t2(a,t){return t>=1&&t<=(Wo(a)?366:365)}function a2(a,t,o){return t>=1&&t<=53&&o>=0&&o<=6}function o2(a,t,o){return a===24?t===0&&o===0:o>=0&&o<60&&t>=0&&t<60&&a>=0&&a<25}function r2(a,t){return t>=0&&t<=59}var ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ie={},qo={},xt={},Mt={},ct={},Qt={};Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.lexoHelper=void 0,Qt.lexoHelper={arrayCopy:n2};function n2(a,t,o,r,n){let s=r;const i=t+n;for(let l=t;l<i;l++)o[s]=a[l],++s}var At={};Object.defineProperty(At,"__esModule",{value:!0});class i2{constructor(t=""){this.str=t}get length(){return this.str.length}set length(t){this.str=this.str.substring(0,t)}append(t){return this.str=this.str+t,this}remove(t,o){return this.str=this.str.substr(0,t)+this.str.substr(t+o),this}insert(t,o){return this.str=this.str.substr(0,t)+o+this.str.substr(t),this}toString(){return this.str}}At.default=i2,Object.defineProperty(ct,"__esModule",{value:!0}),ct.LexoInteger=void 0;const Jt=Qt,s2=At;class W{constructor(t,o,r){this.sys=t,this.sign=o,this.mag=r}static parse(t,o){let r=t,n=1;t.indexOf(o.getPositiveChar())===0?r=t.substring(1):t.indexOf(o.getNegativeChar())===0&&(r=t.substring(1),n=-1);const s=new Array(r.length);let i=s.length-1;for(let l=0;i>=0;++l)s[l]=o.toDigit(r.charAt(i)),--i;return W.make(o,n,s)}static zero(t){return new W(t,0,W.ZERO_MAG)}static one(t){return W.make(t,1,W.ONE_MAG)}static make(t,o,r){let n;for(n=r.length;n>0&&r[n-1]===0;--n);if(n===0)return W.zero(t);if(n===r.length)return new W(t,o,r);const s=new Array(n).fill(0);return Jt.lexoHelper.arrayCopy(r,0,s,0,n),new W(t,o,s)}static add(t,o,r){const n=Math.max(o.length,r.length),s=new Array(n).fill(0);let i=0;for(let l=0;l<n;++l){const c=l<o.length?o[l]:0,u=l<r.length?r[l]:0;let d=c+u+i;for(i=0;d>=t.getBase();d-=t.getBase())++i;s[l]=d}return W.extendWithCarry(s,i)}static extendWithCarry(t,o){if(o>0){const r=new Array(t.length+1).fill(0);return Jt.lexoHelper.arrayCopy(t,0,r,0,t.length),r[r.length-1]=o,r}return t}static subtract(t,o,r){const n=W.complement(t,r,o.length),s=W.add(t,o,n);return s[s.length-1]=0,W.add(t,s,W.ONE_MAG)}static multiply(t,o,r){const n=new Array(o.length+r.length).fill(0);for(let s=0;s<o.length;++s)for(let i=0;i<r.length;++i){const l=s+i;for(n[l]+=o[s]*r[i];n[l]>=t.getBase();n[l]-=t.getBase())++n[l+1]}return n}static complement(t,o,r){if(r<=0)throw new Error("Expected at least 1 digit");const n=new Array(r).fill(t.getBase()-1);for(let s=0;s<o.length;++s)n[s]=t.getBase()-1-o[s];return n}static compare(t,o){if(t.length<o.length)return-1;if(t.length>o.length)return 1;for(let r=t.length-1;r>=0;--r){if(t[r]<o[r])return-1;if(t[r]>o[r])return 1}return 0}add(t){if(this.checkSystem(t),this.isZero())return t;if(t.isZero())return this;if(this.sign!==t.sign){let r;return this.sign===-1?(r=this.negate(),r.subtract(t).negate()):(r=t.negate(),this.subtract(r))}const o=W.add(this.sys,this.mag,t.mag);return W.make(this.sys,this.sign,o)}subtract(t){if(this.checkSystem(t),this.isZero())return t.negate();if(t.isZero())return this;if(this.sign!==t.sign){let r;return this.sign===-1?(r=this.negate(),r.add(t).negate()):(r=t.negate(),this.add(r))}const o=W.compare(this.mag,t.mag);return o===0?W.zero(this.sys):o<0?W.make(this.sys,this.sign===-1?1:-1,W.subtract(this.sys,t.mag,this.mag)):W.make(this.sys,this.sign===-1?-1:1,W.subtract(this.sys,this.mag,t.mag))}multiply(t){if(this.checkSystem(t),this.isZero())return this;if(t.isZero())return t;if(this.isOneish())return this.sign===t.sign?W.make(this.sys,1,t.mag):W.make(this.sys,-1,t.mag);if(t.isOneish())return this.sign===t.sign?W.make(this.sys,1,this.mag):W.make(this.sys,-1,this.mag);const o=W.multiply(this.sys,this.mag,t.mag);return this.sign===t.sign?W.make(this.sys,1,o):W.make(this.sys,-1,o)}negate(){return this.isZero()?this:W.make(this.sys,this.sign===1?-1:1,this.mag)}shiftLeft(t=1){if(t===0)return this;if(t<0)return this.shiftRight(Math.abs(t));const o=new Array(this.mag.length+t).fill(0);return Jt.lexoHelper.arrayCopy(this.mag,0,o,t,this.mag.length),W.make(this.sys,this.sign,o)}shiftRight(t=1){if(this.mag.length-t<=0)return W.zero(this.sys);const o=new Array(this.mag.length-t).fill(0);return Jt.lexoHelper.arrayCopy(this.mag,t,o,0,o.length),W.make(this.sys,this.sign,o)}complement(){return this.complementDigits(this.mag.length)}complementDigits(t){return W.make(this.sys,this.sign,W.complement(this.sys,this.mag,t))}isZero(){return this.sign===0&&this.mag.length===1&&this.mag[0]===0}isOne(){return this.sign===1&&this.mag.length===1&&this.mag[0]===1}getMag(t){return this.mag[t]}compareTo(t){if(this===t)return 0;if(!t)return 1;if(this.sign===-1){if(t.sign===-1){const o=W.compare(this.mag,t.mag);return o===-1?1:o===1?-1:0}return-1}return this.sign===1?t.sign===1?W.compare(this.mag,t.mag):1:t.sign===-1?1:t.sign===1?-1:0}getSystem(){return this.sys}format(){if(this.isZero())return""+this.sys.toChar(0);const t=new s2.default,o=this.mag,r=o.length;for(let n=0;n<r;++n){const s=o[n];t.insert(0,this.sys.toChar(s))}return this.sign===-1&&t.insert(0,this.sys.getNegativeChar()),t.toString()}equals(t){return this===t?!0:t?this.sys.getBase()===t.sys.getBase()&&this.compareTo(t)===0:!1}toString(){return this.format()}isOneish(){return this.mag.length===1&&this.mag[0]===1}checkSystem(t){if(this.sys.getBase()!==t.sys.getBase())throw new Error("Expected numbers of same numeral sys")}}ct.LexoInteger=W,W.ZERO_MAG=[0],W.ONE_MAG=[1],W.NEGATIVE_SIGN=-1,W.ZERO_SIGN=0,W.POSITIVE_SIGN=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.LexoDecimal=void 0;const Tt=ct,l2=At;class me{constructor(t,o){this.mag=t,this.sig=o}static half(t){const o=t.getBase()/2|0;return me.make(Tt.LexoInteger.make(t,1,[o]),1)}static parse(t,o){const r=t.indexOf(o.getRadixPointChar());if(t.lastIndexOf(o.getRadixPointChar())!==r)throw new Error("More than one "+o.getRadixPointChar());if(r<0)return me.make(Tt.LexoInteger.parse(t,o),0);const n=t.substring(0,r)+t.substring(r+1);return me.make(Tt.LexoInteger.parse(n,o),t.length-1-r)}static from(t){return me.make(t,0)}static make(t,o){if(t.isZero())return new me(t,0);let r=0;for(let i=0;i<o&&t.getMag(i)===0;++i)++r;const n=t.shiftRight(r),s=o-r;return new me(n,s)}getSystem(){return this.mag.getSystem()}add(t){let o=this.mag,r=this.sig,n=t.mag,s;for(s=t.sig;r<s;++r)o=o.shiftLeft();for(;r>s;)n=n.shiftLeft(),++s;return me.make(o.add(n),r)}subtract(t){let o=this.mag,r=this.sig,n=t.mag,s;for(s=t.sig;r<s;++r)o=o.shiftLeft();for(;r>s;)n=n.shiftLeft(),++s;return me.make(o.subtract(n),r)}multiply(t){return me.make(this.mag.multiply(t.mag),this.sig+t.sig)}floor(){return this.mag.shiftRight(this.sig)}ceil(){if(this.isExact())return this.mag;const t=this.floor();return t.add(Tt.LexoInteger.one(t.getSystem()))}isExact(){if(this.sig===0)return!0;for(let t=0;t<this.sig;++t)if(this.mag.getMag(t)!==0)return!1;return!0}getScale(){return this.sig}setScale(t,o=!1){if(t>=this.sig)return this;t<0&&(t=0);const r=this.sig-t;let n=this.mag.shiftRight(r);return o&&(n=n.add(Tt.LexoInteger.one(n.getSystem()))),me.make(n,t)}compareTo(t){if(this===t)return 0;if(!t)return 1;let o=this.mag,r=t.mag;return this.sig>t.sig?r=r.shiftLeft(this.sig-t.sig):this.sig<t.sig&&(o=o.shiftLeft(t.sig-this.sig)),o.compareTo(r)}format(){const t=this.mag.format();if(this.sig===0)return t;const o=new l2.default(t),r=o[0],n=r===this.mag.getSystem().getPositiveChar()||r===this.mag.getSystem().getNegativeChar();for(n&&o.remove(0,1);o.length<this.sig+1;)o.insert(0,this.mag.getSystem().toChar(0));return o.insert(o.length-this.sig,this.mag.getSystem().getRadixPointChar()),o.length-this.sig===0&&o.insert(0,this.mag.getSystem().toChar(0)),n&&o.insert(0,r),o.toString()}equals(t){return this===t?!0:t?this.mag.equals(t.mag)&&this.sig===t.sig:!1}toString(){return this.format()}}Mt.LexoDecimal=me;var ea={},Yo;function Ko(){if(Yo)return ea;Yo=1,Object.defineProperty(ea,"__esModule",{value:!0});const a=ct,t=Qo();class o{constructor(n){this.value=a.LexoInteger.parse(n,t.LexoRank.NUMERAL_SYSTEM)}static get BUCKET_0(){return this._BUCKET_0||(this._BUCKET_0=new o("0")),this._BUCKET_0}static get BUCKET_1(){return this._BUCKET_1||(this._BUCKET_1=new o("1")),this._BUCKET_1}static get BUCKET_2(){return this._BUCKET_2||(this._BUCKET_2=new o("2")),this._BUCKET_2}static get VALUES(){return this._VALUES||(this._VALUES=[o.BUCKET_0,o.BUCKET_1,o.BUCKET_2]),this._VALUES}static max(){return o.VALUES[o.VALUES.length-1]}static from(n){const s=a.LexoInteger.parse(n,t.LexoRank.NUMERAL_SYSTEM),i=o.VALUES,l=i.length;for(let c=0;c<l;++c){const u=i[c];if(u.value.equals(s))return u}throw new Error("Unknown bucket: "+n)}static resolve(n){const s=o.VALUES,i=s.length;for(let l=0;l<i;++l){const c=s[l];if(c.equals(o.from(n.toString())))return c}throw new Error("No bucket found with id "+n)}format(){return this.value.format()}next(){return this.equals(o.BUCKET_0)?o.BUCKET_1:this.equals(o.BUCKET_1)?o.BUCKET_2:this.equals(o.BUCKET_2)?o.BUCKET_0:o.BUCKET_2}prev(){return this.equals(o.BUCKET_0)?o.BUCKET_2:this.equals(o.BUCKET_1)?o.BUCKET_0:this.equals(o.BUCKET_2)?o.BUCKET_1:o.BUCKET_0}equals(n){return this===n?!0:n?this.value.equals(n.value):!1}}return ea.default=o,ea}var Ia={},Go={};Object.defineProperty(Go,"__esModule",{value:!0});var ta={};Object.defineProperty(ta,"__esModule",{value:!0}),ta.LexoNumeralSystem10=void 0;class c2{getBase(){return 10}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return"."}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;throw new Error("Not valid digit: "+t)}toChar(t){return String.fromCharCode(t+48)}}ta.LexoNumeralSystem10=c2;var aa={};Object.defineProperty(aa,"__esModule",{value:!0}),aa.LexoNumeralSystem36=void 0;class d2{constructor(){this.DIGITS="0123456789abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 36}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+10;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}aa.LexoNumeralSystem36=d2;var oa={};Object.defineProperty(oa,"__esModule",{value:!0}),oa.LexoNumeralSystem64=void 0;class p2{constructor(){this.DIGITS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 64}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="A"&&t<="Z")return t.charCodeAt(0)-65+10;if(t==="^")return 36;if(t==="_")return 37;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+38;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}oa.LexoNumeralSystem64=p2,function(a){var t=ue&&ue.__createBinding||(Object.create?function(r,n,s,i){i===void 0&&(i=s);var l=Object.getOwnPropertyDescriptor(n,s);(!l||("get"in l?!n.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return n[s]}}),Object.defineProperty(r,i,l)}:function(r,n,s,i){i===void 0&&(i=s),r[i]=n[s]}),o=ue&&ue.__exportStar||function(r,n){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,r,s)};Object.defineProperty(a,"__esModule",{value:!0}),o(Go,a),o(ta,a),o(aa,a),o(oa,a)}(Ia);var Xo;function Qo(){if(Xo)return xt;Xo=1,Object.defineProperty(xt,"__esModule",{value:!0}),xt.LexoRank=void 0;const a=Mt,t=Ko(),o=At,r=Ia;class n{constructor(i,l){this.value=i.format()+"|"+n.formatDecimal(l),this.bucket=i,this.decimal=l}static get NUMERAL_SYSTEM(){return this._NUMERAL_SYSTEM||(this._NUMERAL_SYSTEM=new r.LexoNumeralSystem36),this._NUMERAL_SYSTEM}static get ZERO_DECIMAL(){return this._ZERO_DECIMAL||(this._ZERO_DECIMAL=a.LexoDecimal.parse("0",n.NUMERAL_SYSTEM)),this._ZERO_DECIMAL}static get ONE_DECIMAL(){return this._ONE_DECIMAL||(this._ONE_DECIMAL=a.LexoDecimal.parse("1",n.NUMERAL_SYSTEM)),this._ONE_DECIMAL}static get EIGHT_DECIMAL(){return this._EIGHT_DECIMAL||(this._EIGHT_DECIMAL=a.LexoDecimal.parse("8",n.NUMERAL_SYSTEM)),this._EIGHT_DECIMAL}static get MIN_DECIMAL(){return this._MIN_DECIMAL||(this._MIN_DECIMAL=n.ZERO_DECIMAL),this._MIN_DECIMAL}static get MAX_DECIMAL(){return this._MAX_DECIMAL||(this._MAX_DECIMAL=a.LexoDecimal.parse("1000000",n.NUMERAL_SYSTEM).subtract(n.ONE_DECIMAL)),this._MAX_DECIMAL}static get MID_DECIMAL(){return this._MID_DECIMAL||(this._MID_DECIMAL=n.between(n.MIN_DECIMAL,n.MAX_DECIMAL)),this._MID_DECIMAL}static get INITIAL_MIN_DECIMAL(){return this._INITIAL_MIN_DECIMAL||(this._INITIAL_MIN_DECIMAL=a.LexoDecimal.parse("100000",n.NUMERAL_SYSTEM)),this._INITIAL_MIN_DECIMAL}static get INITIAL_MAX_DECIMAL(){return this._INITIAL_MAX_DECIMAL||(this._INITIAL_MAX_DECIMAL=a.LexoDecimal.parse(n.NUMERAL_SYSTEM.toChar(n.NUMERAL_SYSTEM.getBase()-2)+"00000",n.NUMERAL_SYSTEM)),this._INITIAL_MAX_DECIMAL}static min(){return n.from(t.default.BUCKET_0,n.MIN_DECIMAL)}static middle(){const i=n.min();return i.between(n.max(i.bucket))}static max(i=t.default.BUCKET_0){return n.from(i,n.MAX_DECIMAL)}static initial(i){return i===t.default.BUCKET_0?n.from(i,n.INITIAL_MIN_DECIMAL):n.from(i,n.INITIAL_MAX_DECIMAL)}static between(i,l){if(i.getSystem().getBase()!==l.getSystem().getBase())throw new Error("Expected same system");let c=i,u=l,d;if(i.getScale()<l.getScale()){if(d=l.setScale(i.getScale(),!1),i.compareTo(d)>=0)return n.mid(i,l);u=d}if(i.getScale()>u.getScale()){if(d=i.setScale(u.getScale(),!0),d.compareTo(u)>=0)return n.mid(i,l);c=d}let p;for(let b=c.getScale();b>0;u=p){const _=b-1,g=c.setScale(_,!0);if(p=u.setScale(_,!1),g.compareTo(p)===0)return n.checkMid(i,l,g);if(g.compareTo(p)>0)break;b=_,c=g}let m=n.middleInternal(i,l,c,u),f;for(let b=m.getScale();b>0;b=f){f=b-1;const _=m.setScale(f);if(i.compareTo(_)>=0||_.compareTo(l)>=0)break;m=_}return m}static parse(i){const l=i.split("|"),c=t.default.from(l[0]),u=a.LexoDecimal.parse(l[1],n.NUMERAL_SYSTEM);return new n(c,u)}static from(i,l){if(l.getSystem().getBase()!==n.NUMERAL_SYSTEM.getBase())throw new Error("Expected different system");return new n(i,l)}static middleInternal(i,l,c,u){const d=n.mid(c,u);return n.checkMid(i,l,d)}static checkMid(i,l,c){return i.compareTo(c)>=0||c.compareTo(l)>=0?n.mid(i,l):c}static mid(i,l){const u=i.add(l).multiply(a.LexoDecimal.half(i.getSystem())),d=i.getScale()>l.getScale()?i.getScale():l.getScale();if(u.getScale()>d){const p=u.setScale(d,!1);if(p.compareTo(i)>0)return p;const m=u.setScale(d,!0);if(m.compareTo(l)<0)return m}return u}static formatDecimal(i){const l=i.format(),c=new o.default(l);let u=l.indexOf(n.NUMERAL_SYSTEM.getRadixPointChar());const d=n.NUMERAL_SYSTEM.toChar(0);for(u<0&&(u=l.length,c.append(n.NUMERAL_SYSTEM.getRadixPointChar()));u<6;)c.insert(0,d),++u;for(;c[c.length-1]===d;)c.length=c.length-1;return c.toString()}genPrev(){if(this.isMax())return new n(this.bucket,n.INITIAL_MAX_DECIMAL);const i=this.decimal.floor();let c=a.LexoDecimal.from(i).subtract(n.EIGHT_DECIMAL);return c.compareTo(n.MIN_DECIMAL)<=0&&(c=n.between(n.MIN_DECIMAL,this.decimal)),new n(this.bucket,c)}genNext(){if(this.isMin())return new n(this.bucket,n.INITIAL_MIN_DECIMAL);const i=this.decimal.ceil();let c=a.LexoDecimal.from(i).add(n.EIGHT_DECIMAL);return c.compareTo(n.MAX_DECIMAL)>=0&&(c=n.between(this.decimal,n.MAX_DECIMAL)),new n(this.bucket,c)}between(i){if(!this.bucket.equals(i.bucket))throw new Error("Between works only within the same bucket");const l=this.decimal.compareTo(i.decimal);if(l>0)return new n(this.bucket,n.between(i.decimal,this.decimal));if(l===0)throw new Error("Try to rank between issues with same rank this="+this+" other="+i+" this.decimal="+this.decimal+" other.decimal="+i.decimal);return new n(this.bucket,n.between(this.decimal,i.decimal))}getBucket(){return this.bucket}getDecimal(){return this.decimal}inNextBucket(){return n.from(this.bucket.next(),this.decimal)}inPrevBucket(){return n.from(this.bucket.prev(),this.decimal)}isMin(){return this.decimal.equals(n.MIN_DECIMAL)}isMax(){return this.decimal.equals(n.MAX_DECIMAL)}format(){return this.value}equals(i){return this===i?!0:i?this.value===i.value:!1}toString(){return this.value}compareTo(i){return this===i?0:i?this.value.localeCompare(i.value):1}}return xt.LexoRank=n,xt}(function(a){var t=ue&&ue.__createBinding||(Object.create?function(r,n,s,i){i===void 0&&(i=s);var l=Object.getOwnPropertyDescriptor(n,s);(!l||("get"in l?!n.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return n[s]}}),Object.defineProperty(r,i,l)}:function(r,n,s,i){i===void 0&&(i=s),r[i]=n[s]}),o=ue&&ue.__exportStar||function(r,n){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,r,s)};Object.defineProperty(a,"__esModule",{value:!0}),o(Qo(),a),o(Ko(),a),o(Mt,a),o(ct,a)})(qo),function(a){var t=ue&&ue.__createBinding||(Object.create?function(r,n,s,i){i===void 0&&(i=s);var l=Object.getOwnPropertyDescriptor(n,s);(!l||("get"in l?!n.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return n[s]}}),Object.defineProperty(r,i,l)}:function(r,n,s,i){i===void 0&&(i=s),r[i]=n[s]}),o=ue&&ue.__exportStar||function(r,n){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,r,s)};Object.defineProperty(a,"__esModule",{value:!0}),o(qo,a),o(Ia,a)}(ie);function Jo(a){return(a==null?void 0:a.reduce((t,o)=>{var r;return t+(((r=o.activities)==null?void 0:r.length)??0)},0))??0}function u2(a){return(a==null?void 0:a.reduce((t,o)=>{var r;return t+(((r=o.milestones)==null?void 0:r.length)??0)},0))??0}function m2(a){return(a==null?void 0:a.reduce((t,o)=>{var n;const r=(n=o.milestones)!=null&&n.length?Jo(o.milestones):0;return t+r},0))??0}function f2(a){return a.split(" ").slice(0,2).map(t=>t.charAt(0).toLocaleLowerCase()).join("")}function Ot(a,t){if(a.moved)return dt(t,a.moved.newIndex)}function dt(a,t){if(t===0)if(a.length>1){const o=a[t+1];return ie.LexoRank.parse(o.rank).genPrev().format()}else return ie.LexoRank.middle().format();else if(t===a.length-1){const o=a[t-1];return ie.LexoRank.parse(o.rank).genNext().format()}else{const o=a[t-1],r=a[t+1];return ie.LexoRank.parse(r.rank).between(ie.LexoRank.parse(o.rank)).format()}}function ra(a,t="dd/MM/yyyy"){if(!a)return"";const o=Nt(a);return Lo(o)?Zo(o,t):""}function La(a,t){return a.status.id===t.id}function h2(a,t){return a.activities.length===0?!1:!a.activities.some(o=>!La(o,t))}function g2(a,t){return{...a,status:h2(a,t)?kt.done:kt.todo}}const er=a=>{const{firstName:t,lastName:o}=a||{};return`${t??""}${t?" ":""}${o??""}`};function _2(a,t){const o=a.replace("#",""),r=parseInt(o.slice(0,2),16),n=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${r}, ${n}, ${s}, ${t})`}function v2(a,t=.15){var o;if(a.startsWith("#"))return _2(a,t);if(a.startsWith("rgba")){const r=(o=a.match(/rgba?\(([^)]+)\)/))==null?void 0:o[1].split(",").map(n=>n.trim());if(r&&r.length>=3){const[n,s,i]=r;return`rgba(${n}, ${s}, ${i}, ${t})`}}return a}const C2=["title"],b2={key:0,className:"ao-avatar__initials"},y2=["src"],ye=e.defineComponent({__name:"AoAvatar",props:{userName:{},avatarUrl:{},isClosable:{type:Boolean},size:{default:qt.MD},color:{default:"primary"}},emits:["close"],setup(a,{emit:t}){const o=a,r=e.computed(()=>[`ao-avatar--${o.color}`,...o.avatarUrl?["ao-avatar-img",`ao-avatar-img--${o.size}`]:["ao-avatar",`ao-avatar--${o.size}`]]),n=f2(o.userName),s=i=>{t("close",i)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",{role:"img",class:e.normalizeClass(r.value),title:i.userName},[i.avatarUrl?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",b2,e.toDisplayString(e.unref(n)),1)),i.avatarUrl?(e.openBlock(),e.createElementBlock("img",{key:1,className:"ao-avatar__image",src:i.avatarUrl},null,8,y2)):e.createCommentVNode("",!0),i.isClosable?(e.openBlock(),e.createBlock(K,{key:2,"icon-name":"CloseRounded",class:"ao-avatar__close",color:i.color,corners:"round",onClick:e.withModifiers(s,["stop"])},null,8,["color","onClick"])):e.createCommentVNode("",!0)],10,C2))}}),w9="",w2={class:"ao-card-template__subitems"},k2={class:"ao-card-template__subitem"},$2={class:"ao-card-template__subitem-number"},E2={class:"ao-card-template__subitem"},B2={class:"ao-card-template__subitem"},V2={class:"ao-card-template__body"},N2={class:"ao-card-template__col ao-card-template__col--phases"},S2={class:"ao-card-template__col-title"},x2={class:"ao-card-template__col-label"},M2={key:0,class:"ao-card-template__col-body ao-card-template__phases-list"},A2={class:"ao-card-template__footer"},T2={key:0,class:"ao-card-template__col ao-card-template__col--updated-at"},O2={class:"ao-card-template__col-title"},I2={class:"ao-card-template__col-label"},L2={class:"ao-card-template__col-body"},j2={key:1,class:"ao-card-template__col ao-card-template__col--updated-by"},D2={class:"ao-card-template__col-title"},P2={class:"ao-card-template__col-label"},z2={class:"ao-card-template__col-body"},H2={class:"ao-card-template-item__secondary"},ja=5,R2=e.defineComponent({__name:"AoCardTemplate",props:{id:{},title:{},activities:{},milestones:{},phases:{},updatedAt:{},updatedBy:{}},emits:["updateTitle","deleteItem"],setup(a,{emit:t}){const o=a,r=l=>{t("updateTitle",l)},n=(l,c)=>{t("deleteItem",l,c)},s=e.computed(()=>{var l;return((l=o.phases)==null?void 0:l.slice(0,ja))??[]}),i=e.computed(()=>o.phases&&o.phases.length>ja?o.phases.length-ja:0);return(l,c)=>(e.openBlock(),e.createBlock(No,{id:l.id,title:l.title,"is-draggable":!0,"onUpdate:title":r},e.createSlots({subtitle:e.withCtx(()=>[e.createElementVNode("ul",w2,[e.createElementVNode("li",k2,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",$2,e.toDisplayString(l.milestones),1)]),e.createElementVNode("li",E2,[e.createVNode(Q,{name:"TaskOutlineRounded",size:"sm"}),e.createElementVNode("span",B2,e.toDisplayString(l.activities),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",V2,[e.createElementVNode("div",N2,[e.createElementVNode("div",S2,[e.createVNode(Q,{name:"WaterfallChartRounded",size:"sm"}),e.createElementVNode("span",x2,e.toDisplayString(l.$t("template.phases.title")),1)]),l.phases?(e.openBlock(),e.createElementBlock("ul",M2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,u=>(e.openBlock(),e.createBlock(wt,{key:u.id,label:u.name||u.id,color:"primary",variant:"solid"},null,8,["label"]))),128)),i.value>0?(e.openBlock(),e.createBlock(wt,{key:0,label:`+${i.value} more`,color:"primary-lighter",variant:"solid"},null,8,["label"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]),secondary:e.withCtx(()=>[e.createElementVNode("div",H2,[e.createVNode(K,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:c[0]||(c[0]=e.withModifiers(u=>n(l.id,l.title),["stop"]))})])]),_:2},[l.updatedBy||l.updatedAt?{name:"footer",fn:e.withCtx(()=>[e.createElementVNode("div",A2,[l.updatedAt?(e.openBlock(),e.createElementBlock("div",T2,[e.createElementVNode("div",O2,[e.createElementVNode("span",I2,e.toDisplayString(l.$t("template.updatedAt.label")),1)]),e.createElementVNode("div",L2,[e.createElementVNode("span",null,e.toDisplayString(l.updatedAt),1)])])):e.createCommentVNode("",!0),l.updatedBy?(e.openBlock(),e.createElementBlock("div",j2,[e.createElementVNode("div",D2,[e.createElementVNode("span",P2,e.toDisplayString(l.$t("template.updatedBy.label")),1)]),e.createElementVNode("div",z2,[e.createVNode(ye,{"user-name":l.updatedBy},null,8,["user-name"])])])):e.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["id","title"]))}}),k9="",F2={class:"ao-page-header"},U2={class:"ao-page-header-main"},Z2={key:0,class:"ao-page-header-secondary"},It=e.defineComponent({__name:"AoPageHeader",props:{canGoBack:{type:Boolean}},emits:["goBack"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",F2,[e.createElementVNode("div",U2,[t.canGoBack?(e.openBlock(),e.createBlock(K,{key:0,"icon-name":"ArrowBackRounded",variant:"ghost",onClick:o[0]||(o[0]=r=>t.$emit("goBack"))})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"primary")]),t.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Z2,[e.renderSlot(t.$slots,"secondary")])):e.createCommentVNode("",!0)]))}}),$9="",W2=["type"],q2={key:0,class:"ao-button-card__label"},Pe=e.defineComponent({__name:"AoButtonCard",props:{label:{default:()=>""},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{default:()=>Ma.BLACK},size:{default:()=>qt.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Bo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),r=e.computed(()=>t.isLoading?"Loading":t.iconName);return(n,s)=>(e.openBlock(),e.createElementBlock("button",{type:n.type,class:e.normalizeClass(["ao-button-card",`ao-button-card--${n.color}`,`ao-button-card--${n.corners}`,n.$attrs.disabled?"ao-button-card--is-disabled":""])},[e.renderSlot(n.$slots,"default",{},()=>[n.label?(e.openBlock(),e.createElementBlock("span",q2,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)]),r.value?(e.openBlock(),e.createBlock(Q,{key:0,name:r.value,class:"ao-button-card__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,W2))}}),E9="",Y2={class:"ao-card-template-item__footer"},K2={key:0,class:"ao-card-template-item__subitem"},G2={class:"ao-card-template-item__subitem-number"},X2={class:"ao-card-template-item__secondary"},Da=e.defineComponent({__name:"AoCardTemplateItem",props:{milestones:{},activities:{},tasks:{},rules:{}},emits:["update:title","remove"],setup(a,{emit:t}){const o=i=>{t("update:title",i)},r=["milestones","activities","rules","tasks"],n={milestones:"MountainFlagOutlineRounded",activities:"TaskOutlineRounded",rules:"FlowsheetOutlineRounded",tasks:"ChecklistRounded"},s=()=>{t("remove")};return(i,l)=>(e.openBlock(),e.createBlock(No,{"onUpdate:title":o},{footer:e.withCtx(()=>[e.createElementVNode("ul",Y2,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[i.$props[c]?(e.openBlock(),e.createElementBlock("li",K2,[e.createVNode(Q,{name:n[c],size:"sm"},null,8,["name"]),e.createElementVNode("span",G2,e.toDisplayString(i.$props[c]),1)])):e.createCommentVNode("",!0)],64))),64))])]),secondary:e.withCtx(()=>[e.createElementVNode("div",X2,[e.createVNode(K,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:e.withModifiers(s,["stop"])},null,8,["onClick"])])]),_:1}))}}),B9="",Q2=e.defineComponent({__name:"AoCardTemplateItemPhase",props:{id:{},name:{},milestones:{}},setup(a){const t=a,o=e.computed(()=>{var n;return(n=t.milestones)==null?void 0:n.length}),r=e.computed(()=>t.milestones?Jo(t.milestones):0);return(n,s)=>(e.openBlock(),e.createBlock(Da,e.mergeProps({id:n.id,title:n.name,activities:r.value,milestones:o.value},n.$attrs),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["id","title","activities","milestones"]))}}),J2=e.defineComponent({__name:"AoCardTemplateItemMilestone",props:{activities:{}},setup(a){const t=a,o=e.computed(()=>{var r;return((r=t.activities)==null?void 0:r.length)||0});return(r,n)=>(e.openBlock(),e.createBlock(Da,{activities:o.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["activities"]))}}),eu={class:"ao-list__footer"},tu=e.defineComponent({__name:"AoTemplateDetailsMilestones",props:{templateId:{},milestoneId:{},phase:{}},emits:["addMilestone","updateMilestone","updatePhase","removeMilestone"],setup(a,{emit:t}){const o=a,r=()=>{t("addMilestone",{phaseId:o.phase.id})},n=l=>{t("removeMilestone",{phaseId:o.phase.id,id:l})},s=l=>{t("updateMilestone",l)},i=l=>{if(l.moved){const c=Ot(l,o.phase.milestones);t("updateMilestone",{id:l.moved.element.id,rank:c})}};return(l,c)=>l.phase?(e.openBlock(),e.createBlock(e.unref(je),{key:0,"model-value":l.phase.milestones,class:"ao-templates__list",title:l.$t("template.milestones.title"),handle:".ao-card__drag","item-key":"id",onChange:i},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Milestones",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:u})=>[(e.openBlock(),e.createBlock(J2,{id:u.id,key:u.id,title:u.name,activities:u.activities,"is-active":l.milestoneId===u.id,"is-draggable":!0,"onUpdate:title":d=>s({id:u.id,name:d}),onClick:d=>l.$router.push({params:{milestoneId:u.id}}),onRemove:()=>n(u.id)},null,8,["id","title","activities","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",eu,[e.createVNode(Pe,{"icon-name":"AddBoxOutlineRounded",label:l.$t("template.milestones.add"),onClick:r},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),au=e.defineComponent({__name:"AoCardTemplateItemActivity",props:{name:{},tasks:{}},setup(a){const t=a,o=e.computed(()=>{var r;return((r=t.tasks)==null?void 0:r.length)||0});return(r,n)=>(e.openBlock(),e.createBlock(Da,{tasks:o.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["tasks"]))}}),ou={class:"ao-list__footer"},ru=e.defineComponent({__name:"AoTemplateDetailsActivities",props:{templateId:{},phaseId:{},milestone:{},activityId:{}},emits:["addActivity","updateActivity","updateMilestone","removeActivity"],setup(a,{emit:t}){const o=a,r=()=>{t("addActivity",{milestoneId:o.milestone.id})},n=l=>{t("updateActivity",{...l})},s=l=>{t("removeActivity",{id:l})},i=l=>{if(l.moved){const c=Ot(l,o.milestone.activities);t("updateActivity",{id:l.moved.element.id,rank:c})}};return(l,c)=>l.milestone?(e.openBlock(),e.createBlock(e.unref(je),{key:0,"model-value":l.milestone.activities,title:l.$t("template.activities.title"),class:"ao-templates__list",handle:".ao-card__drag","item-key":"id",onChange:i},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Activities",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:u})=>[(e.openBlock(),e.createBlock(au,{id:u.id,key:u.id,title:u.name,tasks:u.tasks,"is-active":l.activityId===u.id,"is-draggable":!0,"onUpdate:title":d=>n({id:u.id,name:d}),onClick:d=>l.$router.push({params:{activityId:u.id}}),onRemove:()=>s(u.id)},null,8,["id","title","tasks","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",ou,[e.createVNode(Pe,{"icon-name":"AddBoxOutlineRounded",label:l.$t("template.activities.add"),onClick:r},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),nu={class:"ao-modal"},iu={key:0,class:"ao-modal__header"},su={class:"ao-modal__header-meta"},lu={class:"ao-modal__title-group"},cu={class:"ao-modal__body"},du={key:1,class:"ao-modal__footer"},na=e.defineComponent({__name:"AoModal",props:{size:{default:"md"}},emits:["close"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-modal__wrapper",`ao-modal__wrapper--${t.size}`])},[e.createElementVNode("div",{class:"ao-modal__backdrop",onClick:o[0]||(o[0]=r=>t.$emit("close"))}),e.createElementVNode("div",nu,[t.$slots.header?(e.openBlock(),e.createElementBlock("div",iu,[e.createElementVNode("div",su,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",color:"primary",onClick:o[1]||(o[1]=r=>t.$emit("close"))})]),e.createElementVNode("header",lu,[e.renderSlot(t.$slots,"header")])])):e.createCommentVNode("",!0),e.createElementVNode("div",cu,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",du,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])],2))}}),V9="",Lt=Math.min,fe=Math.max,ia=Math.round,sa=Math.floor,ze=a=>({x:a,y:a}),pu={left:"right",right:"left",bottom:"top",top:"bottom"},uu={start:"end",end:"start"};function Pa(a,t){return typeof a=="function"?a(t):a}function pt(a){return a.split("-")[0]}function la(a){return a.split("-")[1]}function mu(a){return a==="x"?"y":"x"}function tr(a){return a==="y"?"height":"width"}function za(a){return["top","bottom"].includes(pt(a))?"y":"x"}function ar(a){return mu(za(a))}function fu(a,t,o){o===void 0&&(o=!1);const r=la(a),n=ar(a),s=tr(n);let i=n==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ca(i)),[i,ca(i)]}function hu(a){const t=ca(a);return[Ha(a),t,Ha(t)]}function Ha(a){return a.replace(/start|end/g,t=>uu[t])}function gu(a,t,o){const r=["left","right"],n=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(a){case"top":case"bottom":return o?t?n:r:t?r:n;case"left":case"right":return t?s:i;default:return[]}}function _u(a,t,o,r){const n=la(a);let s=gu(pt(a),o==="start",r);return n&&(s=s.map(i=>i+"-"+n),t&&(s=s.concat(s.map(Ha)))),s}function ca(a){return a.replace(/left|right|bottom|top/g,t=>pu[t])}function vu(a){return{top:0,right:0,bottom:0,left:0,...a}}function Cu(a){return typeof a!="number"?vu(a):{top:a,right:a,bottom:a,left:a}}function da(a){return{...a,top:a.y,left:a.x,right:a.x+a.width,bottom:a.y+a.height}}function or(a,t,o){let{reference:r,floating:n}=a;const s=za(t),i=ar(t),l=tr(i),c=pt(t),u=s==="y",d=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,m=r[l]/2-n[l]/2;let f;switch(c){case"top":f={x:d,y:r.y-n.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:p};break;case"left":f={x:r.x-n.width,y:p};break;default:f={x:r.x,y:r.y}}switch(la(t)){case"start":f[i]-=m*(o&&u?-1:1);break;case"end":f[i]+=m*(o&&u?-1:1);break}return f}const bu=async(a,t,o)=>{const{placement:r="bottom",strategy:n="absolute",middleware:s=[],platform:i}=o,l=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:a,floating:t,strategy:n}),{x:d,y:p}=or(u,r,c),m=r,f={},b=0;for(let _=0;_<l.length;_++){const{name:g,fn:y}=l[_],{x:h,y:v,data:N,reset:B}=await y({x:d,y:p,initialPlacement:r,placement:m,strategy:n,middlewareData:f,rects:u,platform:i,elements:{reference:a,floating:t}});if(d=h??d,p=v??p,f={...f,[g]:{...f[g],...N}},B&&b<=50){b++,typeof B=="object"&&(B.placement&&(m=B.placement),B.rects&&(u=B.rects===!0?await i.getElementRects({reference:a,floating:t,strategy:n}):B.rects),{x:d,y:p}=or(u,m,c)),_=-1;continue}}return{x:d,y:p,placement:m,strategy:n,middlewareData:f}};async function rr(a,t){var o;t===void 0&&(t={});const{x:r,y:n,platform:s,rects:i,elements:l,strategy:c}=a,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:m=!1,padding:f=0}=Pa(t,a),b=Cu(f),g=l[m?p==="floating"?"reference":"floating":p],y=da(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(g)))==null||o?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),h=p==="floating"?{...i.floating,x:r,y:n}:i.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),N=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},B=da(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:h,offsetParent:v,strategy:c}):h);return{top:(y.top-B.top+b.top)/N.y,bottom:(B.bottom-y.bottom+b.bottom)/N.y,left:(y.left-B.left+b.left)/N.x,right:(B.right-y.right+b.right)/N.x}}const yu=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(t){var o,r;const{placement:n,middlewareData:s,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:_=!0,...g}=Pa(a,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const y=pt(n),h=pt(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(u.floating)),N=m||(h||!_?[ca(l)]:hu(l));!m&&b!=="none"&&N.push(..._u(l,_,b,v));const B=[l,...N],V=await rr(t,g),I=[];let j=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&I.push(V[y]),p){const A=fu(n,i,v);I.push(V[A[0]],V[A[1]])}if(j=[...j,{placement:n,overflows:I}],!I.every(A=>A<=0)){var P,H;const A=(((P=s.flip)==null?void 0:P.index)||0)+1,z=B[A];if(z)return{data:{index:A,overflows:j},reset:{placement:z}};let Y=(H=j.filter(U=>U.overflows[0]<=0).sort((U,R)=>U.overflows[1]-R.overflows[1])[0])==null?void 0:H.placement;if(!Y)switch(f){case"bestFit":{var F;const U=(F=j.map(R=>[R.placement,R.overflows.filter(E=>E>0).reduce((E,$)=>E+$,0)]).sort((R,E)=>R[1]-E[1])[0])==null?void 0:F[0];U&&(Y=U);break}case"initialPlacement":Y=l;break}if(n!==Y)return{reset:{placement:Y}}}return{}}}},wu=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(t){const{placement:o,rects:r,platform:n,elements:s}=t,{apply:i=()=>{},...l}=Pa(a,t),c=await rr(t,l),u=pt(o),d=la(o),p=za(o)==="y",{width:m,height:f}=r.floating;let b,_;u==="top"||u==="bottom"?(b=u,_=d===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(_=u,b=d==="end"?"top":"bottom");const g=f-c[b],y=m-c[_],h=!t.middlewareData.shift;let v=g,N=y;if(p){const V=m-c.left-c.right;N=d||h?Lt(y,V):V}else{const V=f-c.top-c.bottom;v=d||h?Lt(g,V):V}if(h&&!d){const V=fe(c.left,0),I=fe(c.right,0),j=fe(c.top,0),P=fe(c.bottom,0);p?N=m-2*(V!==0||I!==0?V+I:fe(c.left,c.right)):v=f-2*(j!==0||P!==0?j+P:fe(c.top,c.bottom))}await i({...t,availableWidth:N,availableHeight:v});const B=await n.getDimensions(s.floating);return m!==B.width||f!==B.height?{reset:{rects:!0}}:{}}}};function He(a){return nr(a)?(a.nodeName||"").toLowerCase():"#document"}function ce(a){var t;return(a==null||(t=a.ownerDocument)==null?void 0:t.defaultView)||window}function Ne(a){var t;return(t=(nr(a)?a.ownerDocument:a.document)||window.document)==null?void 0:t.documentElement}function nr(a){return a instanceof Node||a instanceof ce(a).Node}function Se(a){return a instanceof Element||a instanceof ce(a).Element}function we(a){return a instanceof HTMLElement||a instanceof ce(a).HTMLElement}function ir(a){return typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof ce(a).ShadowRoot}function jt(a){const{overflow:t,overflowX:o,overflowY:r,display:n}=he(a);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(n)}function ku(a){return["table","td","th"].includes(He(a))}function Ra(a){const t=Fa(),o=he(a);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function $u(a){let t=ut(a);for(;we(t)&&!pa(t);){if(Ra(t))return t;t=ut(t)}return null}function Fa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pa(a){return["html","body","#document"].includes(He(a))}function he(a){return ce(a).getComputedStyle(a)}function ua(a){return Se(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function ut(a){if(He(a)==="html")return a;const t=a.assignedSlot||a.parentNode||ir(a)&&a.host||Ne(a);return ir(t)?t.host:t}function sr(a){const t=ut(a);return pa(t)?a.ownerDocument?a.ownerDocument.body:a.body:we(t)&&jt(t)?t:sr(t)}function Dt(a,t,o){var r;t===void 0&&(t=[]),o===void 0&&(o=!0);const n=sr(a),s=n===((r=a.ownerDocument)==null?void 0:r.body),i=ce(n);return s?t.concat(i,i.visualViewport||[],jt(n)?n:[],i.frameElement&&o?Dt(i.frameElement):[]):t.concat(n,Dt(n))}function lr(a){const t=he(a);let o=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const n=we(a),s=n?a.offsetWidth:o,i=n?a.offsetHeight:r,l=ia(o)!==s||ia(r)!==i;return l&&(o=s,r=i),{width:o,height:r,$:l}}function Ua(a){return Se(a)?a:a.contextElement}function mt(a){const t=Ua(a);if(!we(t))return ze(1);const o=t.getBoundingClientRect(),{width:r,height:n,$:s}=lr(t);let i=(s?ia(o.width):o.width)/r,l=(s?ia(o.height):o.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const Eu=ze(0);function cr(a){const t=ce(a);return!Fa()||!t.visualViewport?Eu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bu(a,t,o){return t===void 0&&(t=!1),!o||t&&o!==ce(a)?!1:t}function Je(a,t,o,r){t===void 0&&(t=!1),o===void 0&&(o=!1);const n=a.getBoundingClientRect(),s=Ua(a);let i=ze(1);t&&(r?Se(r)&&(i=mt(r)):i=mt(a));const l=Bu(s,o,r)?cr(s):ze(0);let c=(n.left+l.x)/i.x,u=(n.top+l.y)/i.y,d=n.width/i.x,p=n.height/i.y;if(s){const m=ce(s),f=r&&Se(r)?ce(r):r;let b=m.frameElement;for(;b&&r&&f!==m;){const _=mt(b),g=b.getBoundingClientRect(),y=he(b),h=g.left+(b.clientLeft+parseFloat(y.paddingLeft))*_.x,v=g.top+(b.clientTop+parseFloat(y.paddingTop))*_.y;c*=_.x,u*=_.y,d*=_.x,p*=_.y,c+=h,u+=v,b=ce(b).frameElement}}return da({width:d,height:p,x:c,y:u})}function Vu(a){let{rect:t,offsetParent:o,strategy:r}=a;const n=we(o),s=Ne(o);if(o===s)return t;let i={scrollLeft:0,scrollTop:0},l=ze(1);const c=ze(0);if((n||!n&&r!=="fixed")&&((He(o)!=="body"||jt(s))&&(i=ua(o)),we(o))){const u=Je(o);l=mt(o),c.x=u.x+o.clientLeft,c.y=u.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+c.x,y:t.y*l.y-i.scrollTop*l.y+c.y}}function Nu(a){return Array.from(a.getClientRects())}function dr(a){return Je(Ne(a)).left+ua(a).scrollLeft}function Su(a){const t=Ne(a),o=ua(a),r=a.ownerDocument.body,n=fe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=fe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+dr(a);const l=-o.scrollTop;return he(r).direction==="rtl"&&(i+=fe(t.clientWidth,r.clientWidth)-n),{width:n,height:s,x:i,y:l}}function xu(a,t){const o=ce(a),r=Ne(a),n=o.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,c=0;if(n){s=n.width,i=n.height;const u=Fa();(!u||u&&t==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}return{width:s,height:i,x:l,y:c}}function Mu(a,t){const o=Je(a,!0,t==="fixed"),r=o.top+a.clientTop,n=o.left+a.clientLeft,s=we(a)?mt(a):ze(1),i=a.clientWidth*s.x,l=a.clientHeight*s.y,c=n*s.x,u=r*s.y;return{width:i,height:l,x:c,y:u}}function pr(a,t,o){let r;if(t==="viewport")r=xu(a,o);else if(t==="document")r=Su(Ne(a));else if(Se(t))r=Mu(t,o);else{const n=cr(a);r={...t,x:t.x-n.x,y:t.y-n.y}}return da(r)}function ur(a,t){const o=ut(a);return o===t||!Se(o)||pa(o)?!1:he(o).position==="fixed"||ur(o,t)}function Au(a,t){const o=t.get(a);if(o)return o;let r=Dt(a,[],!1).filter(l=>Se(l)&&He(l)!=="body"),n=null;const s=he(a).position==="fixed";let i=s?ut(a):a;for(;Se(i)&&!pa(i);){const l=he(i),c=Ra(i);!c&&l.position==="fixed"&&(n=null),(s?!c&&!n:!c&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||jt(i)&&!c&&ur(a,i))?r=r.filter(d=>d!==i):n=l,i=ut(i)}return t.set(a,r),r}function Tu(a){let{element:t,boundary:o,rootBoundary:r,strategy:n}=a;const i=[...o==="clippingAncestors"?Au(t,this._c):[].concat(o),r],l=i[0],c=i.reduce((u,d)=>{const p=pr(t,d,n);return u.top=fe(p.top,u.top),u.right=Lt(p.right,u.right),u.bottom=Lt(p.bottom,u.bottom),u.left=fe(p.left,u.left),u},pr(t,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ou(a){return lr(a)}function Iu(a,t,o){const r=we(t),n=Ne(t),s=o==="fixed",i=Je(a,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=ze(0);if(r||!r&&!s)if((He(t)!=="body"||jt(n))&&(l=ua(t)),r){const u=Je(t,!0,s,t);c.x=u.x+t.clientLeft,c.y=u.y+t.clientTop}else n&&(c.x=dr(n));return{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function mr(a,t){return!we(a)||he(a).position==="fixed"?null:t?t(a):a.offsetParent}function fr(a,t){const o=ce(a);if(!we(a))return o;let r=mr(a,t);for(;r&&ku(r)&&he(r).position==="static";)r=mr(r,t);return r&&(He(r)==="html"||He(r)==="body"&&he(r).position==="static"&&!Ra(r))?o:r||$u(a)||o}const Lu=async function(a){let{reference:t,floating:o,strategy:r}=a;const n=this.getOffsetParent||fr,s=this.getDimensions;return{reference:Iu(t,await n(o),r),floating:{x:0,y:0,...await s(o)}}};function ju(a){return he(a).direction==="rtl"}const Du={convertOffsetParentRelativeRectToViewportRelativeRect:Vu,getDocumentElement:Ne,getClippingRect:Tu,getOffsetParent:fr,getElementRects:Lu,getClientRects:Nu,getDimensions:Ou,getScale:mt,isElement:Se,isRTL:ju};function Pu(a,t){let o=null,r;const n=Ne(a);function s(){clearTimeout(r),o&&o.disconnect(),o=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:u,top:d,width:p,height:m}=a.getBoundingClientRect();if(l||t(),!p||!m)return;const f=sa(d),b=sa(n.clientWidth-(u+p)),_=sa(n.clientHeight-(d+m)),g=sa(u),h={rootMargin:-f+"px "+-b+"px "+-_+"px "+-g+"px",threshold:fe(0,Lt(1,c))||1};let v=!0;function N(B){const V=B[0].intersectionRatio;if(V!==c){if(!v)return i();V?i(!1,V):r=setTimeout(()=>{i(!1,1e-7)},100)}v=!1}try{o=new IntersectionObserver(N,{...h,root:n.ownerDocument})}catch{o=new IntersectionObserver(N,h)}o.observe(a)}return i(!0),s}function zu(a,t,o,r){r===void 0&&(r={});const{ancestorScroll:n=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Ua(a),d=n||s?[...u?Dt(u):[],...Dt(t)]:[];d.forEach(y=>{n&&y.addEventListener("scroll",o,{passive:!0}),s&&y.addEventListener("resize",o)});const p=u&&l?Pu(u,o):null;let m=-1,f=null;i&&(f=new ResizeObserver(y=>{let[h]=y;h&&h.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{f&&f.observe(t)})),o()}),u&&!c&&f.observe(u),f.observe(t));let b,_=c?Je(a):null;c&&g();function g(){const y=Je(a);_&&(y.x!==_.x||y.y!==_.y||y.width!==_.width||y.height!==_.height)&&o(),_=y,b=requestAnimationFrame(g)}return o(),()=>{d.forEach(y=>{n&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),p&&p(),f&&f.disconnect(),f=null,c&&cancelAnimationFrame(b)}}const Hu=(a,t,o)=>{const r=new Map,n={platform:Du,...o},s={...n.platform,_c:r};return bu(a,t,{...n,platform:s})},Ru=a=>{const t=e.ref(!1),o=e.ref(),r=e.ref(),n=e.ref(0);function s(){const p=e.unref(a.appendTo);return p?typeof p=="string"?document.getElementById(p)??document.body:p:document.getElementById("floatingElements")??document.body}const i=s(),l=e.ref(()=>{});function c(p){p.relatedTarget&&r.value&&r.value.contains(p.relatedTarget)||a.multiselect.value.deactivate()}function u(){const p=a.multiselect.value.$el,m=p.querySelector(".multiselect-dropdown");if(!m||!p||t.value===!0)return;r.value=m,o.value=p,getComputedStyle(m).getPropertyValue("display")==="none"&&(m.style.display="flex"),n.value=m.offsetHeight,m.style.removeProperty("display"),Object.assign(m.style,{position:"absolute",width:"max-content",top:0,left:0,right:"auto",bottom:"auto",transform:"none",marginTop:0}),i.appendChild(m),a.multiselect.value.handleFocusOut=c;const b=zu(o.value,r.value,d);l.value=()=>{r.value&&i.contains(r.value)&&i.removeChild(r.value),b()}}function d(){!r.value||!o.value||Hu(o.value,r.value,{strategy:"absolute",placement:"bottom-start",middleware:[yu({fallbackStrategy:"initialPlacement",fallbackPlacements:["top-start","bottom-start"]}),wu({apply({availableWidth:p,availableHeight:m,elements:f,rects:b}){Object.assign(f.floating.style,{minHeight:`${n.value}px`,width:`${b.reference.width}px`,maxWidth:`${p}px`,maxHeight:`${m}px`})}})]}).then(({x:p,y:m})=>{Object.assign(r.value.style,{left:`${p}px`,top:`${m}px`})})}e.onMounted(()=>{u()}),e.onBeforeUnmount(()=>{l.value()}),e.onUnmounted(()=>{l.value()})};function ke(a){return[null,void 0].indexOf(a)!==-1}function Fu(a,t,o){const{object:r,valueProp:n,mode:s}=e.toRefs(a),i=e.getCurrentInstance().proxy,l=o.iv,c=(p,m=!0)=>{l.value=d(p);const f=u(p);t.emit("change",f,i),m&&(t.emit("input",f),t.emit("update:modelValue",f))},u=p=>r.value||ke(p)?p:Array.isArray(p)?p.map(m=>m[n.value]):p[n.value],d=p=>ke(p)?s.value==="single"?{}:[]:p;return{update:c}}function Uu(a,t){const{value:o,modelValue:r,mode:n,valueProp:s}=e.toRefs(a),i=e.ref(n.value!=="single"?[]:{}),l=e.computed(()=>r&&r.value!==void 0?r.value:o.value),c=e.computed(()=>n.value==="single"?i.value[s.value]:i.value.map(d=>d[s.value])),u=e.computed(()=>n.value!=="single"?i.value.map(d=>d[s.value]).join(","):i.value[s.value]);return{iv:i,internalValue:i,ev:l,externalValue:l,textValue:u,plainValue:c}}function Zu(a,t,o){const{regex:r}=e.toRefs(a),n=e.getCurrentInstance().proxy,s=o.isOpen,i=o.open,l=e.ref(null),c=()=>{l.value=""},u=m=>{l.value=m.target.value},d=m=>{if(r&&r.value){let f=r.value;typeof f=="string"&&(f=new RegExp(f)),m.key.match(f)||m.preventDefault()}},p=m=>{if(r&&r.value){let b=(m.clipboardData||window.clipboardData).getData("Text"),_=r.value;typeof _=="string"&&(_=new RegExp(_)),b.split("").every(g=>!!g.match(_))||m.preventDefault()}t.emit("paste",m,n)};return e.watch(l,m=>{!s.value&&m&&i(),t.emit("search-change",m,n)}),{search:l,clearSearch:c,handleSearchInput:u,handleKeypress:d,handlePaste:p}}function Wu(a,t,o){const{groupSelect:r,mode:n,groups:s,disabledProp:i}=e.toRefs(a),l=e.ref(null),c=d=>{d===void 0||d!==null&&d[i.value]||s.value&&d&&d.group&&(n.value==="single"||!r.value)||(l.value=d)};return{pointer:l,setPointer:c,clearPointer:()=>{c(null)}}}function Za(a,t=!0){return t?String(a).toLowerCase().trim():String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(/\p{Diacritic}/gu,"")}function qu(a){return Object.prototype.toString.call(a)==="[object Object]"}function Yu(a,t){const o=t.slice().sort();return a.length===t.length&&a.slice().sort().every(function(r,n){return r===o[n]})}function Ku(a,t,o){const{options:r,mode:n,trackBy:s,limit:i,hideSelected:l,createTag:c,createOption:u,label:d,appendNewTag:p,appendNewOption:m,multipleLabel:f,object:b,loading:_,delay:g,resolveOnLoad:y,minChars:h,filterResults:v,clearOnSearch:N,clearOnSelect:B,valueProp:V,allowAbsent:I,groupLabel:j,canDeselect:P,max:H,strict:F,closeOnSelect:A,closeOnDeselect:z,groups:Y,reverse:U,infinite:R,groupOptions:E,groupHideEmpty:$,groupSelect:w,onCreate:T,disabledProp:C,searchStart:x,searchFilter:q}=e.toRefs(a),Z=e.getCurrentInstance().proxy,L=o.iv,S=o.ev,D=o.search,te=o.clearSearch,pe=o.update,Ft=o.pointer,Ut=o.setPointer,qe=o.clearPointer,ka=o.focus,_o=o.deactivate,Ye=o.close,$a=o.localize,Ke=e.ref([]),Be=e.ref([]),_e=e.ref(!1),be=e.ref(null),Te=e.ref(R.value&&i.value===-1?10:i.value),Zt=e.computed(()=>c.value||u.value||!1),Ea=e.computed(()=>p.value!==void 0?p.value:m.value!==void 0?m.value:!0),ve=e.computed(()=>{if(Y.value){let k=nt.value||[],M=[];return k.forEach(G=>{$o(G[E.value]).forEach(ae=>{M.push(Object.assign({},ae,G[C.value]?{[C.value]:!0}:{}))})}),M}else{let k=$o(Be.value||[]);return Ke.value.length&&(k=k.concat(Ke.value)),k}}),Wt=e.computed(()=>{let k=ve.value;return U.value&&(k=k.reverse()),Ct.value.length&&(k=Ct.value.concat(k)),ko(k)}),Ge=e.computed(()=>{let k=Wt.value;return Te.value>0&&(k=k.slice(0,Te.value)),k}),nt=e.computed(()=>{if(!Y.value)return[];let k=[],M=Be.value||[];return Ke.value.length&&k.push({[j.value]:" ",[E.value]:[...Ke.value],__CREATE__:!0}),k.concat(M)}),Ba=e.computed(()=>{let k=[...nt.value].map(M=>({...M}));return Ct.value.length&&(k[0]&&k[0].__CREATE__?k[0][E.value]=[...Ct.value,...k[0][E.value]]:k=[{[j.value]:" ",[E.value]:[...Ct.value],__CREATE__:!0}].concat(k)),k}),vo=e.computed(()=>{if(!Y.value)return[];let k=Ba.value;return F7((k||[]).map((M,G)=>{const ae=$o(M[E.value]);return{...M,index:G,group:!0,[E.value]:ko(ae,!1).map(st=>Object.assign({},st,M[C.value]?{[C.value]:!0}:{})),__VISIBLE__:ko(ae).map(st=>Object.assign({},st,M[C.value]?{[C.value]:!0}:{}))}}))}),Co=e.computed(()=>{switch(n.value){case"single":return!ke(L.value[V.value]);case"multiple":case"tags":return!ke(L.value)&&L.value.length>0}}),S7=e.computed(()=>f!==void 0&&f.value!==void 0?f.value(L.value,Z):L.value&&L.value.length>1?`${L.value.length} options selected`:"1 option selected"),x7=e.computed(()=>!ve.value.length&&!_e.value&&!Ct.value.length),M7=e.computed(()=>ve.value.length>0&&Ge.value.length==0&&(D.value&&Y.value||!Y.value)),Ct=e.computed(()=>Zt.value===!1||!D.value?[]:z7(D.value)!==-1?[]:[{[V.value]:D.value,[it.value[0]]:D.value,[d.value]:D.value,__CREATE__:!0}]),it=e.computed(()=>s.value?Array.isArray(s.value)?s.value:[s.value]:[d.value]),A7=e.computed(()=>{switch(n.value){case"single":return null;case"multiple":case"tags":return[]}}),T7=e.computed(()=>_.value||_e.value),bt=k=>{switch(typeof k!="object"&&(k=Ie(k)),n.value){case"single":pe(k);break;case"multiple":case"tags":pe(L.value.concat(k));break}t.emit("select",Dr(k),k,Z)},yt=k=>{switch(typeof k!="object"&&(k=Ie(k)),n.value){case"single":zr();break;case"tags":case"multiple":pe(Array.isArray(k)?L.value.filter(M=>k.map(G=>G[V.value]).indexOf(M[V.value])===-1):L.value.filter(M=>M[V.value]!=k[V.value]));break}t.emit("deselect",Dr(k),k,Z)},Dr=k=>b.value?k:k[V.value],Pr=k=>{yt(k)},O7=(k,M)=>{if(M.button!==0){M.preventDefault();return}Pr(k)},zr=()=>{pe(A7.value),t.emit("clear",Z)},Oe=k=>{if(k.group!==void 0)return n.value==="single"?!1:P7(k[E.value])&&k[E.value].length;switch(n.value){case"single":return!ke(L.value)&&L.value[V.value]==k[V.value];case"tags":case"multiple":return!ke(L.value)&&L.value.map(M=>M[V.value]).indexOf(k[V.value])!==-1}},bo=k=>k[C.value]===!0,yo=()=>H===void 0||H.value===-1||!Co.value&&H.value>0?!1:L.value.length>=H.value,I7=k=>{if(!bo(k)){if(T&&T.value&&!Oe(k)&&k.__CREATE__&&(k={...k},delete k.__CREATE__,k=T.value(k,Z),k instanceof Promise)){_e.value=!0,k.then(M=>{_e.value=!1,Hr(M)});return}Hr(k)}},Hr=k=>{switch(k.__CREATE__&&(k={...k},delete k.__CREATE__),n.value){case"single":if(k&&Oe(k)){P.value&&yt(k),z.value&&(qe(),Ye());return}k&&wo(k),B.value&&te(),A.value&&(qe(),Ye()),k&&bt(k);break;case"multiple":if(k&&Oe(k)){yt(k),z.value&&(qe(),Ye());return}if(yo()){t.emit("max",Z);return}k&&(wo(k),bt(k)),B.value&&te(),l.value&&qe(),A.value&&Ye();break;case"tags":if(k&&Oe(k)){yt(k),z.value&&(qe(),Ye());return}if(yo()){t.emit("max",Z);return}k&&wo(k),B.value&&te(),k&&bt(k),l.value&&qe(),A.value&&Ye();break}A.value||ka()},L7=k=>{if(!(bo(k)||n.value==="single"||!w.value)){switch(n.value){case"multiple":case"tags":D7(k[E.value])?yt(k[E.value]):bt(k[E.value].filter(M=>L.value.map(G=>G[V.value]).indexOf(M[V.value])===-1).filter(M=>!M[C.value]).filter((M,G)=>L.value.length+1+G<=H.value||H.value===-1)),l.value&&Ft.value&&Ut(vo.value.filter(M=>!M[C.value])[Ft.value.index]);break}A.value&&_o()}},wo=k=>{Ie(k[V.value])===void 0&&Zt.value&&(t.emit("tag",k[V.value],Z),t.emit("option",k[V.value],Z),t.emit("create",k[V.value],Z),Ea.value&&R7(k),te())},j7=()=>{n.value!=="single"&&bt(Ge.value.filter(k=>!k.disabled&&!Oe(k)))},D7=k=>k.find(M=>!Oe(M)&&!M[C.value])===void 0,P7=k=>k.find(M=>!Oe(M))===void 0,Ie=k=>ve.value[ve.value.map(M=>String(M[V.value])).indexOf(String(k))],z7=k=>ve.value.findIndex(M=>it.value.some(G=>(parseInt(M[G])==M[G]?parseInt(M[G]):M[G])===(parseInt(k)==k?parseInt(k):k))),H7=k=>["tags","multiple"].indexOf(n.value)!==-1&&l.value&&Oe(k),R7=k=>{Ke.value.push(k)},F7=k=>$.value?k.filter(M=>D.value?M.__VISIBLE__.length:M[E.value].length):k.filter(M=>D.value?M.__VISIBLE__.length:!0),ko=(k,M=!0)=>{let G=k;if(D.value&&v.value){let ae=q.value;ae||(ae=(st,Fr,r4)=>it.value.some(Z7=>{let Ur=Za($a(st[Z7]),F.value);return x.value?Ur.startsWith(Za(Fr,F.value)):Ur.indexOf(Za(Fr,F.value))!==-1})),G=G.filter(st=>ae(st,D.value,Z))}return l.value&&M&&(G=G.filter(ae=>!H7(ae))),G},$o=k=>{let M=k;return qu(M)&&(M=Object.keys(M).map(G=>{let ae=M[G];return{[V.value]:G,[it.value[0]]:ae,[d.value]:ae}})),M=M.map(G=>typeof G=="object"?G:{[V.value]:G,[it.value[0]]:G,[d.value]:G}),M},Va=()=>{ke(S.value)||(L.value=Sa(S.value))},Na=k=>(_e.value=!0,new Promise((M,G)=>{r.value(D.value,Z).then(ae=>{Be.value=ae||[],typeof k=="function"&&k(ae),_e.value=!1}).catch(ae=>{console.error(ae),Be.value=[],_e.value=!1}).finally(()=>{M()})})),Eo=()=>{if(Co.value)if(n.value==="single"){let k=Ie(L.value[V.value]);if(k!==void 0){let M=k[d.value];L.value[d.value]=M,b.value&&(S.value[d.value]=M)}}else L.value.forEach((k,M)=>{let G=Ie(L.value[M][V.value]);if(G!==void 0){let ae=G[d.value];L.value[M][d.value]=ae,b.value&&(S.value[M][d.value]=ae)}})},U7=k=>{Na(k)},Sa=k=>ke(k)?n.value==="single"?{}:[]:b.value?k:n.value==="single"?Ie(k)||(I.value?{[d.value]:k,[V.value]:k,[it.value[0]]:k}:{}):k.filter(M=>!!Ie(M)||I.value).map(M=>Ie(M)||{[d.value]:M,[V.value]:M,[it.value[0]]:M}),Rr=()=>{be.value=e.watch(D,k=>{k.length<h.value||!k&&h.value!==0||(_e.value=!0,N.value&&(Be.value=[]),setTimeout(()=>{k==D.value&&r.value(D.value,Z).then(M=>{(k==D.value||!D.value)&&(Be.value=M,Ft.value=Ge.value.filter(G=>G[C.value]!==!0)[0]||null,_e.value=!1)}).catch(M=>{console.error(M)})},g.value))},{flush:"sync"})};if(n.value!=="single"&&!ke(S.value)&&!Array.isArray(S.value))throw new Error(`v-model must be an array when using "${n.value}" mode`);return r&&typeof r.value=="function"?y.value?Na(Va):b.value==!0&&Va():(Be.value=r.value,Va()),g.value>-1&&Rr(),e.watch(g,(k,M)=>{be.value&&be.value(),k>=0&&Rr()}),e.watch(S,k=>{if(ke(k)){pe(Sa(k),!1);return}switch(n.value){case"single":(b.value?k[V.value]!=L.value[V.value]:k!=L.value[V.value])&&pe(Sa(k),!1);break;case"multiple":case"tags":Yu(b.value?k.map(M=>M[V.value]):k,L.value.map(M=>M[V.value]))||pe(Sa(k),!1);break}},{deep:!0}),e.watch(r,(k,M)=>{typeof a.options=="function"?y.value&&(!M||k&&k.toString()!==M.toString())&&Na():(Be.value=a.options,Object.keys(L.value).length||Va(),Eo())}),e.watch(d,Eo),e.watch(i,(k,M)=>{Te.value=R.value&&k===-1?10:k}),{pfo:Wt,fo:Ge,filteredOptions:Ge,hasSelected:Co,multipleLabelText:S7,eo:ve,extendedOptions:ve,eg:nt,extendedGroups:nt,fg:vo,filteredGroups:vo,noOptions:x7,noResults:M7,resolving:_e,busy:T7,offset:Te,select:bt,deselect:yt,remove:Pr,selectAll:j7,clear:zr,isSelected:Oe,isDisabled:bo,isMax:yo,getOption:Ie,handleOptionClick:I7,handleGroupClick:L7,handleTagRemove:O7,refreshOptions:U7,resolveOptions:Na,refreshLabels:Eo}}function Gu(a,t,o){const{valueProp:r,showOptions:n,searchable:s,groupLabel:i,groups:l,mode:c,groupSelect:u,disabledProp:d,groupOptions:p}=e.toRefs(a),m=o.fo,f=o.fg,b=o.handleOptionClick,_=o.handleGroupClick,g=o.search,y=o.pointer,h=o.setPointer,v=o.clearPointer,N=o.multiselect,B=o.isOpen,V=e.computed(()=>m.value.filter(S=>!S[d.value])),I=e.computed(()=>f.value.filter(S=>!S[d.value])),j=e.computed(()=>c.value!=="single"&&u.value),P=e.computed(()=>y.value&&y.value.group),H=e.computed(()=>Z(y.value)),F=e.computed(()=>{const S=P.value?y.value:Z(y.value),D=I.value.map(pe=>pe[i.value]).indexOf(S[i.value]);let te=I.value[D-1];return te===void 0&&(te=z.value),te}),A=e.computed(()=>{let S=I.value.map(D=>D.label).indexOf(P.value?y.value[i.value]:Z(y.value)[i.value])+1;return I.value.length<=S&&(S=0),I.value[S]}),z=e.computed(()=>[...I.value].slice(-1)[0]),Y=e.computed(()=>y.value.__VISIBLE__.filter(S=>!S[d.value])[0]),U=e.computed(()=>{const S=H.value.__VISIBLE__.filter(D=>!D[d.value]);return S[S.map(D=>D[r.value]).indexOf(y.value[r.value])-1]}),R=e.computed(()=>{const S=Z(y.value).__VISIBLE__.filter(D=>!D[d.value]);return S[S.map(D=>D[r.value]).indexOf(y.value[r.value])+1]}),E=e.computed(()=>[...F.value.__VISIBLE__.filter(S=>!S[d.value])].slice(-1)[0]),$=e.computed(()=>[...z.value.__VISIBLE__.filter(S=>!S[d.value])].slice(-1)[0]),w=S=>y.value&&(!S.group&&y.value[r.value]===S[r.value]||S.group!==void 0&&y.value[i.value]===S[i.value])?!0:void 0,T=()=>{h(V.value[0]||null)},C=()=>{!y.value||y.value[d.value]===!0||(P.value?_(y.value):b(y.value))},x=()=>{if(y.value===null)h((l.value&&j.value?I.value[0].__CREATE__?V.value[0]:I.value[0]:V.value[0])||null);else if(l.value&&j.value){let S=P.value?Y.value:R.value;S===void 0&&(S=A.value,S.__CREATE__&&(S=S[p.value][0])),h(S||null)}else{let S=V.value.map(D=>D[r.value]).indexOf(y.value[r.value])+1;V.value.length<=S&&(S=0),h(V.value[S]||null)}e.nextTick(()=>{L()})},q=()=>{if(y.value===null){let S=V.value[V.value.length-1];l.value&&j.value&&(S=$.value,S===void 0&&(S=z.value)),h(S||null)}else if(l.value&&j.value){let S=P.value?E.value:U.value;S===void 0&&(S=P.value?F.value:H.value,S.__CREATE__&&(S=E.value,S===void 0&&(S=F.value))),h(S||null)}else{let S=V.value.map(D=>D[r.value]).indexOf(y.value[r.value])-1;S<0&&(S=V.value.length-1),h(V.value[S]||null)}e.nextTick(()=>{L()})},Z=S=>I.value.find(D=>D.__VISIBLE__.map(te=>te[r.value]).indexOf(S[r.value])!==-1),L=()=>{let S=N.value.querySelector("[data-pointed]");if(!S)return;let D=S.parentElement.parentElement;l.value&&(D=P.value?S.parentElement.parentElement.parentElement:S.parentElement.parentElement.parentElement.parentElement),S.offsetTop+S.offsetHeight>D.clientHeight+D.scrollTop&&(D.scrollTop=S.offsetTop+S.offsetHeight-D.clientHeight),S.offsetTop<D.scrollTop&&(D.scrollTop=S.offsetTop)};return e.watch(g,S=>{s.value&&(S.length&&n.value?T():v())}),e.watch(B,S=>{if(S){let D=N.value.querySelectorAll("[data-selected]")[0];if(!D)return;let te=D.parentElement.parentElement;e.nextTick(()=>{te.scrollTop>0||(te.scrollTop=D.offsetTop)})}}),{pointer:y,canPointGroups:j,isPointed:w,setPointerFirst:T,selectPointer:C,forwardPointer:x,backwardPointer:q}}function de(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var t=a.ownerDocument;return t&&t.defaultView||window}return a}function et(a){var t=de(a).Element;return a instanceof t||a instanceof Element}function ge(a){var t=de(a).HTMLElement;return a instanceof t||a instanceof HTMLElement}function Wa(a){if(typeof ShadowRoot>"u")return!1;var t=de(a).ShadowRoot;return a instanceof t||a instanceof ShadowRoot}var tt=Math.max,ma=Math.min,ft=Math.round;function qa(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function hr(){return!/^((?!chrome|android).)*safari/i.test(qa())}function ht(a,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var r=a.getBoundingClientRect(),n=1,s=1;t&&ge(a)&&(n=a.offsetWidth>0&&ft(r.width)/a.offsetWidth||1,s=a.offsetHeight>0&&ft(r.height)/a.offsetHeight||1);var i=et(a)?de(a):window,l=i.visualViewport,c=!hr()&&o,u=(r.left+(c&&l?l.offsetLeft:0))/n,d=(r.top+(c&&l?l.offsetTop:0))/s,p=r.width/n,m=r.height/s;return{width:p,height:m,top:d,right:u+p,bottom:d+m,left:u,x:u,y:d}}function Ya(a){var t=de(a),o=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:o,scrollTop:r}}function Xu(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function Qu(a){return a===de(a)||!ge(a)?Ya(a):Xu(a)}function $e(a){return a?(a.nodeName||"").toLowerCase():null}function Re(a){return((et(a)?a.ownerDocument:a.document)||window.document).documentElement}function Ka(a){return ht(Re(a)).left+Ya(a).scrollLeft}function xe(a){return de(a).getComputedStyle(a)}function Ga(a){var t=xe(a),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function Ju(a){var t=a.getBoundingClientRect(),o=ft(t.width)/a.offsetWidth||1,r=ft(t.height)/a.offsetHeight||1;return o!==1||r!==1}function e0(a,t,o){o===void 0&&(o=!1);var r=ge(t),n=ge(t)&&Ju(t),s=Re(t),i=ht(a,n,o),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!o)&&(($e(t)!=="body"||Ga(s))&&(l=Qu(t)),ge(t)?(c=ht(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):s&&(c.x=Ka(s))),{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function gr(a){var t=ht(a),o=a.offsetWidth,r=a.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:a.offsetLeft,y:a.offsetTop,width:o,height:r}}function fa(a){return $e(a)==="html"?a:a.assignedSlot||a.parentNode||(Wa(a)?a.host:null)||Re(a)}function _r(a){return["html","body","#document"].indexOf($e(a))>=0?a.ownerDocument.body:ge(a)&&Ga(a)?a:_r(fa(a))}function Pt(a,t){var o;t===void 0&&(t=[]);var r=_r(a),n=r===((o=a.ownerDocument)==null?void 0:o.body),s=de(r),i=n?[s].concat(s.visualViewport||[],Ga(r)?r:[]):r,l=t.concat(i);return n?l:l.concat(Pt(fa(i)))}function t0(a){return["table","td","th"].indexOf($e(a))>=0}function vr(a){return!ge(a)||xe(a).position==="fixed"?null:a.offsetParent}function a0(a){var t=/firefox/i.test(qa()),o=/Trident/i.test(qa());if(o&&ge(a)){var r=xe(a);if(r.position==="fixed")return null}var n=fa(a);for(Wa(n)&&(n=n.host);ge(n)&&["html","body"].indexOf($e(n))<0;){var s=xe(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function ha(a){for(var t=de(a),o=vr(a);o&&t0(o)&&xe(o).position==="static";)o=vr(o);return o&&($e(o)==="html"||$e(o)==="body"&&xe(o).position==="static")?t:o||a0(a)||t}var Ce="top",Ee="bottom",Fe="right",Me="left",Xa="auto",ga=[Ce,Ee,Fe,Me],gt="start",zt="end",o0="clippingParents",Cr="viewport",Ht="popper",r0="reference",br=ga.reduce(function(a,t){return a.concat([t+"-"+gt,t+"-"+zt])},[]),n0=[].concat(ga,[Xa]).reduce(function(a,t){return a.concat([t,t+"-"+gt,t+"-"+zt])},[]),i0="beforeRead",s0="read",l0="afterRead",c0="beforeMain",d0="main",p0="afterMain",u0="beforeWrite",m0="write",f0="afterWrite",h0=[i0,s0,l0,c0,d0,p0,u0,m0,f0];function g0(a){var t=new Map,o=new Set,r=[];a.forEach(function(s){t.set(s.name,s)});function n(s){o.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!o.has(l)){var c=t.get(l);c&&n(c)}}),r.push(s)}return a.forEach(function(s){o.has(s.name)||n(s)}),r}function _0(a){var t=g0(a);return h0.reduce(function(o,r){return o.concat(t.filter(function(n){return n.phase===r}))},[])}function v0(a){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(a())})})),t}}function C0(a){var t=a.reduce(function(o,r){var n=o[r.name];return o[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,o},{});return Object.keys(t).map(function(o){return t[o]})}function b0(a,t){var o=de(a),r=Re(a),n=o.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,c=0;if(n){s=n.width,i=n.height;var u=hr();(u||!u&&t==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}return{width:s,height:i,x:l+Ka(a),y:c}}function y0(a){var t,o=Re(a),r=Ya(a),n=(t=a.ownerDocument)==null?void 0:t.body,s=tt(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=tt(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),l=-r.scrollLeft+Ka(a),c=-r.scrollTop;return xe(n||o).direction==="rtl"&&(l+=tt(o.clientWidth,n?n.clientWidth:0)-s),{width:s,height:i,x:l,y:c}}function w0(a,t){var o=t.getRootNode&&t.getRootNode();if(a.contains(t))return!0;if(o&&Wa(o)){var r=t;do{if(r&&a.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Qa(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function k0(a,t){var o=ht(a,!1,t==="fixed");return o.top=o.top+a.clientTop,o.left=o.left+a.clientLeft,o.bottom=o.top+a.clientHeight,o.right=o.left+a.clientWidth,o.width=a.clientWidth,o.height=a.clientHeight,o.x=o.left,o.y=o.top,o}function yr(a,t,o){return t===Cr?Qa(b0(a,o)):et(t)?k0(t,o):Qa(y0(Re(a)))}function $0(a){var t=Pt(fa(a)),o=["absolute","fixed"].indexOf(xe(a).position)>=0,r=o&&ge(a)?ha(a):a;return et(r)?t.filter(function(n){return et(n)&&w0(n,r)&&$e(n)!=="body"}):[]}function E0(a,t,o,r){var n=t==="clippingParents"?$0(a):[].concat(t),s=[].concat(n,[o]),i=s[0],l=s.reduce(function(c,u){var d=yr(a,u,r);return c.top=tt(d.top,c.top),c.right=ma(d.right,c.right),c.bottom=ma(d.bottom,c.bottom),c.left=tt(d.left,c.left),c},yr(a,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ue(a){return a.split("-")[0]}function _t(a){return a.split("-")[1]}function wr(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function kr(a){var t=a.reference,o=a.element,r=a.placement,n=r?Ue(r):null,s=r?_t(r):null,i=t.x+t.width/2-o.width/2,l=t.y+t.height/2-o.height/2,c;switch(n){case Ce:c={x:i,y:t.y-o.height};break;case Ee:c={x:i,y:t.y+t.height};break;case Fe:c={x:t.x+t.width,y:l};break;case Me:c={x:t.x-o.width,y:l};break;default:c={x:t.x,y:t.y}}var u=n?wr(n):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case gt:c[u]=c[u]-(t[d]/2-o[d]/2);break;case zt:c[u]=c[u]+(t[d]/2-o[d]/2);break}}return c}function $r(){return{top:0,right:0,bottom:0,left:0}}function B0(a){return Object.assign({},$r(),a)}function V0(a,t){return t.reduce(function(o,r){return o[r]=a,o},{})}function Ja(a,t){t===void 0&&(t={});var o=t,r=o.placement,n=r===void 0?a.placement:r,s=o.strategy,i=s===void 0?a.strategy:s,l=o.boundary,c=l===void 0?o0:l,u=o.rootBoundary,d=u===void 0?Cr:u,p=o.elementContext,m=p===void 0?Ht:p,f=o.altBoundary,b=f===void 0?!1:f,_=o.padding,g=_===void 0?0:_,y=B0(typeof g!="number"?g:V0(g,ga)),h=m===Ht?r0:Ht,v=a.rects.popper,N=a.elements[b?h:m],B=E0(et(N)?N:N.contextElement||Re(a.elements.popper),c,d,i),V=ht(a.elements.reference),I=kr({reference:V,element:v,strategy:"absolute",placement:n}),j=Qa(Object.assign({},v,I)),P=m===Ht?j:V,H={top:B.top-P.top+y.top,bottom:P.bottom-B.bottom+y.bottom,left:B.left-P.left+y.left,right:P.right-B.right+y.right},F=a.modifiersData.offset;if(m===Ht&&F){var A=F[n];Object.keys(H).forEach(function(z){var Y=[Fe,Ee].indexOf(z)>=0?1:-1,U=[Ce,Ee].indexOf(z)>=0?"y":"x";H[z]+=A[U]*Y})}return H}var Er={placement:"bottom",modifiers:[],strategy:"absolute"};function Br(){for(var a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function N0(a){a===void 0&&(a={});var t=a,o=t.defaultModifiers,r=o===void 0?[]:o,n=t.defaultOptions,s=n===void 0?Er:n;return function(l,c,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Er,s),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},p=[],m=!1,f={state:d,setOptions:function(y){var h=typeof y=="function"?y(d.options):y;_(),d.options=Object.assign({},s,d.options,h),d.scrollParents={reference:et(l)?Pt(l):l.contextElement?Pt(l.contextElement):[],popper:Pt(c)};var v=_0(C0([].concat(r,d.options.modifiers)));return d.orderedModifiers=v.filter(function(N){return N.enabled}),b(),f.update()},forceUpdate:function(){if(!m){var y=d.elements,h=y.reference,v=y.popper;if(Br(h,v)){d.rects={reference:e0(h,ha(v),d.options.strategy==="fixed"),popper:gr(v)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(H){return d.modifiersData[H.name]=Object.assign({},H.data)});for(var N=0;N<d.orderedModifiers.length;N++){if(d.reset===!0){d.reset=!1,N=-1;continue}var B=d.orderedModifiers[N],V=B.fn,I=B.options,j=I===void 0?{}:I,P=B.name;typeof V=="function"&&(d=V({state:d,options:j,name:P,instance:f})||d)}}}},update:v0(function(){return new Promise(function(g){f.forceUpdate(),g(d)})}),destroy:function(){_(),m=!0}};if(!Br(l,c))return f;f.setOptions(u).then(function(g){!m&&u.onFirstUpdate&&u.onFirstUpdate(g)});function b(){d.orderedModifiers.forEach(function(g){var y=g.name,h=g.options,v=h===void 0?{}:h,N=g.effect;if(typeof N=="function"){var B=N({state:d,name:y,instance:f,options:v}),V=function(){};p.push(B||V)}})}function _(){p.forEach(function(g){return g()}),p=[]}return f}}var _a={passive:!0};function S0(a){var t=a.state,o=a.instance,r=a.options,n=r.scroll,s=n===void 0?!0:n,i=r.resize,l=i===void 0?!0:i,c=de(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",o.update,_a)}),l&&c.addEventListener("resize",o.update,_a),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",o.update,_a)}),l&&c.removeEventListener("resize",o.update,_a)}}var x0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:S0,data:{}};function M0(a){var t=a.state,o=a.name;t.modifiersData[o]=kr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var A0={name:"popperOffsets",enabled:!0,phase:"read",fn:M0,data:{}},T0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O0(a,t){var o=a.x,r=a.y,n=t.devicePixelRatio||1;return{x:ft(o*n)/n||0,y:ft(r*n)/n||0}}function Vr(a){var t,o=a.popper,r=a.popperRect,n=a.placement,s=a.variation,i=a.offsets,l=a.position,c=a.gpuAcceleration,u=a.adaptive,d=a.roundOffsets,p=a.isFixed,m=i.x,f=m===void 0?0:m,b=i.y,_=b===void 0?0:b,g=typeof d=="function"?d({x:f,y:_}):{x:f,y:_};f=g.x,_=g.y;var y=i.hasOwnProperty("x"),h=i.hasOwnProperty("y"),v=Me,N=Ce,B=window;if(u){var V=ha(o),I="clientHeight",j="clientWidth";if(V===de(o)&&(V=Re(o),xe(V).position!=="static"&&l==="absolute"&&(I="scrollHeight",j="scrollWidth")),V=V,n===Ce||(n===Me||n===Fe)&&s===zt){N=Ee;var P=p&&V===B&&B.visualViewport?B.visualViewport.height:V[I];_-=P-r.height,_*=c?1:-1}if(n===Me||(n===Ce||n===Ee)&&s===zt){v=Fe;var H=p&&V===B&&B.visualViewport?B.visualViewport.width:V[j];f-=H-r.width,f*=c?1:-1}}var F=Object.assign({position:l},u&&T0),A=d===!0?O0({x:f,y:_},de(o)):{x:f,y:_};if(f=A.x,_=A.y,c){var z;return Object.assign({},F,(z={},z[N]=h?"0":"",z[v]=y?"0":"",z.transform=(B.devicePixelRatio||1)<=1?"translate("+f+"px, "+_+"px)":"translate3d("+f+"px, "+_+"px, 0)",z))}return Object.assign({},F,(t={},t[N]=h?_+"px":"",t[v]=y?f+"px":"",t.transform="",t))}function I0(a){var t=a.state,o=a.options,r=o.gpuAcceleration,n=r===void 0?!0:r,s=o.adaptive,i=s===void 0?!0:s,l=o.roundOffsets,c=l===void 0?!0:l,u={placement:Ue(t.placement),variation:_t(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Vr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Vr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var L0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:I0,data:{}};function j0(a){var t=a.state;Object.keys(t.elements).forEach(function(o){var r=t.styles[o]||{},n=t.attributes[o]||{},s=t.elements[o];!ge(s)||!$e(s)||(Object.assign(s.style,r),Object.keys(n).forEach(function(i){var l=n[i];l===!1?s.removeAttribute(i):s.setAttribute(i,l===!0?"":l)}))})}function D0(a){var t=a.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(r){var n=t.elements[r],s=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:o[r]),l=i.reduce(function(c,u){return c[u]="",c},{});!ge(n)||!$e(n)||(Object.assign(n.style,l),Object.keys(s).forEach(function(c){n.removeAttribute(c)}))})}}var P0={name:"applyStyles",enabled:!0,phase:"write",fn:j0,effect:D0,requires:["computeStyles"]},z0=[x0,A0,L0,P0],H0=N0({defaultModifiers:z0});function R0(a){return a==="x"?"y":"x"}function va(a,t,o){return tt(a,ma(t,o))}function F0(a,t,o){var r=va(a,t,o);return r>o?o:r}function U0(a){var t=a.state,o=a.options,r=a.name,n=o.mainAxis,s=n===void 0?!0:n,i=o.altAxis,l=i===void 0?!1:i,c=o.boundary,u=o.rootBoundary,d=o.altBoundary,p=o.padding,m=o.tether,f=m===void 0?!0:m,b=o.tetherOffset,_=b===void 0?0:b,g=Ja(t,{boundary:c,rootBoundary:u,padding:p,altBoundary:d}),y=Ue(t.placement),h=_t(t.placement),v=!h,N=wr(y),B=R0(N),V=t.modifiersData.popperOffsets,I=t.rects.reference,j=t.rects.popper,P=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,H=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(V){if(s){var z,Y=N==="y"?Ce:Me,U=N==="y"?Ee:Fe,R=N==="y"?"height":"width",E=V[N],$=E+g[Y],w=E-g[U],T=f?-j[R]/2:0,C=h===gt?I[R]:j[R],x=h===gt?-j[R]:-I[R],q=t.elements.arrow,Z=f&&q?gr(q):{width:0,height:0},L=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:$r(),S=L[Y],D=L[U],te=va(0,I[R],Z[R]),pe=v?I[R]/2-T-te-S-H.mainAxis:C-te-S-H.mainAxis,Ft=v?-I[R]/2+T+te+D+H.mainAxis:x+te+D+H.mainAxis,Ut=t.elements.arrow&&ha(t.elements.arrow),qe=Ut?N==="y"?Ut.clientTop||0:Ut.clientLeft||0:0,ka=(z=F==null?void 0:F[N])!=null?z:0,_o=E+pe-ka-qe,Ye=E+Ft-ka,$a=va(f?ma($,_o):$,E,f?tt(w,Ye):w);V[N]=$a,A[N]=$a-E}if(l){var Ke,Be=N==="x"?Ce:Me,_e=N==="x"?Ee:Fe,be=V[B],Te=B==="y"?"height":"width",Zt=be+g[Be],Ea=be-g[_e],ve=[Ce,Me].indexOf(y)!==-1,Wt=(Ke=F==null?void 0:F[B])!=null?Ke:0,Ge=ve?Zt:be-I[Te]-j[Te]-Wt+H.altAxis,nt=ve?be+I[Te]+j[Te]-Wt-H.altAxis:Ea,Ba=f&&ve?F0(Ge,be,nt):va(f?Ge:Zt,be,f?nt:Ea);V[B]=Ba,A[B]=Ba-be}t.modifiersData[r]=A}}var Z0={name:"preventOverflow",enabled:!0,phase:"main",fn:U0,requiresIfExists:["offset"]},W0={left:"right",right:"left",bottom:"top",top:"bottom"};function Ca(a){return a.replace(/left|right|bottom|top/g,function(t){return W0[t]})}var q0={start:"end",end:"start"};function Nr(a){return a.replace(/start|end/g,function(t){return q0[t]})}function Y0(a,t){t===void 0&&(t={});var o=t,r=o.placement,n=o.boundary,s=o.rootBoundary,i=o.padding,l=o.flipVariations,c=o.allowedAutoPlacements,u=c===void 0?n0:c,d=_t(r),p=d?l?br:br.filter(function(b){return _t(b)===d}):ga,m=p.filter(function(b){return u.indexOf(b)>=0});m.length===0&&(m=p);var f=m.reduce(function(b,_){return b[_]=Ja(a,{placement:_,boundary:n,rootBoundary:s,padding:i})[Ue(_)],b},{});return Object.keys(f).sort(function(b,_){return f[b]-f[_]})}function K0(a){if(Ue(a)===Xa)return[];var t=Ca(a);return[Nr(a),t,Nr(t)]}function G0(a){var t=a.state,o=a.options,r=a.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,s=n===void 0?!0:n,i=o.altAxis,l=i===void 0?!0:i,c=o.fallbackPlacements,u=o.padding,d=o.boundary,p=o.rootBoundary,m=o.altBoundary,f=o.flipVariations,b=f===void 0?!0:f,_=o.allowedAutoPlacements,g=t.options.placement,y=Ue(g),h=y===g,v=c||(h||!b?[Ca(g)]:K0(g)),N=[g].concat(v).reduce(function(Z,L){return Z.concat(Ue(L)===Xa?Y0(t,{placement:L,boundary:d,rootBoundary:p,padding:u,flipVariations:b,allowedAutoPlacements:_}):L)},[]),B=t.rects.reference,V=t.rects.popper,I=new Map,j=!0,P=N[0],H=0;H<N.length;H++){var F=N[H],A=Ue(F),z=_t(F)===gt,Y=[Ce,Ee].indexOf(A)>=0,U=Y?"width":"height",R=Ja(t,{placement:F,boundary:d,rootBoundary:p,altBoundary:m,padding:u}),E=Y?z?Fe:Me:z?Ee:Ce;B[U]>V[U]&&(E=Ca(E));var $=Ca(E),w=[];if(s&&w.push(R[A]<=0),l&&w.push(R[E]<=0,R[$]<=0),w.every(function(Z){return Z})){P=F,j=!1;break}I.set(F,w)}if(j)for(var T=b?3:1,C=function(L){var S=N.find(function(D){var te=I.get(D);if(te)return te.slice(0,L).every(function(pe){return pe})});if(S)return P=S,"break"},x=T;x>0;x--){var q=C(x);if(q==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}var X0={name:"flip",enabled:!0,phase:"main",fn:G0,requiresIfExists:["offset"],data:{_skip:!1}};function Q0(a,t,o){const{disabled:r,appendTo:n,appendToBody:s,openDirection:i}=e.toRefs(a),l=e.getCurrentInstance().proxy,c=o.multiselect,u=o.dropdown,d=e.ref(!1),p=e.ref(null),m=e.ref(null),f=e.computed(()=>n.value||s.value),b=e.computed(()=>i.value==="top"&&m.value==="bottom"||i.value==="bottom"&&m.value!=="top"?"bottom":"top"),_=()=>{d.value||r.value||(d.value=!0,t.emit("open",l),f.value&&e.nextTick(()=>{y()}))},g=()=>{d.value&&(d.value=!1,t.emit("close",l))},y=()=>{if(!p.value)return;let v=parseInt(window.getComputedStyle(u.value).borderTopWidth.replace("px","")),N=parseInt(window.getComputedStyle(u.value).borderBottomWidth.replace("px",""));p.value.setOptions(B=>({...B,modifiers:[...B.modifiers,{name:"offset",options:{offset:[0,(b.value==="top"?v:N)*-1]}}]})),p.value.update()},h=v=>{for(;v&&v!==document.body;){if(getComputedStyle(v).position==="fixed")return!0;v=v.parentElement}return!1};return e.onMounted(()=>{f.value&&(p.value=H0(c.value,u.value,{strategy:h(c.value)?"fixed":void 0,placement:i.value,modifiers:[Z0,X0,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:v})=>{v.styles.popper.width=`${v.rects.reference.width}px`},effect:({state:v})=>{v.elements.popper.style.width=`${v.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:v}){m.value=v.placement}}]}))}),e.onBeforeUnmount(()=>{!f.value||!p.value||(p.value.destroy(),p.value=null)}),{popper:p,isOpen:d,open:_,close:g,placement:b,updatePopper:y}}function J0(a,t,o){const{searchable:r,disabled:n,clearOnBlur:s}=e.toRefs(a),i=o.input,l=o.open,c=o.close,u=o.clearSearch,d=o.isOpen,p=o.wrapper,m=o.tags,f=e.ref(!1),b=e.ref(!1),_=e.computed(()=>r.value||n.value?-1:0),g=()=>{r.value&&i.value.blur(),p.value.blur()},y=()=>{r.value&&!n.value&&i.value.focus()},h=(j=!0)=>{n.value||(f.value=!0,j&&l())},v=()=>{f.value=!1,setTimeout(()=>{f.value||(c(),s.value&&u())},1)};return{tabindex:_,isActive:f,mouseClicked:b,blur:g,focus:y,activate:h,deactivate:v,handleFocusIn:j=>{j.target.closest("[data-tags]")&&j.target.nodeName!=="INPUT"||j.target.closest("[data-clear]")||h(b.value)},handleFocusOut:()=>{v()},handleCaretClick:()=>{v(),g()},handleMousedown:j=>{b.value=!0,d.value&&(j.target.isEqualNode(p.value)||j.target.isEqualNode(m.value))?setTimeout(()=>{v()},0):!d.value&&(document.activeElement.isEqualNode(p.value)||document.activeElement.isEqualNode(i.value))&&h(),setTimeout(()=>{b.value=!1},0)}}}function em(a,t,o){const{mode:r,addTagOn:n,openDirection:s,searchable:i,showOptions:l,valueProp:c,groups:u,addOptionOn:d,createTag:p,createOption:m,reverse:f}=e.toRefs(a),b=e.getCurrentInstance().proxy,_=o.iv,g=o.update,y=o.deselect,h=o.search,v=o.setPointer,N=o.selectPointer,B=o.backwardPointer,V=o.forwardPointer,I=o.multiselect,j=o.wrapper,P=o.tags,H=o.isOpen,F=o.open,A=o.blur,z=o.fo,Y=e.computed(()=>p.value||m.value||!1),U=e.computed(()=>n.value!==void 0?n.value:d.value!==void 0?d.value:["enter"]),R=()=>{r.value==="tags"&&!l.value&&Y.value&&i.value&&!u.value&&v(z.value[z.value.map(w=>w[c.value]).indexOf(h.value)])};return{handleKeydown:w=>{t.emit("keydown",w,b);let T,C;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(w.key)!==-1&&r.value==="tags"&&(T=[...I.value.querySelectorAll("[data-tags] > *")].filter(x=>x!==P.value),C=T.findIndex(x=>x===document.activeElement)),w.key){case"Backspace":if(r.value==="single"||i.value&&[null,""].indexOf(h.value)===-1||_.value.length===0)return;let x=_.value.filter(q=>!q.disabled&&q.remove!==!1);x.length&&y(x[x.length-1]);break;case"Enter":if(w.preventDefault(),w.keyCode===229)return;if(C!==-1&&C!==void 0){g([..._.value].filter((q,Z)=>Z!==C)),C===T.length-1&&(T.length-1?T[T.length-2].focus():i.value?P.value.querySelector("input").focus():j.value.focus());return}if(U.value.indexOf("enter")===-1&&Y.value)return;R(),N();break;case" ":if(!Y.value&&!i.value){w.preventDefault(),R(),N();return}if(!Y.value)return!1;if(U.value.indexOf("space")===-1&&Y.value)return;w.preventDefault(),R(),N();break;case"Tab":case";":case",":if(U.value.indexOf(w.key.toLowerCase())===-1||!Y.value)return;R(),N(),w.preventDefault();break;case"Escape":A();break;case"ArrowUp":if(w.preventDefault(),!l.value)return;H.value||F(),B();break;case"ArrowDown":if(w.preventDefault(),!l.value)return;H.value||F(),V();break;case"ArrowLeft":if(i.value&&P.value&&P.value.querySelector("input").selectionStart||w.shiftKey||r.value!=="tags"||!_.value||!_.value.length)return;w.preventDefault(),C===-1?T[T.length-1].focus():C>0&&T[C-1].focus();break;case"ArrowRight":if(C===-1||w.shiftKey||r.value!=="tags"||!_.value||!_.value.length)return;w.preventDefault(),T.length>C+1?T[C+1].focus():i.value?P.value.querySelector("input").focus():i.value||j.value.focus();break}},handleKeyup:w=>{t.emit("keyup",w,b)},preparePointer:R}}function tm(a,t,o){const{classes:r,disabled:n,showOptions:s,breakTags:i}=e.toRefs(a),l=o.isOpen,c=o.isPointed,u=o.isSelected,d=o.isDisabled,p=o.isActive,m=o.canPointGroups,f=o.resolving,b=o.fo,_=o.placement,g=e.computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...r.value})),y=e.computed(()=>!!(l.value&&s.value&&(!f.value||f.value&&b.value.length)));return{classList:e.computed(()=>{const v=g.value;return{container:[v.container].concat(n.value?v.containerDisabled:[]).concat(y.value&&_.value==="top"?v.containerOpenTop:[]).concat(y.value&&_.value!=="top"?v.containerOpen:[]).concat(p.value?v.containerActive:[]),wrapper:v.wrapper,spacer:v.spacer,singleLabel:v.singleLabel,singleLabelText:v.singleLabelText,multipleLabel:v.multipleLabel,search:v.search,tags:v.tags,tag:[v.tag].concat(n.value?v.tagDisabled:[]),tagWrapper:[v.tagWrapper,i.value?v.tagWrapperBreak:null],tagDisabled:v.tagDisabled,tagRemove:v.tagRemove,tagRemoveIcon:v.tagRemoveIcon,tagsSearchWrapper:v.tagsSearchWrapper,tagsSearch:v.tagsSearch,tagsSearchCopy:v.tagsSearchCopy,placeholder:v.placeholder,caret:[v.caret].concat(l.value?v.caretOpen:[]),clear:v.clear,clearIcon:v.clearIcon,spinner:v.spinner,inifinite:v.inifinite,inifiniteSpinner:v.inifiniteSpinner,dropdown:[v.dropdown].concat(_.value==="top"?v.dropdownTop:[]).concat(!l.value||!s.value||!y.value?v.dropdownHidden:[]),options:[v.options].concat(_.value==="top"?v.optionsTop:[]),group:v.group,groupLabel:N=>{let B=[v.groupLabel];return c(N)?B.push(u(N)?v.groupLabelSelectedPointed:v.groupLabelPointed):u(N)&&m.value?B.push(d(N)?v.groupLabelSelectedDisabled:v.groupLabelSelected):d(N)&&B.push(v.groupLabelDisabled),m.value&&B.push(v.groupLabelPointable),B},groupOptions:v.groupOptions,option:(N,B)=>{let V=[v.option];return c(N)?V.push(u(N)?v.optionSelectedPointed:v.optionPointed):u(N)?V.push(d(N)?v.optionSelectedDisabled:v.optionSelected):(d(N)||B&&d(B))&&V.push(v.optionDisabled),V},noOptions:v.noOptions,noResults:v.noResults,assist:v.assist,fakeInput:v.fakeInput}}),showDropdown:y}}function am(a,t,o){const{limit:r,infinite:n}=e.toRefs(a),s=o.isOpen,i=o.offset,l=o.search,c=o.pfo,u=o.eo,d=e.ref(null),p=e.ref(null),m=e.computed(()=>i.value<c.value.length),f=_=>{const{isIntersecting:g,target:y}=_[0];if(g){const h=y.offsetParent,v=h.scrollTop;i.value+=r.value==-1?10:r.value,e.nextTick(()=>{h.scrollTop=v})}},b=()=>{s.value&&i.value<c.value.length?d.value.observe(p.value):!s.value&&d.value&&d.value.disconnect()};return e.watch(s,()=>{n.value&&b()}),e.watch(l,()=>{n.value&&(i.value=r.value,b())},{flush:"post"}),e.watch(u,()=>{n.value&&b()},{immediate:!1,flush:"post"}),e.onMounted(()=>{window&&window.IntersectionObserver&&(d.value=new IntersectionObserver(f))}),{hasMore:m,infiniteLoader:p}}function om(a,t,o){const{placeholder:r,id:n,valueProp:s,label:i,mode:l,groupLabel:c,aria:u,searchable:d}=e.toRefs(a),p=o.pointer,m=o.iv,f=o.hasSelected,b=o.multipleLabelText,_=e.ref(null),g=e.computed(()=>{let A=[];return n&&n.value&&A.push(n.value),A.push("assist"),A.join("-")}),y=e.computed(()=>{let A=[];return n&&n.value&&A.push(n.value),A.push("multiselect-options"),A.join("-")}),h=e.computed(()=>{let A=[];if(n&&n.value&&A.push(n.value),p.value)return A.push(p.value.group?"multiselect-group":"multiselect-option"),A.push(p.value.group?p.value.index:p.value[s.value]),A.join("-")}),v=e.computed(()=>r.value),N=e.computed(()=>l.value!=="single"),B=e.computed(()=>{let A="";return l.value==="single"&&f.value&&(A+=m.value[i.value]),l.value==="multiple"&&f.value&&(A+=b.value),l.value==="tags"&&f.value&&(A+=m.value.map(z=>z[i.value]).join(", ")),A}),V=e.computed(()=>{let A={...u.value};return d.value&&(A["aria-labelledby"]=A["aria-labelledby"]?`${g.value} ${A["aria-labelledby"]}`:g.value,B.value&&A["aria-label"]&&(A["aria-label"]=`${B.value}, ${A["aria-label"]}`)),A}),I=A=>{let z=[];return n&&n.value&&z.push(n.value),z.push("multiselect-option"),z.push(A[s.value]),z.join("-")},j=A=>{let z=[];return n&&n.value&&z.push(n.value),z.push("multiselect-group"),z.push(A.index),z.join("-")},P=A=>{let z=[];return z.push(A),z.join(" ")},H=A=>{let z=[];return z.push(A),z.join(" ")},F=A=>`${A} ❎`;return e.onMounted(()=>{if(n&&n.value&&document&&document.querySelector){let A=document.querySelector(`[for="${n.value}"]`);_.value=A?A.innerText:null}}),{arias:V,ariaLabel:B,ariaAssist:g,ariaControls:y,ariaPlaceholder:v,ariaMultiselectable:N,ariaActiveDescendant:h,ariaOptionId:I,ariaOptionLabel:P,ariaGroupId:j,ariaGroupLabel:H,ariaTagLabel:F}}function rm(a,t,o){const{locale:r,fallbackLocale:n}=e.toRefs(a);return{localize:i=>!i||typeof i!="object"?i:i&&i[r.value]?i[r.value]:i&&r.value&&i[r.value.toUpperCase()]?i[r.value.toUpperCase()]:i&&i[n.value]?i[n.value]:i&&n.value&&i[n.value.toUpperCase()]?i[n.value.toUpperCase()]:i&&Object.keys(i)[0]?i[Object.keys(i)[0]]:""}}function nm(a,t,o){const r=e.ref(null),n=e.ref(null),s=e.ref(null),i=e.ref(null),l=e.ref(null);return{multiselect:r,wrapper:n,tags:s,input:i,dropdown:l}}function im(a,t,o,r={}){return o.forEach(n=>{n&&(r={...r,...n(a,t,r)})}),r}var Ze={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String}},setup(a,t){return im(a,t,[nm,rm,Uu,Wu,Q0,Zu,Fu,J0,Ku,am,Gu,em,tm,om])},beforeMount(){var a,t;((t=(a=this.$root.constructor)==null?void 0:a.version)!=null&&t.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const sm=["id","dir"],lm=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],cm=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],dm=["onKeyup","aria-label"],pm=["onClick"],um=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],mm=["innerHTML"],fm=["id"],hm=["id"],gm=["id","aria-label","aria-selected"],_m=["data-pointed","onMouseenter","onMousedown"],vm=["innerHTML"],Cm=["aria-label"],bm=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],ym=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],wm=["innerHTML"],km=["innerHTML"],$m=["value"],Em=["name","value"],Bm=["name","value"],Vm=["id"];function Nm(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("div",{ref:"multiselect",class:e.normalizeClass(a.classList.container),id:o.searchable?void 0:o.id,dir:o.rtl?"rtl":void 0,onFocusin:t[10]||(t[10]=(...i)=>a.handleFocusIn&&a.handleFocusIn(...i)),onFocusout:t[11]||(t[11]=(...i)=>a.handleFocusOut&&a.handleFocusOut(...i)),onKeyup:t[12]||(t[12]=(...i)=>a.handleKeyup&&a.handleKeyup(...i)),onKeydown:t[13]||(t[13]=(...i)=>a.handleKeydown&&a.handleKeydown(...i))},[e.createElementVNode("div",e.mergeProps({class:a.classList.wrapper,onMousedown:t[9]||(t[9]=(...i)=>a.handleMousedown&&a.handleMousedown(...i)),ref:"wrapper",tabindex:a.tabindex,"aria-controls":o.searchable?void 0:a.ariaControls,"aria-placeholder":o.searchable?void 0:a.ariaPlaceholder,"aria-expanded":o.searchable?void 0:a.isOpen,"aria-activedescendant":o.searchable?void 0:a.ariaActiveDescendant,"aria-multiselectable":o.searchable?void 0:a.ariaMultiselectable,role:o.searchable?void 0:"combobox"},o.searchable?{}:a.arias),[e.createCommentVNode(" Search "),o.mode!=="tags"&&o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.search,autocomplete:o.autocomplete,id:o.searchable?o.id:void 0,onInput:t[0]||(t[0]=(...i)=>a.handleSearchInput&&a.handleSearchInput(...i)),onKeypress:t[1]||(t[1]=(...i)=>a.handleKeypress&&a.handleKeypress(...i)),onPaste:t[2]||(t[2]=e.withModifiers((...i)=>a.handlePaste&&a.handlePaste(...i),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,cm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Tags (with search) "),o.mode=="tags"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(a.classList.tags),"data-tags":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.iv,(i,l,c)=>e.renderSlot(a.$slots,"tag",{option:i,handleTagRemove:a.handleTagRemove,disabled:o.disabled},()=>[(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([a.classList.tag,i.disabled?a.classList.tagDisabled:null]),tabindex:"-1",onKeyup:e.withKeys(u=>a.handleTagRemove(i,u),["enter"]),key:c,"aria-label":a.ariaTagLabel(a.localize(i[o.label]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagWrapper)},e.toDisplayString(a.localize(i[o.label])),3),!o.disabled&&!i.disabled?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(a.classList.tagRemove),onClick:e.withModifiers(u=>a.handleTagRemove(i,u),["stop"])},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagRemoveIcon)},null,2)],10,pm)):e.createCommentVNode("v-if",!0)],42,dm))])),256)),e.createElementVNode("div",{class:e.normalizeClass(a.classList.tagsSearchWrapper),ref:"tags"},[e.createCommentVNode(" Used for measuring search width "),e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagsSearchCopy)},e.toDisplayString(a.search),3),e.createCommentVNode(" Actual search input "),o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.tagsSearch,id:o.searchable?o.id:void 0,autocomplete:o.autocomplete,onInput:t[3]||(t[3]=(...i)=>a.handleSearchInput&&a.handleSearchInput(...i)),onKeypress:t[4]||(t[4]=(...i)=>a.handleKeypress&&a.handleKeypress(...i)),onPaste:t[5]||(t[5]=e.withModifiers((...i)=>a.handlePaste&&a.handlePaste(...i),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,um)):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Single label "),o.mode=="single"&&a.hasSelected&&!a.search&&a.iv?e.renderSlot(a.$slots,"singlelabel",{key:2,value:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.singleLabel)},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.singleLabelText)},e.toDisplayString(a.localize(a.iv[o.label])),3)],2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Multiple label "),o.mode=="multiple"&&a.hasSelected&&!a.search?e.renderSlot(a.$slots,"multiplelabel",{key:3,values:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.multipleLabel),innerHTML:a.multipleLabelText},null,10,mm)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Placeholder "),o.placeholder&&!a.hasSelected&&!a.search?e.renderSlot(a.$slots,"placeholder",{key:4},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.placeholder),"aria-hidden":"true"},e.toDisplayString(o.placeholder),3)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Spinner "),o.loading||a.resolving?e.renderSlot(a.$slots,"spinner",{key:5},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.spinner),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Clear "),a.hasSelected&&!o.disabled&&o.canClear&&!a.busy?e.renderSlot(a.$slots,"clear",{key:6,clear:a.clear},()=>[e.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:e.normalizeClass(a.classList.clear),onClick:t[6]||(t[6]=(...i)=>a.clear&&a.clear(...i)),onKeyup:t[7]||(t[7]=e.withKeys((...i)=>a.clear&&a.clear(...i),["enter"]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.clearIcon)},null,2)],34)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Caret "),o.caret&&o.showOptions?e.renderSlot(a.$slots,"caret",{key:7,handleCaretClick:a.handleCaretClick,isOpen:a.isOpen},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.caret),onClick:t[8]||(t[8]=(...i)=>a.handleCaretClick&&a.handleCaretClick(...i)),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0)],16,lm),e.createCommentVNode(" Options "),(e.openBlock(),e.createBlock(e.Teleport,{to:o.appendTo||"body",disabled:!o.appendToBody&&!o.appendTo},[e.createElementVNode("div",{id:`${o.id}-dropdown`,class:e.normalizeClass(a.classList.dropdown),tabindex:"-1",ref:"dropdown"},[e.renderSlot(a.$slots,"beforelist",{options:a.fo}),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.options),id:a.ariaControls,role:"listbox"},[o.groups?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.fg,(i,l,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.group),key:c,id:a.ariaGroupId(i),"aria-label":a.ariaGroupLabel(a.localize(i[o.groupLabel])),"aria-selected":a.isSelected(i),role:"option"},[i.__CREATE__?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(a.classList.groupLabel(i)),"data-pointed":a.isPointed(i),onMouseenter:u=>a.setPointer(i,l),onMousedown:e.withModifiers(u=>a.handleGroupClick(i),["prevent"])},[e.renderSlot(a.$slots,"grouplabel",{group:i,isSelected:a.isSelected,isPointed:a.isPointed},()=>[e.createElementVNode("span",{innerHTML:a.localize(i[o.groupLabel])},null,8,vm)])],42,_m)),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.groupOptions),"aria-label":a.ariaGroupLabel(a.localize(i[o.groupLabel])),role:"group"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.__VISIBLE__,(u,d,p)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(u,i)),"data-pointed":a.isPointed(u),"data-selected":a.isSelected(u)||void 0,key:p,onMouseenter:m=>a.setPointer(u),onMousedown:e.withModifiers(m=>a.handleOptionClick(u),["prevent"]),id:a.ariaOptionId(u),"aria-selected":a.isSelected(u),"aria-label":a.ariaOptionLabel(a.localize(u[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:u,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(u[o.label])),1)])],42,bm))),128))],10,Cm)],10,gm))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.fo,(i,l,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(i)),"data-pointed":a.isPointed(i),"data-selected":a.isSelected(i)||void 0,key:c,onMouseenter:u=>a.setPointer(i),onMousedown:e.withModifiers(u=>a.handleOptionClick(i),["prevent"]),id:a.ariaOptionId(i),"aria-selected":a.isSelected(i),"aria-label":a.ariaOptionLabel(a.localize(i[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:i,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(i[o.label])),1)])],42,ym))),128))],10,hm),a.noOptions?e.renderSlot(a.$slots,"nooptions",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noOptions),innerHTML:a.localize(o.noOptionsText)},null,10,wm)]):e.createCommentVNode("v-if",!0),a.noResults?e.renderSlot(a.$slots,"noresults",{key:1},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noResults),innerHTML:a.localize(o.noResultsText)},null,10,km)]):e.createCommentVNode("v-if",!0),o.infinite&&a.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.inifinite),ref:"infiniteLoader"},[e.renderSlot(a.$slots,"infinite",{},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.inifiniteSpinner)},null,2)])],2)):e.createCommentVNode("v-if",!0),e.renderSlot(a.$slots,"afterlist",{options:a.fo})],10,fm)],8,["to","disabled"])),e.createCommentVNode(" Hacky input element to show HTML5 required warning "),o.required?(e.openBlock(),e.createElementBlock("input",{key:0,class:e.normalizeClass(a.classList.fakeInput),tabindex:"-1",value:a.textValue,required:""},null,10,$m)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Native input support "),o.nativeSupport?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.mode=="single"?(e.openBlock(),e.createElementBlock("input",{key:0,type:"hidden",name:o.name,value:a.plainValue!==void 0?a.plainValue:""},null,8,Em)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.plainValue,(i,l)=>(e.openBlock(),e.createElementBlock("input",{type:"hidden",name:`${o.name}[]`,value:i,key:l},null,8,Bm))),128))],64)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Screen reader assistive text "),o.searchable&&a.hasSelected?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.assist),id:a.ariaAssist,"aria-hidden":"true"},e.toDisplayString(a.ariaLabel),11,Vm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Create height for empty input "),e.createElementVNode("div",{class:e.normalizeClass(a.classList.spacer)},null,2)],42,sm)}Ze.render=Nm,Ze.__file="src/Multiselect.vue";const le=e.defineComponent({__name:"AoMultiselect",props:{detached:{type:Boolean},appendTo:{}},setup(a){const t=a,o=e.toRef(()=>t.appendTo),r=e.ref();return t.detached&&Ru({multiselect:r,appendTo:o.value}),(n,s)=>(e.openBlock(),e.createBlock(e.unref(Ze),{ref_key:"multiselectRef",ref:r,class:"ao-multiselect"},e.createSlots({_:2},[e.renderList(n.$slots,(i,l)=>({name:l,fn:e.withCtx(c=>[e.renderSlot(n.$slots,l,e.normalizeProps(e.guardReactiveProps(c??{})))])}))]),1536))}});var Sr;function We(){const a=Sm(),t=a.appContext.config.globalProperties;return{i18next:t.$i18next,t:t.$t.bind(a.proxy)}}function Sm(){const a=e.getCurrentInstance();if(!a)throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");return a}e.defineComponent({props:{translation:{type:String,required:!0}},setup(a,{slots:t}){return()=>{const o=a.translation,r=[];let n,s=0;for(;(n=Sr.exec(o))!==null;){r.push(o.substring(s,n.index));const i=t[n[1]];i?r.push(...i()):r.push(n[0]),s=Sr.lastIndex}return r.push(o.substring(s)),r}}});async function Ae(a,t){if(t&&a&&a.length-t.length===1){const o=new Set(t.map(l=>l.id)),r=a.filter(l=>!o.has(l.id));if(r.length!==1)return;const n=r[0].id;await e.nextTick();const s=document.getElementById(n);s==null||s.focus(),await e.nextTick();const i=document.getElementById(n);i==null||i.select()}}const xm={class:"ao-tasks"},Mm={class:"ao-tasks__list"},Am=["id","value","readonly","onChange","onKeyup"],Tm={class:"ao-tasks__list-footer"},Om=e.defineComponent({__name:"AoActivityTasks",props:{activityId:{},tasks:{},isCheckable:{type:Function},users:{},isEditable:{type:Boolean},isTemplate:{type:Boolean}},emits:["add","delete","update"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.tasks,(p,m)=>{Ae(p,m)});const n=e.computed(()=>{var p;return((p=o.users)==null?void 0:p.map(m=>({label:`${m.firstName} ${m.lastName}`,value:m.id,avatar:m.avatarUrl})))??[]}),s=()=>{const p=o.tasks.length,m={name:r("task.defaultName",{idx:p+1}),activityId:o.activityId};t("add",m)},i=(p,m)=>{const b=p.target.value;t("update",{id:m,name:b})},l=(p,m)=>{o.isEditable&&t("update",{id:p,isDone:m})},c=p=>{t("delete",{id:p})},u=(p,m)=>{t("update",{id:m,assigneeId:p[0]??null})},d=p=>{const m=p.target;m==null||m.blur()};return(p,m)=>(e.openBlock(),e.createElementBlock("div",xm,[e.createElementVNode("ul",Mm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.tasks,f=>{var b,_;return e.openBlock(),e.createElementBlock("li",{key:f.id,class:"ao-subtask"},[((b=p.isCheckable)==null?void 0:b.call(p,f))??!1?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-subtask__check","icon-name":f.isDone?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank",disabled:!p.isEditable,variant:"ghost",color:"primary",onClick:()=>l(f.id,!f.isDone)},null,8,["icon-name","disabled","onClick"])):e.createCommentVNode("",!0),e.createElementVNode("input",{id:f.id,value:f.name,readonly:!p.isEditable,class:e.normalizeClass(["ao-field__input ao-subtask__field",{"ao-subtask__field--checked":f.isDone}]),type:"text",onChange:g=>i(g,f.id),onKeyup:e.withKeys(d,["enter"])},null,42,Am),e.createTextVNode(". "),!p.isTemplate&&p.users?(e.openBlock(),e.createBlock(le,{key:1,value:(_=f.assignee)!=null&&_.id?[f.assignee.id]:[],options:n.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-subtask__assignees",mode:"tags",placeholder:p.$t("feed.filters.assignee.placeholder"),disabled:!p.isEditable,caret:p.isEditable,onChange:g=>u(g,f.id)},{tag:e.withCtx(({option:g,handleTagRemove:y})=>[e.createVNode(ye,{"user-name":g.label,"avatar-url":g.avatar,"is-closable":!0,onClose:h=>y(g,h)},null,8,["user-name","avatar-url","onClose"])]),_:2},1032,["value","options","placeholder","disabled","caret","onChange"])):e.createCommentVNode("",!0),p.isEditable?(e.openBlock(),e.createBlock(K,{key:2,class:"ao-subtask__delete","icon-name":"CancelRounded",size:"sm",variant:"ghost",color:"neutral",onClick:()=>c(f.id)},null,8,["onClick"])):e.createCommentVNode("",!0)])}),128))]),e.createElementVNode("div",Tm,[p.isEditable?(e.openBlock(),e.createBlock(K,{key:0,label:p.$t("activity.tasks.add"),"icon-name":"Add",variant:"ghost",color:"primary",onClick:s},null,8,["label"])):e.createCommentVNode("",!0)])]))}}),N9="",Im=["onDrop","onDragenter","onDragover","onDragleave"],Lm={class:"ao-files__placeholder"},jm={key:0,class:"ao-files__list"},Dm=["href"],Pm={class:"ao-file__title"},zm={key:0},Hm={class:"ao-files__input"},Rm={class:"ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm"},Fm={class:"ao-button__label"},Um={class:"ao-files__dropzone"},Zm={class:"ao-files__dropzone-label"},Wm=e.defineComponent({__name:"AoActivityDetailsFiles",props:{attachments:{},isEditable:{type:Boolean}},emits:["add","toggleIsDropActive","remove"],setup(a,{emit:t}){const o=a,r=d=>{t("remove",d)},n=d=>{const p=d.target,m=Array.from(p.files??[]);t("add",m)},s=["dragenter","dragover","dragleave","drop"];e.onMounted(()=>{s.forEach(d=>{document.body.addEventListener(d,p=>p.preventDefault())})}),e.onUnmounted(()=>{s.forEach(d=>{document.body.removeEventListener(d,p=>p.preventDefault())})});const i=e.ref(!1);function l(){o.isEditable&&(i.value=!0)}function c(){i.value=!1}e.watch(i,d=>{t("toggleIsDropActive",d)});function u(d){var m;c();const p=Array.from(((m=d.dataTransfer)==null?void 0:m.files)||[]);d.dataTransfer&&t("add",p)}return(d,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-files__wrapper",{"ao-files__wrapper--drop-active":i.value}]),onDrop:e.withModifiers(u,["prevent"]),onDragenter:e.withModifiers(l,["prevent"]),onDragover:e.withModifiers(l,["prevent"]),onDragleave:e.withModifiers(c,["prevent"])},[e.renderSlot(d.$slots,"default",{},()=>[e.createElementVNode("span",Lm,e.toDisplayString(d.$t("activity.attachment.placeholder.resting")),1)]),d.attachments?(e.openBlock(),e.createElementBlock("ul",jm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.attachments,m=>(e.openBlock(),e.createElementBlock("li",{key:m.id,class:"ao-file"},[e.createElementVNode("a",{class:"ao-file__link",href:m.url,target:"_blank",rel:"noopener noreferrer"},[e.createVNode(Q,{class:"ao-file__icon",name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",Pm,e.toDisplayString(m.name),1)],8,Dm),d.isEditable?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-files__delete-button","icon-name":"DeleteOutlineRounded",variant:"ghost",color:"primary",size:"sm",corners:"round",onClick:()=>r(m)},null,8,["onClick"])):e.createCommentVNode("",!0)]))),128)),d.isEditable?(e.openBlock(),e.createElementBlock("li",zm,[e.createElementVNode("label",Hm,[e.createElementVNode("div",Rm,[e.createVNode(Q,{name:"Add",size:"sm"}),e.createElementVNode("span",Fm,e.toDisplayString(d.$t("activity.attachment.button.resting")),1)]),e.createElementVNode("input",{class:"input-field",type:"file",name:"pictures",multiple:"",accept:"image/*",onChange:n},null,32)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",Um,[e.createElementVNode("span",Zm,e.toDisplayString(d.$t("activity.attachment.placeholder.active")),1)],512),[[e.vShow,i.value]])],42,Im))}}),S9="",qm={class:"ao-comment"},Ym={class:"ao-comment__created-at"},Km={class:"ao-comment__body"},Gm={class:"ao-comment__content-wrapper"},Xm={key:1,class:"ao-comment__footer"},Qm=e.defineComponent({__name:"AoComment",props:{user:{},content:{},createdAt:{},editedAt:{},isEditable:{type:Boolean}},emits:["edit","remove"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{const _=o.user;return _?`${_==null?void 0:_.firstName} ${_==null?void 0:_.lastName}`:null}),n=e.ref(null),{isEditing:s,toggleIsEditing:i,onUpdate:l,onDiscard:c}=Vo(n),u=e.computed(()=>{const _=o.editedAt&&Nt(o.editedAt),g=Nt(o.createdAt),y=new Date,h=_??g;return h&&Fp(h,y)}),d=e.computed(()=>s.value?"textarea":"p"),p=c(),m=l(_=>{t("edit",_)}),f=()=>{t("remove")},b=e.ref(2);return e.onUpdated(()=>{e.nextTick(()=>{var _;if(!s.value){const g=(_=n.value)==null?void 0:_.getClientRects().length;b.value=g||2}})}),(_,g)=>{var y;return e.openBlock(),e.createElementBlock("li",qm,[r.value?(e.openBlock(),e.createBlock(ye,{key:0,"avatar-url":(y=_.user)==null?void 0:y.avatarUrl,"user-name":r.value,class:"ao-comment__avatar"},null,8,["avatar-url","user-name"])):e.createCommentVNode("",!0),e.createElementVNode("span",Ym,e.toDisplayString(u.value),1),e.createElementVNode("div",Km,[e.createElementVNode("div",Gm,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.value),{ref_key:"commentContent",ref:n,class:"ao-comment__content",value:e.unref(s)?_.content:null,rows:e.unref(s)?b.value:null,onKeyup:[e.withKeys(e.unref(p),["esc"]),e.withKeys(e.withModifiers(e.unref(m),["ctrl"]),["enter"])]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_.content),1)]),_:1},40,["value","rows","onKeyup"]))])]),_.isEditable?(e.openBlock(),e.createElementBlock("div",Xm,[e.unref(s)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(p)},null,8,["onClick"]),e.createVNode(K,{"icon-name":"CheckSmallRounded",size:"sm",variant:"solid",corners:"round",color:"black",onClick:e.unref(m)},null,8,["onClick"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(K,{label:_.$t("activity.comment.delete"),size:"sm",variant:"ghost",color:"neutral",onClick:f},null,8,["label"]),e.createVNode(K,{label:_.$t("activity.comment.edit"),size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(i)},null,8,["label","onClick"])],64))])):e.createCommentVNode("",!0)])}}}),x9="",Jm={class:"ao-comments__header"},e3=["onSubmit"],t3=["placeholder"],a3={class:"ao-comments__form-submit"},o3={key:0,class:"ao-comments__list"},r3=e.defineComponent({__name:"AoActivityDetailsComments",props:{comments:{default:()=>[]},users:{},newComment:{default:""},userId:{}},emits:["createComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,r=e.computed(()=>(o.comments||[]).toSorted((m,f)=>Od(Nt(m.createdAt),Nt(f.createdAt)))),n=p=>o.users.find(f=>f.id===p),s=e.ref();e.nextTick(()=>{s.value&&(s.value.scrollTop=s.value.scrollHeight)});const i=e.toRef(o.newComment),l=e.computed({get(){return i.value},set(p){i.value=p}}),c=()=>{const p=i.value.trim();p&&(t("createComment",{authorId:o.userId,message:p}),i.value="")},u=(p,m)=>{t("updateComment",{id:p,message:m})},d=p=>{t("removeComment",{id:p})};return(p,m)=>{var f;return e.openBlock(),e.createElementBlock("div",{ref_key:"commentsContainer",ref:s,class:"ao-comments"},[e.createElementVNode("div",Jm,[e.createElementVNode("form",{class:"ao-comments__form",onSubmit:e.withModifiers(c,["prevent"])},[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":m[0]||(m[0]=b=>l.value=b),rows:"2",class:"ao-field__textarea ao-comments__form-textarea",placeholder:p.$t("activity.comment.label")},null,8,t3),[[e.vModelText,l.value,void 0,{trim:!0}]]),e.createElementVNode("div",a3,[e.createVNode(K,{type:"submit","icon-name":"SendRounded",color:"primary",variant:"solid",corners:"round",size:"sm"})])],40,e3)]),((f=r.value)==null?void 0:f.length)>0?(e.openBlock(),e.createElementBlock("ul",o3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,b=>(e.openBlock(),e.createBlock(Qm,{key:b.id,user:n(b.author.id),content:b.message,"created-at":b.createdAt,"edited-at":b.updatedAt,"is-editable":b.author.id===p.userId,class:"ao-comment",onEdit:_=>u(b.id,_),onRemove:()=>d(b.id)},null,8,["user","content","created-at","edited-at","is-editable","onEdit","onRemove"]))),128))])):e.createCommentVNode("",!0)],512)}}}),M9="",eo=e.defineComponent({__name:"AoButtonCheck",props:{modelValue:{type:Boolean},color:{}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,r=()=>{t("update:modelValue",!o.modelValue)};return(n,s)=>(e.openBlock(),e.createBlock(K,{color:n.modelValue?n.color:e.unref(Ma).NEUTRAL,"icon-position":"start",onClick:s[0]||(s[0]=()=>r())},null,8,["color"]))}}),n3={class:"ao-activity-details"},i3={class:"ao-activity-details__main"},s3={class:"ao-activity-details__header"},l3={key:1,class:"ao-activity__category"},c3={class:"ao-feed__activity-details__header"},d3={key:0,class:"ao-field ao-feed__activity-details__project"},p3={class:"ao-field__label"},u3={key:1,class:"ao-field ao-feed__activity-details__project"},m3={class:"ao-field__label"},f3={class:"ao-activity-details__content"},h3={class:"ao-fieldset"},g3={class:"ao-field__row"},_3={class:"ao-field ao-field--full"},v3={class:"ao-field__label"},C3=["readonly"],b3={class:"ao-field__row"},y3={class:"ao-field ao-field--inline"},w3={class:"ao-field__label"},k3=["readonly"],$3={class:"ao-fieldset"},E3={class:"ao-fieldset__title"},B3={class:"ao-fieldset__body"},V3={key:0,class:"ao-fieldset"},N3={class:"ao-fieldset__title"},S3={class:"ao-activity-details__aside"},x3={class:"ao-activity-details__close-button"},M3={key:0,class:"ao-activity-details__aside-section"},A3={class:"ao-field"},T3={class:"ao-field__label"},O3={class:"ao-activity-details__aside-section"},I3={class:"ao-field ao-field--multiselect"},L3={class:"assignee-inline"},j3={class:"ao-field__label"},D3={class:"ao-activity-details__aside-section"},P3={key:0,class:"ao-field__row"},z3={class:"ao-field"},H3={class:"ao-field__label"},R3=["readonly"],F3={class:"ao-activity-details__aside-section"},U3={key:0,class:"ao-field__row"},Z3={class:"ao-field ao-field--multiselect"},W3={class:"ao-activity-details__aside-section"},q3={key:1,class:"ao-activity-details__aside-section"},Y3={class:"ao-fieldset ao-activity-details__aside-section"},K3={class:"ao-fieldset__title"},G3={class:"ao-fieldset__body"},X3={class:"ao-field__row"},Q3={class:"ao-field ao-field--multiselect"},J3={class:"ao-field__label"},ef={class:"ao-field__row"},tf={class:"ao-field ao-field--multiselect"},af={class:"ao-field__label"},of={key:2,class:"ao-activity-details__aside-section ao-activity-details__aside-section--created-by"},rf={class:"ao-activity__created-by"},to=e.defineComponent({__name:"AoActivityDetails",props:{activity:{},activityTypes:{},breadcrumbs:{},milestoneId:{},templateActivities:{},templateMilestones:{},isTemplate:{type:Boolean},users:{},userId:{},isTaskCheckable:{},statuses:{},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean},projects:{default:()=>[]}},emits:["update:activity","close","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var C;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((C=o.activity.assignee)==null?void 0:C.id):!1}),n=C=>{t("update:activity",{id:o.activity.id,name:C})},s=e.computed({get(){return o.activity.description??""},set(C){t("update:activity",{id:o.activity.id,description:C})}}),i=e.computed({get(){return o.activity.estimation??0},set(C){t("update:activity",{id:o.activity.id,estimation:C})}}),l=e.computed({get(){return o.activity.important??!1},set(C){t("update:activity",{id:o.activity.id,important:C})}}),c=e.computed({get(){return o.activity.private??!1},set(C){t("update:activity",{id:o.activity.id,private:C})}}),u=e.computed({get(){return o.activity.deadline},set(C){t("update:activity",{id:o.activity.id,deadline:C})}}),d=e.computed(()=>{var C;return(C=o.activityTypes)==null?void 0:C.map(x=>({label:x.name,value:x.id}))}),p=e.computed({get(){var C;return(C=o.activity.type)==null?void 0:C.id},set(C){t("update:activity",{id:o.activity.id,typeId:C})}}),m=e.computed(()=>o.templateActivities.filter(C=>C.id!==o.activity.id).map(C=>({label:C.name,value:C.id}))),f=e.computed({get(){var C;return(C=o.activity.dependingOn)==null?void 0:C.map(x=>x.id)},set(C){C&&t("update:activity",{id:o.activity.id,dependingOn:C})}}),b=e.computed(()=>m.value.map(C=>{var x;return{...C,disabled:(x=o.activity.blocking)==null?void 0:x.some(q=>q.id===C.value)}})),_=e.computed({get(){var C;return(C=o.activity.blocking)==null?void 0:C.map(x=>x.id)},set(C){C&&t("update:activity",{id:o.activity.id,blocking:C})}}),g=e.computed(()=>m.value.map(C=>{var x;return{...C,disabled:(x=o.activity.dependingOn)==null?void 0:x.some(q=>q.id===C.value)}})),y=C=>{t("addSubtask",C)},h=C=>{t("updateSubtask",C)},v=C=>{t("deleteSubtask",C)};function N(){o.userId?I.value=[o.userId]:console.error("Failed assigning to self: userId is missing")}function B(C){I.value=[C]}const V=e.computed(()=>{var C;return((C=o.users)==null?void 0:C.map(x=>({label:`${x.firstName} ${x.lastName}`,value:x.id,avatar:x.avatarUrl})))||[]}),I=e.computed({get(){var C,x;return(C=o.activity.assignee)!=null&&C.id?[(x=o.activity.assignee)==null?void 0:x.id]:[]},set(C){t("update:activity",{id:o.activity.id,assigneeId:C[0]??null})}}),j=C=>{t("addFiles",{activityId:o.activity.id,files:C})},P=C=>{t("removeFile",{activityId:o.activity.id,file:C})},H=e.computed(()=>o.projects.map(C=>({value:C.id,label:C.name}))),F=e.computed(()=>{var x,q,Z;const C=(Z=(q=(x=o.activity)==null?void 0:x.project)==null?void 0:q.phases)==null?void 0:Z.reduce((L,S)=>[...L,...S.milestones],[]);return C==null?void 0:C.map(L=>({value:L.id,label:L.name}))}),A=C=>{o.activity&&t("update:activity",{id:o.activity.id,projectId:C})},z=C=>{o.activity&&t("update:activity",{id:o.activity.id,milestoneId:C})},Y=e.computed(()=>{var C;return(C=o.statuses)==null?void 0:C.map(x=>({value:x.id,label:x.name}))}),U=C=>{t("update:activity",{id:o.activity.id,statusId:C})},R=C=>{t("addComment",{...C,activityId:o.activity.id})},E=C=>{t("updateComment",C)},$=C=>{t("removeComment",C)},w=e.computed(()=>{var C,x;return((C=o.activity.createdBy)==null?void 0:C.firstName)&&((x=o.activity.createdBy)==null?void 0:x.lastName)&&`${o.activity.createdBy.firstName} ${o.activity.createdBy.lastName}`});function T(){const C=window.location.origin,x=o.activity.slug,q=`${C}/activity-feed/slug/${x}`;navigator.clipboard.writeText(q).then(()=>{console.log(`Link copied to clipboard: ${q}`),t("toast","clipboard.copy.success","success")}).catch(()=>{console.log("Failed to copy link"),t("toast","clipboard.copy.error","error")})}return(C,x)=>(e.openBlock(),e.createBlock(na,{onClose:x[10]||(x[10]=q=>C.$emit("close"))},{default:e.withCtx(()=>{var q,Z,L;return[e.createElementVNode("div",n3,[e.createElementVNode("div",i3,[e.createElementVNode("div",s3,[C.activity.slug?(e.openBlock(),e.createBlock(wt,{key:0,label:C.activity.slug,clickable:!0,variant:"solid_icon",color:"primary","icon-name":"ContentCopyOutline",class:"ao-activity__ao-tag",onClick:T},null,8,["label"])):e.createCommentVNode("",!0),C.breadcrumbs?(e.openBlock(),e.createElementBlock("div",l3,e.toDisplayString(C.breadcrumbs),1)):e.createCommentVNode("",!0),e.createVNode(ne,{title:C.activity.name||"",level:4,"is-editable":r.value,"onUpdate:title":n},null,8,["title","is-editable"]),e.createElementVNode("div",c3,[H.value?(e.openBlock(),e.createElementBlock("label",d3,[e.createElementVNode("span",p3,e.toDisplayString(C.$t("activity.project.label")),1),e.createVNode(le,{options:H.value,value:(q=C.activity.project)==null?void 0:q.id,searchable:!0,disabled:!r.value,caret:r.value,onChange:A},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0),F.value?(e.openBlock(),e.createElementBlock("label",u3,[e.createElementVNode("span",m3,e.toDisplayString(C.$t("activity.milestone.label")),1),e.createVNode(le,{options:F.value,value:(Z=C.activity.milestone)==null?void 0:Z.id,searchable:!0,disabled:!r.value,caret:r.value,onChange:z},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0)]),e.renderSlot(C.$slots,"header")]),e.createElementVNode("div",f3,[e.createElementVNode("fieldset",h3,[e.createElementVNode("div",g3,[e.createVNode(Wm,{attachments:C.activity.attachments,"is-editable":C.attachmentEnabled&&r.value&&C.isTemplate!==!0&&!!C.userId,onAdd:j,onRemove:P},{default:e.withCtx(()=>[e.createElementVNode("label",_3,[e.createElementVNode("span",v3,e.toDisplayString(C.$t("activity.description.label")),1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":x[0]||(x[0]=S=>s.value=S),readonly:!r.value,rows:"4",class:"ao-field__textarea"},null,8,C3),[[e.vModelText,s.value,void 0,{lazy:!0,trim:!0}]])])]),_:1},8,["attachments","is-editable"])]),e.createElementVNode("div",b3,[e.createElementVNode("label",y3,[e.createElementVNode("span",w3,e.toDisplayString(C.$t("activity.estimation.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":x[1]||(x[1]=S=>i.value=S),readonly:!r.value,class:"ao-field__input ao-field__input--estim",type:"number",min:"0"},null,8,k3),[[e.vModelText,i.value,void 0,{lazy:!0,number:!0}]])])])]),e.createElementVNode("fieldset",$3,[e.createElementVNode("div",E3,[e.createVNode(Q,{name:"SelectCheckBox"}),e.createVNode(ne,{level:4,title:C.$t("activity.tasks.title")},null,8,["title"])]),e.createElementVNode("div",B3,[e.createVNode(Om,{class:"ao-activity-details__tasks ao-field__row",tasks:C.activity.tasks||[],"activity-id":C.activity.id,users:C.users,"is-checkable":C.isTaskCheckable,"is-editable":r.value,"is-template":C.isTemplate,onAdd:y,onUpdate:h,onDelete:v},null,8,["tasks","activity-id","users","is-checkable","is-editable","is-template"])])]),C.isTemplate!==!0&&C.userId?(e.openBlock(),e.createElementBlock("div",V3,[e.createElementVNode("div",N3,[e.createVNode(Q,{name:"ChatOutline"}),e.createVNode(ne,{level:4,title:C.$t("activity.comments.title")},null,8,["title"])]),e.createVNode(r3,{comments:C.activity.comments,users:C.users,"user-id":C.userId,onCreateComment:R,onUpdateComment:E,onRemoveComment:$},null,8,["comments","users","user-id"])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",S3,[e.createElementVNode("div",x3,[e.createVNode(Q,{name:"CloseRounded",onClick:x[2]||(x[2]=S=>C.$emit("close"))})]),Y.value?(e.openBlock(),e.createElementBlock("div",M3,[e.createElementVNode("label",A3,[e.createElementVNode("span",T3,e.toDisplayString(C.$t("activity.status.label")),1),e.createVNode(le,{class:"ao-activity-details__multiselect",options:Y.value,value:(L=C.activity.status)==null?void 0:L.id,"can-clear":!1,"can-deselect":!1,disabled:!r.value,caret:r.value,onChange:U},null,8,["options","value","disabled","caret"])])])):e.createCommentVNode("",!0),e.createElementVNode("div",O3,[e.createElementVNode("div",I3,[e.createElementVNode("div",L3,[e.createElementVNode("span",j3,e.toDisplayString(C.$t("activity.assignee.label")),1),e.createVNode(K,{label:C.$t("activity.assignee.toMe"),type:"button",color:"primary",variant:"solid",class:"ao-button--sm",onClick:N},null,8,["label"])]),e.createVNode(le,{modelValue:I.value,"onUpdate:modelValue":x[3]||(x[3]=S=>I.value=S),class:"ao-activity-details__assignees ao-activity-details__multiselect",options:V.value,"close-on-select":!0,searchable:!0,placeholder:C.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!r.value,caret:r.value,onSelect:B},{tag:e.withCtx(({option:S,handleTagRemove:D})=>[e.createVNode(ye,{"user-name":S.label,"avatar-url":S.avatar,"is-closable":!0,onClose:te=>D(S,te)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createElementVNode("div",D3,[C.isTemplate!==!0&&C.userId?(e.openBlock(),e.createElementBlock("div",P3,[e.createElementVNode("label",z3,[e.createElementVNode("span",H3,e.toDisplayString(C.$t("activity.deadline.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":x[4]||(x[4]=S=>u.value=S),readonly:!r.value,class:"ao-field__input",type:"date"},null,8,R3),[[e.vModelText,u.value,void 0,{lazy:!0}]])])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",F3,[d.value?(e.openBlock(),e.createElementBlock("div",U3,[e.createElementVNode("label",Z3,[e.createVNode(le,{modelValue:p.value,"onUpdate:modelValue":x[5]||(x[5]=S=>p.value=S),class:"ao-activity-details__multiselect",mode:"single",searchable:!0,options:d.value,placeholder:C.$t("activity.filters.type.placeholder"),disabled:!r.value,caret:r.value},null,8,["modelValue","options","placeholder","disabled","caret"])])])):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"default",{activity:C.activity})]),e.createElementVNode("div",W3,[e.createVNode(eo,{modelValue:l.value,"onUpdate:modelValue":x[6]||(x[6]=S=>l.value=S),modelModifiers:{lazy:!0},label:C.$t("activity.important.label"),disabled:!r.value,variant:"ghost","icon-name":"FlagRounded",class:"ao-field__input",color:"danger",type:"checkbox",size:"sm"},null,8,["modelValue","label","disabled"])]),C.isTemplate!==!0&&C.activity.createdBy.id===C.userId?(e.openBlock(),e.createElementBlock("div",q3,[e.createVNode(eo,{modelValue:c.value,"onUpdate:modelValue":x[7]||(x[7]=S=>c.value=S),modelModifiers:{lazy:!0},label:C.$t("activity.private.label"),disabled:!r.value,variant:"ghost","icon-name":"Lock",color:"warning",class:"ao-field__input",size:"sm"},null,8,["modelValue","label","disabled"])])):e.createCommentVNode("",!0),e.createElementVNode("fieldset",Y3,[e.createElementVNode("div",K3,[e.createVNode(Q,{name:"FlowsheetOutlineRounded"}),e.createVNode(ne,{level:4,title:C.$t("activity.dependencies.title")},null,8,["title"])]),e.createElementVNode("div",G3,[e.createElementVNode("div",X3,[e.createElementVNode("label",Q3,[e.createElementVNode("span",J3,e.toDisplayString(C.$t("activity.dependingOn.label")),1),e.createVNode(le,{modelValue:f.value,"onUpdate:modelValue":x[8]||(x[8]=S=>f.value=S),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:b.value,disabled:!r.value,caret:r.value},null,8,["modelValue","options","disabled","caret"])])]),e.createElementVNode("div",ef,[e.createElementVNode("label",tf,[e.createElementVNode("span",af,e.toDisplayString(C.$t("activity.blocking.label")),1),e.createVNode(le,{modelValue:_.value,"onUpdate:modelValue":x[9]||(x[9]=S=>_.value=S),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:g.value,disabled:!r.value,caret:r.value},null,8,["modelValue","options","disabled","caret"])])])])]),C.isTemplate!==!0&&w.value?(e.openBlock(),e.createElementBlock("div",of,[e.createElementVNode("div",rf,[e.createVNode(ye,{"user-name":w.value,color:"black"},null,8,["user-name"]),e.createElementVNode("span",null,e.toDisplayString(w.value),1)])])):e.createCommentVNode("",!0)])])]}),_:3}))}}),A9="",nf=e.defineComponent({__name:"AoRuleLine",props:{rule:{},templatePhases:{},templateMilestones:{},templateActivities:{},tagName:{default:"li"}},emits:["update:rule","close"],setup(a,{emit:t}){const o=a,r=e.toRef(o.rule.itemType||ee.ACTIVITIES),n=e.computed({get(){return r.value},set(y){r.value=y,t("update:rule",{...o.rule,itemType:y,subItemId:void 0})}}),s=e.computed(()=>Object.values(ee)),i=e.computed({get(){return o.rule.subItemId},set(y){t("update:rule",{...o.rule,subItemId:y,itemType:o.rule.itemType||n.value})}}),l=e.computed(()=>{var h;return!o.templateActivities||!o.templateMilestones||!o.templatePhases?null:(h={[ee.ACTIVITIES]:o.templateActivities,[ee.MILESTONES]:o.templateMilestones,[ee.PHASES]:o.templatePhases}[r.value])==null?void 0:h.map(v=>({value:v.id,label:v.name}))}),c=e.toRef(o.rule.comparator),u=e.computed({get(){return c.value},set(y){t("update:rule",{...o.rule,comparator:y})}}),d=e.computed(()=>Object.values(So)),p=e.toRef(o.rule.trigger),m=e.computed({get(){return p.value},set(y){t("update:rule",{...o.rule,trigger:y})}}),f=e.computed(()=>Object.values(xo)),b=e.computed({get(){return o.rule.duration},set(y){t("update:rule",{...o.rule,duration:y})}}),_=e.computed({get(){return o.rule.durationUnit},set(y){t("update:rule",{...o.rule,durationUnit:y})}}),g=e.computed(()=>Object.values(Mo));return(y,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.tagName),{class:"ao-rule-line"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ze),{modelValue:n.value,"onUpdate:modelValue":h[0]||(h[0]=v=>n.value=v),options:s.value},null,8,["modelValue","options"]),e.createVNode(e.unref(Ze),{modelValue:i.value,"onUpdate:modelValue":h[1]||(h[1]=v=>i.value=v),options:l.value},null,8,["modelValue","options"]),e.createVNode(e.unref(Ze),{modelValue:m.value,"onUpdate:modelValue":h[2]||(h[2]=v=>m.value=v),options:f.value},null,8,["modelValue","options"]),e.createVNode(e.unref(Ze),{modelValue:u.value,"onUpdate:modelValue":h[3]||(h[3]=v=>u.value=v),options:d.value},null,8,["modelValue","options"]),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":h[4]||(h[4]=v=>b.value=v),type:"number",min:"0"},null,512),[[e.vModelText,b.value,void 0,{number:!0}]]),e.createVNode(e.unref(Ze),{modelValue:_.value,"onUpdate:modelValue":h[5]||(h[5]=v=>_.value=v),options:g.value},null,8,["modelValue","options"]),e.createVNode(K,{class:"ao-rule-line__remove","icon-name":"CloseRounded",variant:"ghost",onClick:h[6]||(h[6]=v=>y.$emit("close"))})]),_:1}))}}),T9="",sf={class:"ao-template-rules__body"},lf={class:"ao-template-rules__list"},cf=e.defineComponent({__name:"AoTemplateRules",props:{templateId:{},rules:{},templatePhases:{},templateMilestones:{},templateActivities:{}},emits:["addRule","removeRule"],setup(a,{emit:t}){const o=()=>{t("addRule")},r=n=>{t("removeRule",n)};return(n,s)=>(e.openBlock(),e.createBlock(na,null,{header:e.withCtx(()=>[e.createVNode(ne,{title:n.$t("template.rules.title"),level:2},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("div",sf,[e.createElementVNode("ul",lf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.rules,i=>(e.openBlock(),e.createBlock(nf,{key:i.id,rule:i,"template-phases":n.templatePhases,"template-milestones":n.templateMilestones,"template-activities":n.templateActivities,class:"ao-template-rule",onClose:()=>r(i.id)},null,8,["rule","template-phases","template-milestones","template-activities","onClose"]))),128))]),e.createVNode(Pe,{label:n.$t("template.rules.add"),"icon-name":"Add",onClick:o},null,8,["label"])])]),_:1}))}}),O9="";function at(a,t,o){const r=a.length,n=a.at(-1),s=n?ie.LexoRank.parse(n.rank).genNext():ie.LexoRank.middle();return{name:o(`template.defaultName.${t}`,{idx:r+1}),rank:s.format()}}const df={key:0,class:"ao-template-details"},pf={class:"ao-template-details__body"},uf={class:"ao-template-details__cols"},mf={class:"ao-template-details__col"},ff={class:"ao-list__footer"},hf={class:"ao-template-details__col"},gf={class:"ao-template-details__col"},xr=e.defineComponent({__name:"AoTemplateDetails",props:{templateId:{},templates:{},users:{},phaseId:{},milestoneId:{},activityId:{},activityTypes:{}},emits:["addItem","removeItem","updateItem","addRule","removeRule","addFiles","removeFile"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>{var E;return(E=o.templates)==null?void 0:E.find($=>$.id===o.templateId)}),s=e.ref(!1);e.watch(()=>[o.templateId,o.phaseId,o.milestoneId],()=>s.value=!1),e.watch(()=>{var E;return(E=n.value)==null?void 0:E.phases},(E,$)=>{s.value&&Ae(E,$)});const i=e.computed(()=>{var E,$;return($=(E=n==null?void 0:n.value)==null?void 0:E.phases)==null?void 0:$.find(w=>w.id===o.phaseId)});e.watch(()=>{var E;return(E=i.value)==null?void 0:E.milestones},(E,$)=>{s.value&&Ae(E,$)});const l=e.computed(()=>{var E,$;return($=(E=i.value)==null?void 0:E.milestones)==null?void 0:$.find(w=>w.id===o.milestoneId)});e.watch(()=>{var E;return(E=l.value)==null?void 0:E.activities},(E,$)=>{s.value&&Ae(E,$)});const c=e.computed(()=>{var E,$;return(($=(E=n.value)==null?void 0:E.phases)==null?void 0:$.reduce((w,T)=>{const C=T.milestones||[];return[...w,...C]},[]))||[]}),u=e.computed(()=>{var E,$;return(($=(E=n.value)==null?void 0:E.phases)==null?void 0:$.reduce((w,T)=>{const x=(T.milestones||[]).reduce((q,Z)=>Z.activities?[...q,...Z.activities]:q,[]);return[...w,...x]},[]))||[]}),d=e.computed(()=>{var E,$;return($=(E=l.value)==null?void 0:E.activities)==null?void 0:$.find(w=>w.id===o.activityId)}),p=e.computed(()=>{var E;return((E=n.value)==null?void 0:E.name)||o.templateId}),m=()=>{if(!n.value)return;const{name:E,rank:$}=at(n.value.phases,"phase",r);s.value=!0,t("addItem",{type:ee.PHASES,templateId:o.templateId,item:{name:E,rank:$}})},f=E=>{t("updateItem",{templateId:o.templateId,id:o.templateId,itemType:ee.TEMPLATES,data:{name:E}})},b=E=>{t("removeItem",{itemType:ee.PHASES,templateId:o.templateId,data:{id:E}})},_=(E,$)=>{t("updateItem",{templateId:o.templateId,id:E,itemType:ee.PHASES,data:{name:$}})},g=E=>{t("updateItem",E)},y=E=>{if(!i.value)return;const{name:$,rank:w}=at(i.value.milestones,"milestone",r);s.value=!0,t("addItem",{type:ee.MILESTONES,templateId:o.templateId,phaseId:E.phaseId,item:{name:$,rank:w,phaseId:E.phaseId}})},h=E=>{t("removeItem",{itemType:ee.MILESTONES,templateId:o.templateId,phaseId:E.phaseId,data:{id:E.id}})},v=E=>{const{id:$,...w}=E;t("updateItem",{itemType:ee.MILESTONES,id:$,templateId:o.templateId,data:w})},N=E=>{const{milestoneId:$}=E;if(!l.value)return;const{name:w,rank:T}=at(l.value.activities,"activity",r);s.value=!0,t("addItem",{type:ee.ACTIVITIES,milestoneId:$,templateId:o.templateId,item:{name:w,rank:T,milestoneId:$}})},B=E=>{var $,w;t("removeItem",{itemType:ee.ACTIVITIES,templateId:o.templateId,phaseId:($=i.value)==null?void 0:$.id,milestoneId:(w=l.value)==null?void 0:w.id,data:{id:E.id}})},V=E=>{const{id:$,...w}=E;t("updateItem",{itemType:ee.ACTIVITIES,id:$,templateId:o.templateId,data:w})},I=e.ref(!1),j=()=>{I.value=!I.value},P=()=>{t("addRule",{templateId:o.templateId})},H=E=>{t("removeRule",{id:E,templateId:o.templateId})},F=E=>{var $;if(E.moved){const w=Ot(E,(($=n.value)==null?void 0:$.phases)??[]);t("updateItem",{itemType:ee.PHASES,id:E.moved.element.id,templateId:o.templateId,data:{rank:w}})}},A=E=>{!i.value||!l.value||!d.value||t("addItem",{type:ee.TASKS,activityId:E.activityId,milestoneId:l.value.id,phaseId:i.value.id,templateId:o.templateId,item:E})},z=E=>{!i.value||!l.value||!d.value||t("updateItem",{itemType:ee.TASKS,id:E.id,templateId:o.templateId,data:E})},Y=E=>{!i.value||!l.value||!d.value||t("removeItem",{itemType:ee.TASKS,activityId:d.value.id,milestoneId:l.value.id,phaseId:i.value.id,templateId:o.templateId,data:E})},U=E=>{t("addFiles",E)},R=E=>{t("removeFile",E)};return(E,$)=>{var w,T,C,x,q,Z;return n.value?(e.openBlock(),e.createElementBlock("div",df,[e.createVNode(It,{"can-go-back":!0,onGoBack:$[1]||($[1]=L=>E.$router.push({name:e.unref(rt).TEMPLATES_LIST}))},{primary:e.withCtx(()=>[e.createVNode(ne,{title:p.value,level:2,"is-editable":!0,"onUpdate:title":$[0]||($[0]=L=>{f(L)})},null,8,["title"])]),_:1}),e.createElementVNode("div",pf,[e.createElementVNode("ol",uf,[e.createElementVNode("li",mf,[e.createVNode(e.unref(je),{"model-value":n.value.phases,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:F},{header:e.withCtx(()=>[e.createVNode(ne,{title:E.$t("template.phases.title"),level:3,class:"ao-list__title"},null,8,["title"])]),item:e.withCtx(({element:L})=>{var S;return[e.createVNode(Q2,{id:L.id,name:L.name,milestones:L.milestones,"is-active":((S=i.value)==null?void 0:S.id)===L.id,"is-draggable":!0,onClick:D=>E.$router.push({params:{templateId:E.templateId,phaseId:L.id}}),"onUpdate:title":D=>{_(L.id,D)},onRemove:()=>b(L.id)},null,8,["id","name","milestones","is-active","onClick","onUpdate:title","onRemove"])]}),footer:e.withCtx(()=>[e.createElementVNode("div",ff,[e.createVNode(Pe,{"icon-name":"AddBoxOutlineRounded",label:E.$t("template.phases.add"),onClick:m},null,8,["label"])])]),_:1},8,["model-value"])]),e.createElementVNode("li",hf,[i.value?(e.openBlock(),e.createBlock(tu,{key:0,"template-id":E.templateId,phase:i.value,"milestone-id":(w=l.value)==null?void 0:w.id,onAddMilestone:y,onUpdateMilestone:v,onUpdatePhase:g,onRemoveMilestone:h},null,8,["template-id","phase","milestone-id"])):e.createCommentVNode("",!0)]),e.createElementVNode("li",gf,[i.value&&l.value?(e.openBlock(),e.createBlock(ru,{key:0,"template-id":E.templateId,"phase-id":(T=i.value)==null?void 0:T.id,milestone:l.value,"activity-id":(C=d.value)==null?void 0:C.id,onAddActivity:N,onUpdateActivity:V,onRemoveActivity:B},null,8,["template-id","phase-id","milestone","activity-id"])):e.createCommentVNode("",!0)])])]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(to,{key:0,activity:d.value,"activity-types":E.activityTypes,breadcrumbs:`${n.value.name} / ${(x=i.value)==null?void 0:x.name} / ${(q=l.value)==null?void 0:q.name}`,"milestone-id":(Z=l.value)==null?void 0:Z.id,"template-activities":u.value,"template-milestones":c.value,"is-template":!0,"is-editable":!0,users:E.users,"onUpdate:activity":$[2]||($[2]=L=>{d.value&&V(L)}),"attachment-enabled":!1,onClose:E.$router.back,onAddSubtask:A,onUpdateSubtask:z,onDeleteSubtask:Y,onAddFiles:U,onRemoveFile:R},{default:e.withCtx(L=>[e.renderSlot(E.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(L)))]),_:3},8,["activity","activity-types","breadcrumbs","milestone-id","template-activities","template-milestones","users","onClose"])):e.createCommentVNode("",!0)])),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[I.value?(e.openBlock(),e.createBlock(cf,{key:0,"template-id":n.value.id,rules:n.value.rules||[],"template-phases":n.value.phases,"template-milestones":c.value,"template-activities":u.value,onClose:j,onAddRule:P,onRemoveRule:H},null,8,["template-id","rules","template-phases","template-milestones","template-activities"])):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}}}),I9="",_f={class:"ao-card__content"},vf={key:0,class:"ao-card__header"},Cf={class:"ao-card__body"},bf={key:1,class:"ao-card__footer"},ba=e.defineComponent({__name:"AoCard",props:{isClickable:{type:Boolean},tagName:{default:"div"},isSelected:{type:Boolean},color:{},withLeftBorder:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tagName),{class:e.normalizeClass(["ao-card",{"ao-card--clickable":t.isClickable}]),style:e.normalizeStyle(t.isSelected?{border:"solid",borderColor:t.color||"var(--ao-color-blue-base)",borderWidth:"thick"}:{})},{default:e.withCtx(()=>[t.withLeftBorder?(e.openBlock(),e.createElementBlock("div",{key:0,class:"ao-card__left-border",style:e.normalizeStyle({backgroundColor:t.color})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",_f,[t.$slots.header?(e.openBlock(),e.createElementBlock("header",vf,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",Cf,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",bf,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])]),_:3},8,["class","style"]))}}),L9="",ya=e.defineComponent({__name:"AoProgress",props:{percentages:{},status:{},color:{}},setup(a){const t=a,o=e.computed(()=>typeof t.percentages=="number"?[t.percentages]:t.percentages??[]);return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-progress",r.status?`ao-progress--${r.status}`:""]),role:"meter"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,s=>(e.openBlock(),e.createElementBlock("div",{key:s,class:e.normalizeClass(["ao-progress__progress"]),style:e.normalizeStyle({width:`${s*100}%`,"--ao-progress-color":r.color||"var(--ao-color-primary-base)"})},null,4))),128))],2))}}),j9="";/*!
|
|
3
3
|
* vue-color-kit v1.0.6
|
|
4
4
|
* (c) 2023
|
|
5
5
|
* @license MIT
|
|
6
|
-
*/function ot(a){let t={r:0,g:0,b:0,a:1};/#/.test(a)?t=wf(a):/rgb/.test(a)?t=Mr(a):typeof a=="string"?t=Mr(`rgba(${a})`):Object.prototype.toString.call(a)==="[object Object]"&&(t=a);const{r:o,g:r,b:n,a:s}=t,{h:i,s:l,v:c}=kf(t);return{r:o,g:r,b:n,a:s===void 0?1:s,h:i,s:l,v:c}}function ao(a){const t=document.createElement("canvas"),o=t.getContext("2d"),r=a*2;return t.width=r,t.height=r,o.fillStyle="#ffffff",o.fillRect(0,0,r,r),o.fillStyle="#ccd5db",o.fillRect(0,0,a,a),o.fillRect(a,a,a,a),t}function oo(a,t,o,r,n,s){const i=a==="l",l=t.createLinearGradient(0,0,i?o:0,i?0:r);l.addColorStop(.01,n),l.addColorStop(.99,s),t.fillStyle=l,t.fillRect(0,0,o,r)}function yf({r:a,g:t,b:o},r){const n=i=>("0"+Number(i).toString(16)).slice(-2),s=`#${n(a)}${n(t)}${n(o)}`;return r?s.toUpperCase():s}function wf(a){a=a.slice(1);const t=o=>parseInt(o,16)||0;return{r:t(a.slice(0,2)),g:t(a.slice(2,4)),b:t(a.slice(4,6))}}function Mr(a){return typeof a=="string"?(a=(/rgba?\((.*?)\)/.exec(a)||["","0,0,0,1"])[1].split(","),{r:Number(a[0])||0,g:Number(a[1])||0,b:Number(a[2])||0,a:Number(a[3]?a[3]:1)}):a}function kf({r:a,g:t,b:o}){a=a/255,t=t/255,o=o/255;const r=Math.max(a,t,o),n=Math.min(a,t,o),s=r-n;let i=0;r===n?i=0:r===a?t>=o?i=60*(t-o)/s:i=60*(t-o)/s+360:r===t?i=60*(o-a)/s+120:r===o&&(i=60*(a-t)/s+240),i=Math.floor(i);let l=parseFloat((r===0?0:1-n/r).toFixed(2)),c=parseFloat(r.toFixed(2));return{h:i,s:l,v:c}}var ro=e.defineComponent({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasSaturation,t=this.size,o=a.getContext("2d");a.width=t,a.height=t,o.fillStyle=this.color,o.fillRect(0,0,t,t),oo("l",o,t,t,"#FFFFFF","rgba(255,255,255,0)"),oo("p",o,t,t,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(a){const{top:t,left:o}=this.$el.getBoundingClientRect(),r=a.target.getContext("2d"),n=i=>{let l=i.clientX-o,c=i.clientY-t;l<0&&(l=0),c<0&&(c=0),l>this.size&&(l=this.size),c>this.size&&(c=this.size),this.slideSaturationStyle={left:l-5+"px",top:c-5+"px"};const u=r.getImageData(Math.min(l,this.size-1),Math.min(c,this.size-1),1,1),[d,p,m]=u.data;this.$emit("selectSaturation",{r:d,g:p,b:m})};n(a);const s=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",s)}}});const $f={ref:"canvasSaturation"};function Ef(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"saturation",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectSaturation&&a.selectSaturation(...i),["prevent","stop"]))},[e.createVNode("canvas",$f,null,512),e.createVNode("div",{style:a.slideSaturationStyle,class:"slide"},null,4)],32)}ro.render=Ef,ro.__file="src/color/Saturation.vue";var no=e.defineComponent({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasHue,t=this.width,o=this.height,r=a.getContext("2d");a.width=t,a.height=o;const n=r.createLinearGradient(0,0,0,o);n.addColorStop(0,"#FF0000"),n.addColorStop(.17*1,"#FF00FF"),n.addColorStop(.17*2,"#0000FF"),n.addColorStop(.17*3,"#00FFFF"),n.addColorStop(.17*4,"#00FF00"),n.addColorStop(.17*5,"#FFFF00"),n.addColorStop(1,"#FF0000"),r.fillStyle=n,r.fillRect(0,0,t,o)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(a){const{top:t}=this.$el.getBoundingClientRect(),o=a.target.getContext("2d"),r=s=>{let i=s.clientY-t;i<0&&(i=0),i>this.height&&(i=this.height),this.slideHueStyle={top:i-2+"px"};const l=o.getImageData(0,Math.min(i,this.height-1),1,1),[c,u,d]=l.data;this.$emit("selectHue",{r:c,g:u,b:d})};r(a);const n=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",r),document.addEventListener("mouseup",n)}}});const Bf={ref:"canvasHue"};function Vf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"hue",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectHue&&a.selectHue(...i),["prevent","stop"]))},[e.createVNode("canvas",Bf,null,512),e.createVNode("div",{style:a.slideHueStyle,class:"slide"},null,4)],32)}no.render=Vf,no.__file="src/color/Hue.vue";var io=e.defineComponent({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasAlpha,t=this.width,o=this.height,r=this.alphaSize,n=ao(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),oo("p",s,t,o,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(a){const{top:t}=this.$el.getBoundingClientRect(),o=n=>{let s=n.clientY-t;s<0&&(s=0),s>this.height&&(s=this.height);let i=parseFloat((s/this.height).toFixed(2));this.$emit("selectAlpha",i)};o(a);const r=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",r)}}});const Nf={ref:"canvasAlpha"};function Sf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"color-alpha",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectAlpha&&a.selectAlpha(...i),["prevent","stop"]))},[e.createVNode("canvas",Nf,null,512),e.createVNode("div",{style:a.slideAlphaStyle,class:"slide"},null,4)],32)}io.render=Sf,io.__file="src/color/Alpha.vue";var so=e.defineComponent({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const a=this.$el,t=this.width,o=this.height,r=this.alphaSize,n=ao(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),s.fillStyle=this.color,s.fillRect(0,0,t,o)}}});function xf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("canvas")}so.render=xf,so.__file="src/color/Preview.vue";var lo=e.defineComponent({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(a){this.isSucking=!1,this.suckColor(a)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(a){a.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(a){const{clientX:t,clientY:o}=a,{top:r,left:n,width:s,height:i}=this.suckerCanvas.getBoundingClientRect(),l=t-n,c=o-r,d=this.suckerCanvas.getContext("2d").getImageData(Math.min(l,s-1),Math.min(c,i-1),1,1);let[p,m,f,b]=d.data;b=parseFloat((b/255).toFixed(2));const _=this.suckerPreview.style;Object.assign(_,{position:"absolute",left:t+20+"px",top:o-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${p}, ${m}, ${f}, ${b})`,zIndex:95}),this.suckerArea.length&&t>=this.suckerArea[0]&&o>=this.suckerArea[1]&&t<=this.suckerArea[2]&&o<=this.suckerArea[3]?_.display="":_.display="none"},suckColor(a){a&&a.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),a.addEventListener("click",t=>{const{clientX:o,clientY:r}=t,{top:n,left:s,width:i,height:l}=a.getBoundingClientRect(),c=o-s,u=r-n,p=a.getContext("2d").getImageData(Math.min(c,i-1),Math.min(u,l-1),1,1);let[m,f,b,_]=p.data;_=parseFloat((_/255).toFixed(2)),this.$emit("selectSucker",{r:m,g:f,b,a:_})}))}}});const Mf=e.createVNode("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),Af={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},Tf=e.createVNode("g",{fill:"none","fill-rule":"evenodd"},[e.createVNode("g",{transform:"translate(1 1)","stroke-width":"4"},[e.createVNode("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.createVNode("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function Of(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[a.isSucking?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock("svg",{key:0,class:[{active:a.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:t[1]||(t[1]=(...i)=>a.openSucker&&a.openSucker(...i))},[Mf],2)),a.isSucking?(e.openBlock(),e.createBlock("svg",Af,[Tf])):e.createCommentVNode("v-if",!0)])}lo.render=Of,lo.__file="src/color/Sucker.vue";var co=e.defineComponent({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor","inputFocus","inputBlur"],setup(a,{emit:t}){return{modelColor:e.computed({get(){return a.color||""},set(s){t("inputColor",s)}}),handleFocus:s=>{t("inputFocus",s)},handleBlur:s=>{t("inputBlur",s)}}}});const If={class:"color-type"},Lf={class:"name"};function jf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",If,[e.createVNode("span",Lf,e.toDisplayString(a.name),1),e.withDirectives(e.createVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>a.modelColor=i),class:"value",onFocus:t[2]||(t[2]=(...i)=>a.handleFocus&&a.handleFocus(...i)),onBlur:t[3]||(t[3]=(...i)=>a.handleBlur&&a.handleBlur(...i))},null,544),[[e.vModelText,a.modelColor]])])}co.render=jf,co.__file="src/color/Box.vue";var po=e.defineComponent({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(a,{emit:t}){const o=e.ref(),r=e.ref([]),n=e.ref();a.colorsHistoryKey&&localStorage&&(r.value=JSON.parse(localStorage.getItem(a.colorsHistoryKey))||[]),n.value=ao(4).toDataURL(),e.onUnmounted(()=>{s(o.value)});function s(l){if(!l)return;const c=r.value||[],u=c.indexOf(l);u>=0&&c.splice(u,1),c.length>=8&&(c.length=7),c.unshift(l),r.value=c||[],localStorage&&a.colorsHistoryKey&&localStorage.setItem(a.colorsHistoryKey,JSON.stringify(c))}function i(l){t("selectColor",l)}return{setColorsHistory:s,colorsHistory:r,color:o,imgAlphaBase64:n,selectColor:i}}});const Df={class:"colors"},Pf={key:0,class:"colors history"};function zf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[e.createVNode("ul",Df,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsDefault,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))]),a.colorsHistory.length?(e.openBlock(),e.createBlock("ul",Pf,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsHistory,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))])):e.createCommentVNode("v-if",!0)])}po.render=zf,po.__file="src/color/Colors.vue";var vt=e.defineComponent({components:{Saturation:ro,Hue:no,Alpha:io,Preview:so,Sucker:lo,Box:co,Colors:po},emits:["changeColor","openSucker","inputFocus","inputBlur"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return yf(this.rgba,!0)}},created(){Object.assign(this,ot(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText()},handleFocus(a){this.$emit("inputFocus",a)},handleBlur(a){this.$emit("inputBlur",a)},selectHue(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(a){this.a=a,this.setText()},inputHex(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=a,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=this.hexString,this.modelRgba=a,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(a){this.$emit("openSucker",a)},selectSucker(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const Hf={class:"color-set"};function Rf(a,t,o,r,n,s){const i=e.resolveComponent("Saturation"),l=e.resolveComponent("Hue"),c=e.resolveComponent("Alpha"),u=e.resolveComponent("Preview"),d=e.resolveComponent("Sucker"),p=e.resolveComponent("Box"),m=e.resolveComponent("Colors");return e.openBlock(),e.createBlock("div",{class:["hu-color-picker",{light:a.isLightTheme}],style:{width:a.totalWidth+"px"}},[e.createVNode("div",Hf,[e.createVNode(i,{ref:"saturation",color:a.rgbString,hsv:a.hsv,size:a.hueHeight,onSelectSaturation:a.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),e.createVNode(l,{ref:"hue",hsv:a.hsv,width:a.hueWidth,height:a.hueHeight,onSelectHue:a.selectHue},null,8,["hsv","width","height","onSelectHue"]),e.createVNode(c,{ref:"alpha",color:a.rgbString,rgba:a.rgba,width:a.hueWidth,height:a.hueHeight,onSelectAlpha:a.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),e.createVNode("div",{style:{height:a.previewHeight+"px"},class:"color-show"},[e.createVNode(u,{color:a.rgbaString,width:a.previewWidth,height:a.previewHeight},null,8,["color","width","height"]),a.suckerHide?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(d,{key:0,"sucker-canvas":a.suckerCanvas,"sucker-area":a.suckerArea,onOpenSucker:a.openSucker,onSelectSucker:a.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),e.createVNode(p,{name:"HEX",color:a.modelHex,onInputColor:a.inputHex,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(p,{name:"RGBA",color:a.modelRgba,onInputColor:a.inputRgba,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(m,{color:a.rgbaString,"colors-default":a.colorsDefault,"colors-history-key":a.colorsHistoryKey,onSelectColor:a.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),e.createCommentVNode(" custom options "),e.renderSlot(a.$slots,"default")],6)}vt.render=Rf,vt.__file="src/color/ColorPicker.vue",vt.install=a=>{a.component(vt.name,vt)};const D9="",Ff={class:"color-picker-wrapper"},uo=e.defineComponent({__name:"AoColorPicker",props:{color:{}},emits:["update:color"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null),s=e.ref("bottom"),i=async()=>{r.value=!0;const d=n.value,p=d==null?void 0:d.parentElement;if(d&&p){const m=p.getBoundingClientRect(),f=d.offsetHeight,b=window.innerHeight-m.bottom,_=m.top;s.value=b<f&&_>f?"top":"bottom"}await e.nextTick(),setTimeout(()=>{window.addEventListener("click",l)},0)},l=d=>{const p=d.target;n.value&&!n.value.contains(p)&&(r.value=!1,t("update:color",c.value),window.removeEventListener("click",l))};e.onBeforeUnmount(()=>{window.removeEventListener("click",l)}),e.watch(()=>o.color,d=>{r.value||(c.value=d)});const c=e.ref(o.color),u=d=>{const{r:p,g:m,b:f,a:b}=d.rgba;c.value=`rgba(${p}, ${m}, ${f}, ${b})`};return(d,p)=>(e.openBlock(),e.createElementBlock("div",Ff,[e.renderSlot(d.$slots,"clickable",{openPicker:i,bgColor:d.color}),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:n,class:e.normalizeClass(["color-picker",s.value])},[e.createVNode(e.unref(vt),{theme:"light",color:d.color,onChangeColor:u},null,8,["color"])],2)):e.createCommentVNode("",!0)]))}}),P9="",Uf={class:"ao-card-project-phase__header"},Zf={class:"ao-card-project-item__title-line"},Wf={key:0,class:"ao-card-project-item-phase__estimation"},qf={class:"ao-card-project-phase__footer"},Yf={key:0,class:"ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"},Kf={class:"ao-card-project-phase__subitem"},Gf={class:"ao-card-project-phase__subitem"},Xf={key:0,class:"ao-card-project-phase__secondary"},Qf={class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly"},Jf=e.defineComponent({__name:"AoCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","unarchivePhase","updatePhase"],setup(a,{emit:t}){const o=a,r=p=>{t("update:title",p)},n=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.reduce((m,f)=>{var b;return m+((b=f.activities)==null?void 0:b.reduce((_,g)=>_+(g.estimation||0),0))},0)}),s=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.length}),i=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.filter(m=>m.status===kt.done).length}),l=e.computed(()=>(i.value||0)/(s.value||1)),c=e.computed({get:()=>o.deadline??"",set:p=>t("update:deadline",p!=null&&p.length?p:null)}),u=e.computed({get:()=>o.color,set:p=>{t("updatePhase",{id:o.id,color:p})}}),d=(p,m)=>{const f=p.target;f.closest("button")||f.closest("input")||f.closest(".ao-title")||m()};return(p,m)=>(e.openBlock(),e.createBlock(uo,{color:u.value,"onUpdate:color":m[2]||(m[2]=f=>u.value=f)},{clickable:e.withCtx(({openPicker:f,bgColor:b})=>[e.createVNode(ba,{class:"ao-card-project-phase","is-clickable":p.isEditable,color:b,withLeftBorder:!0,onClick:_=>d(_,f)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Zf,[e.createVNode(ne,{id:p.id,class:"ao-card-project-phase__title",title:p.name||"",level:4,"is-editable":p.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value?(e.openBlock(),e.createElementBlock("span",Wf," ("+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",qf,[s.value?(e.openBlock(),e.createElementBlock("div",Yf,[e.createElementVNode("div",Kf,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",Gf,e.toDisplayString(i.value)+" / "+e.toDisplayString(s.value),1)]),e.createVNode(ya,{percentages:l.value,class:"ao-card-project-phase__progress",color:p.color},null,8,["percentages","color"]),p.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Xf,[e.renderSlot(p.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-card-project-phase__footer-row",c.value?"":"ao-card-project-phase__no_deadline"])},[p.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=_=>c.value=_),class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",Qf,e.toDisplayString(e.unref(ra)(p.deadline)),1)],2)])]),_:2},[p.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Uf,[e.createVNode(K,{class:"ao-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:p.active?p.$t("archive"):p.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>p.active?p.$emit("archivePhase",{id:p.id}):p.$emit("unarchivePhase",{id:p.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),z9="",eh=e.defineComponent({__name:"AoBadge",props:{color:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("span",{class:"aoBadge",style:e.normalizeStyle({backgroundColor:t.color})},null,4))}}),H9="",th={class:"ao-card-project-milestone__default"},ah={class:"ao-title-with-badge-wrapper"},oh={class:"ao-card-project-item__title-line"},rh={key:0,class:"ao-card-project-item-milestone__estimation"},nh={key:0,class:"ao-card-project-milestone__archive"},ih={class:"ao-card-project-milestone__activities"},sh={class:"ao-card-project-milestone__activities-row"},lh={class:"ao-card-project-milestone__subitem"},ch={class:"ao-card-project-milestone__subitem"},dh={key:1,class:"ao-card-project-milestone__secondary"},ph={class:"ao-card-project-milestone__footer"},uh={key:1,class:"ao-field ao-card-project-milestone__deadline"},mh={class:"ao-field__label"},fh={key:2,class:"ao-card-project-milestone__assignee"},hh=e.defineComponent({__name:"AoCardProjectItemMilestone",props:{id:{},name:{},color:{},phaseColor:{},activities:{},closedStatus:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},isSelected:{type:Boolean},assignee:{},important:{type:Boolean},readonly:{type:Boolean}},emits:["updateMilestone","archiveMilestone","unarchiveMilestone"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.reduce((u,d)=>u+(d.estimation||0),0)}),n=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.length}),s=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.filter(u=>La(u,o.closedStatus)).length}),i=e.computed(()=>(s.value||0)/(n.value||1)),l=c=>{t("updateMilestone",{id:o.id,name:c})};return(c,u)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-project-milestone"]),"is-clickable":!c.readonly,"tag-name":"li","is-selected":c.isSelected,color:c.phaseColor},{default:e.withCtx(()=>[e.createElementVNode("div",th,[e.createElementVNode("div",ah,[e.createVNode(eh,{color:c.color||""},null,8,["color"]),e.createElementVNode("div",oh,[e.createVNode(ne,{id:c.id,title:c.name||"",level:5,"is-editable":!c.readonly&&c.isEditable,class:"ao-card-project-milestone__title","onUpdate:title":l},null,8,["id","title","is-editable"]),r.value?(e.openBlock(),e.createElementBlock("span",rh," ("+e.toDisplayString(r.value)+")",1)):e.createCommentVNode("",!0)])]),!c.readonly&&c.isEditable?(e.openBlock(),e.createElementBlock("div",nh,[e.createVNode(K,{color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.active?c.$t("archive"):c.$t("unarchive"),onClick:u[0]||(u[0]=e.withModifiers(()=>c.active?c.$emit("archiveMilestone",{id:c.id}):c.$emit("unarchiveMilestone",{id:c.id}),["stop"]))},null,8,["label"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ih,[e.createElementVNode("div",sh,[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",lh,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",ch,e.toDisplayString(s.value)+" / "+e.toDisplayString(n.value),1)]),e.createVNode(ya,{percentages:i.value,color:c.phaseColor,class:"ao-card-project-milestone__progress"},null,8,["percentages","color"])],64)):e.createCommentVNode("",!0),c.$slots.secondary?(e.openBlock(),e.createElementBlock("div",dh,[e.renderSlot(c.$slots,"secondary")])):e.createCommentVNode("",!0)])])]),footer:e.withCtx(()=>[e.createElementVNode("div",ph,[c.important?(e.openBlock(),e.createBlock(Q,{key:0,name:"FlagRounded",class:e.normalizeClass(c.isSelected?"ao-card-project-milestone__important--selected":"ao-card-project-milestone__important"),size:"sm"},null,8,["class"])):e.createCommentVNode("",!0),c.deadline?(e.openBlock(),e.createElementBlock("label",uh,[e.createElementVNode("span",mh,e.toDisplayString(e.unref(ra)(c.deadline)),1)])):e.createCommentVNode("",!0),c.assignee?(e.openBlock(),e.createElementBlock("div",fh,[e.createVNode(ye,{"user-name":e.unref(er)(c.assignee),"avatar-url":c.assignee.avatarUrl,color:c.isSelected?"black":"primary",size:"sm"},null,8,["user-name","avatar-url","color"])])):e.createCommentVNode("",!0)])]),_:3},8,["is-clickable","is-selected","color"]))}}),R9="",gh={class:"ao-mapping-card-project-phase__header"},_h={class:"ao-card-project-item__title-line"},vh={key:0,class:"ao-card-project-item-phase__estimation"},Ch={class:"ao-mapping-card-project-phase__footer"},bh={key:0,class:"ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"},yh={class:"ao-mapping-card-project-phase__subitem"},wh={class:"ao-mapping-card-project-phase__subitem"},kh={key:0,class:"ao-mapping-card-project-phase__secondary"},$h={class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly"},Eh=e.defineComponent({__name:"AoCondensedCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","updatePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,r=p=>{t("update:title",p)},n=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.reduce((m,f)=>{var b;return m+((b=f.activities)==null?void 0:b.reduce((_,g)=>_+(g.estimation||0),0))},0)}),s=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.length}),i=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.filter(m=>m.status===kt.done).length}),l=e.computed(()=>(i.value||0)/(s.value||1)),c=e.computed({get:()=>o.deadline??"",set:p=>t("update:deadline",p!=null&&p.length?p:null)}),u=e.computed({get:()=>o.color,set:p=>{t("updatePhase",{id:o.id,color:p})}}),d=(p,m)=>{const f=p.target;f.closest("button")||f.closest("input")||f.closest(".ao-title")||m()};return(p,m)=>(e.openBlock(),e.createBlock(uo,{color:u.value,"onUpdate:color":m[2]||(m[2]=f=>u.value=f)},{clickable:e.withCtx(({openPicker:f,bgColor:b})=>[e.createVNode(ba,{class:"ao-mapping-card-project-phase","is-clickable":p.isEditable,color:b,withLeftBorder:!0,onClick:_=>d(_,f)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",_h,[e.createVNode(ne,{id:p.id,class:"ao-mapping-card-project-phase__title",title:p.name||"",level:4,"is-editable":p.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value?(e.openBlock(),e.createElementBlock("span",vh," ("+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Ch,[s.value?(e.openBlock(),e.createElementBlock("div",bh,[e.createElementVNode("div",yh,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",wh,e.toDisplayString(i.value)+" / "+e.toDisplayString(s.value),1)]),e.createVNode(ya,{percentages:l.value,class:"ao-mapping-card-project-phase__progress",color:u.value},null,8,["percentages","color"]),p.$slots.secondary?(e.openBlock(),e.createElementBlock("div",kh,[e.renderSlot(p.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-mapping-card-project-phase__footer-row",c.value?"":"ao-mapping-card-project-phase__no_deadline"])},[p.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=_=>c.value=_),class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",$h,e.toDisplayString(e.unref(ra)(p.deadline)),1)],2)])]),_:2},[p.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",gh,[e.createVNode(K,{class:"ao-mapping-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:p.active?p.$t("archive"):p.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>p.active?p.$emit("archivePhase",{id:p.id}):p.$emit("unarchivePhase",{id:p.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),F9="",Bh={class:"ao-project-phase"},Vh={key:0,class:"ao-project-phase__drag ao-card__drag"},Nh={key:1,class:"ao-project-phase__col-phase"},Sh={key:2,class:"ao-mapping-project-phase__col-phase"},xh={key:0,class:"ao-project-phase__col-milestones"},Mh={class:"ao-project-phase__milestones-list-footer"},Ah=e.defineComponent({__name:"AoProjectPhase",props:{phase:{},closedStatus:{},users:{},isEditable:{type:Boolean},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.phase.milestones,(h,v)=>{Ae(h,v)});const n=h=>{t("updatePhase",{id:o.phase.id,name:h})},s=h=>{t("updatePhase",{id:o.phase.id,deadline:h})},i=h=>{t("updatePhase",h)},l=e.computed(()=>o.phase.milestones.map(h=>g2(h,o.closedStatus))),c=h=>{const{name:v,rank:N}=at(l.value??[],"milestone",r);t("addMilestone",{name:v,rank:N,phaseId:h})},u=h=>{t("updateMilestone",h)},d=h=>{t("archiveMilestone",h)},p=h=>{t("unarchiveMilestone",h)},m=h=>{t("archivePhase",h)},f=h=>{t("unarchivePhase",h)},b=h=>{"added"in h?t("updateMilestone",{id:h.added.element.id,phaseId:o.phase.id,rank:dt(l.value,h.added.newIndex)}):"removed"in h||"moved"in h&&t("updateMilestone",{id:h.moved.element.id,rank:dt(l.value,h.moved.newIndex)})},_=Le.useRoute(),g=e.computed(()=>_.path.includes("/mapping")),y=e.computed(()=>{var h;return o.phase.id!==((h=_.params)==null?void 0:h.phaseId)?{backgroundColor:"var(--ao-color-sheet)"}:o.phase.color?{backgroundColor:v2(o.phase.color)}:{backgroundColor:"var(--ao-color-primary-lightest)"}});return(h,v)=>(e.openBlock(),e.createElementBlock("li",Bh,[e.createElementVNode("div",{class:"ao-project-phases__draggable-card",style:e.normalizeStyle(y.value)},[h.isEditable?(e.openBlock(),e.createElementBlock("div",Vh,[e.createVNode(Q,{name:"DragIndicator",class:"ao-project-phase__drag-handle"})])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("div",Sh,[e.createVNode(Eh,{id:h.phase.id,milestones:l.value,name:h.phase.name,deadline:h.phase.deadline,active:h.phase.active,"is-editable":h.isEditable,color:h.phase.color,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:f,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color"])])):(e.openBlock(),e.createElementBlock("div",Nh,[e.createVNode(Jf,{id:h.phase.id,milestones:l.value,name:h.phase.name,deadline:h.phase.deadline,active:h.phase.active,"is-editable":h.isEditable,color:h.phase.color,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:f,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color"])]))],4),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",xh,[e.createElementVNode("div",{class:"ao-project-phase__milestones",style:e.normalizeStyle(y.value)},[e.createVNode(e.unref(je),e.mergeProps({class:"ao-project-phase__milestones-list",list:l.value,disabled:h.readonly||!h.isEditable,"item-key":"id",group:"kanban"},h.$attrs,{onChange:b}),{item:e.withCtx(({element:N})=>{var B;return[e.createVNode(hh,{id:N.id,name:N.name,color:N.color,"phase-color":h.phase.color,activities:N.activities,deadline:N.deadline,active:N.active,"is-editable":!h.readonly&&h.isEditable,"is-draggable":!h.readonly&&h.isEditable,"closed-status":h.closedStatus,"is-selected":N.id===((B=h.$route.params)==null?void 0:B.milestoneId),assignee:N.assignee,important:N.important,readonly:h.readonly,class:e.normalizeClass(["ao-project-phase__milestone"]),onClick:V=>!h.readonly&&h.$router.push({name:e.unref(re).milestone,params:{phaseId:h.phase.id,milestoneId:N.id}}),onUpdateMilestone:u,onArchiveMilestone:d,onUnarchiveMilestone:p},null,8,["id","name","color","phase-color","activities","deadline","active","is-editable","is-draggable","closed-status","is-selected","assignee","important","readonly","onClick"])]}),_:1},16,["list","disabled"]),e.createElementVNode("div",Mh,[h.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,label:h.$t("project.milestone.add"),class:"ao-project-phase__milestone-add","icon-name":"Add",onClick:v[0]||(v[0]=()=>c(h.phase.id))},null,8,["label"])):e.createCommentVNode("",!0)])],4)]))]))}}),U9="",Th={class:"ao-project__phases"},Oh={key:0,class:"ao-project-phase__phases-list-footer"},Ih=e.createElementVNode("div",{class:"ao-project-phase__empty_drag"},null,-1),Lh={class:"ao-project-phase__col-phase"},jh=e.createElementVNode("div",{class:"ao-project-phase__col-milestones"},null,-1),mo=e.defineComponent({__name:"AoProjectPhases",props:{phases:{},closedStatus:{},isEditable:{type:Boolean},users:{},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addPhase","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a;e.watch(()=>o.phases,(m,f)=>{Ae(m,f)});const r=m=>{t("addMilestone",m)},n=m=>{t("updateMilestone",m)},s=m=>{t("archiveMilestone",m)},i=m=>{t("unarchiveMilestone",m)},l=m=>{t("archivePhase",m)},c=m=>{t("unarchivePhase",m)},u=m=>{if(m.moved){const f=Ot(m,o.phases??[]);t("updatePhase",{id:m.moved.element.id,rank:f})}},d=m=>{t("updatePhase",m)},p=m=>{t("addPhase",m)};return(m,f)=>(e.openBlock(),e.createElementBlock("div",Th,[e.createVNode(e.unref(je),{class:"ao-project-phase__phases-list","model-value":m.phases,"item-key":"id",handle:".ao-card__drag",onChange:u},{item:e.withCtx(({element:b})=>[e.createVNode(Ah,{phase:b,"is-editable":!m.readonly&&m.isEditable,"closed-status":m.closedStatus,users:m.users,readonly:m.readonly,onAddMilestone:r,onUpdateMilestone:n,onArchiveMilestone:s,onUnarchiveMilestone:i,onUpdatePhase:d,onArchivePhase:l,onUnarchivePhase:c},null,8,["phase","is-editable","closed-status","users","readonly"])]),_:1},8,["model-value"]),m.isEditable?(e.openBlock(),e.createElementBlock("div",Oh,[Ih,e.createElementVNode("div",Lh,[e.createVNode(Pe,{label:m.$t("project.phases.add"),"icon-name":"Add",class:"ao-project-phase__add-phase",onClick:p},null,8,["label"])]),jh])):e.createCommentVNode("",!0)]))}}),Z9="",Dh=["onSubmit"],Ph={class:"ao-add-template-modal__form-body"},zh={class:"field__row"},Hh={class:"ao-add-template-modal__form-footer"},Ar=e.defineComponent({__name:"AoAddTemplateModal",props:{projectId:{},templates:{}},emits:["apply"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.templates.map(l=>({value:l.id,label:l.name}))),n=e.ref(null),s=l=>{n.value=l},i=()=>{n.value&&t("apply",n.value,o.projectId)};return(l,c)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:l.$t("project.template.apply.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-add-template-modal__form",onSubmit:e.withModifiers(i,["prevent"])},[e.createElementVNode("p",null,e.toDisplayString(l.$t("project.template.apply.notice")),1),e.createElementVNode("div",Ph,[e.createElementVNode("div",zh,[e.createVNode(le,{value:n.value,options:r.value,detached:!0,onChange:s},null,8,["value","options"])])]),e.createElementVNode("footer",Hh,[e.createVNode(K,{label:l.$t("project.template.apply.label"),type:"submit",color:"primary",variant:"solid",onClick:i},null,8,["label"])])],40,Dh)]),_:1}))}}),W9="",Rh=["onSubmit"],Fh={class:"ao-save-template-modal__form-body"},Uh={class:"field__row"},Zh={class:"ao-field ao-field--inline"},Wh={class:"ao-field__label"},qh={class:"ao-save-template-modal__phases"},Yh={class:"ao-field__label"},Kh={class:"ao-save-template-modal__phases-list"},Gh=["value"],Xh={class:"ao-save-template-modal__form-footer"},Tr=e.defineComponent({__name:"AoSaveTemplateModal",props:{phases:{}},emits:["save"],setup(a,{emit:t}){const o=a,r=e.ref(""),n=e.ref([]);e.onMounted(()=>{n.value=o.phases.map(i=>i.id)});const s=()=>{r.value&&t("save",r.value,n.value)};return(i,l)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:i.$t("project.template.save.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-save-template-modal__form",onSubmit:e.withModifiers(s,["prevent"])},[e.createElementVNode("div",Fh,[e.createElementVNode("div",Uh,[e.createElementVNode("label",Zh,[e.createElementVNode("span",Wh,e.toDisplayString(i.$t("project.template.name.label"))+": ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>r.value=c),type:"text"},null,512),[[e.vModelText,r.value]])])]),e.createElementVNode("div",qh,[e.createElementVNode("div",Yh,e.toDisplayString(i.$t("project.template.phases.label")),1),e.createElementVNode("div",Kh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.phases,c=>(e.openBlock(),e.createElementBlock("label",{class:"ao-field ao-field--checkbox",key:c.id},[e.withDirectives(e.createElementVNode("input",{type:"checkbox",value:c.id,"onUpdate:modelValue":l[1]||(l[1]=u=>n.value=u)},null,8,Gh),[[e.vModelCheckbox,n.value]]),e.createElementVNode("span",null,e.toDisplayString(c.name),1)]))),128))])])]),e.createElementVNode("footer",Xh,[e.createVNode(K,{label:i.$t("project.template.save.label"),type:"submit",color:"primary",variant:"solid",onClick:s},null,8,["label"])])],40,Rh)]),_:1}))}}),q9="",Qh=e.defineComponent({props:{modelValue:{type:[String,Number],required:!0},tabs:{type:Array,required:!0}},emits:["update:modelValue"],methods:{selectTab(a){this.$emit("update:modelValue",a)}}}),Y9="",Jh={class:"tabbar-wrapper"},e5=["onClick"];function t5(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("div",Jh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabs,i=>(e.openBlock(),e.createElementBlock("button",{key:i.value,class:e.normalizeClass(["tab-button",{"tab-button--active":i.value===a.modelValue}]),type:"button",onClick:l=>a.selectTab(i.value)},e.toDisplayString(i.label),11,e5))),128))])}const fo=O(Qh,[["render",t5],["__scopeId","data-v-ff4e3297"]]),a5={class:"ao-project"},o5={class:"ao-project__body"},r5=e.defineComponent({__name:"AoProjectOverviewProject",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addActivity","update:activity","archiveActivity","copyPhaseToTemplate","unarchiveActivity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>o.phases.flatMap($=>$.milestones)),s=()=>{const{name:$,rank:w}=at(o.phases,"phase",r);t("addPhase",{name:$,rank:w,projectId:o.project.id})},i=$=>{t("updatePhase",$)},l=$=>{t("archivePhase",$)},c=$=>{t("unarchivePhase",$)},u=$=>{t("copyPhaseToTemplate",$)},d=$=>{t("addMilestone",$)},p=$=>{t("updateMilestone",$)},m=$=>{t("archiveMilestone",$)},f=$=>{t("unarchiveMilestone",$)},b=$=>{t("addActivity",$)},_=$=>{t("update:activity",$)},g=$=>{t("archiveActivity",$)},y=$=>{t("unarchiveActivity",$)},h=$=>{t("addSubtask",$)},v=$=>{t("updateSubtask",$)},N=$=>{t("deleteSubtask",$)},B=e.computed(()=>n.value.flatMap($=>$.activities)),V=$=>{t("addFiles",$)},I=$=>{t("removeFile",$)},j=$=>{t("addComment",$)},P=$=>{t("updateComment",$)},H=$=>{t("removeComment",$)},F=e.ref(!1),A=e.ref(!1),z=($,w)=>{t("applyTemplate",{templateId:$,projectId:w}),F.value=!1},Y=($,w)=>{var x;const T=(x=o.templates)==null?void 0:x.at(-1),C=T?ie.LexoRank.parse(T.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:$,rank:C.format(),phaseIds:w}),A.value=!1},U=Le.useRouter(),R=e.ref("overview"),E=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(R,$=>{$==="feed"?(U.push({name:re.feed}),console.log("Navigating to feed...")):$==="overview"?(U.push({name:re.project}),console.log("Navigating to feed...")):$==="mapping"&&(U.push({name:re.mapping}),console.log("Navigating to feed..."))}),($,w)=>{const T=e.resolveComponent("RouterView");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-overview"},$.$attrs),[e.createElementVNode("div",a5,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(fo,{tabs:E,modelValue:R.value,"onUpdate:modelValue":w[0]||(w[0]=C=>R.value=C)},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":$.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:$.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":$.showsArchived,onClick:w[1]||(w[1]=C=>$.$emit("update:showsArchived",!$.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-overview__save-as-template",color:"primary",label:$.$t("project.template.save.label"),onClick:w[2]||(w[2]=C=>A.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-overview__add-template",color:"primary",label:$.$t("project.template.apply.label"),onClick:w[3]||(w[3]=C=>F.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",o5,[e.createVNode(mo,{phases:$.phases,"closed-status":$.closedStatus,"is-editable":$.isEditable===!0,users:$.users,onAddMilestone:d,onUpdateMilestone:p,onArchiveMilestone:m,onUnarchiveMilestone:f,onAddPhase:s,onUpdatePhase:i,onArchivePhase:l,onUnarchivePhase:c,onCopyPhaseToTemplate:u},null,8,["phases","closed-status","is-editable","users"])])]),e.createVNode(T,{class:"ao-project__sidebar",phases:$.phases,"project-id":$.project.id,"project-name":$.project.name,users:$.users,"is-editable":$.isEditable===!0,"closed-status":$.closedStatus,onClose:w[4]||(w[4]=C=>$.$router.push({name:e.unref(re).project})),onUpdateMilestone:p,onAddActivity:b,onUpdateActivity:_,onArchiveActivity:g,onUnarchiveActivity:y},null,8,["phases","project-id","project-name","users","is-editable","closed-status"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(T,{name:"modal",activities:B.value,"is-task-checkable":$.isTaskCheckable,statuses:$.statuses,"activity-types":$.activityTypes,phases:$.phases,project:$.project,users:$.users,"user-id":$.userId,"is-editable":$.isEditable,"attachment-enabled":$.attachmentEnabled,"onUpdate:activity":_,onAddSubtask:h,onUpdateSubtask:v,onDeleteSubtask:N,onAddFiles:V,onRemoveFile:I,onAddComment:j,onUpdateComment:P,onRemoveComment:H},{default:e.withCtx(({Component:C})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C),null,{default:e.withCtx(x=>[e.renderSlot($.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(x)))]),_:2},1024))]),_:3},8,["activities","is-task-checkable","statuses","activity-types","phases","project","users","user-id","is-editable","attachment-enabled"])]))],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[A.value?(e.openBlock(),e.createBlock(Tr,{key:0,phases:$.phases,onClose:w[5]||(w[5]=C=>A.value=!1),onSave:Y},null,8,["phases"])):e.createCommentVNode("",!0),F.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":$.project.id,templates:$.templates,onClose:w[6]||(w[6]=C=>F.value=!1),onApply:z},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64)}}}),K9="",n5={class:"ao-card-feed__header"},i5={key:1,class:"ao-card-feed__header-secondary ao-card-feed__header-icons"},s5={key:2,class:"ao-card-feed__header-secondary ao-card-feed__secondary"},l5={class:"ao-card-feed__body"},c5={key:0,class:"ao-card-feed__breadcrumbs"},d5={class:e.normalizeClass(["ao-card-feed__title-group"])},p5={class:"ao-card-feed__title-line"},u5={key:0,class:"ao-card-feed__slug"},m5={key:1,class:"ao-card-feed__deadline"},f5={class:"ao-card-feed__footer"},h5={class:"ao-card-feed__footer-row"},g5={class:"ao-assignees"},_5={key:0,class:"ao-assignee"},v5={key:0,class:"ao-card-feed__subitems"},C5={key:0,class:"ao-card-feed__subitem"},b5={class:"ao-card-feed__subitem"},y5={key:1,class:"ao-card-feed__subitem"},w5={class:"ao-card-feed__subitem"},k5={class:"ao-card-feed__footer-row"},$5={key:0,class:"ao-card-feed__progress-wrapper"},E5={class:"ao-card-feed__subitem"},B5={class:"ao-card-feed__subitem"},ho=e.defineComponent({__name:"AoCardFeed",props:{id:{},name:{},projectName:{},projectColor:{},phaseName:{},milestoneName:{},milestoneColor:{},deadline:{},important:{type:Boolean},assignee:{},slug:{},comments:{},attachments:{},tasks:{},isEditable:{type:Boolean},isPrivate:{type:Boolean},isClosed:{type:Boolean},tagType:{}},emits:["removeAssignee","updateActivity"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.tagType==="milestone"?o.milestoneName:o.projectName),n=e.computed(()=>o.tagType==="milestone"?o.milestoneColor:o.projectColor),s=f=>{t("updateActivity",{id:o.id,name:f})},i=e.computed(()=>o.tagType==="milestone"&&o.phaseName?`${o.phaseName}`:o.phaseName&&o.milestoneName?`${o.phaseName} / ${o.milestoneName}`:""),l=e.computed(()=>o.assignee?[o.assignee]:[]),c=e.computed(()=>ra(o.deadline)),u=f=>{t("removeAssignee",f)},d=e.computed(()=>{var f;return(f=o.tasks)==null?void 0:f.length}),p=e.computed(()=>{var f;return(f=o.tasks)==null?void 0:f.filter(b=>b.isDone).length}),m=e.computed(()=>(p.value||0)/(d.value||1));return(f,b)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-feed",{"ao-card-feed--closed":f.isClosed}]),"is-clickable":!0},{header:e.withCtx(()=>[e.createElementVNode("div",n5,[r.value?(e.openBlock(),e.createBlock(wt,{key:0,label:r.value,class:"ao-card-feed__project",variant:"solid",color:f.projectColor?void 0:"primary","raw-color":n.value},null,8,["label","color","raw-color"])):e.createCommentVNode("",!0),f.isPrivate||f.important||f.isClosed?(e.openBlock(),e.createElementBlock("div",i5,[f.isPrivate?(e.openBlock(),e.createBlock(Q,{key:0,name:"Lock",class:"ao-card-feed__warning",size:"sm"})):e.createCommentVNode("",!0),f.important?(e.openBlock(),e.createBlock(Q,{key:1,name:"FlagRounded",class:"ao-card-feed__important",size:"sm"})):e.createCommentVNode("",!0),f.isClosed?(e.openBlock(),e.createBlock(Q,{key:2,name:"CheckSmallRounded",class:"ao-card-feed__closed"})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),f.$slots.secondary?(e.openBlock(),e.createElementBlock("div",s5,[e.renderSlot(f.$slots,"secondary")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",l5,[i.value?(e.openBlock(),e.createElementBlock("span",c5,e.toDisplayString(i.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",d5,[e.createElementVNode("div",p5,[f.slug?(e.openBlock(),e.createElementBlock("span",u5,e.toDisplayString(f.slug)+": ",1)):e.createCommentVNode("",!0),e.createVNode(ne,{id:f.id,title:f.name,level:5,"is-editable":f.isEditable,"onUpdate:title":s,class:"ao-card-feed__title-inline"},null,8,["id","title","is-editable"])])]),f.deadline?(e.openBlock(),e.createElementBlock("span",m5,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",f5,[e.createElementVNode("div",h5,[e.createElementVNode("ul",g5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,_=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:_.id},[_?(e.openBlock(),e.createElementBlock("li",_5,[e.createVNode(ye,{"user-name":e.unref(er)(_),"avatar-url":_.avatarUrl,"is-closable":!0,onClose:()=>u(_.id)},null,8,["user-name","avatar-url","onClose"])])):e.createCommentVNode("",!0)],64))),128))]),f.comments||f.attachments?(e.openBlock(),e.createElementBlock("ul",v5,[f.comments?(e.openBlock(),e.createElementBlock("li",C5,[e.createVNode(Q,{name:"ChatOutline",size:"sm"}),e.createElementVNode("span",b5,e.toDisplayString(f.comments),1)])):e.createCommentVNode("",!0),f.attachments?(e.openBlock(),e.createElementBlock("li",y5,[e.createVNode(Q,{name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",w5,e.toDisplayString(f.attachments),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",k5,[f.tasks&&f.tasks.length?(e.openBlock(),e.createElementBlock("div",$5,[e.createElementVNode("div",E5,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",B5,e.toDisplayString(p.value)+" / "+e.toDisplayString(d.value),1)]),e.createVNode(ya,{percentages:m.value,class:"ao-card-feed__progress"},null,8,["percentages"])])):e.createCommentVNode("",!0)])])]),_:3},8,["class"]))}}),G9="",V5={class:"ao-project-milestone"},N5={class:"ao-project-milestone__header"},S5={class:"ao-project-milestone__header_line"},x5={class:"ao-project-milestone__header_line"},M5={class:"ao-project-milestone__title"},A5={key:0,class:"ao-fieldset ao-milestone__fieldset"},T5={class:"ao-field__row ao-milestone__field-row"},O5={class:"ao-field ao-field--inline"},I5={class:"ao-field__row ao-milestone__field-row"},L5={class:"ao-field ao-milestone__field-multiselect"},j5=["onClick"],D5={class:"ao-project-milestone__body"},P5={key:0,class:"ao-project-milestone__footer"},Or=e.defineComponent({__name:"AoProjectOverviewMilestoneDetails",props:{milestoneId:{},users:{},projectId:{},phases:{},phaseId:{},isEditable:{type:Boolean},closedStatus:{}},emits:["close","addActivity","updateMilestone","updateActivity","archiveActivity","unarchiveActivity"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.find(v=>v.id===o.phaseId)}),s=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.flatMap(v=>v.milestones)}),i=e.computed(()=>{var h;return(h=s.value)==null?void 0:h.find(v=>v.id===o.milestoneId)}),l=e.computed(()=>{var h;return(h=i.value)==null?void 0:h.activities});e.watch(l,(h,v)=>{Ae(h,v)});const c=h=>{t("close",h)},u=()=>{const{name:h,rank:v}=at(l.value??[],"activity",r);t("addActivity",{milestoneId:o.milestoneId,name:h,rank:v,projectId:o.projectId})},d=h=>{t("updateActivity",h)},p=h=>{l.value&&"moved"in h&&t("updateActivity",{id:h.moved.element.id,rank:dt(l.value,h.moved.newIndex)})},m=e.computed({get:()=>{var h;return(h=i.value)==null?void 0:h.color},set:h=>{i.value&&t("updateMilestone",{id:i.value.id,color:h})}}),f=e.computed({get:()=>{var h;return((h=i==null?void 0:i.value)==null?void 0:h.deadline)??""},set:h=>{i.value&&t("updateMilestone",{id:i.value.id,deadline:h!=null&&h.length?h:null})}}),b=h=>o.closedStatus?La(h,o.closedStatus):!1,_=e.computed(()=>{var h;return((h=o.users)==null?void 0:h.map(v=>({label:`${v.firstName} ${v.lastName}`,value:v.id,avatar:v.avatarUrl})))||[]}),g=e.computed({get(){var h,v;return(v=(h=i.value)==null?void 0:h.assignee)!=null&&v.id?[i.value.assignee.id]:[]},set(h){t("updateMilestone",{id:o.milestoneId,assigneeId:h[0]??null})}}),y=e.computed({get(){var h;return((h=i.value)==null?void 0:h.important)??!1},set(h){t("updateMilestone",{id:o.milestoneId,important:h})}});return(h,v)=>{var N;return e.openBlock(),e.createElementBlock("div",V5,[e.createElementVNode("header",N5,[e.createElementVNode("div",S5,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",size:"sm",class:"ao-milestone__close",onClick:c})]),e.createElementVNode("div",x5,[e.createElementVNode("div",M5,[e.createVNode(ne,{title:((N=i.value)==null?void 0:N.name)||h.milestoneId,level:5},null,8,["title"]),e.createVNode(eo,{modelValue:y.value,"onUpdate:modelValue":v[0]||(v[0]=B=>y.value=B),modelModifiers:{lazy:!0},disabled:!h.isEditable,class:"ao-milestone__important",color:"danger",label:h.$t("activity.important.label"),"icon-name":"FlagRounded",variant:"ghost",size:"sm"},null,8,["modelValue","disabled","label"])])]),i.value?(e.openBlock(),e.createElementBlock("div",A5,[e.createElementVNode("div",T5,[e.createElementVNode("label",O5,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":v[1]||(v[1]=B=>f.value=B),class:"ao-milestone__field ao-milestone__date-field",type:"date"},null,512),[[e.vModelText,f.value,void 0,{lazy:!0}]])])]),e.createElementVNode("div",I5,[e.createElementVNode("label",L5,[e.createVNode(le,{modelValue:g.value,"onUpdate:modelValue":v[2]||(v[2]=B=>g.value=B),options:_.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-milestone__field ao-milestone__multiselect",placeholder:h.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!h.isEditable,caret:h.isEditable},{tag:e.withCtx(({option:B,handleTagRemove:V})=>[e.createVNode(ye,{"user-name":B.label,"avatar-url":B.avatar,"is-closable":!0,onClose:I=>V(B,I)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createVNode(uo,{color:m.value,"onUpdate:color":v[3]||(v[3]=B=>m.value=B)},{clickable:e.withCtx(({openPicker:B,bgColor:V})=>[e.createElementVNode("button",{style:e.normalizeStyle({background:V}),class:"color-button",onClick:B},null,12,j5)]),_:1},8,["color"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",D5,[e.createVNode(e.unref(je),e.mergeProps({class:"ao-project-milestone__activities",list:l.value,disabled:!h.isEditable,"item-key":"id",group:"kanban"},h.$attrs,{onChange:p}),{item:e.withCtx(({element:B})=>{var V,I,j,P,H;return[e.createVNode(ho,{id:B.id,name:B.name||B.id,"phase-name":(V=n.value)==null?void 0:V.name,"milestone-name":(I=i.value)==null?void 0:I.name,"milestone-color":(j=i.value)==null?void 0:j.color,deadline:B.deadline,important:B.important,users:h.users,assignee:B.assignee,slug:B.slug,comments:(P=B.comments)==null?void 0:P.length,attachments:(H=B.attachments)==null?void 0:H.length,tasks:B.tasks,"is-editable":h.isEditable,"is-private":B.private,"is-closed":b(B),onClick:F=>h.$router.push({name:e.unref(re).activity,params:{milestoneId:h.milestoneId,activityId:B.id}}),onUpdateActivity:d,onRemoveAssignee:()=>d({id:B.id,assigneeId:null})},e.createSlots({_:2},[h.isEditable?{name:"secondary",fn:e.withCtx(()=>[h.isEditable&&B.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:h.$t("archive"),onClick:e.withModifiers(()=>h.$emit("archiveActivity",{id:B.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),h.isEditable&&!B.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:h.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>h.$emit("unarchiveActivity",{id:B.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["id","name","phase-name","milestone-name","milestone-color","deadline","important","users","assignee","slug","comments","attachments","tasks","is-editable","is-private","is-closed","onClick","onRemoveAssignee"])]}),_:1},16,["list","disabled"]),h.isEditable?(e.openBlock(),e.createElementBlock("div",P5,[e.createVNode(Pe,{"icon-name":"Add",label:h.$t("project.activity.add"),onClick:u},null,8,["label"])])):e.createCommentVNode("",!0)])])}}}),X9="",z5=e.defineComponent({__name:"AoProjectOverviewActivityDetails",props:{phaseId:{},milestoneId:{},activityId:{},activityTypes:{},activities:{},isTaskCheckable:{type:Function},statuses:{},phases:{},users:{},project:{},userId:{},isEditable:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["update:activity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.find(y=>y.id===o.phaseId)}),n=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.flatMap(y=>y.milestones)}),s=e.computed(()=>{var g;return(g=n.value)==null?void 0:g.find(y=>y.id===o.milestoneId)}),i=e.computed(()=>{var g;return(g=o.activities)==null?void 0:g.find(y=>y.id===o.activityId)}),l=g=>{t("update:activity",g)},c=g=>{t("addSubtask",g)},u=g=>{t("updateSubtask",g)},d=g=>{t("deleteSubtask",g)},p=g=>{t("addFiles",g)},m=g=>{t("removeFile",g)},f=g=>{t("addComment",g)},b=g=>{t("updateComment",g)},_=g=>{t("removeComment",g)};return(g,y)=>{var h,v;return i.value?(e.openBlock(),e.createBlock(to,{key:0,activity:i.value,"activity-types":g.activityTypes,"milestone-id":g.milestoneId,"template-activities":g.activities,"is-template":!1,users:g.users,"user-id":g.userId,"is-task-checkable":g.isTaskCheckable,statuses:g.statuses,breadcrumbs:`${(h=r.value)==null?void 0:h.name} / ${(v=s.value)==null?void 0:v.name}`,"is-editable":g.isEditable,"attachment-enabled":g.attachmentEnabled,projects:[g.project],onClose:g.$router.back,"onUpdate:activity":l,onAddSubtask:c,onUpdateSubtask:u,onDeleteSubtask:d,onAddFiles:p,onRemoveFile:m,onAddComment:f,onUpdateComment:b,onRemoveComment:_},{default:e.withCtx(N=>[e.renderSlot(g.$slots,"default",e.normalizeProps(e.guardReactiveProps(N)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","onClose"])):e.createCommentVNode("",!0)}}}),H5={class:"ao-col-header"},R5=e.defineComponent({__name:"AoColHeader",props:{title:{},items:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",H5,[e.createVNode(ne,{title:t.title,class:"ao-col-header__title",level:4},null,8,["title"]),t.items?(e.openBlock(),e.createBlock(wt,{key:0,label:t.items,class:"ao-col-header__items",variant:"solid",color:"primary"},null,8,["label"])):e.createCommentVNode("",!0)]))}}),Q9="";function F5(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}function wa(a){return typeof a=="function"?a():e.unref(a)}const U5=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Z5=a=>a!=null,Rt=()=>{};function W5(a,t){function o(...r){return new Promise((n,s)=>{Promise.resolve(a(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(s)})}return o}function q5(a,t={}){let o,r,n=Rt;const s=l=>{clearTimeout(l),n(),n=Rt};return l=>{const c=wa(a),u=wa(t.maxWait);return o&&s(o),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((d,p)=>{n=t.rejectOnCancel?p:d,u&&!r&&(r=setTimeout(()=>{o&&s(o),r=null,d(l())},u)),o=setTimeout(()=>{r&&s(r),r=null,d(l())},c)})}}function Y5(a,t=200,o={}){return W5(q5(t,o),a)}function go(a){var t;const o=wa(a);return(t=o==null?void 0:o.$el)!=null?t:o}const K5=U5?window:void 0;function G5(){const a=e.ref(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{a.value=!0},t),a}function X5(a){const t=G5();return e.computed(()=>(t.value,!!a()))}function Q5(a,t,o={}){const{root:r,rootMargin:n="0px",threshold:s=.1,window:i=K5,immediate:l=!0}=o,c=X5(()=>i&&"IntersectionObserver"in i),u=e.computed(()=>{const b=wa(a);return(Array.isArray(b)?b:[b]).map(go).filter(Z5)});let d=Rt;const p=e.ref(l),m=c.value?e.watch(()=>[u.value,go(r),p.value],([b,_])=>{if(d(),!p.value||!b.length)return;const g=new IntersectionObserver(t,{root:go(_),rootMargin:n,threshold:s});b.forEach(y=>y&&g.observe(y)),d=()=>{g.disconnect(),d=Rt}},{immediate:l,flush:"post"}):Rt,f=()=>{d(),m(),p.value=!1};return F5(f),{isSupported:c,isActive:p,pause(){d(),p.value=!1},resume(){p.value=!0},stop:f}}const J5={class:e.normalizeClass(["ao-list-kanban"])},e7={class:"ao-list-kanban__header"},t7={key:0,class:"ao-list-kanban__end ao-list-kanban__end--loading"},a7={key:1,class:"ao-list-kanban__end"},o7={key:0,class:"ao-list-kanban__no-more"},r7={key:1,class:"ao-list-kanban__divider"},n7={key:1,class:"ao-list-kanban__footer"},i7=e.defineComponent({__name:"AoListKanban",props:{list:{},status:{},users:{},userId:{},title:{},footerLabel:{},isLoading:{type:Boolean},hasMore:{type:Boolean},noMoreLabel:{},isEditable:{type:[Boolean,String]},tagType:{}},emits:["add","update:list","change:list","loadMore","selectActivity","archiveActivity","unarchiveActivity","updateActivity"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null);Q5(n,([{isIntersecting:d}])=>{r.value=d}),e.watch(r,d=>{d&&o.hasMore&&!o.isLoading&&t("loadMore")});const s=d=>{var p;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((p=d.assignee)==null?void 0:p.id):!1},i=d=>{t("selectActivity",d)},l=d=>{t("updateActivity",d)},c=d=>{"added"in d?t("updateActivity",{id:d.added.element.id,statusId:o.status.id,rank:dt(o.list,d.added.newIndex)}):"removed"in d||"moved"in d&&t("updateActivity",{id:d.moved.element.id,rank:dt(o.list,d.moved.newIndex)})},u=e.ref(!1);return(d,p)=>(e.openBlock(),e.createElementBlock("div",J5,[d.title||d.$slots.header?e.renderSlot(d.$slots,"header",{key:0},()=>{var m;return[e.createElementVNode("div",e7,[d.title?(e.openBlock(),e.createBlock(R5,{key:0,title:d.title,level:3,items:(m=d.list)==null?void 0:m.length},null,8,["title","items"])):e.createCommentVNode("",!0)])]}):e.createCommentVNode("",!0),e.createVNode(e.unref(je),e.mergeProps({class:["ao-list-kanban__list",u.value?"ao-list-kanban__transition":void 0],list:d.list,"item-key":"id",group:"kanban","ghost-class":"ao-list-kanban__ghost",animation:"200"},d.$attrs,{draggable:".ao-list-draggable",disabled:!d.isEditable,onChange:c,onStart:p[0]||(p[0]=m=>u.value=!0),onEnd:p[1]||(p[1]=m=>u.value=!1),"component-data":{tag:"transition-group",name:"ao-list-kanban__transition"}}),{item:e.withCtx(({element:m})=>{var f,b,_,g,y,h,v,N,B;return[e.createVNode(ho,{class:e.normalizeClass(s(m)?"ao-list-draggable":""),id:m.id,name:m.name,"project-name":(f=m.project)==null?void 0:f.name,"project-color":(b=m.project)==null?void 0:b.color,"phase-name":(g=(_=m.milestone)==null?void 0:_.phase)==null?void 0:g.name,"milestone-name":(y=m.milestone)==null?void 0:y.name,"milestone-color":(h=m.milestone)==null?void 0:h.color,deadline:m.deadline,rules:((v=m.rules)==null?void 0:v.length)||0,tasks:m.tasks,description:m.description,important:m.important,type:m.type,comments:(N=m.comments)==null?void 0:N.length,attachments:(B=m.attachments)==null?void 0:B.length,users:d.users,assignee:m.assignee,slug:m.slug,"is-editable":s(m),"is-private":m.private,"tag-type":d.tagType,onUpdateActivity:[V=>s(m)&&l(V),()=>s(m)&&l],onClick:()=>i(m.id),onRemoveAssignee:()=>s(m)&&l({id:m.id,assigneeId:null})},{secondary:e.withCtx(()=>[s(m)&&m.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.archive"),onClick:e.withModifiers(()=>d.$emit("archiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),s(m)&&!m.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>d.$emit("unarchiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),_:2},1032,["class","id","name","project-name","project-color","phase-name","milestone-name","milestone-color","deadline","rules","tasks","description","important","type","comments","attachments","users","assignee","slug","is-editable","is-private","tag-type","onUpdateActivity","onClick","onRemoveAssignee"])]}),footer:e.withCtx(()=>[d.isLoading?(e.openBlock(),e.createElementBlock("div",t7,[e.createVNode(Q,{name:"Loading"})])):d.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"scrollEnd",ref:n,class:"ao-list-kanban__end"},null,512)):(e.openBlock(),e.createElementBlock("div",a7,[d.noMoreLabel?(e.openBlock(),e.createElementBlock("span",o7,e.toDisplayString(d.noMoreLabel),1)):d.isEditable?(e.openBlock(),e.createElementBlock("span",r7)):e.createCommentVNode("",!0)]))]),_:1},16,["class","list","disabled"]),d.$slots.footer||d.footerLabel?(e.openBlock(),e.createElementBlock("div",n7,[e.renderSlot(d.$slots,"footer",{},()=>[d.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,"icon-name":"AddBoxOutlineRounded",label:d.footerLabel,onClick:p[2]||(p[2]=m=>d.$emit("add"))},null,8,["label"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),J9="",s7={class:"ao-field ao-search-field"},l7=["value","placeholder","onKeypress"],c7=e.defineComponent({__name:"AoSearchField",props:{modelValue:{},delay:{default:250},placeholder:{default:"Search"}},emits:["update:modelValue","clear"],setup(a,{emit:t}){const o=a,r=async i=>{const c=i.target.value;t("update:modelValue",c,i)},n=Y5(r,o.delay),s=i=>{t("clear",i)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",s7,[e.createElementVNode("input",{value:i.modelValue,type:"text",class:"ao-field__input ao-search-field__input",placeholder:i.placeholder,onInput:l[0]||(l[0]=(...c)=>e.unref(n)&&e.unref(n)(...c)),onKeypress:e.withKeys(r,["enter"])},null,40,l7),e.createVNode(Q,{name:"SearchRounded",class:e.normalizeClass(`ao-search-field__icon ao-search-field__action ${i.modelValue?"":"ao-search-field__action--visible"}`)},null,8,["class"]),e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",color:"primary",corners:"round",class:e.normalizeClass(`ao-search-field__button ao-search-field__action ${i.modelValue?"ao-search-field__action--visible":""}`),onClick:s},null,8,["class"])]))}}),e4="",d7={class:"ao-feed"},p7={class:"ao-feed__filters"},u7={class:"ao-feed__body"},Ir=e.defineComponent({__name:"AoFeed",props:{activities:{},statuses:{},project:{},projects:{},filters:{},activityTypes:{},users:{},userId:{},initialActivityId:{},initialActivitySlug:{},searchText:{default:""},showsArchivedActivities:{type:Boolean},showsOnlyImportant:{type:Boolean},showsOnlyNonAssigned:{type:Boolean},selectedActivity:{},isTaskCheckable:{type:Function,default:void 0},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean,default:!0}},emits:["change:activities","addActivity","update:filters","selectActivity","update:activity","archiveActivity","unarchiveActivity","update:searchText","clear:searchText","update:showsArchivedActivities","update:showsOnlyImportant","update:showsOnlyNonAssigned","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,{t:r}=We();function n(w,T){t("toast",w,T)}const s=e.toRef(o,"activities"),i=async(w,T)=>{await t("selectActivity",w,T)},l=e.ref({}),c=e.ref(!1),u=e.ref(!1),d=e.computed(()=>o.project?"milestone":"project");e.watch([()=>o.statuses,()=>o.activities,()=>o.initialActivityId,()=>o.initialActivitySlug],async([w,T,C,x],[q,Z])=>{l.value=Object.fromEntries(w.map(L=>[L.id,T.filter(S=>{var D;return((D=S.status)==null?void 0:D.id)===L.id})])),C&&!c.value?(i(C,null),c.value=!0):x&&!c.value&&(i(null,x),c.value=!0),u.value&&Ae(T,Z)},{immediate:!0});const p=e.computed(()=>{var w;return!o.selectedActivity||!o.selectedActivity.milestone?"":`${((w=o.selectedActivity.milestone.phase)==null?void 0:w.name)??""} / ${o.selectedActivity.milestone.name??""}`}),m=w=>{var Z,L;const T=(Z=o.activities)==null?void 0:Z.at(-1),C=T?ie.LexoRank.parse(T.rank).genNext():ie.LexoRank.middle(),x=((L=o.activities)==null?void 0:L.length)??0,q={name:r("activity.defaultName",{idx:x+1}),rank:C.format(),statusId:w.id};o.filters.assigneeId.length>0&&(q.assigneeId=o.filters.assigneeId[0]),o.filters.projectId.length>0&&(q.projectId=o.filters.projectId[0]),o.filters.typeId.length>0&&(q.typeId=o.filters.typeId[0]),u.value=!0,t("addActivity",q)},f=(w,T)=>{u.value=!1,t("update:filters",{...o.filters,[w]:T})},b=e.computed(()=>o.project?[o.project]:o.projects??[]),_=e.computed(()=>b.value.map(w=>({value:w.id,label:w.name}))),g=e.computed(()=>{var w;return(w=o.activityTypes)==null?void 0:w.map(T=>({value:T.id,label:T.name}))}),y=e.computed(()=>o.users.map(w=>({value:w.id,label:`${w.firstName} ${w.lastName}`,avatar:w.avatarUrl}))),h=w=>{o.selectedActivity&&t("update:activity",w)},v=w=>{t("update:activity",w)},N=w=>{t("archiveActivity",w)},B=w=>{t("unarchiveActivity",w)},V=w=>{u.value=!1,t("update:searchText",w)},I=w=>{u.value=!1,t("clear:searchText",w)},j=w=>{o.selectedActivity&&t("addSubtask",w)},P=w=>{o.selectedActivity&&t("updateSubtask",w)},H=w=>{o.selectedActivity&&t("deleteSubtask",w)},F=w=>{t("addFiles",w)},A=w=>{t("removeFile",w)},z=w=>{o.selectedActivity&&t("addComment",{...w,activityId:o.selectedActivity.id})},Y=w=>{const{id:T}=o.selectedActivity||{};T&&t("updateComment",w)},U=w=>{const{id:T}=o.selectedActivity||{};T&&t("removeComment",w)},R=Le.useRouter(),E=e.ref("feed"),$=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(E,w=>{w==="feed"?(R.push({name:re.feed}),console.log("Navigating to feed...")):w==="overview"?(R.push({name:re.project}),console.log("Navigating to feed...")):w==="mapping"&&(R.push({name:re.mapping}),console.log("Navigating to feed..."))}),(w,T)=>{var C;return e.openBlock(),e.createElementBlock("div",d7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createElementVNode("div",p7,[e.createVNode(fo,{tabs:$,modelValue:E.value,"onUpdate:modelValue":T[0]||(T[0]=x=>E.value=x)},null,8,["modelValue"]),e.createVNode(c7,{"model-value":w.searchText,placeholder:w.$t("feed.search.placeholder"),class:"ao-feed__search","onUpdate:modelValue":V,onClear:I},null,8,["model-value","placeholder"]),o.project?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(le,{key:0,"model-value":w.filters[e.unref(Xe).project],mode:"tags",options:_.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__projects",placeholder:w.$t("feed.filters.project.placeholder"),"onUpdate:modelValue":T[1]||(T[1]=x=>f(e.unref(Xe).project,x))},null,8,["model-value","options","placeholder"])),g.value?(e.openBlock(),e.createBlock(le,{key:1,"model-value":w.filters[e.unref(Xe).type],mode:"tags",options:g.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__types",placeholder:w.$t("feed.filters.activityType.placeholder"),"onUpdate:modelValue":T[2]||(T[2]=x=>f(e.unref(Xe).type,x))},null,8,["model-value","options","placeholder"])):e.createCommentVNode("",!0),y.value.length?(e.openBlock(),e.createBlock(le,{key:2,"model-value":w.filters[e.unref(Xe).assignee],mode:"tags",options:y.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__assignees",placeholder:w.$t("feed.filters.assignee.placeholder"),"onUpdate:modelValue":T[3]||(T[3]=x=>f(e.unref(Xe).assignee,x))},{tag:e.withCtx(({option:x,handleTagRemove:q})=>[e.createVNode(ye,{"user-name":x.label,"avatar-url":x.avatar,"is-closable":!0,onClose:Z=>q(x,Z)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["model-value","options","placeholder"])):e.createCommentVNode("",!0)]),e.createVNode(K,{class:"ao-feed__only-non-assigned",size:"sm","icon-name":w.showsOnlyNonAssigned?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:w.$t("feed.filters.showsOnlyNonAssigned.label"),role:"checkbox","aria-checked":w.showsOnlyNonAssigned,onClick:T[4]||(T[4]=x=>w.$emit("update:showsOnlyNonAssigned",!w.showsOnlyNonAssigned))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__only-important",size:"sm","icon-name":w.showsOnlyImportant?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:w.$t("feed.filters.showsOnlyImportant.label"),role:"checkbox","aria-checked":w.showsOnlyImportant,onClick:T[5]||(T[5]=x=>w.$emit("update:showsOnlyImportant",!w.showsOnlyImportant))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":w.showsArchivedActivities?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:w.$t("feed.filters.showsArchivedActivities.label"),role:"checkbox","aria-checked":w.showsArchivedActivities,onClick:T[6]||(T[6]=x=>w.$emit("update:showsArchivedActivities",!w.showsArchivedActivities))},null,8,["icon-name","label","aria-checked"])]),_:1}),e.createElementVNode("div",u7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.statuses,x=>(e.openBlock(),e.createBlock(i7,{key:x.id,status:x,list:l.value[x.id],title:x.name,"footer-label":w.$t("feed.activity.add"),users:w.users,"user-id":w.userId,"is-editable":w.isEditable,tagType:d.value,onAdd:()=>m(x),onSelectActivity:i,onArchiveActivity:N,onUnarchiveActivity:B,onUpdateActivity:v},null,8,["status","list","title","footer-label","users","user-id","is-editable","tagType","onAdd"]))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[w.selectedActivity?(e.openBlock(),e.createBlock(to,{key:0,activity:w.selectedActivity,"activity-types":w.activityTypes,"milestone-id":(C=w.selectedActivity.milestone)==null?void 0:C.id,"template-activities":s.value,users:w.users,"user-id":w.userId,"is-task-checkable":w.isTaskCheckable,statuses:w.statuses,breadcrumbs:p.value,"is-editable":w.isEditable,"attachment-enabled":w.attachmentEnabled,projects:b.value,onClose:T[7]||(T[7]=()=>i(null,null)),"onUpdate:activity":h,onAddSubtask:j,onUpdateSubtask:P,onDeleteSubtask:H,onAddFiles:F,onRemoveFile:A,onAddComment:z,onUpdateComment:Y,onRemoveComment:U,onToast:n},{default:e.withCtx(x=>[e.renderSlot(w.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(x)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects"])):e.createCommentVNode("",!0)]))])}}}),t4="",m7={class:"ao-project-mapping"},f7={class:"ao-project-mapping-mapping__body"},h7={class:"ao-project-mapping-mapping__phases"},g7={key:0,class:"ao-project-mapping-mapping__image-wrapper"},_7=["src","alt"],v7=e.defineComponent({__name:"AoMapping",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","copyPhaseToTemplate","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=()=>{const{name:g,rank:y}=at(o.phases,"phase",r);t("addPhase",{name:g,rank:y,projectId:o.project.id})},s=g=>{t("updatePhase",g)},i=g=>{t("archivePhase",g)},l=g=>{t("unarchivePhase",g)},c=g=>{t("copyPhaseToTemplate",g)},u=e.ref(!1),d=e.ref(!1),p=(g,y)=>{t("applyTemplate",{templateId:g,projectId:y}),u.value=!1},m=(g,y)=>{var N;const h=(N=o.templates)==null?void 0:N.at(-1),v=h?ie.LexoRank.parse(h.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:g,rank:v.format(),phaseIds:y}),d.value=!1},f=Le.useRouter(),b=e.ref("mapping"),_=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(b,g=>{g==="feed"?(f.push({name:re.feed}),console.log("Navigating to feed...")):g==="overview"?(f.push({name:re.project}),console.log("Navigating to feed...")):g==="mapping"&&(f.push({name:re.mapping}),console.log("Navigating to feed..."))}),(g,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-mapping-overview"},g.$attrs),[e.createElementVNode("div",m7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(fo,{tabs:_,modelValue:b.value,"onUpdate:modelValue":y[0]||(y[0]=h=>b.value=h)},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":g.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:g.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":g.showsArchived,onClick:y[1]||(y[1]=h=>g.$emit("update:showsArchived",!g.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[g.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-mapping-overview__save-as-template",color:"primary",label:g.$t("project.template.save.label"),onClick:y[2]||(y[2]=h=>d.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),g.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-mapping-overview__add-template",color:"primary",label:g.$t("project.template.apply.label"),onClick:y[3]||(y[3]=h=>u.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",f7,[e.createElementVNode("div",h7,[e.createVNode(mo,{phases:g.phases,"closed-status":g.closedStatus,"is-editable":g.isEditable===!0,users:g.users,onAddPhase:n,onUpdatePhase:s,onArchivePhase:i,onUnarchivePhase:l,onCopyPhaseToTemplate:c},null,8,["phases","closed-status","is-editable","users"])]),g.project.architectureImage?(e.openBlock(),e.createElementBlock("div",g7,[e.createElementVNode("img",{class:"architecture-image",src:g.project.architectureImage.url,alt:e.unref(r)("architectureImage.alt")},null,8,_7)])):e.createCommentVNode("",!0)])])],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(Tr,{key:0,phases:g.phases,onClose:y[4]||(y[4]=h=>d.value=!1),onSave:m},null,8,["phases"])):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":g.project.id,templates:g.templates,onClose:y[5]||(y[5]=h=>u.value=!1),onApply:p},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64))}}),a4="",rt={TEMPLATES:"templates",TEMPLATE_DETAILS:"template_details",TEMPLATES_LIST:"templates_list"},C7=(a,t={})=>[{path:a,name:rt.TEMPLATES,redirect:{name:rt.TEMPLATES_LIST},...t,children:[{path:"",name:rt.TEMPLATES_LIST,component:Lr},{path:":templateId/:phaseId?/:milestoneId?/:activityId?",name:rt.TEMPLATE_DETAILS,component:xr,props:!0}]}],re={project:"AoProject",feed:"AoProjectFeed",mapping:"AoProjectMapping",milestone:"AoMilestone",activity:"AoActivity"},b7=(a,t={})=>[{path:a,...t,redirect:{name:re.project},children:[{path:"",name:re.project,component:r5,props:!0,children:[{path:":phaseId/:milestoneId",name:re.milestone,component:Or,props:!0},{path:":phaseId/:milestoneId/:activityId",name:re.activity,props:{default:!0,modal:!0},components:{default:Or,modal:z5}}]},{path:"feed",name:re.feed,component:Ir,props:!0},{path:"mapping",name:re.mapping,component:v7,props:!0}]}],y7={class:"ao-templates"},Lr=e.defineComponent({__name:"AoTemplatesList",props:{templates:{}},emits:["addTemplate","updateTemplates","updateItem","removeItem"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.templates,(c,u)=>{Ae(c,u)});const n=()=>{var m,f;const c=(m=o.templates)==null?void 0:m.at(-1),u=c?ie.LexoRank.parse(c.rank).genNext():ie.LexoRank.middle(),d=((f=o.templates)==null?void 0:f.length)??0,p={name:r("template.defaultName.template",{idx:d+1}),rank:u.format()};t("addTemplate",p)},s=(c,u)=>{t("updateItem",{itemType:ee.TEMPLATES,id:c,templateId:c,data:{name:u}})},i=(c,u)=>{t("removeItem",{itemType:ee.TEMPLATES,templateId:c,data:{id:c,...u?{name:u}:{}}})},l=c=>{if(c.moved){const u=Ot(c,o.templates??[]);t("updateItem",{itemType:ee.TEMPLATES,id:c.moved.element.id,templateId:c.moved.element.id,data:{rank:u}})}};return(c,u)=>(e.openBlock(),e.createElementBlock("div",y7,[e.createVNode(It,null,{secondary:e.withCtx(()=>[e.createVNode(K,{label:c.$t("templates.new"),color:"primary","icon-name":"Add","icon-position":"start",onClick:n},null,8,["label"])]),_:1}),e.createVNode(e.unref(je),{"model-value":c.templates,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:l},{item:e.withCtx(({element:d})=>{var p;return[e.createVNode(R2,{id:d.id,title:d.name,phases:d.phases,milestones:(p=d.phases)!=null&&p.length?e.unref(u2)(d.phases):0,activities:d.phases?e.unref(m2)(d.phases):0,"updated-at":d.updatedAt,"updated-by":d.updatedBy,onUpdateTitle:m=>s(d.id,m),onClick:m=>c.$router.push({name:e.unref(rt).TEMPLATE_DETAILS,params:{templateId:d.id}}),onDeleteItem:u[0]||(u[0]=(m,f)=>i(m,f))},null,8,["id","title","phases","milestones","activities","updated-at","updated-by","onUpdateTitle","onClick"])]}),_:1},8,["model-value"])]))}}),o4="",w7={class:"ao-field__label"},jr=e.defineComponent({__name:"AoField",props:{label:{},isMultiselect:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ao-field",{"ao-field--multiselect":t.isMultiselect}])},[e.createElementVNode("span",w7,e.toDisplayString(t.label),1),e.renderSlot(t.$slots,"default")],2))}}),k7=["type","value","disabled","readonly"],$7=e.defineComponent({__name:"AoInputField",props:{label:{default:""},type:{default:"text"},modelValue:{default:""},modelModifiers:{default:()=>({})},isDisabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.modelModifiers.lazy?"change":"input"),n=s=>{o.modelModifiers.number&&(s=Number(s)),t("update:modelValue",s)};return(s,i)=>(e.openBlock(),e.createBlock(jr,{label:s.label},{default:e.withCtx(()=>[e.createElementVNode("input",e.mergeProps({class:"ao-field__input",type:s.type,value:s.modelValue,disabled:s.isDisabled,readonly:s.isReadonly},{[e.toHandlerKey(r.value)]:i[0]||(i[0]=l=>n(l.target.value))}),null,16,k7)]),_:1},8,["label"]))}}),E7={class:"ao-field"},B7={class:"ao-field__label"},V7=["checked","disabled"],N7=e.defineComponent({__name:"AoCheckboxField",props:{label:{default:""},modelValue:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",E7,[e.createElementVNode("span",B7,e.toDisplayString(t.label),1),e.createElementVNode("input",{class:"ao-field__input",type:"checkbox",checked:t.modelValue,disabled:t.isDisabled,onChange:o[0]||(o[0]=r=>{var n;return t.$emit("update:modelValue",((n=r.target)==null?void 0:n.checked)??!1)})},null,40,V7)]))}});X.AoAvatar=ye,X.AoCardFeed=ho,X.AoCheckboxField=N7,X.AoFeed=Ir,X.AoField=jr,X.AoInputField=$7,X.AoMultiselect=le,X.AoProjectPhases=mo,X.AoTemplateDetails=xr,X.AoTemplates=Zr,X.AoTemplatesList=Lr,X.TemplateItemTypeEnum=Ao,X.activityFeedStatus=Nd,X.durationTypes=Vd,X.feedFilterTypes=Xe,X.getProjectOverviewRoutes=b7,X.getTemplateRoutes=C7,X.listUpdateTypes=Sd,X.milestoneStatus=kt,X.projectOverviewRoutes=re,X.ruleComparators=So,X.ruleDurationUnits=Mo,X.ruleTriggerTypes=xo,X.templateItemType=ee,X.templateRouteNames=rt,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});
|
|
6
|
+
*/function ot(a){let t={r:0,g:0,b:0,a:1};/#/.test(a)?t=wf(a):/rgb/.test(a)?t=Mr(a):typeof a=="string"?t=Mr(`rgba(${a})`):Object.prototype.toString.call(a)==="[object Object]"&&(t=a);const{r:o,g:r,b:n,a:s}=t,{h:i,s:l,v:c}=kf(t);return{r:o,g:r,b:n,a:s===void 0?1:s,h:i,s:l,v:c}}function ao(a){const t=document.createElement("canvas"),o=t.getContext("2d"),r=a*2;return t.width=r,t.height=r,o.fillStyle="#ffffff",o.fillRect(0,0,r,r),o.fillStyle="#ccd5db",o.fillRect(0,0,a,a),o.fillRect(a,a,a,a),t}function oo(a,t,o,r,n,s){const i=a==="l",l=t.createLinearGradient(0,0,i?o:0,i?0:r);l.addColorStop(.01,n),l.addColorStop(.99,s),t.fillStyle=l,t.fillRect(0,0,o,r)}function yf({r:a,g:t,b:o},r){const n=i=>("0"+Number(i).toString(16)).slice(-2),s=`#${n(a)}${n(t)}${n(o)}`;return r?s.toUpperCase():s}function wf(a){a=a.slice(1);const t=o=>parseInt(o,16)||0;return{r:t(a.slice(0,2)),g:t(a.slice(2,4)),b:t(a.slice(4,6))}}function Mr(a){return typeof a=="string"?(a=(/rgba?\((.*?)\)/.exec(a)||["","0,0,0,1"])[1].split(","),{r:Number(a[0])||0,g:Number(a[1])||0,b:Number(a[2])||0,a:Number(a[3]?a[3]:1)}):a}function kf({r:a,g:t,b:o}){a=a/255,t=t/255,o=o/255;const r=Math.max(a,t,o),n=Math.min(a,t,o),s=r-n;let i=0;r===n?i=0:r===a?t>=o?i=60*(t-o)/s:i=60*(t-o)/s+360:r===t?i=60*(o-a)/s+120:r===o&&(i=60*(a-t)/s+240),i=Math.floor(i);let l=parseFloat((r===0?0:1-n/r).toFixed(2)),c=parseFloat(r.toFixed(2));return{h:i,s:l,v:c}}var ro=e.defineComponent({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasSaturation,t=this.size,o=a.getContext("2d");a.width=t,a.height=t,o.fillStyle=this.color,o.fillRect(0,0,t,t),oo("l",o,t,t,"#FFFFFF","rgba(255,255,255,0)"),oo("p",o,t,t,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(a){const{top:t,left:o}=this.$el.getBoundingClientRect(),r=a.target.getContext("2d"),n=i=>{let l=i.clientX-o,c=i.clientY-t;l<0&&(l=0),c<0&&(c=0),l>this.size&&(l=this.size),c>this.size&&(c=this.size),this.slideSaturationStyle={left:l-5+"px",top:c-5+"px"};const u=r.getImageData(Math.min(l,this.size-1),Math.min(c,this.size-1),1,1),[d,p,m]=u.data;this.$emit("selectSaturation",{r:d,g:p,b:m})};n(a);const s=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",s)}}});const $f={ref:"canvasSaturation"};function Ef(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"saturation",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectSaturation&&a.selectSaturation(...i),["prevent","stop"]))},[e.createVNode("canvas",$f,null,512),e.createVNode("div",{style:a.slideSaturationStyle,class:"slide"},null,4)],32)}ro.render=Ef,ro.__file="src/color/Saturation.vue";var no=e.defineComponent({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasHue,t=this.width,o=this.height,r=a.getContext("2d");a.width=t,a.height=o;const n=r.createLinearGradient(0,0,0,o);n.addColorStop(0,"#FF0000"),n.addColorStop(.17*1,"#FF00FF"),n.addColorStop(.17*2,"#0000FF"),n.addColorStop(.17*3,"#00FFFF"),n.addColorStop(.17*4,"#00FF00"),n.addColorStop(.17*5,"#FFFF00"),n.addColorStop(1,"#FF0000"),r.fillStyle=n,r.fillRect(0,0,t,o)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(a){const{top:t}=this.$el.getBoundingClientRect(),o=a.target.getContext("2d"),r=s=>{let i=s.clientY-t;i<0&&(i=0),i>this.height&&(i=this.height),this.slideHueStyle={top:i-2+"px"};const l=o.getImageData(0,Math.min(i,this.height-1),1,1),[c,u,d]=l.data;this.$emit("selectHue",{r:c,g:u,b:d})};r(a);const n=()=>{document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",r),document.addEventListener("mouseup",n)}}});const Bf={ref:"canvasHue"};function Vf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"hue",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectHue&&a.selectHue(...i),["prevent","stop"]))},[e.createVNode("canvas",Bf,null,512),e.createVNode("div",{style:a.slideHueStyle,class:"slide"},null,4)],32)}no.render=Vf,no.__file="src/color/Hue.vue";var io=e.defineComponent({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasAlpha,t=this.width,o=this.height,r=this.alphaSize,n=ao(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),oo("p",s,t,o,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(a){const{top:t}=this.$el.getBoundingClientRect(),o=n=>{let s=n.clientY-t;s<0&&(s=0),s>this.height&&(s=this.height);let i=parseFloat((s/this.height).toFixed(2));this.$emit("selectAlpha",i)};o(a);const r=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",r)}}});const Nf={ref:"canvasAlpha"};function Sf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",{class:"color-alpha",onMousedown:t[1]||(t[1]=e.withModifiers((...i)=>a.selectAlpha&&a.selectAlpha(...i),["prevent","stop"]))},[e.createVNode("canvas",Nf,null,512),e.createVNode("div",{style:a.slideAlphaStyle,class:"slide"},null,4)],32)}io.render=Sf,io.__file="src/color/Alpha.vue";var so=e.defineComponent({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const a=this.$el,t=this.width,o=this.height,r=this.alphaSize,n=ao(r),s=a.getContext("2d");a.width=t,a.height=o,s.fillStyle=s.createPattern(n,"repeat"),s.fillRect(0,0,t,o),s.fillStyle=this.color,s.fillRect(0,0,t,o)}}});function xf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("canvas")}so.render=xf,so.__file="src/color/Preview.vue";var lo=e.defineComponent({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(a){this.isSucking=!1,this.suckColor(a)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(a){a.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(a){const{clientX:t,clientY:o}=a,{top:r,left:n,width:s,height:i}=this.suckerCanvas.getBoundingClientRect(),l=t-n,c=o-r,d=this.suckerCanvas.getContext("2d").getImageData(Math.min(l,s-1),Math.min(c,i-1),1,1);let[p,m,f,b]=d.data;b=parseFloat((b/255).toFixed(2));const _=this.suckerPreview.style;Object.assign(_,{position:"absolute",left:t+20+"px",top:o-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${p}, ${m}, ${f}, ${b})`,zIndex:95}),this.suckerArea.length&&t>=this.suckerArea[0]&&o>=this.suckerArea[1]&&t<=this.suckerArea[2]&&o<=this.suckerArea[3]?_.display="":_.display="none"},suckColor(a){a&&a.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),a.addEventListener("click",t=>{const{clientX:o,clientY:r}=t,{top:n,left:s,width:i,height:l}=a.getBoundingClientRect(),c=o-s,u=r-n,p=a.getContext("2d").getImageData(Math.min(c,i-1),Math.min(u,l-1),1,1);let[m,f,b,_]=p.data;_=parseFloat((_/255).toFixed(2)),this.$emit("selectSucker",{r:m,g:f,b,a:_})}))}}});const Mf=e.createVNode("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),Af={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},Tf=e.createVNode("g",{fill:"none","fill-rule":"evenodd"},[e.createVNode("g",{transform:"translate(1 1)","stroke-width":"4"},[e.createVNode("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.createVNode("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function Of(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[a.isSucking?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock("svg",{key:0,class:[{active:a.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:t[1]||(t[1]=(...i)=>a.openSucker&&a.openSucker(...i))},[Mf],2)),a.isSucking?(e.openBlock(),e.createBlock("svg",Af,[Tf])):e.createCommentVNode("v-if",!0)])}lo.render=Of,lo.__file="src/color/Sucker.vue";var co=e.defineComponent({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor","inputFocus","inputBlur"],setup(a,{emit:t}){return{modelColor:e.computed({get(){return a.color||""},set(s){t("inputColor",s)}}),handleFocus:s=>{t("inputFocus",s)},handleBlur:s=>{t("inputBlur",s)}}}});const If={class:"color-type"},Lf={class:"name"};function jf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",If,[e.createVNode("span",Lf,e.toDisplayString(a.name),1),e.withDirectives(e.createVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>a.modelColor=i),class:"value",onFocus:t[2]||(t[2]=(...i)=>a.handleFocus&&a.handleFocus(...i)),onBlur:t[3]||(t[3]=(...i)=>a.handleBlur&&a.handleBlur(...i))},null,544),[[e.vModelText,a.modelColor]])])}co.render=jf,co.__file="src/color/Box.vue";var po=e.defineComponent({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(a,{emit:t}){const o=e.ref(),r=e.ref([]),n=e.ref();a.colorsHistoryKey&&localStorage&&(r.value=JSON.parse(localStorage.getItem(a.colorsHistoryKey))||[]),n.value=ao(4).toDataURL(),e.onUnmounted(()=>{s(o.value)});function s(l){if(!l)return;const c=r.value||[],u=c.indexOf(l);u>=0&&c.splice(u,1),c.length>=8&&(c.length=7),c.unshift(l),r.value=c||[],localStorage&&a.colorsHistoryKey&&localStorage.setItem(a.colorsHistoryKey,JSON.stringify(c))}function i(l){t("selectColor",l)}return{setColorsHistory:s,colorsHistory:r,color:o,imgAlphaBase64:n,selectColor:i}}});const Df={class:"colors"},Pf={key:0,class:"colors history"};function zf(a,t,o,r,n,s){return e.openBlock(),e.createBlock("div",null,[e.createVNode("ul",Df,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsDefault,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))]),a.colorsHistory.length?(e.openBlock(),e.createBlock("ul",Pf,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsHistory,i=>(e.openBlock(),e.createBlock("li",{key:i,class:"item",onClick:l=>a.selectColor(i)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:i},class:"color"},null,4)],8,["onClick"]))),128))])):e.createCommentVNode("v-if",!0)])}po.render=zf,po.__file="src/color/Colors.vue";var vt=e.defineComponent({components:{Saturation:ro,Hue:no,Alpha:io,Preview:so,Sucker:lo,Box:co,Colors:po},emits:["changeColor","openSucker","inputFocus","inputBlur"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return yf(this.rgba,!0)}},created(){Object.assign(this,ot(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText()},handleFocus(a){this.$emit("inputFocus",a)},handleBlur(a){this.$emit("inputBlur",a)},selectHue(a){const{r:t,g:o,b:r,h:n,s,v:i}=ot(a);Object.assign(this,{r:t,g:o,b:r,h:n,s,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(a){this.a=a,this.setText()},inputHex(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=a,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.modelHex=this.hexString,this.modelRgba=a,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(a){this.$emit("openSucker",a)},selectSucker(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(a){const{r:t,g:o,b:r,a:n,h:s,s:i,v:l}=ot(a);Object.assign(this,{r:t,g:o,b:r,a:n,h:s,s:i,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const Hf={class:"color-set"};function Rf(a,t,o,r,n,s){const i=e.resolveComponent("Saturation"),l=e.resolveComponent("Hue"),c=e.resolveComponent("Alpha"),u=e.resolveComponent("Preview"),d=e.resolveComponent("Sucker"),p=e.resolveComponent("Box"),m=e.resolveComponent("Colors");return e.openBlock(),e.createBlock("div",{class:["hu-color-picker",{light:a.isLightTheme}],style:{width:a.totalWidth+"px"}},[e.createVNode("div",Hf,[e.createVNode(i,{ref:"saturation",color:a.rgbString,hsv:a.hsv,size:a.hueHeight,onSelectSaturation:a.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),e.createVNode(l,{ref:"hue",hsv:a.hsv,width:a.hueWidth,height:a.hueHeight,onSelectHue:a.selectHue},null,8,["hsv","width","height","onSelectHue"]),e.createVNode(c,{ref:"alpha",color:a.rgbString,rgba:a.rgba,width:a.hueWidth,height:a.hueHeight,onSelectAlpha:a.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),e.createVNode("div",{style:{height:a.previewHeight+"px"},class:"color-show"},[e.createVNode(u,{color:a.rgbaString,width:a.previewWidth,height:a.previewHeight},null,8,["color","width","height"]),a.suckerHide?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(d,{key:0,"sucker-canvas":a.suckerCanvas,"sucker-area":a.suckerArea,onOpenSucker:a.openSucker,onSelectSucker:a.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),e.createVNode(p,{name:"HEX",color:a.modelHex,onInputColor:a.inputHex,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(p,{name:"RGBA",color:a.modelRgba,onInputColor:a.inputRgba,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(m,{color:a.rgbaString,"colors-default":a.colorsDefault,"colors-history-key":a.colorsHistoryKey,onSelectColor:a.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),e.createCommentVNode(" custom options "),e.renderSlot(a.$slots,"default")],6)}vt.render=Rf,vt.__file="src/color/ColorPicker.vue",vt.install=a=>{a.component(vt.name,vt)};const D9="",Ff={class:"color-picker-wrapper"},uo=e.defineComponent({__name:"AoColorPicker",props:{color:{}},emits:["update:color"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null),s=e.ref("bottom"),i=async()=>{r.value=!0;const d=n.value,p=d==null?void 0:d.parentElement;if(d&&p){const m=p.getBoundingClientRect(),f=d.offsetHeight,b=window.innerHeight-m.bottom,_=m.top;s.value=b<f&&_>f?"top":"bottom"}await e.nextTick(),setTimeout(()=>{window.addEventListener("click",l)},0)},l=d=>{const p=d.target;n.value&&!n.value.contains(p)&&(r.value=!1,t("update:color",c.value),window.removeEventListener("click",l))};e.onBeforeUnmount(()=>{window.removeEventListener("click",l)}),e.watch(()=>o.color,d=>{r.value||(c.value=d)});const c=e.ref(o.color),u=d=>{const{r:p,g:m,b:f,a:b}=d.rgba;c.value=`rgba(${p}, ${m}, ${f}, ${b})`};return(d,p)=>(e.openBlock(),e.createElementBlock("div",Ff,[e.renderSlot(d.$slots,"clickable",{openPicker:i,bgColor:d.color}),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:n,class:e.normalizeClass(["color-picker",s.value])},[e.createVNode(e.unref(vt),{class:"color-picker-box",theme:"light",color:d.color,onChangeColor:u},null,8,["color"])],2)):e.createCommentVNode("",!0)]))}}),P9="",Uf={class:"ao-card-project-phase__header"},Zf={class:"ao-card-project-item__title-line"},Wf={key:0,class:"ao-card-project-item-phase__estimation"},qf={class:"ao-card-project-phase__footer"},Yf={key:0,class:"ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"},Kf={class:"ao-card-project-phase__subitem"},Gf={class:"ao-card-project-phase__subitem"},Xf={key:0,class:"ao-card-project-phase__secondary"},Qf={class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly"},Jf=e.defineComponent({__name:"AoCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","unarchivePhase","updatePhase"],setup(a,{emit:t}){const o=a,r=p=>{t("update:title",p)},n=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.reduce((m,f)=>{var b;return m+((b=f.activities)==null?void 0:b.reduce((_,g)=>_+(g.estimation||0),0))},0)}),s=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.length}),i=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.filter(m=>m.status===kt.done).length}),l=e.computed(()=>(i.value||0)/(s.value||1)),c=e.computed({get:()=>o.deadline??"",set:p=>t("update:deadline",p!=null&&p.length?p:null)}),u=e.computed({get:()=>o.color,set:p=>{t("updatePhase",{id:o.id,color:p})}}),d=(p,m)=>{const f=p.target;f.closest("button")||f.closest("input")||f.closest(".ao-title")||m()};return(p,m)=>(e.openBlock(),e.createBlock(uo,{color:u.value,"onUpdate:color":m[2]||(m[2]=f=>u.value=f)},{clickable:e.withCtx(({openPicker:f,bgColor:b})=>[e.createVNode(ba,{class:"ao-card-project-phase","is-clickable":p.isEditable,color:b,withLeftBorder:!0,onClick:_=>d(_,f)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Zf,[e.createVNode(ne,{id:p.id,class:"ao-card-project-phase__title",title:p.name||"",level:4,"is-editable":p.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value?(e.openBlock(),e.createElementBlock("span",Wf," ("+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",qf,[s.value?(e.openBlock(),e.createElementBlock("div",Yf,[e.createElementVNode("div",Kf,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",Gf,e.toDisplayString(i.value)+" / "+e.toDisplayString(s.value),1)]),e.createVNode(ya,{percentages:l.value,class:"ao-card-project-phase__progress",color:p.color},null,8,["percentages","color"]),p.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Xf,[e.renderSlot(p.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-card-project-phase__footer-row",c.value?"":"ao-card-project-phase__no_deadline"])},[p.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=_=>c.value=_),class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",Qf,e.toDisplayString(e.unref(ra)(p.deadline)),1)],2)])]),_:2},[p.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Uf,[e.createVNode(K,{class:"ao-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:p.active?p.$t("archive"):p.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>p.active?p.$emit("archivePhase",{id:p.id}):p.$emit("unarchivePhase",{id:p.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),z9="",eh=e.defineComponent({__name:"AoBadge",props:{color:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("span",{class:"aoBadge",style:e.normalizeStyle({backgroundColor:t.color})},null,4))}}),H9="",th={class:"ao-card-project-milestone__default"},ah={class:"ao-title-with-badge-wrapper"},oh={class:"ao-card-project-item__title-line"},rh={key:0,class:"ao-card-project-item-milestone__estimation"},nh={key:0,class:"ao-card-project-milestone__archive"},ih={class:"ao-card-project-milestone__activities"},sh={class:"ao-card-project-milestone__activities-row"},lh={class:"ao-card-project-milestone__subitem"},ch={class:"ao-card-project-milestone__subitem"},dh={key:1,class:"ao-card-project-milestone__secondary"},ph={class:"ao-card-project-milestone__footer"},uh={key:1,class:"ao-field ao-card-project-milestone__deadline"},mh={class:"ao-field__label"},fh={key:2,class:"ao-card-project-milestone__assignee"},hh=e.defineComponent({__name:"AoCardProjectItemMilestone",props:{id:{},name:{},color:{},phaseColor:{},activities:{},closedStatus:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},isSelected:{type:Boolean},assignee:{},important:{type:Boolean},readonly:{type:Boolean}},emits:["updateMilestone","archiveMilestone","unarchiveMilestone"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.reduce((u,d)=>u+(d.estimation||0),0)}),n=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.length}),s=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.filter(u=>La(u,o.closedStatus)).length}),i=e.computed(()=>(s.value||0)/(n.value||1)),l=c=>{t("updateMilestone",{id:o.id,name:c})};return(c,u)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-project-milestone"]),"is-clickable":!c.readonly,"tag-name":"li","is-selected":c.isSelected,color:c.phaseColor},{default:e.withCtx(()=>[e.createElementVNode("div",th,[e.createElementVNode("div",ah,[e.createVNode(eh,{color:c.color||""},null,8,["color"]),e.createElementVNode("div",oh,[e.createVNode(ne,{id:c.id,title:c.name||"",level:5,"is-editable":!c.readonly&&c.isEditable,class:"ao-card-project-milestone__title","onUpdate:title":l},null,8,["id","title","is-editable"]),r.value?(e.openBlock(),e.createElementBlock("span",rh," ("+e.toDisplayString(r.value)+")",1)):e.createCommentVNode("",!0)])]),!c.readonly&&c.isEditable?(e.openBlock(),e.createElementBlock("div",nh,[e.createVNode(K,{color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.active?c.$t("archive"):c.$t("unarchive"),onClick:u[0]||(u[0]=e.withModifiers(()=>c.active?c.$emit("archiveMilestone",{id:c.id}):c.$emit("unarchiveMilestone",{id:c.id}),["stop"]))},null,8,["label"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ih,[e.createElementVNode("div",sh,[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",lh,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",ch,e.toDisplayString(s.value)+" / "+e.toDisplayString(n.value),1)]),e.createVNode(ya,{percentages:i.value,color:c.phaseColor,class:"ao-card-project-milestone__progress"},null,8,["percentages","color"])],64)):e.createCommentVNode("",!0),c.$slots.secondary?(e.openBlock(),e.createElementBlock("div",dh,[e.renderSlot(c.$slots,"secondary")])):e.createCommentVNode("",!0)])])]),footer:e.withCtx(()=>[e.createElementVNode("div",ph,[c.important?(e.openBlock(),e.createBlock(Q,{key:0,name:"FlagRounded",class:e.normalizeClass(c.isSelected?"ao-card-project-milestone__important--selected":"ao-card-project-milestone__important"),size:"sm"},null,8,["class"])):e.createCommentVNode("",!0),c.deadline?(e.openBlock(),e.createElementBlock("label",uh,[e.createElementVNode("span",mh,e.toDisplayString(e.unref(ra)(c.deadline)),1)])):e.createCommentVNode("",!0),c.assignee?(e.openBlock(),e.createElementBlock("div",fh,[e.createVNode(ye,{"user-name":e.unref(er)(c.assignee),"avatar-url":c.assignee.avatarUrl,color:c.isSelected?"black":"primary",size:"sm"},null,8,["user-name","avatar-url","color"])])):e.createCommentVNode("",!0)])]),_:3},8,["is-clickable","is-selected","color"]))}}),R9="",gh={class:"ao-mapping-card-project-phase__header"},_h={class:"ao-card-project-item__title-line"},vh={key:0,class:"ao-card-project-item-phase__estimation"},Ch={class:"ao-mapping-card-project-phase__footer"},bh={key:0,class:"ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"},yh={class:"ao-mapping-card-project-phase__subitem"},wh={class:"ao-mapping-card-project-phase__subitem"},kh={key:0,class:"ao-mapping-card-project-phase__secondary"},$h={class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly"},Eh=e.defineComponent({__name:"AoCondensedCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","updatePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,r=p=>{t("update:title",p)},n=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.reduce((m,f)=>{var b;return m+((b=f.activities)==null?void 0:b.reduce((_,g)=>_+(g.estimation||0),0))},0)}),s=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.length}),i=e.computed(()=>{var p;return(p=o.milestones)==null?void 0:p.filter(m=>m.status===kt.done).length}),l=e.computed(()=>(i.value||0)/(s.value||1)),c=e.computed({get:()=>o.deadline??"",set:p=>t("update:deadline",p!=null&&p.length?p:null)}),u=e.computed({get:()=>o.color,set:p=>{t("updatePhase",{id:o.id,color:p})}}),d=(p,m)=>{const f=p.target;f.closest("button")||f.closest("input")||f.closest(".ao-title")||m()};return(p,m)=>(e.openBlock(),e.createBlock(uo,{color:u.value,"onUpdate:color":m[2]||(m[2]=f=>u.value=f)},{clickable:e.withCtx(({openPicker:f,bgColor:b})=>[e.createVNode(ba,{class:"ao-mapping-card-project-phase","is-clickable":p.isEditable,color:b,withLeftBorder:!0,onClick:_=>d(_,f)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",_h,[e.createVNode(ne,{id:p.id,class:"ao-mapping-card-project-phase__title",title:p.name||"",level:4,"is-editable":p.isEditable,"onUpdate:title":r},null,8,["id","title","is-editable"]),n.value?(e.openBlock(),e.createElementBlock("span",vh," ("+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Ch,[s.value?(e.openBlock(),e.createElementBlock("div",bh,[e.createElementVNode("div",yh,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",wh,e.toDisplayString(i.value)+" / "+e.toDisplayString(s.value),1)]),e.createVNode(ya,{percentages:l.value,class:"ao-mapping-card-project-phase__progress",color:u.value},null,8,["percentages","color"]),p.$slots.secondary?(e.openBlock(),e.createElementBlock("div",kh,[e.renderSlot(p.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-mapping-card-project-phase__footer-row",c.value?"":"ao-mapping-card-project-phase__no_deadline"])},[p.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=_=>c.value=_),class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",$h,e.toDisplayString(e.unref(ra)(p.deadline)),1)],2)])]),_:2},[p.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",gh,[e.createVNode(K,{class:"ao-mapping-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:p.active?p.$t("archive"):p.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>p.active?p.$emit("archivePhase",{id:p.id}):p.$emit("unarchivePhase",{id:p.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}}),F9="",Bh={class:"ao-project-phase"},Vh={key:0,class:"ao-project-phase__drag ao-card__drag"},Nh={key:1,class:"ao-project-phase__col-phase"},Sh={key:2,class:"ao-mapping-project-phase__col-phase"},xh={key:0,class:"ao-project-phase__col-milestones"},Mh={class:"ao-project-phase__milestones-list-footer"},Ah=e.defineComponent({__name:"AoProjectPhase",props:{phase:{},closedStatus:{},users:{},isEditable:{type:Boolean},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.phase.milestones,(h,v)=>{Ae(h,v)});const n=h=>{t("updatePhase",{id:o.phase.id,name:h})},s=h=>{t("updatePhase",{id:o.phase.id,deadline:h})},i=h=>{t("updatePhase",h)},l=e.computed(()=>o.phase.milestones.map(h=>g2(h,o.closedStatus))),c=h=>{const{name:v,rank:N}=at(l.value??[],"milestone",r);t("addMilestone",{name:v,rank:N,phaseId:h})},u=h=>{t("updateMilestone",h)},d=h=>{t("archiveMilestone",h)},p=h=>{t("unarchiveMilestone",h)},m=h=>{t("archivePhase",h)},f=h=>{t("unarchivePhase",h)},b=h=>{"added"in h?t("updateMilestone",{id:h.added.element.id,phaseId:o.phase.id,rank:dt(l.value,h.added.newIndex)}):"removed"in h||"moved"in h&&t("updateMilestone",{id:h.moved.element.id,rank:dt(l.value,h.moved.newIndex)})},_=Le.useRoute(),g=e.computed(()=>_.path.includes("/mapping")),y=e.computed(()=>{var h;return o.phase.id!==((h=_.params)==null?void 0:h.phaseId)?{backgroundColor:"var(--ao-color-sheet)"}:o.phase.color?{backgroundColor:v2(o.phase.color)}:{backgroundColor:"var(--ao-color-primary-lightest)"}});return(h,v)=>(e.openBlock(),e.createElementBlock("li",Bh,[e.createElementVNode("div",{class:"ao-project-phases__draggable-card",style:e.normalizeStyle(y.value)},[h.isEditable?(e.openBlock(),e.createElementBlock("div",Vh,[e.createVNode(Q,{name:"DragIndicator",class:"ao-project-phase__drag-handle"})])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("div",Sh,[e.createVNode(Eh,{id:h.phase.id,milestones:l.value,name:h.phase.name,deadline:h.phase.deadline,active:h.phase.active,"is-editable":h.isEditable,color:h.phase.color,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:f,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color"])])):(e.openBlock(),e.createElementBlock("div",Nh,[e.createVNode(Jf,{id:h.phase.id,milestones:l.value,name:h.phase.name,deadline:h.phase.deadline,active:h.phase.active,"is-editable":h.isEditable,color:h.phase.color,"onUpdate:deadline":s,"onUpdate:title":n,onArchivePhase:m,onUnarchivePhase:f,onUpdatePhase:i},null,8,["id","milestones","name","deadline","active","is-editable","color"])]))],4),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",xh,[e.createElementVNode("div",{class:"ao-project-phase__milestones",style:e.normalizeStyle(y.value)},[e.createVNode(e.unref(je),e.mergeProps({class:"ao-project-phase__milestones-list",list:l.value,disabled:h.readonly||!h.isEditable,"item-key":"id",group:"kanban"},h.$attrs,{onChange:b}),{item:e.withCtx(({element:N})=>{var B;return[e.createVNode(hh,{id:N.id,name:N.name,color:N.color,"phase-color":h.phase.color,activities:N.activities,deadline:N.deadline,active:N.active,"is-editable":!h.readonly&&h.isEditable,"is-draggable":!h.readonly&&h.isEditable,"closed-status":h.closedStatus,"is-selected":N.id===((B=h.$route.params)==null?void 0:B.milestoneId),assignee:N.assignee,important:N.important,readonly:h.readonly,class:e.normalizeClass(["ao-project-phase__milestone"]),onClick:V=>!h.readonly&&h.$router.push({name:e.unref(re).milestone,params:{phaseId:h.phase.id,milestoneId:N.id}}),onUpdateMilestone:u,onArchiveMilestone:d,onUnarchiveMilestone:p},null,8,["id","name","color","phase-color","activities","deadline","active","is-editable","is-draggable","closed-status","is-selected","assignee","important","readonly","onClick"])]}),_:1},16,["list","disabled"]),e.createElementVNode("div",Mh,[h.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,label:h.$t("project.milestone.add"),class:"ao-project-phase__milestone-add","icon-name":"Add",onClick:v[0]||(v[0]=()=>c(h.phase.id))},null,8,["label"])):e.createCommentVNode("",!0)])],4)]))]))}}),U9="",Th={class:"ao-project__phases"},Oh={key:0,class:"ao-project-phase__phases-list-footer"},Ih=e.createElementVNode("div",{class:"ao-project-phase__empty_drag"},null,-1),Lh={class:"ao-project-phase__col-phase"},jh=e.createElementVNode("div",{class:"ao-project-phase__col-milestones"},null,-1),mo=e.defineComponent({__name:"AoProjectPhases",props:{phases:{},closedStatus:{},isEditable:{type:Boolean},users:{},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addPhase","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a;e.watch(()=>o.phases,(m,f)=>{Ae(m,f)});const r=m=>{t("addMilestone",m)},n=m=>{t("updateMilestone",m)},s=m=>{t("archiveMilestone",m)},i=m=>{t("unarchiveMilestone",m)},l=m=>{t("archivePhase",m)},c=m=>{t("unarchivePhase",m)},u=m=>{if(m.moved){const f=Ot(m,o.phases??[]);t("updatePhase",{id:m.moved.element.id,rank:f})}},d=m=>{t("updatePhase",m)},p=m=>{t("addPhase",m)};return(m,f)=>(e.openBlock(),e.createElementBlock("div",Th,[e.createVNode(e.unref(je),{class:"ao-project-phase__phases-list","model-value":m.phases,"item-key":"id",handle:".ao-card__drag",onChange:u},{item:e.withCtx(({element:b})=>[e.createVNode(Ah,{phase:b,"is-editable":!m.readonly&&m.isEditable,"closed-status":m.closedStatus,users:m.users,readonly:m.readonly,onAddMilestone:r,onUpdateMilestone:n,onArchiveMilestone:s,onUnarchiveMilestone:i,onUpdatePhase:d,onArchivePhase:l,onUnarchivePhase:c},null,8,["phase","is-editable","closed-status","users","readonly"])]),_:1},8,["model-value"]),m.isEditable?(e.openBlock(),e.createElementBlock("div",Oh,[Ih,e.createElementVNode("div",Lh,[e.createVNode(Pe,{label:m.$t("project.phases.add"),"icon-name":"Add",class:"ao-project-phase__add-phase",onClick:p},null,8,["label"])]),jh])):e.createCommentVNode("",!0)]))}}),Z9="",Dh=["onSubmit"],Ph={class:"ao-add-template-modal__form-body"},zh={class:"field__row"},Hh={class:"ao-add-template-modal__form-footer"},Ar=e.defineComponent({__name:"AoAddTemplateModal",props:{projectId:{},templates:{}},emits:["apply"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.templates.map(l=>({value:l.id,label:l.name}))),n=e.ref(null),s=l=>{n.value=l},i=()=>{n.value&&t("apply",n.value,o.projectId)};return(l,c)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:l.$t("project.template.apply.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-add-template-modal__form",onSubmit:e.withModifiers(i,["prevent"])},[e.createElementVNode("p",null,e.toDisplayString(l.$t("project.template.apply.notice")),1),e.createElementVNode("div",Ph,[e.createElementVNode("div",zh,[e.createVNode(le,{value:n.value,options:r.value,detached:!0,onChange:s},null,8,["value","options"])])]),e.createElementVNode("footer",Hh,[e.createVNode(K,{label:l.$t("project.template.apply.label"),type:"submit",color:"primary",variant:"solid",onClick:i},null,8,["label"])])],40,Dh)]),_:1}))}}),W9="",Rh=["onSubmit"],Fh={class:"ao-save-template-modal__form-body"},Uh={class:"field__row"},Zh={class:"ao-field ao-field--inline"},Wh={class:"ao-field__label"},qh={class:"ao-save-template-modal__phases"},Yh={class:"ao-field__label"},Kh={class:"ao-save-template-modal__phases-list"},Gh=["value"],Xh={class:"ao-save-template-modal__form-footer"},Tr=e.defineComponent({__name:"AoSaveTemplateModal",props:{phases:{}},emits:["save"],setup(a,{emit:t}){const o=a,r=e.ref(""),n=e.ref([]);e.onMounted(()=>{n.value=o.phases.map(i=>i.id)});const s=()=>{r.value&&t("save",r.value,n.value)};return(i,l)=>(e.openBlock(),e.createBlock(na,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:i.$t("project.template.save.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-save-template-modal__form",onSubmit:e.withModifiers(s,["prevent"])},[e.createElementVNode("div",Fh,[e.createElementVNode("div",Uh,[e.createElementVNode("label",Zh,[e.createElementVNode("span",Wh,e.toDisplayString(i.$t("project.template.name.label"))+": ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>r.value=c),type:"text"},null,512),[[e.vModelText,r.value]])])]),e.createElementVNode("div",qh,[e.createElementVNode("div",Yh,e.toDisplayString(i.$t("project.template.phases.label")),1),e.createElementVNode("div",Kh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.phases,c=>(e.openBlock(),e.createElementBlock("label",{class:"ao-field ao-field--checkbox",key:c.id},[e.withDirectives(e.createElementVNode("input",{type:"checkbox",value:c.id,"onUpdate:modelValue":l[1]||(l[1]=u=>n.value=u)},null,8,Gh),[[e.vModelCheckbox,n.value]]),e.createElementVNode("span",null,e.toDisplayString(c.name),1)]))),128))])])]),e.createElementVNode("footer",Xh,[e.createVNode(K,{label:i.$t("project.template.save.label"),type:"submit",color:"primary",variant:"solid",onClick:s},null,8,["label"])])],40,Rh)]),_:1}))}}),q9="",Qh=e.defineComponent({props:{modelValue:{type:[String,Number],required:!0},tabs:{type:Array,required:!0}},emits:["update:modelValue"],methods:{selectTab(a){this.$emit("update:modelValue",a)}}}),Y9="",Jh={class:"tabbar-wrapper"},e5=["onClick"];function t5(a,t,o,r,n,s){return e.openBlock(),e.createElementBlock("div",Jh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabs,i=>(e.openBlock(),e.createElementBlock("button",{key:i.value,class:e.normalizeClass(["tab-button",{"tab-button--active":i.value===a.modelValue}]),type:"button",onClick:l=>a.selectTab(i.value)},e.toDisplayString(i.label),11,e5))),128))])}const fo=O(Qh,[["render",t5],["__scopeId","data-v-ff4e3297"]]),a5={class:"ao-project"},o5={class:"ao-project__body"},r5=e.defineComponent({__name:"AoProjectOverviewProject",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addActivity","update:activity","archiveActivity","copyPhaseToTemplate","unarchiveActivity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>o.phases.flatMap($=>$.milestones)),s=()=>{const{name:$,rank:w}=at(o.phases,"phase",r);t("addPhase",{name:$,rank:w,projectId:o.project.id})},i=$=>{t("updatePhase",$)},l=$=>{t("archivePhase",$)},c=$=>{t("unarchivePhase",$)},u=$=>{t("copyPhaseToTemplate",$)},d=$=>{t("addMilestone",$)},p=$=>{t("updateMilestone",$)},m=$=>{t("archiveMilestone",$)},f=$=>{t("unarchiveMilestone",$)},b=$=>{t("addActivity",$)},_=$=>{t("update:activity",$)},g=$=>{t("archiveActivity",$)},y=$=>{t("unarchiveActivity",$)},h=$=>{t("addSubtask",$)},v=$=>{t("updateSubtask",$)},N=$=>{t("deleteSubtask",$)},B=e.computed(()=>n.value.flatMap($=>$.activities)),V=$=>{t("addFiles",$)},I=$=>{t("removeFile",$)},j=$=>{t("addComment",$)},P=$=>{t("updateComment",$)},H=$=>{t("removeComment",$)},F=e.ref(!1),A=e.ref(!1),z=($,w)=>{t("applyTemplate",{templateId:$,projectId:w}),F.value=!1},Y=($,w)=>{var x;const T=(x=o.templates)==null?void 0:x.at(-1),C=T?ie.LexoRank.parse(T.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:$,rank:C.format(),phaseIds:w}),A.value=!1},U=Le.useRouter(),R=e.ref("overview"),E=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(R,$=>{$==="feed"?(U.push({name:re.feed}),console.log("Navigating to feed...")):$==="overview"?(U.push({name:re.project}),console.log("Navigating to feed...")):$==="mapping"&&(U.push({name:re.mapping}),console.log("Navigating to feed..."))}),($,w)=>{const T=e.resolveComponent("RouterView");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-overview"},$.$attrs),[e.createElementVNode("div",a5,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(fo,{tabs:E,modelValue:R.value,"onUpdate:modelValue":w[0]||(w[0]=C=>R.value=C)},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":$.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:$.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":$.showsArchived,onClick:w[1]||(w[1]=C=>$.$emit("update:showsArchived",!$.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-overview__save-as-template",color:"primary",label:$.$t("project.template.save.label"),onClick:w[2]||(w[2]=C=>A.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-overview__add-template",color:"primary",label:$.$t("project.template.apply.label"),onClick:w[3]||(w[3]=C=>F.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",o5,[e.createVNode(mo,{phases:$.phases,"closed-status":$.closedStatus,"is-editable":$.isEditable===!0,users:$.users,onAddMilestone:d,onUpdateMilestone:p,onArchiveMilestone:m,onUnarchiveMilestone:f,onAddPhase:s,onUpdatePhase:i,onArchivePhase:l,onUnarchivePhase:c,onCopyPhaseToTemplate:u},null,8,["phases","closed-status","is-editable","users"])])]),e.createVNode(T,{class:"ao-project__sidebar",phases:$.phases,"project-id":$.project.id,"project-name":$.project.name,users:$.users,"is-editable":$.isEditable===!0,"closed-status":$.closedStatus,onClose:w[4]||(w[4]=C=>$.$router.push({name:e.unref(re).project})),onUpdateMilestone:p,onAddActivity:b,onUpdateActivity:_,onArchiveActivity:g,onUnarchiveActivity:y},null,8,["phases","project-id","project-name","users","is-editable","closed-status"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(T,{name:"modal",activities:B.value,"is-task-checkable":$.isTaskCheckable,statuses:$.statuses,"activity-types":$.activityTypes,phases:$.phases,project:$.project,users:$.users,"user-id":$.userId,"is-editable":$.isEditable,"attachment-enabled":$.attachmentEnabled,"onUpdate:activity":_,onAddSubtask:h,onUpdateSubtask:v,onDeleteSubtask:N,onAddFiles:V,onRemoveFile:I,onAddComment:j,onUpdateComment:P,onRemoveComment:H},{default:e.withCtx(({Component:C})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C),null,{default:e.withCtx(x=>[e.renderSlot($.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(x)))]),_:2},1024))]),_:3},8,["activities","is-task-checkable","statuses","activity-types","phases","project","users","user-id","is-editable","attachment-enabled"])]))],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[A.value?(e.openBlock(),e.createBlock(Tr,{key:0,phases:$.phases,onClose:w[5]||(w[5]=C=>A.value=!1),onSave:Y},null,8,["phases"])):e.createCommentVNode("",!0),F.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":$.project.id,templates:$.templates,onClose:w[6]||(w[6]=C=>F.value=!1),onApply:z},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64)}}}),K9="",n5={class:"ao-card-feed__header"},i5={key:1,class:"ao-card-feed__header-secondary ao-card-feed__header-icons"},s5={key:2,class:"ao-card-feed__header-secondary ao-card-feed__secondary"},l5={class:"ao-card-feed__body"},c5={key:0,class:"ao-card-feed__breadcrumbs"},d5={class:e.normalizeClass(["ao-card-feed__title-group"])},p5={class:"ao-card-feed__title-line"},u5={key:0,class:"ao-card-feed__slug"},m5={key:1,class:"ao-card-feed__deadline"},f5={class:"ao-card-feed__footer"},h5={class:"ao-card-feed__footer-row"},g5={class:"ao-assignees"},_5={key:0,class:"ao-assignee"},v5={key:0,class:"ao-card-feed__subitems"},C5={key:0,class:"ao-card-feed__subitem"},b5={class:"ao-card-feed__subitem"},y5={key:1,class:"ao-card-feed__subitem"},w5={class:"ao-card-feed__subitem"},k5={class:"ao-card-feed__footer-row"},$5={key:0,class:"ao-card-feed__progress-wrapper"},E5={class:"ao-card-feed__subitem"},B5={class:"ao-card-feed__subitem"},ho=e.defineComponent({__name:"AoCardFeed",props:{id:{},name:{},projectName:{},projectColor:{},phaseName:{},milestoneName:{},milestoneColor:{},deadline:{},important:{type:Boolean},assignee:{},slug:{},comments:{},attachments:{},tasks:{},isEditable:{type:Boolean},isPrivate:{type:Boolean},isClosed:{type:Boolean},tagType:{}},emits:["removeAssignee","updateActivity"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.tagType==="milestone"?o.milestoneName:o.projectName),n=e.computed(()=>o.tagType==="milestone"?o.milestoneColor:o.projectColor),s=f=>{t("updateActivity",{id:o.id,name:f})},i=e.computed(()=>o.tagType==="milestone"&&o.phaseName?`${o.phaseName}`:o.phaseName&&o.milestoneName?`${o.phaseName} / ${o.milestoneName}`:""),l=e.computed(()=>o.assignee?[o.assignee]:[]),c=e.computed(()=>ra(o.deadline)),u=f=>{t("removeAssignee",f)},d=e.computed(()=>{var f;return(f=o.tasks)==null?void 0:f.length}),p=e.computed(()=>{var f;return(f=o.tasks)==null?void 0:f.filter(b=>b.isDone).length}),m=e.computed(()=>(p.value||0)/(d.value||1));return(f,b)=>(e.openBlock(),e.createBlock(ba,{class:e.normalizeClass(["ao-card-feed",{"ao-card-feed--closed":f.isClosed}]),"is-clickable":!0},{header:e.withCtx(()=>[e.createElementVNode("div",n5,[r.value?(e.openBlock(),e.createBlock(wt,{key:0,label:r.value,class:"ao-card-feed__project",variant:"solid",color:f.projectColor?void 0:"primary","raw-color":n.value},null,8,["label","color","raw-color"])):e.createCommentVNode("",!0),f.isPrivate||f.important||f.isClosed?(e.openBlock(),e.createElementBlock("div",i5,[f.isPrivate?(e.openBlock(),e.createBlock(Q,{key:0,name:"Lock",class:"ao-card-feed__warning",size:"sm"})):e.createCommentVNode("",!0),f.important?(e.openBlock(),e.createBlock(Q,{key:1,name:"FlagRounded",class:"ao-card-feed__important",size:"sm"})):e.createCommentVNode("",!0),f.isClosed?(e.openBlock(),e.createBlock(Q,{key:2,name:"CheckSmallRounded",class:"ao-card-feed__closed"})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),f.$slots.secondary?(e.openBlock(),e.createElementBlock("div",s5,[e.renderSlot(f.$slots,"secondary")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",l5,[i.value?(e.openBlock(),e.createElementBlock("span",c5,e.toDisplayString(i.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",d5,[e.createElementVNode("div",p5,[f.slug?(e.openBlock(),e.createElementBlock("span",u5,e.toDisplayString(f.slug)+": ",1)):e.createCommentVNode("",!0),e.createVNode(ne,{id:f.id,title:f.name,level:5,"is-editable":f.isEditable,"onUpdate:title":s,class:"ao-card-feed__title-inline"},null,8,["id","title","is-editable"])])]),f.deadline?(e.openBlock(),e.createElementBlock("span",m5,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",f5,[e.createElementVNode("div",h5,[e.createElementVNode("ul",g5,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,_=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:_.id},[_?(e.openBlock(),e.createElementBlock("li",_5,[e.createVNode(ye,{"user-name":e.unref(er)(_),"avatar-url":_.avatarUrl,"is-closable":!0,onClose:()=>u(_.id)},null,8,["user-name","avatar-url","onClose"])])):e.createCommentVNode("",!0)],64))),128))]),f.comments||f.attachments?(e.openBlock(),e.createElementBlock("ul",v5,[f.comments?(e.openBlock(),e.createElementBlock("li",C5,[e.createVNode(Q,{name:"ChatOutline",size:"sm"}),e.createElementVNode("span",b5,e.toDisplayString(f.comments),1)])):e.createCommentVNode("",!0),f.attachments?(e.openBlock(),e.createElementBlock("li",y5,[e.createVNode(Q,{name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",w5,e.toDisplayString(f.attachments),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",k5,[f.tasks&&f.tasks.length?(e.openBlock(),e.createElementBlock("div",$5,[e.createElementVNode("div",E5,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",B5,e.toDisplayString(p.value)+" / "+e.toDisplayString(d.value),1)]),e.createVNode(ya,{percentages:m.value,class:"ao-card-feed__progress"},null,8,["percentages"])])):e.createCommentVNode("",!0)])])]),_:3},8,["class"]))}}),G9="",V5={class:"ao-project-milestone"},N5={class:"ao-project-milestone__header"},S5={class:"ao-project-milestone__header_line"},x5={class:"ao-project-milestone__header_line"},M5={class:"ao-project-milestone__title"},A5={key:0,class:"ao-fieldset ao-milestone__fieldset"},T5={class:"ao-field__row ao-milestone__field-row"},O5={class:"ao-field ao-field--inline"},I5={class:"ao-field__row ao-milestone__field-row"},L5={class:"ao-field ao-milestone__field-multiselect"},j5=["onClick"],D5={class:"ao-project-milestone__body"},P5={key:0,class:"ao-project-milestone__footer"},Or=e.defineComponent({__name:"AoProjectOverviewMilestoneDetails",props:{milestoneId:{},users:{},projectId:{},phases:{},phaseId:{},isEditable:{type:Boolean},closedStatus:{}},emits:["close","addActivity","updateMilestone","updateActivity","archiveActivity","unarchiveActivity"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.find(v=>v.id===o.phaseId)}),s=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.flatMap(v=>v.milestones)}),i=e.computed(()=>{var h;return(h=s.value)==null?void 0:h.find(v=>v.id===o.milestoneId)}),l=e.computed(()=>{var h;return(h=i.value)==null?void 0:h.activities});e.watch(l,(h,v)=>{Ae(h,v)});const c=h=>{t("close",h)},u=()=>{const{name:h,rank:v}=at(l.value??[],"activity",r);t("addActivity",{milestoneId:o.milestoneId,name:h,rank:v,projectId:o.projectId})},d=h=>{t("updateActivity",h)},p=h=>{l.value&&"moved"in h&&t("updateActivity",{id:h.moved.element.id,rank:dt(l.value,h.moved.newIndex)})},m=e.computed({get:()=>{var h;return(h=i.value)==null?void 0:h.color},set:h=>{i.value&&t("updateMilestone",{id:i.value.id,color:h})}}),f=e.computed({get:()=>{var h;return((h=i==null?void 0:i.value)==null?void 0:h.deadline)??""},set:h=>{i.value&&t("updateMilestone",{id:i.value.id,deadline:h!=null&&h.length?h:null})}}),b=h=>o.closedStatus?La(h,o.closedStatus):!1,_=e.computed(()=>{var h;return((h=o.users)==null?void 0:h.map(v=>({label:`${v.firstName} ${v.lastName}`,value:v.id,avatar:v.avatarUrl})))||[]}),g=e.computed({get(){var h,v;return(v=(h=i.value)==null?void 0:h.assignee)!=null&&v.id?[i.value.assignee.id]:[]},set(h){t("updateMilestone",{id:o.milestoneId,assigneeId:h[0]??null})}}),y=e.computed({get(){var h;return((h=i.value)==null?void 0:h.important)??!1},set(h){t("updateMilestone",{id:o.milestoneId,important:h})}});return(h,v)=>{var N;return e.openBlock(),e.createElementBlock("div",V5,[e.createElementVNode("header",N5,[e.createElementVNode("div",S5,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",size:"sm",class:"ao-milestone__close",onClick:c})]),e.createElementVNode("div",x5,[e.createElementVNode("div",M5,[e.createVNode(ne,{title:((N=i.value)==null?void 0:N.name)||h.milestoneId,level:5},null,8,["title"]),e.createVNode(eo,{modelValue:y.value,"onUpdate:modelValue":v[0]||(v[0]=B=>y.value=B),modelModifiers:{lazy:!0},disabled:!h.isEditable,class:"ao-milestone__important",color:"danger",label:h.$t("activity.important.label"),"icon-name":"FlagRounded",variant:"ghost",size:"sm"},null,8,["modelValue","disabled","label"])])]),i.value?(e.openBlock(),e.createElementBlock("div",A5,[e.createElementVNode("div",T5,[e.createElementVNode("label",O5,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":v[1]||(v[1]=B=>f.value=B),class:"ao-milestone__field ao-milestone__date-field",type:"date"},null,512),[[e.vModelText,f.value,void 0,{lazy:!0}]])])]),e.createElementVNode("div",I5,[e.createElementVNode("label",L5,[e.createVNode(le,{modelValue:g.value,"onUpdate:modelValue":v[2]||(v[2]=B=>g.value=B),options:_.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-milestone__field ao-milestone__multiselect",placeholder:h.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!h.isEditable,caret:h.isEditable},{tag:e.withCtx(({option:B,handleTagRemove:V})=>[e.createVNode(ye,{"user-name":B.label,"avatar-url":B.avatar,"is-closable":!0,onClose:I=>V(B,I)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createVNode(uo,{color:m.value,"onUpdate:color":v[3]||(v[3]=B=>m.value=B)},{clickable:e.withCtx(({openPicker:B,bgColor:V})=>[e.createElementVNode("button",{style:e.normalizeStyle({background:V}),class:"color-button",onClick:B},null,12,j5)]),_:1},8,["color"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",D5,[e.createVNode(e.unref(je),e.mergeProps({class:"ao-project-milestone__activities",list:l.value,disabled:!h.isEditable,"item-key":"id",group:"kanban"},h.$attrs,{onChange:p}),{item:e.withCtx(({element:B})=>{var V,I,j,P,H;return[e.createVNode(ho,{id:B.id,name:B.name||B.id,"phase-name":(V=n.value)==null?void 0:V.name,"milestone-name":(I=i.value)==null?void 0:I.name,"milestone-color":(j=i.value)==null?void 0:j.color,deadline:B.deadline,important:B.important,users:h.users,assignee:B.assignee,slug:B.slug,comments:(P=B.comments)==null?void 0:P.length,attachments:(H=B.attachments)==null?void 0:H.length,tasks:B.tasks,"is-editable":h.isEditable,"is-private":B.private,"is-closed":b(B),onClick:F=>h.$router.push({name:e.unref(re).activity,params:{milestoneId:h.milestoneId,activityId:B.id}}),onUpdateActivity:d,onRemoveAssignee:()=>d({id:B.id,assigneeId:null})},e.createSlots({_:2},[h.isEditable?{name:"secondary",fn:e.withCtx(()=>[h.isEditable&&B.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:h.$t("archive"),onClick:e.withModifiers(()=>h.$emit("archiveActivity",{id:B.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),h.isEditable&&!B.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:h.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>h.$emit("unarchiveActivity",{id:B.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["id","name","phase-name","milestone-name","milestone-color","deadline","important","users","assignee","slug","comments","attachments","tasks","is-editable","is-private","is-closed","onClick","onRemoveAssignee"])]}),_:1},16,["list","disabled"]),h.isEditable?(e.openBlock(),e.createElementBlock("div",P5,[e.createVNode(Pe,{"icon-name":"Add",label:h.$t("project.activity.add"),onClick:u},null,8,["label"])])):e.createCommentVNode("",!0)])])}}}),X9="",z5=e.defineComponent({__name:"AoProjectOverviewActivityDetails",props:{phaseId:{},milestoneId:{},activityId:{},activityTypes:{},activities:{},isTaskCheckable:{type:Function},statuses:{},phases:{},users:{},project:{},userId:{},isEditable:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["update:activity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,r=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.find(y=>y.id===o.phaseId)}),n=e.computed(()=>{var g;return(g=o.phases)==null?void 0:g.flatMap(y=>y.milestones)}),s=e.computed(()=>{var g;return(g=n.value)==null?void 0:g.find(y=>y.id===o.milestoneId)}),i=e.computed(()=>{var g;return(g=o.activities)==null?void 0:g.find(y=>y.id===o.activityId)}),l=g=>{t("update:activity",g)},c=g=>{t("addSubtask",g)},u=g=>{t("updateSubtask",g)},d=g=>{t("deleteSubtask",g)},p=g=>{t("addFiles",g)},m=g=>{t("removeFile",g)},f=g=>{t("addComment",g)},b=g=>{t("updateComment",g)},_=g=>{t("removeComment",g)};return(g,y)=>{var h,v;return i.value?(e.openBlock(),e.createBlock(to,{key:0,activity:i.value,"activity-types":g.activityTypes,"milestone-id":g.milestoneId,"template-activities":g.activities,"is-template":!1,users:g.users,"user-id":g.userId,"is-task-checkable":g.isTaskCheckable,statuses:g.statuses,breadcrumbs:`${(h=r.value)==null?void 0:h.name} / ${(v=s.value)==null?void 0:v.name}`,"is-editable":g.isEditable,"attachment-enabled":g.attachmentEnabled,projects:[g.project],onClose:g.$router.back,"onUpdate:activity":l,onAddSubtask:c,onUpdateSubtask:u,onDeleteSubtask:d,onAddFiles:p,onRemoveFile:m,onAddComment:f,onUpdateComment:b,onRemoveComment:_},{default:e.withCtx(N=>[e.renderSlot(g.$slots,"default",e.normalizeProps(e.guardReactiveProps(N)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","onClose"])):e.createCommentVNode("",!0)}}}),H5={class:"ao-col-header"},R5=e.defineComponent({__name:"AoColHeader",props:{title:{},items:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",H5,[e.createVNode(ne,{title:t.title,class:"ao-col-header__title",level:4},null,8,["title"]),t.items?(e.openBlock(),e.createBlock(wt,{key:0,label:t.items,class:"ao-col-header__items",variant:"solid",color:"primary"},null,8,["label"])):e.createCommentVNode("",!0)]))}}),Q9="";function F5(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}function wa(a){return typeof a=="function"?a():e.unref(a)}const U5=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Z5=a=>a!=null,Rt=()=>{};function W5(a,t){function o(...r){return new Promise((n,s)=>{Promise.resolve(a(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(n).catch(s)})}return o}function q5(a,t={}){let o,r,n=Rt;const s=l=>{clearTimeout(l),n(),n=Rt};return l=>{const c=wa(a),u=wa(t.maxWait);return o&&s(o),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((d,p)=>{n=t.rejectOnCancel?p:d,u&&!r&&(r=setTimeout(()=>{o&&s(o),r=null,d(l())},u)),o=setTimeout(()=>{r&&s(r),r=null,d(l())},c)})}}function Y5(a,t=200,o={}){return W5(q5(t,o),a)}function go(a){var t;const o=wa(a);return(t=o==null?void 0:o.$el)!=null?t:o}const K5=U5?window:void 0;function G5(){const a=e.ref(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{a.value=!0},t),a}function X5(a){const t=G5();return e.computed(()=>(t.value,!!a()))}function Q5(a,t,o={}){const{root:r,rootMargin:n="0px",threshold:s=.1,window:i=K5,immediate:l=!0}=o,c=X5(()=>i&&"IntersectionObserver"in i),u=e.computed(()=>{const b=wa(a);return(Array.isArray(b)?b:[b]).map(go).filter(Z5)});let d=Rt;const p=e.ref(l),m=c.value?e.watch(()=>[u.value,go(r),p.value],([b,_])=>{if(d(),!p.value||!b.length)return;const g=new IntersectionObserver(t,{root:go(_),rootMargin:n,threshold:s});b.forEach(y=>y&&g.observe(y)),d=()=>{g.disconnect(),d=Rt}},{immediate:l,flush:"post"}):Rt,f=()=>{d(),m(),p.value=!1};return F5(f),{isSupported:c,isActive:p,pause(){d(),p.value=!1},resume(){p.value=!0},stop:f}}const J5={class:e.normalizeClass(["ao-list-kanban"])},e7={class:"ao-list-kanban__header"},t7={key:0,class:"ao-list-kanban__end ao-list-kanban__end--loading"},a7={key:1,class:"ao-list-kanban__end"},o7={key:0,class:"ao-list-kanban__no-more"},r7={key:1,class:"ao-list-kanban__divider"},n7={key:1,class:"ao-list-kanban__footer"},i7=e.defineComponent({__name:"AoListKanban",props:{list:{},status:{},users:{},userId:{},title:{},footerLabel:{},isLoading:{type:Boolean},hasMore:{type:Boolean},noMoreLabel:{},isEditable:{type:[Boolean,String]},tagType:{}},emits:["add","update:list","change:list","loadMore","selectActivity","archiveActivity","unarchiveActivity","updateActivity"],setup(a,{emit:t}){const o=a,r=e.ref(!1),n=e.ref(null);Q5(n,([{isIntersecting:d}])=>{r.value=d}),e.watch(r,d=>{d&&o.hasMore&&!o.isLoading&&t("loadMore")});const s=d=>{var p;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((p=d.assignee)==null?void 0:p.id):!1},i=d=>{t("selectActivity",d)},l=d=>{t("updateActivity",d)},c=d=>{"added"in d?t("updateActivity",{id:d.added.element.id,statusId:o.status.id,rank:dt(o.list,d.added.newIndex)}):"removed"in d||"moved"in d&&t("updateActivity",{id:d.moved.element.id,rank:dt(o.list,d.moved.newIndex)})},u=e.ref(!1);return(d,p)=>(e.openBlock(),e.createElementBlock("div",J5,[d.title||d.$slots.header?e.renderSlot(d.$slots,"header",{key:0},()=>{var m;return[e.createElementVNode("div",e7,[d.title?(e.openBlock(),e.createBlock(R5,{key:0,title:d.title,level:3,items:(m=d.list)==null?void 0:m.length},null,8,["title","items"])):e.createCommentVNode("",!0)])]}):e.createCommentVNode("",!0),e.createVNode(e.unref(je),e.mergeProps({class:["ao-list-kanban__list",u.value?"ao-list-kanban__transition":void 0],list:d.list,"item-key":"id",group:"kanban","ghost-class":"ao-list-kanban__ghost",animation:"200"},d.$attrs,{draggable:".ao-list-draggable",disabled:!d.isEditable,onChange:c,onStart:p[0]||(p[0]=m=>u.value=!0),onEnd:p[1]||(p[1]=m=>u.value=!1),"component-data":{tag:"transition-group",name:"ao-list-kanban__transition"}}),{item:e.withCtx(({element:m})=>{var f,b,_,g,y,h,v,N,B;return[e.createVNode(ho,{class:e.normalizeClass(s(m)?"ao-list-draggable":""),id:m.id,name:m.name,"project-name":(f=m.project)==null?void 0:f.name,"project-color":(b=m.project)==null?void 0:b.color,"phase-name":(g=(_=m.milestone)==null?void 0:_.phase)==null?void 0:g.name,"milestone-name":(y=m.milestone)==null?void 0:y.name,"milestone-color":(h=m.milestone)==null?void 0:h.color,deadline:m.deadline,rules:((v=m.rules)==null?void 0:v.length)||0,tasks:m.tasks,description:m.description,important:m.important,type:m.type,comments:(N=m.comments)==null?void 0:N.length,attachments:(B=m.attachments)==null?void 0:B.length,users:d.users,assignee:m.assignee,slug:m.slug,"is-editable":s(m),"is-private":m.private,"tag-type":d.tagType,onUpdateActivity:[V=>s(m)&&l(V),()=>s(m)&&l],onClick:()=>i(m.id),onRemoveAssignee:()=>s(m)&&l({id:m.id,assigneeId:null})},{secondary:e.withCtx(()=>[s(m)&&m.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.archive"),onClick:e.withModifiers(()=>d.$emit("archiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),s(m)&&!m.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>d.$emit("unarchiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),_:2},1032,["class","id","name","project-name","project-color","phase-name","milestone-name","milestone-color","deadline","rules","tasks","description","important","type","comments","attachments","users","assignee","slug","is-editable","is-private","tag-type","onUpdateActivity","onClick","onRemoveAssignee"])]}),footer:e.withCtx(()=>[d.isLoading?(e.openBlock(),e.createElementBlock("div",t7,[e.createVNode(Q,{name:"Loading"})])):d.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"scrollEnd",ref:n,class:"ao-list-kanban__end"},null,512)):(e.openBlock(),e.createElementBlock("div",a7,[d.noMoreLabel?(e.openBlock(),e.createElementBlock("span",o7,e.toDisplayString(d.noMoreLabel),1)):d.isEditable?(e.openBlock(),e.createElementBlock("span",r7)):e.createCommentVNode("",!0)]))]),_:1},16,["class","list","disabled"]),d.$slots.footer||d.footerLabel?(e.openBlock(),e.createElementBlock("div",n7,[e.renderSlot(d.$slots,"footer",{},()=>[d.isEditable?(e.openBlock(),e.createBlock(Pe,{key:0,"icon-name":"AddBoxOutlineRounded",label:d.footerLabel,onClick:p[2]||(p[2]=m=>d.$emit("add"))},null,8,["label"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),J9="",s7={class:"ao-field ao-search-field"},l7=["value","placeholder","onKeypress"],c7=e.defineComponent({__name:"AoSearchField",props:{modelValue:{},delay:{default:250},placeholder:{default:"Search"}},emits:["update:modelValue","clear"],setup(a,{emit:t}){const o=a,r=async i=>{const c=i.target.value;t("update:modelValue",c,i)},n=Y5(r,o.delay),s=i=>{t("clear",i)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",s7,[e.createElementVNode("input",{value:i.modelValue,type:"text",class:"ao-field__input ao-search-field__input",placeholder:i.placeholder,onInput:l[0]||(l[0]=(...c)=>e.unref(n)&&e.unref(n)(...c)),onKeypress:e.withKeys(r,["enter"])},null,40,l7),e.createVNode(Q,{name:"SearchRounded",class:e.normalizeClass(`ao-search-field__icon ao-search-field__action ${i.modelValue?"":"ao-search-field__action--visible"}`)},null,8,["class"]),e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",color:"primary",corners:"round",class:e.normalizeClass(`ao-search-field__button ao-search-field__action ${i.modelValue?"ao-search-field__action--visible":""}`),onClick:s},null,8,["class"])]))}}),e4="",d7={class:"ao-feed"},p7={class:"ao-feed__filters"},u7={class:"ao-feed__body"},Ir=e.defineComponent({__name:"AoFeed",props:{activities:{},statuses:{},project:{},projects:{},filters:{},activityTypes:{},users:{},userId:{},initialActivityId:{},initialActivitySlug:{},searchText:{default:""},showsArchivedActivities:{type:Boolean},showsOnlyImportant:{type:Boolean},showsOnlyNonAssigned:{type:Boolean},selectedActivity:{},isTaskCheckable:{type:Function,default:void 0},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean,default:!0}},emits:["change:activities","addActivity","update:filters","selectActivity","update:activity","archiveActivity","unarchiveActivity","update:searchText","clear:searchText","update:showsArchivedActivities","update:showsOnlyImportant","update:showsOnlyNonAssigned","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,{t:r}=We();function n(w,T){t("toast",w,T)}const s=e.toRef(o,"activities"),i=async(w,T)=>{await t("selectActivity",w,T)},l=e.ref({}),c=e.ref(!1),u=e.ref(!1),d=e.computed(()=>o.project?"milestone":"project");e.watch([()=>o.statuses,()=>o.activities,()=>o.initialActivityId,()=>o.initialActivitySlug],async([w,T,C,x],[q,Z])=>{l.value=Object.fromEntries(w.map(L=>[L.id,T.filter(S=>{var D;return((D=S.status)==null?void 0:D.id)===L.id})])),C&&!c.value?(i(C,null),c.value=!0):x&&!c.value&&(i(null,x),c.value=!0),u.value&&Ae(T,Z)},{immediate:!0});const p=e.computed(()=>{var w;return!o.selectedActivity||!o.selectedActivity.milestone?"":`${((w=o.selectedActivity.milestone.phase)==null?void 0:w.name)??""} / ${o.selectedActivity.milestone.name??""}`}),m=w=>{var Z,L;const T=(Z=o.activities)==null?void 0:Z.at(-1),C=T?ie.LexoRank.parse(T.rank).genNext():ie.LexoRank.middle(),x=((L=o.activities)==null?void 0:L.length)??0,q={name:r("activity.defaultName",{idx:x+1}),rank:C.format(),statusId:w.id};o.filters.assigneeId.length>0&&(q.assigneeId=o.filters.assigneeId[0]),o.filters.projectId.length>0&&(q.projectId=o.filters.projectId[0]),o.filters.typeId.length>0&&(q.typeId=o.filters.typeId[0]),u.value=!0,t("addActivity",q)},f=(w,T)=>{u.value=!1,t("update:filters",{...o.filters,[w]:T})},b=e.computed(()=>o.project?[o.project]:o.projects??[]),_=e.computed(()=>b.value.map(w=>({value:w.id,label:w.name}))),g=e.computed(()=>{var w;return(w=o.activityTypes)==null?void 0:w.map(T=>({value:T.id,label:T.name}))}),y=e.computed(()=>o.users.map(w=>({value:w.id,label:`${w.firstName} ${w.lastName}`,avatar:w.avatarUrl}))),h=w=>{o.selectedActivity&&t("update:activity",w)},v=w=>{t("update:activity",w)},N=w=>{t("archiveActivity",w)},B=w=>{t("unarchiveActivity",w)},V=w=>{u.value=!1,t("update:searchText",w)},I=w=>{u.value=!1,t("clear:searchText",w)},j=w=>{o.selectedActivity&&t("addSubtask",w)},P=w=>{o.selectedActivity&&t("updateSubtask",w)},H=w=>{o.selectedActivity&&t("deleteSubtask",w)},F=w=>{t("addFiles",w)},A=w=>{t("removeFile",w)},z=w=>{o.selectedActivity&&t("addComment",{...w,activityId:o.selectedActivity.id})},Y=w=>{const{id:T}=o.selectedActivity||{};T&&t("updateComment",w)},U=w=>{const{id:T}=o.selectedActivity||{};T&&t("removeComment",w)},R=Le.useRouter(),E=e.ref("feed"),$=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(E,w=>{w==="feed"?(R.push({name:re.feed}),console.log("Navigating to feed...")):w==="overview"?(R.push({name:re.project}),console.log("Navigating to feed...")):w==="mapping"&&(R.push({name:re.mapping}),console.log("Navigating to feed..."))}),(w,T)=>{var C;return e.openBlock(),e.createElementBlock("div",d7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createElementVNode("div",p7,[e.createVNode(fo,{tabs:$,modelValue:E.value,"onUpdate:modelValue":T[0]||(T[0]=x=>E.value=x)},null,8,["modelValue"]),e.createVNode(c7,{"model-value":w.searchText,placeholder:w.$t("feed.search.placeholder"),class:"ao-feed__search","onUpdate:modelValue":V,onClear:I},null,8,["model-value","placeholder"]),o.project?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(le,{key:0,"model-value":w.filters[e.unref(Xe).project],mode:"tags",options:_.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__projects",placeholder:w.$t("feed.filters.project.placeholder"),"onUpdate:modelValue":T[1]||(T[1]=x=>f(e.unref(Xe).project,x))},null,8,["model-value","options","placeholder"])),g.value?(e.openBlock(),e.createBlock(le,{key:1,"model-value":w.filters[e.unref(Xe).type],mode:"tags",options:g.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__types",placeholder:w.$t("feed.filters.activityType.placeholder"),"onUpdate:modelValue":T[2]||(T[2]=x=>f(e.unref(Xe).type,x))},null,8,["model-value","options","placeholder"])):e.createCommentVNode("",!0),y.value.length?(e.openBlock(),e.createBlock(le,{key:2,"model-value":w.filters[e.unref(Xe).assignee],mode:"tags",options:y.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__assignees",placeholder:w.$t("feed.filters.assignee.placeholder"),"onUpdate:modelValue":T[3]||(T[3]=x=>f(e.unref(Xe).assignee,x))},{tag:e.withCtx(({option:x,handleTagRemove:q})=>[e.createVNode(ye,{"user-name":x.label,"avatar-url":x.avatar,"is-closable":!0,onClose:Z=>q(x,Z)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["model-value","options","placeholder"])):e.createCommentVNode("",!0)]),e.createVNode(K,{class:"ao-feed__only-non-assigned",size:"sm","icon-name":w.showsOnlyNonAssigned?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:w.$t("feed.filters.showsOnlyNonAssigned.label"),role:"checkbox","aria-checked":w.showsOnlyNonAssigned,onClick:T[4]||(T[4]=x=>w.$emit("update:showsOnlyNonAssigned",!w.showsOnlyNonAssigned))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__only-important",size:"sm","icon-name":w.showsOnlyImportant?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:w.$t("feed.filters.showsOnlyImportant.label"),role:"checkbox","aria-checked":w.showsOnlyImportant,onClick:T[5]||(T[5]=x=>w.$emit("update:showsOnlyImportant",!w.showsOnlyImportant))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":w.showsArchivedActivities?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:w.$t("feed.filters.showsArchivedActivities.label"),role:"checkbox","aria-checked":w.showsArchivedActivities,onClick:T[6]||(T[6]=x=>w.$emit("update:showsArchivedActivities",!w.showsArchivedActivities))},null,8,["icon-name","label","aria-checked"])]),_:1}),e.createElementVNode("div",u7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.statuses,x=>(e.openBlock(),e.createBlock(i7,{key:x.id,status:x,list:l.value[x.id],title:x.name,"footer-label":w.$t("feed.activity.add"),users:w.users,"user-id":w.userId,"is-editable":w.isEditable,tagType:d.value,onAdd:()=>m(x),onSelectActivity:i,onArchiveActivity:N,onUnarchiveActivity:B,onUpdateActivity:v},null,8,["status","list","title","footer-label","users","user-id","is-editable","tagType","onAdd"]))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[w.selectedActivity?(e.openBlock(),e.createBlock(to,{key:0,activity:w.selectedActivity,"activity-types":w.activityTypes,"milestone-id":(C=w.selectedActivity.milestone)==null?void 0:C.id,"template-activities":s.value,users:w.users,"user-id":w.userId,"is-task-checkable":w.isTaskCheckable,statuses:w.statuses,breadcrumbs:p.value,"is-editable":w.isEditable,"attachment-enabled":w.attachmentEnabled,projects:b.value,onClose:T[7]||(T[7]=()=>i(null,null)),"onUpdate:activity":h,onAddSubtask:j,onUpdateSubtask:P,onDeleteSubtask:H,onAddFiles:F,onRemoveFile:A,onAddComment:z,onUpdateComment:Y,onRemoveComment:U,onToast:n},{default:e.withCtx(x=>[e.renderSlot(w.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(x)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects"])):e.createCommentVNode("",!0)]))])}}}),t4="",m7={class:"ao-project-mapping"},f7={class:"ao-project-mapping-mapping__body"},h7={class:"ao-project-mapping-mapping__phases"},g7={key:0,class:"ao-project-mapping-mapping__image-wrapper"},_7=["src","alt"],v7=e.defineComponent({__name:"AoMapping",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","copyPhaseToTemplate","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:r}=We(),n=()=>{const{name:g,rank:y}=at(o.phases,"phase",r);t("addPhase",{name:g,rank:y,projectId:o.project.id})},s=g=>{t("updatePhase",g)},i=g=>{t("archivePhase",g)},l=g=>{t("unarchivePhase",g)},c=g=>{t("copyPhaseToTemplate",g)},u=e.ref(!1),d=e.ref(!1),p=(g,y)=>{t("applyTemplate",{templateId:g,projectId:y}),u.value=!1},m=(g,y)=>{var N;const h=(N=o.templates)==null?void 0:N.at(-1),v=h?ie.LexoRank.parse(h.rank).genNext():ie.LexoRank.middle();t("saveTemplate",{templateName:g,rank:v.format(),phaseIds:y}),d.value=!1},f=Le.useRouter(),b=e.ref("mapping"),_=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(b,g=>{g==="feed"?(f.push({name:re.feed}),console.log("Navigating to feed...")):g==="overview"?(f.push({name:re.project}),console.log("Navigating to feed...")):g==="mapping"&&(f.push({name:re.mapping}),console.log("Navigating to feed..."))}),(g,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-mapping-overview"},g.$attrs),[e.createElementVNode("div",m7,[e.createVNode(It,null,{primary:e.withCtx(()=>[e.createVNode(fo,{tabs:_,modelValue:b.value,"onUpdate:modelValue":y[0]||(y[0]=h=>b.value=h)},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":g.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:g.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":g.showsArchived,onClick:y[1]||(y[1]=h=>g.$emit("update:showsArchived",!g.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[g.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-mapping-overview__save-as-template",color:"primary",label:g.$t("project.template.save.label"),onClick:y[2]||(y[2]=h=>d.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),g.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-mapping-overview__add-template",color:"primary",label:g.$t("project.template.apply.label"),onClick:y[3]||(y[3]=h=>u.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",f7,[e.createElementVNode("div",h7,[e.createVNode(mo,{phases:g.phases,"closed-status":g.closedStatus,"is-editable":g.isEditable===!0,users:g.users,onAddPhase:n,onUpdatePhase:s,onArchivePhase:i,onUnarchivePhase:l,onCopyPhaseToTemplate:c},null,8,["phases","closed-status","is-editable","users"])]),g.project.architectureImage?(e.openBlock(),e.createElementBlock("div",g7,[e.createElementVNode("img",{class:"architecture-image",src:g.project.architectureImage.url,alt:e.unref(r)("architectureImage.alt")},null,8,_7)])):e.createCommentVNode("",!0)])])],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(Tr,{key:0,phases:g.phases,onClose:y[4]||(y[4]=h=>d.value=!1),onSave:m},null,8,["phases"])):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(Ar,{key:1,"project-id":g.project.id,templates:g.templates,onClose:y[5]||(y[5]=h=>u.value=!1),onApply:p},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64))}}),a4="",rt={TEMPLATES:"templates",TEMPLATE_DETAILS:"template_details",TEMPLATES_LIST:"templates_list"},C7=(a,t={})=>[{path:a,name:rt.TEMPLATES,redirect:{name:rt.TEMPLATES_LIST},...t,children:[{path:"",name:rt.TEMPLATES_LIST,component:Lr},{path:":templateId/:phaseId?/:milestoneId?/:activityId?",name:rt.TEMPLATE_DETAILS,component:xr,props:!0}]}],re={project:"AoProject",feed:"AoProjectFeed",mapping:"AoProjectMapping",milestone:"AoMilestone",activity:"AoActivity"},b7=(a,t={})=>[{path:a,...t,redirect:{name:re.project},children:[{path:"",name:re.project,component:r5,props:!0,children:[{path:":phaseId/:milestoneId",name:re.milestone,component:Or,props:!0},{path:":phaseId/:milestoneId/:activityId",name:re.activity,props:{default:!0,modal:!0},components:{default:Or,modal:z5}}]},{path:"feed",name:re.feed,component:Ir,props:!0},{path:"mapping",name:re.mapping,component:v7,props:!0}]}],y7={class:"ao-templates"},Lr=e.defineComponent({__name:"AoTemplatesList",props:{templates:{}},emits:["addTemplate","updateTemplates","updateItem","removeItem"],setup(a,{emit:t}){const o=a,{t:r}=We();e.watch(()=>o.templates,(c,u)=>{Ae(c,u)});const n=()=>{var m,f;const c=(m=o.templates)==null?void 0:m.at(-1),u=c?ie.LexoRank.parse(c.rank).genNext():ie.LexoRank.middle(),d=((f=o.templates)==null?void 0:f.length)??0,p={name:r("template.defaultName.template",{idx:d+1}),rank:u.format()};t("addTemplate",p)},s=(c,u)=>{t("updateItem",{itemType:ee.TEMPLATES,id:c,templateId:c,data:{name:u}})},i=(c,u)=>{t("removeItem",{itemType:ee.TEMPLATES,templateId:c,data:{id:c,...u?{name:u}:{}}})},l=c=>{if(c.moved){const u=Ot(c,o.templates??[]);t("updateItem",{itemType:ee.TEMPLATES,id:c.moved.element.id,templateId:c.moved.element.id,data:{rank:u}})}};return(c,u)=>(e.openBlock(),e.createElementBlock("div",y7,[e.createVNode(It,null,{secondary:e.withCtx(()=>[e.createVNode(K,{label:c.$t("templates.new"),color:"primary","icon-name":"Add","icon-position":"start",onClick:n},null,8,["label"])]),_:1}),e.createVNode(e.unref(je),{"model-value":c.templates,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:l},{item:e.withCtx(({element:d})=>{var p;return[e.createVNode(R2,{id:d.id,title:d.name,phases:d.phases,milestones:(p=d.phases)!=null&&p.length?e.unref(u2)(d.phases):0,activities:d.phases?e.unref(m2)(d.phases):0,"updated-at":d.updatedAt,"updated-by":d.updatedBy,onUpdateTitle:m=>s(d.id,m),onClick:m=>c.$router.push({name:e.unref(rt).TEMPLATE_DETAILS,params:{templateId:d.id}}),onDeleteItem:u[0]||(u[0]=(m,f)=>i(m,f))},null,8,["id","title","phases","milestones","activities","updated-at","updated-by","onUpdateTitle","onClick"])]}),_:1},8,["model-value"])]))}}),o4="",w7={class:"ao-field__label"},jr=e.defineComponent({__name:"AoField",props:{label:{},isMultiselect:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ao-field",{"ao-field--multiselect":t.isMultiselect}])},[e.createElementVNode("span",w7,e.toDisplayString(t.label),1),e.renderSlot(t.$slots,"default")],2))}}),k7=["type","value","disabled","readonly"],$7=e.defineComponent({__name:"AoInputField",props:{label:{default:""},type:{default:"text"},modelValue:{default:""},modelModifiers:{default:()=>({})},isDisabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,r=e.computed(()=>o.modelModifiers.lazy?"change":"input"),n=s=>{o.modelModifiers.number&&(s=Number(s)),t("update:modelValue",s)};return(s,i)=>(e.openBlock(),e.createBlock(jr,{label:s.label},{default:e.withCtx(()=>[e.createElementVNode("input",e.mergeProps({class:"ao-field__input",type:s.type,value:s.modelValue,disabled:s.isDisabled,readonly:s.isReadonly},{[e.toHandlerKey(r.value)]:i[0]||(i[0]=l=>n(l.target.value))}),null,16,k7)]),_:1},8,["label"]))}}),E7={class:"ao-field"},B7={class:"ao-field__label"},V7=["checked","disabled"],N7=e.defineComponent({__name:"AoCheckboxField",props:{label:{default:""},modelValue:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",E7,[e.createElementVNode("span",B7,e.toDisplayString(t.label),1),e.createElementVNode("input",{class:"ao-field__input",type:"checkbox",checked:t.modelValue,disabled:t.isDisabled,onChange:o[0]||(o[0]=r=>{var n;return t.$emit("update:modelValue",((n=r.target)==null?void 0:n.checked)??!1)})},null,40,V7)]))}});X.AoAvatar=ye,X.AoCardFeed=ho,X.AoCheckboxField=N7,X.AoFeed=Ir,X.AoField=jr,X.AoInputField=$7,X.AoMultiselect=le,X.AoProjectPhases=mo,X.AoTemplateDetails=xr,X.AoTemplates=Zr,X.AoTemplatesList=Lr,X.TemplateItemTypeEnum=Ao,X.activityFeedStatus=Nd,X.durationTypes=Vd,X.feedFilterTypes=Xe,X.getProjectOverviewRoutes=b7,X.getTemplateRoutes=C7,X.listUpdateTypes=Sd,X.milestoneStatus=kt,X.projectOverviewRoutes=re,X.ruleComparators=So,X.ruleDurationUnits=Mo,X.ruleTriggerTypes=xo,X.templateItemType=ee,X.templateRouteNames=rt,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});
|