{"version":3,"sources":["vendor/ember-cli/app-prefix.js","additive-account/adapters/-json-api.js","additive-account/adapters/app-modules.js","additive-account/adapters/application.js","additive-account/adapters/closing-time.js","additive-account/adapters/corporate-design.js","additive-account/adapters/email-template.js","additive-account/adapters/organization.js","additive-account/adapters/room-count.js","additive-account/app.js","additive-account/authenticators/authorization-code-grant.js","additive-account/classes/query-parameters.js","additive-account/component-managers/glimmer.js","additive-account/components/-dynamic-element-alt.js","additive-account/components/-dynamic-element.js","additive-account/components/aa-card/content.js","additive-account/components/aa-card/index.js","additive-account/components/aa-corporate-design/fonts.js","additive-account/components/aa-corporate-design/fonts/font-type-dialog.js","additive-account/components/aa-corporate-design/fonts/item.js","additive-account/components/aa-corporate-design/fonts/item/preview.js","additive-account/components/aa-corporate-design/logo.js","additive-account/components/aa-corporate-design/logo/logo-upload.js","additive-account/components/aa-corporate-design/typography.js","additive-account/components/aa-email-template-configurator.js","additive-account/components/aa-email-template-configurator/colors.js","additive-account/components/aa-email-template-configurator/general.js","additive-account/components/aa-email-template-configurator/typography.js","additive-account/components/aa-email-template-preview.js","additive-account/components/aa-file-upload.js","additive-account/components/aa-file-upload/font-input.js","additive-account/components/aa-file-upload/input.js","additive-account/components/aa-language-switch.js","additive-account/components/aa-modules-modal.js","additive-account/components/aa-organization/detail.js","additive-account/components/aa-organization/dialog-form.js","additive-account/components/aa-organization/domain-swap-information.js","additive-account/components/aa-organization/info-item.js","additive-account/components/aa-settings/closing-periods/detail.js","additive-account/components/aa-settings/integrations/add-dialog.js","additive-account/components/aa-settings/integrations/edit-dialog.js","additive-account/components/aa-settings/integrations/edit-pms-integration-dialog.js","additive-account/components/aa-settings/integrations/list.js","additive-account/components/aa-settings/integrations/show-credentials-dialog.js","additive-account/components/aa-settings/room-counts/detail.js","additive-account/components/aa-settings/room-counts/list.js","additive-account/components/aa-settings/salutation-settings.js","additive-account/components/aa-two-factor-authentication/confirm-code-dialog.js","additive-account/components/aa-two-factor-authentication/enable-dialog.js","additive-account/components/aa-user/detail.js","additive-account/components/ae-configurations.js","additive-account/components/ae-configurations/apps/accommodations.js","additive-account/components/ae-configurations/apps/custom-link.js","additive-account/components/ae-configurations/apps/enquiry-channel.js","additive-account/components/ae-configurations/apps/enquiry-establishments.js","additive-account/components/ae-configurations/apps/journal-post.js","additive-account/components/ae-configurations/apps/journal-widget.js","additive-account/components/ae-configurations/apps/newsletter-widget.js","additive-account/components/ae-configurations/apps/offer.js","additive-account/components/ae-configurations/apps/survey.js","additive-account/components/ae-configurations/apps/voucher-widget.js","additive-account/components/ae-configurations/apps/voucher.js","additive-account/components/ae-configurations/code.js","additive-account/components/ae-configurations/color.js","additive-account/components/ae-configurations/content-categories.js","additive-account/components/ae-configurations/contents.js","additive-account/components/ae-configurations/date-ranges.js","additive-account/components/ae-configurations/image.js","additive-account/components/ae-configurations/images.js","additive-account/components/ae-configurations/item.js","additive-account/components/ae-configurations/media-gallery.js","additive-account/components/ae-configurations/typography.js","additive-account/components/animated-beacon.js","additive-account/components/animated-container.js","additive-account/components/animated-each.js","additive-account/components/animated-if.js","additive-account/components/animated-orphans.js","additive-account/components/animated-value.js","additive-account/components/app-plan-card.js","additive-account/components/app-role-selection.js","additive-account/components/app-selection-dialog.js","additive-account/components/apps-list.js","additive-account/components/aw-colors-menu.js","additive-account/components/aw-configurator.js","additive-account/components/aw-configurator/content-editor.js","additive-account/components/aw-configurator/content-editor/sidebar-button.js","additive-account/components/aw-configurator/content-editor/sidebar.js","additive-account/components/aw-configurator/editor.js","additive-account/components/aw-configurator/preview.js","additive-account/components/aw-configurator/style-editor.js","additive-account/components/aw-configurator/style-editor/sidebar-button.js","additive-account/components/aw-configurator/style-editor/sidebar.js","additive-account/components/aw-custom-colors-menu.js","additive-account/components/aw-font-name-dialog.js","additive-account/components/aw-typography-dialog.js","additive-account/components/aw-typography-list.js","additive-account/components/aw-typography-list/item.js","additive-account/components/aw-typography-settings.js","additive-account/components/basic-dropdown-content.js","additive-account/components/basic-dropdown-trigger.js","additive-account/components/basic-dropdown.js","additive-account/components/color-indicator.js","additive-account/components/ea-list-element.js","additive-account/components/grid.js","additive-account/components/maybe-in-element.js","additive-account/components/model-form.js","additive-account/components/panel-group.js","additive-account/components/panel.js","additive-account/components/power-calendar-multiple.js","additive-account/components/power-calendar-multiple/days.js","additive-account/components/power-calendar-range.js","additive-account/components/power-calendar-range/days.js","additive-account/components/power-calendar.js","additive-account/components/power-calendar/days.js","additive-account/components/power-calendar/nav.js","additive-account/components/simple-nav.js","additive-account/components/simple-nav/trigger.js","additive-account/components/stripe-card-cvc.js","additive-account/components/stripe-card-expiry.js","additive-account/components/stripe-card-number.js","additive-account/components/stripe-card.js","additive-account/components/stripe-postal-code.js","additive-account/components/typography-item.js","additive-account/components/ui-accordion.js","additive-account/components/ui-action-button.js","additive-account/components/ui-additive-basic-dropdown.js","additive-account/components/ui-ai-button.js","additive-account/components/ui-app-selection.js","additive-account/components/ui-app.js","additive-account/components/ui-application-navigation-drawer.js","additive-account/components/ui-application-navigation-drawer/account-switch.js","additive-account/components/ui-application-navigation-drawer/account-switch/wrapper.js","additive-account/components/ui-application-navigation-drawer/apps-list.js","additive-account/components/ui-application-navigation-drawer/menu-item.js","additive-account/components/ui-application-navigation-drawer/user-button.js","additive-account/components/ui-audit-log.js","additive-account/components/ui-badge.js","additive-account/components/ui-blank-template.js","additive-account/components/ui-breadcrumbs.js","additive-account/components/ui-button.js","additive-account/components/ui-card.js","additive-account/components/ui-card/footer/content/default.js","additive-account/components/ui-card/footer/content/index.js","additive-account/components/ui-card/footer/content/title.js","additive-account/components/ui-card/footer/index.js","additive-account/components/ui-card/footer/menu/index.js","additive-account/components/ui-card/footer/menu/item.js","additive-account/components/ui-card/footer/popover.js","additive-account/components/ui-card/footer/status.js","additive-account/components/ui-card/header/accessories.js","additive-account/components/ui-card/header/accessories/drag-handle.js","additive-account/components/ui-card/header/accessories/index.js","additive-account/components/ui-card/header/content/iframe.js","additive-account/components/ui-card/header/content/image.js","additive-account/components/ui-card/header/content/index.js","additive-account/components/ui-card/header/index.js","additive-account/components/ui-card/index.js","additive-account/components/ui-category-card.js","additive-account/components/ui-category-grid.js","additive-account/components/ui-chart-legend.js","additive-account/components/ui-chart.js","additive-account/components/ui-checkbox.js","additive-account/components/ui-chip.js","additive-account/components/ui-collapsible-table.js","additive-account/components/ui-collapsible-table/head.js","additive-account/components/ui-collapsible-table/head/row.js","additive-account/components/ui-collapsible-table/head/row/column.js","additive-account/components/ui-collapsible-table/row.js","additive-account/components/ui-collapsible-table/row/first-column.js","additive-account/components/ui-collapsible-table/row/tooltip.js","additive-account/components/ui-collapsible-table/row/value-column.js","additive-account/components/ui-collapsible-table/rows.js","additive-account/components/ui-color-composition.js","additive-account/components/ui-colored-tile.js","additive-account/components/ui-comparison.js","additive-account/components/ui-content-count.js","additive-account/components/ui-content-hero.js","additive-account/components/ui-content-info.js","additive-account/components/ui-content-rating.js","additive-account/components/ui-content-views.js","additive-account/components/ui-content-views/center.js","additive-account/components/ui-content-views/content.js","additive-account/components/ui-content-wizard.js","additive-account/components/ui-content-wizard/step-content.js","additive-account/components/ui-content-wizard/step.js","additive-account/components/ui-content.js","additive-account/components/ui-control-panel-group.js","additive-account/components/ui-control-panel.js","additive-account/components/ui-data-table.js","additive-account/components/ui-date-filter.js","additive-account/components/ui-datepicker.js","additive-account/components/ui-datepicker/nav.js","additive-account/components/ui-datetime-picker.js","additive-account/components/ui-datetime-range-picker.js","additive-account/components/ui-dd-sort.js","additive-account/components/ui-dd-sort/item.js","additive-account/components/ui-dialog-service.js","additive-account/components/ui-discard-changes.js","additive-account/components/ui-dom-hide.js","additive-account/components/ui-dropzone.js","additive-account/components/ui-editor-legacy.js","additive-account/components/ui-editor.js","additive-account/components/ui-editor/action-bar.js","additive-account/components/ui-editor/action.js","additive-account/components/ui-editor/custom-color-dialog.js","additive-account/components/ui-editor/heading-actions.js","additive-account/components/ui-editor/mobile-actions.js","additive-account/components/ui-faq-dialog.js","additive-account/components/ui-filter-inputs.js","additive-account/components/ui-filter-inputs/date.js","additive-account/components/ui-filter-inputs/daterange.js","additive-account/components/ui-filter-inputs/group-label.js","additive-account/components/ui-filter-inputs/inputs.js","additive-account/components/ui-filter-inputs/multi.js","additive-account/components/ui-filter-inputs/query.js","additive-account/components/ui-filter-inputs/query/single.js","additive-account/components/ui-filter-inputs/range.js","additive-account/components/ui-filter-inputs/single.js","additive-account/components/ui-filter-inputs/text.js","additive-account/components/ui-filterable.js","additive-account/components/ui-form-control.js","additive-account/components/ui-form-dialog.js","additive-account/components/ui-form-message.js","additive-account/components/ui-form-view.js","additive-account/components/ui-form.js","additive-account/components/ui-fullscreen-illustration.js","additive-account/components/ui-icon-button.js","additive-account/components/ui-info-item.js","additive-account/components/ui-inline-edit.js","additive-account/components/ui-inline-notification.js","additive-account/components/ui-input-item.js","additive-account/components/ui-input.js","additive-account/components/ui-intro.js","additive-account/components/ui-item-group.js","additive-account/components/ui-item-menu.js","additive-account/components/ui-item.js","additive-account/components/ui-label.js","additive-account/components/ui-lang-select.js","additive-account/components/ui-language-tag.js","additive-account/components/ui-list-item.js","additive-account/components/ui-list-item/thumbnail.js","additive-account/components/ui-list-view.js","additive-account/components/ui-list.js","additive-account/components/ui-loading-page.js","additive-account/components/ui-loading.js","additive-account/components/ui-menu-content-inner.js","additive-account/components/ui-menu-content.js","additive-account/components/ui-menu-item.js","additive-account/components/ui-menu.js","additive-account/components/ui-metric-item.js","additive-account/components/ui-modal.js","additive-account/components/ui-modal/content.js","additive-account/components/ui-modal/footer.js","additive-account/components/ui-modal/header.js","additive-account/components/ui-modal/inner.js","additive-account/components/ui-month-day-picker.js","additive-account/components/ui-multi-form-control.js","additive-account/components/ui-multi-form-control/input.js","additive-account/components/ui-multilingual-modal.js","additive-account/components/ui-navigation-bar-filterable.js","additive-account/components/ui-navigation-bar.js","additive-account/components/ui-navigation-drawer.js","additive-account/components/ui-notification.js","additive-account/components/ui-onboarding.js","additive-account/components/ui-page-not-found.js","additive-account/components/ui-pagination-arrow.js","additive-account/components/ui-pagination-page-item.js","additive-account/components/ui-pagination.js","additive-account/components/ui-popover-trigger.js","additive-account/components/ui-popover.js","additive-account/components/ui-preview-dialog.js","additive-account/components/ui-progress-bar.js","additive-account/components/ui-property-watcher.js","additive-account/components/ui-publish-resource.js","additive-account/components/ui-pusher.js","additive-account/components/ui-radio-button-group.js","additive-account/components/ui-radio-button.js","additive-account/components/ui-range-slider.js","additive-account/components/ui-rating.js","additive-account/components/ui-reports/card.js","additive-account/components/ui-routable-tabs.js","additive-account/components/ui-searchbar.js","additive-account/components/ui-select-option.js","additive-account/components/ui-select.js","additive-account/components/ui-selectable-chip.js","additive-account/components/ui-selectable.js","additive-account/components/ui-selectable/content.js","additive-account/components/ui-selectable/trigger.js","additive-account/components/ui-selection-container.js","additive-account/components/ui-selection-container/action-bar.js","additive-account/components/ui-selection-container/actions.js","additive-account/components/ui-skeleton-card.js","additive-account/components/ui-skeleton.js","additive-account/components/ui-slider.js","additive-account/components/ui-status-badge.js","additive-account/components/ui-status.js","additive-account/components/ui-switch.js","additive-account/components/ui-tab-item.js","additive-account/components/ui-table.js","additive-account/components/ui-table/body.js","additive-account/components/ui-table/head-cell.js","additive-account/components/ui-table/head.js","additive-account/components/ui-table/row.js","additive-account/components/ui-tabs-content.js","additive-account/components/ui-tabs-header.js","additive-account/components/ui-tabs-pane.js","additive-account/components/ui-tags-input-modal.js","additive-account/components/ui-tags-input.js","additive-account/components/ui-tags.js","additive-account/components/ui-timepicker.js","additive-account/components/ui-toast-container.js","additive-account/components/ui-toast.js","additive-account/components/ui-toggle-group.js","additive-account/components/ui-toggle-group/item.js","additive-account/components/ui-toolbar.js","additive-account/components/ui-view-modes.js","additive-account/components/ui-view-modes/content.js","additive-account/components/ui-view-modes/toggle.js","additive-account/components/ui-when.js","additive-account/components/upgrade-plan-card.js","additive-account/components/upgrade-plan.js","additive-account/components/user-profile-view.js","additive-account/components/user-role-form.js","additive-account/components/user-role-selection.js","additive-account/components/widget-config-group.js","additive-account/controllers/application.js","additive-account/controllers/auth.js","additive-account/controllers/auth/callback.js","additive-account/controllers/auth/login.js","additive-account/controllers/auth/login/reset.js","additive-account/controllers/auth/mfa-setup.js","additive-account/controllers/auth/mfa.js","additive-account/controllers/auth/signup.js","additive-account/controllers/confirm.js","additive-account/controllers/instances.js","additive-account/controllers/instances/create.js","additive-account/controllers/instances/instance.js","additive-account/controllers/instances/instance/apps.js","additive-account/controllers/instances/instance/auditlog.js","additive-account/controllers/instances/instance/billings.js","additive-account/controllers/instances/instance/corporate-design/index.js","additive-account/controllers/instances/instance/corporate-design/typography.js","additive-account/controllers/instances/instance/email-templates/list.js","additive-account/controllers/instances/instance/email-templates/list/detail.js","additive-account/controllers/instances/instance/organization.js","additive-account/controllers/instances/instance/settings/closing-periods.js","additive-account/controllers/instances/instance/settings/communication.js","additive-account/controllers/instances/instance/settings/goals.js","additive-account/controllers/instances/instance/settings/integrations.js","additive-account/controllers/instances/instance/settings/legals.js","additive-account/controllers/instances/instance/settings/organization-settings.js","additive-account/controllers/instances/instance/settings/room-counts.js","additive-account/controllers/instances/instance/users.js","additive-account/controllers/instances/instance/users/list.js","additive-account/controllers/instances/instance/users/list/user.js","additive-account/controllers/instances/instance/users/partner.js","additive-account/controllers/instances/me/inbox/message.js","additive-account/controllers/instances/me/index.js","additive-account/controllers/invite.js","additive-account/data-adapter.js","additive-account/formats.js","additive-account/helpers/-element.js","additive-account/helpers/aa-app-modules.js","additive-account/helpers/aa-app-plan.js","additive-account/helpers/access-guard.js","additive-account/helpers/and.js","additive-account/helpers/app-assets.js","additive-account/helpers/app-version.js","additive-account/helpers/append.js","additive-account/helpers/array-find.js","additive-account/helpers/assign.js","additive-account/helpers/can-update-role.js","additive-account/helpers/cancel-all.js","additive-account/helpers/changeset-get.js","additive-account/helpers/changeset-set.js","additive-account/helpers/changeset.js","additive-account/helpers/chunk.js","additive-account/helpers/compact.js","additive-account/helpers/compute.js","additive-account/helpers/contains.js","additive-account/helpers/country-name.js","additive-account/helpers/currency-symbol.js","additive-account/helpers/currency.js","additive-account/helpers/date-format.js","additive-account/helpers/dec.js","additive-account/helpers/drop.js","additive-account/helpers/element.js","additive-account/helpers/ember-power-calendar-day-classes.js","additive-account/helpers/ensure-safe-component.js","additive-account/helpers/entries.js","additive-account/helpers/eq.js","additive-account/helpers/equal.js","additive-account/helpers/filter-by.js","additive-account/helpers/filter.js","additive-account/helpers/find-by.js","additive-account/helpers/first-existing.js","additive-account/helpers/flatten.js","additive-account/helpers/format-date-month.js","additive-account/helpers/format-date-time.js","additive-account/helpers/format-date.js","additive-account/helpers/format-message.js","additive-account/helpers/format-number.js","additive-account/helpers/format-relative.js","additive-account/helpers/format-time.js","additive-account/helpers/from-entries.js","additive-account/helpers/group-by.js","additive-account/helpers/gt.js","additive-account/helpers/gte.js","additive-account/helpers/has-next.js","additive-account/helpers/has-previous.js","additive-account/helpers/inc.js","additive-account/helpers/includes.js","additive-account/helpers/intersect.js","additive-account/helpers/invoke.js","additive-account/helpers/is-array.js","additive-account/helpers/is-empty.js","additive-account/helpers/is-equal.js","additive-account/helpers/is-none.js","additive-account/helpers/join.js","additive-account/helpers/keys.js","additive-account/helpers/loc.js","additive-account/helpers/loop.js","additive-account/helpers/lt.js","additive-account/helpers/lte.js","additive-account/helpers/map-by.js","additive-account/helpers/map.js","additive-account/helpers/minus.js","additive-account/helpers/next.js","additive-account/helpers/noop.js","additive-account/helpers/not-eq.js","additive-account/helpers/not.js","additive-account/helpers/object-at.js","additive-account/helpers/optional.js","additive-account/helpers/or.js","additive-account/helpers/perform.js","additive-account/helpers/pipe-action.js","additive-account/helpers/pipe.js","additive-account/helpers/pluralize.js","additive-account/helpers/power-calendar-format-date.js","additive-account/helpers/previous.js","additive-account/helpers/queue.js","additive-account/helpers/range.js","additive-account/helpers/reduce.js","additive-account/helpers/reject-by.js","additive-account/helpers/repeat.js","additive-account/helpers/reverse.js","additive-account/helpers/shuffle.js","additive-account/helpers/singularize.js","additive-account/helpers/slice.js","additive-account/helpers/sort-by.js","additive-account/helpers/svg-jar.js","additive-account/helpers/t.js","additive-account/helpers/take.js","additive-account/helpers/task.js","additive-account/helpers/toggle-action.js","additive-account/helpers/toggle.js","additive-account/helpers/ui-array-includes.js","additive-account/helpers/ui-country-name.js","additive-account/helpers/ui-days-left.js","additive-account/helpers/ui-format-currency.js","additive-account/helpers/ui-optional-action.js","additive-account/helpers/ui-parse-int.js","additive-account/helpers/ui-synced-value.js","additive-account/helpers/ui-to-string.js","additive-account/helpers/union.js","additive-account/helpers/user-role.js","additive-account/helpers/values.js","additive-account/helpers/without.js","additive-account/helpers/xor.js","additive-account/initializers/app-version.js","additive-account/initializers/container-debug-adapter.js","additive-account/initializers/ember-cli-mirage.js","additive-account/initializers/ember-data-data-adapter.js","additive-account/initializers/ember-data.js","additive-account/initializers/ember-simple-auth.js","additive-account/initializers/ember-stripe-elements.js","additive-account/initializers/export-application-global.js","additive-account/instance-initializers/ember-cli-mirage-autostart.js","additive-account/instance-initializers/ember-data.js","additive-account/instance-initializers/ember-simple-auth.js","additive-account/instance-initializers/full-story.js","additive-account/instance-initializers/google-analytics.js","additive-account/instance-initializers/sentry-performance.js","additive-account/instance-initializers/sentry.js","additive-account/instance-initializers/ui-body.js","additive-account/mirage-factories/list.js","additive-account/mirage-models/list.js","additive-account/mirage-models/voucher.js","additive-account/mirage/config.js","additive-account/mirage/endpoints/audit-log-routes.js","additive-account/mirage/endpoints/auth-routes.js","additive-account/mirage/endpoints/cors-interaction-routes.js","additive-account/mirage/endpoints/index.js","additive-account/mirage/endpoints/organization-routes.js","additive-account/mirage/endpoints/templates/detail.js","additive-account/mirage/endpoints/templates/index.js","additive-account/mirage/endpoints/templates/list.js","additive-account/mirage/factories/organization.js","additive-account/mirage/factories/setting-salutation.js","additive-account/mirage/factories/template.js","additive-account/mirage/helpers/configurator.js","additive-account/mirage/helpers/medium.js","additive-account/mirage/helpers/model.js","additive-account/mirage/helpers/server.js","additive-account/mirage/models/organization.js","additive-account/mirage/models/setting-salutation.js","additive-account/mirage/models/template.js","additive-account/mirage/scenarios/default.js","additive-account/mirage/scenarios/partner-admin.js","additive-account/mirage/scenarios/saas-admin.js","additive-account/mirage/scenarios/saas-owner.js","additive-account/mirage/serializers/application.js","additive-account/mirage/serializers/setting-salutation.js","additive-account/mixins/global-user.js","additive-account/models/app.js","additive-account/models/closing-time.js","additive-account/models/corporate-design.js","additive-account/models/email-template.js","additive-account/models/organization.js","additive-account/models/room-count.js","additive-account/models/setting.js","additive-account/models/tag.js","additive-account/models/user.js","additive-account/modifiers/did-insert.js","additive-account/modifiers/did-update.js","additive-account/modifiers/style.js","additive-account/modifiers/will-destroy.js","additive-account/objects/sidenav-state.js","additive-account/router.js","additive-account/routes/application-loading.js","additive-account/routes/application.js","additive-account/routes/auth.js","additive-account/routes/auth/callback.js","additive-account/routes/auth/login.js","additive-account/routes/auth/login/reset.js","additive-account/routes/auth/mfa-setup.js","additive-account/routes/auth/mfa.js","additive-account/routes/auth/signup.js","additive-account/routes/confirm.js","additive-account/routes/instances.js","additive-account/routes/instances/create.js","additive-account/routes/instances/instance.js","additive-account/routes/instances/instance/apps.js","additive-account/routes/instances/instance/auditlog.js","additive-account/routes/instances/instance/billings.js","additive-account/routes/instances/instance/corporate-design.js","additive-account/routes/instances/instance/corporate-design/index.js","additive-account/routes/instances/instance/corporate-design/typography.js","additive-account/routes/instances/instance/email-templates.js","additive-account/routes/instances/instance/email-templates/edit.js","additive-account/routes/instances/instance/email-templates/list.js","additive-account/routes/instances/instance/email-templates/list/detail.js","additive-account/routes/instances/instance/index.js","additive-account/routes/instances/instance/organization.js","additive-account/routes/instances/instance/settings.js","additive-account/routes/instances/instance/settings/closing-periods.js","additive-account/routes/instances/instance/settings/communication.js","additive-account/routes/instances/instance/settings/index.js","additive-account/routes/instances/instance/settings/integrations.js","additive-account/routes/instances/instance/settings/legals.js","additive-account/routes/instances/instance/settings/organization-settings.js","additive-account/routes/instances/instance/settings/room-counts.js","additive-account/routes/instances/instance/users.js","additive-account/routes/instances/instance/users/list.js","additive-account/routes/instances/instance/users/list/user.js","additive-account/routes/instances/instance/users/partner.js","additive-account/routes/instances/me/inbox.js","additive-account/routes/instances/me/inbox/message.js","additive-account/routes/instances/me/index.js","additive-account/routes/invite.js","additive-account/routes/loading.js","additive-account/routes/logout.js","additive-account/routes/organization.js","additive-account/routes/page-not-found.js","additive-account/serializers/-default.js","additive-account/serializers/-json-api.js","additive-account/serializers/-rest.js","additive-account/serializers/closing-time.js","additive-account/serializers/default.js","additive-account/serializers/email-template.js","additive-account/serializers/organization.js","additive-account/serializers/room-count.js","additive-account/serializers/user.js","additive-account/services/-ea-motion.js","additive-account/services/-ensure-registered.js","additive-account/services/ae-save-stack.js","additive-account/services/auth-utils.js","additive-account/services/authenticated-fetch.js","additive-account/services/cookies.js","additive-account/services/current-user.js","additive-account/services/intl.js","additive-account/services/localization.js","additive-account/services/power-calendar.js","additive-account/services/s3-upload-file.js","additive-account/services/session.js","additive-account/services/store.js","additive-account/services/stripev3.js","additive-account/services/ui-app-settings.js","additive-account/services/ui-backdrop.js","additive-account/services/ui-dialog.js","additive-account/services/ui-filter.js","additive-account/services/ui-locale.js","additive-account/services/ui-paths.js","additive-account/services/ui-pusher.js","additive-account/services/ui-query-params.js","additive-account/services/ui-state.js","additive-account/services/ui-toast.js","additive-account/session-stores/application.js","additive-account/templates/application-loading.js","additive-account/templates/application.js","additive-account/templates/auth.js","additive-account/templates/auth/authenticate.js","additive-account/templates/auth/callback.js","additive-account/templates/auth/login.js","additive-account/templates/auth/login/reset.js","additive-account/templates/auth/mfa-setup.js","additive-account/templates/auth/mfa.js","additive-account/templates/auth/signup.js","additive-account/templates/components/aa-corporate-design/fonts.js","additive-account/templates/components/aa-corporate-design/fonts/font-type-dialog.js","additive-account/templates/components/aa-corporate-design/logo.js","additive-account/templates/components/aa-corporate-design/typography.js","additive-account/templates/components/aa-settings/closing-periods/detail.js","additive-account/templates/components/aa-settings/room-counts/detail.js","additive-account/templates/components/aa-settings/room-counts/list.js","additive-account/templates/components/app-plan-card.js","additive-account/templates/components/app-role-selection.js","additive-account/templates/components/app-selection-dialog.js","additive-account/templates/components/apps-list.js","additive-account/templates/components/basic-dropdown-content.js","additive-account/templates/components/basic-dropdown-trigger.js","additive-account/templates/components/basic-dropdown.js","additive-account/templates/components/model-form.js","additive-account/templates/components/simple-nav.js","additive-account/templates/components/typography-item.js","additive-account/templates/components/ui-app-selection.js","additive-account/templates/components/ui-app.js","additive-account/templates/components/ui-form.js","additive-account/templates/components/upgrade-plan-card.js","additive-account/templates/components/upgrade-plan.js","additive-account/templates/components/user-profile-view.js","additive-account/templates/components/user-role-form.js","additive-account/templates/components/user-role-selection.js","additive-account/templates/confirm.js","additive-account/templates/instances.js","additive-account/templates/instances/create.js","additive-account/templates/instances/instance.js","additive-account/templates/instances/instance/apps.js","additive-account/templates/instances/instance/auditlog.js","additive-account/templates/instances/instance/billings.js","additive-account/templates/instances/instance/corporate-design.js","additive-account/templates/instances/instance/corporate-design/index.js","additive-account/templates/instances/instance/corporate-design/logo.js","additive-account/templates/instances/instance/corporate-design/typography.js","additive-account/templates/instances/instance/email-templates.js","additive-account/templates/instances/instance/email-templates/edit.js","additive-account/templates/instances/instance/email-templates/list.js","additive-account/templates/instances/instance/email-templates/list/detail.js","additive-account/templates/instances/instance/index.js","additive-account/templates/instances/instance/organization.js","additive-account/templates/instances/instance/settings.js","additive-account/templates/instances/instance/settings/closing-periods.js","additive-account/templates/instances/instance/settings/communication.js","additive-account/templates/instances/instance/settings/goals.js","additive-account/templates/instances/instance/settings/integrations.js","additive-account/templates/instances/instance/settings/legals.js","additive-account/templates/instances/instance/settings/organization-settings.js","additive-account/templates/instances/instance/settings/room-counts.js","additive-account/templates/instances/instance/users.js","additive-account/templates/instances/instance/users/list.js","additive-account/templates/instances/instance/users/list/user.js","additive-account/templates/instances/instance/users/partner.js","additive-account/templates/instances/me/inbox.js","additive-account/templates/instances/me/inbox/message.js","additive-account/templates/instances/me/index.js","additive-account/templates/invite.js","additive-account/templates/loading.js","additive-account/templates/logout.js","additive-account/templates/page-not-found.js","additive-account/transforms/boolean.js","additive-account/transforms/date.js","additive-account/transforms/number.js","additive-account/transforms/string.js","additive-account/transitions.js","additive-account/transitions/tab-transition.js","additive-account/utils/api-query-errors.js","additive-account/utils/app-management.js","additive-account/utils/app-utils.js","additive-account/utils/billing-management.js","additive-account/utils/calculate-position.js","additive-account/utils/chart-defaults.js","additive-account/utils/chart-draw-value-plugin.js","additive-account/utils/chart-tooltip-plugin.js","additive-account/utils/close-tab-utils.js","additive-account/utils/colors.js","additive-account/utils/constants-fonts.js","additive-account/utils/constants.js","additive-account/utils/country-utils.js","additive-account/utils/currency-util.js","additive-account/utils/date-util.js","additive-account/utils/dom-util.js","additive-account/utils/editor-util.js","additive-account/utils/errors.js","additive-account/utils/filter-util.js","additive-account/utils/fonts.js","additive-account/utils/format-currency.js","additive-account/utils/function-util.js","additive-account/utils/helpers.js","additive-account/utils/intl/missing-message.js","additive-account/utils/local-storage.js","additive-account/utils/locale-util.js","additive-account/utils/me-actions.js","additive-account/utils/model-action.js","additive-account/utils/object-assign.js","additive-account/utils/organization-utils.js","additive-account/utils/pages-util.js","additive-account/utils/parse-url.js","additive-account/utils/plans.js","additive-account/utils/posthog.js","additive-account/utils/query-param-util.js","additive-account/utils/roles-map.js","additive-account/utils/sort-util.js","additive-account/utils/table-util.js","additive-account/utils/url.js","additive-account/utils/user-management.js","additive-account/utils/viewport.js","additive-account/validations/auth.js","additive-account/validations/corporate-design.js","additive-account/validations/organization.js","additive-account/validations/settings.js","additive-account/validations/two-factor-authentication.js","additive-account/validations/user.js","additive-account/validators/currency.js","additive-account/validators/date.js","additive-account/validators/editor-links.js","additive-account/validators/html-length.js","additive-account/validators/numeral.js","additive-account/validators/salutation.js","additive-account/validators/specific-value.js","additive-account/validators/valid-color.js","additive-account/validators/valid-css-size.js","vendor/ember-cli/app-suffix.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"sourcesContent":["'use strict';\n\n\n","define(\"additive-account/adapters/-json-api\", [\"exports\", \"@ember-data/adapter/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _jsonApi.default;\n    }\n  });\n});","define(\"additive-account/adapters/app-modules\", [\"exports\", \"additive-account/adapters/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class AppModulesAdapter extends _application.default {\n    buildURL(app, id) {\n      const baseUrl = `${this.host}/api/organizations/${id}/apps/${app}/modules`;\n      return baseUrl;\n    }\n  }\n  _exports.default = AppModulesAdapter;\n});","define(\"additive-account/adapters/application\", [\"exports\", \"additive-account/config/environment\", \"@ember/service\", \"@ember/string\", \"@additive-apps/auth/adapters/application\"], function (_exports, _environment, _service, _string, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ApplicationAdapter = _exports.default = (_class = class ApplicationAdapter extends _application.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      _initializerDefineProperty(this, \"uiAppSettings\", _descriptor2, this);\n      _defineProperty(this, \"host\", `${_environment.default.APP.apiBaseHost}`);\n    }\n    get currentLocale() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.user) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.language;\n    }\n    get headers() {\n      const headers = {\n        Accept: 'application/vnd.additive+json; version=2',\n        'Accept-Language': this.currentLocale || 'de',\n        'Content-Type': 'application/json'\n      };\n      return Object.assign({}, super.headers, headers);\n    }\n    get namespace() {\n      var _this$currentUser2;\n      const currentOrganization = (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.currentOrganization;\n      if (currentOrganization !== null && currentOrganization !== void 0 && currentOrganization.id) {\n        return `api/organizations/${currentOrganization.id}`;\n      } else {\n        return 'api';\n      }\n    }\n    pathForType() {\n      return (0, _string.dasherize)(super.pathForType(...arguments));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"uiAppSettings\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/adapters/closing-time\", [\"exports\", \"additive-account/adapters/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class ClosingTimeAdapter extends _application.default {\n    get namespace() {\n      return `${super.namespace}/settings`;\n    }\n  }\n  _exports.default = ClosingTimeAdapter;\n});","define(\"additive-account/adapters/corporate-design\", [\"exports\", \"additive-account/adapters/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _application.default.extend({\n    buildURL(type, id) {\n      const baseUrl = `${this.host}/api/organizations/${id}/${type}`;\n      return baseUrl;\n    }\n  });\n});","define(\"additive-account/adapters/email-template\", [\"exports\", \"additive-account/adapters/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class EmailTemplateAdapter extends _application.default {\n    pathForType() {\n      return 'templates';\n    }\n  }\n  _exports.default = EmailTemplateAdapter;\n});","define(\"additive-account/adapters/organization\", [\"exports\", \"@additive-apps/auth/adapters/organization\"], function (_exports, _organization) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _organization.default;\n    }\n  });\n});","define(\"additive-account/adapters/room-count\", [\"exports\", \"additive-account/adapters/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class RoomCountAdapter extends _application.default {\n    get namespace() {\n      return `${super.namespace}/settings`;\n    }\n  }\n  _exports.default = RoomCountAdapter;\n});","define(\"additive-account/app\", [\"exports\", \"@ember/application\", \"ember-resolver\", \"ember-load-initializers\", \"additive-account/config/environment\"], function (_exports, _application, _emberResolver, _emberLoadInitializers, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class App extends _application.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"modulePrefix\", _environment.default.modulePrefix);\n      _defineProperty(this, \"podModulePrefix\", _environment.default.podModulePrefix);\n      _defineProperty(this, \"Resolver\", _emberResolver.default);\n    }\n  }\n  _exports.default = App;\n  (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n});","define(\"additive-account/authenticators/authorization-code-grant\", [\"exports\", \"@additive-apps/auth/authenticators/authorization-code-grant\"], function (_exports, _authorizationCodeGrant) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _authorizationCodeGrant.default;\n    }\n  });\n});","define(\"additive-account/classes/query-parameters\", [\"exports\", \"@additive-apps/ui/classes/QueryParameters\"], function (_exports, _QueryParameters) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _QueryParameters.default;\n    }\n  });\n});","define(\"additive-account/component-managers/glimmer\", [\"exports\", \"@glimmer/component/-private/ember-component-manager\"], function (_exports, _emberComponentManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberComponentManager.default;\n    }\n  });\n});","define(\"additive-account/components/-dynamic-element-alt\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // This component is not needed anymore. However we can only safely remove it once we have an Embroider release that\n  // has the special dependency rule for this addon removed:\n  // https://github.com/embroider-build/embroider/blob/4fad67f16f811e7f93199a1ee92dba8254c42978/packages/compat/src/addon-dependency-rules/ember-element-helper.ts\n  var _default = _exports.default = _component.default.extend();\n});","define(\"additive-account/components/-dynamic-element\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // This component is not needed anymore. However we can only safely remove it once we have an Embroider release that\n  // has the special dependency rule for this addon removed:\n  // https://github.com/embroider-build/embroider/blob/4fad67f16f811e7f93199a1ee92dba8254c42978/packages/compat/src/addon-dependency-rules/ember-element-helper.ts\n  var _default = _exports.default = _component.default.extend();\n});","define(\"additive-account/components/aa-card/content\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"aa-card-content {{@class}} {{@classNames}} \" ...attributes>\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"xe3tc0K1\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"aa-card-content \\\",[30,1],\\\" \\\",[30,2],\\\" \\\"]]],[17,3],[12],[1,\\\"\\\\n  \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@class\\\",\\\"@classNames\\\",\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"yield\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-card/content.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"additive-account/components/aa-card/index\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"aa-card\n      {{if this.title 'aa-card--has-title'}}\n      {{if this.isFlat 'aa-card--flat'}}\n      {{@class}}\n      {{@classNames}}\"\n    ...attributes\n  >\n    {{#if this.title}}\n      <div class=\"aa-card-title font-xs secondary ellipsis\">\n        {{this.title}}\n      </div>\n    {{/if}}\n    {{yield (hash header=(component \"ui-toolbar\") content=(component \"aa-card/content\"))}}\n  </div>\n  */\n  {\n    \"id\": \"3oADUMc1\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"aa-card\\\\n    \\\",[52,[30,0,[\\\"title\\\"]],\\\"aa-card--has-title\\\"],\\\"\\\\n    \\\",[52,[30,0,[\\\"isFlat\\\"]],\\\"aa-card--flat\\\"],\\\"\\\\n    \\\",[30,1],\\\"\\\\n    \\\",[30,2]]]],[17,3],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"title\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"aa-card-title font-xs secondary ellipsis\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[30,0,[\\\"title\\\"]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[18,4,[[28,[37,2],null,[[\\\"header\\\",\\\"content\\\"],[[50,\\\"ui-toolbar\\\",0,null,null],[50,\\\"aa-card/content\\\",0,null,null]]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@class\\\",\\\"@classNames\\\",\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"if\\\",\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-card/index.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaCardIndexComponent = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.bool), _dec2 = (0, _emberArgTypes.arg)(_propTypes.string), _class = class AaCardIndexComponent extends _component2.default {\n    constructor() {\n      super(...arguments);\n      /**\n       * Defines whether the card has a flat or dynamic look\n       *\n       * @argument isFlat\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isFlat\", _descriptor, this);\n      /**\n       * The cards title\n       *\n       * @argument title\n       * @type {String}\n       * @default \"\"\n       */\n      _initializerDefineProperty(this, \"title\", _descriptor2, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isFlat\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return '';\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaCardIndexComponent);\n});","define(\"additive-account/components/aa-corporate-design/fonts\", [\"exports\", \"@ember/component\", \"@ember/object\"], function (_exports, _component, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Wrapper component that displays the uploaded fonts\n   *\n   *  @class aa-corporate-design/fonts\n   */\n  var _default = _exports.default = _component.default.extend({\n    /**\n     * the fonts object of the cd\n     *\n     * @property fonts\n     * @type {Object}\n     * @default null\n     */\n    fonts: null,\n    isReadOnly: false,\n    /**\n     * whether the secondary font upload item should be displayed\n     *\n     * @computed showSecondary\n     * @type {Boolean}\n     */\n    showSecondary: _object.computed.or('fonts.{primary,secondary}'),\n    willDestroyElement() {\n      this._super(...arguments);\n\n      // clear the loaded font-faces from the dom\n      if (document && document.fonts) {\n        document.fonts.clear();\n      }\n    },\n    updateFonts() {},\n    actions: {\n      /**\n       * updates the font object\n       *\n       * @action updateProperties\n       */\n      updateProperties(value, key) {\n        const fonts = Object.assign({}, this.fonts, {\n          [key]: value\n        });\n        this.updateFonts(fonts);\n      }\n    }\n  });\n});","define(\"additive-account/components/aa-corporate-design/fonts/font-type-dialog\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-concurrency\", \"@ember/service\"], function (_exports, _component, _object, _emberConcurrency, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const FONT_WEIGHTS = [100, 200, 300, 400, 500, 600, 700, 800, 900];\n\n  /**\n   * Dialog to change name and weight of a font type\n   *\n   * @class aa-corporate-design/fonts/font-type-dialog\n   */\n  var _default = _exports.default = _component.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    /**\n     * the changeset containing the font-weight\n     *\n     * @property changeset\n     * @type {Changeset}\n     * @default null\n     */\n    changeset: null,\n    /**\n     * the key of the fontweight\n     * `light` | `normal` | `bold`\n     *\n     * @property key\n     * @type {String}\n     * @default null\n     */\n    key: null,\n    /**\n     * the id of the organization\n     *\n     * @computed organizationId\n     * @type {String}\n     */\n    organizationId: _object.computed.alias('currentUser.currentOrganization.id'),\n    /**\n     * the title of the dialog\n     *\n     * @computed title\n     * @type {String}\n     */\n    title: (0, _object.computed)('key', {\n      get() {\n        const {\n          intl,\n          changeset\n        } = this;\n\n        // get the font weight translation\n        const fontWeight = intl.t(`routes.corporateDesign.typography.fonts.types.${changeset.get('identifier')}`);\n        return `\"${fontWeight}\" ${intl.t('routes.corporateDesign.typography.fonts.upload')}`;\n      }\n    }),\n    init() {\n      this._super(...arguments);\n\n      // the font weight options\n      (0, _object.set)(this, 'weightOptions', FONT_WEIGHTS.map(fontWeight => {\n        return {\n          value: fontWeight,\n          name: fontWeight\n        };\n      }));\n    },\n    onClose() {},\n    onSave() {},\n    /**\n     * saves the fontweight\n     *\n     * @function save\n     * @type {Task}\n     */\n    save: (0, _emberConcurrency.task)(function* () {\n      const {\n        key,\n        changeset,\n        organizationId\n      } = this;\n      try {\n        yield changeset.validate();\n        if (!changeset.get('isValid')) return;\n\n        // save underlying object\n        yield changeset.save();\n        const id = changeset.get('id');\n        const adapter = this.store.adapterFor('corporate-design');\n        const url = adapter.buildURL('corporate-design', organizationId);\n        const response = yield this.authenticatedFetch.fetch(`${url}/fonts/${key}/weights${id ? `/${id}` : ''}`, {\n          method: id ? 'PUT' : 'POST'\n        }, Object.assign({}, changeset.get('data')));\n        if (!response || !response.ok) {\n          throw new Error();\n        }\n        const data = yield response.json();\n        // update font object\n        yield this.onSave(data.fontWeight, changeset.get('identifier'));\n        this.onClose();\n      } catch (e) {\n        this.uiToast.showToast({\n          type: 'error',\n          title: this.intl.t('global.toasts.error.title'),\n          description: this.intl.t('global.toasts.error.description'),\n          duration: 2000\n        });\n      }\n    }),\n    actions: {\n      close() {\n        if (this.changeset.get('isPristine')) {\n          this.onClose();\n        } else {\n          (0, _object.set)(this, 'isDiscardChangesDialog', true);\n        }\n      }\n    }\n  });\n});","define(\"additive-account/components/aa-corporate-design/fonts/item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-arg-types\", \"prop-types\", \"ember-concurrency\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/corporate-design\", \"additive-account/utils/fonts\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _service, _emberArgTypes, _propTypes, _emberConcurrency, _emberChangeset, _emberChangesetValidations, _corporateDesign, _fonts, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"flex {{@class}}\"\n    role=\"button\"\n    {{on \"click\" this._onClick}}\n    {{did-update this.onDidUpdate @font.id}}\n  >\n    {{#if @font}}\n      <div\n        class=\"aa-font-item relative flex flex-column pa1 bg-primary flex-grow-1 br1\n          {{unless @isReadOnly 'cpointer'}}\"\n      >\n        <AaCorporateDesign::Fonts::Item::Preview\n          @changeset={{this._changeset}}\n          @font={{@font}}\n          @onDelete={{this._onDeleteFont}}\n          @isReadOnly={{@isReadOnly}}\n        />\n      </div>\n    {{else}}\n      <div\n        class=\"aa-font-item aa-font-item--empty flex flex-column pa1\n          {{unless @isReadOnly 'cpointer'}}\n          flex-grow-1 br1\"\n      >\n        <div class=\"flex flex-grow-1 items-center justify-center pa05 blue font-sm\">\n          {{t \"routes.corporateDesign.typography.fonts.add\"}}\n        </div>\n      </div>\n    {{/if}}\n  \n    {{#if this._isDetailOpen}}\n      <AaFileUpload\n        @accept=\".woff,.woff2,.ttf,.otf\"\n        @url={{this._changeset.normal.url}}\n        @fileType=\"font\"\n        @onFileChange={{fn this._onFontUpload \"normal\"}}\n        as |normalUpload|\n      >\n        <AaFileUpload\n          @accept=\".woff,.woff2,.ttf,.otf\"\n          @fileType=\"font\"\n          @onFileChange={{fn this._onFontUpload \"light\"}}\n          as |lightUpload|\n        >\n          <AaFileUpload\n            @accept=\".woff,.woff2,.ttf,.otf\"\n            @fileType=\"font\"\n            @onFileChange={{fn this._onFontUpload \"bold\"}}\n            as |boldUpload|\n          >\n            <UiModal\n              @size=\"md\"\n              @title={{t \"routes.corporateDesign.typography.fonts.title\"}}\n              @onClose={{this._onCloseDialog}}\n              @modalClassNames=\"aa-font-item-dialog ui-color-composition__dialog\"\n              as |modal|\n            >\n              <modal.header />\n  \n              <modal.content as |content|>\n                <content.body>\n                  <div class=\"flex flex-column\">\n                    <div class=\"pb2\">\n                      {{t \"routes.corporateDesign.typography.fonts.description\" htmlSafe=true}}\n                    </div>\n  \n                    <UiInput\n                      @label={{t \"routes.corporateDesign.typography.fonts.properties.name\"}}\n                      @value={{this._changeset.fontFamily}}\n                      @errorMessage={{get this._changeset.error.fontFamily.validation \"0\"}}\n                      @infoMessage={{t \"routes.corporateDesign.typography.fonts.fontFamilyInfo\"}}\n                      @isTouched={{this.isTouched}}\n                    />\n  \n                    <UiRadioButtonGroup\n                      @options={{this._serifOptions}}\n                      @selected={{this._changeset.serif}}\n                      @classNames=\"flex pv2 ph05\"\n                      as |group option|\n                    >\n                      <group.option @class=\"mr2\" @label={{option.name}} @value={{option.value}} />\n                    </UiRadioButtonGroup>\n  \n                    {{#if @font}}\n                      <div class=\"flex flex-wrap\">\n                        <normalUpload.fontInput\n                          @title={{t \"routes.corporateDesign.typography.fonts.upload\"}}\n                          @label={{t \"routes.corporateDesign.typography.fonts.types.normalLabel\"}}\n                          @subtitle={{this.upload.accept}}\n                          @font={{this._changeset.normal}}\n                          @showDeleteButton={{true}}\n                          @onEdit={{fn this._onEditFontWeight \"normal\"}}\n                          @onDelete={{perform this.onDeleteFontWeight \"normal\"}}\n                          @previewText=\"Aa\"\n                          @class=\"ma1\"\n                        />\n                        <lightUpload.fontInput\n                          @label={{t \"routes.corporateDesign.typography.fonts.types.light\"}}\n                          @font={{this._changeset.light}}\n                          @isSmall={{true}}\n                          @showDeleteButton={{true}}\n                          @onEdit={{fn this._onEditFontWeight \"light\"}}\n                          @onDelete={{perform this.onDeleteFontWeight \"light\"}}\n                          @class=\"ma1\"\n                          @previewText=\"l\"\n                        />\n                        <boldUpload.fontInput\n                          @label={{t \"routes.corporateDesign.typography.fonts.types.bold\"}}\n                          @font={{this._changeset.bold}}\n                          @isSmall={{true}}\n                          @showDeleteButton={{true}}\n                          @onEdit={{fn this._onEditFontWeight \"bold\"}}\n                          @onDelete={{perform this.onDeleteFontWeight \"bold\"}}\n                          @class=\"ma1\"\n                          @previewText=\"b\"\n                        />\n                      </div>\n                    {{/if}}\n  \n                    <div class=\"pv2 font-sm secondary\">\n                      {{t \"routes.corporateDesign.typography.fonts.legal\"}}\n                    </div>\n                  </div>\n                </content.body>\n              </modal.content>\n  \n              <modal.footer>\n                <UiButton\n                  @label={{t \"global.actions.save\"}}\n                  @isDisabled={{or normalUpload.isLoading lightUpload.isLoading boldUpload.isLoading}}\n                  @onClick={{perform this.onSave this._changeset}}\n                />\n              </modal.footer>\n            </UiModal>\n          </AaFileUpload>\n        </AaFileUpload>\n      </AaFileUpload>\n    {{/if}}\n  \n    {{#if this._isFontTypeDialog}}\n      <AaCorporateDesign::Fonts::FontTypeDialog\n        @changeset={{this._fontTypeChangeset}}\n        @key={{@font.id}}\n        @onSave={{this._onUpdateFontWeight}}\n        @onClose={{fn (mut this._isFontTypeDialog) false}}\n      />\n    {{/if}}\n  \n    <UiDiscardChanges\n      @isOpen={{this._isDiscardChangesDialog}}\n      @onDiscard={{this._onDiscardChanges}}\n    />\n  </div>\n  */\n  {\n    \"id\": \"CtSp4AoZ\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"flex \\\",[30,1]]]],[24,\\\"role\\\",\\\"button\\\"],[4,[38,0],[\\\"click\\\",[30,0,[\\\"_onClick\\\"]]],null],[4,[38,1],[[30,0,[\\\"onDidUpdate\\\"]],[30,2,[\\\"id\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,2],[[[1,\\\"    \\\"],[10,0],[15,0,[29,[\\\"aa-font-item relative flex flex-column pa1 bg-primary flex-grow-1 br1\\\\n        \\\",[52,[51,[30,3]],\\\"cpointer\\\"]]]],[12],[1,\\\"\\\\n      \\\"],[8,[39,4],null,[[\\\"@changeset\\\",\\\"@font\\\",\\\"@onDelete\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"_changeset\\\"]],[30,2],[30,0,[\\\"_onDeleteFont\\\"]],[30,3]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,0],[15,0,[29,[\\\"aa-font-item aa-font-item--empty flex flex-column pa1\\\\n        \\\",[52,[51,[30,3]],\\\"cpointer\\\"],\\\"\\\\n        flex-grow-1 br1\\\"]]],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-grow-1 items-center justify-center pa05 blue font-sm\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,5],[\\\"routes.corporateDesign.typography.fonts.add\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isDetailOpen\\\"]],[[[1,\\\"    \\\"],[8,[39,6],null,[[\\\"@accept\\\",\\\"@url\\\",\\\"@fileType\\\",\\\"@onFileChange\\\"],[\\\".woff,.woff2,.ttf,.otf\\\",[30,0,[\\\"_changeset\\\",\\\"normal\\\",\\\"url\\\"]],\\\"font\\\",[28,[37,7],[[30,0,[\\\"_onFontUpload\\\"]],\\\"normal\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,6],null,[[\\\"@accept\\\",\\\"@fileType\\\",\\\"@onFileChange\\\"],[\\\".woff,.woff2,.ttf,.otf\\\",\\\"font\\\",[28,[37,7],[[30,0,[\\\"_onFontUpload\\\"]],\\\"light\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,6],null,[[\\\"@accept\\\",\\\"@fileType\\\",\\\"@onFileChange\\\"],[\\\".woff,.woff2,.ttf,.otf\\\",\\\"font\\\",[28,[37,7],[[30,0,[\\\"_onFontUpload\\\"]],\\\"bold\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,8],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\",\\\"@modalClassNames\\\"],[\\\"md\\\",[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.title\\\"],null],[30,0,[\\\"_onCloseDialog\\\"]],\\\"aa-font-item-dialog ui-color-composition__dialog\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,7,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n            \\\"],[8,[30,7,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"pb2\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,5],[\\\"routes.corporateDesign.typography.fonts.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n\\\\n                  \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@infoMessage\\\",\\\"@isTouched\\\"],[[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.properties.name\\\"],null],[30,0,[\\\"_changeset\\\",\\\"fontFamily\\\"]],[28,[37,10],[[30,0,[\\\"_changeset\\\",\\\"error\\\",\\\"fontFamily\\\",\\\"validation\\\"]],\\\"0\\\"],null],[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.fontFamilyInfo\\\"],null],[30,0,[\\\"isTouched\\\"]]]],null],[1,\\\"\\\\n\\\\n                  \\\"],[8,[39,11],null,[[\\\"@options\\\",\\\"@selected\\\",\\\"@classNames\\\"],[[30,0,[\\\"_serifOptions\\\"]],[30,0,[\\\"_changeset\\\",\\\"serif\\\"]],\\\"flex pv2 ph05\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[8,[30,9,[\\\"option\\\"]],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"mr2\\\",[30,10,[\\\"name\\\"]],[30,10,[\\\"value\\\"]]]],null],[1,\\\"\\\\n                  \\\"]],[9,10]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,2],[[[1,\\\"                    \\\"],[10,0],[14,0,\\\"flex flex-wrap\\\"],[12],[1,\\\"\\\\n                      \\\"],[8,[30,4,[\\\"fontInput\\\"]],null,[[\\\"@title\\\",\\\"@label\\\",\\\"@subtitle\\\",\\\"@font\\\",\\\"@showDeleteButton\\\",\\\"@onEdit\\\",\\\"@onDelete\\\",\\\"@previewText\\\",\\\"@class\\\"],[[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.upload\\\"],null],[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.types.normalLabel\\\"],null],[30,0,[\\\"upload\\\",\\\"accept\\\"]],[30,0,[\\\"_changeset\\\",\\\"normal\\\"]],true,[28,[37,7],[[30,0,[\\\"_onEditFontWeight\\\"]],\\\"normal\\\"],null],[28,[37,12],[[30,0,[\\\"onDeleteFontWeight\\\"]],\\\"normal\\\"],null],\\\"Aa\\\",\\\"ma1\\\"]],null],[1,\\\"\\\\n                      \\\"],[8,[30,5,[\\\"fontInput\\\"]],null,[[\\\"@label\\\",\\\"@font\\\",\\\"@isSmall\\\",\\\"@showDeleteButton\\\",\\\"@onEdit\\\",\\\"@onDelete\\\",\\\"@class\\\",\\\"@previewText\\\"],[[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.types.light\\\"],null],[30,0,[\\\"_changeset\\\",\\\"light\\\"]],true,true,[28,[37,7],[[30,0,[\\\"_onEditFontWeight\\\"]],\\\"light\\\"],null],[28,[37,12],[[30,0,[\\\"onDeleteFontWeight\\\"]],\\\"light\\\"],null],\\\"ma1\\\",\\\"l\\\"]],null],[1,\\\"\\\\n                      \\\"],[8,[30,6,[\\\"fontInput\\\"]],null,[[\\\"@label\\\",\\\"@font\\\",\\\"@isSmall\\\",\\\"@showDeleteButton\\\",\\\"@onEdit\\\",\\\"@onDelete\\\",\\\"@class\\\",\\\"@previewText\\\"],[[28,[37,5],[\\\"routes.corporateDesign.typography.fonts.types.bold\\\"],null],[30,0,[\\\"_changeset\\\",\\\"bold\\\"]],true,true,[28,[37,7],[[30,0,[\\\"_onEditFontWeight\\\"]],\\\"bold\\\"],null],[28,[37,12],[[30,0,[\\\"onDeleteFontWeight\\\"]],\\\"bold\\\"],null],\\\"ma1\\\",\\\"b\\\"]],null],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"pv2 font-sm secondary\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,5],[\\\"routes.corporateDesign.typography.fonts.legal\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[8]]]]],[1,\\\"\\\\n\\\\n            \\\"],[8,[30,7,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"global.actions.save\\\"],null],[28,[37,14],[[30,4,[\\\"isLoading\\\"]],[30,5,[\\\"isLoading\\\"]],[30,6,[\\\"isLoading\\\"]]],null],[28,[37,12],[[30,0,[\\\"onSave\\\"]],[30,0,[\\\"_changeset\\\"]]],null]]],null],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[7]]]]],[1,\\\"\\\\n        \\\"]],[6]]]]],[1,\\\"\\\\n      \\\"]],[5]]]]],[1,\\\"\\\\n    \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isFontTypeDialog\\\"]],[[[1,\\\"    \\\"],[8,[39,15],null,[[\\\"@changeset\\\",\\\"@key\\\",\\\"@onSave\\\",\\\"@onClose\\\"],[[30,0,[\\\"_fontTypeChangeset\\\"]],[30,2,[\\\"id\\\"]],[30,0,[\\\"_onUpdateFontWeight\\\"]],[28,[37,7],[[28,[37,16],[[30,0,[\\\"_isFontTypeDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n  \\\"],[8,[39,17],null,[[\\\"@isOpen\\\",\\\"@onDiscard\\\"],[[30,0,[\\\"_isDiscardChangesDialog\\\"]],[30,0,[\\\"_onDiscardChanges\\\"]]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"@class\\\",\\\"@font\\\",\\\"@isReadOnly\\\",\\\"normalUpload\\\",\\\"lightUpload\\\",\\\"boldUpload\\\",\\\"modal\\\",\\\"content\\\",\\\"group\\\",\\\"option\\\"],false,[\\\"on\\\",\\\"did-update\\\",\\\"if\\\",\\\"unless\\\",\\\"aa-corporate-design/fonts/item/preview\\\",\\\"t\\\",\\\"aa-file-upload\\\",\\\"fn\\\",\\\"ui-modal\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-radio-button-group\\\",\\\"perform\\\",\\\"ui-button\\\",\\\"or\\\",\\\"aa-corporate-design/fonts/font-type-dialog\\\",\\\"mut\\\",\\\"ui-discard-changes\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-corporate-design/fonts/item.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Component that displays an fontfamily and allows the user to change it\n   *\n   * @class aa-corporate-design/font-item\n   */\n  let AaCorporateDesignFontsItem = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _dec5 = (0, _emberArgTypes.arg)(_propTypes.func), _dec6 = (0, _emberConcurrency.task)(function* () {\n    let snapshot;\n    try {\n      var _this$font;\n      const {\n        key,\n        organizationId\n      } = this;\n      const changeset = this._changeset;\n      const id = (_this$font = this.font) === null || _this$font === void 0 ? void 0 : _this$font.id;\n      yield changeset.validate();\n      if (!changeset.get('isValid')) return;\n      if (changeset.get('isPristine')) return this._close();\n      snapshot = changeset.snapshot();\n      yield changeset.save();\n      const adapter = this.store.adapterFor('corporate-design');\n      const url = adapter.buildURL('corporate-design', organizationId);\n      const payload = Object.assign({\n        identifier: key\n      }, changeset.get('data'));\n      const response = yield this.authenticatedFetch.fetch(`${url}/fonts${id ? `/${id}` : ''}`, {\n        method: id ? 'PUT' : 'POST'\n      }, payload);\n      if (!response || !response.ok) {\n        throw new Error();\n      }\n      const {\n        font\n      } = yield response.json();\n      this.onFontSave(font, key);\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        duration: 2000\n      });\n\n      // dont close if font was just created, to allow upload\n      if (id) {\n        this._close();\n      }\n    } catch (e) {\n      if (snapshot) {\n        this._changeset.restore(snapshot);\n      }\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }).drop(), _dec7 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const {\n        font,\n        intl,\n        key,\n        organizationId\n      } = this;\n      const adapter = this.store.adapterFor('corporate-design');\n      const url = adapter.buildURL('corporate-design', organizationId);\n      const response = yield this.authenticatedFetch.fetch(`${url}/fonts/${font.id}`, {\n        method: 'DELETE'\n      });\n      if (!response || !response.ok) {\n        throw new Error();\n      }\n      yield this.onFontDelete.perform();\n\n      // create new empty changeset after font has been deleted\n      const fontValidation = (0, _corporateDesign.fontValidations)(intl);\n      const fontChangeset = new _emberChangeset.default({\n        fontFamily: '',\n        serif: false\n      }, (0, _emberChangesetValidations.default)(fontValidation), fontValidation);\n      this._changeset = fontChangeset;\n      this.onFontSave(null, key);\n      this.uiToast.showToast({\n        type: 'success',\n        title: intl.t('global.toasts.success.changes.title'),\n        description: intl.t('global.toasts.success.changes.description'),\n        duration: 2000\n      });\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }), _dec8 = (0, _emberConcurrency.task)(function* (identifier) {\n    try {\n      const {\n        font,\n        intl,\n        key,\n        organizationId\n      } = this;\n      const id = this._changeset.get(`${identifier}.id`);\n      const adapter = this.store.adapterFor('corporate-design');\n      const url = adapter.buildURL('corporate-design', organizationId);\n      const response = yield this.authenticatedFetch.fetch(`${url}/fonts/${font.id}/weights/${id}`, {\n        method: 'DELETE'\n      });\n      if (!response || !response.ok) {\n        throw new Error();\n      }\n      const fontObject = Object.assign({}, this.font, {\n        [identifier]: null\n      });\n      this.onFontSave(fontObject, key);\n      yield this.onFontDelete.perform();\n\n      // create new changet removing the deleted font-type\n      const fontValidation = (0, _corporateDesign.fontValidations)(intl);\n      const fontChangeset = new _emberChangeset.default(fontObject, (0, _emberChangesetValidations.default)(fontValidation), fontValidation);\n      this._changeset = fontChangeset;\n      this.uiToast.showToast({\n        type: 'success',\n        title: intl.t('global.toasts.success.changes.title'),\n        description: intl.t('global.toasts.success.changes.description'),\n        duration: 2000\n      });\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }), _class = class AaCorporateDesignFontsItem extends _component2.default {\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      _initializerDefineProperty(this, \"store\", _descriptor6, this);\n      /**\n       * the font key\n       *\n       * @argument key\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"key\", _descriptor7, this);\n      /**\n       * the font object\n       *\n       * @argument font\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"font\", _descriptor8, this);\n      /**\n       * whether the component is read only\n       *\n       * @argument isReadOnly\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isReadOnly\", _descriptor9, this);\n      /**\n       * Changeset with the typography data\n       *\n       * @property _changeset\n       * @type}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"_changeset\", _descriptor10, this);\n      /**\n       * the font type changeset\n       *\n       * @property _fontTypeChangeset\n       * @type {Changeset}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_fontTypeChangeset\", _descriptor11, this);\n      /**\n       * whether the font type dialog is open\n       *\n       * @property _isFontTypeDialog\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isFontTypeDialog\", _descriptor12, this);\n      /**\n       * whether the detail dialog is open\n       *\n       * @property _isDetailOpen\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isDetailOpen\", _descriptor13, this);\n      _defineProperty(this, \"_serifOptions\", [{\n        name: this.intl.t('routes.corporateDesign.typography.fonts.properties.serif'),\n        value: true\n      }, {\n        name: this.intl.t('routes.corporateDesign.typography.fonts.properties.sansserif'),\n        value: false\n      }]);\n      _initializerDefineProperty(this, \"onFontSave\", _descriptor14, this);\n      _initializerDefineProperty(this, \"onFontDelete\", _descriptor15, this);\n      /**\n       * Saves the font and updates the model\n       *\n       * @function onSave\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"onSave\", _descriptor16, this);\n      /**\n       * deletes the font and updates the model\n       *\n       * @function onDelete\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"onDelete\", _descriptor17, this);\n      /**\n       * deletes a font weight\n       *\n       * @function onDelete\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"onDeleteFontWeight\", _descriptor18, this);\n      this._createChangeset();\n      this._loadFont();\n    }\n    onDidUpdate() {\n      this._createChangeset();\n      this._loadFont();\n    }\n\n    /**\n     * loads the font into the dom\n     *\n     * @function _loadFont\n     */\n    _loadFont() {\n      const changeset = this._changeset;\n      const fontWeights = [changeset.get('normal'), changeset.get('light'), changeset.get('bold')];\n\n      // load fonts as `font:weight` to allow multiple fonts using the same name\n      fontWeights.forEach(font => font && font.url && (0, _fonts.loadFont)(`${font.fontFamily}-${font.weight}`, font.url));\n    }\n    _createChangeset() {\n      const fontValidation = (0, _corporateDesign.fontValidations)(this.intl);\n      const font = Object.assign({\n        fontFamily: '',\n        serif: false\n      }, this.font || {});\n      const fontChangeset = new _emberChangeset.default(font, (0, _emberChangesetValidations.default)(fontValidation), fontValidation);\n      this._changeset = fontChangeset;\n    }\n\n    /**\n     * Closes the details modal\n     *\n     * @function _close\n     */\n    _close() {\n      this._isDetailOpen = false;\n    }\n    /**\n     * Function executed when component is clicked\n     *\n     * @function click\n     * @event mouseup\n     */\n    _onClick() {\n      if (this.isReadOnly) {\n        return;\n      }\n      this._isDetailOpen = true;\n    }\n    _onCloseDialog() {\n      if (this._changeset.get('isPristine')) {\n        this._close();\n      } else {\n        this._isDiscardChangesDialog = true;\n      }\n    }\n    _onDiscardChanges() {\n      this._changeset.rollback();\n      this._isDiscardChangesDialog = false;\n      this._close();\n    }\n    onChange(option) {\n      const changeset = this._changeset;\n      changeset.set('fontFamily', option.value);\n      const serif = option.group === 'serif';\n      changeset.set('serif', serif);\n    }\n    _onFontUpload(identifier, path) {\n      const fontType = {\n        fontFamily: this._changeset.get('fontFamily') || '',\n        weight: identifier === 'normal' ? 400 : identifier === 'light' ? 200 : 700,\n        identifier\n      };\n      const fontTypeValidation = (0, _corporateDesign.fontTypeValidations)(this.intl);\n      const changeset = new _emberChangeset.default(fontType, (0, _emberChangesetValidations.default)(fontTypeValidation), fontTypeValidation);\n\n      // set font path to make changeset dirty\n      changeset.set('path', path);\n      this._fontTypeChangeset = changeset;\n      this._isFontTypeDialog = true;\n    }\n    _onDeleteFont() {\n      this.uiDialog.showConfirm(this.intl.t('routes.corporateDesign.typography.fonts.confirmFontDelete.title'), this.intl.t('routes.corporateDesign.typography.fonts.confirmFontDelete.description', {\n        font: this._changeset.get('fontFamily'),\n        htmlSafe: true\n      }), () => this.onDelete.perform(), this.intl.t('global.actions.delete'), true, true);\n    }\n    async _onUpdateFontWeight(value, key) {\n      const changeset = this._changeset;\n      changeset.set(key, value);\n      await changeset.save();\n      this.onFontSave(Object.assign({}, this.font, {\n        [key]: value\n      }), this.key);\n      this._loadFont();\n    }\n    _onEditFontWeight(identifier) {\n      const font = this._changeset.get('data');\n      const fontWeight = font === null || font === void 0 ? void 0 : font[identifier];\n      const fontTypeValidation = (0, _corporateDesign.fontTypeValidations)(this.intl);\n      const changeset = new _emberChangeset.default(Object.assign({\n        identifier\n      }, fontWeight), (0, _emberChangesetValidations.default)(fontTypeValidation), fontTypeValidation);\n      this._fontTypeChangeset = changeset;\n      this._isFontTypeDialog = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"key\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"font\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isReadOnly\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_fontTypeChangeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"_isFontTypeDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"_isDetailOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onDidUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDidUpdate\"), _class.prototype), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"onFontSave\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"onFontDelete\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return (0, _emberConcurrency.task)(function* () {});\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"onSave\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"onDelete\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"onDeleteFontWeight\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_onClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onCloseDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onCloseDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onDiscardChanges\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onDiscardChanges\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onFontUpload\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onFontUpload\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onDeleteFont\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onDeleteFont\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onUpdateFontWeight\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onUpdateFontWeight\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onEditFontWeight\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onEditFontWeight\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaCorporateDesignFontsItem);\n});","define(\"additive-account/components/aa-corporate-design/fonts/item/preview\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/template\", \"ember-arg-types\", \"prop-types\", \"additive-account/utils/constants-fonts\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _template, _emberArgTypes, _propTypes, _constantsFonts, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"header absolute top-0 right-0 left-0 relative\">\n    <div class=\"absolute top-0 right-0 left-0 flex justify-between white pa2\">\n      <span class=\"font-regular font-xs\">\n        {{@font.fontFamily}}\n      </span>\n      {{#unless @isReadOnly}}\n        <UiIconButton @icon=\"delete\" @class=\"color-inherit\" @onClick={{this._onDelete}} />\n      {{/unless}}\n    </div>\n  </div>\n  <div\n    class=\"flex flex-grow-1 items-center justify-center font-preview pa05 white\"\n    style={{this.previewStyle}}\n  >\n    Aa\n  </div>\n  <div class=\"footer absolute bottom-0 left-0 right-0 flex items-end secondary pa2\">\n    {{svg-jar \"text\" width=\"16\" height=\"16\"}}\n  </div>\n  */\n  {\n    \"id\": \"IhcKKtGO\",\n    \"block\": \"[[[10,0],[14,0,\\\"header absolute top-0 right-0 left-0 relative\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"absolute top-0 right-0 left-0 flex justify-between white pa2\\\"],[12],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"font-regular font-xs\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[30,1,[\\\"fontFamily\\\"]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[41,[51,[30,2]],[[[1,\\\"      \\\"],[8,[39,1],null,[[\\\"@icon\\\",\\\"@class\\\",\\\"@onClick\\\"],[\\\"delete\\\",\\\"color-inherit\\\",[30,0,[\\\"_onDelete\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"flex flex-grow-1 items-center justify-center font-preview pa05 white\\\"],[15,5,[30,0,[\\\"previewStyle\\\"]]],[12],[1,\\\"\\\\n  Aa\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"footer absolute bottom-0 left-0 right-0 flex items-end secondary pa2\\\"],[12],[1,\\\"\\\\n  \\\"],[1,[28,[35,2],[\\\"text\\\"],[[\\\"width\\\",\\\"height\\\"],[\\\"16\\\",\\\"16\\\"]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@font\\\",\\\"@isReadOnly\\\"],false,[\\\"unless\\\",\\\"ui-icon-button\\\",\\\"svg-jar\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-corporate-design/fonts/item/preview.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Shows the preview of the font\n   *\n   * @class aa-corporate-design/fonts/item/preview\n   */\n  let AaCorporateDesignFontsItemPreview = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaCorporateDesignFontsItemPreview extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"changeset\", _descriptor, this);\n      _initializerDefineProperty(this, \"onDelete\", _descriptor2, this);\n    }\n    get previewStyle() {\n      const {\n        changeset\n      } = this;\n      if (changeset) {\n        const font = changeset.get('normal') || changeset.get('light') || changeset.get('bold');\n        const fallback = changeset.get('serif') ? _constantsFonts.serifFontsFallbacks : _constantsFonts.sansSerifFontsFallbacks;\n        if (font) {\n          return (0, _template.htmlSafe)(`\n            font-family: '${font.fontFamily}-${font.weight}', ${fallback};\n            font-weight: ${font.weight};\n          `);\n        }\n      }\n      return (0, _template.htmlSafe)('');\n    }\n    _onDelete(event) {\n      event.stopPropagation();\n      this.onDelete();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"onDelete\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"_onDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onDelete\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaCorporateDesignFontsItemPreview);\n});","define(\"additive-account/components/aa-corporate-design/logo\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/object/computed\", \"@ember/service\", \"additive-account/utils/organization-utils\"], function (_exports, _component, _object, _computed, _service, _organizationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Component to upload the default and alternative logo of the corporate design\n   *\n   * ```hbs\n   * {{aa-corporate-design/logo}}\n   * ```\n   *\n   * @class logo-upload\n   */\n  var _default = _exports.default = _component.default.extend({\n    classNames: ['aa-corporate-design__logo'],\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    /**\n     * the fetched corporate design of the organization\n     *\n     * @property corporateDesign\n     * @type {Object}\n     * @default undefined\n     */\n    corporateDesign: undefined,\n    /**\n     * the fetched logo url of the organization\n     *\n     * @property logoUrl\n     * @type {String}\n     * @default undefined\n     */\n    logoUrl: (0, _computed.alias)('corporateDesign.logoUrl'),\n    /**\n     * the fetched signet url of the organization\n     *\n     * @property signetUrl\n     * @type {String}\n     * @default undefined\n     */\n    signetUrl: (0, _computed.alias)('corporateDesign.signetUrl'),\n    /**\n     * the fetched alternative logo url of the organization\n     *\n     * @property alternativeLogoUrl\n     * @type {String}\n     * @default undefined\n     */\n    alternativeLogoUrl: (0, _computed.alias)('corporateDesign.alternativeLogoUrl'),\n    /**\n     * task fetching the corporate design of the organization\n     *\n     * @property _fetchCorporateDesignTask\n     * @type {Task}\n     * @default null\n     * @private\n     */\n    _fetchCorporateDesignTask: null,\n    /**\n     * whether logo tab is active or not\n     *\n     * @computed _isLogoTabActive\n     * @type {Boolean}\n     * @private\n     */\n    _isLogoTabActive: (0, _computed.equal)('router.currentRouteName', 'instances.instance.corporate-design.logo'),\n    /**\n     * whether loading skeletons are shown or not\n     * skeletons are only displayed if the fetch corporate design task is running\n     * and the logo tab is active\n     *\n     * @computed _isLoading\n     * @type {Boolean}\n     * @private\n     */\n    _isLoading: (0, _computed.and)('_fetchCorporateDesignTask.isRunning', '_isLogoTabActive'),\n    didInsertElement() {\n      this._super(...arguments);\n      const fetchCorporateDesignTask = _organizationUtils.fetchCorporateDesign.task;\n      (0, _object.set)(this, '_fetchCorporateDesignTask', fetchCorporateDesignTask);\n      fetchCorporateDesignTask.perform(this).then(corporateDesign => {\n        (0, _object.set)(this, 'corporateDesign', corporateDesign);\n      });\n    },\n    actions: {\n      onLogoChanged(imageUrl, propertyName) {\n        this.corporateDesign && propertyName && (0, _object.set)(this, `corporateDesign.${propertyName}`, imageUrl);\n      }\n    }\n  });\n});","define(\"additive-account/components/aa-corporate-design/logo/logo-upload\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _object, _service, _tracking, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"mt3 {{@classNames}}\" {{did-insert this.onInsertElement}} ...attributes>\n    <div class=\"font-sm mb1\">{{this.label}}</div>\n    <AaFileUpload\n      @class=\"aa-corporate-design__image-upload relative bg-white br1\"\n      @accept=\".jpg,.jpeg,.png\"\n      @isSmall={{this.isSmall}}\n      @onFileChange={{this.uploadLogo}}\n      @placeholderTitle={{t\n        \"components.aa-corporate-design.logo.actions.uploadImage.title\"\n        htmlSafe=true\n      }}\n      @showDeleteButton={{this._showDelete}}\n      @isDisabled={{not this.currentUser.isManager}}\n      @showLoading={{this._isUploadingLogo}}\n      @responsePropertyName={{this.responsePropertyName}}\n      @uploadUrl={{this._uploadUrl}}\n      @minDimensions={{this.minImageDimensions}}\n      @type={{this.type}}\n      @url={{this._logoUrl}}\n      as |upload|\n    >\n      <upload.input />\n    </AaFileUpload>\n  </div>\n  */\n  {\n    \"id\": \"1zbi1EO4\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"mt3 \\\",[30,1]]]],[17,2],[4,[38,0],[[30,0,[\\\"onInsertElement\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"font-sm mb1\\\"],[12],[1,[30,0,[\\\"label\\\"]]],[13],[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@class\\\",\\\"@accept\\\",\\\"@isSmall\\\",\\\"@onFileChange\\\",\\\"@placeholderTitle\\\",\\\"@showDeleteButton\\\",\\\"@isDisabled\\\",\\\"@showLoading\\\",\\\"@responsePropertyName\\\",\\\"@uploadUrl\\\",\\\"@minDimensions\\\",\\\"@type\\\",\\\"@url\\\"],[\\\"aa-corporate-design__image-upload relative bg-white br1\\\",\\\".jpg,.jpeg,.png\\\",[30,0,[\\\"isSmall\\\"]],[30,0,[\\\"uploadLogo\\\"]],[28,[37,2],[\\\"components.aa-corporate-design.logo.actions.uploadImage.title\\\"],[[\\\"htmlSafe\\\"],[true]]],[30,0,[\\\"_showDelete\\\"]],[28,[37,3],[[30,0,[\\\"currentUser\\\",\\\"isManager\\\"]]],null],[30,0,[\\\"_isUploadingLogo\\\"]],[30,0,[\\\"responsePropertyName\\\"]],[30,0,[\\\"_uploadUrl\\\"]],[30,0,[\\\"minImageDimensions\\\"]],[30,0,[\\\"type\\\"]],[30,0,[\\\"_logoUrl\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"input\\\"]],null,null,null],[1,\\\"\\\\n  \\\"]],[3]]]]],[1,\\\"\\\\n\\\"],[13]],[\\\"@classNames\\\",\\\"&attrs\\\",\\\"upload\\\"],false,[\\\"did-insert\\\",\\\"aa-file-upload\\\",\\\"t\\\",\\\"not\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-corporate-design/logo/logo-upload.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Component which handles the upload of a logo\n   *\n   * ```hbs\n   * {{aa-corporate-design/logo/logo-upload\n   *   label\n   *   type\n   *   responsePropertyName\n   *   logoUrl\n   * }}\n   * ```\n   *\n   * @class logo-upload\n   */\n  let AaCorporateDesignLogoLogoUpload = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.bool), _dec3 = (0, _emberArgTypes.arg)(_propTypes.string), _dec4 = (0, _emberArgTypes.arg)(_propTypes.array), _dec5 = (0, _emberArgTypes.arg)(_propTypes.string), _dec6 = (0, _emberArgTypes.arg)(_propTypes.string), _dec7 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaCorporateDesignLogoLogoUpload extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      /**\n       * the label of the logo\n       *\n       * @argument label\n       * @type {String}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"label\", _descriptor2, this);\n      /**\n       * whether the file upload wrapper is small\n       *\n       * @argument isSmall\n       * @type {Boolean}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"isSmall\", _descriptor3, this);\n      /**\n       * the logo type\n       *\n       * @argument type\n       * @type {String}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"type\", _descriptor4, this);\n      /**\n       * an array indicating the minimum width and height of the image\n       *\n       * @argument minImageDimensions\n       * @type {Array}\n       * @default [440, 480]\n       */\n      _initializerDefineProperty(this, \"minImageDimensions\", _descriptor5, this);\n      /**\n       * the fetched logo url\n       *\n       * @argument logoUrl\n       * @type {String}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"logoUrl\", _descriptor6, this);\n      /**\n       * the property name of the request result\n       *\n       * @argument responsePropertyName\n       * @type {String}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"responsePropertyName\", _descriptor7, this);\n      /**\n       * the immutable copy of logo url\n       *\n       * @property _logoUrl\n       * @type {String}\n       * @default undefined\n       * @private\n       */\n      _initializerDefineProperty(this, \"_logoUrl\", _descriptor8, this);\n      /**\n       * whether the logo is currently being uploaded\n       *\n       * @property _isUploadingLogo\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isUploadingLogo\", _descriptor9, this);\n    }\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n\n    /**\n     * computed inverse of _isUploadingLogo\n     *\n     * @computed _isNotUploadingLogo\n     * @type {Boolean}\n     * @private\n     */\n    get _isNotUploadingLogo() {\n      return !this._isUploadingLogo;\n    }\n\n    /**\n     * whether delete button is visible or not\n     *\n     * @computed showDelete\n     * @type {Boolean}\n     * @private\n     */\n    get _showDelete() {\n      return this.currentUser.isManager && this.logoUrl && this._isNotUploadingLogo;\n    }\n\n    /**\n     * computed logo upload url\n     *\n     * @computed uploadUrl\n     * @type {String}\n     * @private\n     */\n    get _uploadUrl() {\n      return `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/corporate-design/logo`;\n    }\n\n    /**\n     * callback that is executed after logo changed\n     *\n     * @function onLogoChanged\n     */\n    onLogoChanged() {}\n    onInsertElement() {\n      this._logoUrl = this.logoUrl;\n    }\n    uploadLogo(imageUrl) {\n      let isUploading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      const logoHasChanged = this.logoUrl !== imageUrl;\n      this._logoUrl = imageUrl;\n      this._isUploadingLogo = isUploading;\n\n      // new logo was uploaded\n      if (logoHasChanged && !isUploading) {\n        this.onLogoChanged(imageUrl, this.responsePropertyName);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"label\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isSmall\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"type\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"minImageDimensions\", [_dec4, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [440, 480];\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"logoUrl\", [_dec5, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"responsePropertyName\", [_dec6, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_logoUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_isUploadingLogo\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onLogoChanged\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"onLogoChanged\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onInsertElement\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInsertElement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"uploadLogo\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"uploadLogo\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaCorporateDesignLogoLogoUpload);\n});","define(\"additive-account/components/aa-corporate-design/typography\", [\"exports\", \"@ember/component\", \"@ember/object\"], function (_exports, _component, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    fonts: null,\n    typography: null,\n    colors: null,\n    isReadOnly: false,\n    onSave() {},\n    init() {\n      this._super(...arguments);\n      (0, _object.set)(this, 'typographyTypes', ['h1', 'h2', 'h3', 'p', 'small', 'button', 'label']);\n    }\n  });\n});","define(\"additive-account/components/aa-email-template-configurator\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/service\", \"@ember/object\", \"ember-concurrency\", \"ember-changeset\", \"ember-changeset/utils/is-changeset\", \"ember-arg-types\", \"prop-types\", \"@additive-apps/configurator/utils/styles\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _service, _object, _emberConcurrency, _emberChangeset, _isChangeset, _emberArgTypes, _propTypes, _styles, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <AwConfigurator\n    @setupTask={{perform this._setup}}\n    @corporateDesignTypography={{this._corporateDesignTypography}}\n    @config={{this._changeset.config}}\n    @styles={{this._changeset.styles}}\n    @widgetLess={{true}}\n    @isReadOnly={{this._isReadOnly}}\n    @onSave={{perform this._save}}\n    @onClose={{this._back}}\n    as |container|\n  >\n    <container.editor\n      @title={{this.resource.name}}\n      @subtitle={{t \"components.aaEmailTemplateConfigurator.subtitle\"}}\n      as |editor|\n    >\n      {{#if this._setup.isRunning}}\n        <div class=\"mw-100\">\n          <UiSkeleton @class=\"mb2\" @items={{3}} @itemsPerRow={{8}} @cardHeight={{32}} @gap={{8}} />\n          <UiSkeleton @class=\"mb3\" @items={{1}} @itemsPerRow={{1}} @cardHeight={{48}} @gap={{4}} />\n          <UiSkeleton @items={{5}} @itemsPerRow={{1}} @cardHeight={{48}} @gap={{4}} />\n        </div>\n      {{else if this._changeset}}\n        <UiRoutableTabs as |tabs|>\n          <tabs.header @activeTab={{this._activeTab}} @isRoutable={{false}} as |header|>\n            {{#each this._basicTabs as |tab|}}\n              <header.tab @tabName={{tab.title}} @value={{tab}} />\n            {{/each}}\n          </tabs.header>\n  \n          <tabs.pane @activeTab={{this._activeTab}} @name=\"general\">\n            <AaEmailTemplateConfigurator::General\n              @editor={{editor}}\n              @onUpdate={{fn this._onUpdate container.onUpdate}}\n              @styles={{changeset-get this._changeset \"styles\"}}\n              @config={{changeset-get this._changeset \"config\"}}\n              @isReadOnly={{this._isReadOnly}}\n            />\n          </tabs.pane>\n  \n          <tabs.pane @activeTab={{this._activeTab}} @name=\"colors\">\n            <AaEmailTemplateConfigurator::Colors\n              @editor={{editor}}\n              @onUpdate={{fn this._onUpdate container.onUpdate}}\n              @styles={{changeset-get this._changeset \"styles\"}}\n              @config={{changeset-get this._changeset \"config\"}}\n              @isReadOnly={{this._isReadOnly}}\n            />\n          </tabs.pane>\n  \n          <tabs.pane @activeTab={{this._activeTab}} @name=\"typography\">\n            <AaEmailTemplateConfigurator::Typography\n              @corporateDesignTypography={{this._corporateDesignTypography}}\n              @editor={{editor}}\n              @fontOptions={{this._fontOptions}}\n              @fonts={{this._fonts}}\n              @onUpdate={{fn this._onUpdate container.onUpdate}}\n              @styles={{this._changeset.styles}}\n              @isReadOnly={{this._isReadOnly}}\n            />\n          </tabs.pane>\n        </UiRoutableTabs>\n      {{/if}}\n    </container.editor>\n  \n    <container.preview @backgroundColor={{this._previewBackgroundColor}} as |preview|>\n      <preview.content>\n        <AaEmailTemplatePreview\n          @organization={{this._organization}}\n          @urlQueryParams={{this._urlQueryParams}}\n          @onUpdate={{this._updatePreviewBackgroundColor}}\n        />\n      </preview.content>\n    </container.preview>\n  </AwConfigurator>\n  */\n  {\n    \"id\": \"oHof9UGc\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@setupTask\\\",\\\"@corporateDesignTypography\\\",\\\"@config\\\",\\\"@styles\\\",\\\"@widgetLess\\\",\\\"@isReadOnly\\\",\\\"@onSave\\\",\\\"@onClose\\\"],[[28,[37,1],[[30,0,[\\\"_setup\\\"]]],null],[30,0,[\\\"_corporateDesignTypography\\\"]],[30,0,[\\\"_changeset\\\",\\\"config\\\"]],[30,0,[\\\"_changeset\\\",\\\"styles\\\"]],true,[30,0,[\\\"_isReadOnly\\\"]],[28,[37,1],[[30,0,[\\\"_save\\\"]]],null],[30,0,[\\\"_back\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"editor\\\"]],null,[[\\\"@title\\\",\\\"@subtitle\\\"],[[30,0,[\\\"resource\\\",\\\"name\\\"]],[28,[37,2],[\\\"components.aaEmailTemplateConfigurator.subtitle\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_setup\\\",\\\"isRunning\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"mw-100\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"mb2\\\",3,8,32,8]],null],[1,\\\"\\\\n        \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"mb3\\\",1,1,48,4]],null],[1,\\\"\\\\n        \\\"],[8,[39,4],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[5,1,48,4]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"_changeset\\\"]],[[[1,\\\"      \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"header\\\"]],null,[[\\\"@activeTab\\\",\\\"@isRoutable\\\"],[[30,0,[\\\"_activeTab\\\"]],false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"_basicTabs\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[30,4,[\\\"tab\\\"]],null,[[\\\"@tabName\\\",\\\"@value\\\"],[[30,5,[\\\"title\\\"]],[30,5]]],null],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\"        \\\"]],[4]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[30,3,[\\\"pane\\\"]],null,[[\\\"@activeTab\\\",\\\"@name\\\"],[[30,0,[\\\"_activeTab\\\"]],\\\"general\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,8],null,[[\\\"@editor\\\",\\\"@onUpdate\\\",\\\"@styles\\\",\\\"@config\\\",\\\"@isReadOnly\\\"],[[30,2],[28,[37,9],[[30,0,[\\\"_onUpdate\\\"]],[30,1,[\\\"onUpdate\\\"]]],null],[28,[37,10],[[30,0,[\\\"_changeset\\\"]],\\\"styles\\\"],null],[28,[37,10],[[30,0,[\\\"_changeset\\\"]],\\\"config\\\"],null],[30,0,[\\\"_isReadOnly\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[30,3,[\\\"pane\\\"]],null,[[\\\"@activeTab\\\",\\\"@name\\\"],[[30,0,[\\\"_activeTab\\\"]],\\\"colors\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@editor\\\",\\\"@onUpdate\\\",\\\"@styles\\\",\\\"@config\\\",\\\"@isReadOnly\\\"],[[30,2],[28,[37,9],[[30,0,[\\\"_onUpdate\\\"]],[30,1,[\\\"onUpdate\\\"]]],null],[28,[37,10],[[30,0,[\\\"_changeset\\\"]],\\\"styles\\\"],null],[28,[37,10],[[30,0,[\\\"_changeset\\\"]],\\\"config\\\"],null],[30,0,[\\\"_isReadOnly\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[30,3,[\\\"pane\\\"]],null,[[\\\"@activeTab\\\",\\\"@name\\\"],[[30,0,[\\\"_activeTab\\\"]],\\\"typography\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,12],null,[[\\\"@corporateDesignTypography\\\",\\\"@editor\\\",\\\"@fontOptions\\\",\\\"@fonts\\\",\\\"@onUpdate\\\",\\\"@styles\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"_corporateDesignTypography\\\"]],[30,2],[30,0,[\\\"_fontOptions\\\"]],[30,0,[\\\"_fonts\\\"]],[28,[37,9],[[30,0,[\\\"_onUpdate\\\"]],[30,1,[\\\"onUpdate\\\"]]],null],[30,0,[\\\"_changeset\\\",\\\"styles\\\"]],[30,0,[\\\"_isReadOnly\\\"]]]],null],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"]],[3]]]]],[1,\\\"\\\\n    \\\"]],[]],null]],[]]],[1,\\\"  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"preview\\\"]],null,[[\\\"@backgroundColor\\\"],[[30,0,[\\\"_previewBackgroundColor\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,6,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,13],null,[[\\\"@organization\\\",\\\"@urlQueryParams\\\",\\\"@onUpdate\\\"],[[30,0,[\\\"_organization\\\"]],[30,0,[\\\"_urlQueryParams\\\"]],[30,0,[\\\"_updatePreviewBackgroundColor\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[6]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"container\\\",\\\"editor\\\",\\\"tabs\\\",\\\"header\\\",\\\"tab\\\",\\\"preview\\\"],false,[\\\"aw-configurator\\\",\\\"perform\\\",\\\"t\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"ui-routable-tabs\\\",\\\"each\\\",\\\"-track-array\\\",\\\"aa-email-template-configurator/general\\\",\\\"fn\\\",\\\"changeset-get\\\",\\\"aa-email-template-configurator/colors\\\",\\\"aa-email-template-configurator/typography\\\",\\\"aa-email-template-preview\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-email-template-configurator.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * The email template configurator\n   *\n   * @class AaEmailTemplateConfigurator\n   */\n  let AaEmailTemplateConfigurator = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberConcurrency.task)(function* () {\n    let corporateDesign = this.store.peekAll('corporate-design');\n    if (corporateDesign.length === 0) {\n      /* TODO: Refactor corporate-design model, to work with normal store functions (Api response is missing an `id` so normal store fails) */\n      const adapter = this.store.adapterFor('corporate-design');\n      const url = adapter.buildURL('corporate-design', this._organization.id);\n      const response = yield this.authenticatedFetch.fetch(url);\n      if (!response.ok) {\n        throw new Error();\n      }\n      const data = yield response.json();\n      data.corporateDesign.id = this._organization.id;\n      yield this.store.pushPayload('corporateDesign', data);\n      corporateDesign = this.store.peekRecord('corporateDesign', this._organization.id);\n    } else {\n      corporateDesign = corporateDesign.firstObject;\n    }\n    this._changeset = new _emberChangeset.default(this.resource);\n    this._fonts = corporateDesign.fonts;\n    this._corporateDesignTypography = corporateDesign.typography;\n  }), _dec3 = (0, _emberConcurrency.task)(function* () {\n    try {\n      yield this._changeset.save();\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        type: 'success'\n      });\n      this._back();\n    } catch (error) {\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        type: 'error'\n      });\n    }\n  }), _class = class AaEmailTemplateConfigurator extends _component2.default {\n    get _organization() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.currentOrganization;\n    }\n    get _fontOptions() {\n      return (0, _styles.getFontOptions)(this._fonts);\n    }\n    get _isReadOnly() {\n      var _this$currentUser2;\n      return !((_this$currentUser2 = this.currentUser) !== null && _this$currentUser2 !== void 0 && _this$currentUser2.isManager);\n    }\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"router\", _descriptor4, this);\n      _initializerDefineProperty(this, \"store\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor6, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor7, this);\n      _initializerDefineProperty(this, \"resource\", _descriptor8, this);\n      _initializerDefineProperty(this, \"_changeset\", _descriptor9, this);\n      /**\n       * the typogrpahy defined in the corporate design\n       * @property _corporateDesignTypography\n       * @type {Object}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_corporateDesignTypography\", _descriptor10, this);\n      _initializerDefineProperty(this, \"_urlQueryParams\", _descriptor11, this);\n      _initializerDefineProperty(this, \"_fonts\", _descriptor12, this);\n      _initializerDefineProperty(this, \"_previewBackgroundColor\", _descriptor13, this);\n      _initializerDefineProperty(this, \"_setup\", _descriptor14, this);\n      _initializerDefineProperty(this, \"_save\", _descriptor15, this);\n      const basicTabs = [{\n        title: this.intl.t('components.aaEmailTemplateConfigurator.general.title'),\n        name: 'general'\n      }, {\n        title: this.intl.t('components.aaEmailTemplateConfigurator.colors.title'),\n        name: 'colors'\n      }, {\n        title: this.intl.t('components.aaEmailTemplateConfigurator.typography.title'),\n        name: 'typography'\n      }];\n      this._activeTab = basicTabs[0];\n      this._basicTabs = basicTabs;\n    }\n\n    /**\n     * We have to handle sync booleans and syncColorKey for custom-colors manually.\n     *\n     * For syncColorKey we cannot rely on api with only passing the syncColorKey as query-param,\n     * as the user could have a dirty change on the related color,\n     * which would endup in a wrong preview.\n     * So we have to manually get the current related color-value.\n     *\n     */\n    _updateQueryParams() {\n      let queryParams = '';\n      const getQueryParams = (object, currentPath) => {\n        Object.keys(object || {}).forEach(key => {\n          if (typeof object[key] === 'object') {\n            if (Object.keys(object[key]).indexOf('sync') !== -1) {\n              let valuesObject = {};\n              if (object[key].sync) {\n                if (object[key].syncedTypography) {\n                  const syncedTypography = this._corporateDesignTypography[object[key].syncedTypography];\n                  const typographyKeys = Object.keys(syncedTypography);\n                  syncedTypography.serif = syncedTypography.serif ? 1 : 0;\n                  typographyKeys.filter(typographyKey => !typographyKey.endsWith('Mobile')).forEach(typographyKey => {\n                    valuesObject[typographyKey] = syncedTypography[typographyKey];\n                  });\n                } else {\n                  valuesObject = {\n                    color: object[key].syncedColor,\n                    contrastColor: object[key].syncedContrastColor\n                  };\n                }\n              } else {\n                Object.keys(object[key]).forEach(childKey => {\n                  if (!childKey.startsWith('sync')) {\n                    valuesObject[childKey] = object[key][childKey];\n                  }\n                });\n              }\n              getQueryParams(valuesObject, currentPath ? `${currentPath}[${key}]` : key);\n              return;\n            }\n            getQueryParams(object[key], currentPath ? `${currentPath}[${key}]` : key);\n          } else if (object[key]) {\n            queryParams += `&${currentPath}[${key}]=${encodeURIComponent(object[key])}`;\n          }\n        });\n      };\n      const currentConfig = {\n        config: this._changeset.get('config'),\n        styles: this._changeset.get('styles')\n      };\n      getQueryParams(currentConfig);\n\n      /* Remove leading `&` */\n      this._urlQueryParams = queryParams;\n    }\n    _updatePreviewBackgroundColor() {\n      if (!this._changeset || !(0, _isChangeset.default)(this._changeset)) {\n        this._previewBackgroundColor = null;\n        return;\n      }\n      if (!this._changeset.get('styles.colors.background.sync')) {\n        this._previewBackgroundColor = this._changeset.get(`styles.colors.background.color`);\n        return;\n      }\n      const syncColorKey = this._changeset.get(`styles.colors.background.syncColorKey`);\n      let property = 'color';\n      if (this._changeset.get(`styles.colors.${syncColorKey}.sync`)) {\n        property = 'syncedColor';\n      }\n      this._previewBackgroundColor = this._changeset.get(`styles.colors.${syncColorKey}.${property}`);\n    }\n    _back() {\n      const transitionBack = () => {\n        this.router.transitionTo('instances.instance.email-templates.list.detail', this.resource);\n      };\n      if (this._changeset.isDirty) {\n        this.uiDialog.showDiscardChangesConfirm(() => {\n          if (this.isDestroying) {\n            return;\n          }\n          this._changeset.rollback();\n          transitionBack();\n        });\n      } else {\n        transitionBack();\n      }\n    }\n    _onUpdate(onUpdate, path, value) {\n      const type = path.split('.')[0];\n      path = path.replace(`${type}.`, '');\n      const data = onUpdate(path, value, type);\n      this._changeset.set('config', data.config);\n      this._changeset.set('styles', data.styles);\n      this._updateQueryParams();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"resource\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_corporateDesignTypography\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_urlQueryParams\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"_fonts\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"_previewBackgroundColor\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"_setup\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"_save\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_updatePreviewBackgroundColor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_updatePreviewBackgroundColor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_back\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_back\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onUpdate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onUpdate\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaEmailTemplateConfigurator);\n});","define(\"additive-account/components/aa-email-template-configurator/colors\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <this.editor.group\n    @title={{t \"components.aaEmailTemplateConfigurator.colors.general.title\"}}\n    as |group|\n  >\n    {{#each (array \"main\" \"accent\" \"ambient\") as |colorKey|}}\n      {{#let (get this.styles.colors colorKey) (concat \"styles.colors.\" colorKey) as |color path|}}\n        <group.item\n          @label={{t (concat \"components.aaEmailTemplateConfigurator.colors.general.\" colorKey)}}\n          @isDisabled={{true}}\n        >\n          <AwColorsMenu\n            @active={{color}}\n            @options={{this._colorOptions}}\n            @path={{path}}\n            @isReadOnly={{@isReadOnly}}\n            @onChange={{this.onUpdate}}\n          />\n  \n          <UiPopover as |pop|>\n            <pop.trigger>\n              {{#if @isReadOnly}}\n                {{svg-jar\n                  \"dna\"\n                  class=(concat \"ml1 \" (if color.sync \"blue\" \"secondary\"))\n                  width=\"20\"\n                  height=\"20\"\n                }}\n              {{else}}\n                <UiIconButton\n                  @classNames=\"ml1\"\n                  @icon=\"dna\"\n                  @isTertiary={{not color.sync}}\n                  @onClick={{fn this.toggleSync (concat path \".sync\") color.sync}}\n                />\n              {{/if}}\n            </pop.trigger>\n            <pop.content>\n              {{t \"components.aaEmailTemplateConfigurator.inheritanceDescription\"}}\n            </pop.content>\n          </UiPopover>\n        </group.item>\n      {{/let}}\n    {{/each}}\n  </this.editor.group>\n  \n  <this.editor.group\n    @title={{t \"components.aaEmailTemplateConfigurator.colors.extra.title\"}}\n    as |group|\n  >\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.colors.extra.background\"}}\n      @isDisabled={{true}}\n    >\n      <AwCustomColorsMenu\n        @active={{this.styles.colors.background}}\n        @colors={{this.styles.colors}}\n        @options={{this._customColorOptions}}\n        @path=\"styles.colors.background\"\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{this.onUpdate}}\n      />\n    </group.item>\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.colors.extra.footer\"}}\n      @isDisabled={{true}}\n    >\n      <AwCustomColorsMenu\n        @active={{this.styles.colors.footer}}\n        @colors={{this.styles.colors}}\n        @options={{this._customColorOptions}}\n        @path=\"styles.colors.footer\"\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{this.onUpdate}}\n      />\n    </group.item>\n  </this.editor.group>\n  */\n  {\n    \"id\": \"uWIrI9NO\",\n    \"block\": \"[[[8,[30,0,[\\\"editor\\\",\\\"group\\\"]],null,[[\\\"@title\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.colors.general.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[28,[37,3],[\\\"main\\\",\\\"accent\\\",\\\"ambient\\\"],null]],null]],null],null,[[[44,[[28,[37,5],[[30,0,[\\\"styles\\\",\\\"colors\\\"]],[30,2]],null],[28,[37,6],[\\\"styles.colors.\\\",[30,2]],null]],[[[1,\\\"      \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[[28,[37,6],[\\\"components.aaEmailTemplateConfigurator.colors.general.\\\",[30,2]],null]],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,7],null,[[\\\"@active\\\",\\\"@options\\\",\\\"@path\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[[30,3],[30,0,[\\\"_colorOptions\\\"]],[30,4],[30,5],[30,0,[\\\"onUpdate\\\"]]]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,6,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\"              \\\"],[1,[28,[35,10],[\\\"dna\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[[28,[37,6],[\\\"ml1 \\\",[52,[30,3,[\\\"sync\\\"]],\\\"blue\\\",\\\"secondary\\\"]],null],\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[8,[39,11],null,[[\\\"@classNames\\\",\\\"@icon\\\",\\\"@isTertiary\\\",\\\"@onClick\\\"],[\\\"ml1\\\",\\\"dna\\\",[28,[37,12],[[30,3,[\\\"sync\\\"]]],null],[28,[37,13],[[30,0,[\\\"toggleSync\\\"]],[28,[37,6],[[30,4],\\\".sync\\\"],null],[30,3,[\\\"sync\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[8,[30,6,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[28,[35,0],[\\\"components.aaEmailTemplateConfigurator.inheritanceDescription\\\"],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[6]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[3,4]]]],[2]],null]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[30,0,[\\\"editor\\\",\\\"group\\\"]],null,[[\\\"@title\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.colors.extra.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.colors.extra.background\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,14],null,[[\\\"@active\\\",\\\"@colors\\\",\\\"@options\\\",\\\"@path\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[[30,0,[\\\"styles\\\",\\\"colors\\\",\\\"background\\\"]],[30,0,[\\\"styles\\\",\\\"colors\\\"]],[30,0,[\\\"_customColorOptions\\\"]],\\\"styles.colors.background\\\",[30,5],[30,0,[\\\"onUpdate\\\"]]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.colors.extra.footer\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,14],null,[[\\\"@active\\\",\\\"@colors\\\",\\\"@options\\\",\\\"@path\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[[30,0,[\\\"styles\\\",\\\"colors\\\",\\\"footer\\\"]],[30,0,[\\\"styles\\\",\\\"colors\\\"]],[30,0,[\\\"_customColorOptions\\\"]],\\\"styles.colors.footer\\\",[30,5],[30,0,[\\\"onUpdate\\\"]]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[7]]]]]],[\\\"group\\\",\\\"colorKey\\\",\\\"color\\\",\\\"path\\\",\\\"@isReadOnly\\\",\\\"pop\\\",\\\"group\\\"],false,[\\\"t\\\",\\\"each\\\",\\\"-track-array\\\",\\\"array\\\",\\\"let\\\",\\\"get\\\",\\\"concat\\\",\\\"aw-colors-menu\\\",\\\"ui-popover\\\",\\\"if\\\",\\\"svg-jar\\\",\\\"ui-icon-button\\\",\\\"not\\\",\\\"fn\\\",\\\"aw-custom-colors-menu\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-email-template-configurator/colors.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaEmailTemplateConfiguratorColors = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberArgTypes.arg)(_propTypes.object), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaEmailTemplateConfiguratorColors extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"editor\", _descriptor, this);\n      _initializerDefineProperty(this, \"styles\", _descriptor2, this);\n      _initializerDefineProperty(this, \"config\", _descriptor3, this);\n      _initializerDefineProperty(this, \"onUpdate\", _descriptor4, this);\n    }\n    /**\n     * selectable color options\n     *\n     * @computed _colorOptions\n     * @type {Array}\n     * @private\n     */\n    get _colorOptions() {\n      const colors = [];\n      const colorObject = (this.styles || {}).colors;\n      if (!colorObject) {\n        return colors;\n      }\n      ['main', 'accent', 'ambient'].forEach(key => {\n        const {\n          syncedColor,\n          syncedContrastColor\n        } = colorObject[key];\n        colors.push({\n          key,\n          value: {\n            color: syncedColor,\n            contrastColor: syncedContrastColor,\n            sync: false\n          }\n        });\n      });\n      return colors;\n    }\n\n    /**\n     * selectable custom color options\n     *\n     * @computed _customColorOptions\n     * @type {Array}\n     * @private\n     */\n    get _customColorOptions() {\n      const colors = [];\n      const colorObject = (this.styles || {}).colors;\n      if (!colorObject) {\n        return colors;\n      }\n      ['main', 'accent', 'ambient'].forEach(key => {\n        const {\n          color,\n          contrastColor,\n          sync,\n          syncedColor,\n          syncedContrastColor\n        } = colorObject[key];\n        colors.push({\n          key,\n          value: {\n            color: sync ? syncedColor : color,\n            contrastColor: sync ? syncedContrastColor : contrastColor,\n            sync: false\n          }\n        });\n      });\n      return colors;\n    }\n    toggleSync(key, sync) {\n      this.onUpdate(key, !sync);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"editor\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"styles\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"config\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"onUpdate\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"toggleSync\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleSync\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaEmailTemplateConfiguratorColors);\n});","define(\"additive-account/components/aa-email-template-configurator/general\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <this.editor.group\n    @title={{t \"components.aaEmailTemplateConfigurator.general.layout.title\"}}\n    as |group|\n  >\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.layout.align\"}}\n      @isDisabled={{true}}\n    >\n      <UiToggleGroup\n        @activeValue={{this.styles.globals.align}}\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{fn this.onUpdate \"styles.globals.align\"}}\n        as |toggle|\n      >\n        <toggle.item @icon=\"align-left\" @value=\"left\" />\n        <toggle.item @icon=\"align-center\" @value=\"center\" />\n        <toggle.item @icon=\"align-right\" @value=\"right\" />\n      </UiToggleGroup>\n    </group.item>\n  </this.editor.group>\n  \n  <this.editor.group\n    @title={{t \"components.aaEmailTemplateConfigurator.general.style.title\"}}\n    as |group|\n  >\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.style.borderRadius\"}}\n      @isDisabled={{true}}\n    >\n      <UiInput\n        @isPlain={{true}}\n        @value={{this.styles.globals.borderRadius}}\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{fn this.onUpdate \"styles.globals.borderRadius\"}}\n      />\n    </group.item>\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.style.shadow\"}}\n      @isDisabled={{true}}\n    >\n      <UiInput\n        @isPlain={{true}}\n        @value={{this.styles.globals.boxShadow}}\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{fn this.onUpdate \"styles.globals.boxShadow\"}}\n      />\n    </group.item>\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.style.footerWidth.title\"}}\n      @isDisabled={{true}}\n    >\n      <UiSelect\n        @isPlain={{true}}\n        @selected={{t\n          (concat\n            \"components.aaEmailTemplateConfigurator.general.style.footerWidth.\"\n            this.config.footerWidth\n          )\n        }}\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{fn this.onUpdate \"config.footerWidth\"}}\n        @options={{array (hash value=\"full\") (hash value=\"typeArea\")}}\n        as |option item|\n      >\n        <option.item @value={{item.value}}>\n          {{t\n            (concat \"components.aaEmailTemplateConfigurator.general.style.footerWidth.\" item.value)\n          }}\n        </option.item>\n      </UiSelect>\n    </group.item>\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.style.logoVariant.title\"}}\n      @isDisabled={{true}}\n    >\n      <UiSelect\n        @isPlain={{true}}\n        @isReadOnly={{@isReadOnly}}\n        @selected={{t\n          (concat\n            \"components.aaEmailTemplateConfigurator.general.style.logoVariant.\"\n            this.config.logoVariant\n          )\n        }}\n        @onChange={{fn this.onUpdate \"config.logoVariant\"}}\n        @options={{array (hash value=\"default\") (hash value=\"alternative\") (hash value=\"signet\")}}\n        as |option item|\n      >\n        <option.item @value={{item.value}}>\n          {{t\n            (concat \"components.aaEmailTemplateConfigurator.general.style.logoVariant.\" item.value)\n          }}\n        </option.item>\n      </UiSelect>\n    </group.item>\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.style.logoHeight.title\"}}\n      @isDisabled={{true}}\n    >\n      <UiSelect\n        @isPlain={{true}}\n        @selected={{t\n          (concat\n            \"components.aaEmailTemplateConfigurator.general.style.logoHeight.\" this.config.logoHeight\n          )\n        }}\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{fn this.onUpdate \"config.logoHeight\"}}\n        @options={{array (hash value=\"64px\") (hash value=\"88px\") (hash value=\"112px\")}}\n        as |option item|\n      >\n        <option.item @value={{item.value}}>\n          {{t (concat \"components.aaEmailTemplateConfigurator.general.style.logoHeight.\" item.value)}}\n        </option.item>\n      </UiSelect>\n    </group.item>\n    <group.item\n      @label={{t \"components.aaEmailTemplateConfigurator.general.style.logoPosition.title\"}}\n      @isDisabled={{true}}\n    >\n      <UiSelect\n        @isPlain={{true}}\n        @selected={{t\n          (concat\n            \"components.aaEmailTemplateConfigurator.general.style.logoPosition.\"\n            this.config.logoPosition\n          )\n        }}\n        @isReadOnly={{@isReadOnly}}\n        @onChange={{fn this.onUpdate \"config.logoPosition\"}}\n        @options={{array (hash value=\"inside\") (hash value=\"outside\")}}\n        as |option item|\n      >\n        <option.item @value={{item.value}}>\n          {{t\n            (concat \"components.aaEmailTemplateConfigurator.general.style.logoPosition.\" item.value)\n          }}\n        </option.item>\n      </UiSelect>\n    </group.item>\n  </this.editor.group>\n  */\n  {\n    \"id\": \"5AbB7o3F\",\n    \"block\": \"[[[8,[30,0,[\\\"editor\\\",\\\"group\\\"]],null,[[\\\"@title\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.layout.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.layout.align\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,1],null,[[\\\"@activeValue\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[[30,0,[\\\"styles\\\",\\\"globals\\\",\\\"align\\\"]],[30,2],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"styles.globals.align\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@icon\\\",\\\"@value\\\"],[\\\"align-left\\\",\\\"left\\\"]],null],[1,\\\"\\\\n      \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@icon\\\",\\\"@value\\\"],[\\\"align-center\\\",\\\"center\\\"]],null],[1,\\\"\\\\n      \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@icon\\\",\\\"@value\\\"],[\\\"align-right\\\",\\\"right\\\"]],null],[1,\\\"\\\\n    \\\"]],[3]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[30,0,[\\\"editor\\\",\\\"group\\\"]],null,[[\\\"@title\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,4,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.borderRadius\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,3],null,[[\\\"@isPlain\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[true,[30,0,[\\\"styles\\\",\\\"globals\\\",\\\"borderRadius\\\"]],[30,2],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"styles.globals.borderRadius\\\"],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,4,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.shadow\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,3],null,[[\\\"@isPlain\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[true,[30,0,[\\\"styles\\\",\\\"globals\\\",\\\"boxShadow\\\"]],[30,2],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"styles.globals.boxShadow\\\"],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,4,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.footerWidth.title\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@isPlain\\\",\\\"@selected\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\",\\\"@options\\\"],[true,[28,[37,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.footerWidth.\\\",[30,0,[\\\"config\\\",\\\"footerWidth\\\"]]],null]],null],[30,2],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"config.footerWidth\\\"],null],[28,[37,6],[[28,[37,7],null,[[\\\"value\\\"],[\\\"full\\\"]]],[28,[37,7],null,[[\\\"value\\\"],[\\\"typeArea\\\"]]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,5,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,6,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.footerWidth.\\\",[30,6,[\\\"value\\\"]]],null]],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[5,6]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,4,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.logoVariant.title\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@isPlain\\\",\\\"@isReadOnly\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@options\\\"],[true,[30,2],[28,[37,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.logoVariant.\\\",[30,0,[\\\"config\\\",\\\"logoVariant\\\"]]],null]],null],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"config.logoVariant\\\"],null],[28,[37,6],[[28,[37,7],null,[[\\\"value\\\"],[\\\"default\\\"]]],[28,[37,7],null,[[\\\"value\\\"],[\\\"alternative\\\"]]],[28,[37,7],null,[[\\\"value\\\"],[\\\"signet\\\"]]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,8,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.logoVariant.\\\",[30,8,[\\\"value\\\"]]],null]],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[7,8]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,4,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.logoHeight.title\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@isPlain\\\",\\\"@selected\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\",\\\"@options\\\"],[true,[28,[37,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.logoHeight.\\\",[30,0,[\\\"config\\\",\\\"logoHeight\\\"]]],null]],null],[30,2],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"config.logoHeight\\\"],null],[28,[37,6],[[28,[37,7],null,[[\\\"value\\\"],[\\\"64px\\\"]]],[28,[37,7],null,[[\\\"value\\\"],[\\\"88px\\\"]]],[28,[37,7],null,[[\\\"value\\\"],[\\\"112px\\\"]]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,9,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,10,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.logoHeight.\\\",[30,10,[\\\"value\\\"]]],null]],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[9,10]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,4,[\\\"item\\\"]],null,[[\\\"@label\\\",\\\"@isDisabled\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.style.logoPosition.title\\\"],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@isPlain\\\",\\\"@selected\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\",\\\"@options\\\"],[true,[28,[37,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.logoPosition.\\\",[30,0,[\\\"config\\\",\\\"logoPosition\\\"]]],null]],null],[30,2],[28,[37,2],[[30,0,[\\\"onUpdate\\\"]],\\\"config.logoPosition\\\"],null],[28,[37,6],[[28,[37,7],null,[[\\\"value\\\"],[\\\"inside\\\"]]],[28,[37,7],null,[[\\\"value\\\"],[\\\"outside\\\"]]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,11,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,12,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,0],[[28,[37,5],[\\\"components.aaEmailTemplateConfigurator.general.style.logoPosition.\\\",[30,12,[\\\"value\\\"]]],null]],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[11,12]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[4]]]]]],[\\\"group\\\",\\\"@isReadOnly\\\",\\\"toggle\\\",\\\"group\\\",\\\"option\\\",\\\"item\\\",\\\"option\\\",\\\"item\\\",\\\"option\\\",\\\"item\\\",\\\"option\\\",\\\"item\\\"],false,[\\\"t\\\",\\\"ui-toggle-group\\\",\\\"fn\\\",\\\"ui-input\\\",\\\"ui-select\\\",\\\"concat\\\",\\\"array\\\",\\\"hash\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-email-template-configurator/general.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaEmailTemplateConfiguratorGeneral = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberArgTypes.arg)(_propTypes.object), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaEmailTemplateConfiguratorGeneral extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"editor\", _descriptor, this);\n      _initializerDefineProperty(this, \"styles\", _descriptor2, this);\n      _initializerDefineProperty(this, \"config\", _descriptor3, this);\n      _initializerDefineProperty(this, \"onUpdate\", _descriptor4, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"editor\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"styles\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"config\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"onUpdate\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaEmailTemplateConfiguratorGeneral);\n});","define(\"additive-account/components/aa-email-template-configurator/typography\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <this.editor.group @title={{t \"components.aaEmailTemplateConfigurator.general.layout.title\"}}>\n    <AwTypographyList\n      @corporateDesignTypography={{this.corporateDesignTypography}}\n      @typographyKeys={{array \"h2\" \"p\" \"label\" \"button\"}}\n      @styles={{this.styles}}\n      @fonts={{this.fonts}}\n      @fontOptions={{this.fontOptions}}\n      @onUpdate={{this._update}}\n      @showCustomFontWarning={{false}}\n      @intlBaseKey=\"routes.emailTemplates.configurator.typography\"\n      @isReadOnly={{@isReadOnly}}\n    />\n  </this.editor.group>\n  */\n  {\n    \"id\": \"lX2yJRFZ\",\n    \"block\": \"[[[8,[30,0,[\\\"editor\\\",\\\"group\\\"]],null,[[\\\"@title\\\"],[[28,[37,0],[\\\"components.aaEmailTemplateConfigurator.general.layout.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@corporateDesignTypography\\\",\\\"@typographyKeys\\\",\\\"@styles\\\",\\\"@fonts\\\",\\\"@fontOptions\\\",\\\"@onUpdate\\\",\\\"@showCustomFontWarning\\\",\\\"@intlBaseKey\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"corporateDesignTypography\\\"]],[28,[37,2],[\\\"h2\\\",\\\"p\\\",\\\"label\\\",\\\"button\\\"],null],[30,0,[\\\"styles\\\"]],[30,0,[\\\"fonts\\\"]],[30,0,[\\\"fontOptions\\\"]],[30,0,[\\\"_update\\\"]],false,\\\"routes.emailTemplates.configurator.typography\\\",[30,1]]],null],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"@isReadOnly\\\"],false,[\\\"t\\\",\\\"aw-typography-list\\\",\\\"array\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-email-template-configurator/typography.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaEmailTemplateConfiguratorTypography = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberArgTypes.arg)(_propTypes.object), _dec4 = (0, _emberArgTypes.arg)(_propTypes.array), _dec5 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec6 = (0, _emberArgTypes.arg)(_propTypes.object), _dec7 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaEmailTemplateConfiguratorTypography extends _component2.default {\n    constructor() {\n      super(...arguments);\n      /**\n       * the typogrpahy defined in the corporate design\n       * @argument corporateDesignTypography\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"corporateDesignTypography\", _descriptor, this);\n      _initializerDefineProperty(this, \"editor\", _descriptor2, this);\n      _initializerDefineProperty(this, \"fonts\", _descriptor3, this);\n      _initializerDefineProperty(this, \"fontOptions\", _descriptor4, this);\n      _initializerDefineProperty(this, \"isReadOnly\", _descriptor5, this);\n      _initializerDefineProperty(this, \"styles\", _descriptor6, this);\n      _initializerDefineProperty(this, \"onUpdate\", _descriptor7, this);\n    }\n    _update(key, value) {\n      this.onUpdate(`styles.${key}`, value);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"corporateDesignTypography\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"editor\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"fonts\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"fontOptions\", [_dec4, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"isReadOnly\", [_dec5, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"styles\", [_dec6, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"onUpdate\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"_update\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_update\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaEmailTemplateConfiguratorTypography);\n});","define(\"additive-account/components/aa-email-template-preview\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/service\", \"@ember/object\", \"ember-arg-types\", \"prop-types\", \"ember-concurrency\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _service, _object, _emberArgTypes, _propTypes, _emberConcurrency, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <iframe\n    id=\"email-preview-iframe\"\n    class=\"w-100 dn flex flex-column flex-grow-1\"\n    frameBorder=\"0\"\n    scrolling=\"no\"\n    title=\"email-preview\"\n    {{did-insert this.updateTemplate}}\n    {{did-update this.updateTemplate this.urlQueryParams}}\n  />\n  \n  {{#if this._isError}}\n    <div class=\"flex flex-column justify-center items-center h-100\">\n      <div class=\"font-sm secondary pb2\">\n        {{t \"global.errors.unknown\"}}\n      </div>\n      <UiButton @label={{t \"global.actions.retry\"}} @onClick={{perform this._loadMailTemplate}} />\n    </div>\n  {{/if}}\n  \n  {{#if this._isInitialLoading}}\n    <div class=\"flex h-100 justify-center items-center\">\n      <UiLoading />\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"KO/+SEIH\",\n    \"block\": \"[[[11,\\\"iframe\\\"],[24,1,\\\"email-preview-iframe\\\"],[24,0,\\\"w-100 dn flex flex-column flex-grow-1\\\"],[24,\\\"frameBorder\\\",\\\"0\\\"],[24,\\\"scrolling\\\",\\\"no\\\"],[24,\\\"title\\\",\\\"email-preview\\\"],[4,[38,0],[[30,0,[\\\"updateTemplate\\\"]]],null],[4,[38,1],[[30,0,[\\\"updateTemplate\\\"]],[30,0,[\\\"urlQueryParams\\\"]]],null],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isError\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"flex flex-column justify-center items-center h-100\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"font-sm secondary pb2\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"global.errors.unknown\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,3],[\\\"global.actions.retry\\\"],null],[28,[37,5],[[30,0,[\\\"_loadMailTemplate\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isInitialLoading\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"flex h-100 justify-center items-center\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,6],null,null,null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[],false,[\\\"did-insert\\\",\\\"did-update\\\",\\\"if\\\",\\\"t\\\",\\\"ui-button\\\",\\\"perform\\\",\\\"ui-loading\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-email-template-preview.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Displays the email template of the current organization\n   *\n   * @class aa-mail-template-preview\n   */\n  let AaEmailTemplatePreview = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const tasks = [];\n      tasks.push(this.authenticatedFetch.fetch(this._url));\n      tasks.push((0, _emberConcurrency.timeout)(250));\n      const [response] = yield (0, _emberConcurrency.all)(tasks);\n      const html = yield response.text();\n      const iframe = document.getElementById('email-preview-iframe');\n      const iframeDocument = iframe.contentDocument;\n      iframeDocument.open();\n      iframeDocument.write(html);\n      iframeDocument.close();\n      iframe.classList.remove('dn');\n      iframe.style.height = `${iframeDocument.body.scrollHeight}px`;\n      /* Reset height after iframe did load (as images might load slower but effects iframe-height) */\n      iframe.onload = () => iframe.style.height = `${iframeDocument.body.scrollHeight}px`;\n      this._isError = false;\n      this.onUpdate();\n    } catch (e) {\n      const iframe = document.getElementById('email-preview-iframe');\n      if (iframe) {\n        const iframeDocument = iframe.contentDocument;\n        iframeDocument.open();\n        iframeDocument.write('');\n        iframeDocument.close();\n      }\n      this._isError = true;\n    } finally {\n      this._isInitialLoading = false;\n    }\n  }), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaEmailTemplatePreview extends _component2.default {\n    /**\n     * The url for the email html\n     *\n     * @computed _url\n     * @type {Object}\n     * @default null\n     * @private\n     */\n    get _url() {\n      const mailEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organization.id}/email`;\n      return mailEndpoint + (this._urlQueryParams ? `?${this._urlQueryParams}` : '');\n    }\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      /**\n       * The url query params\n       *\n       * @argument urlQueryParams\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"urlQueryParams\", _descriptor4, this);\n      /**\n       * The organization resource\n       *\n       * @argument organization\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"organization\", _descriptor5, this);\n      _initializerDefineProperty(this, \"_defaultUrlQueryParams\", _descriptor6, this);\n      /**\n       * Whether we have an error\n       *\n       * @property _isError\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isError\", _descriptor7, this);\n      /**\n       * Whether it is initialy loading\n       *\n       * @property _isInitialLoading\n       * @type {Boolean}\n       * @default true\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isInitialLoading\", _descriptor8, this);\n      /**\n       * All query params (default + args)\n       *\n       * @argument _urlQueryParams\n       * @type {String}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_urlQueryParams\", _descriptor9, this);\n      /**\n       * loads the email template and writes it into the iframe\n       *\n       * @function _loadMailTemplate\n       * @type {Task}\n       * @private\n       */\n      _initializerDefineProperty(this, \"_loadMailTemplate\", _descriptor10, this);\n      /**\n       * When iframe did update\n       *\n       * @argument onUpdate\n       * @type {Function}\n       */\n      _initializerDefineProperty(this, \"onUpdate\", _descriptor11, this);\n      if (this.urlQueryParams) {\n        return;\n      }\n      const {\n        intl,\n        organization\n      } = this;\n\n      // set default mail content\n      const title = intl.t('components.aaEmailTemplatePreview.title');\n      const greeting = intl.t('components.aaEmailTemplatePreview.greeting');\n      const text = intl.t('components.aaEmailTemplatePreview.text');\n      const linkText = intl.t('components.aaEmailTemplatePreview.linkText');\n      let urlParams = `contents[0][greeting]=${greeting}`;\n      urlParams += `&contents[0][title]=${title}`;\n      urlParams += `&contents[1][line]=${text}`;\n      urlParams += `&contents[2][action][url]=${organization.website}`;\n      urlParams += `&contents[2][action][text]=${linkText}`;\n      this._defaultUrlQueryParams = urlParams;\n    }\n    updateTemplate() {\n      let urlParams = this._defaultUrlQueryParams;\n      if (this.urlQueryParams) {\n        urlParams = `${urlParams}&${this.urlQueryParams}`;\n      }\n      this._urlQueryParams = urlParams;\n      this._loadMailTemplate.perform();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"urlQueryParams\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"organization\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"_defaultUrlQueryParams\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"_isError\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_isInitialLoading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return true;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_urlQueryParams\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_loadMailTemplate\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"onUpdate\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"updateTemplate\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateTemplate\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaEmailTemplatePreview);\n});","define(\"additive-account/components/aa-file-upload\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-concurrency\", \"ember-arg-types\", \"prop-types\", \"additive-account/utils/constants\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _service, _emberConcurrency, _emberArgTypes, _propTypes, _constants, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{yield\n    (hash\n      input=(component\n        \"aa-file-upload/input\"\n        showDeleteButton=@showDeleteButton\n        showLoading=this.isLoading\n        isDisabled=@isDisabled\n        isSmall=@isSmall\n        accept=@accept\n        url=@url\n        alt=@alt\n        placeholderTitle=@placeholderTitle\n        style=@style\n        class=@class\n        onChange=this.onChange\n        onDelete=this.onDelete\n      )\n      fontInput=(component\n        \"aa-file-upload/font-input\"\n        showDeleteButton=@showDeleteButton\n        showLoading=this.uploadFont.isRunning\n        isDisabled=@isDisabled\n        accept=@accept\n        url=@url\n        alt=@alt\n        title=@placeholderTitle\n        style=@style\n        class=@class\n        onChange=this.onChange\n      )\n      showDeleteButton=@showDeleteButton\n      isLoading=this.isLoading\n      isDisabled=@isDisabled\n      accept=@accept\n      url=@url\n      alt=@alt\n      onChange=this.onChange\n      onDelete=this.onDelete\n    )\n  }}\n  */\n  {\n    \"id\": \"0fJfX5YC\",\n    \"block\": \"[[[18,10,[[28,[37,1],null,[[\\\"input\\\",\\\"fontInput\\\",\\\"showDeleteButton\\\",\\\"isLoading\\\",\\\"isDisabled\\\",\\\"accept\\\",\\\"url\\\",\\\"alt\\\",\\\"onChange\\\",\\\"onDelete\\\"],[[50,\\\"aa-file-upload/input\\\",0,null,[[\\\"showDeleteButton\\\",\\\"showLoading\\\",\\\"isDisabled\\\",\\\"isSmall\\\",\\\"accept\\\",\\\"url\\\",\\\"alt\\\",\\\"placeholderTitle\\\",\\\"style\\\",\\\"class\\\",\\\"onChange\\\",\\\"onDelete\\\"],[[30,1],[30,0,[\\\"isLoading\\\"]],[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9],[30,0,[\\\"onChange\\\"]],[30,0,[\\\"onDelete\\\"]]]]],[50,\\\"aa-file-upload/font-input\\\",0,null,[[\\\"showDeleteButton\\\",\\\"showLoading\\\",\\\"isDisabled\\\",\\\"accept\\\",\\\"url\\\",\\\"alt\\\",\\\"title\\\",\\\"style\\\",\\\"class\\\",\\\"onChange\\\"],[[30,1],[30,0,[\\\"uploadFont\\\",\\\"isRunning\\\"]],[30,2],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9],[30,0,[\\\"onChange\\\"]]]]],[30,1],[30,0,[\\\"isLoading\\\"]],[30,2],[30,4],[30,5],[30,6],[30,0,[\\\"onChange\\\"]],[30,0,[\\\"onDelete\\\"]]]]]]]],[\\\"@showDeleteButton\\\",\\\"@isDisabled\\\",\\\"@isSmall\\\",\\\"@accept\\\",\\\"@url\\\",\\\"@alt\\\",\\\"@placeholderTitle\\\",\\\"@style\\\",\\\"@class\\\",\\\"&default\\\"],false,[\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-file-upload.hbs\",\n    \"isStrictMode\": false\n  });\n  const MB = 1024 * 1024;\n  let AaFileUpload = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec3 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec4 = (0, _emberArgTypes.arg)(_propTypes.string), _dec5 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec6 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec7 = (0, _emberArgTypes.arg)(_propTypes.number), _dec8 = (0, _emberArgTypes.arg)(_propTypes.array), _dec9 = (0, _emberArgTypes.arg)(_propTypes.string), _dec10 = (0, _emberArgTypes.arg)(_propTypes.string), _dec11 = (0, _emberArgTypes.arg)(_propTypes.string), _dec12 = (0, _emberArgTypes.arg)(_propTypes.string), _dec13 = (0, _emberConcurrency.task)(function* (file) {\n    try {\n      const fileEnding = file.name.split('.').pop();\n      if (_constants.FONT_FILE_ENDINGS.indexOf(fileEnding) < 0) {\n        return this.uiDialog.showError(this.intl.t('global.errors.userErrors.fontUpload.title'), this.intl.t(`global.errors.userErrors.fontUpload.type`));\n      }\n      const seconds = new Date().getTime();\n      const response = yield this.s3UploadFile.uploadFile({\n        file: file,\n        uploadPath: `image-upload/${seconds}/${file.name}`,\n        fallbackFileType: `font/${fileEnding}`\n      });\n      this.onFileChange(response);\n    } catch (e) {\n      this.uiDialog.showError(this.intl.t('global.errors.userErrors.fontUpload.title'), this.intl.t('global.errors.userErrors.fontUpload.error'));\n    }\n  }), _dec14 = (0, _emberConcurrency.task)(function* (file) {\n    const currentImageUrl = this.url && this.url.substr();\n    try {\n      // copy currentImageUrl\n      const image = yield this._loadImage(file);\n      if (!image) throw new Error();\n\n      // validate image and show error\n      const error = this._validateImage(file, image);\n      if (error) {\n        return this.uiDialog.showError(this.intl.t('global.errors.userErrors.imageUpload.title'), this.intl.t(`global.errors.userErrors.imageUpload.${error.key}`, error.params));\n      }\n\n      // set temporary image\n      this.onFileChange(null, true);\n\n      // upload file to s3\n      const seconds = new Date().getTime();\n      const response = yield this.s3UploadFile.uploadFile({\n        file: file,\n        uploadPath: `image-upload/${seconds}/${file.name}`\n      });\n      if (!response) throw new Error();\n\n      // set uploaded url\n      let body = {\n        path: response,\n        type: this.type\n      };\n      const apiResponse = yield this.authenticatedFetch.fetch(this.uploadUrl, {\n        method: 'POST',\n        body: JSON.stringify(body)\n      });\n      if (!apiResponse || apiResponse.status !== 200) throw new Error();\n      const json = yield apiResponse.json();\n      const imageUrl = json && json[this.responsePropertyName];\n      if (!imageUrl) throw new Error();\n\n      // notify view about url change\n      this.onFileChange(imageUrl);\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.image.upload.title'),\n        description: this.intl.t('global.toasts.success.image.upload.description'),\n        duration: 2000\n      });\n    } catch (e) {\n      // reset to old image url in case an error occurs\n      this.onFileChange(currentImageUrl);\n      this.uiDialog.showError(this.intl.t('global.errors.userErrors.imageUpload.title'), this.intl.t('global.errors.userErrors.imageUpload.error'));\n    }\n  }), _dec15 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const response = yield this.authenticatedFetch.fetch(this.uploadUrl, {\n        method: 'DELETE'\n      }, {\n        type: this.type\n      });\n      if (!response || response.status !== 204) throw new Error();\n      this.onFileChange('');\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.image.delete.title'),\n        description: this.intl.t('global.toasts.success.image.delete.description', {\n          htmlSafe: true\n        }),\n        duration: 2000\n      });\n    } catch (e) {\n      this.uiDialog.showAlert(this.intl.t('global.errors.imageDelete.failed.title'), this.intl.t('global.errors.imageDelete.failed.text', {\n        htmlSafe: true\n      }));\n    }\n  }), _dec16 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaFileUpload extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n      _initializerDefineProperty(this, \"s3UploadFile\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      /**\n       * if set to true, the delete button is shown\n       *\n       * @argument accept\n       * @type {String}\n       * @default ''\n       */\n      _initializerDefineProperty(this, \"accept\", _descriptor6, this);\n      /**\n       * if set to true, the delete button is shown\n       *\n       * @property showDeleteButton\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"showDeleteButton\", _descriptor7, this);\n      /**\n       * if set to true, the loading animation is shown\n       *\n       * @property showLoading\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"showLoading\", _descriptor8, this);\n      /**\n       * the placeholder text to show instead of the default icon\n       *\n       * @property placeholderTitle\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"placeholderTitle\", _descriptor9, this);\n      /**\n       * if set to true the upload should be disabled\n       *\n       * @property isDisabled\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isDisabled\", _descriptor10, this);\n      /**\n       * whether the upload wrapper is small\n       *\n       * @property isSmall\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isSmall\", _descriptor11, this);\n      /**\n       * the maximal image size in bytes\n       *\n       * @property maxImageSize\n       * @type {Number}\n       * @default 2097152\n       */\n      _initializerDefineProperty(this, \"maxImageSize\", _descriptor12, this);\n      /**\n       * the minimal image dimensions passed as an array\n       * `[width, height]`\n       *\n       * @property minDimensions\n       * @type {Array}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"minDimensions\", _descriptor13, this);\n      /**\n       * the url to which the uploaded url shoud be sent\n       *\n       * @property uploadUrl\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"uploadUrl\", _descriptor14, this);\n      /**\n       * the property name of the request result\n       *\n       * @property responsePropertyName\n       * @type {String}\n       * @default imageUrl\n       */\n      _initializerDefineProperty(this, \"responsePropertyName\", _descriptor15, this);\n      /**\n       * the type of file upload\n       * `image` | `font`\n       *\n       * @property fileType\n       * @type {String}\n       * @default 'image'\n       */\n      _initializerDefineProperty(this, \"fileType\", _descriptor16, this);\n      _initializerDefineProperty(this, \"type\", _descriptor17, this);\n      /**\n       * uploads a valid font to s3 and calls the callback with the url\n       *\n       * @function uploadFont\n       * @type {Task}\n       * @param {File} file\n       */\n      _initializerDefineProperty(this, \"uploadFont\", _descriptor18, this);\n      /**\n       * uploads a valid file to s3 and sets the returned url in the api\n       *\n       * @function uploadImage\n       * @type {Task}\n       * @param {File} file\n       */\n      _initializerDefineProperty(this, \"uploadImage\", _descriptor19, this);\n      _initializerDefineProperty(this, \"deleteImage\", _descriptor20, this);\n      /**\n       * callback that sets the uploaded image\n       *\n       * @function onFileChange\n       * @param imageUrl\n       */\n      _initializerDefineProperty(this, \"onFileChange\", _descriptor21, this);\n    }\n    /**\n     * whether an upload is running\n     *\n     * @computed isLoading\n     * @type {Boolean}\n     */\n    get isLoading() {\n      var _this$uploadFont, _this$uploadImage;\n      return ((_this$uploadFont = this.uploadFont) === null || _this$uploadFont === void 0 ? void 0 : _this$uploadFont.isRunning) || ((_this$uploadImage = this.uploadImage) === null || _this$uploadImage === void 0 ? void 0 : _this$uploadImage.isRunning);\n    }\n    /**\n     * creates an image object, uploading the file into local storage\n     *\n     * @function _loadImage\n     * @param {File} file\n     */\n    _loadImage(file) {\n      let image = new Image();\n      image.src = URL.createObjectURL(file);\n      return new Promise(resolve => {\n        image.onload = () => {\n          return resolve(image);\n        };\n        image.onerror = () => {\n          return resolve();\n        };\n      });\n    }\n\n    /**\n     * Validates the type, size and dimensions of the file\n     *\n     * @function _validateImage\n     * @param {File} file the uploaded file\n     * @param {Image} image the image object uploaded into local storage\n     */\n    _validateImage(file, image) {\n      const {\n        naturalHeight = 0,\n        naturalWidth = 0\n      } = image;\n\n      // validate image\n      if (_constants.IMAGE_MIME_TYPES.indexOf(file.type) < 0) {\n        return {\n          key: 'type'\n        };\n      } else if (file.size > this.maxImageSize) {\n        return {\n          key: 'size',\n          params: {\n            size: `${this.maxImageSize / MB} MB`\n          }\n        };\n      } else if (naturalWidth < this.minDimensions[0] || naturalHeight < this.minDimensions[1]) {\n        return {\n          key: 'dimensions',\n          params: {\n            width: this.minDimensions[0],\n            height: this.minDimensions[1]\n          }\n        };\n      }\n      return;\n    }\n    onChange(event) {\n      var _event$target;\n      if (!(event !== null && event !== void 0 && (_event$target = event.target) !== null && _event$target !== void 0 && (_event$target = _event$target.files) !== null && _event$target !== void 0 && _event$target.length)) return;\n      const file = event.target.files[0];\n      if (this.fileType === 'image') {\n        this.uploadImage.perform(file);\n      } else if (this.fileType === 'font') {\n        this.uploadFont.perform(file);\n      }\n    }\n    onDelete() {\n      if (this.showDeleteButton) {\n        return this.uiDialog.showConfirm(this.intl.t('global.dialogs.deleteImageWarning.title'), this.intl.t('global.dialogs.deleteImageWarning.description'), () => this.deleteImage.perform(), this.intl.t('global.actions.delete'));\n      }\n      this.deleteImage.perform();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"s3UploadFile\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"accept\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return '';\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showDeleteButton\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showLoading\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"placeholderTitle\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"isDisabled\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"isSmall\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"maxImageSize\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 2097152;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"minDimensions\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"uploadUrl\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"responsePropertyName\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 'imageUrl';\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"fileType\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 'image';\n    }\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"type\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"uploadFont\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"uploadImage\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"deleteImage\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"onFileChange\", [_dec16], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDelete\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaFileUpload);\n});","define(\"additive-account/components/aa-file-upload/font-input\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/object/internals\", \"@ember/service\", \"@ember/template\", \"ember-arg-types\", \"prop-types\", \"additive-account/utils/fonts\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _internals, _service, _template, _emberArgTypes, _propTypes, _fonts, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <label\n    class=\"aa-font-upload flex flex-column cpointer\n      {{@class}}\n      {{if @isSmall 'aa-font-upload--small'}}\"\n    for={{this._for}}\n    {{did-insert this.onDidInsert}}\n    {{on \"click\" this._onClick}}\n  >\n    <span class=\"font-sm secondary pb1\">\n      {{@label}}\n    </span>\n  \n    <div\n      class=\"aa-font-upload__wrapper flex flex-column flex-grow-1 justify-center items-center relative br1\n        {{if @font.url 'bg-primary' 'aa-font-upload__wrapper--empty'}}\"\n    >\n      {{#if @showLoading}}\n        <div class=\"absolute top-0 right-0 bottom-0 left-0 flex justify-center items-center primary\">\n          <UiLoading />\n        </div>\n      {{else if @font.url}}\n        <div class=\"header absolute top-0 left-0 right-0 flex items-start white pa1\">\n          {{#unless @isSmall}}\n            <span class=\"font-xs ellipsis\">\n              {{@font.fontFamily}}\n            </span>\n          {{/unless}}\n          <span class=\"flex-grow-1\"></span>\n          <UiIconButton @class=\"color-inherit\" @icon=\"delete\" @onClick={{this._onDelete}} />\n        </div>\n        <span class=\"white preview\" style={{this.previewStyle}}>\n          {{@previewText}}\n        </span>\n      {{else}}\n        {{#if @isSmall}}\n          <span class=\"blue\">\n            {{svg-jar \"upload\" class=\"db\"}}\n          </span>\n        {{else}}\n          <div class=\"font-sm blue\">\n            {{@title}}\n          </div>\n          <div class=\"font-xs secondary\">\n            {{@subtitle}}\n          </div>\n        {{/if}}\n      {{/if}}\n    </div>\n  \n    {{#unless this._isDisabled}}\n      <input type=\"file\" id={{this._for}} class=\"dn\" accept={{@accept}} onchange={{this._onChange}} />\n    {{/unless}}\n  </label>\n  */\n  {\n    \"id\": \"W/0WWw/e\",\n    \"block\": \"[[[11,\\\"label\\\"],[16,0,[29,[\\\"aa-font-upload flex flex-column cpointer\\\\n    \\\",[30,1],\\\"\\\\n    \\\",[52,[30,2],\\\"aa-font-upload--small\\\"]]]],[16,\\\"for\\\",[30,0,[\\\"_for\\\"]]],[4,[38,1],[[30,0,[\\\"onDidInsert\\\"]]],null],[4,[38,2],[\\\"click\\\",[30,0,[\\\"_onClick\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,1],[14,0,\\\"font-sm secondary pb1\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[30,3]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[15,0,[29,[\\\"aa-font-upload__wrapper flex flex-column flex-grow-1 justify-center items-center relative br1\\\\n      \\\",[52,[30,4,[\\\"url\\\"]],\\\"bg-primary\\\",\\\"aa-font-upload__wrapper--empty\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,5],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"absolute top-0 right-0 bottom-0 left-0 flex justify-center items-center primary\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,3],null,null,null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,4,[\\\"url\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"header absolute top-0 left-0 right-0 flex items-start white pa1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[51,[30,2]],[[[1,\\\"          \\\"],[10,1],[14,0,\\\"font-xs ellipsis\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[30,4,[\\\"fontFamily\\\"]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"],[10,1],[14,0,\\\"flex-grow-1\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[8,[39,5],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@onClick\\\"],[\\\"color-inherit\\\",\\\"delete\\\",[30,0,[\\\"_onDelete\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"white preview\\\"],[15,5,[30,0,[\\\"previewStyle\\\"]]],[12],[1,\\\"\\\\n        \\\"],[1,[30,6]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,2],[[[1,\\\"        \\\"],[10,1],[14,0,\\\"blue\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,6],[\\\"upload\\\"],[[\\\"class\\\"],[\\\"db\\\"]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"font-sm blue\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[30,7]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-xs secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[30,8]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"]],[]]]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,0,[\\\"_isDisabled\\\"]]],[[[1,\\\"    \\\"],[10,\\\"input\\\"],[15,1,[30,0,[\\\"_for\\\"]]],[14,0,\\\"dn\\\"],[15,\\\"accept\\\",[30,9]],[15,\\\"onchange\\\",[30,0,[\\\"_onChange\\\"]]],[14,4,\\\"file\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@class\\\",\\\"@isSmall\\\",\\\"@label\\\",\\\"@font\\\",\\\"@showLoading\\\",\\\"@previewText\\\",\\\"@title\\\",\\\"@subtitle\\\",\\\"@accept\\\"],false,[\\\"if\\\",\\\"did-insert\\\",\\\"on\\\",\\\"ui-loading\\\",\\\"unless\\\",\\\"ui-icon-button\\\",\\\"svg-jar\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-file-upload/font-input.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaFileUpload = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec2 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec3 = (0, _emberArgTypes.arg)(_propTypes.object), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _dec5 = (0, _emberArgTypes.arg)(_propTypes.func), _dec6 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaFileUpload extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor2, this);\n      /**\n       * whether the upload is disabled\n       *\n       * @argument isDisabled\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isDisabled\", _descriptor3, this);\n      /**\n       * whether the input is small\n       *\n       * @argument isSmall\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isSmall\", _descriptor4, this);\n      /**\n       * the font\n       *\n       * @argument font\n       * @type {Object}\n       */\n      _initializerDefineProperty(this, \"font\", _descriptor5, this);\n      _initializerDefineProperty(this, \"onChange\", _descriptor6, this);\n      _initializerDefineProperty(this, \"onDelete\", _descriptor7, this);\n      _initializerDefineProperty(this, \"onEdit\", _descriptor8, this);\n    }\n    /**\n     * whether the font has an url\n     *\n     * @computed hasUrl\n     * @type {Boolean}\n     */\n    get hasUrl() {\n      var _this$font;\n      return !!((_this$font = this.font) !== null && _this$font !== void 0 && _this$font.url);\n    }\n\n    /**\n     * wether the input is disabled\n     *\n     * @computed _isDisabled\n     * @type {Boolean}\n     * @private\n     */\n    get _isDisabled() {\n      return this.isDisabled || this.hasUrl;\n    }\n\n    /**\n     * the unique id of the input\n     *\n     * @computed _for\n     * @type {String}\n     */\n    get _for() {\n      return `file-input-${(0, _internals.guidFor)(this)}`;\n    }\n\n    /**\n     * the font style of the preview\n     *\n     * @computed previewStyle\n     * @type {String}\n     */\n    get previewStyle() {\n      const {\n        isSmall,\n        font\n      } = this;\n      const style = `\n        font-family: '${font.fontFamily}-${font.weight}';\n        font-weight: ${font.weight};\n        font-size: ${isSmall ? '32px' : '96px'};\n      `;\n      return (0, _template.htmlSafe)(style);\n    }\n    onDidInsert() {\n      const {\n        font\n      } = this;\n      if (font) {\n        (0, _fonts.loadFont)(font.fontFamily, font.url);\n      }\n    }\n    _onClick(e) {\n      var _e$path;\n      // events targeted to the delete button need to be stopped, since the button uses the jQuery click event\n      if (((_e$path = e.path) === null || _e$path === void 0 ? void 0 : _e$path.map(el => el.nodeName).indexOf('BUTTON')) >= 0) return;\n      if (this.hasUrl) {\n        this.onEdit(this.font);\n      }\n    }\n    _onChange(event) {\n      this.onChange(event);\n      const inputElement = document.getElementById(this._for);\n      inputElement.value = '';\n    }\n    _onDelete(event) {\n      event.stopPropagation();\n      this.uiDialog.showConfirm(this.intl.t('routes.corporateDesign.typography.fonts.confirmFontDelete.title'), this.intl.t('routes.corporateDesign.typography.fonts.confirmFontDelete.description', {\n        font: this.font.fontFamily,\n        htmlSafe: true\n      }), () => this.onDelete(this.font), this.intl.t('global.actions.delete'), true, true);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isDisabled\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isSmall\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"font\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"onDelete\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"onEdit\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onDidInsert\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDidInsert\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onDelete\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onDelete\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaFileUpload);\n});","define(\"additive-account/components/aa-file-upload/input\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"ember-arg-types\", \"prop-types\", \"@ember/object/internals\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _emberArgTypes, _propTypes, _internals, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <label\n    class=\"aa-image-upload flex flex-row items-center justify-center\n      {{@class}}\n      {{if @isDisabled 'cdefault' 'cpointer'}}\n      {{if @url 'aa-image-upload__image-set' 'aa-image-upload__no-image-set'}}\n      {{if @isSmall 'aa-image-upload__small'}}\"\n    for={{this._for}}\n  >\n    {{#if @url}}\n      <div\n        class=\"aa-image-upload__image-wrapper w-100 h-100 flex flex-grow-1 justify-center items-center\"\n      >\n        <img class=\"aa-image-upload__image dib w-100\" src={{@url}} alt={{@alt}} />\n      </div>\n      {{#if @showDeleteButton}}\n        <UiIconButton\n          @class=\"aa-image-upload__delete-logo absolute white top-0 right-0 cpointer pa05\"\n          @icon=\"close\"\n          @onClick={{@onDelete}}\n        />\n      {{/if}}\n    {{else if @showLoading}}\n      <div class=\"absolute top-0 right-0 bottom-0 left-0 flex justify-center items-center primary\">\n        <UiLoading />\n      </div>\n    {{else}}\n      <div class=\"w-100 h-100 flex flex-grow-1 justify-center items-center\">\n        {{#if @placeholderTitle}}\n          <div class=\"font-sm blue text-center\">\n            {{@placeholderTitle}}\n          </div>\n        {{else}}\n          {{svg-jar \"camera\"}}\n        {{/if}}\n      </div>\n    {{/if}}\n    {{#unless @isDisabled}}\n      <input type=\"file\" id={{this._for}} class=\"dn\" accept={{@accept}} onchange={{this._onChange}} />\n    {{/unless}}\n  </label>\n  */\n  {\n    \"id\": \"4mGY64TJ\",\n    \"block\": \"[[[10,\\\"label\\\"],[15,0,[29,[\\\"aa-image-upload flex flex-row items-center justify-center\\\\n    \\\",[30,1],\\\"\\\\n    \\\",[52,[30,2],\\\"cdefault\\\",\\\"cpointer\\\"],\\\"\\\\n    \\\",[52,[30,3],\\\"aa-image-upload__image-set\\\",\\\"aa-image-upload__no-image-set\\\"],\\\"\\\\n    \\\",[52,[30,4],\\\"aa-image-upload__small\\\"]]]],[15,\\\"for\\\",[30,0,[\\\"_for\\\"]]],[12],[1,\\\"\\\\n\\\"],[41,[30,3],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"aa-image-upload__image-wrapper w-100 h-100 flex flex-grow-1 justify-center items-center\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,0,\\\"aa-image-upload__image dib w-100\\\"],[15,\\\"src\\\",[30,3]],[15,\\\"alt\\\",[30,5]],[12],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,6],[[[1,\\\"      \\\"],[8,[39,1],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@onClick\\\"],[\\\"aa-image-upload__delete-logo absolute white top-0 right-0 cpointer pa05\\\",\\\"close\\\",[30,7]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],[[[41,[30,8],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"absolute top-0 right-0 bottom-0 left-0 flex justify-center items-center primary\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,2],null,null,null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"w-100 h-100 flex flex-grow-1 justify-center items-center\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,9],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"font-sm blue text-center\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[30,9]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[1,[28,[35,3],[\\\"camera\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]],[]]],[41,[51,[30,2]],[[[1,\\\"    \\\"],[10,\\\"input\\\"],[15,1,[30,0,[\\\"_for\\\"]]],[14,0,\\\"dn\\\"],[15,\\\"accept\\\",[30,10]],[15,\\\"onchange\\\",[30,0,[\\\"_onChange\\\"]]],[14,4,\\\"file\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[\\\"@class\\\",\\\"@isDisabled\\\",\\\"@url\\\",\\\"@isSmall\\\",\\\"@alt\\\",\\\"@showDeleteButton\\\",\\\"@onDelete\\\",\\\"@showLoading\\\",\\\"@placeholderTitle\\\",\\\"@accept\\\"],false,[\\\"if\\\",\\\"ui-icon-button\\\",\\\"ui-loading\\\",\\\"svg-jar\\\",\\\"unless\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-file-upload/input.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaFileUploadInput = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaFileUploadInput extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"onChange\", _descriptor, this);\n    }\n    /**\n     * the unique id of the input\n     *\n     * @computed for\n     * @type {String}\n     */\n    get _for() {\n      return `file-input-${(0, _internals.guidFor)(this)}`;\n    }\n    _onChange(event) {\n      this.onChange(event);\n      const inputElement = document.getElementById(this._for);\n      inputElement.value = '';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"_onChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onChange\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaFileUploadInput);\n});","define(\"additive-account/components/aa-language-switch\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"additive-account/utils/constants\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _constants, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiSelect\n    @class=\"ui-lang-select\"\n    @options={{this.options}}\n    @selected={{this._selectedLocale}}\n    @onChange={{this.onChange}}\n    @customOffset={{4}}\n    @theme=\"dark\"\n    data-test-language-switch\n    as |option language|\n  >\n    <option.item @classNames=\"ui-lang-option\" @value={{language.value}}>\n      {{language.name}}\n    </option.item>\n  </UiSelect>\n  */\n  {\n    \"id\": \"GfE8lOGg\",\n    \"block\": \"[[[8,[39,0],[[24,\\\"data-test-language-switch\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@customOffset\\\",\\\"@theme\\\"],[\\\"ui-lang-select\\\",[30,0,[\\\"options\\\"]],[30,0,[\\\"_selectedLocale\\\"]],[30,0,[\\\"onChange\\\"]],4,\\\"dark\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@classNames\\\",\\\"@value\\\"],[\\\"ui-lang-option\\\",[30,2,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[1,[30,2,[\\\"name\\\"]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1,2]]]]]],[\\\"option\\\",\\\"language\\\"],false,[\\\"ui-select\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-language-switch.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Language switch for unauthenticated Routes\n   *\n   * @class AaLanguageSwitchComponent\n   */\n  let AaLanguageSwitchComponent = _exports.default = (_class = class AaLanguageSwitchComponent extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor2, this);\n    }\n    /**\n     * The language options, for the select.\n     *\n     * The computed key `locale` must be set in order to re-render the options in the new locale\n     * after changing the locale.\n     *\n     * @computed options\n     */\n    get options() {\n      return _constants.APP_LANGUAGES.map(lang => ({\n        name: this.intl.t(`components.aaLanguageSwitch.${lang}`, {\n          locale: this.uiLocale.locale\n        }),\n        value: lang\n      }));\n    }\n    get _selectedLocale() {\n      return this.intl.t(`components.aaLanguageSwitch.${this.uiLocale.locale}`);\n    }\n\n    /**\n     * sets the selected locale\n     *\n     * @function onChange\n     * @param {String} locale\n     */\n    onChange(locale) {\n      if (window && window.localStorage) {\n        localStorage.setItem('locale', locale);\n      }\n      this.uiLocale.setLocale(locale);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onChange\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaLanguageSwitchComponent);\n});","define(\"additive-account/components/aa-modules-modal\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"ember-arg-types\", \"prop-types\", \"@glimmer/tracking\", \"@ember/service\", \"ember-concurrency\", \"@ember/object\", \"additive-account/utils/constants\", \"@ember/template-factory\"], function (_exports, _component, _component2, _emberArgTypes, _propTypes, _tracking, _service, _emberConcurrency, _object, _constants, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiModal @size=\"md\" @onClose={{this.close}} as |m|>\n    <m.header />\n    <m.content as |c|>\n      <c.body>\n        <div class=\"font-sm pb2 secondary\">\n          {{this.app.name}}\n        </div>\n        <div class=\"font-lg pb3\">\n          {{t \"routes.apps.actions.selectModules\"}}\n        </div>\n        {{#if this.fetchModules.isRunning}}\n          <UiSkeleton @items={{3}} @itemsPerRow={{1}} @cardHeight={{90}} @gap={{20}} />\n        {{else}}\n          {{#each this._modules as |module|}}\n            <div\n              class=\"font-sm bg-secondary--10 bg-secondary--20--hover ph2 pv2 mb1 cpointer br1 ba b--white-10 aa-modules-border\n                {{if module.selected 'b--blue'}}\"\n              role=\"button\"\n              {{on\n                \"click\"\n                (fn\n                  (mut module.selected)\n                  (if this.saveModules.isRunning module.selected (not module.selected))\n                )\n              }}\n            >\n              <div class=\"flex items-center {{if module.selected 'blue'}}\">\n                <UiCheckbox @value={{module.selected}} @bubbles={{true}} />\n                <div class=\"flex-column\"></div>\n                <div class=\"ph1\">\n                  {{module.name}}\n                </div>\n                {{#if module.amount}}\n                  <span class=\"flex-grow-1\"></span>\n                  <div>\n                    {{concat\n                      (ui-format-currency module.amount \"EUR\" this.currentUser.user.language 0 0)\n                      (t \"routes.apps.perMonth\")\n                    }}\n                  </div>\n                {{/if}}\n              </div>\n              <div class=\"pl4 pt05 secondary\">\n                {{module.description}}\n              </div>\n            </div>\n          {{/each}}\n        {{/if}}\n      </c.body>\n    </m.content>\n    <m.footer>\n      <UiButton @label={{t \"global.actions.save\"}} @onClick={{perform this.saveModules}} />\n    </m.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"8A7GMzAf\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@onClose\\\"],[\\\"md\\\",[30,0,[\\\"close\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-sm pb2 secondary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"app\\\",\\\"name\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-lg pb3\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.apps.actions.selectModules\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fetchModules\\\",\\\"isRunning\\\"]],[[[1,\\\"        \\\"],[8,[39,3],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[3,1,90,20]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,5],[[28,[37,5],[[30,0,[\\\"_modules\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[11,0],[16,0,[29,[\\\"font-sm bg-secondary--10 bg-secondary--20--hover ph2 pv2 mb1 cpointer br1 ba b--white-10 aa-modules-border\\\\n              \\\",[52,[30,3,[\\\"selected\\\"]],\\\"b--blue\\\"]]]],[24,\\\"role\\\",\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[28,[37,8],[[30,3,[\\\"selected\\\"]]],null],[52,[30,0,[\\\"saveModules\\\",\\\"isRunning\\\"]],[30,3,[\\\"selected\\\"]],[28,[37,9],[[30,3,[\\\"selected\\\"]]],null]]],null]],null],[12],[1,\\\"\\\\n            \\\"],[10,0],[15,0,[29,[\\\"flex items-center \\\",[52,[30,3,[\\\"selected\\\"]],\\\"blue\\\"]]]],[12],[1,\\\"\\\\n              \\\"],[8,[39,10],null,[[\\\"@value\\\",\\\"@bubbles\\\"],[[30,3,[\\\"selected\\\"]],true]],null],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex-column\\\"],[12],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"ph1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,3,[\\\"name\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"amount\\\"]],[[[1,\\\"                \\\"],[10,1],[14,0,\\\"flex-grow-1\\\"],[12],[13],[1,\\\"\\\\n                \\\"],[10,0],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,11],[[28,[37,12],[[30,3,[\\\"amount\\\"]],\\\"EUR\\\",[30,0,[\\\"currentUser\\\",\\\"user\\\",\\\"language\\\"]],0,0],null],[28,[37,1],[\\\"routes.apps.perMonth\\\"],null]],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"pl4 pt05 secondary\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[30,3,[\\\"description\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.save\\\"],null],[28,[37,14],[[30,0,[\\\"saveModules\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"m\\\",\\\"c\\\",\\\"module\\\"],false,[\\\"ui-modal\\\",\\\"t\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"each\\\",\\\"-track-array\\\",\\\"on\\\",\\\"fn\\\",\\\"mut\\\",\\\"not\\\",\\\"ui-checkbox\\\",\\\"concat\\\",\\\"ui-format-currency\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-modules-modal.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaModulesModalComponent = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberConcurrency.task)(function* () {\n    try {\n      var _this$app, _this$currentUser, _this$currentUser2;\n      const adapter = this.store.adapterFor('app-modules');\n      const url = adapter.buildURL((_this$app = this.app) === null || _this$app === void 0 ? void 0 : _this$app.id, (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id);\n      const response = yield this.authenticatedFetch.fetch(url, {\n        headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n          'Accept-Language': ((_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 || (_this$currentUser2 = _this$currentUser2.user) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.language) || 'de'\n        })\n      });\n      if (!(response !== null && response !== void 0 && response.ok)) throw response || new Error();\n      const json = yield response.json();\n      this._modules = json.modules;\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.savedChanges')\n      });\n    }\n  }), _dec3 = (0, _emberConcurrency.task)(function* () {\n    try {\n      var _this$currentUser3, _this$_modules;\n      const adapter = this.store.adapterFor('app-modules');\n      const url = adapter.buildURL(this.app.id, (_this$currentUser3 = this.currentUser) === null || _this$currentUser3 === void 0 || (_this$currentUser3 = _this$currentUser3.currentOrganization) === null || _this$currentUser3 === void 0 ? void 0 : _this$currentUser3.id);\n      let body = {\n        modules: []\n      };\n      (_this$_modules = this._modules) === null || _this$_modules === void 0 || _this$_modules.forEach(element => {\n        if (element.selected) {\n          body.modules.push(element.id);\n        }\n      });\n      const response = yield this.authenticatedFetch.fetch(url, {\n        method: 'PUT',\n        body: JSON.stringify(body)\n      });\n      if (!(response !== null && response !== void 0 && response.ok)) throw response || new Error();\n      yield this.store.findAll('app');\n      this.onClose();\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.savedChanges')\n      });\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.savedChanges')\n      });\n    }\n  }), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _dec5 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaModulesModalComponent extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor2, this);\n      _initializerDefineProperty(this, \"store\", _descriptor3, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      _initializerDefineProperty(this, \"app\", _descriptor6, this);\n      _initializerDefineProperty(this, \"_modules\", _descriptor7, this);\n      _initializerDefineProperty(this, \"_selectedModules\", _descriptor8, this);\n      _initializerDefineProperty(this, \"selected\", _descriptor9, this);\n      _initializerDefineProperty(this, \"fetchModules\", _descriptor10, this);\n      _initializerDefineProperty(this, \"saveModules\", _descriptor11, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor12, this);\n      _initializerDefineProperty(this, \"onSave\", _descriptor13, this);\n      this.fetchModules.perform();\n    }\n    close() {\n      if (this.saveModules.isRunning) return;\n      this.onClose();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"app\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"_modules\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_selectedModules\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"selected\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"fetchModules\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"saveModules\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"onSave\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaModulesModalComponent);\n});","define(\"additive-account/components/aa-organization/detail\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"ember-arg-types\", \"prop-types\", \"@ember/string\", \"dompurify\", \"@ember/template-factory\"], function (_exports, _component, _component2, _emberArgTypes, _propTypes, _string, _dompurify, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"aa-organization__detail ph2 pb3 ph0-md\">\n    <AaOrganization::InfoItem\n      @icon=\"home\"\n      @label={{t \"global.attributes.orgName\"}}\n      @value={{this.organization.name}}\n    />\n  \n    <AaOrganization::InfoItem\n      @icon=\"grid\"\n      @label={{t \"global.attributes.website\"}}\n      @value={{this.organization.website}}\n    />\n  \n    {{#if this.organization.partnerName}}\n      <AaOrganization::InfoItem\n        @class=\"ml05\"\n        @icon=\"org-settings\"\n        @label={{t \"global.attributes.partner\"}}\n        @value={{this.organization.partnerName}}\n      />\n    {{/if}}\n  \n    {{#if this.organization.email}}\n      <AaOrganization::InfoItem\n        @icon=\"at\"\n        @label={{t \"global.attributes.email\"}}\n        @value={{this.organization.email}}\n      />\n    {{/if}}\n  \n    {{#if this.organization.phone}}\n      <AaOrganization::InfoItem\n        @icon=\"phone\"\n        @label={{t \"global.attributes.phoneNumber\"}}\n        @value={{this.organization.phone}}\n      />\n    {{/if}}\n  \n    {{#if this.organization.legalName}}\n      <AaOrganization::InfoItem\n        @icon=\"company\"\n        @label={{t \"global.attributes.legalOrgName\"}}\n        @value={{this.organization.legalName}}\n      />\n    {{/if}}\n  \n    {{#if this.organization.vatId}}\n      <AaOrganization::InfoItem\n        @icon=\"id\"\n        @label={{t \"global.attributes.vatId\"}}\n        @value={{this.organization.vatId}}\n      />\n    {{/if}}\n  \n    {{#if this.address}}\n      <AaOrganization::InfoItem\n        @icon=\"pin\"\n        @label={{t \"global.attributes.address\"}}\n        @value={{this.address}}\n      />\n    {{/if}}\n  \n    {{#if this.showCin}}\n      <AaOrganization::InfoItem\n        @icon=\"id\"\n        @label={{t \"global.attributes.cin\"}}\n        @value={{this.organization.cin}}\n      />\n    {{/if}}\n  \n    {{#if this.organization.timeZone}}\n      <AaOrganization::InfoItem\n        @icon=\"watch\"\n        @label={{t \"global.attributes.timeZone\"}}\n        @value={{this.organization.timeZone}}\n      />\n    {{/if}}\n  \n    {{#if this.organization.currency}}\n      <AaOrganization::InfoItem\n        @icon=\"cash\"\n        @label={{t \"global.attributes.currency\"}}\n        @value={{this.organization.currency}}\n      />\n    {{/if}}\n  \n    <AaOrganization::InfoItem\n      @icon=\"language\"\n      @label={{t \"global.attributes.language\"}}\n      @value={{t (concat \"languageSelect.\" this.organization.language)}}\n    />\n  </div>\n  */\n  {\n    \"id\": \"ERFeMTud\",\n    \"block\": \"[[[10,0],[14,0,\\\"aa-organization__detail ph2 pb3 ph0-md\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"home\\\",[28,[37,1],[\\\"global.attributes.orgName\\\"],null],[30,0,[\\\"organization\\\",\\\"name\\\"]]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"grid\\\",[28,[37,1],[\\\"global.attributes.website\\\"],null],[30,0,[\\\"organization\\\",\\\"website\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"partnerName\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"ml05\\\",\\\"org-settings\\\",[28,[37,1],[\\\"global.attributes.partner\\\"],null],[30,0,[\\\"organization\\\",\\\"partnerName\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"email\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"at\\\",[28,[37,1],[\\\"global.attributes.email\\\"],null],[30,0,[\\\"organization\\\",\\\"email\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"phone\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"phone\\\",[28,[37,1],[\\\"global.attributes.phoneNumber\\\"],null],[30,0,[\\\"organization\\\",\\\"phone\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"legalName\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"company\\\",[28,[37,1],[\\\"global.attributes.legalOrgName\\\"],null],[30,0,[\\\"organization\\\",\\\"legalName\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"vatId\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"id\\\",[28,[37,1],[\\\"global.attributes.vatId\\\"],null],[30,0,[\\\"organization\\\",\\\"vatId\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"address\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"pin\\\",[28,[37,1],[\\\"global.attributes.address\\\"],null],[30,0,[\\\"address\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showCin\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"id\\\",[28,[37,1],[\\\"global.attributes.cin\\\"],null],[30,0,[\\\"organization\\\",\\\"cin\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"timeZone\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"watch\\\",[28,[37,1],[\\\"global.attributes.timeZone\\\"],null],[30,0,[\\\"organization\\\",\\\"timeZone\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"organization\\\",\\\"currency\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"cash\\\",[28,[37,1],[\\\"global.attributes.currency\\\"],null],[30,0,[\\\"organization\\\",\\\"currency\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n  \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"language\\\",[28,[37,1],[\\\"global.attributes.language\\\"],null],[28,[37,1],[[28,[37,3],[\\\"languageSelect.\\\",[30,0,[\\\"organization\\\",\\\"language\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"aa-organization/info-item\\\",\\\"t\\\",\\\"if\\\",\\\"concat\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-organization/detail.hbs\",\n    \"isStrictMode\": false\n  });\n  const sanitize = dirty => _dompurify.default.sanitize(dirty, {\n    ALLOWED_TAGS: []\n  });\n  let AaOrganizationDetail = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _class = class AaOrganizationDetail extends _component2.default {\n    constructor() {\n      super(...arguments);\n      /**\n       * the organization model\n       *\n       * @argument organization\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"organization\", _descriptor, this);\n    }\n    get showCin() {\n      var _this$organization, _this$organization2;\n      return ((_this$organization = this.organization) === null || _this$organization === void 0 ? void 0 : _this$organization.cin) && ((_this$organization2 = this.organization) === null || _this$organization2 === void 0 ? void 0 : _this$organization2.addressCountry) === 'IT';\n    }\n    get address() {\n      let organizationAddress = '';\n      const {\n        addressStreet,\n        addressRegion,\n        addressLocality,\n        addressPostalCode,\n        addressCountry\n      } = this.organization || {};\n      addressStreet && (organizationAddress = `${sanitize(addressStreet)}<br/>`);\n      if (addressLocality) {\n        addressPostalCode ? organizationAddress = `${organizationAddress}${sanitize(addressPostalCode)}, ${sanitize(addressLocality)}<br/>` : organizationAddress = `${organizationAddress}${sanitize(addressLocality)}<br/>`;\n      } else {\n        addressPostalCode && (organizationAddress = `${organizationAddress}${sanitize(addressPostalCode)}<br/>`);\n      }\n      if (addressCountry) {\n        addressRegion ? organizationAddress = `${organizationAddress}${sanitize(addressRegion)}, ${sanitize(addressCountry)}<br/>` : organizationAddress = `${organizationAddress}${sanitize(addressCountry)}<br/>`;\n      } else {\n        addressRegion && (organizationAddress = `${organizationAddress}${sanitize(addressRegion)}<br/>`);\n      }\n      return organizationAddress ? (0, _string.htmlSafe)(organizationAddress) : false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"organization\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaOrganizationDetail);\n});","define(\"additive-account/components/aa-organization/dialog-form\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"ember-changeset\", \"ember-changeset-validations\", \"ember-concurrency\", \"ember-arg-types\", \"prop-types\", \"additive-account/utils/constants\", \"additive-account/validations/organization\", \"@additive-apps/utils/utils/constants\", \"@additive-apps/utils/utils/errors\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _service, _object, _tracking, _emberChangeset, _emberChangesetValidations, _emberConcurrency, _emberArgTypes, _propTypes, _constants, _organization, _constants2, _errors, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <ModelForm\n    @model={{this.organization}}\n    @validation={{this._organizationValidations}}\n    @title={{this.organization.name}}\n    @subtitle={{this.organization.id}}\n    @isPromise={{true}}\n    @onConfirm={{this.onSave}}\n    @onClose={{this.onClose}}\n    as |form changeset|\n  >\n    {{#if changeset.partnerName}}\n      <form.input\n        @label={{t \"global.attributes.partner\"}}\n        @value={{changeset.partnerName}}\n        @isReadOnly={{true}}\n      />\n    {{/if}}\n    <form.input\n      @label={{t \"global.attributes.name\"}}\n      @value={{changeset.name}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.name.validation}}\n    />\n    <form.input\n      @label={{t \"global.attributes.email\"}}\n      @type=\"email\"\n      @value={{changeset.email}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.email.validation}}\n    />\n    <form.input\n      @type=\"tel\"\n      @label={{t \"global.attributes.phoneNumber\"}}\n      @value={{changeset.phone}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.phone.validation}}\n    />\n    <form.input\n      @label={{t \"global.attributes.legalOrgName\"}}\n      @value={{changeset.legalName}}\n      @infoMessage={{t \"global.infoMessages.legalOrgName\"}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.legalName.validation}}\n    />\n    <form.input\n      @label={{t \"global.attributes.vatId\"}}\n      @value={{changeset.vatId}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.vatId.validation}}\n    />\n    <UiSelect\n      @label={{t \"global.attributes.language\"}}\n      @options={{this._languageOptions}}\n      @selected={{t (concat \"languageSelect.\" changeset.language)}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.language.validation}}\n      @onChange={{action (mut changeset.language)}}\n      as |option language|\n    >\n      <option.item @value={{language.value}}>\n        {{language.name}}\n      </option.item>\n    </UiSelect>\n  \n    <UiSelect\n      @label={{t \"global.attributes.country\"}}\n      @valueKey=\"code\"\n      @placeholder={{t \"global.attributes.country\"}}\n      @selected={{country-name changeset.addressCountry this.countries}}\n      @onChange={{action (mut changeset.addressCountry)}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.addressCountry.validation}}\n      @isSearchable={{true}}\n      @options={{this.countries}}\n      as |option item|\n    >\n      <option.item @value={{item.code}} data-test-country-option>\n        {{item.name}}\n      </option.item>\n    </UiSelect>\n  \n    <UiSelect\n      @label={{t \"global.attributes.currency\"}}\n      @placeholder={{t \"global.attributes.currency\"}}\n      @selected={{changeset.currency}}\n      @onChange={{action (mut changeset.currency)}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.currency.validation}}\n      @options={{this._currencyOptions}}\n      as |option currency|\n    >\n      <option.item @value={{currency.value}}>\n        {{currency.value}}\n      </option.item>\n    </UiSelect>\n  \n    <UiSelect\n      @label={{t \"global.attributes.timeZone\"}}\n      @placeholder={{t \"global.attributes.timeZone\"}}\n      @selected={{changeset.timeZone}}\n      @onChange={{action (mut changeset.timeZone)}}\n      @isTouched={{true}}\n      @isSearchable={{true}}\n      @useFullTextSearch={{true}}\n      @options={{this._timeZoneOptions}}\n      as |option timeZone|\n    >\n      <option.item @value={{timeZone.value}}>\n        {{timeZone.name}}\n      </option.item>\n    </UiSelect>\n  \n    {{#if (eq changeset.addressCountry \"IT\")}}\n      <form.input @label={{t \"global.attributes.cin\"}} @value={{changeset.cin}} @isTouched={{true}} />\n    {{/if}}\n  \n    <form.input\n      @label={{t \"global.attributes.city\"}}\n      @value={{changeset.addressLocality}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.addressLocality.validation}}\n    />\n    <div class=\"modelform-inputcontainer flex flex-auto flex-row\">\n      <form.input\n        @classNames=\"w-100 w-70-sm pr1-sm\"\n        @label={{t \"global.attributes.region\"}}\n        @value={{changeset.addressRegion}}\n        @isTouched={{true}}\n        @errorMessage={{changeset.error.addressRegion.validation}}\n      />\n      <form.input\n        @classNames=\"w-100 w-30-sm pl1-sm\"\n        @label={{t \"global.attributes.postalCode\"}}\n        @value={{changeset.addressPostalCode}}\n        @isTouched={{true}}\n        @errorMessage={{changeset.error.addressPostalCode.validation}}\n      />\n    </div>\n    <form.input\n      @label={{t \"global.attributes.street\"}}\n      @value={{changeset.addressStreet}}\n      @isTouched={{true}}\n      @errorMessage={{changeset.error.addressStreet.validation}}\n    />\n  \n    {{#if this.isSuperAdmin}}\n      <div class=\"bt b--black-10 mt1 mb2\"></div>\n  \n      <UiInput\n        @label={{t \"global.attributes.website\"}}\n        @value={{this._domainSettingsChangeset.website}}\n        @isTouched={{true}}\n        @errorMessage={{this._domainSettingsChangeset.error.website.validation}}\n        @type=\"url\"\n      />\n  \n      {{#if this.organizationDomainSettings.hasVerifiedSubdomain}}\n        <div class=\"flex\">\n          <UiInput\n            @label={{t \"global.attributes.landingPage\"}}\n            @value={{this._domainSettingsChangeset.subdomain}}\n            @isTouched={{true}}\n            @errorMessage={{this._domainSettingsChangeset.error.subdomain.validation}}\n            @type=\"url\"\n            as |input|\n          >\n            <input.left>\n              {{this._subdomainPrefix}}\n            </input.left>\n          </UiInput>\n          <UiInput\n            @placeholder={{this._extractedDomain}}\n            @isDisabled={{true}}\n            @isTouched={{true}}\n          />\n        </div>\n      {{/if}}\n  \n      <UiDatetimePicker\n        @class=\"flex-row gap1\"\n        @dateLabel={{t \"global.attributes.scheduledDate\"}}\n        @timeLabel={{t \"global.attributes.scheduledTime\"}}\n        @minDate={{this._minDate}}\n        @onChange={{fn (mut this._domainSettingsChangeset.scheduledAt)}}\n        @isTouched={{true}}\n        @dateErrorMessage={{this._domainSettingsChangeset.error.scheduledAt.validation}}\n      />\n    {{/if}}\n  </ModelForm>\n  */\n  {\n    \"id\": \"SEaJl0X4\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@model\\\",\\\"@validation\\\",\\\"@title\\\",\\\"@subtitle\\\",\\\"@isPromise\\\",\\\"@onConfirm\\\",\\\"@onClose\\\"],[[30,0,[\\\"organization\\\"]],[30,0,[\\\"_organizationValidations\\\"]],[30,0,[\\\"organization\\\",\\\"name\\\"]],[30,0,[\\\"organization\\\",\\\"id\\\"]],true,[30,0,[\\\"onSave\\\"]],[30,0,[\\\"onClose\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"partnerName\\\"]],[[[1,\\\"    \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isReadOnly\\\"],[[28,[37,2],[\\\"global.attributes.partner\\\"],null],[30,2,[\\\"partnerName\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,2],[\\\"global.attributes.name\\\"],null],[30,2,[\\\"name\\\"]],true,[30,2,[\\\"error\\\",\\\"name\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,2],[\\\"global.attributes.email\\\"],null],\\\"email\\\",[30,2,[\\\"email\\\"]],true,[30,2,[\\\"error\\\",\\\"email\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@type\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[\\\"tel\\\",[28,[37,2],[\\\"global.attributes.phoneNumber\\\"],null],[30,2,[\\\"phone\\\"]],true,[30,2,[\\\"error\\\",\\\"phone\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@infoMessage\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,2],[\\\"global.attributes.legalOrgName\\\"],null],[30,2,[\\\"legalName\\\"]],[28,[37,2],[\\\"global.infoMessages.legalOrgName\\\"],null],true,[30,2,[\\\"error\\\",\\\"legalName\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,2],[\\\"global.attributes.vatId\\\"],null],[30,2,[\\\"vatId\\\"]],true,[30,2,[\\\"error\\\",\\\"vatId\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@onChange\\\"],[[28,[37,2],[\\\"global.attributes.language\\\"],null],[30,0,[\\\"_languageOptions\\\"]],[28,[37,2],[[28,[37,4],[\\\"languageSelect.\\\",[30,2,[\\\"language\\\"]]],null]],null],true,[30,2,[\\\"error\\\",\\\"language\\\",\\\"validation\\\"]],[28,[37,5],[[30,0],[28,[37,6],[[30,2,[\\\"language\\\"]]],null]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,4,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[30,4,[\\\"name\\\"]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[3,4]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@valueKey\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@isSearchable\\\",\\\"@options\\\"],[[28,[37,2],[\\\"global.attributes.country\\\"],null],\\\"code\\\",[28,[37,2],[\\\"global.attributes.country\\\"],null],[28,[37,7],[[30,2,[\\\"addressCountry\\\"]],[30,0,[\\\"countries\\\"]]],null],[28,[37,5],[[30,0],[28,[37,6],[[30,2,[\\\"addressCountry\\\"]]],null]],null],true,[30,2,[\\\"error\\\",\\\"addressCountry\\\",\\\"validation\\\"]],true,[30,0,[\\\"countries\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"item\\\"]],[[24,\\\"data-test-country-option\\\",\\\"\\\"]],[[\\\"@value\\\"],[[30,6,[\\\"code\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[30,6,[\\\"name\\\"]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[5,6]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@options\\\"],[[28,[37,2],[\\\"global.attributes.currency\\\"],null],[28,[37,2],[\\\"global.attributes.currency\\\"],null],[30,2,[\\\"currency\\\"]],[28,[37,5],[[30,0],[28,[37,6],[[30,2,[\\\"currency\\\"]]],null]],null],true,[30,2,[\\\"error\\\",\\\"currency\\\",\\\"validation\\\"]],[30,0,[\\\"_currencyOptions\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,8,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[30,8,[\\\"value\\\"]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[7,8]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isTouched\\\",\\\"@isSearchable\\\",\\\"@useFullTextSearch\\\",\\\"@options\\\"],[[28,[37,2],[\\\"global.attributes.timeZone\\\"],null],[28,[37,2],[\\\"global.attributes.timeZone\\\"],null],[30,2,[\\\"timeZone\\\"]],[28,[37,5],[[30,0],[28,[37,6],[[30,2,[\\\"timeZone\\\"]]],null]],null],true,true,true,[30,0,[\\\"_timeZoneOptions\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,10,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[30,10,[\\\"name\\\"]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[9,10]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,8],[[30,2,[\\\"addressCountry\\\"]],\\\"IT\\\"],null],[[[1,\\\"    \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\"],[[28,[37,2],[\\\"global.attributes.cin\\\"],null],[30,2,[\\\"cin\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,2],[\\\"global.attributes.city\\\"],null],[30,2,[\\\"addressLocality\\\"]],true,[30,2,[\\\"error\\\",\\\"addressLocality\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"modelform-inputcontainer flex flex-auto flex-row\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@classNames\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[\\\"w-100 w-70-sm pr1-sm\\\",[28,[37,2],[\\\"global.attributes.region\\\"],null],[30,2,[\\\"addressRegion\\\"]],true,[30,2,[\\\"error\\\",\\\"addressRegion\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@classNames\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[\\\"w-100 w-30-sm pl1-sm\\\",[28,[37,2],[\\\"global.attributes.postalCode\\\"],null],[30,2,[\\\"addressPostalCode\\\"]],true,[30,2,[\\\"error\\\",\\\"addressPostalCode\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,2],[\\\"global.attributes.street\\\"],null],[30,2,[\\\"addressStreet\\\"]],true,[30,2,[\\\"error\\\",\\\"addressStreet\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isSuperAdmin\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"bt b--black-10 mt1 mb2\\\"],[12],[13],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@type\\\"],[[28,[37,2],[\\\"global.attributes.website\\\"],null],[30,0,[\\\"_domainSettingsChangeset\\\",\\\"website\\\"]],true,[30,0,[\\\"_domainSettingsChangeset\\\",\\\"error\\\",\\\"website\\\",\\\"validation\\\"]],\\\"url\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"organizationDomainSettings\\\",\\\"hasVerifiedSubdomain\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@type\\\"],[[28,[37,2],[\\\"global.attributes.landingPage\\\"],null],[30,0,[\\\"_domainSettingsChangeset\\\",\\\"subdomain\\\"]],true,[30,0,[\\\"_domainSettingsChangeset\\\",\\\"error\\\",\\\"subdomain\\\",\\\"validation\\\"]],\\\"url\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,11,[\\\"left\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[30,0,[\\\"_subdomainPrefix\\\"]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[11]]]]],[1,\\\"\\\\n        \\\"],[8,[39,9],null,[[\\\"@placeholder\\\",\\\"@isDisabled\\\",\\\"@isTouched\\\"],[[30,0,[\\\"_extractedDomain\\\"]],true,true]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n    \\\"],[8,[39,10],null,[[\\\"@class\\\",\\\"@dateLabel\\\",\\\"@timeLabel\\\",\\\"@minDate\\\",\\\"@onChange\\\",\\\"@isTouched\\\",\\\"@dateErrorMessage\\\"],[\\\"flex-row gap1\\\",[28,[37,2],[\\\"global.attributes.scheduledDate\\\"],null],[28,[37,2],[\\\"global.attributes.scheduledTime\\\"],null],[30,0,[\\\"_minDate\\\"]],[28,[37,11],[[28,[37,6],[[30,0,[\\\"_domainSettingsChangeset\\\",\\\"scheduledAt\\\"]]],null]],null],true,[30,0,[\\\"_domainSettingsChangeset\\\",\\\"error\\\",\\\"scheduledAt\\\",\\\"validation\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[1,2]]]]]],[\\\"form\\\",\\\"changeset\\\",\\\"option\\\",\\\"language\\\",\\\"option\\\",\\\"item\\\",\\\"option\\\",\\\"currency\\\",\\\"option\\\",\\\"timeZone\\\",\\\"input\\\"],false,[\\\"model-form\\\",\\\"if\\\",\\\"t\\\",\\\"ui-select\\\",\\\"concat\\\",\\\"action\\\",\\\"mut\\\",\\\"country-name\\\",\\\"eq\\\",\\\"ui-input\\\",\\\"ui-datetime-picker\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-organization/dialog-form.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaOrganizationDialogForm = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberArgTypes.arg)(_propTypes.array), _dec4 = (0, _emberConcurrency.task)(function* (changeset) {\n    try {\n      yield changeset.validate();\n      if (changeset.get('isValid')) {\n        const intl = this.intl;\n        yield changeset.save();\n      }\n    } catch (error) {\n      const {\n        detail\n      } = (0, _errors.getAdapterError)(error);\n      detail && detail === 'vat_id_invalid' && changeset.addError('vatId', [this.intl.t('global.errors.invalidVatId')]);\n    }\n  }), _dec5 = (0, _emberConcurrency.task)(function* () {\n    var _this$_domainSettings;\n    yield this._domainSettingsChangeset.validate();\n    if (!this._domainSettingsChangeset.get('isValid')) {\n      return;\n    }\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/domain-swap`;\n    const subdomain = `${this._subdomainPrefix}${this._domainSettingsChangeset.get('subdomain')}${this._extractedDomain}`;\n    let body = {\n      newDomain: this._domainSettingsChangeset.website,\n      newSubdomain: this._domainSettingsChangeset.get('subdomain') ? subdomain : null,\n      scheduledAt: (_this$_domainSettings = this._domainSettingsChangeset.get('scheduledAt')) === null || _this$_domainSettings === void 0 ? void 0 : _this$_domainSettings.toISOString()\n    };\n    const apiResponse = yield this.authenticatedFetch.fetch(url, {\n      method: 'POST',\n      body: JSON.stringify(body)\n    });\n    if (!(apiResponse !== null && apiResponse !== void 0 && apiResponse.ok)) {\n      if ((apiResponse === null || apiResponse === void 0 ? void 0 : apiResponse.status) === 422) {\n        const json = yield apiResponse.json();\n        this.uiDialog.showError(this.intl.t('global.toasts.error.title'), json === null || json === void 0 ? void 0 : json.message);\n      }\n      throw new Error();\n    }\n  }), _dec6 = (0, _emberConcurrency.task)(function* (changeset) {\n    try {\n      if (this._domainSettingsChangeset.isDirty) {\n        yield this._domainSettingsChangeset.validate();\n        if (!this._domainSettingsChangeset.get('isValid')) {\n          return;\n        }\n        yield this.updateDomainSettings.perform();\n      }\n      if (changeset.isDirty) {\n        yield this.updateOrganisationData.perform(changeset);\n      }\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        duration: 2000\n      });\n      this.onClose();\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _dec7 = (0, _emberArgTypes.arg)(_propTypes.func), _dec8 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/time-zones`);\n      if (!response || !response.ok) {\n        throw new Error('[TIME-ZONES] Error in response');\n      }\n      const data = yield response.json();\n      if (data !== null && data !== void 0 && data.length) {\n        this._timeZoneOptions = data.map(tz => ({\n          value: tz,\n          name: tz\n        }));\n      }\n    } catch (error) {\n      // Handle error silently, keep empty array\n    }\n  }), _class = class AaOrganizationDialogForm extends _component2.default {\n    get _minDate() {\n      return new Date();\n    }\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    get _extractedDomain() {\n      var _this$_domainSettings2, _website$slice;\n      if (this._domainPrefix.length === 0) {\n        return '';\n      }\n      const website = (_this$_domainSettings2 = this._domainSettingsChangeset.get('website')) !== null && _this$_domainSettings2 !== void 0 ? _this$_domainSettings2 : '';\n      const domain = (_website$slice = website.slice(this._domainPrefix.length)) !== null && _website$slice !== void 0 ? _website$slice : '';\n      return domain ? `.${domain}` : '';\n    }\n    get _domainPrefix() {\n      var _this$_domainSettings3, _this$_domainSettings4;\n      return (_this$_domainSettings3 = (_this$_domainSettings4 = this._domainSettingsChangeset.get('website')) === null || _this$_domainSettings4 === void 0 || (_this$_domainSettings4 = _this$_domainSettings4.match(/^(https?:\\/\\/)?(www\\.)?/)) === null || _this$_domainSettings4 === void 0 ? void 0 : _this$_domainSettings4[0]) !== null && _this$_domainSettings3 !== void 0 ? _this$_domainSettings3 : '';\n    }\n    get _subdomainPrefix() {\n      return 'https://';\n    }\n    get isSuperAdmin() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 || (_this$currentUser2 = _this$currentUser2.user) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isSuperAdmin;\n    }\n    constructor() {\n      var _currentDomain$match;\n      super(...arguments);\n      _initializerDefineProperty(this, \"uiAppSettings\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor6, this);\n      /**\n       * the organization to edit\n       *\n       * @argument organization\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"organization\", _descriptor7, this);\n      /**\n       * the organization domain settings\n       *\n       * @argument organizationDomainSettings\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"organizationDomainSettings\", _descriptor8, this);\n      /**\n       * the available countries\n       *\n       * @argument countries\n       * @type {Array}\n       * @default []\n       */\n      _initializerDefineProperty(this, \"countries\", _descriptor9, this);\n      /**\n       * the available language options\n       *\n       * @property _languageOptions\n       * @type {Array}\n       * @private\n       */\n      _defineProperty(this, \"_languageOptions\", _constants.APP_LANGUAGES.map(lang => ({\n        name: this.intl.t(`languageSelect.${lang}`),\n        value: lang\n      })));\n      /**\n       * the available currency options\n       *\n       * @property _currencyOptions\n       * @type {Array}\n       * @private\n       */\n      _defineProperty(this, \"_currencyOptions\", Object.keys(_constants2.CURRENCY_SYMBOLS).map(currencyCode => ({\n        value: currencyCode\n      })));\n      /**\n       * the available time zone options\n       *\n       * @property _timeZoneOptions\n       * @type {Array}\n       * @private\n       */\n      _initializerDefineProperty(this, \"_timeZoneOptions\", _descriptor10, this);\n      /**\n       * the domain settings changeset\n       *\n       * @property _domainSettingsChangeset\n       * @type {Changeset}\n       * @private\n       */\n      _initializerDefineProperty(this, \"_domainSettingsChangeset\", _descriptor11, this);\n      /**\n       * the organization validations\n       *\n       * @property _organizationValidations\n       * @type {Object}\n       * @private\n       */\n      _defineProperty(this, \"_organizationValidations\", (0, _organization.extendedOrganization)(this.intl));\n      _initializerDefineProperty(this, \"updateOrganisationData\", _descriptor12, this);\n      _initializerDefineProperty(this, \"updateDomainSettings\", _descriptor13, this);\n      _initializerDefineProperty(this, \"_save\", _descriptor14, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor15, this);\n      _initializerDefineProperty(this, \"_fetchTimeZones\", _descriptor16, this);\n      this._fetchTimeZones.perform();\n      const {\n        currentDomain,\n        currentSubdomain,\n        hasVerifiedSubdomain\n      } = this.organizationDomainSettings;\n      const rootDomain = currentDomain === null || currentDomain === void 0 || (_currentDomain$match = currentDomain.match(/\\..+/)) === null || _currentDomain$match === void 0 ? void 0 : _currentDomain$match[0];\n      const domainValidation = (0, _organization.organizationDomainSettings)(this.intl, hasVerifiedSubdomain);\n      this._domainSettingsChangeset = new _emberChangeset.default({\n        website: currentDomain,\n        subdomain: rootDomain && currentSubdomain !== null && currentSubdomain !== void 0 && currentSubdomain.endsWith(rootDomain) ? currentSubdomain.slice(0, -rootDomain.length) : null,\n        scheduledAt: null\n      }, (0, _emberChangesetValidations.default)(domainValidation), domainValidation);\n    }\n    async onSave(changeset) {\n      if (!changeset) {\n        return;\n      }\n      const isWrongCurrency = changeset.get('currency') === 'CHF' && changeset.get('addressCountry') && ['CH', 'LI'].indexOf(changeset.get('addressCountry')) === -1;\n      if (isWrongCurrency) {\n        this.uiDialog.showConfirm(this.intl.t('global.dialogs.currencyWarning.title'), this.intl.t('global.dialogs.currencyWarning.message'), () => {\n          return this.updateOrganisationData.perform(changeset);\n        }, this.intl.t('global.actions.save'), true, true);\n        return;\n      }\n\n      // clear the CIN if the country is not Italy\n      if (changeset.get('addressCountry') !== 'IT' && changeset.get('cin')) {\n        changeset.set('cin', '');\n      }\n      await this._save.perform(changeset);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"uiAppSettings\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"organization\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"organizationDomainSettings\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"countries\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_timeZoneOptions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_domainSettingsChangeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"updateOrganisationData\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"updateDomainSettings\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"_save\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSave\"), _class.prototype), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"_fetchTimeZones\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaOrganizationDialogForm);\n});","define(\"additive-account/components/aa-organization/domain-swap-information\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\", \"ember-concurrency\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _object, _service, _tracking, _emberConcurrency, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiNavigationDrawer\n    @navDrawerStateKey={{this.navDrawerKey}}\n    @isRight={{true}}\n    @isPermanent={{false}}\n    @onClose={{@onClose}}\n    {{did-insert this.onDidInsert}}\n    as |navDrawer|\n  >\n    <navDrawer.navbar\n      @title={{t \"instance.domainSwapInformation.title\"}}\n      @onClose={{navDrawer.close}}\n    />\n  \n    <navDrawer.content>\n      <div class=\"font-lg primary pb3\">\n        {{t \"instance.domainSwapInformation.title\"}}\n      </div>\n  \n      {{#if this.fetchHistory.isRunning}}\n        <UiSkeleton @items={{1}} @itemsPerRow={{1}} @cardHeight={{16}} @gap={{24}} />\n  \n        <UiSkeleton @items={{4}} @itemsPerRow={{1}} @cardHeight={{120}} @gap={{4}} />\n      {{else if this.history.length}}\n        <div class=\"flex justify-between items-center pb2\">\n          <div class=\"font-sm\">\n            {{t \"instance.domainSwapInformation.count\" count=this.total}}\n          </div>\n          <UiPagination\n            @total={{this.lastPage}}\n            @currentPage={{this.currentPage}}\n            @hidePages={{true}}\n            @onPageChange={{this.onPageChange}}\n          />\n        </div>\n  \n        <div class=\"flex flex-column gap1\">\n          {{#each this.history as |swap|}}\n            <div class=\"br1 pa2 bg-secondary--10 flex flex-column\">\n              <div class=\"flex justify-between items-center pb1\">\n                <div class=\"font-sm font-medium secondary\">\n                  {{#if (eq swap.status \"completed\")}}\n                    {{format-date swap.executed_at}}\n                    {{format-time swap.executed_at format=\"hhmm\"}}\n                  {{else}}\n                    {{format-date swap.scheduled_at}}\n                    {{format-time swap.scheduled_at format=\"hhmm\"}}\n                  {{/if}}\n                </div>\n                {{#if (eq swap.status \"completed\")}}\n                  {{svg-jar \"success-state\" class=\"green\" width=\"20\" height=\"20\"}}\n                {{else if (eq swap.status \"error\")}}\n                  {{svg-jar \"error-state\" class=\"red\" width=\"20\" height=\"20\"}}\n                {{else}}\n                  {{svg-jar \"warning-state\" class=\"yellow\" width=\"20\" height=\"20\"}}\n                {{/if}}\n              </div>\n  \n              <div class=\"flex justify-between pv05 font-sm\">\n                <div class=\"secondary\">\n                  {{t \"instance.domainSwapInformation.newDomain\"}}\n                </div>\n                <div class=\"primary word-break\">\n                  {{#if swap.new_domain}}\n                    {{swap.new_domain}}\n                  {{else}}\n                    -\n                  {{/if}}\n                </div>\n              </div>\n  \n              <div class=\"flex justify-between pv05 font-sm\">\n                <div class=\"secondary\">\n                  {{t \"instance.domainSwapInformation.newSubdomain\"}}\n                </div>\n                <div class=\"primary word-break\">\n                  {{#if swap.new_subdomain}}\n                    {{swap.new_subdomain}}\n                  {{else}}\n                    -\n                  {{/if}}\n                </div>\n              </div>\n  \n              {{#if (and this.isSuperAdmin (eq swap.status \"scheduled\"))}}\n                <div class=\"flex justify-end pt2\">\n                  <UiButton\n                    @label={{t \"instance.domainSwapInformation.revoke\"}}\n                    @isSecondary={{true}}\n                    @isDanger={{true}}\n                    @onClick={{fn this.confirmRevoke swap}}\n                  />\n                </div>\n              {{/if}}\n            </div>\n          {{/each}}\n        </div>\n      {{else}}\n        <div class=\"font-sm secondary tc pv3\">\n          {{t \"instance.domainSwapInformation.empty\"}}\n        </div>\n      {{/if}}\n    </navDrawer.content>\n  </UiNavigationDrawer>\n  \n  */\n  {\n    \"id\": \"hkYsUp6c\",\n    \"block\": \"[[[8,[39,0],[[4,[38,1],[[30,0,[\\\"onDidInsert\\\"]]],null]],[[\\\"@navDrawerStateKey\\\",\\\"@isRight\\\",\\\"@isPermanent\\\",\\\"@onClose\\\"],[[30,0,[\\\"navDrawerKey\\\"]],true,false,[30,1]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,2,[\\\"navbar\\\"]],null,[[\\\"@title\\\",\\\"@onClose\\\"],[[28,[37,2],[\\\"instance.domainSwapInformation.title\\\"],null],[30,2,[\\\"close\\\"]]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,2,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"font-lg primary pb3\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],[\\\"instance.domainSwapInformation.title\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"fetchHistory\\\",\\\"isRunning\\\"]],[[[1,\\\"      \\\"],[8,[39,4],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[1,1,16,24]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,4],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[4,1,120,4]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"history\\\",\\\"length\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"flex justify-between items-center pb2\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-sm\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,2],[\\\"instance.domainSwapInformation.count\\\"],[[\\\"count\\\"],[[30,0,[\\\"total\\\"]]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[8,[39,5],null,[[\\\"@total\\\",\\\"@currentPage\\\",\\\"@hidePages\\\",\\\"@onPageChange\\\"],[[30,0,[\\\"lastPage\\\"]],[30,0,[\\\"currentPage\\\"]],true,[30,0,[\\\"onPageChange\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-column gap1\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"history\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[10,0],[14,0,\\\"br1 pa2 bg-secondary--10 flex flex-column\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex justify-between items-center pb1\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm font-medium secondary\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,3,[\\\"status\\\"]],\\\"completed\\\"],null],[[[1,\\\"                  \\\"],[1,[28,[35,9],[[30,3,[\\\"executed_at\\\"]]],null]],[1,\\\"\\\\n                  \\\"],[1,[28,[35,10],[[30,3,[\\\"executed_at\\\"]]],[[\\\"format\\\"],[\\\"hhmm\\\"]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                  \\\"],[1,[28,[35,9],[[30,3,[\\\"scheduled_at\\\"]]],null]],[1,\\\"\\\\n                  \\\"],[1,[28,[35,10],[[30,3,[\\\"scheduled_at\\\"]]],[[\\\"format\\\"],[\\\"hhmm\\\"]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"              \\\"],[13],[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,3,[\\\"status\\\"]],\\\"completed\\\"],null],[[[1,\\\"                \\\"],[1,[28,[35,11],[\\\"success-state\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"green\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,8],[[30,3,[\\\"status\\\"]],\\\"error\\\"],null],[[[1,\\\"                \\\"],[1,[28,[35,11],[\\\"error-state\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"red\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                \\\"],[1,[28,[35,11],[\\\"warning-state\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"yellow\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n              \\\"]],[]]]],[]]],[1,\\\"            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"flex justify-between pv05 font-sm\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,2],[\\\"instance.domainSwapInformation.newDomain\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"primary word-break\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"new_domain\\\"]],[[[1,\\\"                  \\\"],[1,[30,3,[\\\"new_domain\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                  -\\\\n\\\"]],[]]],[1,\\\"              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"flex justify-between pv05 font-sm\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,2],[\\\"instance.domainSwapInformation.newSubdomain\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"primary word-break\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"new_subdomain\\\"]],[[[1,\\\"                  \\\"],[1,[30,3,[\\\"new_subdomain\\\"]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                  -\\\\n\\\"]],[]]],[1,\\\"              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,12],[[30,0,[\\\"isSuperAdmin\\\"]],[28,[37,8],[[30,3,[\\\"status\\\"]],\\\"scheduled\\\"],null]],null],[[[1,\\\"              \\\"],[10,0],[14,0,\\\"flex justify-end pt2\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@isSecondary\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"instance.domainSwapInformation.revoke\\\"],null],true,true,[28,[37,14],[[30,0,[\\\"confirmRevoke\\\"]],[30,3]],null]]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"font-sm secondary tc pv3\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"instance.domainSwapInformation.empty\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]],[]]],[1,\\\"  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[\\\"@onClose\\\",\\\"navDrawer\\\",\\\"swap\\\"],false,[\\\"ui-navigation-drawer\\\",\\\"did-insert\\\",\\\"t\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"ui-pagination\\\",\\\"each\\\",\\\"-track-array\\\",\\\"eq\\\",\\\"format-date\\\",\\\"format-time\\\",\\\"svg-jar\\\",\\\"and\\\",\\\"ui-button\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-organization/domain-swap-information.hbs\",\n    \"isStrictMode\": false\n  });\n  const NAV_DRAWER_KEY = 'aa-organization-domain-swap-information';\n  let AaOrganizationDomainSwapInformation = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.func), _dec3 = (0, _emberArgTypes.arg)(_propTypes.func), _dec4 = (0, _emberConcurrency.task)(function () {\n    var _this = this;\n    let page = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n    return function* (_json$data, _json$meta$current_pa, _json$meta, _json$meta$last_page, _json$meta2, _json$meta$total, _json$meta3) {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${_this.organizationId}/domain-swap/history?page=${page}`;\n      const response = yield _this.authenticatedFetch.fetch(url);\n      if (!(response !== null && response !== void 0 && response.ok)) {\n        _this.history = [];\n        _this.currentPage = 1;\n        _this.lastPage = 1;\n        _this.total = 0;\n        return;\n      }\n      const json = yield response.json();\n      _this.history = (_json$data = json === null || json === void 0 ? void 0 : json.data) !== null && _json$data !== void 0 ? _json$data : [];\n      _this.currentPage = (_json$meta$current_pa = json === null || json === void 0 || (_json$meta = json.meta) === null || _json$meta === void 0 ? void 0 : _json$meta.current_page) !== null && _json$meta$current_pa !== void 0 ? _json$meta$current_pa : 1;\n      _this.lastPage = (_json$meta$last_page = json === null || json === void 0 || (_json$meta2 = json.meta) === null || _json$meta2 === void 0 ? void 0 : _json$meta2.last_page) !== null && _json$meta$last_page !== void 0 ? _json$meta$last_page : 1;\n      _this.total = (_json$meta$total = json === null || json === void 0 || (_json$meta3 = json.meta) === null || _json$meta3 === void 0 ? void 0 : _json$meta3.total) !== null && _json$meta$total !== void 0 ? _json$meta$total : _this.history.length;\n    }();\n  }), _dec5 = (0, _emberConcurrency.task)(function* (swap) {\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/domain-swap/${swap.id}`;\n    const response = yield this.authenticatedFetch.fetch(url, {\n      method: 'DELETE'\n    });\n    if ((response === null || response === void 0 ? void 0 : response.status) === 204) {\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.changes.title'),\n        duration: 2000\n      });\n      this.onSwapRevoked();\n      yield this.fetchHistory.perform();\n      return;\n    }\n    this.uiDialog.showError();\n  }), _class = class AaOrganizationDomainSwapInformation extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiState\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor6, this);\n      _initializerDefineProperty(this, \"organizationId\", _descriptor7, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor8, this);\n      _initializerDefineProperty(this, \"onSwapRevoked\", _descriptor9, this);\n      _defineProperty(this, \"navDrawerKey\", NAV_DRAWER_KEY);\n      _initializerDefineProperty(this, \"history\", _descriptor10, this);\n      _initializerDefineProperty(this, \"currentPage\", _descriptor11, this);\n      _initializerDefineProperty(this, \"lastPage\", _descriptor12, this);\n      _initializerDefineProperty(this, \"total\", _descriptor13, this);\n      _initializerDefineProperty(this, \"fetchHistory\", _descriptor14, this);\n      _initializerDefineProperty(this, \"revokeSwap\", _descriptor15, this);\n    }\n    get isSuperAdmin() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.user) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.isSuperAdmin;\n    }\n    onDidInsert() {\n      var _this$uiState$getStat;\n      (_this$uiState$getStat = this.uiState.getState(this.navDrawerKey)) === null || _this$uiState$getStat === void 0 || _this$uiState$getStat.open();\n      this.fetchHistory.perform();\n    }\n    onPageChange(page) {\n      this.fetchHistory.perform(page);\n    }\n    confirmRevoke(swap) {\n      this.uiDialog.showConfirm(this.intl.t('instance.domainSwapInformation.revokeConfirm.title'), this.intl.t('instance.domainSwapInformation.revokeConfirm.description'), () => this.revokeSwap.perform(swap), this.intl.t('instance.domainSwapInformation.revoke'), true);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiState\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"organizationId\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"onSwapRevoked\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"history\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"currentPage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 1;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"lastPage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 1;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"total\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 0;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"fetchHistory\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"revokeSwap\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"onDidInsert\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDidInsert\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onPageChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onPageChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmRevoke\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmRevoke\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaOrganizationDomainSwapInformation);\n});","define(\"additive-account/components/aa-organization/info-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex w-100 pt3 pb1 primary {{@class}}\">\n    <div class=\"icon mr2\">\n      {{svg-jar this.icon}}\n    </div>\n    <div class=\"font-sm flex-grow-1\">\n      <div class=\"secondary\">\n        {{this.label}}\n      </div>\n      <div class=\"primary\">\n        {{this.value}}\n        {{yield}}\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"2eI92y8P\",\n    \"block\": \"[[[10,0],[15,0,[29,[\\\"flex w-100 pt3 pb1 primary \\\",[30,1]]]],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"icon mr2\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,0],[[30,0,[\\\"icon\\\"]]],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"font-sm flex-grow-1\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[30,0,[\\\"label\\\"]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[30,0,[\\\"value\\\"]]],[1,\\\"\\\\n      \\\"],[18,2,null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@class\\\",\\\"&default\\\"],false,[\\\"svg-jar\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-organization/info-item.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaOrganizationInfoItem = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.string), _dec3 = (0, _emberArgTypes.arg)(_propTypes.object | _propTypes.string), _class = class AaOrganizationInfoItem extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"icon\", _descriptor, this);\n      _initializerDefineProperty(this, \"label\", _descriptor2, this);\n      _initializerDefineProperty(this, \"value\", _descriptor3, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"icon\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return '';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"label\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return '';\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"value\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return '';\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaOrganizationInfoItem);\n});","define(\"additive-account/components/aa-settings/closing-periods/detail\", [\"exports\", \"@ember/component\", \"ember-concurrency\", \"@ember/service\", \"@ember/object\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/settings\"], function (_exports, _component, _emberConcurrency, _service, _object, _emberChangeset, _emberChangesetValidations, _settings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Edit and Create dialog for closing period settings\n   *\n   * @module aa-settings/closing-periods\n   * @class detail\n   */\n  var _default = _exports.default = _component.default.extend({\n    intl: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    /**\n     * the changeset for the closingPeriod model\n     *\n     * @property changeset\n     * @type {Changeset}\n     * @default null\n     */\n    changeset: null,\n    /**\n     * the closingPeriod object\n     *\n     * @property closingPeriod\n     * @type {Model}\n     * @default null\n     */\n    closingPeriod: null,\n    /**\n     * the task to re-fetch the models after saving\n     *\n     * @property fetchclosingPeriods\n     * @type {Task}\n     * @default undefined\n     */\n    fetchClosingPeriods: undefined,\n    /**\n     * whether the discard changes dialog is open\n     *\n     * @property isDiscardChangesDialog\n     * @type {Boolean}\n     * @default false\n     */\n    isDiscardChangesDialog: false,\n    /**\n     * the initial selected daterange\n     *\n     * @property _dateRange\n     * @type {Object}\n     * @default null\n     * @private\n     */\n    _dateRange: null,\n    init() {\n      this._super(...arguments);\n      let closingPeriod = this.closingPeriod;\n      if (!closingPeriod) {\n        closingPeriod = this.store.createRecord('closing-time');\n      } else {\n        const startDate = new Date(closingPeriod.from);\n        startDate.setHours(0, 0, 0, 0);\n        const endDate = new Date(closingPeriod.until);\n        endDate.setHours(0, 0, 0, 0);\n        (0, _object.set)(this, '_dateRange', {\n          start: startDate,\n          end: endDate\n        });\n      }\n      const validation = (0, _settings.closingPeriodValidation)(this.intl);\n      const changeset = new _emberChangeset.default(closingPeriod, (0, _emberChangesetValidations.default)(validation), validation);\n      (0, _object.setProperties)(this, {\n        changeset,\n        closingPeriod\n      });\n    },\n    /**\n     * saves room count\n     *\n     * @function save\n     * @type {Task}\n     */\n    save: (0, _emberConcurrency.task)(function* () {\n      try {\n        (0, _object.set)(this, 'isTouched', true);\n        yield this.changeset.validate();\n        if (this.changeset.get('isInvalid')) {\n          return;\n        }\n        yield this.changeset.save();\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.success.changes.title'),\n          description: this.intl.t('global.toasts.success.changes.description'),\n          type: 'success'\n        });\n        this.fetchClosingPeriods.perform();\n        this.onClose();\n      } catch (e) {\n        // display error if period overlaps with another closing period\n        if (e.errors && e.errors[0] && e.errors[0].detail === 'overlaps_another') {\n          this.changeset.pushErrors('until', this.intl.t('routes.settings.closingPeriods.overlapError'));\n        } else {\n          this.uiToast.showToast({\n            title: this.intl.t('global.toasts.delete.error'),\n            description: this.intl.t('global.toasts.error.description'),\n            type: 'error'\n          });\n        }\n      }\n    }),\n    onClose() {},\n    actions: {\n      close() {\n        if (this.changeset.get('isPristine')) {\n          if (this.closingPeriod.isNew) {\n            this.closingPeriod.destroyRecord();\n          }\n          return this.onClose();\n        }\n        (0, _object.set)(this, 'isDiscardChangesDialog', true);\n      },\n      discardChanges() {\n        this.changeset && this.changeset.rollback();\n        if (this.closingPeriod.isNew) {\n          this.closingPeriod.destroyRecord();\n        }\n        this.onClose();\n      },\n      onDateRangeChange(start, end) {\n        if (start && end) {\n          const {\n            changeset\n          } = this;\n          changeset.set('from', start);\n          changeset.set('until', end);\n        }\n      }\n    }\n  });\n});","define(\"additive-account/components/aa-settings/integrations/add-dialog\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"ember-arg-types\", \"prop-types\", \"@ember/service\", \"ember-concurrency\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _object, _emberArgTypes, _propTypes, _service, _emberConcurrency, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiModal\n    @title={{t \"components.aaSettings.integrations.addDialog.title\"}}\n    @description={{t \"components.aaSettings.integrations.addDialog.description\"}}\n    @onClose={{this.close}}\n    as |modal|\n  >\n    <modal.header />\n  \n    <modal.content as |content|>\n      <content.body>\n        <div class=\"font-md pb2\">\n          {{t \"components.aaSettings.integrations.addDialog.description\"}}\n        </div>\n  \n        <UiSelect\n          @label={{t \"components.aaSettings.integrations.addDialog.select.label\"}}\n          @placeholder={{t \"components.aaSettings.integrations.addDialog.select.placeholder\"}}\n          @options={{this._integrations}}\n          @selected={{if\n            this.selectedIntegration\n            (t (concat \"components.aaSettings.integrations.pmsNames.\" this.selectedIntegration))\n          }}\n          @onChange={{fn (mut this.selectedIntegration)}}\n          as |option integration|\n        >\n          <option.item @value={{integration.value}}>\n            {{t (concat \"components.aaSettings.integrations.pmsNames.\" integration.value)}}\n          </option.item>\n        </UiSelect>\n      </content.body>\n    </modal.content>\n  \n    <modal.footer>\n      <UiButton @label={{t \"global.actions.save\"}} @onClick={{perform this._save}} />\n    </modal.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"vPu0M87d\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@onClose\\\"],[[28,[37,1],[\\\"components.aaSettings.integrations.addDialog.title\\\"],null],[28,[37,1],[\\\"components.aaSettings.integrations.addDialog.description\\\"],null],[30,0,[\\\"close\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-md pb2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"components.aaSettings.integrations.addDialog.description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,2],null,[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@onChange\\\"],[[28,[37,1],[\\\"components.aaSettings.integrations.addDialog.select.label\\\"],null],[28,[37,1],[\\\"components.aaSettings.integrations.addDialog.select.placeholder\\\"],null],[30,0,[\\\"_integrations\\\"]],[52,[30,0,[\\\"selectedIntegration\\\"]],[28,[37,1],[[28,[37,4],[\\\"components.aaSettings.integrations.pmsNames.\\\",[30,0,[\\\"selectedIntegration\\\"]]],null]],null]],[28,[37,5],[[28,[37,6],[[30,0,[\\\"selectedIntegration\\\"]]],null]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,4,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[[28,[37,4],[\\\"components.aaSettings.integrations.pmsNames.\\\",[30,4,[\\\"value\\\"]]],null]],null]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"]],[3,4]]]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.save\\\"],null],[28,[37,8],[[30,0,[\\\"_save\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"modal\\\",\\\"content\\\",\\\"option\\\",\\\"integration\\\"],false,[\\\"ui-modal\\\",\\\"t\\\",\\\"ui-select\\\",\\\"if\\\",\\\"concat\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-settings/integrations/add-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaSettingsIntegrationsAddDialog = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.func), _dec2 = (0, _emberArgTypes.arg)(_propTypes.func), _dec3 = (0, _emberConcurrency.task)(function* () {\n    const tasks = [];\n    const integrationEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms`;\n    try {\n      const saveTask = this.authenticatedFetch.fetch(integrationEndpoint, {\n        method: 'POST'\n      }, {\n        pms: {\n          type: this.selectedIntegration\n        }\n      });\n      tasks.push(saveTask);\n      tasks.push((0, _emberConcurrency.timeout)(250));\n      const [response] = yield (0, _emberConcurrency.all)(tasks);\n      if (!response || !response.ok) {\n        throw new Error(`[settings-integration] Could not save integration.`);\n      }\n      const {\n        pms\n      } = yield response.json();\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        type: 'success'\n      });\n      this.onAdd(pms);\n      this.close();\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _class = class AaSettingsIntegrationsAddDialog extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor4, this);\n      _initializerDefineProperty(this, \"selectedIntegration\", _descriptor5, this);\n      /* Available integrations */\n      _defineProperty(this, \"_integrations\", [{\n        value: 'aida'\n      }, {\n        value: 'apaleo'\n      }, {\n        value: 'asa'\n      }, {\n        value: 'casablanca'\n      }, {\n        value: 'elite'\n      }, {\n        value: 'fidelio'\n      }, {\n        value: 'gastmanager'\n      }, {\n        value: 'gastrodat'\n      }, {\n        value: 'guestline'\n      }, {\n        value: 'hugo'\n      }, {\n        value: 'hotel_felix'\n      }, {\n        value: 'mews'\n      }, {\n        value: 'protel'\n      }, {\n        value: 'si_hot'\n      }, {\n        value: 'si_tec'\n      }, {\n        value: 'win_hotel'\n      }, {\n        value: 'opera'\n      }, {\n        value: 'xenus'\n      }]);\n      _initializerDefineProperty(this, \"onAdd\", _descriptor6, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor7, this);\n      _initializerDefineProperty(this, \"_save\", _descriptor8, this);\n    }\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    close() {\n      return this.onClose();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"selectedIntegration\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"onAdd\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_save\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaSettingsIntegrationsAddDialog);\n});","define(\"additive-account/components/aa-settings/integrations/edit-dialog\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"ember-changeset\", \"@ember/object\", \"@glimmer/tracking\", \"ember-arg-types\", \"prop-types\", \"@ember/service\", \"ember-concurrency\", \"ember-changeset-validations\", \"additive-account/validations/settings\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _emberChangeset, _object, _tracking, _emberArgTypes, _propTypes, _service, _emberConcurrency, _emberChangesetValidations, _settings, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiModal @title={{this.dialogTitle}} @onClose={{this.close}} as |modal|>\n    <modal.header />\n    <modal.content {{did-insert this._setup}} as |content|>\n      <content.body>\n        <div class=\"font-md pb2\">\n          {{this.dialogDescription}}\n        </div>\n  \n        {{#if this._setup.isRunning}}\n          <UiSkeleton @class=\"mv2\" @items={{2}} @itemsPerRow={{1}} @cardHeight={{48}} @gap={{30}} />\n        {{else}}\n          {{#each this.authenticationType.fields as |field|}}\n            <UiInput\n              @label={{field.name}}\n              @value={{get this._changeset field.id}}\n              @type=\"text\"\n              @isReadOnly={{not this.isManager}}\n              @name={{field.id}}\n              @errorMessage={{get (get this._changeset.error field.id) \"validation\"}}\n              @isTouched={{this._isTouched}}\n            />\n          {{/each}}\n        {{/if}}\n  \n        {{#if this.requiresUrl}}\n          <UiInput\n            @label={{t (concat \"components.aaSettings.integrations.editDialog.labels.url\")}}\n            @value={{this._changeset.url}}\n            @isReadOnly={{not this.isManager}}\n            @type=\"text\"\n            @name=\"url\"\n            @errorMessage={{get this._changeset.error.url \"validation\"}}\n            @isTouched={{this._isTouched}}\n          />\n        {{/if}}\n      </content.body>\n    </modal.content>\n  \n    <modal.footer>\n      {{#if this._guideUrl}}\n        <UiIconButton\n          @class=\"flex\"\n          @href={{this._guideUrl}}\n          @target=\"_blank\"\n          @label={{t \"components.aaSettings.integrations.editDialog.instructionLink\"}}\n          @icon=\"link\"\n        />\n      {{/if}}\n      <UiButton\n        @class=\"ml-auto\"\n        @label={{t \"global.actions.save\"}}\n        @onClick={{perform this._save}}\n        @isDisabled={{not this.isManager}}\n      />\n    </modal.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"43+QMvl/\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@onClose\\\"],[[30,0,[\\\"dialogTitle\\\"]],[30,0,[\\\"close\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],[[4,[38,1],[[30,0,[\\\"_setup\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-md pb2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"dialogDescription\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_setup\\\",\\\"isRunning\\\"]],[[[1,\\\"        \\\"],[8,[39,3],null,[[\\\"@class\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"mv2\\\",2,1,48,30]],null],[1,\\\"\\\\n\\\"]],[]],[[[42,[28,[37,5],[[28,[37,5],[[30,0,[\\\"authenticationType\\\",\\\"fields\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@isReadOnly\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[30,3,[\\\"name\\\"]],[28,[37,7],[[30,0,[\\\"_changeset\\\"]],[30,3,[\\\"id\\\"]]],null],\\\"text\\\",[28,[37,8],[[30,0,[\\\"isManager\\\"]]],null],[30,3,[\\\"id\\\"]],[28,[37,7],[[28,[37,7],[[30,0,[\\\"_changeset\\\",\\\"error\\\"]],[30,3,[\\\"id\\\"]]],null],\\\"validation\\\"],null],[30,0,[\\\"_isTouched\\\"]]]],null],[1,\\\"\\\\n\\\"]],[3]],null]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"requiresUrl\\\"]],[[[1,\\\"        \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@type\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,9],[[28,[37,10],[\\\"components.aaSettings.integrations.editDialog.labels.url\\\"],null]],null],[30,0,[\\\"_changeset\\\",\\\"url\\\"]],[28,[37,8],[[30,0,[\\\"isManager\\\"]]],null],\\\"text\\\",\\\"url\\\",[28,[37,7],[[30,0,[\\\"_changeset\\\",\\\"error\\\",\\\"url\\\"]],\\\"validation\\\"],null],[30,0,[\\\"_isTouched\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_guideUrl\\\"]],[[[1,\\\"      \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@href\\\",\\\"@target\\\",\\\"@label\\\",\\\"@icon\\\"],[\\\"flex\\\",[30,0,[\\\"_guideUrl\\\"]],\\\"_blank\\\",[28,[37,9],[\\\"components.aaSettings.integrations.editDialog.instructionLink\\\"],null],\\\"link\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[8,[39,12],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@isDisabled\\\"],[\\\"ml-auto\\\",[28,[37,9],[\\\"global.actions.save\\\"],null],[28,[37,13],[[30,0,[\\\"_save\\\"]]],null],[28,[37,8],[[30,0,[\\\"isManager\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"modal\\\",\\\"content\\\",\\\"field\\\"],false,[\\\"ui-modal\\\",\\\"did-insert\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"each\\\",\\\"-track-array\\\",\\\"ui-input\\\",\\\"get\\\",\\\"not\\\",\\\"t\\\",\\\"concat\\\",\\\"ui-icon-button\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-settings/integrations/edit-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaSettingsIntegrationsEditDialog = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.object), _dec3 = (0, _emberArgTypes.arg)(_propTypes.func), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _dec5 = (0, _emberConcurrency.task)(function* () {\n    if (!this.pms.type) {\n      return;\n    }\n    this._isTouched = true;\n    const tasks = [];\n    const integrationEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms/authentication`;\n    try {\n      yield this._changeset.validate();\n      if (!this._changeset.get('isValid')) {\n        return;\n      }\n      yield this._changeset.save();\n      let data = {\n        type: this.authenticationType.type,\n        credentials: {}\n      };\n      this.authenticationType.fields.forEach(field => {\n        data.credentials[field.id] = this._changeset.get(field.id);\n      });\n      if (this.requiresUrl) {\n        Object.assign(data, {\n          url: this._changeset.get('url')\n        });\n      }\n      const saveTask = this.authenticatedFetch.fetch(integrationEndpoint, {\n        method: this.isNew ? 'POST' : 'PUT'\n      }, data);\n      tasks.push(saveTask);\n      tasks.push((0, _emberConcurrency.timeout)(250));\n      const [response] = yield (0, _emberConcurrency.all)(tasks);\n      if (!response) {\n        throw new Error(`[settings-integration] Could not save integration settings.`);\n      }\n      const json = yield response.json();\n      if (!response.ok) {\n        if (response.status === 422) {\n          var _json$errors;\n          if ((json === null || json === void 0 || (_json$errors = json.errors) === null || _json$errors === void 0 || (_json$errors = _json$errors['credentials.user']) === null || _json$errors === void 0 ? void 0 : _json$errors[0]) === 'user_already_exists') {\n            this._changeset.pushErrors('user', this.intl.t('components.aaSettings.integrations.editDialog.errors.user_already_exists', {\n              user: this.authenticationType.fields.find(field => field.id === 'user').name\n            }));\n            return;\n          }\n        }\n        throw response;\n      }\n      this.onSave(json.authentication || json[this.pms.type]);\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        type: 'success'\n      });\n      this.close();\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _class = class AaSettingsIntegrationsEditDialog extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor5, this);\n      /**\n       * the active integration\n       *\n       * @argument pms\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"pms\", _descriptor6, this);\n      /**\n       * the selected authentication type\n       *\n       * @argument authenticationType\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"authenticationType\", _descriptor7, this);\n      /**\n       * the changeset for integration settings\n       *\n       * @property _changeset\n       * @type {Changeset}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_changeset\", _descriptor8, this);\n      /**\n       * whether dialog fields were touched\n       *\n       * @property _isTouched\n       * @type {Boolean}\n       * @default falase\n       */\n      _initializerDefineProperty(this, \"_isTouched\", _descriptor9, this);\n      /**\n       * the url for the guide\n       *\n       * @property _guideUrl\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"_guideUrl\", _descriptor10, this);\n      _initializerDefineProperty(this, \"onSave\", _descriptor11, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor12, this);\n      /**\n       * save integration settings\n       *\n       * @function _save\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"_save\", _descriptor13, this);\n    }\n    /**\n     * the currently active organization\n     *\n     * @computed organizationId\n     */\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    get isNew() {\n      return !this.authenticationType.credentials;\n    }\n    get requiresUrl() {\n      return this.authenticationType.requiresUrl;\n    }\n    get isManager() {\n      return this.currentUser.isManager;\n    }\n    get dialogTitle() {\n      return this.intl.exists(`components.aaSettings.integrations.editDialog.${this.pms.type}.title`) ? this.intl.t(`components.aaSettings.integrations.editDialog.${this.pms.type}.title`) : this.intl.t(`components.aaSettings.integrations.pmsNames.${this.pms.type}`);\n    }\n    get dialogDescription() {\n      return this.intl.exists(`components.aaSettings.integrations.editDialog.${this.pms.type}.description`) ? this.intl.t(`components.aaSettings.integrations.editDialog.${this.pms.type}.description`) : this.intl.t(`components.aaSettings.integrations.editDialog.fallback.description`);\n    }\n    /**\n     * creates the changeset\n     *\n     * @function _setup\n     * @type {Function}\n     */\n    _setup() {\n      let data = {};\n      this.authenticationType.fields.forEach(field => {\n        var _this$authenticationT;\n        data[field.id] = !field.isPassword ? (_this$authenticationT = this.authenticationType.credentials) === null || _this$authenticationT === void 0 ? void 0 : _this$authenticationT[field.id] : '';\n      });\n      this._guideUrl = this.authenticationType['guideUrl'];\n      if (this.requiresUrl) {\n        data.url = this.authenticationType.url || '';\n      }\n\n      // create new changeset for integration settings\n      const validation = (0, _settings.integrationValidation)(this.intl, this.authenticationType.fields, this.requiresUrl);\n      const integrationChangeset = new _emberChangeset.default(data, (0, _emberChangesetValidations.default)(validation), validation);\n      this._changeset = integrationChangeset;\n    }\n    close() {\n      return this.onClose();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"pms\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"authenticationType\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_isTouched\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_guideUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"onSave\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"_save\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_setup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaSettingsIntegrationsEditDialog);\n});","define(\"additive-account/components/aa-settings/integrations/edit-pms-integration-dialog\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-arg-types\", \"prop-types\", \"ember-concurrency\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _object, _service, _emberArgTypes, _propTypes, _emberConcurrency, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this._isConfirmationStep}}\n    <UiModal\n      @title={{t\n        (concat\n          \"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\"\n          this._selectedAction\n          \".title\"\n        )\n      }}\n      @theme=\"error\"\n      @onClose={{this.onClose}}\n      as |modal|\n    >\n      <modal.header />\n      <modal.content as |content|>\n        <content.body>\n          <div class=\"pb3\">\n            {{t\n              (concat\n                \"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\"\n                this._selectedAction\n                \".description\"\n              )\n            }}\n          </div>\n  \n          {{#if this._hasConfirmCheckboxes}}\n            <div class=\"pb3 font-medium\">\n              {{t\n                (concat\n                  \"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.confirmActions\"\n                )\n              }}\n            </div>\n  \n            <div class=\"flex bg-secondary--10 ba b--secondary-10 br1 pa1 mb1\">\n              <UiCheckbox\n                @value={{this._confirmCheckbox1Selected}}\n                @onChange={{fn (mut this._confirmCheckbox1Selected)}}\n              />\n              <div class=\"ml1\">\n                {{t\n                  (concat\n                    \"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\"\n                    this._selectedAction\n                    \".confirmCheckbox1\"\n                  )\n                }}\n              </div>\n            </div>\n  \n            <div class=\"flex bg-secondary--10 ba b--secondary-10 br1 pa1\">\n              <UiCheckbox\n                @value={{this._confirmCheckbox2Selected}}\n                @onChange={{fn (mut this._confirmCheckbox2Selected)}}\n              />\n              <div class=\"ml1\">\n                {{t\n                  (concat\n                    \"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\"\n                    this._selectedAction\n                    \".confirmCheckbox2\"\n                  )\n                }}\n              </div>\n            </div>\n          {{/if}}\n        </content.body>\n      </modal.content>\n      <modal.footer>\n        <UiButton\n          @class=\"mr1\"\n          @label={{t\n            (concat\n              \"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\"\n              this._selectedAction\n              \".confirmAction\"\n            )\n          }}\n          @icon={{this._confirmActionIcon}}\n          @isSecondary={{true}}\n          @isDanger={{not (eq this._selectedAction \"restore\")}}\n          @isDisabled={{this._isConfirmActionDisabled}}\n          @onClick={{perform this.onConfirm}}\n        />\n        <UiButton @label={{t \"global.actions.cancel\"}} @icon=\"error\" @onClick={{this.onClose}} />\n      </modal.footer>\n    </UiModal>\n  {{else}}\n    <UiModal\n      @title={{t \"components.aaSettings.integrations.editPmsIntegrationDialog.title\"}}\n      @onClose={{this.onClose}}\n      as |modal|\n    >\n      <modal.header />\n      <modal.content as |content|>\n        <content.body>\n          <div class=\"pb2\">\n            {{t \"components.aaSettings.integrations.editPmsIntegrationDialog.description\"}}\n          </div>\n  \n          <div class=\"mb2\">\n            <UiAccordion\n              @title={{t\n                (concat\n                  \"components.aaSettings.integrations.editPmsIntegrationDialog.actions.\"\n                  (if this._isPaused \"restore\" \"pause\")\n                  \".title\"\n                )\n              }}\n              @description={{t\n                (concat\n                  \"components.aaSettings.integrations.editPmsIntegrationDialog.actions.\"\n                  (if this._isPaused \"restore\" \"pause\")\n                  \".description\"\n                )\n              }}\n              @value={{if this._isPaused \"restore\" \"pause\"}}\n              @selectedValue={{this._selectedAction}}\n              @onSelect={{fn (mut this._selectedAction) (if this._isPaused \"restore\" \"pause\")}}\n              @isSelectable={{true}}\n            />\n          </div>\n  \n          <div>\n            <div class=\"font-medium red mb1\">\n              {{t \"components.aaSettings.integrations.editPmsIntegrationDialog.dangerZone\"}}\n            </div>\n            <UiAccordion\n              @title={{t\n                \"components.aaSettings.integrations.editPmsIntegrationDialog.actions.disconnect.title\"\n              }}\n              @description={{t\n                \"components.aaSettings.integrations.editPmsIntegrationDialog.actions.disconnect.description\"\n              }}\n              @value=\"disconnect\"\n              @selectedValue={{this._selectedAction}}\n              @isSelectable={{true}}\n              @isDanger={{true}}\n              @onSelect={{fn (mut this._selectedAction) \"disconnect\"}}\n            />\n            <UiAccordion\n              @title={{t\n                \"components.aaSettings.integrations.editPmsIntegrationDialog.actions.delete-data.title\"\n              }}\n              @description={{t\n                \"components.aaSettings.integrations.editPmsIntegrationDialog.actions.delete-data.description\"\n              }}\n              @value=\"delete-data\"\n              @selectedValue={{this._selectedAction}}\n              @isSelectable={{true}}\n              @isDanger={{true}}\n              @onSelect={{fn (mut this._selectedAction) \"delete-data\"}}\n            />\n          </div>\n        </content.body>\n      </modal.content>\n      <modal.footer>\n        <UiButton\n          @label={{t \"global.actions.select\"}}\n          @isDisabled={{not this._selectedAction}}\n          @onClick={{this.onSelectAction}}\n        />\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"DYIKdp9r\",\n    \"block\": \"[[[41,[30,0,[\\\"_isConfirmationStep\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@theme\\\",\\\"@onClose\\\"],[[28,[37,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\\\",[30,0,[\\\"_selectedAction\\\"]],\\\".title\\\"],null]],null],\\\"error\\\",[30,0,[\\\"onClose\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\\\",[30,0,[\\\"_selectedAction\\\"]],\\\".description\\\"],null]],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_hasConfirmCheckboxes\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"pb3 font-medium\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.confirmActions\\\"],null]],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"flex bg-secondary--10 ba b--secondary-10 br1 pa1 mb1\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,4],null,[[\\\"@value\\\",\\\"@onChange\\\"],[[30,0,[\\\"_confirmCheckbox1Selected\\\"]],[28,[37,5],[[28,[37,6],[[30,0,[\\\"_confirmCheckbox1Selected\\\"]]],null]],null]]],null],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"ml1\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\\\",[30,0,[\\\"_selectedAction\\\"]],\\\".confirmCheckbox1\\\"],null]],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"flex bg-secondary--10 ba b--secondary-10 br1 pa1\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,4],null,[[\\\"@value\\\",\\\"@onChange\\\"],[[30,0,[\\\"_confirmCheckbox2Selected\\\"]],[28,[37,5],[[28,[37,6],[[30,0,[\\\"_confirmCheckbox2Selected\\\"]]],null]],null]]],null],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"ml1\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\\\",[30,0,[\\\"_selectedAction\\\"]],\\\".confirmCheckbox2\\\"],null]],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,7],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@icon\\\",\\\"@isSecondary\\\",\\\"@isDanger\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"mr1\\\",[28,[37,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.confirmDialog.\\\",[30,0,[\\\"_selectedAction\\\"]],\\\".confirmAction\\\"],null]],null],[30,0,[\\\"_confirmActionIcon\\\"]],true,[28,[37,8],[[28,[37,9],[[30,0,[\\\"_selectedAction\\\"]],\\\"restore\\\"],null]],null],[30,0,[\\\"_isConfirmActionDisabled\\\"]],[28,[37,10],[[30,0,[\\\"onConfirm\\\"]]],null]]],null],[1,\\\"\\\\n      \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.cancel\\\"],null],\\\"error\\\",[30,0,[\\\"onClose\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@onClose\\\"],[[28,[37,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.title\\\"],null],[30,0,[\\\"onClose\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,4,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"pb2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.description\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"mb2\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@value\\\",\\\"@selectedValue\\\",\\\"@onSelect\\\",\\\"@isSelectable\\\"],[[28,[37,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.actions.\\\",[52,[30,0,[\\\"_isPaused\\\"]],\\\"restore\\\",\\\"pause\\\"],\\\".title\\\"],null]],null],[28,[37,2],[[28,[37,3],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.actions.\\\",[52,[30,0,[\\\"_isPaused\\\"]],\\\"restore\\\",\\\"pause\\\"],\\\".description\\\"],null]],null],[52,[30,0,[\\\"_isPaused\\\"]],\\\"restore\\\",\\\"pause\\\"],[30,0,[\\\"_selectedAction\\\"]],[28,[37,5],[[28,[37,6],[[30,0,[\\\"_selectedAction\\\"]]],null],[52,[30,0,[\\\"_isPaused\\\"]],\\\"restore\\\",\\\"pause\\\"]],null],true]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"font-medium red mb1\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.dangerZone\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@value\\\",\\\"@selectedValue\\\",\\\"@isSelectable\\\",\\\"@isDanger\\\",\\\"@onSelect\\\"],[[28,[37,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.actions.disconnect.title\\\"],null],[28,[37,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.actions.disconnect.description\\\"],null],\\\"disconnect\\\",[30,0,[\\\"_selectedAction\\\"]],true,true,[28,[37,5],[[28,[37,6],[[30,0,[\\\"_selectedAction\\\"]]],null],\\\"disconnect\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@value\\\",\\\"@selectedValue\\\",\\\"@isSelectable\\\",\\\"@isDanger\\\",\\\"@onSelect\\\"],[[28,[37,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.actions.delete-data.title\\\"],null],[28,[37,2],[\\\"components.aaSettings.integrations.editPmsIntegrationDialog.actions.delete-data.description\\\"],null],\\\"delete-data\\\",[30,0,[\\\"_selectedAction\\\"]],true,true,[28,[37,5],[[28,[37,6],[[30,0,[\\\"_selectedAction\\\"]]],null],\\\"delete-data\\\"],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[4]]]]],[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.select\\\"],null],[28,[37,8],[[30,0,[\\\"_selectedAction\\\"]]],null],[30,0,[\\\"onSelectAction\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"modal\\\",\\\"content\\\",\\\"modal\\\",\\\"content\\\"],false,[\\\"if\\\",\\\"ui-modal\\\",\\\"t\\\",\\\"concat\\\",\\\"ui-checkbox\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-button\\\",\\\"not\\\",\\\"eq\\\",\\\"perform\\\",\\\"ui-accordion\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-settings/integrations/edit-pms-integration-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * @module aa-settings/integrations\n   * @class AaSettingsIntegrationsEditPmsIntegrationDialog\n   */\n  let AaSettingsIntegrationsEditPmsIntegrationDialog = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.string), _dec3 = (0, _emberConcurrency.task)(function* () {\n    const payload = {\n      type: this.integrationType\n    };\n    const endpoint = `${this._apiUrl}/settings/pms/${this._selectedAction}`;\n    try {\n      const tasks = [];\n      tasks.push(this.authenticatedFetch.fetch(endpoint, {\n        method: 'POST'\n      }, payload));\n      tasks.push((0, _emberConcurrency.timeout)(400));\n      const [response] = yield (0, _emberConcurrency.all)(tasks);\n      if (!(response !== null && response !== void 0 && response.ok)) {\n        throw new Error();\n      }\n      this.onSuccess();\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.success.savedChanges'),\n        type: 'success'\n      });\n    } catch (error) {\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.error.title'),\n        type: 'error'\n      });\n    } finally {\n      this.onClose();\n    }\n  }).drop(), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _dec5 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaSettingsIntegrationsEditPmsIntegrationDialog extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiPaths\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      /**\n       * the pms integration type\n       *\n       * @argument integrationType\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"integrationType\", _descriptor6, this);\n      /**\n       * the pms status\n       *\n       * @argument pmsStatus\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"pmsStatus\", _descriptor7, this);\n      _initializerDefineProperty(this, \"_selectedAction\", _descriptor8, this);\n      _initializerDefineProperty(this, \"_isConfirmationStep\", _descriptor9, this);\n      _initializerDefineProperty(this, \"_confirmCheckbox1Selected\", _descriptor10, this);\n      _initializerDefineProperty(this, \"_confirmCheckbox2Selected\", _descriptor11, this);\n      /**\n       * saves the building codes\n       *\n       * @function _save\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"onConfirm\", _descriptor12, this);\n      _initializerDefineProperty(this, \"onSuccess\", _descriptor13, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor14, this);\n    }\n    /**\n     * the current organization id\n     *\n     * @computed _organizationSlug\n     * @type {String}\n     * @private\n     */\n    get _organizationSlug() {\n      return this.currentUser.currentOrganization.id;\n    }\n\n    /**\n     * the settings endpoint\n     *\n     * @computed _apiUrl\n     * @type {String}\n     * @private\n     */\n    get _apiUrl() {\n      return `${_environment.default.APP.apiBaseHost}/api/organizations/${this._organizationSlug}`;\n    }\n    get _isPaused() {\n      return this.pmsStatus === 'paused';\n    }\n    get _hasConfirmCheckboxes() {\n      return this._selectedAction === 'disconnect' || this._selectedAction === 'delete-data';\n    }\n    get _isConfirmActionDisabled() {\n      return this._selectedAction !== 'pause' && this._selectedAction !== 'restore' && (!this._confirmCheckbox1Selected || !this._confirmCheckbox2Selected);\n    }\n    get _confirmActionIcon() {\n      return this._selectedAction === 'delete-data' ? 'delete' : this._selectedAction === 'restore' ? 'play' : this._selectedAction;\n    }\n    onSelectAction() {\n      this._isConfirmationStep = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiPaths\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"integrationType\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"pmsStatus\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_selectedAction\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_isConfirmationStep\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_confirmCheckbox1Selected\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_confirmCheckbox2Selected\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"onConfirm\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"onSuccess\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onSelectAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSelectAction\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaSettingsIntegrationsEditPmsIntegrationDialog);\n});","define(\"additive-account/components/aa-settings/integrations/list\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"ember-concurrency\", \"ember-arg-types\", \"prop-types\", \"@additive-apps/ui/utils/app-utils\", \"@additive-apps/ui/constants\", \"additive-account/config/environment\", \"additive-account/utils/constants\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tracking, _emberConcurrency, _emberArgTypes, _propTypes, _appUtils, _constants, _environment, _constants2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\n  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div {{did-insert (perform this.getItems)}}>\n    {{#if (or this.getItems.isRunning this._showList)}}\n      <UiControlPanelGroup\n        @title={{t (concat \"components.aaSettings.integrations.pmsNames.\" this.pms.type)}}\n        @isLoading={{this.getItems.isRunning}}\n        @placeholderCount={{3}}\n        as |Group|\n      >\n        {{#each this._items as |item|}}\n          <Group.panel\n            @label={{item.title}}\n            @value={{item.description}}\n            @state={{item.state}}\n            @isReadOnly={{true}}\n            as |panel|\n          >\n            {{#if this.isManager}}\n              <panel.right>\n                <div>\n                  {{#if (and (eq this.pms.type \"asa\") (not item.credentials))}}\n                    <UiIconButton\n                      @label={{if\n                        (eq item.state \"success\")\n                        (t \"components.aaSettings.integrations.list.edit\")\n                        (t \"components.aaSettings.integrations.list.connect\")\n                      }}\n                      @icon={{if (eq item.state \"success\") \"edit\" \"connect\"}}\n                      @onClick={{fn this.openSettingsByAppId item.value}}\n                    />\n                  {{else if item.hasGeneratedCredentials}}\n                    <UiIconButton\n                      @label={{t \"components.aaSettings.integrations.list.view\"}}\n                      @icon=\"view\"\n                      @onClick={{fn\n                        this.showCredentials\n                        (hash host=item.url username=item.credentials.user)\n                        item.type\n                      }}\n                    />\n                  {{else if this.pms.settings.oauthUrl}}\n                    <UiIconButton\n                      @label={{t \"components.aaSettings.integrations.list.refresh\"}}\n                      @icon=\"reload\"\n                      @href={{this._oauthUrl}}\n                    />\n                  {{else}}\n                    <UiIconButton\n                      @label={{t \"components.aaSettings.integrations.list.edit\"}}\n                      @icon=\"edit\"\n                      @onClick={{fn (mut this._editAuthenticationType) item}}\n                    />\n                  {{/if}}\n                </div>\n              </panel.right>\n            {{/if}}\n          </Group.panel>\n        {{/each}}\n        {{#if this.pms}}\n          <Group.panel\n            @label={{this.integrationTitle}}\n            @value={{this.integrationDescription}}\n            @state={{\"success\"}}\n            @isReadOnly={{true}}\n            as |panel|\n          >\n            {{#if this.canEditPMSIntegration}}\n              <panel.right>\n                <UiIconButton\n                  @label={{t\n                    (concat\n                      \"components.aaSettings.integrations.list.\"\n                      (if this.isPaused \"pausedIntegration\" \"editIntegration\")\n                    )\n                  }}\n                  @icon={{if this.isPaused \"pause\" \"edit\"}}\n                  @isSuccess={{this.isPaused}}\n                  @onClick={{fn (mut this._isEditPmsIntegrationDialogOpen) true}}\n                />\n              </panel.right>\n            {{/if}}\n          </Group.panel>\n        {{/if}}\n      </UiControlPanelGroup>\n    {{else}}\n      <div class=\"flex flex-column items-center justify-center text-center pt4 mt4\">\n        {{svg-jar \"empty-content-grey\"}}\n        <div class=\"font-sm secondary\">\n          {{this.emptyContentMessage}}\n        </div>\n        {{#if this.showConnectButton}}\n          <UiButton\n            @class=\"mt4\"\n            @label={{t (concat \"components.aaSettings.integrations.list.\" this.pms.type \".connect\")}}\n            @href={{this._oauthUrl}}\n            @target=\"_self\"\n          />\n        {{else if this.hasAPIGeneratedCredentials}}\n          <UiIconButton\n            @class=\"mt2\"\n            @icon=\"plus-circle-filled\"\n            @label={{t \"components.aaSettings.integrations.list.generateCredentials\"}}\n            @isLoading={{this.generateCredentials.isRunning}}\n            @onClick={{perform this.generateCredentials}}\n          />\n        {{/if}}\n      </div>\n    {{/if}}\n  </div>\n  \n  {{#if this._isShowCredentialsDialogOpen}}\n    <AaSettings::Integrations::ShowCredentialsDialog\n      @authenticationType={{this._authenticationType}}\n      @credentials={{this._credentials}}\n      @pmsType={{this.pms.type}}\n      @onClose={{pipe (fn (mut this._isShowCredentialsDialogOpen) false) (perform this.getItems)}}\n    />\n  {{/if}}\n  \n  {{#if this._isEditPmsIntegrationDialogOpen}}\n    <AaSettings::Integrations::EditPmsIntegrationDialog\n      @integrationType={{this._integrationType}}\n      @pmsStatus={{this.pms.status}}\n      @onSuccess={{this.onSuccess}}\n      @onClose={{fn (mut this._isEditPmsIntegrationDialogOpen) false}}\n    />\n  {{/if}}\n  \n  {{#if this._editAuthenticationType}}\n    <AaSettings::Integrations::EditDialog\n      @authenticationType={{this._editAuthenticationType}}\n      @pms={{this.pms}}\n      @onSave={{this.onSave}}\n      @onClose={{fn (mut this._editAuthenticationType) null}}\n    />\n  {{/if}}\n  \n  {{#if (and this._fabButtonContainer this.showAddButton this.isManager)}}\n    {{#in-element this._fabButtonContainer}}\n      {{#if this._isFabButtonGeneratingCredentials}}\n        <UiButton\n          @class=\"absolute bottom-3 right-3\"\n          @icon={{unless this.generateCredentials.isRunning \"plus\"}}\n          @isFabButton={{true}}\n          @isLoading={{this.generateCredentials.isRunning}}\n          @onClick={{perform this.generateCredentials}}\n        />\n      {{else}}\n        <UiButton\n          @class=\"absolute bottom-3 right-3\"\n          @icon=\"plus\"\n          @isFabButton={{true}}\n          @onClick={{this.addNewAuthenticationType}}\n        />\n      {{/if}}\n    {{/in-element}}\n  {{/if}}\n  */\n  {\n    \"id\": \"gVftiHOt\",\n    \"block\": \"[[[11,0],[4,[38,0],[[28,[37,1],[[30,0,[\\\"getItems\\\"]]],null]],null],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,3],[[30,0,[\\\"getItems\\\",\\\"isRunning\\\"]],[30,0,[\\\"_showList\\\"]]],null],[[[1,\\\"    \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@isLoading\\\",\\\"@placeholderCount\\\"],[[28,[37,5],[[28,[37,6],[\\\"components.aaSettings.integrations.pmsNames.\\\",[30,0,[\\\"pms\\\",\\\"type\\\"]]],null]],null],[30,0,[\\\"getItems\\\",\\\"isRunning\\\"]],3]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"_items\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[8,[30,1,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@state\\\",\\\"@isReadOnly\\\"],[[30,2,[\\\"title\\\"]],[30,2,[\\\"description\\\"]],[30,2,[\\\"state\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isManager\\\"]],[[[1,\\\"            \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,9],[[28,[37,10],[[30,0,[\\\"pms\\\",\\\"type\\\"]],\\\"asa\\\"],null],[28,[37,11],[[30,2,[\\\"credentials\\\"]]],null]],null],[[[1,\\\"                  \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\"],[[52,[28,[37,10],[[30,2,[\\\"state\\\"]],\\\"success\\\"],null],[28,[37,5],[\\\"components.aaSettings.integrations.list.edit\\\"],null],[28,[37,5],[\\\"components.aaSettings.integrations.list.connect\\\"],null]],[52,[28,[37,10],[[30,2,[\\\"state\\\"]],\\\"success\\\"],null],\\\"edit\\\",\\\"connect\\\"],[28,[37,13],[[30,0,[\\\"openSettingsByAppId\\\"]],[30,2,[\\\"value\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,2,[\\\"hasGeneratedCredentials\\\"]],[[[1,\\\"                  \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"components.aaSettings.integrations.list.view\\\"],null],\\\"view\\\",[28,[37,13],[[30,0,[\\\"showCredentials\\\"]],[28,[37,14],null,[[\\\"host\\\",\\\"username\\\"],[[30,2,[\\\"url\\\"]],[30,2,[\\\"credentials\\\",\\\"user\\\"]]]]],[30,2,[\\\"type\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"pms\\\",\\\"settings\\\",\\\"oauthUrl\\\"]],[[[1,\\\"                  \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@icon\\\",\\\"@href\\\"],[[28,[37,5],[\\\"components.aaSettings.integrations.list.refresh\\\"],null],\\\"reload\\\",[30,0,[\\\"_oauthUrl\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                  \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"components.aaSettings.integrations.list.edit\\\"],null],\\\"edit\\\",[28,[37,13],[[28,[37,15],[[30,0,[\\\"_editAuthenticationType\\\"]]],null],[30,2]],null]]],null],[1,\\\"\\\\n                \\\"]],[]]]],[]]]],[]]],[1,\\\"              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[41,[30,0,[\\\"pms\\\"]],[[[1,\\\"        \\\"],[8,[30,1,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@state\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"integrationTitle\\\"]],[30,0,[\\\"integrationDescription\\\"]],\\\"success\\\",true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"canEditPMSIntegration\\\"]],[[[1,\\\"            \\\"],[8,[30,4,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@icon\\\",\\\"@isSuccess\\\",\\\"@onClick\\\"],[[28,[37,5],[[28,[37,6],[\\\"components.aaSettings.integrations.list.\\\",[52,[30,0,[\\\"isPaused\\\"]],\\\"pausedIntegration\\\",\\\"editIntegration\\\"]],null]],null],[52,[30,0,[\\\"isPaused\\\"]],\\\"pause\\\",\\\"edit\\\"],[30,0,[\\\"isPaused\\\"]],[28,[37,13],[[28,[37,15],[[30,0,[\\\"_isEditPmsIntegrationDialogOpen\\\"]]],null],true],null]]],null],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex flex-column items-center justify-center text-center pt4 mt4\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,16],[\\\"empty-content-grey\\\"],null]],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"emptyContentMessage\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showConnectButton\\\"]],[[[1,\\\"        \\\"],[8,[39,17],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@href\\\",\\\"@target\\\"],[\\\"mt4\\\",[28,[37,5],[[28,[37,6],[\\\"components.aaSettings.integrations.list.\\\",[30,0,[\\\"pms\\\",\\\"type\\\"]],\\\".connect\\\"],null]],null],[30,0,[\\\"_oauthUrl\\\"]],\\\"_self\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"hasAPIGeneratedCredentials\\\"]],[[[1,\\\"        \\\"],[8,[39,12],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@isLoading\\\",\\\"@onClick\\\"],[\\\"mt2\\\",\\\"plus-circle-filled\\\",[28,[37,5],[\\\"components.aaSettings.integrations.list.generateCredentials\\\"],null],[30,0,[\\\"generateCredentials\\\",\\\"isRunning\\\"]],[28,[37,1],[[30,0,[\\\"generateCredentials\\\"]]],null]]],null],[1,\\\"\\\\n      \\\"]],[]],null]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isShowCredentialsDialogOpen\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@authenticationType\\\",\\\"@credentials\\\",\\\"@pmsType\\\",\\\"@onClose\\\"],[[30,0,[\\\"_authenticationType\\\"]],[30,0,[\\\"_credentials\\\"]],[30,0,[\\\"pms\\\",\\\"type\\\"]],[28,[37,19],[[28,[37,13],[[28,[37,15],[[30,0,[\\\"_isShowCredentialsDialogOpen\\\"]]],null],false],null],[28,[37,1],[[30,0,[\\\"getItems\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isEditPmsIntegrationDialogOpen\\\"]],[[[1,\\\"  \\\"],[8,[39,20],null,[[\\\"@integrationType\\\",\\\"@pmsStatus\\\",\\\"@onSuccess\\\",\\\"@onClose\\\"],[[30,0,[\\\"_integrationType\\\"]],[30,0,[\\\"pms\\\",\\\"status\\\"]],[30,0,[\\\"onSuccess\\\"]],[28,[37,13],[[28,[37,15],[[30,0,[\\\"_isEditPmsIntegrationDialogOpen\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_editAuthenticationType\\\"]],[[[1,\\\"  \\\"],[8,[39,21],null,[[\\\"@authenticationType\\\",\\\"@pms\\\",\\\"@onSave\\\",\\\"@onClose\\\"],[[30,0,[\\\"_editAuthenticationType\\\"]],[30,0,[\\\"pms\\\"]],[30,0,[\\\"onSave\\\"]],[28,[37,13],[[28,[37,15],[[30,0,[\\\"_editAuthenticationType\\\"]]],null],null],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,9],[[30,0,[\\\"_fabButtonContainer\\\"]],[30,0,[\\\"showAddButton\\\"]],[30,0,[\\\"isManager\\\"]]],null],[[[40,[[[41,[30,0,[\\\"_isFabButtonGeneratingCredentials\\\"]],[[[1,\\\"      \\\"],[8,[39,17],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@isLoading\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",[52,[51,[30,0,[\\\"generateCredentials\\\",\\\"isRunning\\\"]]],\\\"plus\\\"],true,[30,0,[\\\"generateCredentials\\\",\\\"isRunning\\\"]],[28,[37,1],[[30,0,[\\\"generateCredentials\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[8,[39,17],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"plus\\\",true,[30,0,[\\\"addNewAuthenticationType\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],\\\"%cursor:0%\\\",[28,[37,23],[[30,0,[\\\"_fabButtonContainer\\\"]]],null]]],[]],null]],[\\\"Group\\\",\\\"item\\\",\\\"panel\\\",\\\"panel\\\"],false,[\\\"did-insert\\\",\\\"perform\\\",\\\"if\\\",\\\"or\\\",\\\"ui-control-panel-group\\\",\\\"t\\\",\\\"concat\\\",\\\"each\\\",\\\"-track-array\\\",\\\"and\\\",\\\"eq\\\",\\\"not\\\",\\\"ui-icon-button\\\",\\\"fn\\\",\\\"hash\\\",\\\"mut\\\",\\\"svg-jar\\\",\\\"ui-button\\\",\\\"aa-settings/integrations/show-credentials-dialog\\\",\\\"pipe\\\",\\\"aa-settings/integrations/edit-pms-integration-dialog\\\",\\\"aa-settings/integrations/edit-dialog\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"unless\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-settings/integrations/list.hbs\",\n    \"isStrictMode\": false\n  });\n  const ASA = 'asa';\n  let AaSettingsIntegrationsList = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberConcurrency.task)(function* () {\n    const {\n      type\n    } = this.pms;\n    if (!type) {\n      return [];\n    }\n    const items = [];\n    if (type === ASA) {\n      const accessibleApps = yield this.store.query('app', {\n        accessible: 1\n      });\n      const asaApps = [];\n      asaApps[_constants.APP_ID_CRM] = 'crm';\n      asaApps[_constants.APP_ID_NEWSLETTER] = 'newsletter';\n      asaApps[_constants.APP_ID_VOUCHER] = 'voucher';\n      asaApps.forEach((name, id) => {\n        if (accessibleApps.find(app => app.id && parseInt(app.id) === id)) {\n          items.push({\n            value: id,\n            title: this.intl.t(`components.aaSettings.integrations.list.asa.${name}.title`),\n            description: this.intl.t(`components.aaSettings.integrations.list.asa.${name}.description`)\n          });\n        }\n      });\n      this._asaItems = items;\n    }\n    yield (0, _emberConcurrency.all)([this.fetchAuthentications.perform(), this.fetchAuthenticationTypes.perform()]);\n    this._buildAuthenticationList();\n  }), _dec3 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms/authentication`;\n      const response = yield this.authenticatedFetch.fetch(url, {\n        method: 'GET',\n        headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n          'Accept-Language': this.currentUser.user.language\n        })\n      });\n      if (!(response !== null && response !== void 0 && response.ok)) throw new Error('Response not ok');\n      const json = yield response.json();\n      this._authentications = json.authentications.map(authentication => {\n        let hasGeneratedCredentials = this.hasAPIGeneratedCredentials;\n        if (this.pms.type === ASA && authentication.type !== ASA) {\n          hasGeneratedCredentials = false;\n        }\n        return _objectSpread(_objectSpread({}, authentication), {}, {\n          hasGeneratedCredentials\n        });\n      });\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.savedChanges')\n      });\n    }\n  }), _dec4 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms/authentication/types`;\n      const response = yield this.authenticatedFetch.fetch(url, {\n        method: 'GET',\n        headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n          'Accept-Language': this.currentUser.user.language\n        })\n      });\n      if (!(response !== null && response !== void 0 && response.ok)) throw new Error('Response not ok');\n      const json = yield response.json();\n      this._authenticationTypes = json.authenticationTypes;\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.savedChanges')\n      });\n    }\n  }), _dec5 = (0, _emberConcurrency.task)(function* () {\n    try {\n      var _authentication$crede, _authentication$crede2, _authentication$crede3;\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms/authentication`;\n      const authenticationType = this._integrationType;\n      const response = yield this.authenticatedFetch.fetch(url, {\n        method: 'POST'\n      }, {\n        type: authenticationType\n      });\n      if (!(response !== null && response !== void 0 && response.ok)) throw new Error('Response not ok');\n      const json = yield response.json();\n      if (!(json !== null && json !== void 0 && json.authentication)) {\n        throw new Error('No credentials returned');\n      }\n      const authentication = json.authentication;\n      const credentials = {\n        host: authentication.url,\n        username: (_authentication$crede = authentication.credentials) === null || _authentication$crede === void 0 ? void 0 : _authentication$crede.user,\n        password: ((_authentication$crede2 = authentication.credentials) === null || _authentication$crede2 === void 0 ? void 0 : _authentication$crede2.token) || ((_authentication$crede3 = authentication.credentials) === null || _authentication$crede3 === void 0 ? void 0 : _authentication$crede3.password)\n      };\n      this.showCredentials(credentials);\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.savedChanges')\n      });\n    }\n  }), _dec6 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaSettingsIntegrationsList extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"store\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiAppSettings\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiState\", _descriptor6, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor7, this);\n      /**\n       * the selected pms\n       *\n       * @property pms\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"pms\", _descriptor8, this);\n      /**\n       * The already established authentications\n       *\n       * @property _authentications\n       * @type {Object}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_authentications\", _descriptor9, this);\n      /**\n       * the currently active authentication type\n       *\n       * @property _authenticationType\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"_authenticationType\", _descriptor10, this);\n      /**\n       * The available authentication types for the PMS\n       *\n       * @property _authenticationTypes\n       * @type {Object}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_authenticationTypes\", _descriptor11, this);\n      /**\n       * the authentication type that is currently edited\n       *\n       * @property _editAuthenticationType\n       * @type {Object}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_editAuthenticationType\", _descriptor12, this);\n      /**\n       * the list items\n       *\n       * @property _items\n       * @type {Array}\n       * @default []\n       * @private\n       */\n      _initializerDefineProperty(this, \"_items\", _descriptor13, this);\n      /**\n       * the list items which only asa has\n       *\n       * @property _asaItems\n       * @type {Array}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_asaItems\", _descriptor14, this);\n      /**\n       * whether the edit pms integration dialog is open\n       *\n       * @property _isEditPmsIntegrationDialogOpen\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"_isEditPmsIntegrationDialogOpen\", _descriptor15, this);\n      /**\n       * whether the credentials dialog is open\n       *\n       * @property _isShowCredentialsDialogOpen\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"_isShowCredentialsDialogOpen\", _descriptor16, this);\n      /**\n       * the credentials to show in the dialog\n       *\n       * @property _credentials\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"_credentials\", _descriptor17, this);\n      /**\n       * returns the list items for the selected PMS\n       *\n       * @function getItems\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"getItems\", _descriptor18, this);\n      _initializerDefineProperty(this, \"fetchAuthentications\", _descriptor19, this);\n      _initializerDefineProperty(this, \"fetchAuthenticationTypes\", _descriptor20, this);\n      _initializerDefineProperty(this, \"generateCredentials\", _descriptor21, this);\n      _initializerDefineProperty(this, \"onSuccess\", _descriptor22, this);\n    }\n    /**\n     * the currently active organization\n     *\n     * @computed organizationId\n     */\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    get _fabButtonContainer() {\n      return document.getElementById('settings-fab-button-container');\n    }\n    get hasAPIGeneratedCredentials() {\n      var _this$pms;\n      const pmsWithGeneratedCredentials = [ASA, 'casablanca', 'elite', 'gastrodat', 'hugo', 'xenus'];\n      return pmsWithGeneratedCredentials.includes((_this$pms = this.pms) === null || _this$pms === void 0 ? void 0 : _this$pms.type) || this._integrationType === 'unified';\n    }\n    get isManager() {\n      return this.currentUser.isManager;\n    }\n    get isAdmin() {\n      return this.currentUser.isAdmin;\n    }\n    get isAdditiveUser() {\n      var _this$globalUser;\n      return (_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.isAdditive;\n    }\n    get isPartnerUser() {\n      var _this$globalUser2;\n      return ((_this$globalUser2 = this.globalUser) === null || _this$globalUser2 === void 0 ? void 0 : _this$globalUser2.partnerSlug) === this.organizationPartnerSlug;\n    }\n    get isPaused() {\n      var _this$pms2;\n      return ((_this$pms2 = this.pms) === null || _this$pms2 === void 0 ? void 0 : _this$pms2.status) === 'paused';\n    }\n    get organizationPartnerSlug() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 || (_this$currentUser2 = _this$currentUser2.currentOrganization) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.partnerSlug;\n    }\n    get canEditPMSIntegration() {\n      return (this.isAdditiveUser || this.isPartnerUser) && this.isAdmin;\n    }\n    get showConnectButton() {\n      var _this$pms3, _this$pms4;\n      return ((_this$pms3 = this.pms) === null || _this$pms3 === void 0 || (_this$pms3 = _this$pms3.settings) === null || _this$pms3 === void 0 ? void 0 : _this$pms3.oauthUrl) && !((_this$pms4 = this.pms) !== null && _this$pms4 !== void 0 && (_this$pms4 = _this$pms4.settings) !== null && _this$pms4 !== void 0 && _this$pms4.hasToken);\n    }\n    get _oauthUrl() {\n      var _this$pms5;\n      return `${(_this$pms5 = this.pms) === null || _this$pms5 === void 0 || (_this$pms5 = _this$pms5.settings) === null || _this$pms5 === void 0 ? void 0 : _this$pms5.oauthUrl}&state=${this.organizationId}`;\n    }\n    get emptyContentMessage() {\n      return this.intl.exists(`components.aaSettings.integrations.list.${this.pms.type}.empty`) ? this.intl.t(`components.aaSettings.integrations.list.${this.pms.type}.empty`) : this.intl.exists(`components.aaSettings.integrations.list.fallback.empty`);\n    }\n    get integrationTitle() {\n      return this.intl.exists(`components.aaSettings.integrations.list.${this.pms.type}.integration.title`) ? this.intl.t(`components.aaSettings.integrations.list.${this.pms.type}.integration.title`) : this.intl.exists(`components.aaSettings.integrations.list.fallback.integration.title`);\n    }\n    get integrationDescription() {\n      return this.intl.exists(`components.aaSettings.integrations.list.${this.pms.type}.integration.description`) ? this.intl.t(`components.aaSettings.integrations.list.${this.pms.type}.integration.description`) : this.intl.exists(`components.aaSettings.integrations.list.fallback.integration.description`);\n    }\n    get globalUserState() {\n      return this.uiState.getState(_constants2.GLOBAL_USER_STATE_KEY);\n    }\n    get globalUser() {\n      var _this$globalUserState;\n      return (_this$globalUserState = this.globalUserState) === null || _this$globalUserState === void 0 ? void 0 : _this$globalUserState.user;\n    }\n    get _integrationType() {\n      var _this$_authentication, _this$_authentication2;\n      if (this.pms.type === ASA && (_this$_authentication = this._authenticationTypes) !== null && _this$_authentication !== void 0 && _this$_authentication.length) {\n        return ASA;\n      }\n      const firstAuthenticationType = (_this$_authentication2 = this._authenticationTypes) !== null && _this$_authentication2 !== void 0 && _this$_authentication2.length ? this._authenticationTypes[0] : null;\n      return firstAuthenticationType === null || firstAuthenticationType === void 0 ? void 0 : firstAuthenticationType.id;\n    }\n    get _isFabButtonGeneratingCredentials() {\n      if (this.pms.type === ASA) {\n        var _this$_items;\n        return ((_this$_items = this._items) === null || _this$_items === void 0 ? void 0 : _this$_items.find(item => item.type === ASA)) === undefined;\n      }\n      return this.hasAPIGeneratedCredentials;\n    }\n    get _showList() {\n      var _this$_items3;\n      if (this.pms.type === ASA) {\n        var _this$_items2;\n        return ((_this$_items2 = this._items) === null || _this$_items2 === void 0 ? void 0 : _this$_items2.find(item => item.type === ASA)) !== undefined;\n      }\n      return ((_this$_items3 = this._items) === null || _this$_items3 === void 0 ? void 0 : _this$_items3.length) > 0;\n    }\n    get showAddButton() {\n      if (this.getItems.isRunning) {\n        return false;\n      } else {\n        if (this.pms.type === 'apaleo') return false;else {\n          var _this$_items4, _this$_asaItems, _this$_items5, _this$_authentication3, _this$_authentication4;\n          const itemsLength = this.pms.type === ASA ? ((_this$_items4 = this._items) === null || _this$_items4 === void 0 ? void 0 : _this$_items4.length) - ((_this$_asaItems = this._asaItems) === null || _this$_asaItems === void 0 ? void 0 : _this$_asaItems.length) : (_this$_items5 = this._items) === null || _this$_items5 === void 0 ? void 0 : _this$_items5.length;\n          return ((_this$_authentication3 = this._authenticationTypes) === null || _this$_authentication3 === void 0 ? void 0 : _this$_authentication3.length) && !(itemsLength === ((_this$_authentication4 = this._authenticationTypes) === null || _this$_authentication4 === void 0 ? void 0 : _this$_authentication4.length));\n        }\n      }\n    }\n    _buildAuthenticationList() {\n      const items = [];\n      this._authentications.forEach(authentication => {\n        var _authentication$crede4, _authentication$crede5, _authentication$crede6, _this$_authentication5, _this$_authentication6, _this$_authentication7;\n        if (!this._authenticationTypes.some(type => type.id === authentication.type)) return;\n        let state = (_authentication$crede4 = authentication.credentials) !== null && _authentication$crede4 !== void 0 && _authentication$crede4.user && (_authentication$crede5 = authentication.credentials) !== null && _authentication$crede5 !== void 0 && _authentication$crede5.hasPassword || (_authentication$crede6 = authentication.credentials) !== null && _authentication$crede6 !== void 0 && _authentication$crede6.hasToken ? 'success' : 'error';\n        const title = this.pms.type === ASA ? (_this$_authentication5 = this._authenticationTypes.find(type => type.id === authentication.type)) === null || _this$_authentication5 === void 0 ? void 0 : _this$_authentication5.name : this.intl.t(`components.aaSettings.integrations.pmsNames.${this.pms.type}`);\n        items.push({\n          title,\n          description: (_this$_authentication6 = this._authenticationTypes.find(type => type.id === authentication.type)) === null || _this$_authentication6 === void 0 ? void 0 : _this$_authentication6.description,\n          fields: (_this$_authentication7 = this._authenticationTypes.find(type => type.id === authentication.type)) === null || _this$_authentication7 === void 0 ? void 0 : _this$_authentication7.credentials.fields,\n          credentials: authentication.credentials,\n          requiresUrl: authentication.requiresUrl,\n          url: authentication.url,\n          guideUrl: authentication.guideUrl,\n          type: authentication.type,\n          state,\n          hasGeneratedCredentials: authentication.hasGeneratedCredentials\n        });\n      });\n      this._items = this._asaItems && items.length ? this._asaItems.concat(items) : items;\n    }\n    showCredentials(credentials, authenticationType) {\n      this._credentials = credentials;\n      this._authenticationType = authenticationType;\n      this._isShowCredentialsDialogOpen = true;\n    }\n    addNewAuthenticationType() {\n      // TODO: once multiple authentication types are available, the user has to choose which type should be added\n      const fields = this._authenticationTypes[0].credentials.fields;\n      const newAuthenticationType = Object.assign({}, this._authenticationTypes[0], {\n        credentials: null,\n        fields\n      });\n      newAuthenticationType.type = newAuthenticationType.id;\n      delete newAuthenticationType.id;\n      this._editAuthenticationType = newAuthenticationType;\n    }\n    openSettingsByAppId(appId) {\n      const url = (0, _appUtils.getAppUrlById)(appId, _environment.default.environment);\n\n      /* Open integration settings */\n      if (appId === _constants.APP_ID_VOUCHER) {\n        window.open(`${url}/${this.organizationId}/settings`);\n      } else {\n        window.open(`${url}/${this.organizationId}/settings/integrations`);\n      }\n    }\n    onEditDialogClose() {\n      this._editAuthenticationType = null;\n    }\n    onSave(savedAuthentication) {\n      const changedAuthenticationIndex = this._authentications.findIndex(authentication => authentication.type === savedAuthentication.type);\n      if (changedAuthenticationIndex !== -1) {\n        this._authentications[changedAuthenticationIndex] = savedAuthentication;\n      } else {\n        this._authentications.push(savedAuthentication);\n      }\n      this._buildAuthenticationList();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiAppSettings\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiState\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"pms\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_authentications\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_authenticationType\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_authenticationTypes\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"_editAuthenticationType\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"_items\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"_asaItems\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"_isEditPmsIntegrationDialogOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"_isShowCredentialsDialogOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"_credentials\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"getItems\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"fetchAuthentications\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"fetchAuthenticationTypes\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"generateCredentials\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"onSuccess\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"showCredentials\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showCredentials\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"addNewAuthenticationType\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addNewAuthenticationType\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openSettingsByAppId\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openSettingsByAppId\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onEditDialogClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onEditDialogClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onSave\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onSave\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaSettingsIntegrationsList);\n});","define(\"additive-account/components/aa-settings/integrations/show-credentials-dialog\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-arg-types\", \"prop-types\", \"@additive-apps/ui/constants\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _object, _service, _emberArgTypes, _propTypes, _constants, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiModal @title={{this.dialogTitle}} @onClose={{this.onClose}} as |modal|>\n    <modal.header />\n    <modal.content as |content|>\n      <content.body>\n        <div class=\"pb2\">\n          {{t \"components.aaSettings.integrations.showCredentialsDialog.description\"}}\n        </div>\n  \n        <div class=\"flex flex-column mt1\">\n          <div>\n            <UiLabel\n              @class=\"mb1\"\n              @value={{t\n                \"components.aaSettings.integrations.showCredentialsDialog.properties.password\"\n              }}\n            />\n            <div class=\"flex items-center w-100 gap1 mb05\">\n              <UiInput\n                @value={{or this.credentials.password \"******\"}}\n                @isDisabled={{true}}\n                @isPlain={{true}}\n              />\n              {{#if this.credentials.password}}\n                <UiActionButton\n                  @icon=\"clipboard\"\n                  @onClick={{fn this.copyToClipboard this.credentials.password}}\n                />\n              {{/if}}\n            </div>\n            <div class=\"font-xs yellow mb2\">\n              {{t \"components.aaSettings.integrations.showCredentialsDialog.tokenWarning\"}}\n            </div>\n          </div>\n  \n          <UiLabel\n            @class=\"mb1\"\n            @value={{t \"components.aaSettings.integrations.showCredentialsDialog.properties.host\"}}\n          />\n          <div class=\"flex items-center w-100 gap1 mb2\">\n            <UiInput @value={{this.credentials.host}} @isDisabled={{true}} @isPlain={{true}} />\n            <UiActionButton\n              @icon=\"clipboard\"\n              @onClick={{fn this.copyToClipboard this.credentials.host}}\n            />\n          </div>\n  \n          {{#if this.credentials.username}}\n            <UiLabel\n              @class=\"mb1\"\n              @value={{t\n                \"components.aaSettings.integrations.showCredentialsDialog.properties.username\"\n              }}\n            />\n            <div class=\"flex items-center w-100 gap1\">\n              <UiInput\n                @value={{this.credentials.username}}\n                @isDisabled={{true}}\n                @isPlain={{true}}\n                @class=\"mb2\"\n              />\n              <UiActionButton\n                @icon=\"clipboard\"\n                @onClick={{fn this.copyToClipboard this.credentials.username}}\n              />\n            </div>\n          {{/if}}\n  \n          {{#if this.credentials.password}}\n            <UiCheckbox\n              @class=\"mt3\"\n              @isChecked={{this._isCheckboxChecked}}\n              @onChange={{fn (mut this._isCheckboxChecked) (not this._isCheckboxChecked)}}\n            >\n              <div class=\"primary font-medium\">\n                {{t \"components.aaSettings.integrations.showCredentialsDialog.checkbox\"}}\n              </div>\n            </UiCheckbox>\n          {{/if}}\n        </div>\n      </content.body>\n    </modal.content>\n    <modal.footer>\n      {{#if this.credentials.password}}\n        <UiButton\n          @label={{t \"components.aaSettings.integrations.showCredentialsDialog.confirm\"}}\n          @isDisabled={{not this._isCheckboxChecked}}\n          @onClick={{this.onClose}}\n        />\n      {{else}}\n        <UiButton\n          @label={{t \"components.aaSettings.integrations.showCredentialsDialog.delete\"}}\n          @isDanger={{true}}\n          @onClick={{this.showDeleteCredentialsDialog}}\n        />\n      {{/if}}\n    </modal.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"YVy5oQg/\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@onClose\\\"],[[30,0,[\\\"dialogTitle\\\"]],[30,0,[\\\"onClose\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"pb2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-column mt1\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[12],[1,\\\"\\\\n          \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@value\\\"],[\\\"mb1\\\",[28,[37,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.properties.password\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex items-center w-100 gap1 mb05\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,3],null,[[\\\"@value\\\",\\\"@isDisabled\\\",\\\"@isPlain\\\"],[[28,[37,4],[[30,0,[\\\"credentials\\\",\\\"password\\\"]],\\\"******\\\"],null],true,true]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"credentials\\\",\\\"password\\\"]],[[[1,\\\"              \\\"],[8,[39,6],null,[[\\\"@icon\\\",\\\"@onClick\\\"],[\\\"clipboard\\\",[28,[37,7],[[30,0,[\\\"copyToClipboard\\\"]],[30,0,[\\\"credentials\\\",\\\"password\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"font-xs yellow mb2\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.tokenWarning\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@value\\\"],[\\\"mb1\\\",[28,[37,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.properties.host\\\"],null]]],null],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex items-center w-100 gap1 mb2\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,3],null,[[\\\"@value\\\",\\\"@isDisabled\\\",\\\"@isPlain\\\"],[[30,0,[\\\"credentials\\\",\\\"host\\\"]],true,true]],null],[1,\\\"\\\\n          \\\"],[8,[39,6],null,[[\\\"@icon\\\",\\\"@onClick\\\"],[\\\"clipboard\\\",[28,[37,7],[[30,0,[\\\"copyToClipboard\\\"]],[30,0,[\\\"credentials\\\",\\\"host\\\"]]],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"credentials\\\",\\\"username\\\"]],[[[1,\\\"          \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@value\\\"],[\\\"mb1\\\",[28,[37,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.properties.username\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex items-center w-100 gap1\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,3],null,[[\\\"@value\\\",\\\"@isDisabled\\\",\\\"@isPlain\\\",\\\"@class\\\"],[[30,0,[\\\"credentials\\\",\\\"username\\\"]],true,true,\\\"mb2\\\"]],null],[1,\\\"\\\\n            \\\"],[8,[39,6],null,[[\\\"@icon\\\",\\\"@onClick\\\"],[\\\"clipboard\\\",[28,[37,7],[[30,0,[\\\"copyToClipboard\\\"]],[30,0,[\\\"credentials\\\",\\\"username\\\"]]],null]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"credentials\\\",\\\"password\\\"]],[[[1,\\\"          \\\"],[8,[39,8],null,[[\\\"@class\\\",\\\"@isChecked\\\",\\\"@onChange\\\"],[\\\"mt3\\\",[30,0,[\\\"_isCheckboxChecked\\\"]],[28,[37,7],[[28,[37,9],[[30,0,[\\\"_isCheckboxChecked\\\"]]],null],[28,[37,10],[[30,0,[\\\"_isCheckboxChecked\\\"]]],null]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"primary font-medium\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.checkbox\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"credentials\\\",\\\"password\\\"]],[[[1,\\\"      \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.confirm\\\"],null],[28,[37,10],[[30,0,[\\\"_isCheckboxChecked\\\"]]],null],[30,0,[\\\"onClose\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"components.aaSettings.integrations.showCredentialsDialog.delete\\\"],null],true,[30,0,[\\\"showDeleteCredentialsDialog\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"modal\\\",\\\"content\\\"],false,[\\\"ui-modal\\\",\\\"t\\\",\\\"ui-label\\\",\\\"ui-input\\\",\\\"or\\\",\\\"if\\\",\\\"ui-action-button\\\",\\\"fn\\\",\\\"ui-checkbox\\\",\\\"mut\\\",\\\"not\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-settings/integrations/show-credentials-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaSettingsIntegrationsShowCredentialsDialog = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberArgTypes.arg)(_propTypes.string), _dec3 = (0, _emberArgTypes.arg)(_propTypes.string), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class AaSettingsIntegrationsShowCredentialsDialog extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      /**\n       * the credentials to be shown\n       *\n       * @argument credentials\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"credentials\", _descriptor6, this);\n      /**\n       * the authentication type\n       *\n       * @property authenticationType\n       * @type {String}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"authenticationType\", _descriptor7, this);\n      /**\n       * the type of the PMS integration\n       *\n       * @argument pmsType\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"pmsType\", _descriptor8, this);\n      /**\n       * whether the confirmation checkbox is checked\n       *\n       * @property _isCheckboxChecked\n       * @type {Boolean}\n       * @default falase\n       */\n      _initializerDefineProperty(this, \"_isCheckboxChecked\", _descriptor9, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor10, this);\n    }\n    /**\n     * the currently active organization\n     *\n     * @computed organizationId\n     */\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    get dialogTitle() {\n      const intlBase = 'components.aaSettings.integrations';\n      return [this.intl.t(`${intlBase}.pmsNames.${this.pmsType}`), this.intl.t(`${intlBase}.showCredentialsDialog.title.credentials`)].join(' ');\n    }\n    copyToClipboard(text) {\n      var _navigator;\n      (_navigator = navigator) === null || _navigator === void 0 || (_navigator = _navigator.clipboard) === null || _navigator === void 0 || _navigator.writeText(text);\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.copySuccess')\n      });\n    }\n    showDeleteCredentialsDialog() {\n      this.uiDialog.showConfirm(this.intl.t('components.aaSettings.integrations.showCredentialsDialog.deleteDialog.title'), this.intl.t('components.aaSettings.integrations.showCredentialsDialog.deleteDialog.description'), () => this.deleteCredentials(), this.intl.t('global.actions.delete'), true, true);\n    }\n    async deleteCredentials() {\n      try {\n        const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms/authentication`;\n        const response = await this.authenticatedFetch.fetch(url, {\n          method: 'DELETE',\n          headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n            'Accept-Language': this.currentUser.user.language\n          }),\n          body: JSON.stringify({\n            type: this.authenticationType\n          })\n        });\n        if (!(response !== null && response !== void 0 && response.ok)) throw new Error('Response not ok');\n        this.onClose();\n        this.uiToast.showToast({\n          type: 'success',\n          title: this.intl.t('global.toasts.success.savedChanges')\n        });\n      } catch (e) {\n        this.uiToast.showToast({\n          type: 'error',\n          title: this.intl.t('global.toasts.error.savedChanges')\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"credentials\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"authenticationType\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"pmsType\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_isCheckboxChecked\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"copyToClipboard\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"copyToClipboard\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showDeleteCredentialsDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"showDeleteCredentialsDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deleteCredentials\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteCredentials\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaSettingsIntegrationsShowCredentialsDialog);\n});","define(\"additive-account/components/aa-settings/room-counts/detail\", [\"exports\", \"@ember/component\", \"ember-concurrency\", \"@ember/service\", \"@ember/object\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/settings\"], function (_exports, _component, _emberConcurrency, _service, _object, _emberChangeset, _emberChangesetValidations, _settings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Edit and Create dialog for room count settings\n   *\n   * @module aa-settings/room-counts\n   * @class detail\n   */\n  var _default = _exports.default = _component.default.extend({\n    intl: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    /**\n     * the changeset for the roomCount model\n     *\n     * @property changeset\n     * @type {Changeset}\n     * @default null\n     */\n    changeset: null,\n    /**\n     * the roomCount object\n     *\n     * @property roomCount\n     * @type {Model}\n     * @default null\n     */\n    roomCount: null,\n    /**\n     * the task to re-fetch the models after saving\n     *\n     * @property fetchRoomCounts\n     * @type {Task}\n     * @default undefined\n     */\n    fetchRoomCounts: undefined,\n    /**\n     * whether the discard changes dialog is open\n     *\n     * @property isDiscardChangesDialog\n     * @type {Boolean}\n     * @default false\n     */\n    isDiscardChangesDialog: false,\n    init() {\n      this._super(...arguments);\n      let roomCount = this.roomCount;\n      if (!roomCount) {\n        roomCount = this.store.createRecord('room-count');\n      }\n      const validation = (0, _settings.roomCountValidation)(this.intl);\n      const changeset = new _emberChangeset.default(roomCount, (0, _emberChangesetValidations.default)(validation), validation);\n      (0, _object.setProperties)(this, {\n        changeset,\n        roomCount\n      });\n    },\n    /**\n     * saves room count\n     *\n     * @function save\n     * @type {Task}\n     */\n    save: (0, _emberConcurrency.task)(function* () {\n      try {\n        (0, _object.set)(this, 'isTouched', true);\n        yield this.changeset.validate();\n        if (this.changeset.get('isInvalid')) {\n          return;\n        }\n        yield this.changeset.save();\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.success.changes.title'),\n          description: this.intl.t('global.toasts.success.changes.description'),\n          type: 'success'\n        });\n        this.fetchRoomCounts.perform();\n        this.onClose();\n      } catch (e) {\n        // display error if period overlaps with another closing period\n        if (e.errors && e.errors[0] && e.errors[0].detail === 'already_exists') {\n          this.changeset.pushErrors('startsAt', this.intl.t('routes.settings.roomCounts.existsError'));\n        } else {\n          this.uiToast.showToast({\n            title: this.intl.t('global.toasts.delete.error'),\n            description: this.intl.t('global.toasts.error.description'),\n            type: 'error'\n          });\n        }\n      }\n    }),\n    onClose() {},\n    actions: {\n      close() {\n        if (this.changeset.get('isPristine')) {\n          return this.onClose();\n        }\n        (0, _object.set)(this, 'isDiscardChangesDialog', true);\n      },\n      discardChanges() {\n        this.changeset && this.changeset.rollback();\n        if (this.roomCount.isNew) {\n          this.roomCount.destroyRecord();\n        }\n        this.onClose();\n      }\n    }\n  });\n});","define(\"additive-account/components/aa-settings/room-counts/list\", [\"exports\", \"@ember/component\", \"@ember/object/computed\"], function (_exports, _component, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    tagName: '',\n    /**\n     * the room count list items\n     *\n     * @property items\n     * @type {Array}\n     * @default undefined\n     */\n    items: undefined,\n    /**\n     * the key of the room counts object\n     *\n     * @property key\n     * @type {String}\n     * @default null\n     */\n    key: null,\n    /**\n     * Whether its read only\n     *\n     * @property isReadOnly\n     * @type {Boolean}\n     * @default false\n     */\n    isReadOnly: false,\n    /**\n     * the state of the list items\n     *\n     * @property state\n     * @type {String}\n     * @default null\n     */\n    state: null,\n    /**\n     * whether the list is loading\n     *\n     * @property isLoading\n     * @type {Boolean}\n     * @default false\n     */\n    isLoading: false,\n    /**\n     * whether there has been an error during fetching\n     *\n     * @property isError\n     * @type {Boolean}\n     * @default false\n     */\n    isError: false,\n    /**\n     * the task used to reload the roomCounts\n     *\n     * @property fetchRoomCounts\n     * @type {Task}\n     * @default undefined\n     */\n    fetchRoomCounts: undefined,\n    /**\n     * the list is only shown if it is loading, or there\n     * are items in this list\n     *\n     * @computed _showList\n     * @private\n     */\n    _showList: (0, _computed.or)('isLoading', 'items', 'isError'),\n    onDelete() {},\n    onClick() {}\n  });\n});","define(\"additive-account/components/aa-settings/salutation-settings\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-changeset\", \"ember-changeset-validations\", \"ember-concurrency\", \"ember-arg-types\", \"prop-types\", \"lodash.clonedeep\", \"additive-account/utils/constants\", \"additive-account/validations/settings\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _object, _service, _emberChangeset, _emberChangesetValidations, _emberConcurrency, _emberArgTypes, _propTypes, _lodash, _constants, _settings, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiControlPanelGroup\n    @class=\"pt2\"\n    @title={{t \"components.aaSettings.salutationSettings.label\"}}\n    ...attributes\n    as |Group|\n  >\n    {{#each this._formattedSalutationSettings as |salutation|}}\n      <Group.panel\n        @label={{t (concat \"components.aaSettings.salutationSettings.\" salutation.key \".title\")}}\n        @value={{salutation.description}}\n        @onPanelClick={{fn this.editSalutation salutation.key}}\n      />\n    {{/each}}\n  </UiControlPanelGroup>\n  \n  {{#if this._isEditDialog}}\n    <UiModal @size={{this._dialogSize}} @onClose={{this.onDialogClose}} as |modal|>\n      <modal.header />\n      <modal.content as |content|>\n        <content.top>\n          {{#if this._isMultilingualProperty}}\n            {{#if this._isEdit}}\n              <UiLanguageTag\n                @class=\"mv05\"\n                @language={{this._editSalutationLanguage}}\n                @hideState={{true}}\n                data-test-aa-settings-salutation-settings-lang-tag\n              />\n            {{else}}\n              <UiLangSelect\n                @languages={{this._contentLanguages}}\n                @publishedLanguages={{this._contentLanguages}}\n                @onSelect={{this._changeLanguage}}\n                @selected={{this._editSalutationLanguage}}\n                @hideLanguageActions={{true}}\n              />\n            {{/if}}\n          {{/if}}\n        </content.top>\n        <content.body @class=\"pb1\">\n          <div class=\"font-lg primary {{if this._isMultilingualProperty 'pt3' 'mv1'}}\">\n            {{t\n              (concat \"components.aaSettings.salutationSettings.\" this._editSalutationKey \".title\")\n            }}\n          </div>\n          <div class=\"font-md primary pt1 pb2\">\n            {{t\n              (concat\n                \"components.aaSettings.salutationSettings.\" this._editSalutationKey \".description\"\n              )\n              htmlSafe=true\n            }}\n          </div>\n          {{#if this._hasPlaceholders}}\n            <div class=\"font-sm primary pb2\">\n              <table>\n                <tbody>\n                  <tr>\n                    <td class=\"pr1 pb05\">\n                      {{t\n                        \"components.aaSettings.salutationSettings.placeholders.givenName.placeholder\"\n                      }}\n                    </td>\n                    <td class=\"secondary pb05\">\n                      {{t\n                        \"components.aaSettings.salutationSettings.placeholders.givenName.description\"\n                      }}\n                    </td>\n                  </tr>\n                  <tr>\n                    <td class=\"pr1\">\n                      {{t \"components.aaSettings.salutationSettings.placeholders.name.placeholder\"}}\n                    </td>\n                    <td class=\"secondary\">\n                      {{t \"components.aaSettings.salutationSettings.placeholders.name.description\"}}\n                    </td>\n                  </tr>\n                </tbody>\n              </table>\n            </div>\n          {{/if}}\n  \n          {{#if this.changeLanguage.isRunning}}\n            <UiSkeleton\n              @class=\"pt1 mb4\"\n              @items={{if this._hasGenderFields 2 1}}\n              @itemsPerRow={{1}}\n              @cardHeight={{64}}\n              @gap={{24}}\n            />\n          {{else if this._isChangeLanguageError}}\n            <div\n              class=\"flex flex-column justify-center items-center font-sm secondary text-center pt2 ph3\"\n            >\n              {{t \"components.aaSettings.salutationSettings.error\"}}\n              <div class=\"pa2\">\n                <UiButton\n                  @label={{t \"global.actions.retry\"}}\n                  @onClick={{perform this.changeLanguage this._editSalutationLanguage}}\n                />\n              </div>\n            </div>\n          {{else}}\n            {{#if this._hasGenderFields}}\n              <UiInput\n                @label={{t \"components.aaSettings.salutationSettings.gender.female\"}}\n                @value={{get this._changeset \"f\"}}\n                @isTouched={{true}}\n                @errorMessage={{get (get this._changeset.error \"f\") \"validation\"}}\n                @isReadOnly={{not this._isEdit}}\n                data-test-aa-settings-salutation-settings-input-f\n              />\n  \n              <UiInput\n                @label={{t \"components.aaSettings.salutationSettings.gender.male\"}}\n                @value={{get this._changeset \"m\"}}\n                @isTouched={{true}}\n                @errorMessage={{get (get this._changeset.error \"m\") \"validation\"}}\n                @isReadOnly={{not this._isEdit}}\n                data-test-aa-settings-salutation-settings-input-m\n              />\n            {{else if this._hasSingleField}}\n              <UiInput\n                @label={{t\n                  (concat\n                    \"components.aaSettings.salutationSettings.\" this._editSalutationKey \".title\"\n                  )\n                }}\n                @value={{get this._changeset \"value\"}}\n                @isTouched={{true}}\n                @errorMessage={{get (get this._changeset.error \"value\") \"validation\"}}\n                @isReadOnly={{not this._isEdit}}\n              />\n            {{else}}\n              <UiSelect\n                @label={{t (concat \"components.aaSettings.salutationSettings.prefer.title\")}}\n                @options={{this._preferOptions}}\n                @selected={{t\n                  (concat\n                    \"components.aaSettings.salutationSettings.prefer.options.\" this._changeset.value\n                  )\n                }}\n                @onChange={{fn (mut this._changeset.value)}}\n                @isReadOnly={{not this._isEdit}}\n                as |option item|\n              >\n                <option.item @value={{item.value}}>\n                  {{item.name}}\n                </option.item>\n              </UiSelect>\n            {{/if}}\n          {{/if}}\n        </content.body>\n      </modal.content>\n      <modal.footer>\n        {{#if this.currentUser.isManager}}\n          {{#if this._isEdit}}\n            <UiButton @label={{t \"global.actions.save\"}} @onClick={{perform this.save}} />\n          {{else}}\n            <UiButton\n              @icon=\"edit\"\n              @isFabButton={{true}}\n              @onClick={{fn (mut this._isEdit) true}}\n              data-test-aa-settings-salutation-settings-edit-button\n            />\n          {{/if}}\n        {{/if}}\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"apbS/Ttj\",\n    \"block\": \"[[[8,[39,0],[[17,1]],[[\\\"@class\\\",\\\"@title\\\"],[\\\"pt2\\\",[28,[37,1],[\\\"components.aaSettings.salutationSettings.label\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,0,[\\\"_formattedSalutationSettings\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[30,2,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@onPanelClick\\\"],[[28,[37,1],[[28,[37,4],[\\\"components.aaSettings.salutationSettings.\\\",[30,3,[\\\"key\\\"]],\\\".title\\\"],null]],null],[30,3,[\\\"description\\\"]],[28,[37,5],[[30,0,[\\\"editSalutation\\\"]],[30,3,[\\\"key\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[3]],null]],[2]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isEditDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,7],null,[[\\\"@size\\\",\\\"@onClose\\\"],[[30,0,[\\\"_dialogSize\\\"]],[30,0,[\\\"onDialogClose\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,5,[\\\"top\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isMultilingualProperty\\\"]],[[[41,[30,0,[\\\"_isEdit\\\"]],[[[1,\\\"            \\\"],[8,[39,8],[[24,\\\"data-test-aa-settings-salutation-settings-lang-tag\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@language\\\",\\\"@hideState\\\"],[\\\"mv05\\\",[30,0,[\\\"_editSalutationLanguage\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[8,[39,9],null,[[\\\"@languages\\\",\\\"@publishedLanguages\\\",\\\"@onSelect\\\",\\\"@selected\\\",\\\"@hideLanguageActions\\\"],[[30,0,[\\\"_contentLanguages\\\"]],[30,0,[\\\"_contentLanguages\\\"]],[30,0,[\\\"_changeLanguage\\\"]],[30,0,[\\\"_editSalutationLanguage\\\"]],true]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[8,[30,5,[\\\"body\\\"]],null,[[\\\"@class\\\"],[\\\"pb1\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[15,0,[29,[\\\"font-lg primary \\\",[52,[30,0,[\\\"_isMultilingualProperty\\\"]],\\\"pt3\\\",\\\"mv1\\\"]]]],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[[28,[37,4],[\\\"components.aaSettings.salutationSettings.\\\",[30,0,[\\\"_editSalutationKey\\\"]],\\\".title\\\"],null]],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-md primary pt1 pb2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[[28,[37,4],[\\\"components.aaSettings.salutationSettings.\\\",[30,0,[\\\"_editSalutationKey\\\"]],\\\".description\\\"],null]],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_hasPlaceholders\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"font-sm primary pb2\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"table\\\"],[12],[1,\\\"\\\\n              \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n                \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,\\\"td\\\"],[14,0,\\\"pr1 pb05\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"components.aaSettings.salutationSettings.placeholders.givenName.placeholder\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                  \\\"],[10,\\\"td\\\"],[14,0,\\\"secondary pb05\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"components.aaSettings.salutationSettings.placeholders.givenName.description\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,\\\"td\\\"],[14,0,\\\"pr1\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"components.aaSettings.salutationSettings.placeholders.name.placeholder\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                  \\\"],[10,\\\"td\\\"],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"components.aaSettings.salutationSettings.placeholders.name.description\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"changeLanguage\\\",\\\"isRunning\\\"]],[[[1,\\\"          \\\"],[8,[39,10],null,[[\\\"@class\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"pt1 mb4\\\",[52,[30,0,[\\\"_hasGenderFields\\\"]],2,1],1,64,24]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"_isChangeLanguageError\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex flex-column justify-center items-center font-sm secondary text-center pt2 ph3\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"components.aaSettings.salutationSettings.error\\\"],null]],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"pa2\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.retry\\\"],null],[28,[37,12],[[30,0,[\\\"changeLanguage\\\"]],[30,0,[\\\"_editSalutationLanguage\\\"]]],null]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"_hasGenderFields\\\"]],[[[1,\\\"            \\\"],[8,[39,13],[[24,\\\"data-test-aa-settings-salutation-settings-input-f\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@isReadOnly\\\"],[[28,[37,1],[\\\"components.aaSettings.salutationSettings.gender.female\\\"],null],[28,[37,14],[[30,0,[\\\"_changeset\\\"]],\\\"f\\\"],null],true,[28,[37,14],[[28,[37,14],[[30,0,[\\\"_changeset\\\",\\\"error\\\"]],\\\"f\\\"],null],\\\"validation\\\"],null],[28,[37,15],[[30,0,[\\\"_isEdit\\\"]]],null]]],null],[1,\\\"\\\\n\\\\n            \\\"],[8,[39,13],[[24,\\\"data-test-aa-settings-salutation-settings-input-m\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@isReadOnly\\\"],[[28,[37,1],[\\\"components.aaSettings.salutationSettings.gender.male\\\"],null],[28,[37,14],[[30,0,[\\\"_changeset\\\"]],\\\"m\\\"],null],true,[28,[37,14],[[28,[37,14],[[30,0,[\\\"_changeset\\\",\\\"error\\\"]],\\\"m\\\"],null],\\\"validation\\\"],null],[28,[37,15],[[30,0,[\\\"_isEdit\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"_hasSingleField\\\"]],[[[1,\\\"            \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@isReadOnly\\\"],[[28,[37,1],[[28,[37,4],[\\\"components.aaSettings.salutationSettings.\\\",[30,0,[\\\"_editSalutationKey\\\"]],\\\".title\\\"],null]],null],[28,[37,14],[[30,0,[\\\"_changeset\\\"]],\\\"value\\\"],null],true,[28,[37,14],[[28,[37,14],[[30,0,[\\\"_changeset\\\",\\\"error\\\"]],\\\"value\\\"],null],\\\"validation\\\"],null],[28,[37,15],[[30,0,[\\\"_isEdit\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[8,[39,16],null,[[\\\"@label\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isReadOnly\\\"],[[28,[37,1],[[28,[37,4],[\\\"components.aaSettings.salutationSettings.prefer.title\\\"],null]],null],[30,0,[\\\"_preferOptions\\\"]],[28,[37,1],[[28,[37,4],[\\\"components.aaSettings.salutationSettings.prefer.options.\\\",[30,0,[\\\"_changeset\\\",\\\"value\\\"]]],null]],null],[28,[37,5],[[28,[37,17],[[30,0,[\\\"_changeset\\\",\\\"value\\\"]]],null]],null],[28,[37,15],[[30,0,[\\\"_isEdit\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,6,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,7,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[1,[30,7,[\\\"name\\\"]]],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[6,7]]]]],[1,\\\"\\\\n          \\\"]],[]]]],[]]],[1,\\\"        \\\"]],[]]]],[]]],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[5]]]]],[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentUser\\\",\\\"isManager\\\"]],[[[41,[30,0,[\\\"_isEdit\\\"]],[[[1,\\\"          \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.save\\\"],null],[28,[37,12],[[30,0,[\\\"save\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[8,[39,11],[[24,\\\"data-test-aa-settings-salutation-settings-edit-button\\\",\\\"\\\"]],[[\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"edit\\\",true,[28,[37,5],[[28,[37,17],[[30,0,[\\\"_isEdit\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&attrs\\\",\\\"Group\\\",\\\"salutation\\\",\\\"modal\\\",\\\"content\\\",\\\"option\\\",\\\"item\\\"],false,[\\\"ui-control-panel-group\\\",\\\"t\\\",\\\"each\\\",\\\"-track-array\\\",\\\"concat\\\",\\\"fn\\\",\\\"if\\\",\\\"ui-modal\\\",\\\"ui-language-tag\\\",\\\"ui-lang-select\\\",\\\"ui-skeleton\\\",\\\"ui-button\\\",\\\"perform\\\",\\\"ui-input\\\",\\\"get\\\",\\\"not\\\",\\\"ui-select\\\",\\\"mut\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-settings/salutation-settings.hbs\",\n    \"isStrictMode\": false\n  });\n\n  // eslint-disable-next-line ember/no-computed-properties-in-native-classes\n  let AaSettingsSalutationSettings = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _object.computed)('_contentLanguages.length', '_defaultLanguage', 'salutationSettings.{de,en,fr,it,nl,pl}'), _dec3 = (0, _emberConcurrency.task)(function* (newLanguage) {\n    const {\n      salutationSettings\n    } = this;\n    this._editSalutationLanguage = newLanguage;\n    this._isChangeLanguageError = false;\n    if (!salutationSettings[newLanguage]) {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this._organizationSlug}`;\n      try {\n        let tasks = [];\n        const requestOptions = {\n          headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n            'Accept-Language': newLanguage\n          })\n        };\n        const request = this.authenticatedFetch.fetch(`${url}/settings/salutations`, requestOptions);\n        tasks.push(request);\n        tasks.push((0, _emberConcurrency.timeout)(400));\n        const [response] = yield (0, _emberConcurrency.all)(tasks);\n        if (!response || !response.ok) {\n          throw new Error('[SETTINGS] salutation settings', response);\n        }\n        const json = yield response.json();\n        if (!json || !json.salutations) {\n          throw new Error('[SETTINGS] salutations settings');\n        }\n        salutationSettings[newLanguage] = json.salutations;\n      } catch (error) {\n        this._isChangeLanguageError = true;\n        return;\n      }\n    }\n    const changeset = this._createChangeset(newLanguage, this._editSalutationKey);\n    this._changeset = changeset;\n  }), _dec4 = (0, _emberConcurrency.task)(function* () {\n    const {\n      salutationSettings\n    } = this;\n    let changeset = this._changeset;\n    // data for rollback on error\n    const changesetSnapshot = changeset.snapshot();\n    const beforeChanges = (0, _lodash.default)(this.salutationSettings[this._editSalutationLanguage]);\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this._organizationSlug}`;\n    try {\n      yield changeset.validate();\n      if (!changeset.get('isValid')) {\n        return;\n      }\n      yield changeset.save();\n      let tasks = [];\n      const editedSaluationSettings = salutationSettings[this._editSalutationLanguage];\n      const preparedSalutationSettings = {\n        formal: {\n          f: editedSaluationSettings.formal.f,\n          m: editedSaluationSettings.formal.m\n        },\n        informal: {\n          f: editedSaluationSettings.informal.f,\n          m: editedSaluationSettings.informal.m\n        },\n        family: editedSaluationSettings.family.value,\n        fallback: editedSaluationSettings.fallback.value,\n        prefer: this._isPreferSalutation ? changeset.get('value') : editedSaluationSettings.prefer\n      };\n      const requestOptions = {\n        method: 'PUT',\n        headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n          'Accept-Language': this._editSalutationLanguage\n        }),\n        body: JSON.stringify(preparedSalutationSettings)\n      };\n      const request = this.authenticatedFetch.fetch(`${url}/settings/salutations`, requestOptions);\n      tasks.push(request);\n      tasks.push((0, _emberConcurrency.timeout)(400));\n      const [response] = yield (0, _emberConcurrency.all)(tasks);\n      if (!response || !response.ok) {\n        // handle validation error\n        if (response && response.status === 422) {\n          const errorJson = yield response.json();\n          if (errorJson) {\n            const errorMessages = errorJson.errors && errorJson.errors[Object.keys(errorJson.errors)[0]];\n            const errorMessage = errorMessages && errorMessages.firstObject;\n            throw new Error(errorMessage);\n          }\n        }\n        throw new Error('[SETTINGS] salutation settings');\n      }\n      const json = yield response.json();\n      if (!json || !json.salutations) {\n        throw new Error('[SETTINGS] salutation settings');\n      }\n      (0, _object.set)(salutationSettings, this._editSalutationLanguage, json.salutations);\n      if (this._editSalutationKey !== 'prefer') {\n        const updatedAvailableLanguages = json.salutations[this._editSalutationKey].availableLanguages;\n        // update availableLanguages for already fetched languages\n        Object.keys(salutationSettings).forEach(language => {\n          (0, _object.set)(salutationSettings, `${language}.${this._editSalutationKey}.availableLanguages`, updatedAvailableLanguages);\n        });\n      }\n\n      // update changeset with new data\n      let newChangeset = this._createChangeset(this._editSalutationLanguage, this._editSalutationKey);\n      this._changeset = newChangeset;\n      this._isEdit = false;\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.savedChanges')\n      });\n    } catch (error) {\n      // reset changes on original resource\n      (0, _object.set)(salutationSettings, this._editSalutationLanguage, beforeChanges);\n\n      // create new changeset and apply snapshot of unsaved changes\n      changeset = this._createChangeset(this._editSalutationLanguage, this._editSalutationKey);\n      changeset.restore(changesetSnapshot);\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title')\n      });\n      this._changeset = changeset;\n    }\n  }).drop(), _class = class AaSettingsSalutationSettings extends _component2.default {\n    /**\n     * the current language of the app\n     *\n     * @computed language\n     * @type {String}\n     */\n    get _defaultLanguage() {\n      var _this$uiAppSettings;\n      return (_this$uiAppSettings = this.uiAppSettings) === null || _this$uiAppSettings === void 0 ? void 0 : _this$uiAppSettings.currentLocale;\n    }\n    get _isFallbackSalutation() {\n      return this._editSalutationKey === 'fallback';\n    }\n    get _isFamilySalutation() {\n      return this._editSalutationKey === 'family';\n    }\n    get _isFormalSalutation() {\n      return this._editSalutationKey === 'formal';\n    }\n    get _isInformalSalutation() {\n      return this._editSalutationKey === 'informal';\n    }\n    get _isPreferSalutation() {\n      return this._editSalutationKey === 'prefer';\n    }\n    get _hasGenderFields() {\n      return this._isFormalSalutation || this._isInformalSalutation;\n    }\n    get _hasSingleField() {\n      return this._isFamilySalutation || this._isFallbackSalutation;\n    }\n    get _hasPlaceholders() {\n      return this._isFamilySalutation || this._isFormalSalutation || this._isInformalSalutation;\n    }\n    get _isMultilingualProperty() {\n      return !this._isPreferSalutation;\n    }\n\n    /**\n     * the current organization slug\n     *\n     * @computed _organizationSlug\n     * @type {String}\n     */\n    get _organizationSlug() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n\n    /**\n     * the size of the edit dialog\n     *\n     * @computed _dialogSize\n     * @type {String}\n     */\n    get _dialogSize() {\n      return this._isMultilingualProperty ? 'md' : 'sm';\n    }\n\n    /**\n     * formatted salutation settings for the current app locale\n     *\n     * @computed _formattedSalutationSettings\n     * @type {Object}\n     */\n    get _formattedSalutationSettings() {\n      if (!this.salutationSettings) {\n        return null;\n      }\n      const salutationSettings = this.salutationSettings[this._defaultLanguage];\n      let formattedSalutations = [];\n      Object.keys(salutationSettings).forEach(key => {\n        const salutation = {\n          key,\n          value: (0, _lodash.default)(salutationSettings[key])\n        };\n        if (key !== 'prefer') {\n          const salutationValue = salutation.value;\n          salutation.description = '-';\n          if (salutationValue.m || salutationValue.f) {\n            salutation.description = [salutationValue.m, salutationValue.f].join(', ');\n          } else {\n            salutation.description = salutationValue.value;\n          }\n          salutation.state = 'success';\n          if (this._contentLanguages.length > 0) {\n            if (!salutationValue.availableLanguages) {\n              salutationValue.availableLanguages = [];\n            }\n            if (salutationValue.availableLanguages.length !== this._contentLanguages.length) {\n              if (salutationValue.availableLanguages.length === 0) {\n                salutation.state = 'error';\n              } else {\n                salutation.state = 'warning';\n              }\n            }\n          }\n        } else {\n          salutation.description = this.intl.t(`components.aaSettings.salutationSettings.${salutation.value}.title`);\n        }\n        formattedSalutations.push(salutation);\n      });\n      return formattedSalutations;\n    }\n\n    /**\n     * changes the language to be edited\n     *\n     * @function changeLanguage\n     * @type {Task}\n     */\n\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiAppSettings\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor6, this);\n      /**\n       * multilingual object of the fetched salutation settings\n       *\n       * @argument salutationSettings\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"salutationSettings\", _descriptor7, this);\n      /**\n       * the changeset\n       *\n       * @property _changeset\n       * @type {Object}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_changeset\", _descriptor8, this);\n      /**\n       * whether the edit dialog is open\n       *\n       * @property _isEditDialog\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isEditDialog\", _descriptor9, this);\n      /**\n       * key of the salutation currently being edited\n       *\n       * @property _editSalutationKey\n       * @type {String}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_editSalutationKey\", _descriptor10, this);\n      /**\n       * the language that is currently being edited\n       *\n       * @property _editSalutationLanguage\n       * @type {String}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_editSalutationLanguage\", _descriptor11, this);\n      /**\n       * whether an error occured while changing the language\n       *\n       * @property _isChangeLanguageError\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isChangeLanguageError\", _descriptor12, this);\n      /**\n       * array with option for prefer select\n       *\n       * @property _preferOptions\n       * @type {Array}\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"_preferOptions\", _descriptor13, this);\n      /**\n       * whether edit modal is in edit mode\n       *\n       * @property _isEdit\n       * @type {Boolean}\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isEdit\", _descriptor14, this);\n      /**\n       * the content languages\n       *\n       * @property _contentLanguages\n       * @type {Array}\n       */\n      _defineProperty(this, \"_contentLanguages\", _constants.AVAILABLE_LANGUAGES);\n      _initializerDefineProperty(this, \"changeLanguage\", _descriptor15, this);\n      /**\n       * saves the salutation settings\n       *\n       * @function save\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"save\", _descriptor16, this);\n      const {\n        intl\n      } = this;\n      this._preferOptions = [{\n        value: 'formal',\n        name: intl.t('components.aaSettings.salutationSettings.prefer.options.formal')\n      }, {\n        value: 'informal',\n        name: intl.t('components.aaSettings.salutationSettings.prefer.options.informal')\n      }, {\n        value: 'family',\n        name: intl.t('components.aaSettings.salutationSettings.prefer.options.family')\n      }];\n    }\n    _createChangeset(language, key) {\n      let resource = this.salutationSettings[language][key];\n      if (key !== 'prefer' && !resource.availableLanguages) {\n        (0, _object.set)(resource, 'availableLanguages', []);\n      } else if (typeof resource === 'string') {\n        // in case of 'prefer'\n        resource = {\n          value: resource\n        };\n      }\n      let validation = null;\n      if (['formal', 'informal'].indexOf(key) !== -1) {\n        validation = (0, _settings.genderSalutationValidation)(this.intl);\n      } else if (['family', 'fallback'].indexOf(key) !== -1) {\n        validation = (0, _settings.simpleSalutationValidation)(this.intl);\n      } else {\n        return new _emberChangeset.default(resource);\n      }\n      return new _emberChangeset.default(resource, (0, _emberChangesetValidations.default)(validation), validation);\n    }\n    _changeLanguage(newLanguage) {\n      if (this._changeset && this._changeset.get('isDirty')) {\n        this.uiDialog.showDiscardChangesConfirm(() => {\n          this._changeset.rollback();\n          this.changeLanguage.perform(newLanguage);\n        });\n        return;\n      }\n      this.changeLanguage.perform(newLanguage);\n    }\n    editSalutation(key) {\n      const changeset = this._createChangeset(this._defaultLanguage, key);\n      this._changeset = changeset;\n      this._editSalutationKey = key;\n      this._editSalutationLanguage = this._defaultLanguage;\n      this._isEditDialog = true;\n    }\n    onDialogClose() {\n      if (this._changeset && this._changeset.isDirty) {\n        this.uiDialog.showDiscardChangesConfirm(() => {\n          this._changeset.rollback();\n          this._isEdit && (this._isEdit = false);\n        });\n      } else if (this._isEdit) {\n        this._isEdit = false;\n      } else {\n        this._isEditDialog = false;\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiAppSettings\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"salutationSettings\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"_changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_isEditDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"_editSalutationKey\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_editSalutationLanguage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"_isChangeLanguageError\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"_preferOptions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"_isEdit\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"_formattedSalutationSettings\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"_formattedSalutationSettings\"), _class.prototype), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"changeLanguage\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"save\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_createChangeset\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_createChangeset\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_changeLanguage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_changeLanguage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"editSalutation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"editSalutation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDialogClose\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDialogClose\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaSettingsSalutationSettings);\n});","define(\"additive-account/components/aa-two-factor-authentication/confirm-code-dialog\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"ember-arg-types\", \"@ember/service\", \"ember-concurrency\", \"prop-types\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/two-factor-authentication\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _object, _emberArgTypes, _service, _emberConcurrency, _propTypes, _emberChangeset, _emberChangesetValidations, _twoFactorAuthentication, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiModal\n    @size={{\"md\"}}\n    @title={{this.title}}\n    @onClose={{this._close}}\n    {{did-insert this._setup}}\n    as |dialog|\n  >\n    <dialog.header />\n    <dialog.content as |content|>\n      <content.body>\n        <div>\n          {{this.description}}\n        </div>\n  \n        <a\n          class=\"flex items-center font-sm blue pt2 cpointer\"\n          href={{this.helpUrl}}\n          target=\"_blank\"\n          rel=\"noopener noreferrer\"\n        >\n          {{t \"components.aaTwoFactorAuthenticationConfirmCodeDialog.help\"}}\n          {{svg-jar \"new-window\" class=\"ml05 flex-shrink-0\" width=\"20\" height=\"20\"}}\n        </a>\n  \n        <div class=\"pt3\">\n          <UiInput\n            @class=\"mfa-code-input\"\n            @label={{t \"components.aaTwoFactorAuthenticationConfirmCodeDialog.code\"}}\n            @value={{this.changeset.code}}\n            @type=\"number\"\n            @isTouched={{true}}\n            @errorMessage={{if\n              this.errorMessage\n              this.errorMessage\n              (get this.changeset.error.code \"validation\")\n            }}\n            @placeholder=\"123456\"\n          />\n        </div>\n      </content.body>\n    </dialog.content>\n  \n    <dialog.footer class=\"pt0\">\n      <UiActionButton\n        @class=\"mr1\"\n        @label={{t \"components.aaTwoFactorAuthenticationConfirmCodeDialog.cancel\"}}\n        @onClick={{this._close}}\n      />\n  \n      <UiButton\n        @label={{t \"components.aaTwoFactorAuthenticationConfirmCodeDialog.confirm\"}}\n        @onClick={{perform this.confirmCode}}\n      />\n    </dialog.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"RHqwQNpx\",\n    \"block\": \"[[[8,[39,0],[[4,[38,1],[[30,0,[\\\"_setup\\\"]]],null]],[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[30,0,[\\\"title\\\"]],[30,0,[\\\"_close\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"description\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,3],[14,0,\\\"flex items-center font-sm blue pt2 cpointer\\\"],[15,6,[30,0,[\\\"helpUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"components.aaTwoFactorAuthenticationConfirmCodeDialog.help\\\"],null]],[1,\\\"\\\\n        \\\"],[1,[28,[35,3],[\\\"new-window\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"ml05 flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@placeholder\\\"],[\\\"mfa-code-input\\\",[28,[37,2],[\\\"components.aaTwoFactorAuthenticationConfirmCodeDialog.code\\\"],null],[30,0,[\\\"changeset\\\",\\\"code\\\"]],\\\"number\\\",true,[52,[30,0,[\\\"errorMessage\\\"]],[30,0,[\\\"errorMessage\\\"]],[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"code\\\"]],\\\"validation\\\"],null]],\\\"123456\\\"]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],[[24,0,\\\"pt0\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,7],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr1\\\",[28,[37,2],[\\\"components.aaTwoFactorAuthenticationConfirmCodeDialog.cancel\\\"],null],[30,0,[\\\"_close\\\"]]]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,8],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"components.aaTwoFactorAuthenticationConfirmCodeDialog.confirm\\\"],null],[28,[37,9],[[30,0,[\\\"confirmCode\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"dialog\\\",\\\"content\\\"],false,[\\\"ui-modal\\\",\\\"did-insert\\\",\\\"t\\\",\\\"svg-jar\\\",\\\"ui-input\\\",\\\"if\\\",\\\"get\\\",\\\"ui-action-button\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-two-factor-authentication/confirm-code-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaTwoFactorAuthenticationConfirmCodeDialog = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _dec2 = (0, _emberArgTypes.arg)(_propTypes.string), _dec3 = (0, _emberArgTypes.arg)(_propTypes.func), _dec4 = (0, _emberArgTypes.arg)(_propTypes.func), _dec5 = (0, _emberConcurrency.task)(function* () {\n    this.errorMessage = null;\n    try {\n      yield this.changeset.validate('code');\n      if (this.changeset.get('isInvalid')) {\n        return;\n      }\n      const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/me/mfa`, {\n        method: 'DELETE',\n        body: JSON.stringify({\n          code: this.changeset.get('code')\n        })\n      });\n      if (!response || !response.ok) {\n        const errorJson = yield response.json();\n        if (errorJson !== null && errorJson !== void 0 && errorJson.message) {\n          throw new Error(errorJson === null || errorJson === void 0 ? void 0 : errorJson.message);\n        }\n      }\n      this.onSuccess();\n      this.onClose();\n    } catch (e) {\n      if ((e === null || e === void 0 ? void 0 : e.message) === 'invalid_code') {\n        this.errorMessage = this.intl.t('components.aaTwoFactorAuthenticationEnableDialog.confirmCode.codeInvalid');\n        return;\n      }\n    }\n  }), _class = class AaTwoFactorAuthenticationConfirmCodeDialog extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor3, this);\n      _initializerDefineProperty(this, \"title\", _descriptor4, this);\n      _initializerDefineProperty(this, \"description\", _descriptor5, this);\n      _initializerDefineProperty(this, \"changeset\", _descriptor6, this);\n      _initializerDefineProperty(this, \"errorMessage\", _descriptor7, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor8, this);\n      _initializerDefineProperty(this, \"onSuccess\", _descriptor9, this);\n      _initializerDefineProperty(this, \"confirmCode\", _descriptor10, this);\n    }\n    get helpUrl() {\n      var _this$uiLocale;\n      const locale = ((_this$uiLocale = this.uiLocale) === null || _this$uiLocale === void 0 ? void 0 : _this$uiLocale.locale) || 'de';\n      if (locale === 'de') {\n        return 'https://knowledge.additive.eu/de/knowledge/wie-stelle-ich-den-zugriff-auf-mein-konto-wiederher';\n      } else {\n        return 'https://knowledge.additive.eu/en/knowledge/how-can-i-restore-access-to-my-account-2fa';\n      }\n    }\n    _setup() {\n      const validation = (0, _twoFactorAuthentication.codeValidation)(this.intl);\n      this.changeset = new _emberChangeset.default({\n        code: null\n      }, (0, _emberChangesetValidations.default)(validation));\n    }\n    _close() {\n      this.onClose();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return this.intl.t('components.aaTwoFactorAuthenticationConfirmCodeDialog.title');\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"description\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return this.intl.t('components.aaTwoFactorAuthenticationConfirmCodeDialog.description');\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"onSuccess\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"confirmCode\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_setup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaTwoFactorAuthenticationConfirmCodeDialog);\n});","define(\"additive-account/components/aa-two-factor-authentication/enable-dialog\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"ember-arg-types\", \"@ember/service\", \"ember-concurrency\", \"prop-types\", \"qrcode\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/two-factor-authentication\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _object, _emberArgTypes, _service, _emberConcurrency, _propTypes, _qrcode, _emberChangeset, _emberChangesetValidations, _twoFactorAuthentication, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiModal\n    @size={{if this.showSuccessMessage \"sm\" \"md\"}}\n    @title={{unless\n      this.showSuccessMessage\n      (t \"components.aaTwoFactorAuthenticationEnableDialog.title\")\n    }}\n    @onClose={{this._close}}\n    {{did-insert this._setup}}\n    as |dialog|\n  >\n    <dialog.header />\n    <dialog.content as |content|>\n      <content.body>\n        {{#if this.showSuccessMessage}}\n          <div class=\"flex flex-column\">\n  \n            {{svg-jar \"success\" class=\"mb2\"}}\n  \n            <div class=\"primary font-lg pb2\">\n              {{t \"components.aaTwoFactorAuthenticationEnableDialog.success.title\"}}\n            </div>\n            <div class=\"mb3\">\n              {{t \"components.aaTwoFactorAuthenticationEnableDialog.success.description\"}}\n            </div>\n          </div>\n        {{else}}\n          <div class=\"flex flex-column\">\n            <div class=\"pb3\">\n              {{t \"components.aaTwoFactorAuthenticationEnableDialog.description\" htmlSafe=true}}\n            </div>\n  \n            <div class=\"w-20 ba b--secondary-20 br1\" />\n  \n            {{#if this.showCodeInput}}\n              <div class=\"pt3\">\n                <div class=\"primary font-md font-medium\">\n                  {{t \"components.aaTwoFactorAuthenticationEnableDialog.confirmCode.title\"}}\n                </div>\n  \n                <div class=\"pt1\">\n                  {{t \"components.aaTwoFactorAuthenticationEnableDialog.confirmCode.description\"}}\n                </div>\n  \n                <div class=\"pt3\">\n                  <UiInput\n                    @class=\"mfa-code-input\"\n                    @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.confirmCode.code\"}}\n                    @value={{this.changeset.code}}\n                    @type=\"number\"\n                    @isTouched={{true}}\n                    @errorMessage={{if\n                      this.errorMessage\n                      this.errorMessage\n                      (get this.changeset.error.code \"validation\")\n                    }}\n                    @placeholder=\"123456\"\n                  />\n                </div>\n              </div>\n            {{else}}\n              <div class=\"pt3\">\n                <div class=\"primary font-md font-medium\">\n                  {{t \"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.title\"}}\n                </div>\n  \n                <div class=\"pt1\">\n                  {{t \"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.description\"}}\n                </div>\n  \n                {{#if this.fetchMFAData.isRunning}}\n                  <div class=\"pt3\">\n                    <UiSkeleton @items={{1}} @gap={{0}} @cardHeight={{254}} />\n                  </div>\n  \n                {{else}}\n                  <div class=\"pt3 flex flex-column items-center\">\n                    <div class=\"pb2\">\n                      <img src={{this.qrDataUrl}} alt=\"QR Code\" />\n                    </div>\n  \n                    <div class=\"w-20 ba b--secondary-20 br1\" />\n  \n                    <div class=\"pt2 text-center\">\n                      <div>\n                        {{t\n                          \"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.havingTrouble\"\n                        }}\n                      </div>\n                      <div class=\"pb1\">\n                        {{t\n                          \"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.enterManually\"\n                        }}\n                      </div>\n                    </div>\n  \n                    <div class=\"inline-flex ba b--secondary-20 font-medium br1 pv05 ph1 mt05 mb3\">\n                      {{this.secretCode}}\n                    </div>\n                  </div>\n                {{/if}}\n              </div>\n            {{/if}}\n          </div>\n        {{/if}}\n      </content.body>\n    </dialog.content>\n  \n    <dialog.footer class=\"pt0\">\n      <div class={{if this.isCodeInputVisible \"flex justify-between w-100\"}}>\n        {{#if this.isCodeInputVisible}}\n          <UiActionButton\n            @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.back\"}}\n            @onClick={{fn (mut this.showCodeInput) false}}\n          />\n        {{/if}}\n  \n        <div>\n          <UiActionButton\n            @class=\"mr05\"\n            @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.cancel\"}}\n            @onClick={{this._close}}\n          />\n  \n          <UiButton\n            @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.continue\"}}\n            @onClick={{this._continue}}\n          />\n        </div>\n      </div>\n    </dialog.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"DUGP4uCG\",\n    \"block\": \"[[[8,[39,0],[[4,[38,4],[[30,0,[\\\"_setup\\\"]]],null]],[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[[52,[30,0,[\\\"showSuccessMessage\\\"]],\\\"sm\\\",\\\"md\\\"],[52,[51,[30,0,[\\\"showSuccessMessage\\\"]]],[28,[37,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.title\\\"],null]],[30,0,[\\\"_close\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showSuccessMessage\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n\\\\n          \\\"],[1,[28,[35,5],[\\\"success\\\"],[[\\\"class\\\"],[\\\"mb2\\\"]]]],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"primary font-lg pb2\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.success.title\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"mb3\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.success.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"w-20 ba b--secondary-20 br1\\\"],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showCodeInput\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"primary font-md font-medium\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.confirmCode.title\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"pt1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.confirmCode.description\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,6],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@placeholder\\\"],[\\\"mfa-code-input\\\",[28,[37,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.confirmCode.code\\\"],null],[30,0,[\\\"changeset\\\",\\\"code\\\"]],\\\"number\\\",true,[52,[30,0,[\\\"errorMessage\\\"]],[30,0,[\\\"errorMessage\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"code\\\"]],\\\"validation\\\"],null]],\\\"123456\\\"]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"primary font-md font-medium\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.title\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"pt1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.description\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"fetchMFAData\\\",\\\"isRunning\\\"]],[[[1,\\\"                \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,8],null,[[\\\"@items\\\",\\\"@gap\\\",\\\"@cardHeight\\\"],[1,0,254]],null],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\"                \\\"],[10,0],[14,0,\\\"pt3 flex flex-column items-center\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"pb2\\\"],[12],[1,\\\"\\\\n                    \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[30,0,[\\\"qrDataUrl\\\"]]],[14,\\\"alt\\\",\\\"QR Code\\\"],[12],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n\\\\n                  \\\"],[10,0],[14,0,\\\"w-20 ba b--secondary-20 br1\\\"],[12],[13],[1,\\\"\\\\n\\\\n                  \\\"],[10,0],[14,0,\\\"pt2 text-center\\\"],[12],[1,\\\"\\\\n                    \\\"],[10,0],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.havingTrouble\\\"],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                    \\\"],[10,0],[14,0,\\\"pb1\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.scanQRCode.enterManually\\\"],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n\\\\n                  \\\"],[10,0],[14,0,\\\"inline-flex ba b--secondary-20 font-medium br1 pv05 ph1 mt05 mb3\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[30,0,[\\\"secretCode\\\"]]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"            \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],[[24,0,\\\"pt0\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[15,0,[52,[30,0,[\\\"isCodeInputVisible\\\"]],\\\"flex justify-between w-100\\\"]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isCodeInputVisible\\\"]],[[[1,\\\"        \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.back\\\"],null],[28,[37,10],[[28,[37,11],[[30,0,[\\\"showCodeInput\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n      \\\"],[10,0],[12],[1,\\\"\\\\n        \\\"],[8,[39,9],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr05\\\",[28,[37,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.cancel\\\"],null],[30,0,[\\\"_close\\\"]]]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,3],[\\\"components.aaTwoFactorAuthenticationEnableDialog.continue\\\"],null],[30,0,[\\\"_continue\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"dialog\\\",\\\"content\\\"],false,[\\\"ui-modal\\\",\\\"if\\\",\\\"unless\\\",\\\"t\\\",\\\"did-insert\\\",\\\"svg-jar\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-skeleton\\\",\\\"ui-action-button\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-two-factor-authentication/enable-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaTwoFactorAuthenticationEnableDialog = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.func), _dec2 = (0, _emberArgTypes.arg)(_propTypes.func), _dec3 = (0, _emberConcurrency.task)(function* () {\n    try {\n      const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/me/mfa/generate-secret`, {\n        method: 'POST'\n      });\n      const {\n        totp\n      } = yield response.json();\n      this.qrDataUrl = yield _qrcode.default.toDataURL(totp.qr, {\n        width: 120\n      });\n      this.secretCode = this.formatSecret(totp.secret);\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }), _dec4 = (0, _emberConcurrency.task)(function* () {\n    this.errorMessage = null;\n    this.changeset.execute();\n    yield this.changeset.validate('code');\n    if (this.changeset.get('isInvalid')) {\n      return;\n    }\n    try {\n      const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/me/mfa`, {\n        method: 'POST',\n        body: JSON.stringify({\n          code: this.changeset.get('code')\n        })\n      });\n      if (!response || !response.ok) {\n        const errorJson = yield response.json();\n        if (errorJson !== null && errorJson !== void 0 && errorJson.message) {\n          throw new Error(errorJson === null || errorJson === void 0 ? void 0 : errorJson.message);\n        }\n      }\n      this.showSuccessMessage = true;\n      this.onSuccess();\n    } catch (e) {\n      if ((e === null || e === void 0 ? void 0 : e.message) === 'invalid_code') {\n        this.errorMessage = this.intl.t('components.aaTwoFactorAuthenticationEnableDialog.confirmCode.codeInvalid');\n        return;\n      }\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }), _class = class AaTwoFactorAuthenticationEnableDialog extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor3, this);\n      _initializerDefineProperty(this, \"qrDataUrl\", _descriptor4, this);\n      _initializerDefineProperty(this, \"showCodeInput\", _descriptor5, this);\n      _initializerDefineProperty(this, \"changeset\", _descriptor6, this);\n      _initializerDefineProperty(this, \"secretCode\", _descriptor7, this);\n      _initializerDefineProperty(this, \"errorMessage\", _descriptor8, this);\n      _initializerDefineProperty(this, \"showSuccessMessage\", _descriptor9, this);\n      _initializerDefineProperty(this, \"onClose\", _descriptor10, this);\n      _initializerDefineProperty(this, \"onSuccess\", _descriptor11, this);\n      _initializerDefineProperty(this, \"fetchMFAData\", _descriptor12, this);\n      _initializerDefineProperty(this, \"validateCode\", _descriptor13, this);\n    }\n    get isCodeInputVisible() {\n      return this.showCodeInput && !this.showSuccessMessage;\n    }\n    formatSecret(secret) {\n      var _secret$match$join, _secret$match;\n      return (_secret$match$join = (_secret$match = secret.match(/.{1,4}/g)) === null || _secret$match === void 0 ? void 0 : _secret$match.join(' ')) !== null && _secret$match$join !== void 0 ? _secret$match$join : secret;\n    }\n    _setup() {\n      const validation = (0, _twoFactorAuthentication.codeValidation)(this.intl);\n      this.changeset = new _emberChangeset.default({\n        code: null\n      }, (0, _emberChangesetValidations.default)(validation));\n      this.fetchMFAData.perform();\n    }\n    async _continue() {\n      if (this.showSuccessMessage) {\n        this.redirectToLogin();\n        this._close();\n        return;\n      }\n      if (!this.showCodeInput) {\n        this.showCodeInput = true;\n        return;\n      }\n      await this.validateCode.perform();\n    }\n    redirectToLogin() {\n      window.location.href = '/auth/login';\n    }\n    _close() {\n      if (this.showSuccessMessage) {\n        this.redirectToLogin();\n      }\n      this.onClose();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"qrDataUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"showCodeInput\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"secretCode\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"showSuccessMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"onSuccess\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"fetchMFAData\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"validateCode\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_setup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_continue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_continue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"redirectToLogin\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"redirectToLogin\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_close\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_close\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaTwoFactorAuthenticationEnableDialog);\n});","define(\"additive-account/components/aa-user/detail\", [\"exports\", \"@ember/component\", \"additive-account/config/environment\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/service\", \"ember-arg-types\", \"prop-types\", \"ember-concurrency\", \"@ember/template-factory\"], function (_exports, _component, _environment, _component2, _tracking, _service, _emberArgTypes, _propTypes, _emberConcurrency, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"flex flex-row flex-wrap\">\n    <div class=\"w-100 w-50-sm\">\n      <AaOrganization::InfoItem\n        @icon=\"user\"\n        @label={{t \"global.attributes.name\"}}\n        @value={{this.user.fullName}}\n      />\n  \n      <AaOrganization::InfoItem\n        @icon=\"at\"\n        @label={{t \"global.attributes.email\"}}\n        @value={{this.user.email}}\n      />\n  \n      <AaOrganization::InfoItem\n        @icon=\"language\"\n        @label={{t \"global.attributes.language\"}}\n        @value={{t (concat \"languageSelect.\" this.user.language)}}\n      />\n    </div>\n  \n    {{#if (or this.user.isAdditive this.user.isPartner)}}\n      <div class=\"w-100 w-50-sm\">\n        {{#if (or this._fetchCountries.isRunning this._fetchPhonePrefixes.isRunning)}}\n          <UiSkeleton @class=\"pt3\" @items={{1}} @itemsPerRow={{1}} @cardHeight={{40}} @gap={{8}} />\n        {{else}}\n          <AaOrganization::InfoItem\n            @icon=\"earth\"\n            @label={{t \"global.attributes.country\"}}\n            @value={{this.formattedCountry}}\n          />\n        {{/if}}\n  \n        <AaOrganization::InfoItem\n          @icon=\"phone\"\n          @label={{t \"global.attributes.phoneNumber\"}}\n          @value={{if this.user.phoneNumber this.user.phoneNumber \"-\"}}\n        />\n  \n        <AaOrganization::InfoItem\n          @icon=\"link\"\n          @label={{t \"global.attributes.meetingLink\"}}\n          @value={{if this.user.meetingLink this.user.meetingLink \"-\"}}\n        />\n      </div>\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"laAeK6e4\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-row flex-wrap\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"w-100 w-50-sm\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"user\\\",[28,[37,1],[\\\"global.attributes.name\\\"],null],[30,0,[\\\"user\\\",\\\"fullName\\\"]]]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"at\\\",[28,[37,1],[\\\"global.attributes.email\\\"],null],[30,0,[\\\"user\\\",\\\"email\\\"]]]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"language\\\",[28,[37,1],[\\\"global.attributes.language\\\"],null],[28,[37,1],[[28,[37,2],[\\\"languageSelect.\\\",[30,0,[\\\"user\\\",\\\"language\\\"]]],null]],null]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"user\\\",\\\"isAdditive\\\"]],[30,0,[\\\"user\\\",\\\"isPartner\\\"]]],null],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"w-100 w-50-sm\\\"],[12],[1,\\\"\\\\n\\\"],[41,[28,[37,4],[[30,0,[\\\"_fetchCountries\\\",\\\"isRunning\\\"]],[30,0,[\\\"_fetchPhonePrefixes\\\",\\\"isRunning\\\"]]],null],[[[1,\\\"        \\\"],[8,[39,5],null,[[\\\"@class\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"pt3\\\",1,1,40,8]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"earth\\\",[28,[37,1],[\\\"global.attributes.country\\\"],null],[30,0,[\\\"formattedCountry\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n      \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"phone\\\",[28,[37,1],[\\\"global.attributes.phoneNumber\\\"],null],[52,[30,0,[\\\"user\\\",\\\"phoneNumber\\\"]],[30,0,[\\\"user\\\",\\\"phoneNumber\\\"]],\\\"-\\\"]]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,0],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@value\\\"],[\\\"link\\\",[28,[37,1],[\\\"global.attributes.meetingLink\\\"],null],[52,[30,0,[\\\"user\\\",\\\"meetingLink\\\"]],[30,0,[\\\"user\\\",\\\"meetingLink\\\"]],\\\"-\\\"]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[13]],[],false,[\\\"aa-organization/info-item\\\",\\\"t\\\",\\\"concat\\\",\\\"if\\\",\\\"or\\\",\\\"ui-skeleton\\\"]]\",\n    \"moduleName\": \"additive-account/components/aa-user/detail.hbs\",\n    \"isStrictMode\": false\n  });\n  let AaUserDetailComponent = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.object), _dec2 = (0, _emberConcurrency.task)(function* () {\n    var _this$currentUser;\n    const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/countries`, {\n      headers: {\n        'Accept-Language': ((_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.user) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.language) || 'de'\n      }\n    });\n    const {\n      countries\n    } = yield response.json();\n    this.countries = countries;\n  }), _dec3 = (0, _emberConcurrency.task)(function* () {\n    const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/phone-prefixes`);\n    const phonePrefixes = yield response.json();\n    this.phonePrefixes = phonePrefixes;\n  }), _class = class AaUserDetailComponent extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"user\", _descriptor2, this);\n      _initializerDefineProperty(this, \"countries\", _descriptor3, this);\n      _initializerDefineProperty(this, \"phonePrefixes\", _descriptor4, this);\n      _initializerDefineProperty(this, \"_fetchCountries\", _descriptor5, this);\n      _initializerDefineProperty(this, \"_fetchPhonePrefixes\", _descriptor6, this);\n      this._fetchPhonePrefixes.perform();\n      this._fetchCountries.perform();\n    }\n    get formattedCountry() {\n      if (!this.user.phoneNumberCountry) {\n        return '-';\n      }\n      const country = this.countries.find(c => c.code === this.user.phoneNumberCountry);\n      const phonePrefix = this.phonePrefixes.find(p => p.country_code === this.user.phoneNumberCountry);\n      const [flag, number] = phonePrefix === null || phonePrefix === void 0 ? void 0 : phonePrefix.phone_prefix.split(' ');\n      return `${flag} ${country === null || country === void 0 ? void 0 : country.name} (${number})`;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"user\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"countries\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"phonePrefixes\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"_fetchCountries\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"_fetchPhonePrefixes\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, AaUserDetailComponent);\n});","define(\"additive-account/components/ae-configurations\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations\"], function (_exports, _aeConfigurations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _aeConfigurations.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/accommodations\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/accommodations\"], function (_exports, _accommodations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _accommodations.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/custom-link\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/custom-link\"], function (_exports, _customLink) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _customLink.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/enquiry-channel\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/enquiry-channel\"], function (_exports, _enquiryChannel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _enquiryChannel.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/enquiry-establishments\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/enquiry-establishments\"], function (_exports, _enquiryEstablishments) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _enquiryEstablishments.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/journal-post\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/journal-post\"], function (_exports, _journalPost) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _journalPost.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/journal-widget\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/journal-widget\"], function (_exports, _journalWidget) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _journalWidget.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/newsletter-widget\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/newsletter-widget\"], function (_exports, _newsletterWidget) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _newsletterWidget.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/offer\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/offer\"], function (_exports, _offer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _offer.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/survey\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/survey\"], function (_exports, _survey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _survey.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/voucher-widget\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/voucher-widget\"], function (_exports, _voucherWidget) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _voucherWidget.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/apps/voucher\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/apps/voucher\"], function (_exports, _voucher) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _voucher.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/code\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/code\"], function (_exports, _code) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _code.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/color\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/color\"], function (_exports, _color) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _color.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/content-categories\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/content-categories\"], function (_exports, _contentCategories) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contentCategories.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/contents\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/contents\"], function (_exports, _contents) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contents.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/date-ranges\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/date-ranges\"], function (_exports, _dateRanges) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dateRanges.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/image\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/image\"], function (_exports, _image) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _image.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/images\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/images\"], function (_exports, _images) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _images.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/item\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/item\"], function (_exports, _item) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _item.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/media-gallery\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/media-gallery\"], function (_exports, _mediaGallery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mediaGallery.default;\n    }\n  });\n});","define(\"additive-account/components/ae-configurations/typography\", [\"exports\", \"@additive-apps/configurator/components/ae-configurations/typography\"], function (_exports, _typography) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _typography.default;\n    }\n  });\n});","define(\"additive-account/components/animated-beacon\", [\"exports\", \"ember-animated/components/animated-beacon\"], function (_exports, _animatedBeacon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedBeacon.default;\n    }\n  });\n});","define(\"additive-account/components/animated-container\", [\"exports\", \"ember-animated/components/animated-container\"], function (_exports, _animatedContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedContainer.default;\n    }\n  });\n});","define(\"additive-account/components/animated-each\", [\"exports\", \"ember-animated/components/animated-each\"], function (_exports, _animatedEach) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedEach.default;\n    }\n  });\n});","define(\"additive-account/components/animated-if\", [\"exports\", \"ember-animated/components/animated-if\"], function (_exports, _animatedIf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedIf.default;\n    }\n  });\n});","define(\"additive-account/components/animated-orphans\", [\"exports\", \"ember-animated/components/animated-orphans\"], function (_exports, _animatedOrphans) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedOrphans.default;\n    }\n  });\n});","define(\"additive-account/components/animated-value\", [\"exports\", \"ember-animated/components/animated-value\"], function (_exports, _animatedValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedValue.default;\n    }\n  });\n});","define(\"additive-account/components/app-plan-card\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\"], function (_exports, _component, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    currentUser: (0, _service.inject)(),\n    classNames: ['app-plan-card', 'flex-sm flex-column-sm flex-grow-1', 'br1', 'mw-100 mw-50-sm mw-33-md'],\n    /**\n     * the selected app\n     *\n     * @argument activeApp\n     * @type {Object}\n     * @default null\n     */\n    activeApp: null,\n    /**\n     * the selected plan\n     *\n     * @argument plan\n     * @type {Object}\n     * @default null\n     */\n    plan: null,\n    /**\n     * whether the button is disabled\n     *\n     * @argument isButtonDisabled\n     * @type {Boolean}\n     * @default false\n     */\n    isButtonDisabled: false,\n    /**\n     * the button text\n     *\n     * @argument actionText\n     * @type {String}\n     * @default null\n     */\n    actionText: null,\n    isRecommended: _object.computed.reads('plan.recommended'),\n    /**\n     * whether the price has the price from prefix\n     *\n     * @computed hasPriceFrom\n     * @type {Boolean}\n     */\n    hasPriceFrom: (0, _object.computed)('activeApp.id', {\n      get() {\n        return this.activeApp && this.activeApp.id === 7;\n      }\n    }),\n    addApp: () => {}\n  });\n});","define(\"additive-account/components/app-role-selection\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\"], function (_exports, _component, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // voucher and guest-intranet\n  const CONTENT_DEPENDEND_APPS = [2, 8];\n  var _default = _exports.default = _component.default.extend({\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    tagName: '',\n    /**\n     * The chooseable roles\n     *\n     * @property appRoles\n     * @type {Object[]}\n     */\n    appRoles: null,\n    /**\n     * The users property name for app-roles\n     *\n     * @property appRoles\n     * @type {string}\n     * @default 'appRoles'\n     */\n    appRolesProperty: null,\n    /**\n     * the apps the current organization owns and to\n     * whom a user can be assigned to.\n     *\n     * @property availableApps\n     * @type {Object[]}\n     */\n    availableApps: undefined,\n    /**\n     * the current selected user\n     * @property user\n     * @type {Object}\n     */\n    user: null,\n    /**\n     * the current selected role\n     * @property role\n     * @type {string}\n     */\n    role: null,\n    /**\n     * the roles that are assignable\n     *\n     * @property globalUserRoles\n     * @type {Object[]}\n     */\n    globalUserRoles: undefined,\n    /**\n     * the role to be assigned in the content when a content-dependent app's rights\n     * are modified\n     *\n     * @private _contentRole\n     * @type {Object}\n     */\n    _contentRole: undefined,\n    /**\n     * temporary saved roles while the dialog to modify a content-dependent app's rigths is shown\n     *\n     * @private _newRoles\n     * @type {Object}\n     */\n    _newRoles: undefined,\n    /**\n     * Extends the global roles by none, which indicates that\n     * a user has no rights on a specific app.\n     */\n    userAppRoles: (0, _object.computed)('globalUserRoles', {\n      get() {\n        let roles = this.globalUserRoles || [];\n        // Remove role \"custom\"\n        roles = roles.filter(role => role.value !== 'custom');\n        roles.push({\n          value: 'none'\n        });\n        return roles;\n      }\n    }),\n    /**\n     *  Commits the changes to the user roles\n     *\n     * @param {*} upgradeContent, whether the content app's rights should be modified\n     * @returns\n     */\n    setAppRoles(upgradeContent) {\n      const updatedRoles = this._newRoles || [];\n      const user = this.user;\n      let newRoles;\n      if (upgradeContent) {\n        // remove old content role\n        newRoles = updatedRoles.filter(el => el.appId !== 4);\n        const contentRole = this._contentRole;\n        newRoles.push(contentRole);\n      } else {\n        newRoles = updatedRoles;\n      }\n      user.set(this.appRolesProperty, newRoles);\n      (0, _object.set)(this, 'isUpdatingUserRoles', true);\n      return user.save().then(() => {\n        const intl = this.intl;\n        this.uiToast.showToast({\n          type: 'success',\n          title: intl.t('global.toasts.success.changes.title'),\n          description: intl.t('global.toasts.success.changes.description'),\n          duration: 2000\n        });\n      }).finally(() => {\n        (0, _object.set)(this, 'isRoleDialog', false);\n        (0, _object.set)(this, 'isUpdatingUserRoles', false);\n        (0, _object.set)(this, 'isContentWarningDialog', false);\n      });\n    },\n    actions: {\n      /**\n       *  sets the new roles of the user when they are modified\n       *\n       *  if the rights of an app that is dependent on the content app is upgraded a confirm dialog\n       *  is shown to give the user the possibility to upgrade the rights for the content as well\n       *\n       *  if the content app's rights are downgraded and another dependend app has higher rights\n       *  a warning is displayed\n       *\n       * @param {*} id\n       * @param {*} role\n       * @returns\n       */\n      addAppRole(id, role) {\n        const appId = Number.parseInt(id);\n        // find app role\n        const appRoles = this.user && this.user.get(this.appRolesProperty);\n\n        // keep role changes immutable\n        const newRoles = appRoles ? appRoles.filter(el => el.appId !== appId) : [];\n\n        // only existing roles get serialized\n        if (role !== 'none') {\n          newRoles.push({\n            appId,\n            role\n          });\n\n          // if voucher or guest-intranet show a dialog to upgrade content as well\n          if (CONTENT_DEPENDEND_APPS.includes(appId)) {\n            const availableRoles = this.userAppRoles.map(role => role.value);\n\n            // the role of the user in the content app\n            const contentRole = newRoles.find(el => el.appId === 4);\n\n            // whether the role in the content app is lower than the role that should be activated,\n            // if the user has no role return true\n            const isContentRoleLower = contentRole ? availableRoles.indexOf(role) < availableRoles.indexOf(contentRole.role) : true;\n            if (isContentRoleLower) {\n              this.setProperties({\n                _newRoles: newRoles,\n                _contentRole: {\n                  appId: 4,\n                  role: role\n                },\n                isRoleDialog: false,\n                isContentWarningDialog: true\n              });\n              return;\n            }\n          }\n        }\n        (0, _object.set)(this, '_newRoles', newRoles);\n\n        // if content warn that downgrade can influence other apps\n        if (appId === 4) {\n          const contentDependendAppsRoles = newRoles.filter(el => CONTENT_DEPENDEND_APPS.includes(el.appId));\n          if (contentDependendAppsRoles.length > 0) {\n            const availableRoles = this.userAppRoles.map(role => role.value);\n\n            // if there is a content dependend app with a higher user role than the new role for the content\n            // display a warning message\n            for (let element of contentDependendAppsRoles) {\n              if (availableRoles.indexOf(role) > availableRoles.indexOf(element.role)) {\n                (0, _object.set)(this, 'isRoleDialog', false);\n                const intl = this.intl;\n                return this.uiDialog.showConfirm(intl.t('routes.users.dialogs.contentWarning.title'), intl.t('routes.users.dialogs.contentWarning.description', {\n                  appName: intl.t(`appNames.${element.appId}.name`)\n                }), () => this.setAppRoles(false), intl.t('routes.users.dialogs.contentWarning.action'));\n              }\n            }\n          }\n        }\n        return this.setAppRoles(false);\n      }\n    }\n  });\n});","define(\"additive-account/components/app-selection-dialog\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"ember-concurrency\", \"additive-account/mixins/global-user\", \"@additive-apps/auth/utils/roles-map\"], function (_exports, _component, _object, _service, _emberConcurrency, _globalUser, _rolesMap) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const ADDITIVE_SLUG = 'additive-eu';\n  var _default = _exports.default = _component.default.extend(_globalUser.default, {\n    uiDialog: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    tagName: '',\n    /**\n     *  Active app in the dialog\n     *\n     * @property activeApp\n     * @type {Object}\n     * @default null\n     */\n    activeApp: null,\n    /**\n     *  Active plan in the dialog\n     *\n     * @property activePlan\n     * @type {Object}\n     * @default null\n     */\n    activePlan: null,\n    /**\n     *  Apps\n     *\n     * @property availableApps\n     * @type {Object[]}\n     * @default undefined\n     */\n    availableApps: undefined,\n    /**\n     *  Text displayed in the button when activating app\n     *\n     * @property actionText\n     * @type {String}\n     * @default null\n     */\n    actionText: null,\n    /**\n     * Whether a organization exists\n     *\n     * @property hasOrganization\n     * @type {Boolean}\n     * @default false\n     */\n    hasOrganization: false,\n    /**\n     *  whether the plan selection dialog is shown\n     *\n     * @property showPlans\n     * @type {Boolean}\n     * @default false\n     */\n    showPlans: false,\n    /**\n     *  Apps with plans are shown first\n     *\n     * @property sortedApps\n     * @type {Object[]}\n     * @default undefined\n     */\n    sortedApps: _object.computed.sort('availableApps', 'plans'),\n    /**\n     *  Whether an app is being added\n     *\n     * @property addingApp\n     * @type {Boolean}\n     * @default false\n     */\n    isAddingApp: _object.computed.alias('addAppTask.isRunning'),\n    /**\n     * Organizations partner slug\n     *\n     * @property _orgPartnerSlug\n     * @type {String}\n     * @private\n     */\n    _orgPartnerSlug: _object.computed.alias('currentUser.currentOrganization.partnerSlug'),\n    /**\n     * Global users partner slug\n     *\n     * @property _userPartnerSlug\n     * @type {String}\n     * @private\n     */\n    _userPartnerSlug: _object.computed.alias('globalUser.partnerSlug'),\n    /**\n     * Global users partner role\n     *\n     * @property _userPartnerRole\n     * @type {String}\n     * @private\n     */\n    _userPartnerRole: _object.computed.alias('globalUser.partnerRole'),\n    /**\n     * Current user is ADDITIVE user\n     *\n     * @property _isAdditiveUser\n     * @type {Boolean}\n     * @private\n     */\n    _isAdditiveUser: (0, _object.computed)('_userPartnerSlug', function () {\n      return this._userPartnerSlug === ADDITIVE_SLUG;\n    }),\n    /**\n     * Current user is a partner admin of the current organization\n     *\n     * @property _isPartnerAdmin\n     * @type {Boolean}\n     * @private\n     */\n    _isPartnerAdmin: (0, _object.computed)('_orgPartnerSlug', '_userPartnerRole', '_userPartnerSlug', 'hasOrganization', {\n      get() {\n        const orgPartnerSlug = this._orgPartnerSlug;\n        const userPartnerSlug = this._userPartnerSlug;\n        const userPartnerRole = this._userPartnerRole;\n        if (this.hasOrganization) {\n          return orgPartnerSlug && userPartnerSlug && orgPartnerSlug === userPartnerSlug && (0, _rolesMap.hasAccess)('admin', userPartnerRole);\n        } else {\n          return (0, _rolesMap.hasAccess)('admin', userPartnerRole);\n        }\n      }\n    }),\n    didReceiveAttrs() {\n      this._super();\n      // if app is preselected show plan selection dialog\n      const activeApp = this.activeApp;\n      if (activeApp && this._appHasSelectablePlans(activeApp)) {\n        (0, _object.set)(this, 'showPlans', true);\n      }\n    },\n    addAppTask: (0, _emberConcurrency.task)(function* (app, plan) {\n      yield this.addApp(app, plan);\n    }).drop(),\n    addApp() {},\n    /**\n     *  Determine whether the app has plans that the user can choose from\n     *\n     * @param {*} app\n     * @returns {Boolean}\n     */\n    _appHasSelectablePlans(app) {\n      // get the complete app-model by app-id from param\n      const appModel = this.availableApps.findBy('id', app.id);\n      return appModel && appModel.plans && appModel.plans.length > 1;\n    },\n    actions: {\n      showPlans(app) {\n        if (this.availableApps && app) {\n          (0, _object.set)(this, 'activeApp', app);\n          (0, _object.set)(this, 'showPlans', true);\n        }\n      },\n      onAddApp(app, plan) {\n        return this.addAppTask.perform(app, plan);\n      },\n      closePlans() {\n        (0, _object.set)(this, 'showPlans', false);\n        (0, _object.set)(this, 'activeApp', null);\n      }\n    }\n  });\n});","define(\"additive-account/components/apps-list\", [\"exports\", \"additive-account/config/environment\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"ember-concurrency\", \"rsvp\", \"@ember/utils\", \"@additive-apps/auth/utils/roles-map\", \"additive-account/utils/app-management\", \"additive-account/mixins/global-user\", \"@additive-apps/ui/constants\"], function (_exports, _environment, _component, _object, _service, _emberConcurrency, _rsvp, _utils, _rolesMap, _appManagement, _globalUser, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    classNames: ['list-bottom-padding'],\n    getApps: _appManagement.getApps,\n    /**\n     * All apps of the organization\n     *\n     * @property apps\n     * @type {Object[]}\n     */\n    apps: undefined,\n    /**\n     * All available apps containing all the possible plans\n     *\n     * @property availableApps\n     * @type {Object[]}\n     */\n    availableApps: undefined,\n    /**\n     * The app the user wants to upgrade\n     *\n     * @property activeApp\n     * @type {Object}\n     */\n    activeApp: null,\n    /**\n     * All plans of the app that the user intends to upgrade\n     *\n     * @property activeAppPlans\n     * @type {undefined}\n     */\n    activeAppPlans: undefined,\n    /**\n     * The plan that is currently active of the app the user indends to upgrade\n     *\n     * @property activeAppPlans\n     * @type {undefined}\n     */\n    activePlan: undefined,\n    /**\n     * Wether the the dialog to to upgrade an app is shown\n     *\n     * @property isUpgradePlanDialogOpen\n     * @type {Boolean}\n     * @default false\n     */\n    isUpgradePlanDialogOpen: false,\n    /**\n     * Wether the the dialog to unsubscribe from an app is shown\n     *\n     * @property isUnsubscribeDialog\n     * @type {Boolean}\n     * @default false\n     */\n    isUnsubscribeDialog: false,\n    /**\n     * Sets the duration of the toast that is displayed\n     *\n     * @property toastDuration\n     * @type {Integer}\n     */\n    toastDuration: 2500,\n    /**\n     * Array holding the apps that can be marked as managed\n     *\n     * @property manageableApps\n     * @type {Object[]}\n     * @default null\n     */\n    manageableApps: null,\n    /**\n     * Whether the managed app dialog is opened\n     *\n     * @property _isManagedDialog\n     * @type {Boolean}\n     */\n    _isManagedAppDialog: false,\n    /**\n     * Array holding all active apps\n     * An app is considered in trial if the app is active and in trial\n     * The property isTrial already checks if the apps is active\n     *\n     * @property trialApps\n     * @type {Object[]}\n     */\n    trialApps: _object.computed.filterBy('apps', 'isTrial', true),\n    /**\n     * Array holding all inactive apps\n     *\n     * @property inactiveApps\n     * @type {Object[]}\n     */\n    inactiveApps: _object.computed.filterBy('apps', 'active', false),\n    /**\n     * Sets loading placeholder list while apps model is loading\n     *\n     * @property isLoading\n     * @type {Boolean}\n     */\n    isLoading: _object.computed.alias('getApps.task.isRunning'),\n    /**\n     * Organizations partner slug\n     *\n     * @property _orgPartnerSlug\n     * @type {String}\n     * @private\n     */\n    _orgPartnerSlug: _object.computed.alias('currentUser.currentOrganization.partnerSlug'),\n    /**\n     * Organizations partner name\n     *\n     * @property _orgPartnerName\n     * @type {String}\n     * @private\n     */\n    _orgPartnerName: _object.computed.alias('currentUser.currentOrganization.partnerName'),\n    /**\n     * Global users partner slug\n     *\n     * @property _userPartnerSlug\n     * @type {String}\n     * @private\n     */\n    _userPartnerSlug: _object.computed.alias('globalUser.partnerSlug'),\n    /**\n     * Global users partner role\n     *\n     * @property _userPartnerRole\n     * @type {String}\n     * @private\n     */\n    _userPartnerRole: _object.computed.alias('globalUser.partnerRole'),\n    /**\n     * Current user is admin\n     *\n     * @property _isAdmin\n     * @type {Boolean}\n     * @private\n     */\n    _isAdmin: _object.computed.alias('currentUser.isAdmin'),\n    /**\n     * Current user is superadmin\n     *\n     * @property _isSuperAdmin\n     * @type {Boolean}\n     * @private\n     */\n    _isSuperAdmin: _object.computed.alias('currentUser.user.isSuperAdmin'),\n    /**\n     * Current user is an partner admin of the current organization\n     *\n     * @property isPartnerAdmin\n     * @type {Boolean}\n     */\n    isPartnerAdmin: (0, _object.computed)('_orgPartnerSlug', '_userPartnerRole', '_userPartnerSlug', 'currentUser.isAdmin', 'globalUser.isAdditive', {\n      get() {\n        const orgPartnerSlug = this._orgPartnerSlug || 'additive-eu';\n        const userPartnerSlug = this._userPartnerSlug;\n        const userPartnerRole = this._userPartnerRole;\n        if (this.globalUser.isAdditive && this.currentUser.isAdmin) {\n          return true;\n        }\n        return orgPartnerSlug && userPartnerSlug && orgPartnerSlug === userPartnerSlug && (0, _rolesMap.hasAccess)('admin', userPartnerRole);\n      }\n    }),\n    /**\n     * Whether the option to set a app to manged should be visible\n     *\n     * @property showManagedSetting\n     * @type {Boolean}\n     */\n    showManagedSetting: (0, _object.computed)('currentOrganization', 'currentUser.isAdmin', 'globalUser.isAdditive', {\n      get() {\n        const {\n          currentOrganization\n        } = this.currentUser;\n\n        // Should not be visible for additive organisation\n        if (currentOrganization.id === 'additive-eu') {\n          return false;\n        }\n        return this.globalUser.isAdditive && this.currentUser.isAdmin;\n      }\n    }),\n    /**\n     * Array holding all active apps\n     * An app is considered active if it is active not in trial and has an activated\n     * plan\n     *\n     * @property activeApps\n     * @type {Object[]}\n     */\n    activeApps: (0, _object.computed)('_isAdmin', '_isSuperAdmin', 'apps.@each.{active,isSaasBuyable,isTrial,planName}', 'availableApps.[]', 'globalUser.isAdditive', 'isPartnerAdmin', {\n      get() {\n        const apps = this.apps;\n        if (apps) {\n          const isAdmin = this._isAdmin;\n          const isPartnerAdmin = this.isPartnerAdmin;\n          const hasPrivileges = isPartnerAdmin || this._isSuperAdmin;\n          const filteredApps = apps.filter(app => app.active && !app.isTrial);\n          const upgradableApps = filteredApps.map(app => {\n            // get available plans for app\n            const appWithPlans = (this.availableApps || []).find(_app => _app.id === parseInt(app.id));\n            const plans = appWithPlans && appWithPlans.plans.map(plan => plan.id) || [];\n\n            // get the index of the plan\n            const indexOfPlan = plans.indexOf(app.planName);\n            // if the plan is standard it can be upgraded if there are plans available\n            const isUpgradableStandard = app.planName === 'standard' && plans.length > 1;\n            // if the plan is the last one it can not be upgraded\n            const isBestPlan = indexOfPlan === plans.length - 1 || indexOfPlan === -1;\n            const canUpgrade = (hasPrivileges || app.isSaasBuyable) && (!isBestPlan || isUpgradableStandard);\n            const canDowngrade = (hasPrivileges || app.isSaasBuyable) && indexOfPlan > 0;\n            const canDeactivate = hasPrivileges || isAdmin && app.isSaasBuyable;\n            /* eslint-disable */\n            (0, _object.set)(app, 'canUpgrade', canUpgrade);\n            (0, _object.set)(app, 'canDowngrade', canDowngrade);\n            (0, _object.set)(app, 'canDeactivate', canDeactivate);\n            (0, _object.set)(app, 'canToggleManaged', hasPrivileges);\n            (0, _object.set)(app, 'isManaged', app === null || app === void 0 ? void 0 : app.managed);\n            (0, _object.set)(app, 'modules', app === null || app === void 0 ? void 0 : app.modules);\n            (0, _object.set)(app, 'hasDropDownActions', this.globalUser.isAdditive);\n            (0, _object.set)(app, 'hasMultiplePlans', plans.length > 1);\n            /* eslint-enable */\n\n            if (app.appKey === 'marketing-cloud') {\n              (0, _object.set)(app, 'hasModules', false);\n              (0, _object.set)(app, 'modules', null);\n            }\n            return app;\n          });\n          return upgradableApps;\n        }\n        return apps;\n      }\n    }),\n    /**\n     * Whether the empty state of the list is displayed\n     *\n     * @property isEmpty\n     * @type {Boolean}\n     */\n    isEmpty: (0, _object.computed)('apps.[]', 'isLoading', {\n      get() {\n        return (0, _utils.isEmpty)(this.apps) && !this.isLoading;\n      }\n    }),\n    init() {\n      this._super(...arguments);\n      (0, _object.set)(this, 'manageableApps', [{\n        app: 'CRM',\n        id: `${_constants.APP_ID_CRM}`\n      }, {\n        app: 'CON',\n        id: `${_constants.APP_ID_CONTENT}`\n      }, {\n        app: 'MA',\n        id: `${_constants.APP_ID_MARKETING_CLOUD}`\n      }, {\n        app: 'MI',\n        id: `${_constants.APP_ID_MARKETING_INSIGHTS}`\n      }]);\n      const selectablePartners = [{\n        name: 'ADDITIVE',\n        value: 'additive'\n      }];\n      if (this._orgPartnerSlug && this._orgPartnerName) {\n        selectablePartners.push({\n          name: this._orgPartnerName,\n          value: 'partner'\n        });\n      }\n      (0, _object.set)(this, 'selectablePartners', selectablePartners);\n    },\n    toggleDetail() {},\n    toggleModules() {},\n    toggleManaged: (0, _emberConcurrency.task)(function* () {\n      try {\n        var _this$currentApp;\n        const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.currentUser.currentOrganization.id}/apps/${(_this$currentApp = this.currentApp) === null || _this$currentApp === void 0 ? void 0 : _this$currentApp.id}/toggle-managed`;\n        const body = {\n          managed: !this.currentApp.managed,\n          managedBy: this.currentApp.managedBy\n        };\n        const response = yield this.authenticatedFetch.fetch(url, {\n          method: 'POST',\n          body: JSON.stringify(body)\n        });\n        if (!(response !== null && response !== void 0 && response.ok)) throw response;\n        const json = yield response.json();\n        yield this.store.pushPayload('app', json);\n        (0, _object.set)(this, '_isManagedAppDialog', false);\n        this.uiToast.showToast({\n          type: 'success',\n          title: this.intl.t('global.toasts.success.savedChanges')\n        });\n      } catch (e) {\n        if (e.status === 400) {\n          this.uiToast.showToast({\n            type: 'error',\n            title: this.intl.t('global.dialogs.managedDialog.appManagedError')\n          });\n        } else {\n          this.uiToast.showToast({\n            type: 'error',\n            title: this.intl.t('global.toasts.error.savedChanges')\n          });\n        }\n      }\n    }),\n    actions: {\n      toggleDetail(app) {\n        this.toggleDetail(app);\n      },\n      /**\n       * Finds all the available plans the user can upgrade to and opens the upgrade plan dialog\n       *\n       * @param {Object} app the users app\n       */\n      openPlanChangeDialog(app) {\n        let isDowngradeDialog = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n        const appPlans = this.availableApps.findBy('id', parseInt(app.id)).plans;\n        let activePlan;\n\n        // standard plan is not returned by API\n        if (app.planName === 'standard') {\n          activePlan = {\n            id: 'standard'\n          };\n        } else {\n          // get the currently active plan out ouf the available ones\n          const appPlanIds = appPlans.mapBy('id');\n          const planIndex = appPlanIds.indexOf(app.planName);\n          activePlan = appPlans[planIndex];\n        }\n        (0, _object.set)(this, 'activeAppPlans', appPlans);\n        (0, _object.set)(this, 'activeApp', app);\n        (0, _object.set)(this, 'activePlan', activePlan);\n        if (isDowngradeDialog) {\n          (0, _object.set)(this, 'isDowngradePlanDialogOpen', true);\n        } else {\n          (0, _object.set)(this, 'isUpgradePlanDialogOpen', true);\n        }\n      },\n      /**\n       * Upgrades the given apps plan\n       *\n       * @param {Int} id, the apps id\n       * @param {String} planName the desired plan\n       */\n      upgradeApp(id, planName) {\n        const currentOrganization = this.currentUser && this.currentUser.currentOrganization && this.currentUser.currentOrganization.id;\n        return this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${currentOrganization}/apps/${id}/upgrade`, {\n          method: 'POST'\n        }, {\n          planName: planName\n        }).then(response => {\n          const status = response.status;\n          if (response.ok) {\n            return (0, _rsvp.resolve)();\n          } else {\n            return response.json().then(response => {\n              return (0, _rsvp.reject)({\n                status: status,\n                message: response.message\n              });\n            });\n          }\n        }).then(() => {\n          const intl = this.intl;\n          this.uiToast.showToast({\n            type: 'success',\n            title: intl.t('global.toasts.success.changes.title'),\n            description: intl.t('global.toasts.success.changes.description'),\n            duration: this.toastDuration\n          });\n          (0, _object.set)(this, 'activeApp.planName', planName);\n          return (0, _rsvp.resolve)();\n        }).catch(error => {\n          const uiDialog = this.uiDialog;\n          const intl = this.intl;\n          // user is prompted to fill in billing data\n          if (error.message === 'not_subscribed') {\n            uiDialog.showConfirm(intl.t('routes.apps.dialogs.error.title'), intl.t('routes.apps.dialogs.upgradePlan.errorDialog.notSubscribed'), () => this.router.transitionTo('instances.instance.billings'), intl.t('routes.apps.dialogs.upgradePlan.errorDialog.notSubscribedAction'));\n          } else {\n            uiDialog.showError();\n          }\n        }).finally(() => {\n          (0, _object.set)(this, 'isUpgradePlanDialogOpen', false);\n        });\n      },\n      downgradeApp(id, planName) {\n        return this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${this.currentUser.currentOrganization.id}/apps/${id}/downgrade`, {\n          method: 'POST'\n        }, {\n          planName: planName\n        }).then(response => {\n          const status = response.status;\n          if (response.ok) {\n            return (0, _rsvp.resolve)();\n          } else {\n            return response.json().then(response => {\n              return (0, _rsvp.reject)({\n                status: status,\n                message: response.message\n              });\n            });\n          }\n        }).then(() => {\n          const intl = this.intl;\n          this.uiToast.showToast({\n            type: 'success',\n            title: intl.t('global.toasts.success.changes.title'),\n            description: intl.t('global.toasts.success.changes.description')\n          });\n          (0, _object.set)(this, 'activeApp.planName', planName);\n          return (0, _rsvp.resolve)();\n        }).catch(() => {\n          this.uiToast.showToast({\n            type: 'error',\n            title: this.intl.t('global.toast.error.savedChanges')\n          });\n        }).finally(() => {\n          (0, _object.set)(this, 'isDowngradePlanDialogOpen', false);\n        });\n      },\n      /**\n       * Determines whether the app is in trial or not and shows a confirm dialog\n       * to make sure the user really wants to deactivate the app\n       *\n       * @param {Object} app the users app\n       */\n      confirmDeactivation(app) {\n        if (app && app.isTrial) {\n          // user wants to end app-trial\n          (0, _object.set)(this, 'removalType', 'trial');\n        } else if (this.isPartnerAdmin) {\n          (0, _object.set)(this, 'removalType', 'deactivate');\n        } else {\n          (0, _object.set)(this, 'removalType', 'subscription');\n        }\n        (0, _object.set)(this, 'currentApp', app);\n        (0, _object.set)(this, 'isUnsubscribeDialog', true);\n      },\n      openManageAppDialog(app) {\n        (0, _object.set)(this, 'currentApp', app);\n        if (!app.managed) {\n          // Set \"additive\" as pre-selected item\n          (0, _object.set)(this, 'currentApp.managedBy', 'additive');\n          (0, _object.set)(this, '_isManagedAppDialog', true);\n          return;\n        }\n\n        // Reset managed options if managed is currently active\n        (0, _object.set)(this, 'currentApp.managedBy', null);\n        this.toggleManaged.perform();\n      },\n      /**\n       * Deactivates a given app\n       *\n       * @param {Object} app, the app to be deactivated\n       */\n      async deactivateApp(app) {\n        const intl = this.intl;\n        const currentOrganization = this.currentUser && this.currentUser.currentOrganization && this.currentUser.currentOrganization.id;\n        try {\n          const response = await this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${currentOrganization}/apps/${app.id}/deactivate`, {\n            method: 'post'\n          });\n          if (!(response !== null && response !== void 0 && response.ok)) {\n            throw response;\n          }\n          const deactivatedApp = await response.json();\n          if (deactivatedApp && deactivatedApp.app) {\n            this.store.pushPayload(deactivatedApp);\n            this.store.findAll('app');\n            this.uiToast.showToast({\n              type: 'success',\n              title: intl.t('global.toasts.success.changes.title'),\n              description: intl.t('global.toasts.success.changes.description'),\n              duration: this.toastDuration\n            });\n          }\n        } catch (e) {\n          if (e.status === 400) {\n            this.uiDialog.showError(this.intl.t('routes.apps.dialogs.appRemoval.error.title'), this.intl.t('routes.apps.dialogs.appRemoval.error.description'));\n          }\n        } finally {\n          (0, _object.set)(this, 'isUnsubscribeDialog', false);\n        }\n      },\n      /**\n       * Activate deactivated app\n       *\n       * @param {Int} id, the app-id the user wants to activate\n       */\n      activateApp(id) {\n        const currentOrganization = this.currentUser && this.currentUser.currentOrganization && this.currentUser.currentOrganization.id;\n        return this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${currentOrganization}/apps/${id}/activate`, {\n          method: 'post'\n        }).then(response => response.ok ? response.json() : (0, _rsvp.reject)(response)).then(activatedApp => {\n          if (activatedApp && activatedApp.app) {\n            this.store.pushPayload(activatedApp);\n            this.store.findAll('app');\n            const intl = this.intl;\n            this.uiToast.showToast({\n              type: 'success',\n              title: intl.t('global.toasts.success.changes.title'),\n              description: intl.t('global.toasts.success.changes.description'),\n              duration: this.toastDuration\n            });\n            return (0, _rsvp.resolve)();\n          } else {\n            return (0, _rsvp.reject)();\n          }\n        }).catch(error => {\n          const intl = this.intl;\n          if (error && error.status) {\n            error.json().then(errorJson => {\n              switch (errorJson.message) {\n                case 'trial_has_ended':\n                  this.uiDialog.showConfirm(intl.t('routes.apps.dialogs.error.title'), intl.t('routes.apps.dialogs.appActivation.errorDialog.notSubscribed.message'), () => this.router.transitionTo('instances.instance.billings'), intl.t('routes.apps.dialogs.appActivation.errorDialog.notSubscribed.action'));\n                  break;\n                case 'card_declined':\n                  this.uiDialog.showConfirm(intl.t('routes.apps.dialogs.error.title'), intl.t('routes.apps.dialogs.appActivation.errorDialog.cardDeclined.message'), () => this.router.transitionTo('instances.instance.billings'), intl.t('routes.apps.dialogs.appActivation.errorDialog.cardDeclined.action'));\n                  break;\n                case 'expired_card':\n                  this.uiDialog.showConfirm(intl.t('routes.apps.dialogs.error.title'), intl.t('routes.apps.dialogs.appActivation.errorDialog.cardExpired.message'), () => this.router.transitionTo('instances.instance.billings'), intl.t('routes.apps.dialogs.appActivation.errorDialog.cardExpired.action'));\n                  break;\n                default:\n                  this.uiDialog.showError();\n                  break;\n              }\n            });\n          } else {\n            this.uiDialog.showError();\n          }\n        });\n      },\n      openNewsletterSettings() {\n        const organizationId = this.currentUser.currentOrganization.id;\n        window.open(`${_environment.default.APP.newsletterHost}/${organizationId}/settings`);\n      }\n    }\n  });\n});","define(\"additive-account/components/aw-colors-menu\", [\"exports\", \"@additive-apps/configurator/components/aw-colors-menu\"], function (_exports, _awColorsMenu) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awColorsMenu.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator\"], function (_exports, _awConfigurator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awConfigurator.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/content-editor\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/content-editor\"], function (_exports, _contentEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contentEditor.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/content-editor/sidebar-button\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/content-editor/sidebar-button\"], function (_exports, _sidebarButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sidebarButton.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/content-editor/sidebar\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/content-editor/sidebar\"], function (_exports, _sidebar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sidebar.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/editor\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/editor\"], function (_exports, _editor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _editor.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/preview\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/preview\"], function (_exports, _preview) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _preview.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/style-editor\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/style-editor\"], function (_exports, _styleEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _styleEditor.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/style-editor/sidebar-button\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/style-editor/sidebar-button\"], function (_exports, _sidebarButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sidebarButton.default;\n    }\n  });\n});","define(\"additive-account/components/aw-configurator/style-editor/sidebar\", [\"exports\", \"@additive-apps/configurator/components/aw-configurator/style-editor/sidebar\"], function (_exports, _sidebar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sidebar.default;\n    }\n  });\n});","define(\"additive-account/components/aw-custom-colors-menu\", [\"exports\", \"@additive-apps/configurator/components/aw-custom-colors-menu\"], function (_exports, _awCustomColorsMenu) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awCustomColorsMenu.default;\n    }\n  });\n});","define(\"additive-account/components/aw-font-name-dialog\", [\"exports\", \"@additive-apps/configurator/components/aw-font-name-dialog\"], function (_exports, _awFontNameDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awFontNameDialog.default;\n    }\n  });\n});","define(\"additive-account/components/aw-typography-dialog\", [\"exports\", \"@additive-apps/configurator/components/aw-typography-dialog\"], function (_exports, _awTypographyDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awTypographyDialog.default;\n    }\n  });\n});","define(\"additive-account/components/aw-typography-list\", [\"exports\", \"@additive-apps/configurator/components/aw-typography-list\"], function (_exports, _awTypographyList) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awTypographyList.default;\n    }\n  });\n});","define(\"additive-account/components/aw-typography-list/item\", [\"exports\", \"@additive-apps/configurator/components/aw-typography-list/item\"], function (_exports, _item) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _item.default;\n    }\n  });\n});","define(\"additive-account/components/aw-typography-settings\", [\"exports\", \"@additive-apps/configurator/components/aw-typography-settings\"], function (_exports, _awTypographySettings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _awTypographySettings.default;\n    }\n  });\n});","define(\"additive-account/components/basic-dropdown-content\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown-content\"], function (_exports, _basicDropdownContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _basicDropdownContent.default;\n    }\n  });\n});","define(\"additive-account/components/basic-dropdown-trigger\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown-trigger\"], function (_exports, _basicDropdownTrigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _basicDropdownTrigger.default;\n    }\n  });\n});","define(\"additive-account/components/basic-dropdown\", [\"exports\", \"ember-basic-dropdown/components/basic-dropdown\"], function (_exports, _basicDropdown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _basicDropdown.default;\n    }\n  });\n});","define(\"additive-account/components/color-indicator\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/string\", \"ember-arg-types\", \"@glimmer/tracking\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _string, _emberArgTypes, _tracking, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"color-indicator flex items-center dib mr05 br-100 shadow-1 {{@class}} {{@classNames}}\"\n    style={{this._backgroundColorStyle}}\n    ...attributes\n  >\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"20LVQd+5\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"color-indicator flex items-center dib mr05 br-100 shadow-1 \\\",[30,1],\\\" \\\",[30,2]]]],[16,5,[30,0,[\\\"_backgroundColorStyle\\\"]]],[17,3],[12],[1,\\\"\\\\n  \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@class\\\",\\\"@classNames\\\",\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"yield\\\"]]\",\n    \"moduleName\": \"additive-account/components/color-indicator.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n   * Component which displays a given color as dot\n   *   * colorCode\n   *\n   * ```hbs\n   * {{color-indicator colorCode='#000000'}}\n   * ```\n   *\n   * @class color-indicator\n   */\n  let ColorIndicator = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.string), _class = class ColorIndicator extends _component2.default {\n    constructor() {\n      super(...arguments);\n      /**\n       * the code of the color\n       *\n       * @property colorCode\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"colorCode\", _descriptor, this);\n    }\n    /**\n     * computed styles of the color dot\n     *\n     * @computed _backgroundColorStyle\n     * @type {String}\n     * @private\n     */\n    get _backgroundColorStyle() {\n      return this.colorCode ? (0, _string.htmlSafe)(`background-color: ${this.colorCode};`) : '';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"colorCode\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ColorIndicator);\n});","define(\"additive-account/components/ea-list-element\", [\"exports\", \"ember-animated/components/ea-list-element\"], function (_exports, _eaListElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _eaListElement.default;\n    }\n  });\n});","define(\"additive-account/components/grid\", [\"exports\", \"@additive-apps/ui/components/grid\"], function (_exports, _grid) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _grid.default;\n    }\n  });\n});","define(\"additive-account/components/maybe-in-element\", [\"exports\", \"ember-maybe-in-element/components/maybe-in-element\"], function (_exports, _maybeInElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _maybeInElement.default;\n    }\n  });\n});","define(\"additive-account/components/model-form\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-changeset\", \"ember-changeset-validations\"], function (_exports, _component, _object, _emberChangeset, _emberChangesetValidations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    tagName: '',\n    isDiscardChangesDialog: false,\n    onConfirm() {},\n    onClose() {},\n    init() {\n      this._super(...arguments);\n      const model = this.model;\n      const validation = this.validation;\n      const changeset = new _emberChangeset.default(model, (0, _emberChangesetValidations.default)(validation), validation);\n      (0, _object.set)(this, 'changeset', changeset);\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      // clean up changeset to avoid memleaks\n      (0, _object.set)(this, 'changeset', null);\n    },\n    actions: {\n      onConfirm(changeset) {\n        if (!changeset.get('isDirty')) {\n          return this.onConfirm(changeset);\n        }\n        return changeset.validate().then(() => {\n          if (changeset.get('isValid')) {\n            return this.onConfirm(changeset);\n          }\n        });\n      },\n      onClose() {\n        const changeset = this.changeset;\n\n        // close the profile view if no changes have been made\n        if (changeset.get('isPristine')) {\n          this.onClose();\n        } else {\n          (0, _object.set)(this, 'isDiscardChangesDialog', true);\n        }\n      },\n      confirmDiscard() {\n        (0, _object.set)(this, 'isDiscardChangesDialog', false);\n        this.onClose();\n      }\n    }\n  });\n});","define(\"additive-account/components/panel-group\", [\"exports\", \"@additive-apps/configurator/components/panel-group\"], function (_exports, _panelGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _panelGroup.default;\n    }\n  });\n});","define(\"additive-account/components/panel\", [\"exports\", \"@additive-apps/configurator/components/panel\"], function (_exports, _panel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _panel.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar-multiple\", [\"exports\", \"ember-power-calendar/components/power-calendar-multiple\"], function (_exports, _powerCalendarMultiple) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarMultiple.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar-multiple/days\", [\"exports\", \"ember-power-calendar/components/power-calendar-multiple/days\"], function (_exports, _days) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _days.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar-range\", [\"exports\", \"ember-power-calendar/components/power-calendar-range\"], function (_exports, _powerCalendarRange) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarRange.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar-range/days\", [\"exports\", \"ember-power-calendar/components/power-calendar-range/days\"], function (_exports, _days) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _days.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar\", [\"exports\", \"ember-power-calendar/components/power-calendar\"], function (_exports, _powerCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendar.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar/days\", [\"exports\", \"ember-power-calendar/components/power-calendar/days\"], function (_exports, _days) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _days.default;\n    }\n  });\n});","define(\"additive-account/components/power-calendar/nav\", [\"exports\", \"ember-power-calendar/components/power-calendar/nav\"], function (_exports, _nav) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _nav.default;\n    }\n  });\n});","define(\"additive-account/components/simple-nav\", [\"exports\", \"@ember/component\", \"@ember/object\"], function (_exports, _component, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    currentIndex: 1,\n    actions: {\n      updateIndex(index) {\n        (0, _object.set)(this, 'currentIndex', index);\n      }\n    }\n  });\n});","define(\"additive-account/components/simple-nav/trigger\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/object\", \"ember-arg-types\", \"prop-types\", \"@ember/template-factory\"], function (_exports, _component, _component2, _tracking, _object, _emberArgTypes, _propTypes, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"simple-nav__trigger\n      {{@class}}\n      {{@classNames}}\n      {{if this.isActive 'simple-nav__trigger--active'}}\n      {{if this.isDisabled 'simple-nav__trigger--disabled'}}\"\n    {{on \"click\" this.onClick}}\n    role=\"button\"\n    ...attributes\n  >\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"dGViHG3I\",\n    \"block\": \"[[[11,0],[16,0,[29,[\\\"simple-nav__trigger\\\\n    \\\",[30,1],\\\"\\\\n    \\\",[30,2],\\\"\\\\n    \\\",[52,[30,0,[\\\"isActive\\\"]],\\\"simple-nav__trigger--active\\\"],\\\"\\\\n    \\\",[52,[30,0,[\\\"isDisabled\\\"]],\\\"simple-nav__trigger--disabled\\\"]]]],[24,\\\"role\\\",\\\"button\\\"],[17,3],[4,[38,1],[\\\"click\\\",[30,0,[\\\"onClick\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[18,4,null],[1,\\\"\\\\n\\\"],[13]],[\\\"@class\\\",\\\"@classNames\\\",\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"if\\\",\\\"on\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"additive-account/components/simple-nav/trigger.hbs\",\n    \"isStrictMode\": false\n  });\n  let SimpleNavTrigger = _exports.default = (_dec = (0, _emberArgTypes.arg)(_propTypes.number), _dec2 = (0, _emberArgTypes.arg)(_propTypes.number), _dec3 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec4 = (0, _emberArgTypes.arg)(_propTypes.boolean), _dec5 = (0, _emberArgTypes.arg)(_propTypes.func), _dec6 = (0, _emberArgTypes.arg)(_propTypes.func), _class = class SimpleNavTrigger extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentIndex\", _descriptor, this);\n      _initializerDefineProperty(this, \"navIndex\", _descriptor2, this);\n      _initializerDefineProperty(this, \"isDisabled\", _descriptor3, this);\n      _initializerDefineProperty(this, \"shouldValidate\", _descriptor4, this);\n      _initializerDefineProperty(this, \"updateIndex\", _descriptor5, this);\n      _initializerDefineProperty(this, \"validate\", _descriptor6, this);\n    }\n    get isActive() {\n      return this.currentIndex === this.navIndex;\n    }\n    nextStep() {\n      const navIndex = this.navIndex;\n      if (this.currentIndex !== navIndex) {\n        this.updateIndex(navIndex);\n      }\n    }\n    onClick() {\n      if (this.isDisabled === true) {\n        return false;\n      }\n      if (this.shouldValidate) {\n        /*\n         * ember-changeset has empty validations when initialized,\n         * if it doesn't get validate it will always be valid.\n         *\n         * the validation promise resolves only if the changeset is valid\n         */\n        return this.validate().then(() => this.nextStep())\n        /* Do nothing on catch, otherwise it will throw an uncatched error */.catch(() => {});\n      } else {\n        this.nextStep();\n      }\n      return false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentIndex\", [_dec, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navIndex\", [_dec2, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isDisabled\", [_dec3, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"shouldValidate\", [_dec4, _tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"updateIndex\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"validate\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return () => {};\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"onClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onClick\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, SimpleNavTrigger);\n});","define(\"additive-account/components/stripe-card-cvc\", [\"exports\", \"ember-stripe-elements/components/stripe-card-cvc\"], function (_exports, _stripeCardCvc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCardCvc.default;\n    }\n  });\n});","define(\"additive-account/components/stripe-card-expiry\", [\"exports\", \"ember-stripe-elements/components/stripe-card-expiry\"], function (_exports, _stripeCardExpiry) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCardExpiry.default;\n    }\n  });\n});","define(\"additive-account/components/stripe-card-number\", [\"exports\", \"ember-stripe-elements/components/stripe-card-number\"], function (_exports, _stripeCardNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCardNumber.default;\n    }\n  });\n});","define(\"additive-account/components/stripe-card\", [\"exports\", \"ember-stripe-elements/components/stripe-card\"], function (_exports, _stripeCard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCard.default;\n    }\n  });\n});","define(\"additive-account/components/stripe-postal-code\", [\"exports\", \"ember-stripe-elements/components/stripe-postal-code\"], function (_exports, _stripePostalCode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripePostalCode.default;\n    }\n  });\n});","define(\"additive-account/components/typography-item\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/object/computed\", \"@ember/service\", \"@ember/template\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/corporate-design\", \"ember-concurrency\", \"additive-account/utils/constants-fonts\", \"additive-account/utils/fonts\"], function (_exports, _component, _object, _computed, _service, _template, _emberChangeset, _emberChangesetValidations, _corporateDesign, _emberConcurrency, _constantsFonts, _fonts) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Component which displays and allows to change typography styles:\n   *   * color\n   *   * fontFamily\n   *   * fontSize\n   *   * fontWeight (only displayed, not possible to change)\n   *   * lineHeight\n   *   * letter-spacing\n   *   * uppercase\n   *\n   * It requires a changeset with the typography styles, the type (e.g. h1, h2, p, ...)\n   * and a colorCompositions object\n   *\n   * @class typography-item\n   */\n  var _default = _exports.default = _component.default.extend({\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    classNames: ['typography-item', 'flex flex-column flex-row-sm items-center-sm', 'pv2 ph2-sm bb b--black-10 cpointer'],\n    /**\n     * Changeset with the typography data\n     *\n     * @property changeset\n     * @type {Object}\n     * @default null\n     */\n    changeset: null,\n    /**\n     * object of all available color compositions\n     *\n     * @property colorCompositions\n     * @type {Object}\n     * @default null\n     */\n    colorCompositions: null,\n    /**\n     * The type of the typography item\n     *\n     * @property type\n     * @type {String}\n     * @default undefined\n     */\n    type: undefined,\n    /**\n     * Whether the detail dialog is open or not\n     *\n     * @property _isDetailOpen\n     * @type {Boolean}\n     * @default false\n     */\n    _isDetailOpen: false,\n    isLoading: (0, _computed.alias)('onSave.isRunning'),\n    color: (0, _computed.alias)('changeset.color'),\n    fontFamily: (0, _computed.alias)('changeset.fontFamily'),\n    fontSize: (0, _computed.alias)('changeset.fontSize'),\n    letterSpacing: (0, _computed.alias)('changeset.letterSpacing'),\n    lineHeight: (0, _computed.alias)('changeset.lineHeight'),\n    uppercase: (0, _computed.alias)('changeset.uppercase'),\n    styles: (0, _computed.alias)('changeset.data'),\n    /**\n     * computed CSS style for the background color of the color dot\n     *\n     * @computed colorDotStyle\n     * @type {String}\n     */\n    colorDotStyle: (0, _object.computed)('color', 'colorCompositions', {\n      get() {\n        var _this$colorCompositio;\n        return (0, _template.htmlSafe)(`background-color: ${(_this$colorCompositio = this.colorCompositions) === null || _this$colorCompositio === void 0 || (_this$colorCompositio = _this$colorCompositio[this.color]) === null || _this$colorCompositio === void 0 ? void 0 : _this$colorCompositio.color};`);\n      }\n    }),\n    /**\n     * computed object containing the name and color code of the currently selected color\n     *\n     * @computed fontColor\n     * @type {Object}\n     */\n    fontColor: (0, _object.computed)('color', 'colorCompositions', {\n      get() {\n        const {\n          color,\n          colorCompositions,\n          intl\n        } = this;\n        return {\n          name: intl.t(`routes.corporateDesign.colors.${color}.name`),\n          colorCode: colorCompositions && colorCompositions[color] && colorCompositions[color].color\n        };\n      }\n    }),\n    /**\n     * computed styles of the typography name\n     *\n     * @computed fontStyle\n     * @type {String}\n     */\n    fontStyle: (0, _object.computed)('fontFamily', 'fontSize', 'lineHeight', 'uppercase', 'letterSpacing', 'fontOptions.@each.value', {\n      get() {\n        const {\n          fontFamily,\n          fontOptions,\n          fontSize,\n          lineHeight,\n          letterSpacing,\n          uppercase\n        } = this;\n        const font = fontOptions.find(option => option.value === fontFamily);\n        const fontFamilyWithFallbacks = this._addFallbackFonts(font);\n        const styles = `\n        font-family: ${fontFamilyWithFallbacks};\n        font-size: ${fontSize};\n        line-height: ${lineHeight};\n        letter-spacing: ${letterSpacing}em;\n        ${uppercase ? 'text-transform: uppercase;' : ''}\n      `;\n        return (0, _template.htmlSafe)(styles);\n      }\n    }),\n    /**\n     * computed styles of the typography type\n     *\n     * @computed typeStyle\n     * @type {String}\n     */\n    typeStyle: (0, _object.computed)('fontSize', {\n      get() {\n        return this.fontSize ? (0, _template.htmlSafe)(`height: ${this.fontSize};`) : '';\n      }\n    }),\n    /**\n     * computed textual description of the current font size\n     *\n     * @computed fontSizesText\n     * @type {String}\n     */\n    fontSizesText: (0, _object.computed)('fontSize', 'lineHeight', {\n      get() {\n        return `font-size: ${this.fontSize}, line-height: ${this.lineHeight}`;\n      }\n    }),\n    /**\n     * computed array containing the font options\n     *\n     * @computed fontOptions\n     * @type {Array}\n     */\n    fontOptions: (0, _object.computed)('fonts.@each.fontFamily', {\n      get() {\n        const {\n          fonts\n        } = this;\n        const customFonts = [];\n        Object.keys(fonts || {}).forEach(key => {\n          _constantsFonts.FONT_TYPES.forEach(type => {\n            if (fonts[key] && fonts[key][type]) {\n              const {\n                fontFamily,\n                url,\n                weight\n              } = fonts[key][type];\n              customFonts.push({\n                // the value displayed in the select is the name of the fontFamily\n                name: fontFamily,\n                // the internal value is the key.type. e.g.: `primary.normal`\n                value: `${key}.${type}`,\n                url,\n                serif: fonts[key].serif,\n                weight,\n                isCustom: true,\n                isFirstOfCustom: customFonts.length === 0\n              });\n            }\n          });\n        });\n        return [...customFonts, {\n          name: this.intl.t('routes.corporateDesign.defaultFonts.sansSerif'),\n          value: _constantsFonts.sansSerifFontsFallbacks,\n          serif: false,\n          isFirstOfGroup: true\n        }, ..._constantsFonts.sansSerifFonts, {\n          name: this.intl.t('routes.corporateDesign.defaultFonts.serif'),\n          value: _constantsFonts.serifFontsFallbacks,\n          serif: true,\n          isFirstOfGroup: true\n        }, ..._constantsFonts.serifFonts];\n      }\n    }),\n    /**\n     * the name of the fontfamily used in the preview\n     *\n     * @computed previewFontFamily\n     * @type {String}\n     */\n    previewFontFamily: (0, _object.computed)('fontFamily', 'fonts.@each.fontFamily', {\n      get() {\n        if (_constantsFonts.sansSerifFontsFallbacks === this.fontFamily) {\n          return (0, _template.htmlSafe)('Standard <span class=\"font-xs secondary\">&nbsp;(Serifenlos)<span>');\n        } else if (_constantsFonts.serifFontsFallbacks === this.fontFamily) {\n          return (0, _template.htmlSafe)('Standard <span class=\"font-xs secondary\">&nbsp;(Serifen)<span>');\n        } else if (this.fontFamily.indexOf('primary') >= 0 || this.fontFamily.indexOf('secondary') >= 0) {\n          var _this$fonts, _font;\n          const fontFamilyParts = this.fontFamily.split('.');\n          let font = (_this$fonts = this.fonts) === null || _this$fonts === void 0 ? void 0 : _this$fonts[fontFamilyParts[0]];\n          if (fontFamilyParts.lenght > 1) {\n            font = font[fontFamilyParts[1]];\n          }\n          return (_font = font) === null || _font === void 0 ? void 0 : _font.fontFamily;\n        }\n        return this.fontFamily;\n      }\n    }),\n    init() {\n      this._super(...arguments);\n      const typographyValidation = (0, _corporateDesign.typographyValidations)(this.intl);\n      const typographyChangeset = new _emberChangeset.default(this.typography[this.type], (0, _emberChangesetValidations.default)(typographyValidation), typographyValidation);\n      (0, _object.set)(this, 'changeset', typographyChangeset);\n      (0, _object.set)(this, 'colorOptions', [{\n        value: 'main'\n      }, {\n        value: 'accent'\n      }, {\n        value: 'ambient'\n      }]);\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      this._loadFont();\n    },\n    /**\n     * Function executed when component is clicked\n     * @function click\n     */\n    click() {\n      (0, _object.set)(this, '_isDetailOpen', true);\n    },\n    /**\n     * Task which gets performed after save click.\n     *\n     * @param {Object} changeset\n     * @property onSave\n     * @type {Task}\n     * @return {Promise|Void} Returns a promise\n     * @private\n     */\n    onSave: (0, _emberConcurrency.task)(function* () {}).drop(),\n    /**\n     * Closes the details modal\n     * @function _close\n     * @private\n     */\n    _close() {\n      (0, _object.set)(this, '_isDetailOpen', false);\n    },\n    /**\n     * searches the suitable fallback fonts for a given fontFamily\n     *\n     * @param {String} fontFamily\n     * @function _getFallbackFonts\n     * @private\n     */\n    _addFallbackFonts(font) {\n      if (font) {\n        const fontFamily = font.isCustom ? `${font.name}-${font.weight}` : font.name;\n        return `'${fontFamily}', ${font.serif ? _constantsFonts.serifFontsFallbacks : _constantsFonts.sansSerifFontsFallbacks}`;\n      }\n    },\n    /**\n     * loads the active font family into the dom\n     *\n     * @function _loadFont\n     * @private\n     */\n    _loadFont() {\n      const font = this.fontOptions.find(font => font.value === this.fontFamily && font.isCustom);\n      if (font && font.url) {\n        // load fonts as `font:weight` to allow multiple fonts using the same name\n        (0, _fonts.loadFont)(`${font.name}-${font.weight}`, font.url);\n      }\n    },\n    actions: {\n      _closeDialog() {\n        const changeset = this.changeset;\n        if (changeset && changeset.isDirty) {\n          this.uiDialog && this.uiDialog.showDiscardChangesConfirm(() => {\n            if (this.isDestroying) {\n              return;\n            }\n            changeset.rollback();\n            this._close();\n          });\n        } else {\n          this._close();\n        }\n      },\n      onSave(changeset) {\n        return this.onSave.perform(changeset, 'typography').then(() => {\n          this._close();\n          this._loadFont();\n        });\n      },\n      onSelectChange(font) {\n        this.changeset.set('fontFamily', font.value);\n        this.changeset.set('serif', font.serif);\n      }\n    }\n  });\n});","define(\"additive-account/components/ui-accordion\", [\"exports\", \"@additive-apps/ui/components/ui-accordion\"], function (_exports, _uiAccordion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiAccordion.default;\n    }\n  });\n});","define(\"additive-account/components/ui-action-button\", [\"exports\", \"@additive-apps/ui/components/ui-action-button\"], function (_exports, _uiActionButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiActionButton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-additive-basic-dropdown\", [\"exports\", \"@additive-apps/ui/components/ui-additive-basic-dropdown\"], function (_exports, _uiAdditiveBasicDropdown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiAdditiveBasicDropdown.default;\n    }\n  });\n});","define(\"additive-account/components/ui-ai-button\", [\"exports\", \"@additive-apps/ui/components/ui-ai-button\"], function (_exports, _uiAiButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiAiButton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-app-selection\", [\"exports\", \"additive-account/config/environment\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"additive-account/mixins/global-user\", \"@additive-apps/ui/utils/app-utils\", \"ember-concurrency\"], function (_exports, _environment, _component, _object, _service, _globalUser, _appUtils, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * ```hbs\n   * {{ui-app-selection}}\n   * ```\n   * @class ui-app-selection\n   */\n  var _default = _exports.default = _component.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    tagName: '',\n    /**\n     * if set there are displayed some loading-placeholders\n     * instead of the actual content.\n     *\n     * @property isOpen\n     * @type {Boolean}\n     * @default false\n     */\n    isOpen: false,\n    /**\n     * All available and addable apps to cart\n     *\n     * @property availableApps\n     * @type {Array}\n     * @default null\n     */\n    availableApps: null,\n    /**\n     * The selected apps in the cart\n     *\n     * @property selectedApps\n     * @type {Array}\n     * @default null\n     */\n    selectedApps: null,\n    /**\n     * The active-app to activate, will be passed to app-selection-dialog component.\n     *\n     * @property activeApp\n     * @type {Object}\n     * @default null\n     */\n    activeApp: null,\n    /**\n     * Contains all apps that are not yet in cart\n     *\n     * @property addableApps\n     * @type {Array}\n     * @default []\n     */\n    addableApps: (0, _object.computed)('availableApps.[]', 'selectedApps.@each.id', {\n      get() {\n        if (!this.availableApps) {\n          return [];\n        }\n        const selectedApps = this.selectedApps;\n        const selectedAppIds = selectedApps && selectedApps.mapBy('appId');\n        if (!selectedAppIds) {\n          return this.availableApps;\n        }\n\n        // Only get apps that are not currently in cart\n        const addableApps = this.availableApps.filter(availableApp => false === selectedAppIds.includes(availableApp.id));\n        return addableApps;\n      }\n    }),\n    loadAvailableApps: (0, _emberConcurrency.task)(function* () {\n      const request = this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/apps?buyable=1`);\n      const availableApps = yield request.then(response => response.json());\n      if (!availableApps) {\n        return;\n      }\n      availableApps.apps && availableApps.apps.sort((item, next) => item.id < next.id ? -1 : 1);\n      (0, _object.set)(this, 'availableApps', availableApps.apps ? availableApps.apps : []);\n      const activeApp = this.activeApp;\n      if (activeApp && activeApp.id && !activeApp.plans) {\n        const activeAppModel = this._getAppModelById(activeApp.id);\n        activeAppModel && (0, _object.set)(this, 'activeApp', activeAppModel);\n      }\n    }).on('didInsertElement'),\n    /**\n     * addApp event.\n     *\n     * @event addApp\n     * @param {Event} event The click event\n     * @return {Array}\n     */\n    addApp() {},\n    /**\n     * removeAppFromCart event.\n     *\n     * @event removeApp\n     * @param {Event} event The click event\n     * @return {Array}\n     */\n    removeApp() {},\n    /**\n     * Find by the given app-id param the complete app-model with plans etc. from the fetched availableApps\n     *\n     * @function _getAppModelById\n     * @private\n     * @return {Object}\n     */\n    _getAppModelById(appId) {\n      const availableApps = this.availableApps;\n      const activeAppModel = availableApps && availableApps.findBy('id', appId);\n      return activeAppModel;\n    },\n    actions: {\n      /**\n       * Adds a new object to the selectedApps-Array\n       *\n       * @param {Int} app The app to add\n       * @param {String} name The stripe plan-name\n       * @param {Int} amount The amount the plan costs\n       */\n      addApp(app, plan) {\n        const appId = app.id;\n        const {\n          id,\n          amount\n        } = plan;\n        const appKey = (0, _appUtils.getAppKeyById)(appId);\n        // Check if app is already selected\n        this.addApp(appId, appKey, id, amount);\n        this.send('closeAppList');\n      },\n      /**\n       * Removes a new object to the selectedApps-Array\n       *\n       * @param {Int} appId The if of the app selected app\n       */\n      removeApp(appId) {\n        this.removeApp(appId);\n      },\n      toggleOpen() {\n        const open = this.isOpen;\n        (0, _object.set)(this, 'isOpen', !open);\n      },\n      openAppList() {\n        (0, _object.set)(this, 'isAppListDialog', true);\n      },\n      closeAppList() {\n        // Close dialog and reset to list-view\n        (0, _object.set)(this, 'isAppListDialog', false);\n        // Reset activeApp to not re-open the app-plans dialog\n        (0, _object.set)(this, 'activeApp', null);\n      }\n    }\n  });\n});","define(\"additive-account/components/ui-app\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * ```hbs\n   * {{ui-app}}\n   * ```\n   *\n   * @class ui-app\n   */\n  var _default = _exports.default = _component.default.extend({\n    classNames: ['ui-app', 'flex', 'pv2', 'relative'],\n    /**\n     * if the component is set to read-only mode the onRemove\n     * action will be hidden.\n     *\n     * @property isReadOnly\n     * @type {Boolean}\n     * @default false\n     */\n    isReadOnly: false,\n    onClick() {},\n    onRemove() {}\n  });\n});","define(\"additive-account/components/ui-application-navigation-drawer\", [\"exports\", \"@additive-apps/ui/components/ui-application-navigation-drawer\"], function (_exports, _uiApplicationNavigationDrawer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiApplicationNavigationDrawer.default;\n    }\n  });\n});","define(\"additive-account/components/ui-application-navigation-drawer/account-switch\", [\"exports\", \"@additive-apps/ui/components/ui-application-navigation-drawer/account-switch\"], function (_exports, _accountSwitch) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _accountSwitch.default;\n    }\n  });\n});","define(\"additive-account/components/ui-application-navigation-drawer/account-switch/wrapper\", [\"exports\", \"@additive-apps/ui/components/ui-application-navigation-drawer/account-switch/wrapper\"], function (_exports, _wrapper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _wrapper.default;\n    }\n  });\n});","define(\"additive-account/components/ui-application-navigation-drawer/apps-list\", [\"exports\", \"@additive-apps/ui/components/ui-application-navigation-drawer/apps-list\"], function (_exports, _appsList) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _appsList.default;\n    }\n  });\n});","define(\"additive-account/components/ui-application-navigation-drawer/menu-item\", [\"exports\", \"@additive-apps/ui/components/ui-application-navigation-drawer/menu-item\"], function (_exports, _menuItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _menuItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-application-navigation-drawer/user-button\", [\"exports\", \"@additive-apps/ui/components/ui-application-navigation-drawer/user-button\"], function (_exports, _userButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _userButton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-audit-log\", [\"exports\", \"@additive-apps/ui/components/ui-audit-log\"], function (_exports, _uiAuditLog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiAuditLog.default;\n    }\n  });\n});","define(\"additive-account/components/ui-badge\", [\"exports\", \"@additive-apps/ui/components/ui-badge\"], function (_exports, _uiBadge) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiBadge.default;\n    }\n  });\n});","define(\"additive-account/components/ui-blank-template\", [\"exports\", \"@additive-apps/ui/components/ui-blank-template\"], function (_exports, _uiBlankTemplate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiBlankTemplate.default;\n    }\n  });\n});","define(\"additive-account/components/ui-breadcrumbs\", [\"exports\", \"@additive-apps/ui/components/ui-breadcrumbs\"], function (_exports, _uiBreadcrumbs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiBreadcrumbs.default;\n    }\n  });\n});","define(\"additive-account/components/ui-button\", [\"exports\", \"@additive-apps/ui/components/ui-button\"], function (_exports, _uiButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiButton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card\", [\"exports\", \"@additive-apps/ui/components/ui-card/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/content/default\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/content/default\"], function (_exports, _default) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _default.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/content/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/content/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/content/title\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/content/title\"], function (_exports, _title) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _title.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/menu/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/menu/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/menu/item\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/menu/item\"], function (_exports, _item) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _item.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/popover\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/popover\"], function (_exports, _popover) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _popover.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/footer/status\", [\"exports\", \"@additive-apps/ui/components/ui-card/footer/status\"], function (_exports, _status) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _status.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/accessories\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/accessories\"], function (_exports, _accessories) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _accessories.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/accessories/drag-handle\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/accessories/drag-handle\"], function (_exports, _dragHandle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dragHandle.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/accessories/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/accessories/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/content/iframe\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/content/iframe\"], function (_exports, _iframe) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _iframe.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/content/image\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/content/image\"], function (_exports, _image) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _image.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/content/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/content/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/header/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/header/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-card/index\", [\"exports\", \"@additive-apps/ui/components/ui-card/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _index.default;\n    }\n  });\n});","define(\"additive-account/components/ui-category-card\", [\"exports\", \"@additive-apps/ui/components/ui-category-card\"], function (_exports, _uiCategoryCard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiCategoryCard.default;\n    }\n  });\n});","define(\"additive-account/components/ui-category-grid\", [\"exports\", \"@additive-apps/ui/components/ui-category-grid\"], function (_exports, _uiCategoryGrid) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiCategoryGrid.default;\n    }\n  });\n});","define(\"additive-account/components/ui-chart-legend\", [\"exports\", \"@additive-apps/ui/components/ui-chart-legend\"], function (_exports, _uiChartLegend) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiChartLegend.default;\n    }\n  });\n});","define(\"additive-account/components/ui-chart\", [\"exports\", \"@additive-apps/ui/components/ui-chart\"], function (_exports, _uiChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiChart.default;\n    }\n  });\n});","define(\"additive-account/components/ui-checkbox\", [\"exports\", \"@additive-apps/ui/components/ui-checkbox\"], function (_exports, _uiCheckbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiCheckbox.default;\n    }\n  });\n});","define(\"additive-account/components/ui-chip\", [\"exports\", \"@additive-apps/ui/components/ui-chip\"], function (_exports, _uiChip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiChip.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table\"], function (_exports, _uiCollapsibleTable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiCollapsibleTable.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/head\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/head\"], function (_exports, _head) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _head.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/head/row\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/head/row\"], function (_exports, _row) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _row.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/head/row/column\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/head/row/column\"], function (_exports, _column) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _column.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/row\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/row\"], function (_exports, _row) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _row.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/row/first-column\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/row/first-column\"], function (_exports, _firstColumn) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _firstColumn.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/row/tooltip\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/row/tooltip\"], function (_exports, _tooltip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tooltip.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/row/value-column\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/row/value-column\"], function (_exports, _valueColumn) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _valueColumn.default;\n    }\n  });\n});","define(\"additive-account/components/ui-collapsible-table/rows\", [\"exports\", \"@additive-apps/ui/components/ui-collapsible-table/rows\"], function (_exports, _rows) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rows.default;\n    }\n  });\n});","define(\"additive-account/components/ui-color-composition\", [\"exports\", \"@additive-apps/ui/components/ui-color-composition\"], function (_exports, _uiColorComposition) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiColorComposition.default;\n    }\n  });\n});","define(\"additive-account/components/ui-colored-tile\", [\"exports\", \"@additive-apps/ui/components/ui-colored-tile\"], function (_exports, _uiColoredTile) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiColoredTile.default;\n    }\n  });\n});","define(\"additive-account/components/ui-comparison\", [\"exports\", \"@additive-apps/ui/components/ui-comparison\"], function (_exports, _uiComparison) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiComparison.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-count\", [\"exports\", \"@additive-apps/ui/components/ui-content-count\"], function (_exports, _uiContentCount) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContentCount.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-hero\", [\"exports\", \"@additive-apps/ui/components/ui-content-hero\"], function (_exports, _uiContentHero) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContentHero.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-info\", [\"exports\", \"@additive-apps/ui/components/ui-content-info\"], function (_exports, _uiContentInfo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContentInfo.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-rating\", [\"exports\", \"@additive-apps/ui/components/ui-content-rating\"], function (_exports, _uiContentRating) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContentRating.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-views\", [\"exports\", \"@additive-apps/ui/components/ui-content-views\"], function (_exports, _uiContentViews) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContentViews.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-views/center\", [\"exports\", \"@additive-apps/ui/components/ui-content-views/center\"], function (_exports, _center) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _center.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-views/content\", [\"exports\", \"@additive-apps/ui/components/ui-content-views/content\"], function (_exports, _content) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _content.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-wizard\", [\"exports\", \"@additive-apps/ui/components/ui-content-wizard\"], function (_exports, _uiContentWizard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContentWizard.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-wizard/step-content\", [\"exports\", \"@additive-apps/ui/components/ui-content-wizard/step-content\"], function (_exports, _stepContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stepContent.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content-wizard/step\", [\"exports\", \"@additive-apps/ui/components/ui-content-wizard/step\"], function (_exports, _step) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _step.default;\n    }\n  });\n});","define(\"additive-account/components/ui-content\", [\"exports\", \"@additive-apps/ui/components/ui-content\"], function (_exports, _uiContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiContent.default;\n    }\n  });\n});","define(\"additive-account/components/ui-control-panel-group\", [\"exports\", \"@additive-apps/ui/components/ui-control-panel-group\"], function (_exports, _uiControlPanelGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiControlPanelGroup.default;\n    }\n  });\n});","define(\"additive-account/components/ui-control-panel\", [\"exports\", \"@additive-apps/ui/components/ui-control-panel\"], function (_exports, _uiControlPanel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiControlPanel.default;\n    }\n  });\n});","define(\"additive-account/components/ui-data-table\", [\"exports\", \"@additive-apps/ui/components/ui-data-table\"], function (_exports, _uiDataTable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDataTable.default;\n    }\n  });\n});","define(\"additive-account/components/ui-date-filter\", [\"exports\", \"@additive-apps/ui/components/ui-date-filter\"], function (_exports, _uiDateFilter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDateFilter.default;\n    }\n  });\n});","define(\"additive-account/components/ui-datepicker\", [\"exports\", \"@additive-apps/ui/components/ui-datepicker\"], function (_exports, _uiDatepicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDatepicker.default;\n    }\n  });\n});","define(\"additive-account/components/ui-datepicker/nav\", [\"exports\", \"@additive-apps/ui/components/ui-datepicker/nav\"], function (_exports, _nav) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _nav.default;\n    }\n  });\n});","define(\"additive-account/components/ui-datetime-picker\", [\"exports\", \"@additive-apps/ui/components/ui-datetime-picker\"], function (_exports, _uiDatetimePicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDatetimePicker.default;\n    }\n  });\n});","define(\"additive-account/components/ui-datetime-range-picker\", [\"exports\", \"@additive-apps/ui/components/ui-datetime-range-picker\"], function (_exports, _uiDatetimeRangePicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDatetimeRangePicker.default;\n    }\n  });\n});","define(\"additive-account/components/ui-dd-sort\", [\"exports\", \"@additive-apps/ui/components/ui-dd-sort\"], function (_exports, _uiDdSort) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDdSort.default;\n    }\n  });\n});","define(\"additive-account/components/ui-dd-sort/item\", [\"exports\", \"@additive-apps/ui/components/ui-dd-sort/item\"], function (_exports, _item) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _item.default;\n    }\n  });\n});","define(\"additive-account/components/ui-dialog-service\", [\"exports\", \"@additive-apps/ui/components/ui-dialog-service\"], function (_exports, _uiDialogService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDialogService.default;\n    }\n  });\n});","define(\"additive-account/components/ui-discard-changes\", [\"exports\", \"@additive-apps/ui/components/ui-discard-changes\"], function (_exports, _uiDiscardChanges) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDiscardChanges.default;\n    }\n  });\n});","define(\"additive-account/components/ui-dom-hide\", [\"exports\", \"@additive-apps/ui/components/ui-dom-hide\"], function (_exports, _uiDomHide) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDomHide.default;\n    }\n  });\n});","define(\"additive-account/components/ui-dropzone\", [\"exports\", \"@additive-apps/ui/components/ui-dropzone\"], function (_exports, _uiDropzone) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDropzone.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor-legacy\", [\"exports\", \"@additive-apps/ui/components/ui-editor-legacy\"], function (_exports, _uiEditorLegacy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiEditorLegacy.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor\", [\"exports\", \"@additive-apps/ui/components/ui-editor\"], function (_exports, _uiEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiEditor.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor/action-bar\", [\"exports\", \"@additive-apps/ui/components/ui-editor/action-bar\"], function (_exports, _actionBar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _actionBar.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor/action\", [\"exports\", \"@additive-apps/ui/components/ui-editor/action\"], function (_exports, _action) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _action.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor/custom-color-dialog\", [\"exports\", \"@additive-apps/ui/components/ui-editor/custom-color-dialog\"], function (_exports, _customColorDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _customColorDialog.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor/heading-actions\", [\"exports\", \"@additive-apps/ui/components/ui-editor/heading-actions\"], function (_exports, _headingActions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headingActions.default;\n    }\n  });\n});","define(\"additive-account/components/ui-editor/mobile-actions\", [\"exports\", \"@additive-apps/ui/components/ui-editor/mobile-actions\"], function (_exports, _mobileActions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mobileActions.default;\n    }\n  });\n});","define(\"additive-account/components/ui-faq-dialog\", [\"exports\", \"@additive-apps/ui/components/ui-faq-dialog\"], function (_exports, _uiFaqDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFaqDialog.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs\"], function (_exports, _uiFilterInputs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFilterInputs.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/date\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/date\"], function (_exports, _date) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _date.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/daterange\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/daterange\"], function (_exports, _daterange) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _daterange.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/group-label\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/group-label\"], function (_exports, _groupLabel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _groupLabel.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/inputs\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/inputs\"], function (_exports, _inputs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inputs.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/multi\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/multi\"], function (_exports, _multi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _multi.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/query\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/query\"], function (_exports, _query) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _query.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/query/single\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/query/single\"], function (_exports, _single) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _single.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/range\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/range\"], function (_exports, _range) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _range.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/single\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/single\"], function (_exports, _single) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _single.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filter-inputs/text\", [\"exports\", \"@additive-apps/ui/components/ui-filter-inputs/text\"], function (_exports, _text) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _text.default;\n    }\n  });\n});","define(\"additive-account/components/ui-filterable\", [\"exports\", \"@additive-apps/ui/components/ui-filterable\"], function (_exports, _uiFilterable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFilterable.default;\n    }\n  });\n});","define(\"additive-account/components/ui-form-control\", [\"exports\", \"@additive-apps/ui/components/ui-form-control\"], function (_exports, _uiFormControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFormControl.default;\n    }\n  });\n});","define(\"additive-account/components/ui-form-dialog\", [\"exports\", \"@additive-apps/ui/components/ui-form-dialog\"], function (_exports, _uiFormDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFormDialog.default;\n    }\n  });\n});","define(\"additive-account/components/ui-form-message\", [\"exports\", \"@additive-apps/ui/components/ui-form-message\"], function (_exports, _uiFormMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFormMessage.default;\n    }\n  });\n});","define(\"additive-account/components/ui-form-view\", [\"exports\", \"@additive-apps/ui/components/ui-form-view\"], function (_exports, _uiFormView) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFormView.default;\n    }\n  });\n});","define(\"additive-account/components/ui-form\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-changeset/utils/is-changeset\", \"ember-changeset\", \"ember-changeset-validations\"], function (_exports, _component, _object, _isChangeset, _emberChangeset, _emberChangesetValidations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    tagName: '',\n    isEditing: false,\n    isDiscardChangesDialog: false,\n    onConfirm() {},\n    onClose() {},\n    init() {\n      this._super(...arguments);\n      const model = this.model;\n      if (model && !(0, _isChangeset.default)(model)) {\n        const validation = this.validation;\n        const changeset = new _emberChangeset.default(model, (0, _emberChangesetValidations.default)(validation), validation);\n        (0, _object.set)(this, 'changeset', changeset);\n      }\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      // clean up changeset to avoid memleaks\n      (0, _object.set)(this, 'changeset', null);\n    },\n    actions: {\n      onConfirm(changeset) {\n        return changeset.validate().then(() => {\n          if (changeset.get('isValid')) {\n            return this.onConfirm(changeset);\n          } else {\n            return;\n          }\n        });\n      },\n      onClose() {\n        const changeset = this.changeset;\n\n        // close the profile view if no changes have been made\n        if (changeset.get('isPristine')) {\n          this.onClose();\n        } else {\n          (0, _object.set)(this, 'isDiscardChangesDialog', true);\n        }\n      },\n      confirmDiscard() {\n        (0, _object.set)(this, 'isDiscardChangesDialog', false);\n        this.onClose();\n      }\n    }\n  });\n});","define(\"additive-account/components/ui-fullscreen-illustration\", [\"exports\", \"@additive-apps/ui/components/ui-fullscreen-illustration\"], function (_exports, _uiFullscreenIllustration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFullscreenIllustration.default;\n    }\n  });\n});","define(\"additive-account/components/ui-icon-button\", [\"exports\", \"@additive-apps/ui/components/ui-icon-button\"], function (_exports, _uiIconButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiIconButton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-info-item\", [\"exports\", \"@additive-apps/ui/components/ui-info-item\"], function (_exports, _uiInfoItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiInfoItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-inline-edit\", [\"exports\", \"@additive-apps/ui/components/ui-inline-edit\"], function (_exports, _uiInlineEdit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiInlineEdit.default;\n    }\n  });\n});","define(\"additive-account/components/ui-inline-notification\", [\"exports\", \"@additive-apps/ui/components/ui-inline-notification\"], function (_exports, _uiInlineNotification) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiInlineNotification.default;\n    }\n  });\n});","define(\"additive-account/components/ui-input-item\", [\"exports\", \"@additive-apps/ui/components/ui-input-item\"], function (_exports, _uiInputItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiInputItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-input\", [\"exports\", \"@additive-apps/ui/components/ui-input\"], function (_exports, _uiInput) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiInput.default;\n    }\n  });\n});","define(\"additive-account/components/ui-intro\", [\"exports\", \"@additive-apps/ui/components/ui-intro\"], function (_exports, _uiIntro) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiIntro.default;\n    }\n  });\n});","define(\"additive-account/components/ui-item-group\", [\"exports\", \"@additive-apps/ui/components/ui-item-group\"], function (_exports, _uiItemGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiItemGroup.default;\n    }\n  });\n});","define(\"additive-account/components/ui-item-menu\", [\"exports\", \"@additive-apps/ui/components/ui-item-menu\"], function (_exports, _uiItemMenu) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiItemMenu.default;\n    }\n  });\n});","define(\"additive-account/components/ui-item\", [\"exports\", \"@additive-apps/ui/components/ui-item\"], function (_exports, _uiItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-label\", [\"exports\", \"@additive-apps/ui/components/ui-label\"], function (_exports, _uiLabel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiLabel.default;\n    }\n  });\n});","define(\"additive-account/components/ui-lang-select\", [\"exports\", \"@additive-apps/ui/components/ui-lang-select\"], function (_exports, _uiLangSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiLangSelect.default;\n    }\n  });\n});","define(\"additive-account/components/ui-language-tag\", [\"exports\", \"@additive-apps/ui/components/ui-language-tag\"], function (_exports, _uiLanguageTag) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiLanguageTag.default;\n    }\n  });\n});","define(\"additive-account/components/ui-list-item\", [\"exports\", \"@additive-apps/ui/components/ui-list-item\"], function (_exports, _uiListItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiListItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-list-item/thumbnail\", [\"exports\", \"@additive-apps/ui/components/ui-list-item/thumbnail\"], function (_exports, _thumbnail) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _thumbnail.default;\n    }\n  });\n});","define(\"additive-account/components/ui-list-view\", [\"exports\", \"@additive-apps/ui/components/ui-list-view\"], function (_exports, _uiListView) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiListView.default;\n    }\n  });\n});","define(\"additive-account/components/ui-list\", [\"exports\", \"@additive-apps/ui/components/ui-list\"], function (_exports, _uiList) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiList.default;\n    }\n  });\n});","define(\"additive-account/components/ui-loading-page\", [\"exports\", \"@additive-apps/ui/components/ui-loading-page\"], function (_exports, _uiLoadingPage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiLoadingPage.default;\n    }\n  });\n});","define(\"additive-account/components/ui-loading\", [\"exports\", \"@additive-apps/ui/components/ui-loading\"], function (_exports, _uiLoading) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiLoading.default;\n    }\n  });\n});","define(\"additive-account/components/ui-menu-content-inner\", [\"exports\", \"@additive-apps/ui/components/ui-menu-content-inner\"], function (_exports, _uiMenuContentInner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMenuContentInner.default;\n    }\n  });\n});","define(\"additive-account/components/ui-menu-content\", [\"exports\", \"@additive-apps/ui/components/ui-menu-content\"], function (_exports, _uiMenuContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMenuContent.default;\n    }\n  });\n});","define(\"additive-account/components/ui-menu-item\", [\"exports\", \"@additive-apps/ui/components/ui-menu-item\"], function (_exports, _uiMenuItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMenuItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-menu\", [\"exports\", \"@additive-apps/ui/components/ui-menu\"], function (_exports, _uiMenu) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMenu.default;\n    }\n  });\n});","define(\"additive-account/components/ui-metric-item\", [\"exports\", \"@additive-apps/ui/components/ui-metric-item\"], function (_exports, _uiMetricItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMetricItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-modal\", [\"exports\", \"@additive-apps/ui/components/ui-modal\"], function (_exports, _uiModal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiModal.default;\n    }\n  });\n});","define(\"additive-account/components/ui-modal/content\", [\"exports\", \"@additive-apps/ui/components/ui-modal/content\"], function (_exports, _content) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _content.default;\n    }\n  });\n});","define(\"additive-account/components/ui-modal/footer\", [\"exports\", \"@additive-apps/ui/components/ui-modal/footer\"], function (_exports, _footer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _footer.default;\n    }\n  });\n});","define(\"additive-account/components/ui-modal/header\", [\"exports\", \"@additive-apps/ui/components/ui-modal/header\"], function (_exports, _header) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _header.default;\n    }\n  });\n});","define(\"additive-account/components/ui-modal/inner\", [\"exports\", \"@additive-apps/ui/components/ui-modal/inner\"], function (_exports, _inner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inner.default;\n    }\n  });\n});","define(\"additive-account/components/ui-month-day-picker\", [\"exports\", \"@additive-apps/ui/components/ui-month-day-picker\"], function (_exports, _uiMonthDayPicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMonthDayPicker.default;\n    }\n  });\n});","define(\"additive-account/components/ui-multi-form-control\", [\"exports\", \"@additive-apps/ui/components/ui-multi-form-control\"], function (_exports, _uiMultiFormControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMultiFormControl.default;\n    }\n  });\n});","define(\"additive-account/components/ui-multi-form-control/input\", [\"exports\", \"@additive-apps/ui/components/ui-multi-form-control/input\"], function (_exports, _input) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _input.default;\n    }\n  });\n});","define(\"additive-account/components/ui-multilingual-modal\", [\"exports\", \"@additive-apps/ui/components/ui-multilingual-modal\"], function (_exports, _uiMultilingualModal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiMultilingualModal.default;\n    }\n  });\n});","define(\"additive-account/components/ui-navigation-bar-filterable\", [\"exports\", \"@additive-apps/ui/components/ui-navigation-bar-filterable\"], function (_exports, _uiNavigationBarFilterable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiNavigationBarFilterable.default;\n    }\n  });\n});","define(\"additive-account/components/ui-navigation-bar\", [\"exports\", \"@additive-apps/ui/components/ui-navigation-bar\"], function (_exports, _uiNavigationBar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiNavigationBar.default;\n    }\n  });\n});","define(\"additive-account/components/ui-navigation-drawer\", [\"exports\", \"@additive-apps/ui/components/ui-navigation-drawer\"], function (_exports, _uiNavigationDrawer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiNavigationDrawer.default;\n    }\n  });\n});","define(\"additive-account/components/ui-notification\", [\"exports\", \"@additive-apps/ui/components/ui-notification\"], function (_exports, _uiNotification) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiNotification.default;\n    }\n  });\n});","define(\"additive-account/components/ui-onboarding\", [\"exports\", \"@additive-apps/ui/components/ui-onboarding\"], function (_exports, _uiOnboarding) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiOnboarding.default;\n    }\n  });\n});","define(\"additive-account/components/ui-page-not-found\", [\"exports\", \"@additive-apps/ui/components/ui-page-not-found\"], function (_exports, _uiPageNotFound) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPageNotFound.default;\n    }\n  });\n});","define(\"additive-account/components/ui-pagination-arrow\", [\"exports\", \"@additive-apps/ui/components/ui-pagination-arrow\"], function (_exports, _uiPaginationArrow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPaginationArrow.default;\n    }\n  });\n});","define(\"additive-account/components/ui-pagination-page-item\", [\"exports\", \"@additive-apps/ui/components/ui-pagination-page-item\"], function (_exports, _uiPaginationPageItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPaginationPageItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-pagination\", [\"exports\", \"@additive-apps/ui/components/ui-pagination\"], function (_exports, _uiPagination) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPagination.default;\n    }\n  });\n});","define(\"additive-account/components/ui-popover-trigger\", [\"exports\", \"@additive-apps/ui/components/ui-popover-trigger\"], function (_exports, _uiPopoverTrigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPopoverTrigger.default;\n    }\n  });\n});","define(\"additive-account/components/ui-popover\", [\"exports\", \"@additive-apps/ui/components/ui-popover\"], function (_exports, _uiPopover) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPopover.default;\n    }\n  });\n});","define(\"additive-account/components/ui-preview-dialog\", [\"exports\", \"@additive-apps/ui/components/ui-preview-dialog\"], function (_exports, _uiPreviewDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPreviewDialog.default;\n    }\n  });\n});","define(\"additive-account/components/ui-progress-bar\", [\"exports\", \"@additive-apps/ui/components/ui-progress-bar\"], function (_exports, _uiProgressBar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiProgressBar.default;\n    }\n  });\n});","define(\"additive-account/components/ui-property-watcher\", [\"exports\", \"@additive-apps/ui/components/ui-property-watcher\"], function (_exports, _uiPropertyWatcher) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPropertyWatcher.default;\n    }\n  });\n});","define(\"additive-account/components/ui-publish-resource\", [\"exports\", \"@additive-apps/ui/components/ui-publish-resource\"], function (_exports, _uiPublishResource) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPublishResource.default;\n    }\n  });\n});","define(\"additive-account/components/ui-pusher\", [\"exports\", \"@additive-apps/ui/components/ui-pusher\"], function (_exports, _uiPusher) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPusher.default;\n    }\n  });\n});","define(\"additive-account/components/ui-radio-button-group\", [\"exports\", \"@additive-apps/ui/components/ui-radio-button-group\"], function (_exports, _uiRadioButtonGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiRadioButtonGroup.default;\n    }\n  });\n});","define(\"additive-account/components/ui-radio-button\", [\"exports\", \"@additive-apps/ui/components/ui-radio-button\"], function (_exports, _uiRadioButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiRadioButton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-range-slider\", [\"exports\", \"@additive-apps/ui/components/ui-range-slider\"], function (_exports, _uiRangeSlider) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiRangeSlider.default;\n    }\n  });\n});","define(\"additive-account/components/ui-rating\", [\"exports\", \"@additive-apps/ui/components/ui-rating\"], function (_exports, _uiRating) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiRating.default;\n    }\n  });\n});","define(\"additive-account/components/ui-reports/card\", [\"exports\", \"@additive-apps/ui/components/ui-reports/card\"], function (_exports, _card) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _card.default;\n    }\n  });\n});","define(\"additive-account/components/ui-routable-tabs\", [\"exports\", \"@additive-apps/ui/components/ui-routable-tabs\"], function (_exports, _uiRoutableTabs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiRoutableTabs.default;\n    }\n  });\n});","define(\"additive-account/components/ui-searchbar\", [\"exports\", \"@additive-apps/ui/components/ui-searchbar\"], function (_exports, _uiSearchbar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSearchbar.default;\n    }\n  });\n});","define(\"additive-account/components/ui-select-option\", [\"exports\", \"@additive-apps/ui/components/ui-select-option\"], function (_exports, _uiSelectOption) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSelectOption.default;\n    }\n  });\n});","define(\"additive-account/components/ui-select\", [\"exports\", \"@additive-apps/ui/components/ui-select\"], function (_exports, _uiSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSelect.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selectable-chip\", [\"exports\", \"@additive-apps/ui/components/ui-selectable-chip\"], function (_exports, _uiSelectableChip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSelectableChip.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selectable\", [\"exports\", \"@additive-apps/ui/components/ui-selectable\"], function (_exports, _uiSelectable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSelectable.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selectable/content\", [\"exports\", \"@additive-apps/ui/components/ui-selectable/content\"], function (_exports, _content) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _content.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selectable/trigger\", [\"exports\", \"@additive-apps/ui/components/ui-selectable/trigger\"], function (_exports, _trigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _trigger.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selection-container\", [\"exports\", \"@additive-apps/ui/components/ui-selection-container\"], function (_exports, _uiSelectionContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSelectionContainer.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selection-container/action-bar\", [\"exports\", \"@additive-apps/ui/components/ui-selection-container/action-bar\"], function (_exports, _actionBar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _actionBar.default;\n    }\n  });\n});","define(\"additive-account/components/ui-selection-container/actions\", [\"exports\", \"@additive-apps/ui/components/ui-selection-container/actions\"], function (_exports, _actions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _actions.default;\n    }\n  });\n});","define(\"additive-account/components/ui-skeleton-card\", [\"exports\", \"@additive-apps/ui/components/ui-skeleton-card\"], function (_exports, _uiSkeletonCard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSkeletonCard.default;\n    }\n  });\n});","define(\"additive-account/components/ui-skeleton\", [\"exports\", \"@additive-apps/ui/components/ui-skeleton\"], function (_exports, _uiSkeleton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSkeleton.default;\n    }\n  });\n});","define(\"additive-account/components/ui-slider\", [\"exports\", \"@additive-apps/ui/components/ui-slider\"], function (_exports, _uiSlider) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSlider.default;\n    }\n  });\n});","define(\"additive-account/components/ui-status-badge\", [\"exports\", \"@additive-apps/ui/components/ui-status-badge\"], function (_exports, _uiStatusBadge) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiStatusBadge.default;\n    }\n  });\n});","define(\"additive-account/components/ui-status\", [\"exports\", \"@additive-apps/ui/components/ui-status\"], function (_exports, _uiStatus) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiStatus.default;\n    }\n  });\n});","define(\"additive-account/components/ui-switch\", [\"exports\", \"@additive-apps/ui/components/ui-switch\"], function (_exports, _uiSwitch) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSwitch.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tab-item\", [\"exports\", \"@additive-apps/ui/components/ui-tab-item\"], function (_exports, _uiTabItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTabItem.default;\n    }\n  });\n});","define(\"additive-account/components/ui-table\", [\"exports\", \"@additive-apps/ui/components/ui-table\"], function (_exports, _uiTable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTable.default;\n    }\n  });\n});","define(\"additive-account/components/ui-table/body\", [\"exports\", \"@additive-apps/ui/components/ui-table/body\"], function (_exports, _body) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _body.default;\n    }\n  });\n});","define(\"additive-account/components/ui-table/head-cell\", [\"exports\", \"@additive-apps/ui/components/ui-table/head-cell\"], function (_exports, _headCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headCell.default;\n    }\n  });\n});","define(\"additive-account/components/ui-table/head\", [\"exports\", \"@additive-apps/ui/components/ui-table/head\"], function (_exports, _head) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _head.default;\n    }\n  });\n});","define(\"additive-account/components/ui-table/row\", [\"exports\", \"@additive-apps/ui/components/ui-table/row\"], function (_exports, _row) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _row.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tabs-content\", [\"exports\", \"@additive-apps/ui/components/ui-tabs-content\"], function (_exports, _uiTabsContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTabsContent.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tabs-header\", [\"exports\", \"@additive-apps/ui/components/ui-tabs-header\"], function (_exports, _uiTabsHeader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTabsHeader.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tabs-pane\", [\"exports\", \"@additive-apps/ui/components/ui-tabs-pane\"], function (_exports, _uiTabsPane) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTabsPane.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tags-input-modal\", [\"exports\", \"@additive-apps/ui/components/ui-tags-input-modal\"], function (_exports, _uiTagsInputModal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTagsInputModal.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tags-input\", [\"exports\", \"@additive-apps/ui/components/ui-tags-input\"], function (_exports, _uiTagsInput) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTagsInput.default;\n    }\n  });\n});","define(\"additive-account/components/ui-tags\", [\"exports\", \"@additive-apps/ui/components/ui-tags\"], function (_exports, _uiTags) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTags.default;\n    }\n  });\n});","define(\"additive-account/components/ui-timepicker\", [\"exports\", \"@additive-apps/ui/components/ui-timepicker\"], function (_exports, _uiTimepicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiTimepicker.default;\n    }\n  });\n});","define(\"additive-account/components/ui-toast-container\", [\"exports\", \"@additive-apps/ui/components/ui-toast-container\"], function (_exports, _uiToastContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToastContainer.default;\n    }\n  });\n});","define(\"additive-account/components/ui-toast\", [\"exports\", \"@additive-apps/ui/components/ui-toast\"], function (_exports, _uiToast) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToast.default;\n    }\n  });\n});","define(\"additive-account/components/ui-toggle-group\", [\"exports\", \"@additive-apps/ui/components/ui-toggle-group\"], function (_exports, _uiToggleGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToggleGroup.default;\n    }\n  });\n});","define(\"additive-account/components/ui-toggle-group/item\", [\"exports\", \"@additive-apps/ui/components/ui-toggle-group/item\"], function (_exports, _item) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _item.default;\n    }\n  });\n});","define(\"additive-account/components/ui-toolbar\", [\"exports\", \"@additive-apps/ui/components/ui-toolbar\"], function (_exports, _uiToolbar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToolbar.default;\n    }\n  });\n});","define(\"additive-account/components/ui-view-modes\", [\"exports\", \"@additive-apps/ui/components/ui-view-modes\"], function (_exports, _uiViewModes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiViewModes.default;\n    }\n  });\n});","define(\"additive-account/components/ui-view-modes/content\", [\"exports\", \"@additive-apps/ui/components/ui-view-modes/content\"], function (_exports, _content) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _content.default;\n    }\n  });\n});","define(\"additive-account/components/ui-view-modes/toggle\", [\"exports\", \"@additive-apps/ui/components/ui-view-modes/toggle\"], function (_exports, _toggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toggle.default;\n    }\n  });\n});","define(\"additive-account/components/ui-when\", [\"exports\", \"@additive-apps/ui/components/ui-when\"], function (_exports, _uiWhen) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiWhen.default;\n    }\n  });\n});","define(\"additive-account/components/upgrade-plan-card\", [\"exports\", \"@ember/component\", \"@ember/service\"], function (_exports, _component, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    currentUser: (0, _service.inject)(),\n    /**\n     * the app that should be upgraded\n     *\n     * @property app\n     * @type {Object}\n     * @default null\n     */\n    app: null,\n    /**\n     * the displayed plan\n     *\n     * @property plan\n     * @type {Object}\n     * @default null\n     */\n    plan: null,\n    /**\n     * the active plan, used to compare the prices\n     *\n     * @property activePlan\n     * @type {Object}\n     * @default null\n     */\n    activePlan: null,\n    /**\n     * if the dialog is opened to downgrade the app\n     * @property isDowngrade\n     * @type {Boolean}\n     * @default false\n     * */\n    isDowngrade: false,\n    /**\n     * passed function to upgrade app\n     *\n     * @function upgrade\n     */\n    upgrade() {}\n  });\n});","define(\"additive-account/components/upgrade-plan\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@additive-apps/ui/constants\", \"@additive-apps/utils/utils/plans\", \"additive-account/utils/constants\"], function (_exports, _component, _object, _service, _constants, _plans, _constants2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    intl: (0, _service.inject)(),\n    /**\n     * all available plans to upgrade to\n     *\n     * @property plans\n     * @type {Object[]}\n     * @default undefined\n     */\n    plans: undefined,\n    /**\n     * whether the dialog is opened to upgrade or downgrade the app\n     * @property isDowngradeDialog\n     * @type {Boolean}\n     * @default false\n     * */\n    isDowngradeDialog: false,\n    /**\n     * the app that should be upgraded\n     *\n     * @property app\n     * @type {Object}\n     * @default null\n     */\n    app: null,\n    /**\n     *  the index of the selected tab\n     *\n     * @property activeTabIndex\n     * @type {Integer}\n     * @default 0\n     */\n    activeTabIndex: 0,\n    /**\n     *  the animation for the transition between the tabs\n     *\n     * @property animation\n     * @type {String}\n     * @default null\n     */\n    animation: null,\n    /**\n     *  the active Tab\n     *\n     * @property activeTab\n     * @type {Object}\n     * @default undefined\n     */\n    activeTab: (0, _object.computed)('cards.[]', 'activeTabIndex', {\n      get() {\n        return this.cards[this.activeTabIndex];\n      }\n    }),\n    /**\n     *  all tabs to be displayed\n     *\n     * @property cards\n     * @type {Object[]}\n     * @default undefined\n     */\n    cards: (0, _object.computed)('app', 'plans.[]', 'activeTab', 'activePlan', 'activeTabIndex', 'isDowngradeDialog', {\n      get() {\n        const intl = this.intl;\n        const plans = this.plans;\n        const app = this.app;\n        const activePlan = this.activePlan;\n\n        // filter app-plans keeping only yearly plans for partner-, only monthly plans for saas-customers\n        // and only plans that are better than the current one. Partner customers with an active \"standard\"\n        // plan are given the option to upgrade to professional and enterprise yearly plans.\n        // It also should not be possible to upgrade from the MC starter plan to the MC professional plan.\n        const upgradablePlans = plans.filter(plan => {\n          if (parseInt(app.id) === _constants.APP_ID_MARKETING_CLOUD) {\n            const activePlanName = activePlan.id.split('_')[0];\n            const planName = plan.id.split('_')[0];\n            if (activePlanName === _plans.PLAN_STARTER && planName === _plans.PLAN_PROFESSIONAL) {\n              return false;\n            }\n          }\n          if (activePlan.id === 'standard') {\n            return _constants2.PARTNER_PLANS.slice(2).includes(plan.id);\n          } else {\n            return _constants2.PARTNER_PLANS.includes(plan.id) && _constants2.PARTNER_PLANS.indexOf(plan.id) > _constants2.PARTNER_PLANS.indexOf(activePlan.id);\n          }\n        });\n        const availablePlans = this.isDowngradeDialog ? plans.filter(plan => {\n          const upgradablePlanIds = upgradablePlans.map(p => p.id);\n          return !upgradablePlanIds.includes(plan.id) && plan.id !== activePlan.id;\n        }) : [...upgradablePlans];\n        return availablePlans.map((plan, index) => {\n          // extract features from intl and split them into an array\n          const featuresString = intl.t(`appDetails.${app.id}.plans.${plan.id}.features`, {\n            htmlSafe: true\n          });\n          // we dont need the first \"feature\" because it just contains the price\n          let features;\n          if (featuresString.string) {\n            features = featuresString.string.split('<br>');\n          } else {\n            features = [];\n          }\n          return {\n            name: intl.t(`appDetails.${app.id}.plans.${plan.id}.title`),\n            planId: plan.id,\n            amount: plan.amount,\n            features: features,\n            isActive: index === this.activeTabIndex,\n            interval: plan.interval\n          };\n        });\n      }\n    }),\n    actions: {\n      /**\n       *  triggered when tabs are switched\n       *\n       * @function openTab\n       * @param {*} index\n       */\n      openTab(index) {\n        const tabIndex = this.activeTabIndex;\n        if (tabIndex > index) {\n          (0, _object.set)(this, 'animation', 'toRight');\n        } else {\n          (0, _object.set)(this, 'animation', 'toLeft');\n        }\n        (0, _object.set)(this, 'activeTabIndex', index);\n      },\n      async onUpgrade(app, plan) {\n        await this.upgrade(app, plan);\n        (0, _object.set)(this, 'isOpen', false);\n        (0, _object.set)(this, 'activeTabIndex', 0);\n      }\n    }\n  });\n});","define(\"additive-account/components/user-profile-view\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"ember-changeset\", \"ember-changeset-validations\", \"ember-concurrency\", \"additive-account/config/environment\", \"additive-account/validations/user\", \"additive-account/utils/constants\"], function (_exports, _component, _object, _service, _emberChangeset, _emberChangesetValidations, _emberConcurrency, _environment, _user, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\n  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  var _default = _exports.default = _component.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    isEditing: false,\n    isDiscardChangesDialog: false,\n    tagName: '',\n    onConfirm() {},\n    onClose() {},\n    init() {\n      this._super(...arguments);\n      const intl = this.intl;\n      const user = this.user;\n      const validation = (0, _user.userValidation)(intl);\n      const userChangeset = new _emberChangeset.default(user, (0, _emberChangesetValidations.default)(validation), validation);\n      (0, _object.set)(this, 'userChangeset', userChangeset);\n      const languageOptions = _constants.APP_LANGUAGES.map(lang => ({\n        name: intl.t(`languageSelect.${lang}`),\n        value: lang\n      }));\n      (0, _object.set)(this, 'languageOptions', languageOptions);\n      this._fetchPhonePrefixes.perform();\n    },\n    _fetchPhonePrefixes: (0, _emberConcurrency.task)(function* () {\n      var _this$currentUser;\n      const tasks = [this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/countries`, {\n        headers: {\n          'Accept-Language': ((_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.user) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.language) || 'de'\n        }\n      }), this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/phone-prefixes`)];\n      const [countriesResponse, phonePrefixesResponse] = yield Promise.all(tasks);\n      const {\n        countries\n      } = yield countriesResponse.json();\n      const phonePrefixes = yield phonePrefixesResponse.json();\n      const phonePrefixesWithCountries = phonePrefixes.map(prefix => {\n        const country = countries.find(c => c.code === prefix.country_code);\n        const [flag, number] = prefix.phone_prefix.split(' ');\n        return _objectSpread(_objectSpread({}, prefix), {}, {\n          countryName: (country === null || country === void 0 ? void 0 : country.name) || '',\n          formattedOptionName: `${flag} ${(country === null || country === void 0 ? void 0 : country.name) || ''} (${number})`\n        });\n      }).filter(prefix => prefix.countryName); // filter out prefixes without a matching country\n      (0, _object.set)(this, 'phonePrefixes', phonePrefixesWithCountries);\n    }),\n    actions: {\n      onClose() {\n        const userChangeset = this.userChangeset;\n\n        // close the profile view if no changes have been made\n        if (userChangeset.get('isPristine')) {\n          this.onClose();\n        } else {\n          (0, _object.set)(this, 'isDiscardChangesDialog', true);\n        }\n      },\n      confirmDiscard() {\n        (0, _object.set)(this, 'isDiscardChangesDialog', false);\n        this.onClose();\n      }\n    }\n  });\n});","define(\"additive-account/components/user-role-form\", [\"exports\", \"@ember/component\", \"@ember/object\", \"ember-concurrency\", \"@ember/service\"], function (_exports, _component, _object, _emberConcurrency, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _component.default.extend({\n    store: (0, _service.inject)(),\n    classNames: ['w-100'],\n    hasAppRoles: _object.computed.equal('user.role', 'member'),\n    /**\n     * load available apps\n     */\n    loadAvailableApps: (0, _emberConcurrency.task)(function* () {\n      const apps = yield this.store.findAll('app');\n      (0, _object.set)(this, 'apps', apps);\n    }).on('didInsertElement')\n  });\n});","define(\"additive-account/components/user-role-selection\", [\"exports\", \"@ember/component\", \"@ember/object\", \"@ember/service\", \"@ember/object/computed\", \"ember-concurrency\", \"additive-account/utils/app-management\", \"@additive-apps/auth/utils/roles-map\", \"additive-account/helpers/can-update-role\", \"ember-changeset\"], function (_exports, _component, _object, _service, _computed, _emberConcurrency, _appManagement, _rolesMap, _canUpdateRole, _emberChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const APPS_WITH_ROLES = ['2', '4', '7', '9', '11', '12', '50', '51', '100'];\n  const USER_PARTNER_APPS_PROPERTY = 'partnerAppRoles';\n  const USER_APPS_PROPERTY = 'appRoles';\n  var _default = _exports.default = _component.default.extend({\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    getApps: _appManagement.getApps,\n    /**\n     * The existing org-apps.\n     *\n     * @property apps\n     * @type {Object}\n     */\n    apps: null,\n    /**\n     * The global user roles which can be choosed as role.\n     *\n     * @property globalUserRoles\n     * @type {Object}\n     */\n    globalUserRoles: null,\n    /**\n     * The user object.\n     *\n     * @property apps\n     * @type {Object}\n     */\n    user: null,\n    /**\n     * Wether it should use/update the partner props of the user object (partnerRole, partnerAppRoles).\n     *\n     * @property usePartnerProperties\n     * @type {Boolean}\n     */\n    usePartnerProperties: false,\n    /**\n     * property that controls the behaviour when a user role gets updated\n     *\n     * @property isOrgPartner\n     * @type {Boolean}\n     */\n    isOrgPartner: false,\n    isLoadingApps: (0, _computed.alias)('getApps.task.isRunning'),\n    /**\n     * The apps for which roles can be set.\n     *\n     * @property availableApps\n     * @type {Object}\n     */\n    availableApps: (0, _object.computed)('usePartnerProperties', 'apps.[]', {\n      get() {\n        const apps = this.apps;\n        if (!apps) {\n          return [];\n        }\n        if (this.usePartnerProperties) {\n          // Return all apps to allow setting roles to each app (partner related)\n          return APPS_WITH_ROLES.map(appId => {\n            return {\n              id: appId\n            };\n          });\n        }\n        if (apps) {\n          return apps.filter(app => APPS_WITH_ROLES.indexOf(app.id) > -1);\n        }\n        return [];\n      }\n    }),\n    userAppRoles: (0, _object.computed)('userAppRolesProperty', 'user.{appRoles,partnerAppRoles}', {\n      get() {\n        return this.user && this.user[this.userAppRolesProperty];\n      }\n    }),\n    userAppRolesProperty: (0, _object.computed)('usePartnerProperties', {\n      get() {\n        return this.usePartnerProperties ? USER_PARTNER_APPS_PROPERTY : USER_APPS_PROPERTY;\n      }\n    }),\n    role: (0, _object.computed)('rolesProperty', 'user.{role,partnerRole}', {\n      get() {\n        return this.user && this.user[this.rolesProperty];\n      }\n    }),\n    rolesProperty: (0, _object.computed)('usePartnerProperties', {\n      get() {\n        return this.usePartnerProperties ? 'partnerRole' : 'role';\n      }\n    }),\n    /**\n     * A partner_role is nullable so extend the global roles by none, which indicates that\n     * a user has no rights as partner.\n     */\n    appRoles: (0, _object.computed)('usePartnerProperties', 'globalUserRoles', {\n      get() {\n        if (this.usePartnerProperties) {\n          return (this.globalUserRoles || []).concat([{\n            value: 'none'\n          }]);\n        }\n        return this.globalUserRoles;\n      }\n    }),\n    didInsertElement() {\n      this._super(...arguments);\n      _appManagement.getApps.task.perform(this).then(apps => (0, _object.set)(this, 'apps', apps));\n    },\n    setUserRole: (0, _emberConcurrency.task)(function* (role) {\n      const user = this.user;\n      const userChangeset = new _emberChangeset.default(user);\n\n      // take a snapshot of the current changeset state\n      let snapshot = userChangeset.snapshot();\n\n      // partner_role is nullable, in case its set to none, serialize as null\n      if (this.usePartnerProperties && role === 'none') {\n        (0, _object.set)(userChangeset, 'partnerRole', null);\n      } else {\n        (0, _object.set)(userChangeset, this.rolesProperty, role);\n      }\n\n      // clear appRoles for non-member users\n      if (role !== _rolesMap.ROLE_MEMBER) {\n        this.usePartnerProperties ? (0, _object.set)(userChangeset, USER_PARTNER_APPS_PROPERTY, null) : (0, _object.set)(userChangeset, USER_APPS_PROPERTY, null);\n      }\n      const isPartner = this.isOrgPartner;\n      const currentUserRole = this.currentUser && this.currentUser.organizationUser && this.currentUser.organizationUser.role;\n      const hasPartnerPrivileges = isPartner && this.currentUser && this.currentUser.isManager;\n      const canUpdateUser = hasPartnerPrivileges ? hasPartnerPrivileges : (0, _canUpdateRole.canUpdateRole)([currentUserRole, user.role]);\n      (0, _object.set)(userChangeset, 'isDisabled', !canUpdateUser);\n      const intl = this.intl;\n      try {\n        yield userChangeset.save();\n        this.uiToast.showToast({\n          type: 'success',\n          title: intl.t('global.toasts.success.changes.title'),\n          description: intl.t('global.toasts.success.changes.description'),\n          duration: 2000\n        });\n      } catch (e) {\n        this.uiDialog.showError();\n        // restore snapshot on errors\n        userChangeset.restore(snapshot);\n      } finally {\n        (0, _object.set)(this, 'isRoleSelectDialog', false);\n        // changeset cleanup\n        (0, _object.set)(this, 'userChangeset', null);\n      }\n    })\n  });\n});","define(\"additive-account/components/widget-config-group\", [\"exports\", \"@additive-apps/configurator/components/widget-config-group\"], function (_exports, _widgetConfigGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _widgetConfigGroup.default;\n    }\n  });\n});","define(\"additive-account/controllers/application\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"posthog-js\", \"@additive-apps/auth/utils/roles-map\", \"additive-account/mixins/global-user\"], function (_exports, _environment, _controller, _object, _service, _posthogJs, _rolesMap, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const instanceRoutes = [{\n    path: 'instances.instance.organization',\n    intlKey: 'global.myOrganizations',\n    key: 'home',\n    svg: 'home'\n  }, {\n    path: 'instances.instance.users',\n    intlKey: 'routes.users.title',\n    key: 'users',\n    svg: 'people',\n    requiredRole: 'member'\n  }, {\n    path: 'instances.instance.apps',\n    intlKey: 'global.attributes.apps',\n    key: 'apps',\n    svg: 'apps',\n    requiredRole: 'member'\n  },\n  /*{\n    TODO: DISABLED BILLINGS TILL ABLE TO REUSE\n    path: 'instances.instance.billings',\n    intlKey: 'global.attributes.billings',\n    key: 'billings',\n    svg: 'cart',\n    requiredRole: 'admin'\n  },*/\n  {\n    path: 'instances.instance.email-templates.list',\n    intlKey: 'global.attributes.emailTemplates',\n    key: 'emailTemplates',\n    svg: 'mail'\n  }, {\n    path: 'instances.instance.corporate-design',\n    intlKey: 'global.attributes.corporateDesign',\n    key: 'corporateDesign',\n    svg: 'style'\n  }, {\n    path: 'instances.instance.auditlog',\n    intlKey: 'global.attributes.auditlog',\n    svg: 'audit-log',\n    requiredRole: 'member'\n  }, {\n    path: 'instances.instance.settings',\n    intlKey: 'global.attributes.settings',\n    key: 'settings',\n    svg: 'settings'\n  }];\n  let ApplicationController = _exports.default = (_class = class ApplicationController extends _controller.default.extend(_globalUser.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n      _initializerDefineProperty(this, \"session\", _descriptor4, this);\n      _initializerDefineProperty(this, \"store\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiState\", _descriptor6, this);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor7, this);\n      _defineProperty(this, \"indexRoutes\", [{\n        path: 'instances.me.index',\n        intlKey: 'global.myProfile',\n        svg: 'apps'\n      }, {\n        path: 'instances.me.inbox',\n        intlKey: 'global.messages',\n        svg: 'message'\n      }]);\n    }\n    get currentOrganization() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.currentOrganization;\n    }\n    get organizationUser() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.user;\n    }\n    get organizationId() {\n      var _this$currentOrganiza;\n      return (_this$currentOrganiza = this.currentOrganization) === null || _this$currentOrganiza === void 0 ? void 0 : _this$currentOrganiza.id;\n    }\n    get showNavdrawer() {\n      var _this$session;\n      return ((_this$session = this.session) === null || _this$session === void 0 ? void 0 : _this$session.isAuthenticated) && !['instances.create', 'confirm'].includes(this.router.currentRouteName) && !this.router.currentRouteName.startsWith('auth');\n    }\n    get isPartnerAdmin() {\n      var _this$globalUser;\n      return ((_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.partnerRole) === _rolesMap.ROLE_ADMIN;\n    }\n    get isPartnerManager() {\n      var _this$globalUser2;\n      return ((_this$globalUser2 = this.globalUser) === null || _this$globalUser2 === void 0 ? void 0 : _this$globalUser2.partnerRole) === _rolesMap.ROLE_MANAGER;\n    }\n    get isAdditive() {\n      var _this$globalUser3;\n      return (_this$globalUser3 = this.globalUser) === null || _this$globalUser3 === void 0 ? void 0 : _this$globalUser3.isAdditive;\n    }\n    get showCreateAction() {\n      return this.isPartnerAdmin || this.isPartnerManager || this.isAdditive;\n    }\n    get userImagePath() {\n      var _this$globalUser4;\n      return ((_this$globalUser4 = this.globalUser) === null || _this$globalUser4 === void 0 ? void 0 : _this$globalUser4.imagePath) || 'images/placeholder/placeholder-user.svg';\n    }\n    get helpUrl() {\n      var _this$uiLocale;\n      const locale = ((_this$uiLocale = this.uiLocale) === null || _this$uiLocale === void 0 ? void 0 : _this$uiLocale.locale) || 'de';\n      return `https://knowledge.additive.eu/${locale}/knowledge`;\n    }\n    get applicationRoutes() {\n      const organizationUser = this.organizationUser;\n      const isSupport = organizationUser && organizationUser.isSupport;\n      const isSuperAdmin = organizationUser && organizationUser.isSuperAdmin;\n      if (isSupport || isSuperAdmin) {\n        return instanceRoutes;\n      }\n      const isPartnerOrg = this.currentOrganization && this.currentOrganization.partnerSlug;\n\n      /**\n       * inside a partners suborganization the apps-entry is only visible for\n       * the partner and the billings entry is hidden for both, the user and\n       * the partner\n       */\n      return instanceRoutes.filter(route => {\n        if (isPartnerOrg) {\n          // in case it is a suborganisation we always hide the billings entry\n          // and show the apps only to member of the partner org that manages this org\n          if (route.key === 'billings') {\n            return false;\n          }\n        }\n        return route.requiredRole ? organizationUser && (0, _rolesMap.hasAccess)(route.requiredRole, organizationUser.role) : true;\n      });\n    }\n    get isMeRoute() {\n      var _this$router;\n      return (_this$router = this.router) === null || _this$router === void 0 || (_this$router = _this$router.currentRouteName) === null || _this$router === void 0 ? void 0 : _this$router.startsWith('instances.me');\n    }\n    onInsert() {\n      if (!_environment.default.APP.posthogPublicToken) return;\n      const sensitiveUrlPatterns = [/[?&]token=/, /[?&]callback=/, /[?&]code=/, /[?&]email_verification_code=/, /[?&]challenge_id=/, /[?&]profiles=/, /[?&]auth_code=/];\n      _posthogJs.default.init(_environment.default.APP.posthogPublicToken, {\n        api_host: _environment.default.APP.posthogPublicHost,\n        cross_subdomain_cookie: true,\n        persistence: 'localStorage+cookie',\n        defaults: '2026-01-30',\n        loaded: posthog => {\n          posthog === null || posthog === void 0 || posthog.register({\n            app: 'Account'\n          });\n        },\n        before_send: event => {\n          var _event$properties, _event$properties2;\n          const url = (event === null || event === void 0 || (_event$properties = event.properties) === null || _event$properties === void 0 ? void 0 : _event$properties['$current_url']) || (event === null || event === void 0 || (_event$properties2 = event.properties) === null || _event$properties2 === void 0 ? void 0 : _event$properties2['$url']) || '';\n          if (sensitiveUrlPatterns.some(pattern => pattern.test(url))) {\n            return null;\n          }\n          return event;\n        },\n        autocapture: {\n          url_ignorelist: sensitiveUrlPatterns\n        }\n      });\n    }\n\n    /**\n     * Handles the transition to Instance routes, apps and users are removed from the store\n     * and the new organization of the user is set.\n     * If the user tries to navigate to the organisation he is already he is not redirected.\n     *\n     * @param {Object} organization\n     */\n    transitionToOrganizationRoute(organization) {\n      const currentOrg = this.currentOrganization;\n      const route = this.router && this.router.currentRouteName;\n      if ((currentOrg && currentOrg.id) !== organization.id || route.startsWith('instances.me')) {\n        this.currentUser.currentOrganization = organization;\n        this.transitionToRoute('instances.instance', organization);\n        const store = this.store;\n        store.unloadAll('user');\n        store.unloadAll('app');\n        store.unloadAll('setting');\n        store.unloadAll('corporate-design');\n        store.unloadAll('room-count');\n        store.unloadAll('closing-time');\n        store.unloadAll('email-template');\n\n        // reset orgUser\n        this.currentUser.user = null;\n        this.currentUser.loadUser();\n      }\n    }\n    createNewOrganization() {\n      this.transitionToRoute('instances.create');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiState\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"onInsert\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onInsert\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToOrganizationRoute\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToOrganizationRoute\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"createNewOrganization\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createNewOrganization\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/auth\", [\"exports\", \"@ember/controller\", \"@ember/service\"], function (_exports, _controller, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let AuthController = _exports.default = (_class = class AuthController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor, this);\n    }\n    get currentLocale() {\n      var _this$uiLocale;\n      return ((_this$uiLocale = this.uiLocale) === null || _this$uiLocale === void 0 ? void 0 : _this$uiLocale.locale) || 'de';\n    }\n    get privacyUrl() {\n      if (this.currentLocale === 'de') {\n        return 'https://www.additive.eu/rechtliches/datenschutz';\n      }\n      return 'https://www.additive.eu/en/legal/privacy-policy';\n    }\n    get imprintUrl() {\n      if (this.currentLocale === 'de') {\n        return 'https://www.additive.eu/rechtliches/impressum';\n      }\n      return 'https://www.additive.eu/en/legal/imprint';\n    }\n    get generalTermsUrl() {\n      if (this.currentLocale === 'de') {\n        return 'https://www.additive.eu/rechtliches/agb';\n      }\n      return 'https://www.additive.eu/en/legal/general-terms-and-conditions';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/controllers/auth/callback\", [\"exports\", \"@additive-apps/auth/controllers/auth/callback\"], function (_exports, _callback) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _callback.default;\n    }\n  });\n});","define(\"additive-account/controllers/auth/login\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"fetch\", \"ember-concurrency\", \"ember-changeset\", \"additive-account/validations/auth\", \"ember-changeset-validations\"], function (_exports, _environment, _controller, _service, _object, _fetch, _emberConcurrency, _emberChangeset, _auth, _emberChangesetValidations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    session: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    queryParams: ['errors'],\n    errors: null,\n    loginChangeset: null,\n    resetPasswordChangeset: null,\n    loginFormSubmitUrl: `${_environment.default.APP.apiBaseHost}/auth/login`,\n    googleRedirectUrl: `${_environment.default.APP.apiBaseHost}/auth/google/redirect`,\n    isAdditiveEmail: (0, _object.computed)('loginChangeset.email', {\n      get() {\n        const email = this.loginChangeset && this.loginChangeset.get('email');\n        return email && email.endsWith('@additive.eu');\n      }\n    }),\n    forceShowGoogle: (0, _object.computed)('apiErrors.email', {\n      get() {\n        var _this$apiErrors;\n        return (_this$apiErrors = this.apiErrors) === null || _this$apiErrors === void 0 || (_this$apiErrors = _this$apiErrors.email) === null || _this$apiErrors === void 0 ? void 0 : _this$apiErrors.includes('auth.oauth_only');\n      }\n    }),\n    showGoogleLogin: (0, _object.computed)('apiErrors.email', 'forceShowGoogle', 'isAdditiveEmail', {\n      get() {\n        var _this$apiErrors2;\n        if ((_this$apiErrors2 = this.apiErrors) !== null && _this$apiErrors2 !== void 0 && (_this$apiErrors2 = _this$apiErrors2.email) !== null && _this$apiErrors2 !== void 0 && _this$apiErrors2.includes('auth.google_login_requires_existing_account')) {\n          return false;\n        }\n        return this.forceShowGoogle || this.isAdditiveEmail;\n      }\n    }),\n    hideLoginButton: (0, _object.computed)('forceShowGoogle', {\n      get() {\n        return this.forceShowGoogle;\n      }\n    }),\n    resetPasswordDialog() {\n      (0, _object.setProperties)(this, {\n        isResetPasswordSend: false,\n        isForgotPasswordDialog: false,\n        isResetting: false,\n        resetPasswordChangeset: null\n      });\n    },\n    /**\n     * Requests an email in order to reset a given emails password.\n     *\n     * The request behaves as successfull in either case, success or not.\n     * Reason for this is to avoid show unknown user if the entered email\n     * exists or not.\n     */\n    resetPassword: (0, _emberConcurrency.task)(function* () {\n      try {\n        const changeset = this.resetPasswordChangeset;\n        yield changeset.validate();\n\n        // show form errors\n        (0, _object.set)(this, 'isResetPasswordTouched', true);\n        if (changeset.isInvalid) {\n          return;\n        }\n        const response = yield (0, _fetch.default)(`${_environment.default.APP.apiBaseHost}/auth/password/email`, {\n          method: 'POST',\n          body: JSON.stringify({\n            email: changeset.get('email')\n          }),\n          headers: {\n            Accept: 'application/json',\n            'Content-type': 'application/json'\n          }\n        });\n        if (!response.ok) {\n          if (response.status === 422) {\n            var _errors$email;\n            const {\n              errors\n            } = yield response.json();\n            if (errors !== null && errors !== void 0 && (_errors$email = errors.email) !== null && _errors$email !== void 0 && _errors$email.includes('auth.oauth_only')) {\n              window.location.assign('/auth/login?errors[]=email:auth.oauth_only');\n              return;\n            }\n            changeset.addError('email', this.intl.t('global.errors.apiQueryErrors.validation.email'));\n            return;\n          }\n          throw new Error();\n        }\n\n        // show success message inside dialog\n        (0, _object.set)(this, 'isResetPasswordSend', true);\n      } catch (error) {\n        this.uiDialog.showError();\n      }\n    }).drop(),\n    actions: {\n      openForgotPasswordDialog() {\n        const validation = (0, _auth.emailValidation)(this.intl);\n        const changeset = new _emberChangeset.default({\n          email: ''\n        }, (0, _emberChangesetValidations.default)(validation), validation);\n        (0, _object.set)(this, 'resetPasswordChangeset', changeset);\n        (0, _object.set)(this, 'isForgotPasswordDialog', true);\n      },\n      resetPasswordDialog() {\n        this.resetPasswordDialog();\n      }\n    }\n  });\n});","define(\"additive-account/controllers/auth/login/reset\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"ember-changeset\", \"additive-account/validations/auth\", \"ember-changeset-validations\"], function (_exports, _environment, _controller, _object, _emberChangeset, _auth, _emberChangesetValidations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    queryParams: ['token', 'reset-errors', 'update_password'],\n    errors: null,\n    token: null,\n    update_password: null,\n    init() {\n      this._super(...arguments);\n      this.changeset = new _emberChangeset.default({\n        email: '',\n        password: '',\n        passwordConfirmation: '',\n        token: ''\n      }, (0, _emberChangesetValidations.default)(_auth.resetPasswordValidation), _auth.resetPasswordValidation);\n      (0, _object.set)(this, 'resetFormSubmitUrl', `${_environment.default.APP.apiBaseHost}/auth/password/reset`);\n    },\n    actions: {\n      sendReset() {\n        return this.changeset.validate().then(() => {\n          if (this.changeset.isValid) {\n            (0, _object.set)(this, 'isSubmitting', true);\n            // We have to simulate a submit-button click to get onSubmit events fired properly\n            // currently only used in tests, but to be correct, we should do it so to fire onSubmit events\n            document.getElementById('reset-form-submit').click();\n          }\n          (0, _object.set)(this, 'isFormTouched', true);\n        });\n      },\n      closePasswordReset() {\n        this.transitionToRoute('auth.login', {\n          queryParams: {\n            errors: null\n          }\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/auth/mfa-setup\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-concurrency\", \"qrcode\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/two-factor-authentication\"], function (_exports, _environment, _controller, _tracking, _object, _service, _emberConcurrency, _qrcode, _emberChangeset, _emberChangesetValidations, _twoFactorAuthentication) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let AuthMfaController = _exports.default = (_dec = (0, _emberConcurrency.task)(function* () {\n    try {\n      const response = yield fetch(`${_environment.default.APP.apiBaseHost}/auth/mfa/setup`, {\n        method: 'POST',\n        body: JSON.stringify({\n          challenge_id: this.challenge_id\n        }),\n        headers: {\n          Accept: 'application/json',\n          'Content-type': 'application/json'\n        }\n      });\n      const {\n        totp\n      } = yield response.json();\n      this.qrDataUrl = yield _qrcode.default.toDataURL(totp.qr, {\n        width: 120\n      });\n      this.secretCode = this.formatSecret(totp.secret);\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }), _dec2 = (0, _emberConcurrency.task)(function* () {\n    this.errorMessage = null;\n    this.changeset.execute();\n    yield this.changeset.validate('code');\n    if (this.changeset.get('isInvalid')) {\n      return;\n    }\n    try {\n      const response = yield fetch(`${_environment.default.APP.apiBaseHost}/auth/mfa/setup/verify`, {\n        method: 'POST',\n        body: JSON.stringify({\n          code: this.changeset.get('code'),\n          challenge_id: this.challenge_id\n        }),\n        headers: {\n          Accept: 'application/json',\n          'Content-type': 'application/json'\n        }\n      });\n      if (!response || !response.ok) {\n        const errorJson = yield response.json();\n        if (errorJson !== null && errorJson !== void 0 && errorJson.message) {\n          throw new Error(errorJson === null || errorJson === void 0 ? void 0 : errorJson.message);\n        }\n      }\n    } catch (e) {\n      if ((e === null || e === void 0 ? void 0 : e.message) === 'invalid_code') {\n        this.errorMessage = this.intl.t('auth.mfaSetup.confirmCode.codeInvalid');\n        return;\n      }\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description'),\n        duration: 2000\n      });\n    }\n  }), _class = class AuthMfaController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n      _defineProperty(this, \"queryParams\", ['challenge_id', 'error']);\n      _initializerDefineProperty(this, \"challenge_id\", _descriptor4, this);\n      _initializerDefineProperty(this, \"error\", _descriptor5, this);\n      _initializerDefineProperty(this, \"qrDataUrl\", _descriptor6, this);\n      _initializerDefineProperty(this, \"showCodeInput\", _descriptor7, this);\n      _initializerDefineProperty(this, \"changeset\", _descriptor8, this);\n      _initializerDefineProperty(this, \"secretCode\", _descriptor9, this);\n      _initializerDefineProperty(this, \"errorMessage\", _descriptor10, this);\n      _initializerDefineProperty(this, \"showInfo\", _descriptor11, this);\n      _initializerDefineProperty(this, \"fetchMFAData\", _descriptor12, this);\n      _initializerDefineProperty(this, \"validateCode\", _descriptor13, this);\n    }\n    get submitUrl() {\n      return `${_environment.default.APP.apiBaseHost}/auth/mfa/setup/verify`;\n    }\n    formatSecret(secret) {\n      var _secret$match$join, _secret$match;\n      return (_secret$match$join = (_secret$match = secret.match(/.{1,4}/g)) === null || _secret$match === void 0 ? void 0 : _secret$match.join(' ')) !== null && _secret$match$join !== void 0 ? _secret$match$join : secret;\n    }\n    _setup() {\n      const validation = (0, _twoFactorAuthentication.codeValidation)(this.intl);\n      this.changeset = new _emberChangeset.default({\n        code: null\n      }, (0, _emberChangesetValidations.default)(validation));\n      if (this.error) {\n        this.showCodeInput = true;\n        this.showInfo = false;\n        if (this.error === 'invalid_code') {\n          this.changeset.pushErrors('code', this.intl.t('auth.mfaSetup.confirmCode.codeInvalid'));\n        }\n        return;\n      }\n      this.fetchMFAData.perform();\n    }\n    async _continue() {\n      if (!this.showCodeInput) {\n        this.showCodeInput = true;\n        return;\n      }\n      await this.validateCode.perform();\n    }\n    _back() {\n      if (this.showCodeInput) {\n        this.showCodeInput = false;\n        return;\n      }\n      if (!this.showInfo) {\n        this.showInfo = true;\n      }\n    }\n    redirectToLogin() {\n      this.router.transitionTo('auth.login');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"challenge_id\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"error\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"qrDataUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showCodeInput\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"secretCode\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"errorMessage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"showInfo\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return true;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"fetchMFAData\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"validateCode\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_setup\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_continue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_continue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_back\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_back\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"redirectToLogin\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"redirectToLogin\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/auth/mfa\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _environment, _controller, _object, _service, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let AuthMfaController = _exports.default = (_class = class AuthMfaController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _defineProperty(this, \"queryParams\", ['error']);\n      _initializerDefineProperty(this, \"error\", _descriptor3, this);\n      _initializerDefineProperty(this, \"changeset\", _descriptor4, this);\n      _initializerDefineProperty(this, \"isFormTouched\", _descriptor5, this);\n    }\n    get helpUrl() {\n      var _this$uiLocale;\n      const locale = ((_this$uiLocale = this.uiLocale) === null || _this$uiLocale === void 0 ? void 0 : _this$uiLocale.locale) || 'de';\n      if (locale === 'de') {\n        return 'https://knowledge.additive.eu/de/knowledge/wie-stelle-ich-den-zugriff-auf-mein-konto-wiederher';\n      } else {\n        return 'https://knowledge.additive.eu/en/knowledge/how-can-i-restore-access-to-my-account-2fa';\n      }\n    }\n    get submitUrl() {\n      return `${_environment.default.APP.apiBaseHost}/auth/mfa/verify`;\n    }\n    redirectToLogin() {\n      this.router.transitionTo('auth.login');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"error\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"changeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"isFormTouched\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"redirectToLogin\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"redirectToLogin\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/auth/signup\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"@ember/string\", \"fetch\", \"ember-concurrency\", \"rsvp\"], function (_exports, _environment, _controller, _object, _service, _string, _fetch, _emberConcurrency, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Possible query-params:\n   *  - token: inivtationToken\n   */\n  var _default = _exports.default = _controller.default.extend({\n    intl: (0, _service.inject)(),\n    uiLocale: (0, _service.inject)(),\n    queryParams: ['token'],\n    errors: null,\n    token: null,\n    googleSignupUrl: (0, _object.computed)('token', function () {\n      const base = `${_environment.default.APP.apiBaseHost}/auth/google/redirect`;\n      return this.token ? `${base}?invite_token=${this.token}` : base;\n    }),\n    isAdditiveEmail: (0, _object.computed)('changeset.email', function () {\n      const email = this.changeset && this.changeset.get('email');\n      return email && email.endsWith('@additive.eu');\n    }),\n    isLoading: _object.computed.alias('signUpUser.isRunning'),\n    checkInvite: (0, _emberConcurrency.task)(function* (token) {\n      return yield (0, _fetch.default)(`${_environment.default.APP.apiBaseHost}/api/invites/${token}`, {\n        headers: {\n          Accept: 'application/json',\n          'Content-type': 'application/json'\n        }\n      }).then(response => response.json()).then(response => {\n        if (response && response.email) {\n          const {\n            email,\n            inviterFullName,\n            organizationName,\n            organizationId,\n            language\n          } = response;\n          (0, _object.set)(this, 'inviter', inviterFullName);\n          (0, _object.set)(this, 'organizationName', organizationName);\n          (0, _object.set)(this, 'organizationId', organizationId);\n          language && this.uiLocale.setLocale(language);\n          this.changeset.set('email', email);\n          // changeset has to be persisted in order to prefille input\n          this.changeset.save();\n          return (0, _rsvp.resolve)({\n            email,\n            inviterFullName,\n            organizationName\n          });\n        }\n        return (0, _rsvp.reject)(response);\n      });\n    }),\n    /**\n     * User signup\n     * 204 - success\n     * 422 - validation error\n     */\n    signUpUser: (0, _emberConcurrency.task)(function* () {\n      const changeset = this.changeset;\n      const email = changeset.get('email');\n      const body = {\n        email,\n        givenName: changeset.get('givenName'),\n        familyName: changeset.get('familyName'),\n        password: changeset.get('password'),\n        language: this.uiLocale.locale\n      };\n      // on success:\n      // clean up some pending states and redirect to confirm\n      try {\n        const response = yield (0, _fetch.default)(`${_environment.default.APP.apiBaseHost}/auth/signup/${this.token}`, {\n          method: 'POST',\n          body: JSON.stringify(body),\n          headers: {\n            Accept: 'application/json',\n            'Content-type': 'application/json'\n          }\n        });\n        if (!response.ok) {\n          const {\n            errors\n          } = yield response.json();\n          const intl = this.intl;\n          // TODO: push to form\n          Object.keys(errors).forEach(key => {\n            const keyCamelized = (0, _string.camelize)(key);\n            if (key === 'password') {\n              Object.keys(errors[key]).forEach(passwordErrorKey => {\n                changeset.addError(keyCamelized, intl.t(`global.errors.apiQueryErrors.${errors[key][passwordErrorKey]}`));\n              });\n            } else {\n              changeset.pushError(keyCamelized, intl.t(`global.errors.apiQueryErrors.${errors[key]}`));\n            }\n            (0, _object.set)(this, 'isFormTouched', true);\n          });\n        } else {\n          // TODO\n          // signup was successfull\n          if (this.token) {\n            const organizationId = this.organizationId;\n            (0, _object.set)(this, 'token', null);\n            // Transition to organization screen\n            this.transitionToRoute('instances.instance', organizationId);\n          } else {\n            this.transitionToRoute('confirm', {\n              queryParams: {\n                signup_email: email\n              }\n            });\n          }\n        }\n      } catch (error) {\n        // unexpected error\n      }\n    }),\n    actions: {\n      signUp() {\n        const changeset = this.changeset;\n        return changeset.validate().then(() => {\n          if (changeset.get('isValid')) {\n            return this.signUpUser.perform();\n          }\n          (0, _object.set)(this, 'isFormTouched', true);\n          return (0, _rsvp.resolve)();\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/confirm\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"fetch\", \"ember-concurrency\"], function (_exports, _environment, _controller, _object, _service, _fetch, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Possible query-params:\n   * @param email_verification_code: Signup verification token\n   * @param app_id: The id of the app a user is interested in\n   * @param plan_name: the plan a user is interested in, is used in conjunction with the app_id to\n   *  preselect an app when accessing the create route.\n   * @param token: inivite-token, in case a user gets invited we check if the provided token\n   *  is valid, if yes and the user does not exist we redirect him to the signup-form, if he\n   *  already exists we ask him to accept the invite\n   */\n  var _default = _exports.default = _controller.default.extend({\n    intl: (0, _service.inject)(),\n    uiLocale: (0, _service.inject)(),\n    uiPaths: (0, _service.inject)(),\n    authenticatedFetch: (0, _service.inject)(),\n    session: (0, _service.inject)(),\n    queryParams: ['signup_email', 'email_verification_code', 'app_id', 'plan_name', 'token'],\n    signup_email: null,\n    app_id: null,\n    plan_name: null,\n    email_verification_code: null,\n    token: null,\n    // used to populate the view depending on given qPs\n    viewContent: null,\n    /**\n     * Validate email_verification-code\n     * While task is running we should display a message\n     *\n     * @method POST: /verification/<email_verification_code>\n     * @param verificationCode: verification token\n     * @returns {204}, token is valid\n     * @returns {wrong_email_verification_code}, provided verification code is invalid\n     * @return {user_already_verified}, the token has already been used\n     */\n    confirmUser: (0, _emberConcurrency.task)(function* (verificationCode) {\n      const url = `${_environment.default.APP.apiBaseHost}/auth/verification/${verificationCode}`;\n      const options = {\n        method: 'POST',\n        headers: {\n          Accept: 'application/json',\n          'Content-type': 'application/json'\n        }\n      };\n      const response = yield (0, _fetch.default)(url, options);\n\n      /**\n       * Possible error cases:\n       * - the provided verification-code doesn't exist or is not valid\n       * - the verification-code has already been used.\n       *\n       * in both cases we pretend the verification was succesfull and redirect to me.\n       * We redirect to me, so we can force an api login-redirect\n       */\n      if (!response.ok) {\n        // reset query-params, show \"go to login\" button\n        this.transitionToRoute('instances.me');\n      } else {\n        // if the email has been verified successfully we redirect to create with query-param\n        const app_id = this.app_id,\n          plan_name = this.plan_name;\n        this.transitionToRoute('instances.create', {\n          queryParams: {\n            app_id,\n            plan_name\n          }\n        });\n      }\n    }).drop(),\n    /**\n     * Resend invitation-email\n     *\n     * For privacy reason the API returns a 204 response on successfull resend and if the\n     * provided email does not exist.\n     *\n     * @method POST /verification/resend\n     * @returns {204}, invite token has been resend\n     * @returns {204}, provided email does not exist\n     * @returns {user_already_verified}, the user has already been verified\n     */\n    resendConfirmationEmail: (0, _emberConcurrency.task)(function* () {\n      const verificationEmail = this.emails;\n      const url = `${_environment.default.APP.apiBaseHost}/auth/verification/resend`;\n      const options = {\n        method: 'POST',\n        body: JSON.stringify({\n          email: verificationEmail\n        }),\n        headers: {\n          Accept: 'application/json',\n          'Content-type': 'application/json'\n        }\n      };\n      const intl = this.intl;\n      const response = yield (0, _fetch.default)(url, options);\n      if (!response.ok) {\n        // user_already_verified\n        (0, _object.set)(this, 'viewContent', {\n          illustration: 'error-dark',\n          title: intl.t('confirm.alreadyVerified.title'),\n          description: intl.t('confirm.alreadyVerified.description'),\n          buttonRoute: 'auth.login',\n          actionLabel: intl.t('confirm.alreadyVerified.actionLabel')\n        });\n      } else {\n        // a non existing email and a successful resend have the same response -> show success message\n        (0, _object.set)(this, 'viewContent', {\n          illustration: 'invite-white',\n          title: intl.t('confirm.confirmationError.title'),\n          description: intl.t('confirm.confirmationError.description'),\n          buttonRoute: 'auth.login',\n          actionLabel: intl.t('confirm.confirmationError.actionLabel')\n        });\n      }\n    }).drop(),\n    /**\n     * Checks a given invite-token existence.\n     *\n     * @method POST /invites/<token>\n     * @param token, the token to be verified\n     */\n    checkInvitationToken: (0, _emberConcurrency.task)(function* (token) {\n      const url = `${_environment.default.APP.apiBaseHost}/api/invites/${token}`;\n      const options = {\n        headers: {\n          Accept: 'application/json',\n          'Content-type': 'application/json'\n        }\n      };\n      const intl = this.intl;\n      const response = yield (0, _fetch.default)(url, options);\n      if (!response.ok) {\n        // error (invitation token could not be found)\n        // the message we show the user should not say that the token was invalid\n        (0, _object.set)(this, 'viewContent', {\n          illustration: 'error-dark',\n          title: intl.t('confirm.inviteError.title'),\n          description: intl.t('confirm.inviteError.description', {\n            htmlSafe: true\n          }),\n          buttonRoute: 'auth.login',\n          actionLabel: intl.t('confirm.inviteError.actionLabel')\n        });\n      } else {\n        const {\n          newUser,\n          email,\n          inviterFullName,\n          organizationName,\n          language\n        } = yield response.json();\n        if (this.session.isAuthenticated) {\n          const url = this.uiPaths.pathsByRouteName('instances.me').api().url;\n          const userResponse = yield this.authenticatedFetch.fetch(url);\n          if (userResponse.ok) {\n            const userJson = yield userResponse.json();\n            if (userJson.user.email !== email) {\n              (0, _object.set)(this, 'viewContent', {\n                illustration: 'error-dark',\n                title: intl.t('confirm.alreadyLoggedIn.title'),\n                description: intl.t('confirm.alreadyLoggedIn.description'),\n                actionLabel: intl.t('confirm.alreadyLoggedIn.actionLabel'),\n                isPendingInvite: false,\n                isWrongUser: true\n              });\n              return;\n            }\n          }\n        }\n        yield language && this.uiLocale.setLocale(language);\n        if (newUser) {\n          this.transitionToRoute('auth.signup', {\n            queryParams: {\n              token\n            }\n          });\n        } else {\n          // If the user is already logged in, ask if he wants to accept the invite and redirect to org\n          // in case he is not logged in redirect to org, so the authorize call forces a login and redirects\n          // the user with the provided token to the org detail.\n          (0, _object.set)(this, 'viewContent', {\n            illustration: 'invite-white',\n            title: intl.t('confirm.pendingInvite.title'),\n            description: intl.t('confirm.pendingInvite.description', {\n              inviter: inviterFullName,\n              organization: organizationName,\n              htmlSafe: true\n            }),\n            actionLabel: intl.t('confirm.pendingInvite.actionLabel'),\n            isPendingInvite: true\n          });\n        }\n      }\n    }),\n    actions: {\n      goToLogin() {\n        this.transitionToRoute('auth.login');\n      },\n      acceptInvitation() {\n        const token = this.token;\n        this.transitionToRoute('instances.me', {\n          queryParams: {\n            token\n          }\n        });\n      },\n      resendConfirmationEmail() {\n        return this.resendConfirmationEmail.perform();\n      },\n      logout() {\n        this.session.invalidate();\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"additive-account/mixins/global-user\"], function (_exports, _controller, _service, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesController = _exports.default = (_class = class InstancesController extends _controller.default.extend(_globalUser.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"session\", _descriptor, this);\n    }\n    get pusherChannelName() {\n      if (this.globalUser) {\n        return `private-user.${this.globalUser.id}`;\n      }\n      return null;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/controllers/instances/create\", [\"exports\", \"additive-account/config/environment\", \"additive-account/utils/organization-utils\", \"additive-account/mixins/global-user\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"ember-concurrency\", \"rsvp\"], function (_exports, _environment, _organizationUtils, _globalUser, _controller, _service, _object, _emberConcurrency, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiLocale: (0, _service.inject)(),\n    queryParams: ['app_id', 'plan_name'],\n    app_id: null,\n    plan_name: null,\n    partnerOptions: null,\n    currentNavIndex: 0,\n    changeset: null,\n    isAppSelectionOpen: false,\n    // prop that opens app-selection dialog\n\n    timeZoneOptions: null,\n    isChangesetInvalid: _object.computed.alias('changeset.isInvalid'),\n    isOverviewDisabled: _object.computed.or('isChangesetInvalid', 'createOrganizationTask.isRunning'),\n    isPartner: _object.computed.bool('globalUser.partnerSlug'),\n    init() {\n      this._super(...arguments);\n      this.fetchPartners.perform();\n      this._fetchTimeZones.perform();\n    },\n    validateSlug: (0, _emberConcurrency.task)(function* (slug) {\n      (0, _object.set)(this, 'isFormTouched', true);\n      const changeset = this.changeset;\n      yield changeset.validate('slug');\n      if (!changeset.get('error.slug')) {\n        yield (0, _emberConcurrency.timeout)(350);\n        const {\n          ok,\n          message\n        } = yield _organizationUtils.validateOrganization.slugUniqueness.perform(slug, this);\n        if (ok) {\n          (0, _object.set)(this, 'slugState', 'success');\n        } else {\n          if (message === 'not_unique') {\n            changeset.addError('slug', this.intl.t('global.errors.apiQueryErrors.validation.unique'));\n          }\n          (0, _object.set)(this, 'slugState', 'error');\n        }\n      } else {\n        (0, _object.set)(this, 'slugState', 'error');\n      }\n    }).restartable(),\n    fetchPartners: (0, _emberConcurrency.task)(function* () {\n      const url = `${_environment.default.APP.apiBaseHost}/api/partners`;\n      try {\n        const response = yield this.authenticatedFetch.fetch(url);\n        if (!response || !response.ok) {\n          return (0, _rsvp.reject)();\n        }\n        const {\n          partners\n        } = yield response.json();\n        (0, _object.set)(this, 'partnerOptions', partners);\n      } catch (error) {\n        this.uiDialog.showError();\n      }\n    }),\n    _fetchTimeZones: (0, _emberConcurrency.task)(function* () {\n      try {\n        const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/time-zones`);\n        if (!response || !response.ok) {\n          throw new Error('[TIME-ZONES] Error in response');\n        }\n        const data = yield response.json();\n        if (data !== null && data !== void 0 && data.length) {\n          this._timeZoneOptions = data.map(tz => ({\n            value: tz,\n            name: tz\n          }));\n        }\n      } catch (error) {\n        // Handle error silently, keep empty array\n      }\n    }),\n    createOrganizationTask: (0, _emberConcurrency.task)(function* (data) {\n      const request = this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations`, {\n        method: 'post'\n      }, data);\n\n      // saves organization\n      const {\n        organization,\n        errors\n      } = yield request.then(response => response.json());\n      const intl = this.intl;\n      if (errors) {\n        if (errors.website) {\n          this.uiDialog.showAlert(intl.t('create.appSelection.errors.uniqueWebsite.title'), intl.t('create.appSelection.errors.uniqueWebsite.description'));\n        } else if (errors.email) {\n          this.uiDialog.showAlert(intl.t('create.appSelection.errors.invalidEmail.title'), intl.t('create.appSelection.errors.invalidEmail.description'));\n        } else {\n          // We should consider reacting to wrong_app_id separately\n          // show error dialog\n          this.uiDialog.showError();\n        }\n      } else {\n        // in case the org has successfully been created, the user gets redirected to the organization account\n        this.transitionToRoute('instances.instance', organization.id);\n        this.clearData();\n      }\n    }).drop(),\n    // This adds the given app+plan to the cart\n    addApp(appId, appKey, planName, amount) {\n      const changeset = this.changeset;\n      const appPlans = changeset.get('appPlans') || [];\n\n      // keep appPlans-array changes immutable\n      const appPlansDraft = appPlans.filter(el => el.appId !== appId);\n\n      // only existing roles get serialized\n      appPlansDraft.push({\n        appId,\n        appKey,\n        planName,\n        amount\n      });\n      changeset.set('appPlans', appPlansDraft);\n    },\n    clearData() {\n      // remove the model dummy from store\n      this.model.deleteRecord();\n      // remove changeset from memory\n      (0, _object.set)(this, 'changeset', null);\n      // reset initial controller state\n      (0, _object.set)(this, 'currentNavIndex', 0);\n      (0, _object.set)(this, 'isAppSelectionOpen', false);\n    },\n    actions: {\n      /**\n       * Check if given org.-data is valid and call creation-task if so.\n       * Otherwise we trigger the whole form-validation which handles\n       * possible errors properly.\n       */\n      createOrganisation() {\n        const changeset = this.changeset;\n        return changeset.validate().then(() => {\n          if (changeset.get('isValid')) {\n            var _organization$appPlan;\n            // remove the amount form the app-plans before sending the payload\n            const appPlans = changeset.get('appPlans').map(el => {\n              return {\n                appId: el.appId,\n                planName: el.planName\n              };\n            });\n            let organization = {\n              name: changeset.get('name'),\n              website: changeset.get('website'),\n              email: changeset.get('email'),\n              slug: changeset.get('slug'),\n              appPlans,\n              language: this.uiLocale.locale,\n              isPartner: changeset.get('isPartner'),\n              partnerId: changeset.get('partnerId')\n            };\n            if (changeset.get('phone')) {\n              organization['phone'] = changeset.get('phone');\n            }\n            if (changeset.get('timeZone')) {\n              organization['timeZone'] = changeset.get('timeZone');\n            }\n            if (((_organization$appPlan = organization.appPlans) === null || _organization$appPlan === void 0 ? void 0 : _organization$appPlan.length) === 0 && organization.isPartner) {\n              delete organization.appPlans;\n            }\n            return this.createOrganizationTask.perform(organization);\n          } else {\n            // in case the org is not valid, check actual reason\n            return this.send('validate');\n          }\n        });\n      },\n      addApp(appId, appKey, planName, amount) {\n        this.addApp(appId, appKey, planName, amount);\n      },\n      setAsPartner(value) {\n        this.changeset.set('partnerId', null);\n        this.changeset.set('isPartner', value);\n      },\n      setPartner(partner) {\n        const partnerId = typeof partner == 'object' ? partner.id : partner;\n        this.changeset.set('partnerId', partnerId);\n      },\n      removeApp(appId) {\n        const changeset = this.changeset;\n        const appPlans = changeset.get('appPlans') || [];\n\n        // keep appPlans-array changes immutable\n        const appPlansDraft = appPlans.filter(el => el.appId !== appId);\n        changeset.set('appPlans', appPlansDraft);\n      },\n      generateSlug(value) {\n        // check if slug should be generated from website\n        if (this.isSlugTouched) {\n          return;\n        }\n        // generate slug based on website value\n        const slug = (0, _organizationUtils.sluggifyWebsite)(value);\n        // set slug to new value\n        this.changeset.set('slug', slug);\n        this.validateSlug.perform(slug);\n      },\n      validate() {\n        const changeset = this.changeset;\n        return changeset.validate().then(() => {\n          /* The validation of the changeset overwrites the error \"unique\" of the slug.\n           * Therefore we have to check if the slug is correct.\n           */\n          if (this.slugState === 'error' && changeset.get('error').slug === undefined) {\n            changeset.addError('slug', this.intl.t('global.errors.apiQueryErrors.validation.unique'));\n          }\n          const errors = changeset.get('errors');\n          if (this.validateSlug && this.validateSlug.isIdle && changeset.get('isValid')) {\n            return (0, _rsvp.resolve)();\n          } else if (errors && errors.length === 1 && errors[0].key === 'appPlans') {\n            const intl = this.intl;\n            // we use the confirm function as it's currently the only one that works properly\n            this.uiDialog.showConfirm(intl.t('create.appSelection.errors.noAppPlansSelected.title'), intl.t('create.appSelection.errors.noAppPlansSelected.description'), () => (0, _object.set)(this, 'isAppSelectionOpen', true), intl.t('create.appSelection.errors.noAppPlansSelected.action'));\n            return (0, _rsvp.reject)();\n          } else {\n            (0, _object.set)(this, 'isFormTouched', true);\n            return (0, _rsvp.reject)();\n          }\n        });\n      },\n      nextPage(nextIndex) {\n        (0, _object.set)(this, 'currentNavIndex', nextIndex);\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"additive-account/utils/constants\", \"@glimmer/tracking\", \"@ember/object\"], function (_exports, _controller, _service, _constants, _tracking, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesInstanceController = _exports.default = (_class = class InstancesInstanceController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      _defineProperty(this, \"queryParams\", ['onboarding']);\n      _initializerDefineProperty(this, \"onboarding\", _descriptor2, this);\n    }\n    get showOnboarding() {\n      return this.onboarding && window.innerWidth > 768;\n    }\n    get onboardingOptions() {\n      return (0, _constants.getOnboarding)(this.intl);\n    }\n\n    // TODO: move to mixin or service when moving to ui-addon\n    finishOnboarding() {\n      this.onboarding = null;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"onboarding\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"finishOnboarding\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"finishOnboarding\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/apps\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"rsvp\", \"ember-concurrency\", \"additive-account/mixins/global-user\", \"@additive-apps/ui/utils/app-utils\", \"additive-account/utils/app-management\"], function (_exports, _environment, _controller, _object, _service, _rsvp, _emberConcurrency, _globalUser, _appUtils, _appManagement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const RIGHT_SIDENAV = 'apps-detail-sidenav';\n  var _default = _exports.default = _controller.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiState: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    /**\n     * All apps of the organization\n     *\n     * @property apps\n     * @type {Object[]}\n     */\n    apps: undefined,\n    /**\n     * All available apps containing all the possible plans\n     *\n     * @property availableApps\n     * @type {Object[]}\n     */\n    availableApps: undefined,\n    /**\n     * All that the organization does not have\n     *\n     * @property addableApps\n     * @type {Object[]}\n     */\n    addableApps: undefined,\n    /**\n     * Sets the duration of the toast that is displayed\n     *\n     * @property toastDuration\n     * @type {Integer}\n     */\n    toastDuration: 2500,\n    /**\n     * Whether the dialog to add a new app is shown\n     *\n     * @property isAppListDialog\n     * @type {Boolean}\n     */\n    isAppListDialog: false,\n    /**\n     * The key of the state of the detail drawer\n     *\n     * @property rightSidenavKey\n     * @type {String}\n     */\n    rightSidenavKey: undefined,\n    isModulesDialogOpen: false,\n    routeIfUnauthorized: 'instances.instance',\n    /**\n     * whether the user is part of a Partner organization\n     * @property isPartner\n     * @type {Boolean}\n     */\n    isPartner: _object.computed.bool('globalUser.partnerSlug'),\n    /**\n     * the current organization\n     * @property currentOrganzation\n     * @type {Object}\n     */\n    currentOrganzation: _object.computed.alias('currentUser.currentOrganization'),\n    /**\n     * This will be true if the needed properties \"currentOrganization\" and \"globalUser\" are still loading.\n     * We need both props to be able to check if the user can access this route.\n     * During fetching, show a loading-icon.\n     *\n     * @property isLoading\n     * @type {Boolean}\n     */\n    isLoading: (0, _object.computed)('currentUser.currentOrganization.partnerSlug', 'globalUser.partnerSlug', 'isOrgPartner', 'routeIfUnauthorized', {\n      get() {\n        const isOrgPartner = this.isOrgPartner;\n        // This property comes from the globalUser mixin and will be true if the user is a partner of the current org\n        if (isOrgPartner) {\n          return false;\n        }\n        const currentOrganization = this.currentUser && this.currentUser.currentOrganization;\n        const globalUser = this.globalUser;\n\n        // Wait for organization and user fetched\n        if (!currentOrganization || !globalUser) {\n          return true;\n        }\n\n        // If we have fetched the org and the globalUser properly but the isOrgPartner prop is still false\n        // then the user is not a proper org-partner and we route him away\n        if (currentOrganization.partnerSlug && !isOrgPartner) {\n          const routeIfUnauthorized = this.routeIfUnauthorized;\n          this.transitionToRoute(routeIfUnauthorized);\n        }\n\n        // Hide loading and show content if is not a partner-org or is partner-org and proper partner-user\n        if (!currentOrganization.partnerSlug || currentOrganization.partnerSlug && isOrgPartner) {\n          return false;\n        }\n        return true;\n      }\n    }),\n    /**\n     * The name of the organisation which manages the app\n     *\n     * @property managedBy\n     * @type {String}\n     */\n    managedByOrganisation: (0, _object.computed)('currentApp.{managed,managedBy}', 'currentOrganzation.partnerName', {\n      get() {\n        const {\n          managedBy\n        } = this.currentApp;\n        if (managedBy === 'additive') {\n          return 'ADDITIVE';\n        }\n        return this.currentOrganzation.partnerName;\n      }\n    }).readOnly(),\n    /**\n     * The organizations app-collection, filtered and sorted by Id\n     *\n     * @property filteredApps\n     * @type {Object[]}\n     */\n    filteredApps: (0, _object.computed)('apps.[]', {\n      get() {\n        const apps = this.apps || [];\n        const filteredApps = apps.filter(app => _appManagement.EXCLUDED_APP_IDS.indexOf(app.id) === -1);\n        const sortedApps = filteredApps.sort((item, next) => item.id < next.id ? -1 : 1);\n        const appsWithKeys = sortedApps.map(app => {\n          const appKey = (0, _appUtils.getAppKeyById)(app.id);\n          // eslint-disable-next-line\n          (0, _object.set)(app, 'appKey', appKey);\n          return app;\n        });\n        return appsWithKeys;\n      }\n    }).readOnly(),\n    init() {\n      this._super(...arguments);\n      (0, _object.set)(this, 'rightSidenavKey', RIGHT_SIDENAV);\n    },\n    generateAppToken: (0, _emberConcurrency.task)(function* (appId) {\n      const currentOrganization = this.currentUser && this.currentUser.currentOrganization && this.currentUser.currentOrganization.id;\n      const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${currentOrganization}/apps/${appId}/generate-token`, {\n        method: 'post'\n      });\n      const app = yield response.json();\n      this.store.pushPayload('app', app);\n    }),\n    actions: {\n      /**\n       * Activates a certain app with the given plan.\n       *\n       * @param {Object} app, the app to be subscribed to\n       * @param {Object} plan the desired plan\n       */\n      addApp(app, plan) {\n        const currentOrganization = this.currentUser && this.currentUser.currentOrganization && this.currentUser.currentOrganization.id;\n        return this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${currentOrganization}/apps`, {\n          method: 'post'\n        }, {\n          app_id: app.id,\n          plan_name: plan.id\n        }).then(response => {\n          return response.json().then(json => {\n            return response.ok ? json : (0, _rsvp.reject)({\n              status: response.status,\n              message: json.message\n            });\n          });\n        }).then(response => {\n          if (response && response.app) {\n            // reload all apps to make sure added services are displayed as well\n            return this.store.findAll('app').then(() => {\n              const intl = this.intl;\n              this.uiToast.showToast({\n                type: 'success',\n                title: intl.t('global.toasts.success.changes.title'),\n                description: intl.t('global.toasts.success.changes.description'),\n                duration: this.toastDuration\n              });\n\n              // Remove the current added app from addableApps\n              const newAddableApps = this.addableApps.filter(_app => _app.id !== app.id);\n              (0, _object.set)(this, 'addableApps', newAddableApps);\n            });\n          }\n          return (0, _rsvp.reject)();\n        }).catch(error => {\n          const intl = this.intl;\n          const uiDialog = this.uiDialog;\n\n          // ask the user if he wanted to upgrade the app\n          if (error.message === 'already_added') {\n            uiDialog.showConfirm(intl.t('routes.apps.dialogs.error.title'), intl.t('routes.apps.dialogs.addAppDialog.errorDialog.alreadyAdded'), () => this.send('openUpgradePlanDialog', app), intl.t('routes.apps.dialogs.addAppDialog.errorDialog.alreadyAddedAction'));\n          } else {\n            uiDialog.showConfirm(intl.t('routes.apps.dialogs.error.title'), intl.t('routes.apps.dialogs.error.errorMessage'));\n          }\n        }).finally(() => (0, _object.set)(this, 'isAppListDialog', false));\n      },\n      /**\n       * Opens the detail view of a given app\n       *\n       * @param {Object} app, the detail app\n       */\n      toggleDetail(app) {\n        if (app && app.id) {\n          (0, _object.set)(this, 'currentApp', app);\n          this.uiState.getState(RIGHT_SIDENAV).open();\n        } else {\n          this.uiState.getState(RIGHT_SIDENAV).close();\n        }\n      },\n      toggleModules(app) {\n        if (app !== null && app !== void 0 && app.id) {\n          (0, _object.set)(this, 'currentApp', app);\n        }\n        (0, _object.set)(this, 'isModulesDialogOpen', true);\n      },\n      copyToClipboard(text) {\n        var _navigator;\n        (_navigator = navigator) === null || _navigator === void 0 || (_navigator = _navigator.clipboard) === null || _navigator === void 0 || _navigator.writeText(text);\n        this.uiToast.showToast({\n          type: 'success',\n          title: this.intl.t('global.toasts.copySuccess')\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/auditlog\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\"], function (_exports, _environment, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class InstancesInstanceAuditlog extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"auditLogBaseHost\", `${_environment.default.APP.apiBaseHost}/api/organizations`);\n    }\n  }\n  _exports.default = InstancesInstanceAuditlog;\n});","define(\"additive-account/controllers/instances/instance/billings\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/utils\", \"@ember/service\", \"@additive-apps/ui/utils/dom-util\", \"ember-changeset\", \"ember-changeset-validations/validators\", \"ember-changeset-validations\", \"ember-concurrency\"], function (_exports, _environment, _controller, _object, _utils, _service, _domUtil, _emberChangeset, _validators, _emberChangesetValidations, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    stripe: (0, _service.inject)('stripev3'),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    /**\n     * Defines the header of the table containing the invoices.\n     *\n     * @type {Object[]}\n     * @default undefined\n     */\n    invoiceTableOptions: undefined,\n    organizationId: _object.computed.alias('currentUser.currentOrganization.id'),\n    billing: _object.computed.alias('model.billing'),\n    invoices: _object.computed.alias('model.invoices'),\n    subscription: _object.computed.alias('model.subscription'),\n    hasInvoices: _object.computed.notEmpty('model.invoices'),\n    isLoading: _object.computed.alias('billingTask.isRunning'),\n    isSubscriptionProcessing: _object.computed.alias('updateSubscriptionData.isRunning'),\n    isUpdatingBillingData: _object.computed.alias('updateBillingData.isRunning'),\n    locale: _object.computed.alias('intl.locale'),\n    // check if no billing property is empty\n    hasBillingData: (0, _object.computed)('billing.{legalName,addressCountry,addressLocality,addressPostalCode,addressStreet,addressRegion,vatId}', {\n      get() {\n        const properties = this.billing;\n        let hasEmptyProperties = false;\n        Object.keys(properties).forEach(key => {\n          if ((0, _utils.isEmpty)(properties[key])) {\n            hasEmptyProperties = true;\n          }\n        });\n        return !hasEmptyProperties;\n      }\n    }).readOnly(),\n    // check if no subscription property is empty\n    hasSubscriptionData: (0, _object.computed)('subscription.{card_last_four,card_exp_month,card_exp_year,card_name}', {\n      get() {\n        const properties = this.subscription;\n        let hasEmptyProperties = false;\n        Object.keys(properties).forEach(key => {\n          if ((0, _utils.isEmpty)(properties[key])) {\n            hasEmptyProperties = true;\n          }\n        });\n        return !hasEmptyProperties;\n      }\n    }).readOnly(),\n    init() {\n      this._super(...arguments);\n      const intl = this.intl;\n      const presenceOptions = {\n        presence: true,\n        message: intl.t('global.errors.apiQueryErrors.validation.required')\n      };\n      const billingValidation = {\n        legalName: (0, _validators.validatePresence)(presenceOptions),\n        addressStreet: (0, _validators.validatePresence)(presenceOptions),\n        addressPostalCode: (0, _validators.validatePresence)(presenceOptions),\n        addressLocality: (0, _validators.validatePresence)(presenceOptions),\n        addressRegion: (0, _validators.validatePresence)(presenceOptions),\n        addressCountry: (0, _validators.validatePresence)(presenceOptions),\n        vatId: (0, _validators.validatePresence)(presenceOptions)\n      };\n      (0, _object.set)(this, 'billingValidation', billingValidation);\n      const subscriptionValidation = {\n        cardName: (0, _validators.validatePresence)(presenceOptions)\n      };\n      (0, _object.set)(this, 'subscriptionValidation', subscriptionValidation);\n      (0, _object.set)(this, 'invoiceTableOptions', [{\n        name: intl.t('billings.invoiceData.date')\n      }, {\n        name: intl.t('billings.invoiceData.amount'),\n        minWidth: '80px'\n      }, {\n        name: intl.t('billings.invoiceData.state')\n      }]);\n    },\n    // handle billing data submit\n    updateBillingData: (0, _emberConcurrency.task)(function* () {\n      const billingEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/billing`;\n      const changeset = this.billingChangeset;\n      yield changeset.validate();\n      if (changeset.get('isValid')) {\n        const intl = this.intl;\n        // show loading icon\n        const request = this.authenticatedFetch.fetch(billingEndpoint, {\n          method: 'PUT'\n        }, {\n          legalName: changeset.get('legalName'),\n          addressStreet: changeset.get('addressStreet'),\n          addressPostalCode: changeset.get('addressPostalCode'),\n          addressLocality: changeset.get('addressLocality'),\n          addressRegion: changeset.get('addressRegion'),\n          addressCountry: changeset.get('addressCountry'),\n          vatId: changeset.get('vatId')\n        });\n        const response = yield request;\n        const {\n          status\n        } = response;\n        if (status === 200) {\n          changeset.save();\n          (0, _object.set)(this, 'billingChangeset', null);\n          (0, _object.set)(this, 'isBillingDataDialog', false);\n          if (!this.isBillingEdit) {\n            this.send('openSubscriptionDialog');\n          }\n          // show toast on success\n          this.uiToast.showToast({\n            type: 'success',\n            title: intl.t('global.toasts.success.changes.title'),\n            description: intl.t('global.toasts.success.changes.description'),\n            duration: 2000\n          });\n        } else if (status === 422) {\n          const json = yield response.json();\n          // if api returns invalid vat id error show error at vat id input\n          if ((0, _utils.isPresent)(json.errors) && (0, _utils.isPresent)(json.errors.vatId)) {\n            const errorMessage = intl.t('global.errors.invalidVatId');\n            changeset.addError('vatId', errorMessage);\n          }\n        } else {\n          // show unexpected error dialog on all other errors\n          (0, _object.set)(this, 'billingChangeset', null);\n          (0, _object.set)(this, 'isBillingDataDialog', false);\n          (0, _object.set)(this, 'isUnexpectedBillingError', true);\n        }\n      }\n      (0, _object.set)(this, 'isBillingFormTouched', true);\n    }),\n    // handle subscription data submit\n    updateSubscriptionData: (0, _emberConcurrency.task)(function* () {\n      const changeset = this.subscriptionChangeset;\n      const subscribeEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/subscribe`;\n      yield changeset.validate();\n      if (changeset.get('isValid')) {\n        this.send('clearStripeErrors');\n        // show loading icon\n        if ((0, _utils.isPresent)(this.stripeCardNumber)) {\n          const intl = this.intl;\n\n          /**\n           * send credit card data and retrieve token from stripe\n           * only one stripe element needs to be provided, e.g. the card number\n           * the other stripe elements, i.e. the expiry and cvc are then found automatically\n           */\n          const result = yield this.stripe.createToken(this.stripeCardNumber, {\n            name: changeset.get('cardName')\n          });\n          if ((0, _utils.isPresent)(result.token)) {\n            // send stripe token to api\n            const request = this.authenticatedFetch.fetch(subscribeEndpoint, {\n              method: 'POST'\n            }, {\n              token: result.token.id\n            });\n            const response = yield request;\n            const {\n              status\n            } = response;\n            if (status !== 200) {\n              const json = yield response.json();\n              const message = json.message;\n              if (message) {\n                switch (message) {\n                  case 'card_declined':\n                    (0, _object.set)(this, 'stripeCardNumberError', intl.t('global.errors.creditCardUnsupported'));\n                    document.getElementById('stripe-card-number').classList += ' StripeElement--invalid';\n                    break;\n                  case 'incorrect_cvc':\n                    (0, _object.set)(this, 'stripeCardCvcError', intl.t('global.errors.incorrectCvc'));\n                    document.getElementById('stripe-card-cvc').classList += ' StripeElement--invalid';\n                    break;\n                  case 'processing_error':\n                    this.uiDialog.showAlert(intl.t('global.errors.creditCardProcessingError.title'), intl.t('global.errors.creditCardProcessingError.text'));\n                    break;\n                  default:\n                    (0, _object.set)(this, 'isUnexpectedBillingError', true);\n                }\n              } else {\n                (0, _object.set)(this, 'isUnexpectedBillingError', true);\n              }\n            } else {\n              const json = yield response.json();\n              (0, _object.set)(this, 'subscription', json.subscription);\n              (0, _object.set)(this, 'isSubscriptionDataDialog', false);\n\n              // show success toast\n              this.uiToast.showToast({\n                type: 'success',\n                title: intl.t('global.toasts.success.changes.title'),\n                description: intl.t('global.toasts.success.changes.description'),\n                duration: 2000\n              });\n            }\n          } else {\n            // stripe error handling\n            if (result.error.type == 'card_error' && result.error.code == 'card_declined') {\n              // if credit card is not supported show error at credit card number input\n              const errorMessage = intl.t('global.errors.creditCardUnsupported');\n              (0, _object.set)(this, 'stripeCardNumberError', errorMessage);\n              document.getElementById('stripe-card-number').classList += ' StripeElement--invalid';\n            } else if (result.error.type != 'validation_error') {\n              // on all other stripe errors show unexpected error message\n              (0, _object.set)(this, 'isUnexpectedBillingError', true);\n            }\n          }\n        }\n      }\n      (0, _object.set)(this, 'isSubscriptionFormTouched', true);\n    }),\n    actions: {\n      onCloseBillingData() {\n        const changeset = this.billingChangeset;\n\n        // close billing data dialog if no changes have been made\n        if (changeset.get('isPristine')) {\n          (0, _object.set)(this, 'isBillingDataDialog', false);\n          (0, _object.set)(this, 'billingChangeset', null);\n        } else {\n          const intl = this.intl;\n          const callback = () => {\n            this.send('confirmDiscardBillingData');\n          };\n\n          // show discard changes dialog\n          this.uiDialog.showConfirm(intl.t('global.dialogs.discardChanges.title'), intl.t('global.dialogs.discardChanges.description'), callback);\n        }\n      },\n      confirmDiscardBillingData() {\n        (0, _object.set)(this, 'billingChangeset', null);\n        (0, _object.set)(this, 'isBillingDataDialog', false);\n      },\n      openBillingDialog(isEdit) {\n        const billing = this.billing;\n        const billingValidation = this.billingValidation;\n        const changeset = new _emberChangeset.default(billing, (0, _emberChangesetValidations.default)(billingValidation), billingValidation);\n        (0, _object.set)(this, 'billingChangeset', changeset);\n        (0, _object.set)(this, 'isBillingDataDialog', true);\n        (0, _object.set)(this, 'isBillingEdit', isEdit);\n      },\n      clearStripeErrors() {\n        (0, _object.set)(this, 'stripeCardNumberError', '');\n        (0, _object.set)(this, 'stripeCardExpiryError', '');\n        (0, _object.set)(this, 'stripeCardCvcError', '');\n      },\n      onCloseSubscriptionData() {\n        const intl = this.intl;\n        if (this.isSubscriptionProcessing) {\n          // show warning dialog if subscription data is being processed\n          this.uiDialog.showConfirm(intl.t('global.dialogs.subscriptionProcessing.title'), intl.t('global.dialogs.subscriptionProcessing.description'), () => {});\n        } else {\n          const changeset = this.subscriptionChangeset;\n          /**\n           * show discard changes dialog if changes were made\n           * otherwise close subscription dialog\n           */\n          if (changeset.get('isDirty') || this.isStripeCardNumberFilled || this.isStripeCardExpiryFilled || this.isStripeCardCvcFilled) {\n            const callback = () => {\n              this.send('confirmDiscardSubscriptionData');\n            };\n\n            // show discard changes dialog\n            this.uiDialog.showConfirm(intl.t('global.dialogs.discardChanges.title'), intl.t('global.dialogs.discardChanges.description'), callback);\n          } else {\n            this.send('clearStripeErrors');\n            (0, _object.set)(this, 'isSubscriptionDataDialog', false);\n          }\n        }\n      },\n      confirmDiscardSubscriptionData() {\n        (0, _object.set)(this, 'subscriptionChangeset', null);\n        (0, _object.set)(this, 'isSubscriptionDataDialog', false);\n        this.send('clearStripeErrors');\n      },\n      openSubscriptionDialog() {\n        const subscription = this.subscription;\n        const subscriptionValidation = this.subscriptionValidation;\n        const changeset = new _emberChangeset.default(subscription, (0, _emberChangesetValidations.default)(subscriptionValidation), subscriptionValidation);\n        (0, _object.set)(this, 'subscriptionChangeset', changeset);\n        (0, _object.set)(this, 'isSubscriptionDataDialog', true);\n        (0, _object.set)(this, 'isStripeCardNumberFilled', false);\n        (0, _object.set)(this, 'isStripeCardExpiryFilled', false);\n        (0, _object.set)(this, 'isStripeCardCvcFilled', false);\n        (0, _object.set)(this, 'isStripeLoading', true);\n        this.stripe.load().then(() => {\n          (0, _object.set)(this, 'isStripeLoading', false);\n          /**\n           * wait for the subscription dialog to appear\n           * elements in the dialog are referenced by id and therefore need to exist before continuing\n           */\n          (0, _domUtil.nextTick)().then(() => {\n            if (!this.isDestroyed) {\n              const locale = this.locale && this.locale[0] || 'de';\n              const elements = this.stripe.elements({\n                locale\n              });\n              const stripeInputStyle = {\n                base: {\n                  lineHeight: '40px'\n                }\n              };\n\n              // setup card number input field\n              const cardNumber = elements.create('cardNumber', {\n                style: stripeInputStyle\n              });\n              cardNumber.mount('#stripe-card-number');\n              cardNumber.addEventListener('change', event => {\n                (0, _object.set)(this, 'isStripeCardNumberFilled', !event.empty);\n                (0, _object.set)(this, 'stripeCardNumberError', event.error ? event.error.message : '');\n              });\n              (0, _object.set)(this, 'stripeCardNumber', cardNumber);\n\n              // setup card expiry input field\n              const cardExpiry = elements.create('cardExpiry', {\n                style: stripeInputStyle\n              });\n              cardExpiry.mount('#stripe-card-expiry');\n              cardExpiry.addEventListener('change', event => {\n                (0, _object.set)(this, 'isStripeCardExpiryFilled', !event.empty);\n                (0, _object.set)(this, 'stripeCardExpiryError', event.error ? event.error.message : '');\n              });\n              (0, _object.set)(this, 'stripeCardExpiry', cardExpiry);\n\n              // setup card cvc input field\n              const cardCvc = elements.create('cardCvc', {\n                style: stripeInputStyle\n              });\n              cardCvc.mount('#stripe-card-cvc');\n              cardCvc.addEventListener('change', event => {\n                (0, _object.set)(this, 'isStripeCardCvcFilled', !event.empty);\n                (0, _object.set)(this, 'stripeCardCvcError', event.error ? event.error.message : '');\n              });\n              (0, _object.set)(this, 'stripeCardCvc', cardCvc);\n            }\n          });\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/corporate-design/index\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object/computed\", \"@ember/service\", \"ember-concurrency\", \"rsvp\"], function (_exports, _environment, _controller, _computed, _service, _emberConcurrency, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    /**\n     * Current user is manager\n     *\n     * @property isManager\n     * @type {Boolean}\n     * @private\n     */\n    isManager: (0, _computed.alias)('currentUser.isManager'),\n    saveChangeset: (0, _emberConcurrency.task)(function* (changeset) {\n      try {\n        yield changeset.validate();\n        if (changeset.get('isValid')) {\n          let tasks = [];\n          yield changeset.save();\n          const updateTask = this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/corporate-design/colors`, {\n            method: 'PUT'\n          }, {\n            colors: this.colors\n          });\n          tasks.push(updateTask);\n          tasks.push((0, _emberConcurrency.timeout)(250));\n          const [response] = yield (0, _emberConcurrency.all)(tasks);\n          if (!response || !response.ok) {\n            this.uiDialog.showError();\n            return (0, _rsvp.resolve)();\n          }\n          const {\n            intl\n          } = this;\n          this.uiToast.showToast({\n            type: 'success',\n            title: intl.t('global.toasts.success.changes.title'),\n            description: intl.t('global.toasts.success.changes.description'),\n            duration: 2000\n          });\n        }\n      } catch (error) {\n        throw new Error(`[organization-corporate-design] Could not update color ${error}`);\n      }\n    }).drop()\n  });\n});","define(\"additive-account/controllers/instances/instance/corporate-design/typography\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/object/computed\", \"@ember/service\", \"ember-concurrency\", \"rsvp\", \"@additive-apps/ui/utils/constants\", \"additive-account/utils/organization-utils\"], function (_exports, _environment, _controller, _object, _computed, _service, _emberConcurrency, _rsvp, _constants, _organizationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    /**\n     * Current user is manager\n     *\n     * @property isManager\n     * @type {Boolean}\n     * @private\n     */\n    isManager: (0, _computed.alias)('currentUser.isManager'),\n    /**\n     * the fetched colors of the organization\n     *\n     * @property colors\n     * @type {Object}\n     * @default undefined\n     */\n    colors: undefined,\n    /**\n     * the fetched typography of the organization\n     *\n     * @property typography\n     * @type {Object}\n     * @default undefined\n     */\n    typography: undefined,\n    /**\n     * the fetched fonts of the organization\n     *\n     * @property fonts\n     * @type {Object}\n     * @default undefined\n     */\n    fonts: undefined,\n    fetchCD: (0, _emberConcurrency.task)(function* () {\n      const corporateDesign = yield _organizationUtils.fetchCorporateDesign.task.perform(this);\n      (0, _object.set)(this, 'colors', corporateDesign.colors);\n      (0, _object.set)(this, 'typography', corporateDesign.typography);\n      (0, _object.set)(this, 'fonts', corporateDesign.fonts);\n    }),\n    updateProperty: (0, _emberConcurrency.task)(function* (changeset, property) {\n      if (!changeset) {\n        this.uiDialog.showError();\n        return;\n      }\n      try {\n        let tasks = [];\n        yield changeset.validate();\n        if (changeset.get('isValid')) {\n          yield changeset.save();\n          const updateTask = this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/corporate-design/${property}`, {\n            method: 'PUT'\n          }, {\n            [property]: this[property]\n          });\n          tasks.push(updateTask);\n          tasks.push((0, _emberConcurrency.timeout)(_constants.REQUEST_DEBOUNCE_MS));\n          const [response] = yield (0, _emberConcurrency.all)(tasks);\n          if (!response || !response.ok) {\n            this.uiDialog.showError();\n            return (0, _rsvp.resolve)();\n          }\n          const {\n            intl\n          } = this;\n          this.uiToast.showToast({\n            type: 'success',\n            title: intl.t('global.toasts.success.changes.title'),\n            description: intl.t('global.toasts.success.changes.description'),\n            duration: 2000\n          });\n        }\n      } catch (error) {\n        throw new Error(`[organization-corporate-design] Could not update color ${error}`);\n      }\n    }),\n    actions: {\n      updateFonts(fonts) {\n        (0, _object.set)(this, 'fonts', fonts);\n        const corporateDesign = this.store.peekRecord('corporate-design', this.organizationId);\n        if (corporateDesign) {\n          corporateDesign.set('fonts', fonts);\n        }\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/email-templates/list\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\"], function (_exports, _controller, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesInstanceEmailTemplatesListController = _exports.default = (_class = class InstancesInstanceEmailTemplatesListController extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n      _defineProperty(this, \"_detailRoute\", 'instances.instance.email-templates.list.detail');\n    }\n    get _currentItem() {\n      var _this$router;\n      if (((_this$router = this.router) === null || _this$router === void 0 || (_this$router = _this$router.currentRouteName) === null || _this$router === void 0 ? void 0 : _this$router.indexOf(this._detailRoute)) === -1) {\n        return false;\n      }\n      return this.router.currentRoute.attributes.id;\n    }\n    transitionToDetail(id) {\n      this.router.transitionTo(this._detailRoute, id);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"transitionToDetail\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToDetail\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/email-templates/list/detail\", [\"exports\", \"@ember/controller\", \"@ember/service\", \"@ember/object/computed\"], function (_exports, _controller, _service, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    currentUser: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    organization: (0, _computed.alias)('currentUser.currentOrganization'),\n    actions: {\n      back() {\n        this.router.transitionTo('instances.instance.email-templates.list');\n      },\n      edit() {\n        this.router.transitionTo('instances.instance.email-templates.edit', this.model.id);\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/organization\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/service\", \"ember-concurrency\", \"@ember/object\", \"@glimmer/tracking\", \"additive-account/mixins/global-user\"], function (_exports, _environment, _controller, _service, _emberConcurrency, _object, _tracking, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11; // the mixin is required in order to be used from the route\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesInstanceOrganization = _exports.default = (_dec = (0, _emberConcurrency.task)(function* () {\n    try {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/domain-swap/info`;\n      const response = yield this.authenticatedFetch.fetch(url);\n      if (!(response !== null && response !== void 0 && response.ok)) {\n        throw new Error('Response not ok');\n      }\n      const json = yield response.json();\n      this._organizationDomainSettings = json;\n    } catch (e) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.savedChanges')\n      });\n    }\n  }), _dec2 = (0, _emberConcurrency.task)(function* () {\n    var _response$headers;\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/domain-swap`;\n    const response = yield this.authenticatedFetch.fetch(url, {\n      method: 'GET'\n    }, null, [404]);\n    if (!(response !== null && response !== void 0 && response.ok)) {\n      this._pendingDomainSwap = null;\n      return;\n    }\n    if ((response === null || response === void 0 || (_response$headers = response.headers) === null || _response$headers === void 0 || (_response$headers = _response$headers.map) === null || _response$headers === void 0 ? void 0 : _response$headers['content-type']) !== 'application/json') {\n      this._pendingDomainSwap = null;\n      return;\n    }\n    const data = yield response.json();\n    this._pendingDomainSwap = data !== null && data !== void 0 && data.id ? data : null;\n  }), _class = class InstancesInstanceOrganization extends _controller.default.extend(_globalUser.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"router\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor6, this);\n      /**\n       * the accessible apps for the current organization\n       * these are set by the setupController hook in the route\n       *\n       * @property accessibleApps\n       * @type {Array}\n       * @default []\n       */\n      _defineProperty(this, \"accessibleApps\", []);\n      /**\n       * the available countries\n       * these are set by the setupController hook in the route\n       *\n       * @property countries\n       * @type {Array}\n       * @default []\n       */\n      _defineProperty(this, \"countries\", []);\n      /**\n       * whether the org logo is currently being uploaded\n       *\n       * @property isUploadingImage\n       * @type {Boolean}\n       * @default false\n       */\n      _defineProperty(this, \"isUploadingImage\", false);\n      /**\n       * whether the org header is currently being uploaded\n       *\n       * @property isUploadingHeaderImage\n       * @type {Boolean}\n       * @default false\n       */\n      _defineProperty(this, \"isUploadingHeaderImage\", false);\n      _defineProperty(this, \"headerImageDimensions\", [1600, 1200]);\n      _defineProperty(this, \"imageDimensions\", [512, 512]);\n      _defineProperty(this, \"_organizationDomainSettings\", null);\n      _initializerDefineProperty(this, \"_pendingDomainSwap\", _descriptor7, this);\n      _initializerDefineProperty(this, \"isDetailDialog\", _descriptor8, this);\n      _initializerDefineProperty(this, \"_isDomainSwapInformationOpen\", _descriptor9, this);\n      _initializerDefineProperty(this, \"fetchOrganizationDomainSettings\", _descriptor10, this);\n      _initializerDefineProperty(this, \"fetchPendingDomainSwap\", _descriptor11, this);\n    }\n    get hasEmptyHeaderImage() {\n      var _this$model;\n      return !((_this$model = this.model) !== null && _this$model !== void 0 && _this$model.imageHeaderPath);\n    }\n    get hasEmptyImage() {\n      var _this$model2;\n      return !((_this$model2 = this.model) !== null && _this$model2 !== void 0 && _this$model2.imagePath);\n    }\n    get isDeleteHeaderImageDisabled() {\n      return this.hasEmptyHeaderImage || this.isUploadingHeaderImage;\n    }\n    get isDeleteImageDisabled() {\n      return this.hasEmptyImage || this.isUploadingImage;\n    }\n    get hasAdminAccess() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.isAdmin;\n    }\n    get isAdditiveOrPartner() {\n      var _this$globalUser, _this$globalUser2;\n      return ((_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.isAdditive) || ((_this$globalUser2 = this.globalUser) === null || _this$globalUser2 === void 0 ? void 0 : _this$globalUser2.isPartner);\n    }\n    get isViewer() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isViewer;\n    }\n    get isOrganizationRoute() {\n      return this.router.isActive('instances.instance.organization.index');\n    }\n    get organizationId() {\n      var _this$currentUser3;\n      return (_this$currentUser3 = this.currentUser) === null || _this$currentUser3 === void 0 || (_this$currentUser3 = _this$currentUser3.currentOrganization) === null || _this$currentUser3 === void 0 ? void 0 : _this$currentUser3.id;\n    }\n    get uploadUrl() {\n      return `${_environment.default.APP.apiBaseHost}/api/organizations/${this.model.id}/image`;\n    }\n    uploadLogo(imageUrl, isUploading) {\n      this.model.imagePath = imageUrl;\n      this.isUploadingImage = isUploading;\n    }\n    uploadBackgroundImage(imageUrl, isUploading) {\n      this.model.imageHeaderPath = imageUrl;\n      this.isUploadingHeaderImage = isUploading;\n    }\n    onCloseDetailDialog() {\n      this.fetchPendingDomainSwap.perform();\n      this.isDetailDialog = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"_pendingDomainSwap\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"isDetailDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"_isDomainSwapInformationOpen\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"fetchOrganizationDomainSettings\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"fetchPendingDomainSwap\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"uploadLogo\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"uploadLogo\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"uploadBackgroundImage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"uploadBackgroundImage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onCloseDetailDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onCloseDetailDialog\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/settings/closing-periods\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"ember-concurrency\", \"@ember/service\"], function (_exports, _controller, _object, _emberConcurrency, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    uiPaths: (0, _service.inject)(),\n    /**\n     * the active closing-period in the detail dialog\n     *\n     * @property activeClosingPeriod\n     * @type {Model}\n     * @default null\n     */\n    activeClosingPeriod: false,\n    /**\n     * whether the detail dialog is open\n     *\n     * @property isDetailDialog\n     * @type {Boolean}\n     * @default null\n     */\n    isDetailDialog: false,\n    isLoading: _object.computed.alias('fetchClosingPeriods.isRunning'),\n    organizationId: _object.computed.alias('currentUser.currentOrganization.id'),\n    isManager: _object.computed.alias('currentUser.isManager'),\n    isMember: _object.computed.not('currentUser.isManager'),\n    fabButtonContainer: (0, _object.computed)('isLoading', {\n      get() {\n        return document.getElementById('settings-fab-button-container');\n      }\n    }),\n    /**\n     * fetches all available closing periods\n     *\n     * @function fetchClosingPeriods\n     * @type {Task}\n     */\n    fetchClosingPeriods: (0, _emberConcurrency.task)(function* () {\n      try {\n        (0, _object.set)(this, 'isError', false);\n        const closingPeriods = yield this.store.findAll('closing-time');\n        (0, _object.set)(this, 'closingPeriods', closingPeriods);\n      } catch (e) {\n        (0, _object.set)(this, 'isError', true);\n      }\n    }),\n    /**\n     * deletes a given closing period and reloads the list\n     *\n     * @function deleteClosingPeriod\n     * @type {Task}\n     * @param {String} id\n     */\n    deleteClosingPeriod: (0, _emberConcurrency.task)(function* (closingPeriod) {\n      try {\n        yield closingPeriod.destroyRecord();\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.delete.success'),\n          description: this.intl.t('global.toasts.success.changes.description'),\n          type: 'success'\n        });\n      } catch (e) {\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.delete.error'),\n          description: this.intl.t('global.toasts.error.description'),\n          type: 'error'\n        });\n      }\n    }),\n    actions: {\n      delete(closingPeriod) {\n        const {\n          intl\n        } = this;\n        this.uiDialog.showConfirm(intl.t('routes.settings.closingPeriods.deleteDialog.title'), intl.t('routes.settings.closingPeriods.deleteDialog.description'), () => this.deleteClosingPeriod.perform(closingPeriod), intl.t('global.actions.delete'), true, true);\n      },\n      openDetail(closingPeriod) {\n        (0, _object.setProperties)(this, {\n          activeClosingPeriod: closingPeriod,\n          isDetailDialog: true\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/settings/communication\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/service\", \"ember-concurrency\", \"@additive-apps/auth/utils/roles-map\", \"additive-account/utils/constants\", \"additive-account/utils/organization-utils\"], function (_exports, _environment, _controller, _tracking, _object, _service, _emberConcurrency, _rolesMap, _constants, _organizationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesInstanceSettingsCommunication = _exports.default = (_dec = (0, _emberConcurrency.task)(function* (languages) {\n    try {\n      const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings`, {\n        method: 'PUT'\n      }, {\n        contentLanguages: languages\n      });\n      if (response && response.ok) {\n        const json = yield response.json();\n        this.settings.contentLanguages = json.settings.contentLanguages;\n        const intl = this.intl;\n        this.uiToast.showToast({\n          type: 'success',\n          title: intl.t('global.toasts.success.savedChanges'),\n          duration: 2000\n        });\n      } else {\n        // TODO: Update when new modal-service exists\n        this.uiDialog.showError();\n      }\n    } catch (error) {\n      throw new Error(`[organization-languages] Could not update languages ${error}`);\n    }\n  }).drop(), _dec2 = (0, _emberConcurrency.task)(function* () {\n    this.isSalutationSettingsError = false;\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}`;\n    try {\n      const requestOptions = {\n        headers: Object.assign({}, _constants.ACCEPT_HEADER, {\n          'Accept-Language': this.language\n        }),\n        method: 'GET'\n      };\n      const response = yield this.authenticatedFetch.fetch(`${url}/settings/salutations`, requestOptions);\n      if (!response || !response.ok) {\n        throw new Error('[SETTINGS] salutation settings', response);\n      }\n      const json = yield response.json();\n      if (!json || !json.salutations) {\n        throw new Error('[SETTINGS] salutation settings');\n      }\n      const salutationSettings = Object.assign({}, this.salutationSettings);\n      salutationSettings[this.language] = json.salutations;\n      this.salutationSettings = salutationSettings;\n    } catch (error) {\n      this.isSalutationSettingsError = true;\n    }\n  }), _class = class InstancesInstanceSettingsCommunication extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiAppSettings\", _descriptor6, this);\n      /**\n       * the fetched settings of the organization\n       *\n       * @property settings\n       * @type {Object}\n       * @default undefined\n       */\n      _initializerDefineProperty(this, \"settings\", _descriptor7, this);\n      /**\n       * footer container id for the fab button\n       *\n       * @property footerContainerId\n       * @type {String}\n       * @default 'settings-fab-button-container'\n       */\n      _defineProperty(this, \"footerContainerId\", 'settings-fab-button-container');\n      /**\n       * the task to fetch the settings\n       *\n       * @property fetchSettingsTask\n       * @type {Task}\n       * @default undefined\n       */\n      _defineProperty(this, \"fetchSettingsTask\", _organizationUtils.fetchSettings.task);\n      /**\n       * the fetched salutation settings\n       *\n       * @property salutationSettings\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"salutationSettings\", _descriptor8, this);\n      /**\n       * the language that should be deleted\n       *\n       * @property toDeleteLanguage\n       * @type {String}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"toDeleteLanguage\", _descriptor9, this);\n      /**\n       * whether the delete language dialog is open\n       *\n       * @property isDeleteDialog\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isDeleteDialog\", _descriptor10, this);\n      /**\n       * whether the add language dialog is open\n       *\n       * @property isAddLangDialog\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isAddLangDialog\", _descriptor11, this);\n      /**\n       * whether an error occurred while fetching the salutation settings\n       *\n       * @property salutationSettings\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"isSalutationSettingsError\", _descriptor12, this);\n      _initializerDefineProperty(this, \"fabButtonContainer\", _descriptor13, this);\n      /**\n       *  performs a request with an updated language array to remove or add languages\n       *\n       * @function updateLanguagesTask\n       */\n      _initializerDefineProperty(this, \"updateLanguagesTask\", _descriptor14, this);\n      /**\n       * fetches the salutation settings\n       *\n       * @function fetchSalutationSettings\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"fetchSalutationSettings\", _descriptor15, this);\n    }\n    /**\n     * the current language of the app\n     *\n     * @computed language\n     * @type {String}\n     */\n    get language() {\n      var _this$uiAppSettings;\n      return (_this$uiAppSettings = this.uiAppSettings) === null || _this$uiAppSettings === void 0 ? void 0 : _this$uiAppSettings.currentLocale;\n    }\n    get isAdmin() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.isAdmin;\n    }\n    get organizationId() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 || (_this$currentUser2 = _this$currentUser2.currentOrganization) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.id;\n    }\n    get contentLanguages() {\n      var _this$settings;\n      return (_this$settings = this.settings) === null || _this$settings === void 0 ? void 0 : _this$settings.contentLanguages;\n    }\n    get defaultLanguage() {\n      var _this$settings2;\n      return (_this$settings2 = this.settings) === null || _this$settings2 === void 0 ? void 0 : _this$settings2.defaultLanguage;\n    }\n    get isDisabled() {\n      var _this$currentUser3;\n      return !(0, _rolesMap.hasAccess)('manager', (_this$currentUser3 = this.currentUser) === null || _this$currentUser3 === void 0 || (_this$currentUser3 = _this$currentUser3.user) === null || _this$currentUser3 === void 0 ? void 0 : _this$currentUser3.role);\n    }\n\n    /**\n     * the languages that have been added to the content languages\n     *\n     * @property addedLanguages\n     * @type {String[]}\n     * @default undefined\n     */\n    get addedLanguages() {\n      const languages = this.contentLanguages;\n      if (languages) {\n        return languages.filter(lang => lang !== this.defaultLanguage);\n      }\n      return [];\n    }\n\n    /**\n     * languages that can still be added\n     *\n     * @property addableLanguages\n     * @type {String[]}\n     * @default undefined\n     */\n    get addableLanguages() {\n      const contentLanguages = this.contentLanguages;\n      if (contentLanguages) {\n        return _constants.AVAILABLE_LANGUAGES.filter(lang => !contentLanguages.includes(lang));\n      }\n      return [];\n    }\n    async setup() {\n      this.fetchSalutationSettings.perform();\n      const settings = await this.fetchSettingsTask.perform(this);\n      this.settings = settings;\n      this.fabButtonContainer = document.getElementById(this.footerContainerId);\n    }\n    async addLanguage(lang) {\n      const languages = this.contentLanguages;\n      const updatedLanguages = languages.concat(lang);\n      await this.updateLanguagesTask.perform(updatedLanguages);\n      const addableLanguages = this.addableLanguages;\n      // close dialog when no more languages can be added\n      if (addableLanguages.length === 0) {\n        this.isAddLangDialog = false;\n      }\n    }\n    async removeLanguage(lang) {\n      const languages = this.contentLanguages;\n      const defaultLanguage = this.defaultLanguage;\n\n      // dont remove default language\n      if (languages.includes(lang) && defaultLanguage !== lang) {\n        const updatedLanguages = languages.filter(language => language !== lang);\n        await this.updateLanguagesTask.perform(updatedLanguages);\n        this.toDeleteLanguage = null;\n        this.isDeleteDialog = false;\n      }\n    }\n    openDeleteConfirm(lang) {\n      this.toDeleteLanguage = lang;\n      this.isDeleteDialog = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiAppSettings\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"settings\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return undefined;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"salutationSettings\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"toDeleteLanguage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"isDeleteDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"isAddLangDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"isSalutationSettingsError\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"fabButtonContainer\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"updateLanguagesTask\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"fetchSalutationSettings\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"addLanguage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"addLanguage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeLanguage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeLanguage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"openDeleteConfirm\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"openDeleteConfirm\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/settings/goals\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"@ember/template\", \"ember-concurrency\", \"@glimmer/tracking\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/settings\"], function (_exports, _environment, _controller, _service, _object, _template, _emberConcurrency, _tracking, _emberChangeset, _emberChangesetValidations, _settings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Goals = _exports.default = (_dec = (0, _emberConcurrency.task)(function* () {\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}`;\n    try {\n      const response = yield this.authenticatedFetch.fetch(`${url}/settings/goals`);\n      if (!response || !response.ok) {\n        throw new Error('[SETTINGS] goals settings', response);\n      }\n      const json = yield response.json();\n      if (!json || !json.organizationGoals) {\n        throw new Error('[SETTINGS] goals settings');\n      }\n      const activeGoals = json.organizationGoals.filter(goal => goal.isActive && goal.activeFrom);\n      const inactiveGoals = json.organizationGoals.filter(goal => !goal.isActive && goal.activeUntil);\n      const draftGoals = json.organizationGoals.filter(goal => !goal.isActive && !goal.activeFrom && !goal.activeUntil);\n      this.activeGoals = activeGoals;\n      this.inactiveGoals = inactiveGoals;\n      this.draftGoals = draftGoals;\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _dec2 = (0, _emberConcurrency.task)(function* (goalId) {\n    const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}`;\n    try {\n      const response = yield this.authenticatedFetch.fetch(`${url}/settings/goals/${goalId}`);\n      if (!response || !response.ok) {\n        throw new Error('[SETTINGS] goals settings', response);\n      }\n      const json = yield response.json();\n      if (!json || !json.linkedReports) {\n        throw new Error('[SETTINGS] goals settings');\n      }\n      this.linkedReports = json.linkedReports;\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _dec3 = (0, _emberConcurrency.task)(function* () {\n    const {\n      goalChangeset\n    } = this;\n    try {\n      var _json$organizationGoa;\n      yield goalChangeset.validate();\n      if (!goalChangeset.get('isValid')) {\n        return;\n      }\n      this.goalChangeset.save();\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}`;\n      const id = goalChangeset.get('id');\n      const response = yield this.authenticatedFetch.fetch(`${url}/settings/goals${this.isEditGoalDialog ? `/${id}` : ''}`, {\n        method: this.isEditGoalDialog ? 'PUT' : 'POST'\n      }, Object.assign({}, goalChangeset.get('data')));\n      if (!response || !response.ok) {\n        throw new Error('[SETTINGS] goals settings', response);\n      }\n      const json = yield response.json();\n      if (!json || !json.organizationGoal) {\n        throw new Error('[SETTINGS] goals settings');\n      }\n      if ((_json$organizationGoa = json.organizationGoal) !== null && _json$organizationGoa !== void 0 && _json$organizationGoa.isActive) {\n        if (this.isEditGoalDialog) {\n          this.activeGoals = this.activeGoals.map(goal => goal.id === id ? json.organizationGoal : goal);\n        } else {\n          this.activeGoals = [...this.activeGoals, json.organizationGoal];\n        }\n      } else {\n        if (this.isEditGoalDialog) {\n          this.draftGoals = this.draftGoals.map(goal => goal.id === id ? json.organizationGoal : goal);\n        } else {\n          this.draftGoals = [...this.draftGoals, json.organizationGoal];\n        }\n      }\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        duration: 2000\n      });\n      this._onCloseCreateGoalDialog();\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _dec4 = (0, _emberConcurrency.task)(function* (goal) {\n    try {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/goals/${goal.id}/toggle`;\n      const response = yield this.authenticatedFetch.fetch(url, {\n        method: 'POST'\n      });\n      if (!response || !response.ok) {\n        throw new Error('[SETTINGS] Change status of goal', response);\n      }\n      const json = yield response.json();\n      if (!json || !json.organizationGoal) {\n        throw new Error('[SETTINGS] goals settings');\n      }\n      if (goal.isActive) {\n        this.inactiveGoals = [...this.inactiveGoals, json.organizationGoal];\n        this.activeGoals = this.activeGoals.filter(_goal => _goal.id !== goal.id);\n      } else {\n        this.activeGoals = [...this.activeGoals, json.organizationGoal];\n        this.inactiveGoals = this.inactiveGoals.filter(_goal => _goal.id !== goal.id);\n        this.draftGoals = this.draftGoals.filter(_goal => _goal.id !== goal.id);\n      }\n      this.isConfirmDeactivationDialog = false;\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('global.toasts.success.changes.title'),\n        description: this.intl.t('global.toasts.success.changes.description'),\n        duration: 2000\n      });\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _class = class Goals extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor5, this);\n      _initializerDefineProperty(this, \"isCreateGoalDialog\", _descriptor6, this);\n      _initializerDefineProperty(this, \"isConfirmDeactivationDialog\", _descriptor7, this);\n      _initializerDefineProperty(this, \"goalToDeactivate\", _descriptor8, this);\n      _initializerDefineProperty(this, \"isEditGoalDialog\", _descriptor9, this);\n      _initializerDefineProperty(this, \"isDetailDialog\", _descriptor10, this);\n      _initializerDefineProperty(this, \"detailDialogGoal\", _descriptor11, this);\n      _initializerDefineProperty(this, \"activeGoals\", _descriptor12, this);\n      _initializerDefineProperty(this, \"draftGoals\", _descriptor13, this);\n      _initializerDefineProperty(this, \"inactiveGoals\", _descriptor14, this);\n      _initializerDefineProperty(this, \"goalChangeset\", _descriptor15, this);\n      _initializerDefineProperty(this, \"showInactiveGoals\", _descriptor16, this);\n      _initializerDefineProperty(this, \"linkedReports\", _descriptor17, this);\n      /**\n       * fetches the organization goals\n       *\n       * @function _fetchGoals\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"_fetchGoals\", _descriptor18, this);\n      /**\n       * fetches the details of an organization goal\n       *\n       * @function _fetchGoalDetails\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"_fetchGoalDetails\", _descriptor19, this);\n      /**\n       * saves the currently edited goal\n       *\n       * @function _saveGoal\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"_saveGoal\", _descriptor20, this);\n      /**\n       * changes the status of a goal (active/inactive)\n       *\n       * @function _toggleGoal\n       * @type {Task}\n       */\n      _initializerDefineProperty(this, \"_toggleGoal\", _descriptor21, this);\n    }\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n    get noGoalsDefined() {\n      const {\n        activeGoals,\n        inactiveGoals,\n        draftGoals\n      } = this;\n      return (activeGoals === null || activeGoals === void 0 ? void 0 : activeGoals.length) === 0 && (inactiveGoals === null || inactiveGoals === void 0 ? void 0 : inactiveGoals.length) === 0 && (draftGoals === null || draftGoals === void 0 ? void 0 : draftGoals.length) === 0;\n    }\n    get isMaxGoalsReached() {\n      var _this$activeGoals;\n      const activeGoalsLength = ((_this$activeGoals = this.activeGoals) === null || _this$activeGoals === void 0 ? void 0 : _this$activeGoals.length) || 0;\n      return activeGoalsLength >= 4;\n    }\n    get detailDialogGoalDescription() {\n      const {\n        detailDialogGoal: goal,\n        intl\n      } = this;\n      if (!goal) {\n        return null;\n      }\n      const lines = [intl.t('routes.settings.goals.detailGoalDialog.lastUpdated', {\n        date: intl.formatDate(goal.updatedAt, {\n          day: 'numeric',\n          month: 'short',\n          year: 'numeric'\n        }),\n        time: intl.formatTime(goal.updatedAt, {\n          format: 'hhmm'\n        })\n      })];\n      if (goal.activeFrom) {\n        lines.push(intl.t('routes.settings.goals.detailGoalDialog.activeSince', {\n          date: intl.formatDate(goal.activeFrom, {\n            day: 'numeric',\n            month: 'short',\n            year: 'numeric'\n          })\n        }));\n      }\n      if (goal.activeUntil) {\n        lines.push(intl.t('routes.settings.goals.detailGoalDialog.inactiveSince', {\n          date: intl.formatDate(goal.activeUntil, {\n            day: 'numeric',\n            month: 'short',\n            year: 'numeric'\n          })\n        }));\n      }\n      return (0, _template.htmlSafe)(lines.join('<br/>'));\n    }\n    _onOpenCreateGoalDialog() {\n      const resource = {\n        title: '',\n        description: '',\n        isActive: false\n      };\n      const validation = (0, _settings.goalValidation)(this.intl);\n      this.goalChangeset = new _emberChangeset.default(resource, (0, _emberChangesetValidations.default)(validation), validation);\n      this.isCreateGoalDialog = true;\n    }\n    _onOpenEditGoalDialog(goal) {\n      const resource = {\n        id: (goal === null || goal === void 0 ? void 0 : goal.id) || null,\n        title: (goal === null || goal === void 0 ? void 0 : goal.title) || '',\n        description: (goal === null || goal === void 0 ? void 0 : goal.description) || '',\n        isActive: (goal === null || goal === void 0 ? void 0 : goal.isActive) || false\n      };\n      const validation = (0, _settings.goalValidation)(this.intl);\n      this.goalChangeset = new _emberChangeset.default(resource, (0, _emberChangesetValidations.default)(validation), validation);\n      this.isEditGoalDialog = true;\n    }\n    _onCloseCreateGoalDialog() {\n      if (this.goalChangeset && this.goalChangeset.isDirty) {\n        this.uiDialog.showDiscardChangesConfirm(() => {\n          this.goalChangeset.rollback();\n          this.isCreateGoalDialog = false;\n          this.isEditGoalDialog = false;\n        });\n      } else {\n        this.isCreateGoalDialog = false;\n        this.isEditGoalDialog = false;\n      }\n    }\n    _openDetailDialog(goal) {\n      this._fetchGoalDetails.perform(goal.id);\n      this.isDetailDialog = true;\n      this.detailDialogGoal = goal;\n    }\n    _deactivateGoal(goal) {\n      this.goalToDeactivate = goal;\n      this.isConfirmDeactivationDialog = true;\n    }\n    _stopPropagation(e) {\n      e.stopPropagation();\n    }\n    _openReport(report) {\n      const url = `${_environment.default.APP.marketingInsightsHost}/${this.organizationId}/reports/${report.type}/${report.id}`;\n      window.open(url);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"isCreateGoalDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"isConfirmDeactivationDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"goalToDeactivate\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isEditGoalDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"isDetailDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"detailDialogGoal\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"activeGoals\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"draftGoals\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"inactiveGoals\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"goalChangeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"showInactiveGoals\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"linkedReports\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [];\n    }\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"_fetchGoals\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"_fetchGoalDetails\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"_saveGoal\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"_toggleGoal\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_onOpenCreateGoalDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onOpenCreateGoalDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onOpenEditGoalDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onOpenEditGoalDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onCloseCreateGoalDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onCloseCreateGoalDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_openDetailDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_openDetailDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_deactivateGoal\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_deactivateGoal\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_stopPropagation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_stopPropagation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_openReport\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_openReport\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/settings/integrations\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"ember-concurrency\", \"@glimmer/tracking\"], function (_exports, _environment, _controller, _service, _object, _emberConcurrency, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let Integrations = _exports.default = (_dec = (0, _emberConcurrency.task)(function* () {\n    const tasks = [];\n    const integrationEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/settings/pms`;\n    try {\n      const fetchTask = this.authenticatedFetch.fetch(integrationEndpoint, {\n        method: 'GET'\n      }, null, [404, 422]);\n      tasks.push(fetchTask);\n      tasks.push((0, _emberConcurrency.timeout)(250));\n      const [response] = yield (0, _emberConcurrency.all)(tasks);\n      if (!response || !response.ok) {\n        if (response.status === 404) {\n          this.hasDefinedIntegrations = false;\n          return;\n        }\n        throw new Error(`[settings-integration] Could not load integration.`);\n      }\n      const {\n        pms\n      } = yield response.json();\n      this.pms = pms;\n      this.hasDefinedIntegrations = true;\n    } catch (error) {\n      this.uiToast.showToast({\n        type: 'error',\n        title: this.intl.t('global.toasts.error.title'),\n        description: this.intl.t('global.toasts.error.description')\n      });\n    }\n  }), _class = class Integrations extends _controller.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor4, this);\n      /**\n       * whether the add dialog is open\n       *\n       * @property isAddIntegrationDialog\n       * @type {Boolean}\n       * @default false\n       */\n      _defineProperty(this, \"isAddIntegrationDialog\", false);\n      /**\n       * whether the organization has defined integrations\n       *\n       * @property hasDefinedIntegrations\n       * @type {Boolean}\n       * @default false\n       */\n      _initializerDefineProperty(this, \"hasDefinedIntegrations\", _descriptor5, this);\n      /**\n       * The defined integration\n       *\n       * @property pms\n       * @type {Object}\n       * @default null\n       */\n      _initializerDefineProperty(this, \"pms\", _descriptor6, this);\n      _initializerDefineProperty(this, \"_fetch\", _descriptor7, this);\n    }\n    /**\n     * the currently active organization\n     *\n     * @computed organization\n     */\n    get organizationId() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n    }\n\n    /**\n     * whether the current user is manager\n     *\n     * @computed isManager\n     */\n    get isManager() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isManager;\n    }\n    setPms(pms) {\n      this.pms = pms;\n      this.hasDefinedIntegrations = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"hasDefinedIntegrations\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"pms\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"_fetch\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"setPms\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPms\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/settings/legals\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/array\", \"@ember/object\", \"@ember/object/computed\", \"@ember/service\", \"ember-changeset\", \"ember-changeset-validations\", \"ember-concurrency\", \"rsvp\", \"additive-account/validations/organization\"], function (_exports, _environment, _controller, _array, _object, _computed, _service, _emberChangeset, _emberChangesetValidations, _emberConcurrency, _rsvp, _organization) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    /**\n     * the changeset of the legal resource\n     *\n     * @property _changeset\n     * @type {Object}\n     * @default undefined\n     */\n    _changeset: undefined,\n    /**\n     * object containing the legal links of the organization\n     *\n     * @property _legalResource\n     * @type {Object}\n     * @default undefined\n     */\n    _legalResource: undefined,\n    /**\n     * the fetched legals of the organization\n     *\n     * @property _legals\n     * @type {Object}\n     * @default undefined\n     */\n    _legals: undefined,\n    /**\n     * the fetched settings of the organization\n     *\n     * @property _settings\n     * @type {Object}\n     * @default undefined\n     */\n    _settings: undefined,\n    availableLanguages: (0, _computed.alias)('_settings.contentLanguages'),\n    completedLanguages: (0, _computed.alias)('_legals.completedLanguages'),\n    currentLanguage: (0, _computed.or)('_legals.language', '_settings.defaultLanguage'),\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    isReadOnly: (0, _computed.not)('currentUser.isAdmin'),\n    isLoading: (0, _computed.or)('fetchLanguages.isRunning', 'fetchLegals.isRunning'),\n    /**\n     * fetches the legals of the organization in a given locale\n     *\n     * @type {Task}\n     * @function fetchLegals\n     * @returns {Void}\n     */\n    fetchLegals: (0, _emberConcurrency.task)(function* (locale) {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/legals`;\n      try {\n        const response = yield this.authenticatedFetch.fetch(url, {\n          headers: {\n            'Accept-Language': locale || this.currentLanguage || 'de'\n          }\n        });\n        if (!response || !response.ok) {\n          return (0, _rsvp.reject)();\n        }\n\n        // destructure response\n        const data = yield response.json();\n        if (!data || !data.legal) {\n          return (0, _rsvp.reject)();\n        }\n        (0, _object.set)(this, '_legals', data.legal);\n        const {\n          accessibilityLink,\n          disclaimerLink,\n          privacyLink,\n          termsLink\n        } = data.legal;\n        const legalResource = {\n          accessibilityLink,\n          disclaimerLink,\n          privacyLink,\n          termsLink\n        };\n        (0, _object.set)(this, '_legalResource', legalResource);\n        const legalsValidation = (0, _organization.organizationLegals)(this.intl);\n        const changeset = new _emberChangeset.default(legalResource, (0, _emberChangesetValidations.default)(legalsValidation), legalsValidation);\n        (0, _object.set)(this, '_changeset', changeset);\n      } catch (error) {\n        throw new Error(`[organization-legals] fetch legals error ${error}`);\n      }\n    }).drop(),\n    /**\n     * Updates the legals\n     *\n     * @type {Task}\n     * @function updateLegals\n     */\n    updateLegals: (0, _emberConcurrency.task)(function* (changeset) {\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}/legals`;\n      try {\n        yield changeset.validate();\n        if (changeset.get('isValid')) {\n          let tasks = [];\n          const accessibilityLink = changeset.get('accessibilityLink');\n          const disclaimerLink = changeset.get('disclaimerLink');\n          const privacyLink = changeset.get('privacyLink');\n          const termsLink = changeset.get('termsLink');\n          const legalsPayload = {\n            accessibilityLink,\n            disclaimerLink,\n            privacyLink,\n            termsLink\n          };\n          const request = yield this.authenticatedFetch.fetch(url, {\n            headers: {\n              'Accept-Language': this.currentLanguage || 'de'\n            },\n            method: 'PUT',\n            body: JSON.stringify(legalsPayload)\n          });\n          tasks.push(request);\n          tasks.push((0, _emberConcurrency.timeout)(250));\n          const [response] = yield (0, _emberConcurrency.all)(tasks);\n          if (!response || !response.ok) {\n            this.uiDialog.showError();\n            return (0, _rsvp.reject)();\n          }\n          const json = yield response.json();\n          if (json && json.legal && (0, _array.isArray)(json.legal.completedLanguages)) {\n            (0, _object.set)(this._legals, 'completedLanguages', json.legal.completedLanguages);\n          }\n          yield changeset.save();\n          this.uiToast.showToast({\n            title: this.intl.t('global.toasts.success.changes.title'),\n            description: this.intl.t('global.toasts.success.changes.description'),\n            type: 'success'\n          });\n        }\n      } catch (error) {\n        throw new ErrorEvent('[SETTINGS] update legals', error);\n      }\n    }).drop(),\n    actions: {\n      changeLanguage(locale) {\n        this.fetchLegals.perform(locale);\n      },\n      onClose(changeset) {\n        if (changeset && changeset.isDirty) {\n          this.uiDialog.showDiscardChangesConfirm(() => {\n            changeset.rollback();\n          });\n          return (0, _rsvp.reject)();\n        }\n        return (0, _rsvp.resolve)();\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/settings/organization-settings\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@glimmer/tracking\", \"@ember/object\", \"ember-concurrency\", \"@ember/service\", \"additive-account/mixins/global-user\"], function (_exports, _environment, _controller, _tracking, _object, _emberConcurrency, _service, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11; // the mixin is required in order to be used from the route\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const ADDITIVE_SLUG = 'additive-eu';\n  let InstancesInstanceSettingsOrganizationSettings = _exports.default = (_dec = (0, _emberConcurrency.task)(function* () {\n    try {\n      let toast = this.uiToast.showToast({\n        title: this.intl.t('routes.settings.organizationSettings.deactivationDialog.toast.deletingOrganization.title'),\n        description: this.intl.t('routes.settings.organizationSettings.deactivationDialog.toast.deletingOrganization.description'),\n        type: 'loading',\n        duration: -1\n      });\n      const url = `${_environment.default.APP.apiBaseHost}/api/organizations/${this.organizationId}`;\n      const response = yield this.authenticatedFetch.fetch(url, {\n        method: 'DELETE'\n      });\n      if (!(response !== null && response !== void 0 && response.ok)) {\n        this.uiToast.destroyToast(toast);\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.error.title'),\n          description: this.intl.t('global.toasts.error.description'),\n          type: 'error'\n        });\n        const errorJson = yield response.json();\n        if (errorJson !== null && errorJson !== void 0 && errorJson.description) {\n          this.uiDialog.showError(null, errorJson === null || errorJson === void 0 ? void 0 : errorJson.description);\n          return;\n        }\n        throw new Error('[ORGANIZATION-SETTINGS] organisation deactivation failed');\n      }\n      this.uiToast.destroyToast(toast);\n      this.uiToast.showToast({\n        title: this.intl.t('global.toasts.success.savedChanges'),\n        type: 'success'\n      });\n      this.isDeactivationDialog = false;\n      this.isSuccessDialog = true;\n    } catch (e) {\n      this.uiDialog.showError();\n    }\n  }), _class = class InstancesInstanceSettingsOrganizationSettings extends _controller.default.extend(_globalUser.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor5, this);\n      _initializerDefineProperty(this, \"router\", _descriptor6, this);\n      _initializerDefineProperty(this, \"selectedValue\", _descriptor7, this);\n      _initializerDefineProperty(this, \"isDeactivationDialog\", _descriptor8, this);\n      _initializerDefineProperty(this, \"isDeactivationConfirmed\", _descriptor9, this);\n      _initializerDefineProperty(this, \"isSuccessDialog\", _descriptor10, this);\n      _initializerDefineProperty(this, \"_deactivateOrganization\", _descriptor11, this);\n    }\n    get isDeactivatable() {\n      var _this$currentUser;\n      return (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.canBeDeactivated) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.status;\n    }\n    get organizationId() {\n      var _this$currentUser2;\n      return (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 || (_this$currentUser2 = _this$currentUser2.currentOrganization) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.id;\n    }\n    get isDeactivationDisabled() {\n      return this.selectedValue !== 'deactivate-organization' || !this.isDeactivatable;\n    }\n    get partnerOrgSlug() {\n      var _this$globalUser;\n      const isAdditive = (_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.isAdditive;\n      if (isAdditive) {\n        return ADDITIVE_SLUG;\n      }\n      const partnerSlug = this.currentUser.currentOrganization.partnerSlug;\n      return partnerSlug;\n    }\n    get partnerOrgName() {\n      var _this$globalUser2;\n      const isAdditive = (_this$globalUser2 = this.globalUser) === null || _this$globalUser2 === void 0 ? void 0 : _this$globalUser2.isAdditive;\n      if (isAdditive) {\n        return 'ADDITIVE';\n      }\n      const partnerName = this.currentUser.currentOrganization.partnerName;\n      return partnerName;\n    }\n    _onCloseDeactivationDialog() {\n      this.isDeactivationConfirmed = false;\n      this.isDeactivationDialog = false;\n    }\n    _onConfirmationChange() {\n      this.isDeactivationConfirmed = !this.isDeactivationConfirmed;\n    }\n    _openAppsRoute() {\n      window.open(`${_environment.default.APP.baseHost}/${this.organizationId}/apps`);\n    }\n    _navigateToParentOrg() {\n      this.isSuccessDialog = false;\n      const partnerSlug = this.partnerOrgSlug;\n      this.router.transitionTo('instances.instance.organization', partnerSlug);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"selectedValue\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"isDeactivationDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isDeactivationConfirmed\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"isSuccessDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"_deactivateOrganization\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_onCloseDeactivationDialog\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onCloseDeactivationDialog\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_onConfirmationChange\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_onConfirmationChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_openAppsRoute\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_openAppsRoute\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_navigateToParentOrg\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"_navigateToParentOrg\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/instances/instance/settings/room-counts\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"ember-concurrency\", \"@ember/service\", \"@ember/utils\", \"@ember/object/computed\"], function (_exports, _controller, _object, _emberConcurrency, _service, _utils, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    uiPaths: (0, _service.inject)(),\n    /**\n     * whether the loading placeholder is shown\n     *\n     * @computed showLoading\n     */\n    showLoading: (0, _computed.and)('_isLoading', 'isResponseEmpty'),\n    /**\n     * whether the roomcounts object is empty\n     *\n     * @computed isResponseEmpty\n     */\n    isResponseEmpty: (0, _computed.empty)('roomCounts'),\n    /**\n     * the current org-id\n     *\n     * @computed organizationId\n     */\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    /**\n     * whether the fetch task is running\n     *\n     * @computed _isLoading\n     */\n    _isLoading: (0, _computed.alias)('fetchRoomCounts.isRunning'),\n    _isManager: (0, _computed.alias)('currentUser.isManager'),\n    _isMember: (0, _computed.not)('currentUser.isManager'),\n    fabButtonContainer: (0, _object.computed)('_isLoading', {\n      get() {\n        return document.getElementById('settings-fab-button-container');\n      }\n    }),\n    /**\n     * the total room count\n     *\n     * @computed totalRoomCount\n     */\n    totalRoomCount: (0, _object.computed)('roomCounts.{active.[],future.[],past.[]}', {\n      get() {\n        if (this.roomCounts) {\n          const {\n            active,\n            future,\n            past\n          } = this.roomCounts;\n          return active.length + future.length + past.length;\n        }\n        return 0;\n      }\n    }),\n    /**\n     * whether all room-count sublists are empty\n     *\n     * @computed _isEmpty\n     */\n    _isEmpty: (0, _object.computed)('roomCounts.{active.[],future.[],past.[]}', '_isLoading', 'isError', {\n      get() {\n        if (this.roomCounts && !this._isLoading && !this.isError) {\n          const {\n            active,\n            future,\n            past\n          } = this.roomCounts;\n          return (0, _utils.isEmpty)(active) && (0, _utils.isEmpty)(future) && (0, _utils.isEmpty)(past);\n        }\n        return false;\n      }\n    }),\n    /**\n     * fetches all available room counts\n     *\n     * @function fetchRoomCounts\n     * @type {Task}\n     */\n    fetchRoomCounts: (0, _emberConcurrency.task)(function* () {\n      try {\n        (0, _object.set)(this, 'isError', false);\n        const adapter = this.store.adapterFor('room-count');\n        const url = adapter.buildURL('room-count');\n\n        // room counts need to be fetched using fetch since it returns prefiltered arrays\n        const response = yield this.authenticatedFetch.fetch(url);\n        if (!response || !response.ok) throw new Error('[ROOM-SETTINGS] fetch error');\n        const {\n          roomCounts\n        } = yield response.json();\n\n        // push records into store in order to use model actions\n        Object.keys(roomCounts).forEach(key => {\n          roomCounts[key] = roomCounts[key].map(roomCount => {\n            this.store.pushPayload({\n              roomCount\n            });\n            return this.store.peekRecord('room-count', roomCount.id);\n          });\n        });\n        (0, _object.set)(this, 'roomCounts', roomCounts);\n      } catch (e) {\n        (0, _object.set)(this, 'isError', true);\n      }\n    }),\n    /**\n     * deletes a given room count and reloads the list\n     *\n     * @function deleteRoomType\n     * @type {Task}\n     * @param {String} id\n     */\n    deleteRoomType: (0, _emberConcurrency.task)(function* (roomCount) {\n      try {\n        yield roomCount.destroyRecord();\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.delete.success'),\n          description: this.intl.t('global.toasts.success.changes.description'),\n          type: 'success'\n        });\n        this.fetchRoomCounts.perform();\n      } catch (e) {\n        this.uiToast.showToast({\n          title: this.intl.t('global.toasts.delete.error'),\n          description: this.intl.t('global.toasts.error.description'),\n          type: 'error'\n        });\n      }\n    }),\n    actions: {\n      delete(roomCount) {\n        const {\n          intl\n        } = this;\n        this.uiDialog.showConfirm(intl.t('routes.settings.roomCounts.deleteDialog.title'), intl.t('routes.settings.roomCounts.deleteDialog.description'), () => this.deleteRoomType.perform(roomCount), intl.t('global.actions.delete'), true, true);\n      },\n      openDetail(roomCount) {\n        (0, _object.setProperties)(this, {\n          activeRoomCount: roomCount,\n          isDetailDialog: true\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/users\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"rsvp\", \"@ember/object/computed\", \"ember-changeset\", \"ember-changeset-validations/validators\", \"ember-changeset-validations\", \"additive-account/mixins/global-user\", \"additive-account/utils/constants\"], function (_exports, _environment, _controller, _object, _service, _rsvp, _computed, _emberChangeset, _validators, _emberChangesetValidations, _globalUser, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const inviteValidation = intl => {\n    const presenceOptions = {\n      presence: true,\n      message: intl.t('global.errors.apiQueryErrors.validation.required')\n    };\n    const emailOptions = {\n      type: 'email',\n      allowBlank: true,\n      message: intl.t('global.errors.apiQueryErrors.validation.email')\n    };\n    const roleInclusionOptions = {\n      list: ['member', 'manager', 'admin', 'viewer', 'custom'],\n      message: intl.t('global.errors.apiQueryErrors.validation.roleInclusion')\n    };\n    return {\n      email: [(0, _validators.validateFormat)(emailOptions), (0, _validators.validatePresence)(presenceOptions)],\n      role: [(0, _validators.validateInclusion)(roleInclusionOptions)]\n    };\n  };\n  var _default = _exports.default = _controller.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    uiLocale: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    /**\n     * @computed {Array} globalUserRoles\n     */\n    globalUserRoles: (0, _object.computed)('currentUser.organizationUser.role', {\n      get() {\n        const role = this.currentUser && this.currentUser.organizationUser && this.currentUser.organizationUser.role;\n        return _constants.USER_INVITE_MAP[role];\n      }\n    }),\n    /**\n     * Sets the duration of the toast that is displayed when deleting a user.\n     *\n     * @property toastDuration\n     * @type {Integer}\n     */\n    toastDuration: 2500,\n    /**\n     * The name of the suborg\n     *\n     * @property organizationName\n     * @type {String}\n     */\n    organizationName: (0, _computed.alias)('currentUser.currentOrganization.name'),\n    /**\n     * The current route is the users list and not the partner users list\n     *\n     * @property partnerName\n     * @type {String}\n     */\n    isUsersRoute: (0, _computed.equal)('router.currentRouteName', 'instances.instance.users.list.index'),\n    /**\n     * The current route is the users list and not the partner users list\n     *\n     * @property partnerName\n     * @type {String}\n     */\n    hasInvitationButton: (0, _computed.and)('isUsersRoute', 'currentUser.isManager'),\n    /**\n     * Depending on the user account and the organisation the user sees different tabs.\n     *\n     * @property routes\n     * @type {Object[]}\n     */\n    routes: (0, _object.computed)('currentUser.{currentOrganization,isManager}', 'globalUser.{isAdditive,partnerSlug}', {\n      get() {\n        var _this$currentUser, _this$currentUser2, _this$globalUser, _this$globalUser2;\n        const organization = (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.currentOrganization;\n        const isManager = (_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isManager;\n        const userPartnerSlug = (_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.partnerSlug;\n        const isAdditive = (_this$globalUser2 = this.globalUser) === null || _this$globalUser2 === void 0 ? void 0 : _this$globalUser2.isAdditive;\n        if (organization.id === 'additive-eu') {\n          // dont show tabs inside the partner org\n          return false;\n        }\n        const isPartnerUser = (organization === null || organization === void 0 ? void 0 : organization.partnerSlug) && userPartnerSlug && organization.partnerSlug === userPartnerSlug;\n\n        // if child org of partner\n        if (isAdditive || isPartnerUser || isManager) {\n          const tabs = [{\n            name: organization.name,\n            path: 'instances.instance.users.list.index'\n          }, {\n            name: organization.partnerName || organization.partnerSlug || 'ADDITIVE',\n            path: 'instances.instance.users.partner'\n          }];\n          return tabs;\n        }\n        return false;\n      }\n    }),\n    languageOptions: (0, _object.computed)('uiLocale.locale', {\n      get() {\n        return _constants.APP_LANGUAGES.map(lang => ({\n          name: this.intl.t(`languageSelect.${lang}`),\n          value: lang\n        }));\n      }\n    }),\n    actions: {\n      openInvitationDialog() {\n        const intl = this.intl;\n        const validation = inviteValidation(intl);\n        const changeset = new _emberChangeset.default({\n          email: '',\n          role: '',\n          appRoles: [],\n          language: this.uiLocale.locale\n        }, (0, _emberChangesetValidations.default)(validation), validation);\n        (0, _object.set)(this, 'invitationChangeset', changeset);\n        (0, _object.set)(this, 'isInvitationDialog', true);\n      },\n      /**\n       * An invitation requires a valid email and a role the invited user\n       * will have once he accepts the invitation.\n       *\n       * in case we invite the user as 'member', after successfull invitation\n       * the current logged in user gets redirected to the users app-role mgmt.\n       */\n      inviteAction() {\n        // use a changeset for the pwd confirmation\n        if (this.isInvitingUser) {\n          return;\n        }\n        (0, _object.set)(this, 'isInvitingUser', true);\n        const changeset = this.invitationChangeset;\n        return changeset.validate().then(() => {\n          (0, _object.set)(this, 'isInvitationTouched', true);\n          if (changeset.get('isValid')) {\n            const invitationEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations${this.router.currentURL}/invite`;\n            return this.authenticatedFetch.fetch(invitationEndpoint, {\n              method: 'POST'\n            }, {\n              email: changeset.get('email'),\n              role: changeset.get('role'),\n              language: changeset.get('language')\n            }).then(response => response.json()).then(data => {\n              if (data && data.user) {\n                // push new user object inside store\n                this.store.pushPayload('user', data);\n                if (changeset.get('role') === 'member' && data.user.id) {\n                  this.transitionToRoute('instances.instance.users.list.user', data.user.id);\n                  // cleanup changeset\n                  (0, _object.set)(this, 'invitationChangeset', null);\n                }\n\n                /* TODO: Show confirmation toast or similar */\n                (0, _object.set)(this, 'isInvitationDialog', false);\n                return (0, _rsvp.resolve)(data);\n              } else {\n                return (0, _rsvp.reject)(data);\n              }\n            })\n            /**\n             * availbale errors:\n             *  - cant_invite_yourself: if the current logged in user trys to invite himself\n             *  - validation.email: if email is not valid\n             *  - already_invited: if the invited user has a pending invitation\n             */.catch(error => {\n              if (error) {\n                if (error.message === 'cant_invite_yourself') {\n                  changeset.addError('email', this.intl.t('global.errors.selfInvitation'));\n                } else if (error.message === 'validation.email') {\n                  changeset.addError('email', this.intl.t('global.errors.apiQueryErrors.validation.email'));\n                } else {\n                  changeset.addError('email', this.intl.t('global.errors.emailAlreadyExist'));\n                }\n              }\n            }).finally(() => {\n              (0, _object.set)(this, 'isInvitingUser', false);\n              return (0, _rsvp.resolve)();\n            });\n          } else {\n            (0, _object.set)(this, 'isInvitingUser', false);\n            return (0, _rsvp.resolve)();\n          }\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/users/list\", [\"exports\", \"additive-account/config/environment\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"rsvp\", \"additive-account/utils/user-management\", \"@ember/utils\", \"additive-account/mixins/global-user\"], function (_exports, _environment, _controller, _object, _service, _rsvp, _userManagement, _utils, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // the mixin is required in order to be used from the route\n  var _default = _exports.default = _controller.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    uiDialog: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    /**\n     * Fetch users task\n     *\n     * @property task\n     * @type {Task}\n     */\n    getUsers: _userManagement.getUsers,\n    /**\n     * all users\n     *\n     * @property users\n     * @type {Object[]}\n     */\n    users: undefined,\n    /**\n     *  Filter deleted users\n     *\n     * @property userCollection\n     * @type {Object[]} userCollection\n     */\n    userCollection: _object.computed.filterBy('users', 'isDeleted', false),\n    /**\n     * whether the users have loaded\n     *\n     * @property isLoading\n     * @type {Boolean}\n     */\n    isLoading: _object.computed.alias('getUsers.task.isRunning'),\n    isEmpty: (0, _object.computed)('isLoading', 'userCollection.[]', {\n      get() {\n        return !this.isLoading && (0, _utils.isEmpty)(this.userCollection);\n      }\n    }),\n    /**\n     * Returns the last segment of the current URL.\n     * @computed _currentRouteIndex\n     * @return {String} The last segment of the current URL.\n     */\n    _currentRouteIndex: (0, _object.computed)('router.currentURL', {\n      get() {\n        return this.router.currentURL.split('/').pop();\n      }\n    }),\n    /**\n     * Cancels all ongoining deleteUser tasks and restores the user object.\n     *\n     * @function cancelDeleting\n     * @param {Object} user\n     */\n    cancelDeleting(user) {\n      _userManagement.deleteUser.task.cancelAll();\n      user.rollbackAttributes();\n    },\n    actions: {\n      openDeleteDialog(user) {\n        const callback = () => {\n          _userManagement.deleteUser.task.perform(user, this);\n        };\n        this.uiDialog.showConfirm(this.intl.t('routes.users.dialogs.delete.title'), this.intl.t('routes.users.dialogs.delete.description', {\n          userName: user.fullName\n        }), callback, this.intl.t('global.actions.confirm'));\n      },\n      openResetMfaDialog(user) {\n        const callback = () => {\n          this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations${this.router.currentURL}/${user.id}/reset-mfa`, {\n            method: 'post'\n          }).then(response => {\n            if (response.status === 204) {\n              user.set('mfaEnabledAt', null);\n              user.set('canResetMfa', null);\n              const intl = this.intl;\n              this.uiToast.showToast({\n                type: 'success',\n                title: intl.t('global.toasts.mfaReset.success'),\n                duration: 2000\n              });\n            } else {\n              this.uiDialog.showError();\n            }\n          });\n        };\n        this.uiDialog.showConfirm(this.intl.t('routes.users.dialogs.resetMfa.title'), this.intl.t('routes.users.dialogs.resetMfa.description', {\n          userName: user.fullName\n        }), callback, this.intl.t('global.actions.reset'));\n      },\n      /**\n       * Deactivates an active user\n       *\n       * @function deactivateUser\n       * @async\n       * @param {String} userId\n       */\n      deactivateUser(userId) {\n        this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations${this.router.currentURL}/${userId}/deactivate`, {\n          method: 'post'\n        }).then(response => {\n          if (response.status === 204) {\n            const user = this.store.peekRecord('user', userId);\n            user.set('active', false);\n            const intl = this.intl;\n            this.uiToast.showToast({\n              type: 'success',\n              title: intl.t('global.toasts.success.changes.title'),\n              description: intl.t('global.toasts.success.changes.description'),\n              duration: 2000\n            });\n          } else {\n            this.uiDialog.showError();\n          }\n        });\n      },\n      /**\n       * Activates a decativated user\n       *\n       * @function activateUser\n       * @async\n       * @param {String} userId\n       */\n      activateUser(userId) {\n        this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations${this.router.currentURL}/${userId}/activate`, {\n          method: 'post'\n        }).then(response => {\n          if (response.status === 204) {\n            const user = this.store.peekRecord('user', userId);\n            user.set('active', true);\n            const intl = this.intl;\n            this.uiToast.showToast({\n              type: 'success',\n              title: intl.t('global.toasts.success.changes.title'),\n              description: intl.t('global.toasts.success.changes.description'),\n              duration: 2000\n            });\n          } else {\n            this.uiDialog.showError();\n          }\n        });\n      },\n      resendInvitation(userId) {\n        const invitationEndpoint = `${_environment.default.APP.apiBaseHost}/api/organizations${this.router.currentURL}`;\n        _userManagement.resendInvitation.task.perform(invitationEndpoint, userId, this).then(status => {\n          if (status === 204) {\n            // todo show success toast\n            return (0, _rsvp.resolve)();\n          } else if (status >= 400) {\n            // show toast\n          }\n        }).catch(() => {\n          // Show error toast\n        });\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/users/list/user\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/service\", \"ember-concurrency\", \"additive-account/mixins/global-user\", \"additive-account/utils/constants\", \"additive-account/helpers/can-update-role\"], function (_exports, _controller, _object, _service, _emberConcurrency, _globalUser, _constants, _canUpdateRole) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // the mixin is required in order to be consumed inside the template\n  var _default = _exports.default = _controller.default.extend(_globalUser.default, {\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    user: null,\n    activePartnerTab: undefined,\n    currentOrganization: _object.computed.alias('currentUser.currentOrganization'),\n    isLoadingUser: _object.computed.alias('getUser.isRunning'),\n    /**\n     * @computed {Array} globalUserRoles\n     */\n    globalUserRoles: (0, _object.computed)('currentUser.organizationUser.role', {\n      get() {\n        const role = this.currentUser && this.currentUser.organizationUser && this.currentUser.organizationUser.role;\n        return _constants.USER_INVITE_MAP[role];\n      }\n    }),\n    /**\n     * Disables setting of user roles if the user has role manager or below\n     * and wants to update the role of a user with same or higher role\n     *\n     * @computed isUpdateDisabled\n     */\n    isUpdateDisabled: (0, _object.computed)('currentUser.organizationUser.role', 'user.role', {\n      get() {\n        const currentUserRole = this.currentUser && this.currentUser.organizationUser && this.currentUser.organizationUser.role;\n        if (currentUserRole === _constants.ADMIN_ROLE) {\n          return false;\n        }\n        const userRole = this.user && this.user.role;\n        return userRole && !(0, _canUpdateRole.canUpdateRole)([currentUserRole, userRole]);\n      }\n    }),\n    /**\n     * Disables setting of user roles if the user has role manager or below\n     * and wants to update the partner-role of a user with same or higher role\n     *\n     * @computed isUpdateDisabled\n     */\n    isPartnerUpdateDisabled: (0, _object.computed)('currentUser.organizationUser.role', 'user.partnerRole', {\n      get() {\n        var _this$currentUser, _this$user;\n        const currentUserRole = (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.organizationUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.role;\n        if (currentUserRole === _constants.ADMIN_ROLE) {\n          return false;\n        }\n        const userRole = (_this$user = this.user) === null || _this$user === void 0 ? void 0 : _this$user.partnerRole;\n        return userRole && !(0, _canUpdateRole.canUpdateRole)([currentUserRole, userRole]);\n      }\n    }),\n    partnerTabs: (0, _object.computed)('currentOrganization.{id,isPartner,name}', {\n      get() {\n        if (!this.currentOrganization || !this.currentOrganization.isPartner && this.currentOrganization.id !== 'additive-eu') {\n          return [];\n        }\n        const tabs = [{\n          title: this.currentOrganization && this.currentOrganization.name,\n          name: 'partner-org'\n        }, {\n          title: this.intl.t('routes.users.dialogs.roleDialog.partnerSubOrgsTabName'),\n          name: 'sub-org'\n        }];\n\n        // eslint-disable-next-line ember/no-side-effects\n        (0, _object.set)(this, 'activePartnerTab', tabs[0]);\n        return tabs;\n      }\n    }),\n    getUser: (0, _emberConcurrency.task)(function* (userId) {\n      const store = this.store;\n      let user = store.peekRecord('user', userId);\n      if (!user) {\n        user = yield store.findRecord('user', userId);\n      }\n      (0, _object.set)(this, 'user', user);\n    }).restartable(),\n    actions: {\n      backAction() {\n        this.transitionToRoute('instances.instance.users');\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/instance/users/partner\", [\"exports\", \"@ember/controller\", \"additive-account/utils/user-management\", \"@ember/object\"], function (_exports, _controller, _userManagement, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    /**\n     * list of partner users\n     *\n     * @property users\n     * @type {Object[]}\n     */\n    users: undefined,\n    /**\n     * The name of the partner organisation\n     *\n     * @property partnerName\n     * @type {String}\n     */\n    partnerName: null,\n    /**\n     * Fetch Partner users task\n     *\n     * @property task\n     * @type {Task}\n     */\n    getPartnerUsers: _userManagement.getPartnerUsers,\n    /**\n     * whether the users have loaded\n     *\n     * @property isLoading\n     * @type {Boolean}\n     */\n    isLoading: _object.computed.alias('getPartnerUsers.task.isRunning')\n  });\n});","define(\"additive-account/controllers/instances/me/inbox/message\", [\"exports\", \"@ember/controller\", \"@ember/object\", \"@ember/template\", \"@ember/service\"], function (_exports, _controller, _object, _template, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    intl: (0, _service.inject)(),\n    /**\n     * Check for every line in the content of the notification whether it is\n     * an action, to display it in the template.\n     *\n     * @property messageContent\n     * @type {Object[]}\n     */\n    messageContent: (0, _object.computed)('model.data.text', {\n      get() {\n        const content = this.model && this.model.data && this.model.data.text;\n        let messageContent = [];\n        if (content) {\n          content.forEach(item => {\n            if (item.type === 'action') {\n              messageContent.push({\n                isAction: true,\n                text: item.text\n              });\n            } else {\n              messageContent.push({\n                isAction: false,\n                text: (0, _template.htmlSafe)(item.text)\n              });\n            }\n          });\n        } else {\n          messageContent.push({\n            isAction: false,\n            text: this.intl.t('routes.messages.message.notFound')\n          });\n        }\n        return messageContent;\n      }\n    }),\n    actions: {\n      back() {\n        if (this.model) {\n          const {\n            id\n          } = this.model;\n          this.send('markMessageAsRead', id);\n        }\n        this.transitionToRoute('instances.me.inbox');\n      }\n    }\n  });\n});","define(\"additive-account/controllers/instances/me/index\", [\"exports\", \"@ember/controller\", \"additive-account/config/environment\", \"@ember/service\", \"@glimmer/tracking\", \"ember-concurrency\", \"@ember/object\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/auth\", \"ember-changeset/utils/is-changeset\", \"additive-account/utils/me-actions\", \"additive-account/mixins/global-user\"], function (_exports, _controller, _environment, _service, _tracking, _emberConcurrency, _object, _emberChangeset, _emberChangesetValidations, _auth, _isChangeset, _meActions, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesMeController = _exports.default = (_class = class InstancesMeController extends _controller.default.extend(_globalUser.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"authenticatedFetch\", _descriptor, this);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"uiDialog\", _descriptor4, this);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiState\", _descriptor6, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor7, this);\n      _defineProperty(this, \"queryParams\", ['email_verification_code', 'token']);\n      _initializerDefineProperty(this, \"token\", _descriptor8, this);\n      _initializerDefineProperty(this, \"email_verification_code\", _descriptor9, this);\n      _initializerDefineProperty(this, \"isUploadingImage\", _descriptor10, this);\n      _initializerDefineProperty(this, \"isTwoFactorAuthenticationEnabled\", _descriptor11, this);\n      _initializerDefineProperty(this, \"isEnableTwoFactorAuthenticationDialog\", _descriptor12, this);\n      _initializerDefineProperty(this, \"isDisableTwoFactorAuthenticationDialog\", _descriptor13, this);\n      _initializerDefineProperty(this, \"minImageDimensions\", _descriptor14, this);\n      _initializerDefineProperty(this, \"uploadUrl\", _descriptor15, this);\n      _initializerDefineProperty(this, \"isFetchingAuthStatus\", _descriptor16, this);\n      _initializerDefineProperty(this, \"isChangePasswordDialog\", _descriptor17, this);\n      _initializerDefineProperty(this, \"isConfirmCredentialsDialog\", _descriptor18, this);\n      _initializerDefineProperty(this, \"userChangeset\", _descriptor19, this);\n      _initializerDefineProperty(this, \"isDetailDialog\", _descriptor20, this);\n    }\n    get hasConfirmedPrivileges() {\n      var _this$globalUser;\n      return (_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.isConfirmedAuth;\n    }\n    get hasEmptyImage() {\n      var _this$globalUser2;\n      return !((_this$globalUser2 = this.globalUser) !== null && _this$globalUser2 !== void 0 && _this$globalUser2.imagePath);\n    }\n    get isDeleteImageDisabled() {\n      return this.hasEmptyImage || this.isUploadingImage;\n    }\n    get isChangePasswordActionVisible() {\n      return this.globalUser.authMethod !== 'oauth';\n    }\n    get helpUrl() {\n      var _this$uiLocale;\n      const locale = ((_this$uiLocale = this.uiLocale) === null || _this$uiLocale === void 0 ? void 0 : _this$uiLocale.locale) || 'de';\n      if (locale === 'de') {\n        return 'https://knowledge.additive.eu/de/knowledge/wie-stelle-ich-den-zugriff-auf-mein-konto-wiederher';\n      } else {\n        return 'https://knowledge.additive.eu/en/knowledge/how-can-i-restore-access-to-my-account-2fa';\n      }\n    }\n    *updateUser(changeset) {\n      if ((0, _isChangeset.default)(changeset) && changeset.isDirty) {\n        yield changeset.validate();\n        if (changeset.isValid) {\n          try {\n            const language = changeset.language;\n            const response = yield this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/me`, {\n              method: 'PUT'\n            }, {\n              givenName: changeset.givenName,\n              familyName: changeset.familyName,\n              language,\n              phoneNumber: changeset.phoneNumber,\n              phoneNumberCountry: changeset.phoneNumberCountry,\n              meetingLink: changeset.meetingLink\n            });\n            if (!response || response.status !== 200) throw new Error();\n            const {\n              user\n            } = yield response.json();\n\n            // Switch locale if user changed language\n            if (language !== this.uiLocale.locale) {\n              yield this.uiLocale.setLocale(language);\n            }\n            this.globalUser = user;\n            this.isDetailDialog = false;\n          } catch (e) {\n            this.uiDialog.showAlert(this.intl.t('global.dialogs.billingsError.title'), this.intl.t('global.dialogs.billingsError.description', {\n              htmlSafe: true\n            }));\n          }\n        }\n      }\n    }\n    *updateCredentials() {\n      this.isFetchingAuthStatus = true;\n      const validation = (0, _auth.changePasswordValidation)(this.intl, true);\n      const userChangeset = new _emberChangeset.default({\n        password: '',\n        passwordConfirmation: ''\n      }, (0, _emberChangesetValidations.default)(validation), validation);\n      this.userChangeset = userChangeset;\n      this.isChangePasswordDialog = true;\n      const user = yield this.currentUser.getUser();\n      if (user && user.isConfirmedAuth === true) {\n        this.isFetchingAuthStatus = false;\n      } else {\n        this.isConfirmCredentialsDialog = true;\n      }\n    }\n    *confirmPassword() {\n      const changeset = this.userChangeset;\n      yield changeset.validate('password');\n      if (changeset.isValid) {\n        try {\n          yield _meActions.refreshCredentials.task.perform(changeset.password, this);\n          changeset.rollback();\n          this.isFetchingAuthStatus = false;\n          this.isConfirmCredentialsDialog = false;\n        } catch (e) {\n          const errorMessage = this.intl.t('global.errors.passwordInvalid');\n          changeset.addError('password', errorMessage);\n        }\n      }\n    }\n    *updatePassword() {\n      const changeset = this.userChangeset;\n      yield changeset.validate();\n      if (changeset.isValid) {\n        try {\n          yield _meActions.updatePassword.task.perform(changeset.password, this);\n          this.isChangePasswordDialog = false;\n          this.uiToast.showToast({\n            type: 'success',\n            title: this.intl.t('global.toasts.success.changes.title'),\n            description: this.intl.t('global.toasts.success.changes.description'),\n            duration: 2000\n          });\n        } catch (e) {\n          const {\n            status\n          } = e !== null && e !== void 0 ? e : {};\n          if (status === 422) {\n            const error = yield e.json();\n            if (error.errors && error.errors.password) {\n              const errors = error.errors.password;\n              Object.keys(errors).forEach(key => {\n                changeset.addError('password', this.intl.t(`global.errors.apiQueryErrors.${errors[key]}`));\n              });\n            }\n          } else if (status === 403) {\n            changeset.rollback();\n            this.isConfirmCredentialsDialog = true;\n          }\n        }\n      }\n    }\n    didInsert() {\n      var _this$globalUser3;\n      this.isTwoFactorAuthenticationEnabled = (_this$globalUser3 = this.globalUser) !== null && _this$globalUser3 !== void 0 && _this$globalUser3.mfaEnabledAt ? true : false;\n    }\n    closeCredentialsConfirmation() {\n      this.isChangePasswordDialog = false;\n      this.isConfirmCredentialsDialog = false;\n    }\n    uploadImage(imageUrl, isUploading) {\n      this.globalUser.imagePath = imageUrl;\n      this.isUploadingImage = isUploading;\n    }\n    onDisableTwoFactorAuthentication() {\n      this.isTwoFactorAuthenticationEnabled = false;\n      this.uiToast.showToast({\n        type: 'success',\n        title: this.intl.t('me.disableTwoFactorAuthentication.successToast'),\n        duration: 2000\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"authenticatedFetch\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"uiDialog\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiState\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"token\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"email_verification_code\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"isUploadingImage\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"isTwoFactorAuthenticationEnabled\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"isEnableTwoFactorAuthenticationDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"isDisableTwoFactorAuthenticationDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"minImageDimensions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return [512, 512];\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"uploadUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return `${_environment.default.APP.apiBaseHost}/api/me/image`;\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"isFetchingAuthStatus\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"isChangePasswordDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"isConfirmCredentialsDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"userChangeset\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return null;\n    }\n  }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"isDetailDialog\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"updateUser\", [_emberConcurrency.task], Object.getOwnPropertyDescriptor(_class.prototype, \"updateUser\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateCredentials\", [_emberConcurrency.task], Object.getOwnPropertyDescriptor(_class.prototype, \"updateCredentials\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"confirmPassword\", [_emberConcurrency.dropTask], Object.getOwnPropertyDescriptor(_class.prototype, \"confirmPassword\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updatePassword\", [_emberConcurrency.dropTask], Object.getOwnPropertyDescriptor(_class.prototype, \"updatePassword\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"didInsert\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"didInsert\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"closeCredentialsConfirmation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"closeCredentialsConfirmation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"uploadImage\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"uploadImage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDisableTwoFactorAuthentication\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onDisableTwoFactorAuthentication\"), _class.prototype), _class);\n});","define(\"additive-account/controllers/invite\", [\"exports\", \"@ember/controller\"], function (_exports, _controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _controller.default.extend({\n    queryParams: ['token'],\n    token: null\n  });\n});","define(\"additive-account/data-adapter\", [\"exports\", \"@ember-data/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _debug.default;\n    }\n  });\n});","define(\"additive-account/formats\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    time: {\n      hhmm: {\n        hour: 'numeric',\n        minute: 'numeric',\n        hour12: false\n      },\n      hhmmss: {\n        hour: 'numeric',\n        minute: 'numeric',\n        second: 'numeric',\n        hour12: false\n      }\n    },\n    date: {\n      ddmmyyyy: {\n        day: '2-digit',\n        month: '2-digit',\n        year: 'numeric'\n      }\n    },\n    number: {\n      EUR: {\n        style: 'currency',\n        currency: 'EUR',\n        minimumFractionDigits: 2,\n        maximumFractionDigits: 2\n      }\n    }\n  };\n});","define(\"additive-account/helpers/-element\", [\"exports\", \"ember-element-helper/helpers/-element\"], function (_exports, _element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _element.default;\n    }\n  });\n});","define(\"additive-account/helpers/aa-app-modules\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.aaAppModules = aaAppModules;\n  _exports.default = void 0;\n  /**\n   * Helper to format modules display\n   *\n   * @export\n   * @param {Array} modules\n   * @returns {String}\n   */\n  function aaAppModules(_ref) {\n    let [modules] = _ref;\n    let formatted = [];\n    modules === null || modules === void 0 || modules.forEach(element => {\n      formatted.push(element.name);\n    });\n    if (formatted.length) return formatted.join(', ');\n    return '';\n  }\n  var _default = _exports.default = (0, _helper.helper)(aaAppModules);\n});","define(\"additive-account/helpers/aa-app-plan\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Displays either the default plan translation or the actual app-plan\n   * @class aa-app-plan\n   * @module account-helpers\n   */\n  var _default = _exports.default = _helper.default.extend({\n    intl: (0, _service.inject)(),\n    compute(_ref) {\n      let [app] = _ref;\n      const {\n        id,\n        planName\n      } = app;\n      const intl = this.intl;\n      return planName ? intl.t(`appDetails.${id}.plans.${planName}.title`) : intl.t(`appDetails.plans.defaultPlan`);\n    }\n  });\n});","define(\"additive-account/helpers/access-guard\", [\"exports\", \"@additive-apps/auth/helpers/access-guard\"], function (_exports, _accessGuard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"accessGuard\", {\n    enumerable: true,\n    get: function get() {\n      return _accessGuard.accessGuard;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _accessGuard.default;\n    }\n  });\n});","define(\"additive-account/helpers/and\", [\"exports\", \"ember-truth-helpers/helpers/and\"], function (_exports, _and) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function get() {\n      return _and.and;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _and.default;\n    }\n  });\n});","define(\"additive-account/helpers/app-assets\", [\"exports\", \"@ember/component/helper\", \"additive-account/config/environment\"], function (_exports, _helper, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.appAssets = appAssets;\n  _exports.default = void 0;\n  const ASSETS_URL = `${_environment.default.APP.cdnHost}/shared-assets`;\n\n  /**\n   * Return a apps assets by it's id\n   *\n   * Currently only 'logo' is supported as type.\n   *\n   * @param {String} params the type of the desired asset\n   * @param {Int} id the app id\n   * @return {String}\n   */\n  function appAssets(params, _ref) {\n    let {\n      id\n    } = _ref;\n    if (params.indexOf('additive') > -1) {\n      // TODO: The desired file-type should be passed in as well\n      return `${ASSETS_URL}/app-logos/additive-apps-logo.svg`;\n    } else if (!id) {\n      // Change to return a default asset\n      return '';\n    }\n    if (params.indexOf('logo') > -1) {\n      // TODO: The desired file-type should be passed in as well\n      return `${ASSETS_URL}/app-logos/app-${id}.png`;\n    }\n    if (params.indexOf('svg') > -1) {\n      // TODO: The desired file-type should be passed in as well\n      return `${ASSETS_URL}/app-logos/svg/app-${id}.svg`;\n    }\n    return params;\n  }\n\n  /**\n   * ```hbs\n   * {{ui-app-selection assetType appId}}\n   * ```\n   * @class app-assets\n   */\n  var _default = _exports.default = (0, _helper.helper)(appAssets);\n});","define(\"additive-account/helpers/app-version\", [\"exports\", \"@ember/component/helper\", \"additive-account/config/environment\", \"ember-cli-app-version/utils/regexp\"], function (_exports, _helper, _environment, _regexp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.appVersion = appVersion;\n  _exports.default = void 0;\n  function appVersion(_) {\n    let hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    const version = _environment.default.APP.version;\n    // e.g. 1.0.0-alpha.1+4jds75hf\n\n    // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility\n    let versionOnly = hash.versionOnly || hash.hideSha;\n    let shaOnly = hash.shaOnly || hash.hideVersion;\n    let match = null;\n    if (versionOnly) {\n      if (hash.showExtended) {\n        match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1\n      }\n      // Fallback to just version\n      if (!match) {\n        match = version.match(_regexp.versionRegExp); // 1.0.0\n      }\n    }\n    if (shaOnly) {\n      match = version.match(_regexp.shaRegExp); // 4jds75hf\n    }\n    return match ? match[0] : version;\n  }\n  var _default = _exports.default = (0, _helper.helper)(appVersion);\n});","define(\"additive-account/helpers/append\", [\"exports\", \"ember-composable-helpers/helpers/append\"], function (_exports, _append) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"append\", {\n    enumerable: true,\n    get: function get() {\n      return _append.append;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _append.default;\n    }\n  });\n});","define(\"additive-account/helpers/array-find\", [\"exports\", \"@additive-apps/utils/helpers/array-find\"], function (_exports, _arrayFind) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"arrayFind\", {\n    enumerable: true,\n    get: function get() {\n      return _arrayFind.arrayFind;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _arrayFind.default;\n    }\n  });\n});","define(\"additive-account/helpers/assign\", [\"exports\", \"ember-assign-helper/helpers/assign\"], function (_exports, _assign) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"assign\", {\n    enumerable: true,\n    get: function get() {\n      return _assign.assign;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _assign.default;\n    }\n  });\n});","define(\"additive-account/helpers/can-update-role\", [\"exports\", \"@ember/component/helper\", \"additive-account/utils/constants\"], function (_exports, _helper, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.canUpdateRole = canUpdateRole;\n  _exports.default = void 0;\n  /**\n   * Checks if the current logged in user has the necessary right\n   * to update an other user based on it's role.\n   *\n   * @param {String} userRole the current logged in users role\n   * @param {String} role the role to be updated\n   */\n  function canUpdateRole(_ref) {\n    let [userRole, role] = _ref;\n    const map = _constants.ROLE_UPDATE_MAP[userRole];\n    return (map || []).indexOf(role) > -1;\n  }\n  var _default = _exports.default = (0, _helper.helper)(canUpdateRole);\n});","define(\"additive-account/helpers/cancel-all\", [\"exports\", \"ember-concurrency/helpers/cancel-all\"], function (_exports, _cancelAll) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _cancelAll.default;\n    }\n  });\n});","define(\"additive-account/helpers/changeset-get\", [\"exports\", \"ember-changeset/helpers/changeset-get\"], function (_exports, _changesetGet) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _changesetGet.default;\n    }\n  });\n});","define(\"additive-account/helpers/changeset-set\", [\"exports\", \"ember-changeset/helpers/changeset-set\"], function (_exports, _changesetSet) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"changesetSet\", {\n    enumerable: true,\n    get: function get() {\n      return _changesetSet.changesetSet;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _changesetSet.default;\n    }\n  });\n});","define(\"additive-account/helpers/changeset\", [\"exports\", \"ember-changeset-validations/helpers/changeset\"], function (_exports, _changeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"changeset\", {\n    enumerable: true,\n    get: function get() {\n      return _changeset.changeset;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _changeset.default;\n    }\n  });\n});","define(\"additive-account/helpers/chunk\", [\"exports\", \"ember-composable-helpers/helpers/chunk\"], function (_exports, _chunk) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"chunk\", {\n    enumerable: true,\n    get: function get() {\n      return _chunk.chunk;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _chunk.default;\n    }\n  });\n});","define(\"additive-account/helpers/compact\", [\"exports\", \"ember-composable-helpers/helpers/compact\"], function (_exports, _compact) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _compact.default;\n    }\n  });\n});","define(\"additive-account/helpers/compute\", [\"exports\", \"ember-composable-helpers/helpers/compute\"], function (_exports, _compute) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"compute\", {\n    enumerable: true,\n    get: function get() {\n      return _compute.compute;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _compute.default;\n    }\n  });\n});","define(\"additive-account/helpers/contains\", [\"exports\", \"ember-composable-helpers/helpers/contains\"], function (_exports, _contains) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"contains\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.contains;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.default;\n    }\n  });\n});","define(\"additive-account/helpers/country-name\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.countryName = countryName;\n  _exports.default = void 0;\n  /**\n   * Returns the name of the country given the country code and\n   * an array of country objects containing the code and name property\n   *\n   * @export\n   * @param {*} params\n   * @returns {String} country name\n   */\n  function countryName(params) {\n    const code = params[0];\n    const countries = params[1];\n    if (countries && countries.length) {\n      const country = countries.find(country => country.code === code);\n      return country ? country.name : code;\n    }\n    return code;\n  }\n  var _default = _exports.default = (0, _helper.helper)(countryName);\n});","define(\"additive-account/helpers/currency-symbol\", [\"exports\", \"@additive-apps/utils/helpers/currency-symbol\"], function (_exports, _currencySymbol) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"currencySymbol\", {\n    enumerable: true,\n    get: function get() {\n      return _currencySymbol.currencySymbol;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _currencySymbol.default;\n    }\n  });\n});","define(\"additive-account/helpers/currency\", [\"exports\", \"@additive-apps/utils/helpers/currency\"], function (_exports, _currency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"currency\", {\n    enumerable: true,\n    get: function get() {\n      return _currency.currency;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _currency.default;\n    }\n  });\n});","define(\"additive-account/helpers/date-format\", [\"exports\", \"@additive-apps/utils/helpers/date-format\"], function (_exports, _dateFormat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"dateFormat\", {\n    enumerable: true,\n    get: function get() {\n      return _dateFormat.dateFormat;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dateFormat.default;\n    }\n  });\n});","define(\"additive-account/helpers/dec\", [\"exports\", \"ember-composable-helpers/helpers/dec\"], function (_exports, _dec) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"dec\", {\n    enumerable: true,\n    get: function get() {\n      return _dec.dec;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dec.default;\n    }\n  });\n});","define(\"additive-account/helpers/drop\", [\"exports\", \"ember-composable-helpers/helpers/drop\"], function (_exports, _drop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _drop.default;\n    }\n  });\n});","define(\"additive-account/helpers/element\", [\"exports\", \"ember-element-helper/helpers/element\"], function (_exports, _element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _element.default;\n    }\n  });\n});","define(\"additive-account/helpers/ember-power-calendar-day-classes\", [\"exports\", \"ember-power-calendar/helpers/ember-power-calendar-day-classes\"], function (_exports, _emberPowerCalendarDayClasses) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerCalendarDayClasses.default;\n    }\n  });\n  Object.defineProperty(_exports, \"emberPowerCalendarDayClasses\", {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerCalendarDayClasses.emberPowerCalendarDayClasses;\n    }\n  });\n});","define(\"additive-account/helpers/ensure-safe-component\", [\"exports\", \"@embroider/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _util.EnsureSafeComponentHelper;\n    }\n  });\n});","define(\"additive-account/helpers/entries\", [\"exports\", \"ember-composable-helpers/helpers/entries\"], function (_exports, _entries) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _entries.default;\n    }\n  });\n  Object.defineProperty(_exports, \"entries\", {\n    enumerable: true,\n    get: function get() {\n      return _entries.entries;\n    }\n  });\n});","define(\"additive-account/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/eq\"], function (_exports, _eq) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _eq.default;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function get() {\n      return _eq.equal;\n    }\n  });\n});","define(\"additive-account/helpers/equal\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.equal = equal;\n  function equal(params) {\n    return params[0] === params[1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(equal);\n});","define(\"additive-account/helpers/filter-by\", [\"exports\", \"ember-composable-helpers/helpers/filter-by\"], function (_exports, _filterBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterBy.default;\n    }\n  });\n});","define(\"additive-account/helpers/filter\", [\"exports\", \"ember-composable-helpers/helpers/filter\"], function (_exports, _filter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filter.default;\n    }\n  });\n});","define(\"additive-account/helpers/find-by\", [\"exports\", \"ember-composable-helpers/helpers/find-by\"], function (_exports, _findBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _findBy.default;\n    }\n  });\n});","define(\"additive-account/helpers/first-existing\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.firstExisting = firstExisting;\n  /**\n   * Pass arguments, the first of the arguments (starting at index 0) which exists will be passed back\n   */\n  function firstExisting(params) {\n    if (!params) {\n      return;\n    }\n    let found = null;\n    params.some(param => {\n      if (param) {\n        found = param;\n        return true;\n      }\n      return false;\n    });\n    return found;\n  }\n  var _default = _exports.default = (0, _helper.helper)(firstExisting);\n});","define(\"additive-account/helpers/flatten\", [\"exports\", \"ember-composable-helpers/helpers/flatten\"], function (_exports, _flatten) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _flatten.default;\n    }\n  });\n  Object.defineProperty(_exports, \"flatten\", {\n    enumerable: true,\n    get: function get() {\n      return _flatten.flatten;\n    }\n  });\n});","define(\"additive-account/helpers/format-date-month\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.formatDateMonth = formatDateMonth;\n  /**\n   * Helper to format a date into the format \"month-name YYYY\". The month name is returned\n   * in the language defined as the locale param.\n   *\n   * @export\n   * @param {Date} date\n   * @param {String} locale\n   * @returns {String}\n   */\n  function formatDateMonth(_ref) {\n    let [date, locale] = _ref;\n    const objDate = new Date(date);\n    const month = objDate.toLocaleString(locale, {\n      month: 'long',\n      year: 'numeric'\n    });\n    return month;\n  }\n  var _default = _exports.default = (0, _helper.helper)(formatDateMonth);\n});","define(\"additive-account/helpers/format-date-time\", [\"exports\", \"@additive-apps/utils/helpers/format-date-time\"], function (_exports, _formatDateTime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatDateTime.default;\n    }\n  });\n  Object.defineProperty(_exports, \"formatDateTime\", {\n    enumerable: true,\n    get: function get() {\n      return _formatDateTime.formatDateTime;\n    }\n  });\n});","define(\"additive-account/helpers/format-date\", [\"exports\", \"ember-intl/helpers/format-date\"], function (_exports, _formatDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatDate.default;\n    }\n  });\n});","define(\"additive-account/helpers/format-message\", [\"exports\", \"ember-intl/helpers/format-message\"], function (_exports, _formatMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatMessage.default;\n    }\n  });\n});","define(\"additive-account/helpers/format-number\", [\"exports\", \"ember-intl/helpers/format-number\"], function (_exports, _formatNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatNumber.default;\n    }\n  });\n});","define(\"additive-account/helpers/format-relative\", [\"exports\", \"ember-intl/helpers/format-relative\"], function (_exports, _formatRelative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatRelative.default;\n    }\n  });\n});","define(\"additive-account/helpers/format-time\", [\"exports\", \"ember-intl/helpers/format-time\"], function (_exports, _formatTime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatTime.default;\n    }\n  });\n});","define(\"additive-account/helpers/from-entries\", [\"exports\", \"ember-composable-helpers/helpers/from-entries\"], function (_exports, _fromEntries) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _fromEntries.default;\n    }\n  });\n  Object.defineProperty(_exports, \"fromEntries\", {\n    enumerable: true,\n    get: function get() {\n      return _fromEntries.fromEntries;\n    }\n  });\n});","define(\"additive-account/helpers/group-by\", [\"exports\", \"ember-composable-helpers/helpers/group-by\"], function (_exports, _groupBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _groupBy.default;\n    }\n  });\n});","define(\"additive-account/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _gt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"gt\", {\n    enumerable: true,\n    get: function get() {\n      return _gt.gt;\n    }\n  });\n});","define(\"additive-account/helpers/gte\", [\"exports\", \"ember-truth-helpers/helpers/gte\"], function (_exports, _gte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _gte.default;\n    }\n  });\n  Object.defineProperty(_exports, \"gte\", {\n    enumerable: true,\n    get: function get() {\n      return _gte.gte;\n    }\n  });\n});","define(\"additive-account/helpers/has-next\", [\"exports\", \"ember-composable-helpers/helpers/has-next\"], function (_exports, _hasNext) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hasNext.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasNext\", {\n    enumerable: true,\n    get: function get() {\n      return _hasNext.hasNext;\n    }\n  });\n});","define(\"additive-account/helpers/has-previous\", [\"exports\", \"ember-composable-helpers/helpers/has-previous\"], function (_exports, _hasPrevious) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hasPrevious.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPrevious\", {\n    enumerable: true,\n    get: function get() {\n      return _hasPrevious.hasPrevious;\n    }\n  });\n});","define(\"additive-account/helpers/inc\", [\"exports\", \"ember-composable-helpers/helpers/inc\"], function (_exports, _inc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"inc\", {\n    enumerable: true,\n    get: function get() {\n      return _inc.inc;\n    }\n  });\n});","define(\"additive-account/helpers/includes\", [\"exports\", \"@additive-apps/utils/helpers/includes\"], function (_exports, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _includes.default;\n    }\n  });\n  Object.defineProperty(_exports, \"includes\", {\n    enumerable: true,\n    get: function get() {\n      return _includes.includes;\n    }\n  });\n});","define(\"additive-account/helpers/intersect\", [\"exports\", \"ember-composable-helpers/helpers/intersect\"], function (_exports, _intersect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _intersect.default;\n    }\n  });\n});","define(\"additive-account/helpers/invoke\", [\"exports\", \"ember-composable-helpers/helpers/invoke\"], function (_exports, _invoke) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _invoke.default;\n    }\n  });\n  Object.defineProperty(_exports, \"invoke\", {\n    enumerable: true,\n    get: function get() {\n      return _invoke.invoke;\n    }\n  });\n});","define(\"additive-account/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isArray.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function get() {\n      return _isArray.isArray;\n    }\n  });\n});","define(\"additive-account/helpers/is-empty\", [\"exports\", \"ember-truth-helpers/helpers/is-empty\"], function (_exports, _isEmpty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isEmpty.default;\n    }\n  });\n});","define(\"additive-account/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function get() {\n      return _isEqual.isEqual;\n    }\n  });\n});","define(\"additive-account/helpers/is-none\", [\"exports\", \"@additive-apps/utils/helpers/is-none\"], function (_exports, _isNone) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isNone.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isNone\", {\n    enumerable: true,\n    get: function get() {\n      return _isNone.isNone;\n    }\n  });\n});","define(\"additive-account/helpers/join\", [\"exports\", \"ember-composable-helpers/helpers/join\"], function (_exports, _join) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _join.default;\n    }\n  });\n});","define(\"additive-account/helpers/keys\", [\"exports\", \"ember-composable-helpers/helpers/keys\"], function (_exports, _keys) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _keys.default;\n    }\n  });\n  Object.defineProperty(_exports, \"keys\", {\n    enumerable: true,\n    get: function get() {\n      return _keys.keys;\n    }\n  });\n});","define(\"additive-account/helpers/loc\", [\"exports\", \"@ember/string/helpers/loc\"], function (_exports, _loc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _loc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"loc\", {\n    enumerable: true,\n    get: function get() {\n      return _loc.loc;\n    }\n  });\n});","define(\"additive-account/helpers/loop\", [\"exports\", \"@additive-apps/utils/helpers/loop\"], function (_exports, _loop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _loop.default;\n    }\n  });\n  Object.defineProperty(_exports, \"loop\", {\n    enumerable: true,\n    get: function get() {\n      return _loop.loop;\n    }\n  });\n});","define(\"additive-account/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lt\", {\n    enumerable: true,\n    get: function get() {\n      return _lt.lt;\n    }\n  });\n});","define(\"additive-account/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lte.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lte\", {\n    enumerable: true,\n    get: function get() {\n      return _lte.lte;\n    }\n  });\n});","define(\"additive-account/helpers/map-by\", [\"exports\", \"ember-composable-helpers/helpers/map-by\"], function (_exports, _mapBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mapBy.default;\n    }\n  });\n});","define(\"additive-account/helpers/map\", [\"exports\", \"ember-composable-helpers/helpers/map\"], function (_exports, _map) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _map.default;\n    }\n  });\n});","define(\"additive-account/helpers/minus\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.minus = minus;\n  function minus(params) {\n    return params[0] - params[1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(minus);\n});","define(\"additive-account/helpers/next\", [\"exports\", \"ember-composable-helpers/helpers/next\"], function (_exports, _next) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _next.default;\n    }\n  });\n  Object.defineProperty(_exports, \"next\", {\n    enumerable: true,\n    get: function get() {\n      return _next.next;\n    }\n  });\n});","define(\"additive-account/helpers/noop\", [\"exports\", \"ember-composable-helpers/helpers/noop\"], function (_exports, _noop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _noop.default;\n    }\n  });\n  Object.defineProperty(_exports, \"noop\", {\n    enumerable: true,\n    get: function get() {\n      return _noop.noop;\n    }\n  });\n});","define(\"additive-account/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-eq\"], function (_exports, _notEq) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _notEq.default;\n    }\n  });\n  Object.defineProperty(_exports, \"notEqualHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _notEq.notEqualHelper;\n    }\n  });\n});","define(\"additive-account/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _not.default;\n    }\n  });\n  Object.defineProperty(_exports, \"not\", {\n    enumerable: true,\n    get: function get() {\n      return _not.not;\n    }\n  });\n});","define(\"additive-account/helpers/object-at\", [\"exports\", \"ember-composable-helpers/helpers/object-at\"], function (_exports, _objectAt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _objectAt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"objectAt\", {\n    enumerable: true,\n    get: function get() {\n      return _objectAt.objectAt;\n    }\n  });\n});","define(\"additive-account/helpers/optional\", [\"exports\", \"ember-composable-helpers/helpers/optional\"], function (_exports, _optional) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(_exports, \"optional\", {\n    enumerable: true,\n    get: function get() {\n      return _optional.optional;\n    }\n  });\n});","define(\"additive-account/helpers/or\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.or = or;\n  function or(params /*, hash*/) {\n    return params.reduce((value, currentValue) => value || currentValue);\n  }\n  var _default = _exports.default = (0, _helper.helper)(or);\n});","define(\"additive-account/helpers/perform\", [\"exports\", \"ember-concurrency/helpers/perform\"], function (_exports, _perform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _perform.default;\n    }\n  });\n});","define(\"additive-account/helpers/pipe-action\", [\"exports\", \"ember-composable-helpers/helpers/pipe-action\"], function (_exports, _pipeAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pipeAction.default;\n    }\n  });\n});","define(\"additive-account/helpers/pipe\", [\"exports\", \"ember-composable-helpers/helpers/pipe\"], function (_exports, _pipe) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pipe.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pipe\", {\n    enumerable: true,\n    get: function get() {\n      return _pipe.pipe;\n    }\n  });\n});","define(\"additive-account/helpers/pluralize\", [\"exports\", \"ember-inflector/lib/helpers/pluralize\"], function (_exports, _pluralize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _pluralize.default;\n});","define(\"additive-account/helpers/power-calendar-format-date\", [\"exports\", \"ember-power-calendar/helpers/power-calendar-format-date\"], function (_exports, _powerCalendarFormatDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarFormatDate.default;\n    }\n  });\n  Object.defineProperty(_exports, \"powerCalendarFormatDate\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarFormatDate.powerCalendarFormatDate;\n    }\n  });\n});","define(\"additive-account/helpers/previous\", [\"exports\", \"ember-composable-helpers/helpers/previous\"], function (_exports, _previous) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _previous.default;\n    }\n  });\n  Object.defineProperty(_exports, \"previous\", {\n    enumerable: true,\n    get: function get() {\n      return _previous.previous;\n    }\n  });\n});","define(\"additive-account/helpers/queue\", [\"exports\", \"ember-composable-helpers/helpers/queue\"], function (_exports, _queue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _queue.default;\n    }\n  });\n  Object.defineProperty(_exports, \"queue\", {\n    enumerable: true,\n    get: function get() {\n      return _queue.queue;\n    }\n  });\n});","define(\"additive-account/helpers/range\", [\"exports\", \"ember-composable-helpers/helpers/range\"], function (_exports, _range) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _range.default;\n    }\n  });\n  Object.defineProperty(_exports, \"range\", {\n    enumerable: true,\n    get: function get() {\n      return _range.range;\n    }\n  });\n});","define(\"additive-account/helpers/reduce\", [\"exports\", \"ember-composable-helpers/helpers/reduce\"], function (_exports, _reduce) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _reduce.default;\n    }\n  });\n});","define(\"additive-account/helpers/reject-by\", [\"exports\", \"ember-composable-helpers/helpers/reject-by\"], function (_exports, _rejectBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rejectBy.default;\n    }\n  });\n});","define(\"additive-account/helpers/repeat\", [\"exports\", \"ember-composable-helpers/helpers/repeat\"], function (_exports, _repeat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _repeat.default;\n    }\n  });\n  Object.defineProperty(_exports, \"repeat\", {\n    enumerable: true,\n    get: function get() {\n      return _repeat.repeat;\n    }\n  });\n});","define(\"additive-account/helpers/reverse\", [\"exports\", \"ember-composable-helpers/helpers/reverse\"], function (_exports, _reverse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _reverse.default;\n    }\n  });\n});","define(\"additive-account/helpers/shuffle\", [\"exports\", \"ember-composable-helpers/helpers/shuffle\"], function (_exports, _shuffle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _shuffle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"shuffle\", {\n    enumerable: true,\n    get: function get() {\n      return _shuffle.shuffle;\n    }\n  });\n});","define(\"additive-account/helpers/singularize\", [\"exports\", \"ember-inflector/lib/helpers/singularize\"], function (_exports, _singularize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _singularize.default;\n});","define(\"additive-account/helpers/slice\", [\"exports\", \"ember-composable-helpers/helpers/slice\"], function (_exports, _slice) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _slice.default;\n    }\n  });\n});","define(\"additive-account/helpers/sort-by\", [\"exports\", \"ember-composable-helpers/helpers/sort-by\"], function (_exports, _sortBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sortBy.default;\n    }\n  });\n});","define(\"additive-account/helpers/svg-jar\", [\"exports\", \"ember-svg-jar/helpers/svg-jar\"], function (_exports, _svgJar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _svgJar.default;\n    }\n  });\n  Object.defineProperty(_exports, \"svgJar\", {\n    enumerable: true,\n    get: function get() {\n      return _svgJar.svgJar;\n    }\n  });\n});","define(\"additive-account/helpers/t\", [\"exports\", \"ember-intl/helpers/t\"], function (_exports, _t) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _t.default;\n    }\n  });\n});","define(\"additive-account/helpers/take\", [\"exports\", \"ember-composable-helpers/helpers/take\"], function (_exports, _take) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _take.default;\n    }\n  });\n});","define(\"additive-account/helpers/task\", [\"exports\", \"ember-concurrency/helpers/task\"], function (_exports, _task) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _task.default;\n    }\n  });\n});","define(\"additive-account/helpers/toggle-action\", [\"exports\", \"ember-composable-helpers/helpers/toggle-action\"], function (_exports, _toggleAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toggleAction.default;\n    }\n  });\n});","define(\"additive-account/helpers/toggle\", [\"exports\", \"ember-composable-helpers/helpers/toggle\"], function (_exports, _toggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toggle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"toggle\", {\n    enumerable: true,\n    get: function get() {\n      return _toggle.toggle;\n    }\n  });\n});","define(\"additive-account/helpers/ui-array-includes\", [\"exports\", \"@additive-apps/ui/helpers/ui-array-includes\"], function (_exports, _uiArrayIncludes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiArrayIncludes.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiArrayIncludes\", {\n    enumerable: true,\n    get: function get() {\n      return _uiArrayIncludes.uiArrayIncludes;\n    }\n  });\n});","define(\"additive-account/helpers/ui-country-name\", [\"exports\", \"@additive-apps/ui/helpers/ui-country-name\"], function (_exports, _uiCountryName) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiCountryName.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiCountryName\", {\n    enumerable: true,\n    get: function get() {\n      return _uiCountryName.uiCountryName;\n    }\n  });\n});","define(\"additive-account/helpers/ui-days-left\", [\"exports\", \"@additive-apps/ui/helpers/ui-days-left\"], function (_exports, _uiDaysLeft) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDaysLeft.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiDaysLeft\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDaysLeft.uiDaysLeft;\n    }\n  });\n});","define(\"additive-account/helpers/ui-format-currency\", [\"exports\", \"@additive-apps/ui/helpers/ui-format-currency\"], function (_exports, _uiFormatCurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFormatCurrency.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiFormatCurrency\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFormatCurrency.uiFormatCurrency;\n    }\n  });\n});","define(\"additive-account/helpers/ui-optional-action\", [\"exports\", \"@additive-apps/ui/helpers/ui-optional-action\"], function (_exports, _uiOptionalAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiOptionalAction.default;\n    }\n  });\n});","define(\"additive-account/helpers/ui-parse-int\", [\"exports\", \"@additive-apps/ui/helpers/ui-parse-int\"], function (_exports, _uiParseInt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiParseInt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiParseInt\", {\n    enumerable: true,\n    get: function get() {\n      return _uiParseInt.uiParseInt;\n    }\n  });\n});","define(\"additive-account/helpers/ui-synced-value\", [\"exports\", \"@additive-apps/utils/helpers/ui-synced-value\"], function (_exports, _uiSyncedValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSyncedValue.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiSyncedValue\", {\n    enumerable: true,\n    get: function get() {\n      return _uiSyncedValue.uiSyncedValue;\n    }\n  });\n});","define(\"additive-account/helpers/ui-to-string\", [\"exports\", \"@additive-apps/ui/helpers/ui-to-string\"], function (_exports, _uiToString) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToString.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uiToString\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToString.uiToString;\n    }\n  });\n});","define(\"additive-account/helpers/union\", [\"exports\", \"ember-composable-helpers/helpers/union\"], function (_exports, _union) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _union.default;\n    }\n  });\n});","define(\"additive-account/helpers/user-role\", [\"exports\", \"@ember/component/helper\", \"@additive-apps/auth/utils/roles-map\"], function (_exports, _helper, _rolesMap) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.getRoleByAppId = getRoleByAppId;\n  /**\n   * Return a users role for a specific app\n   *\n   * @return {String}\n   */\n  function getRoleByAppId(params) {\n    const [id, appIds, role] = params;\n    if (role === _rolesMap.ROLE_CUSTOM) {\n      let userRole = 'none';\n      (appIds || []).find(app => {\n        // the appId inside appRoles needs to be casted to string\n        if (app && app.appId && app.appId.toString() === id) {\n          userRole = app.role;\n        }\n      });\n      return userRole;\n    }\n    return params;\n  }\n  var _default = _exports.default = (0, _helper.helper)(getRoleByAppId);\n});","define(\"additive-account/helpers/values\", [\"exports\", \"ember-composable-helpers/helpers/values\"], function (_exports, _values) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _values.default;\n    }\n  });\n  Object.defineProperty(_exports, \"values\", {\n    enumerable: true,\n    get: function get() {\n      return _values.values;\n    }\n  });\n});","define(\"additive-account/helpers/without\", [\"exports\", \"ember-composable-helpers/helpers/without\"], function (_exports, _without) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _without.default;\n    }\n  });\n  Object.defineProperty(_exports, \"without\", {\n    enumerable: true,\n    get: function get() {\n      return _without.without;\n    }\n  });\n});","define(\"additive-account/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _xor.default;\n    }\n  });\n  Object.defineProperty(_exports, \"xor\", {\n    enumerable: true,\n    get: function get() {\n      return _xor.xor;\n    }\n  });\n});","define(\"additive-account/initializers/app-version\", [\"exports\", \"ember-cli-app-version/initializer-factory\", \"additive-account/config/environment\"], function (_exports, _initializerFactory, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let name, version;\n  if (_environment.default.APP) {\n    name = _environment.default.APP.name;\n    version = _environment.default.APP.version;\n  }\n  var _default = _exports.default = {\n    name: 'App Version',\n    initialize: (0, _initializerFactory.default)(name, version)\n  };\n});","define(\"additive-account/initializers/container-debug-adapter\", [\"exports\", \"ember-resolver/resolvers/classic/container-debug-adapter\"], function (_exports, _containerDebugAdapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    name: 'container-debug-adapter',\n    initialize() {\n      let app = arguments[1] || arguments[0];\n      app.register('container-debug-adapter:main', _containerDebugAdapter.default);\n    }\n  };\n});","define(\"additive-account/initializers/ember-cli-mirage\", [\"exports\", \"additive-account/config/environment\", \"additive-account/mirage/config\", \"ember-cli-mirage/get-rfc232-test-context\", \"ember-cli-mirage/start-mirage\"], function (_exports, _environment, _config, _getRfc232TestContext, _startMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.startMirage = startMirage;\n  //\n  // This initializer does two things:\n  //\n  // 1. Pulls the mirage config objects from the application's config and\n  //    registers them in the container so `ember-cli-mirage/start-mirage` can\n  //    find them (since it doesn't have access to the app's namespace).\n  // 2. Provides legacy support for auto-starting mirage in pre-rfc268 acceptance\n  //    tests.\n  //\n  var _default = _exports.default = {\n    name: 'ember-cli-mirage',\n    initialize(application) {\n      if (_config.default) {\n        application.register('mirage:base-config', _config.default, {\n          instantiate: false\n        });\n      }\n      if (_config.testConfig) {\n        application.register('mirage:test-config', _config.testConfig, {\n          instantiate: false\n        });\n      }\n      _environment.default['ember-cli-mirage'] = _environment.default['ember-cli-mirage'] || {};\n      if (_shouldUseMirage(_environment.default.environment, _environment.default['ember-cli-mirage'])) {\n        startMirage(_environment.default);\n      }\n    }\n  };\n  function startMirage() {\n    let env = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _environment.default;\n    return (0, _startMirage.default)(null, {\n      env,\n      baseConfig: _config.default,\n      testConfig: _config.testConfig\n    });\n  }\n  function _shouldUseMirage(env, addonConfig) {\n    if (typeof FastBoot !== 'undefined') {\n      return false;\n    }\n    if ((0, _getRfc232TestContext.default)()) {\n      return false;\n    }\n    let userDeclaredEnabled = typeof addonConfig.enabled !== 'undefined';\n    let defaultEnabled = _defaultEnabled(env, addonConfig);\n    return userDeclaredEnabled ? addonConfig.enabled : defaultEnabled;\n  }\n\n  /*\n    Returns a boolean specifying the default behavior for whether\n    to initialize Mirage.\n  */\n  function _defaultEnabled(env, addonConfig) {\n    let usingInDev = env === 'development' && !addonConfig.usingProxy;\n    let usingInTest = env === 'test';\n    return usingInDev || usingInTest;\n  }\n});","define(\"additive-account/initializers/ember-data-data-adapter\", [\"exports\", \"@ember-data/debug/setup\"], function (_exports, _setup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _setup.default;\n    }\n  });\n});","define(\"additive-account/initializers/ember-data\", [\"exports\", \"ember-data\", \"ember-data/setup-container\"], function (_exports, _emberData, _setupContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /*\n    This code initializes EmberData in an Ember application.\n  \n    It ensures that the `store` service is automatically injected\n    as the `store` property on all routes and controllers.\n  */\n  var _default = _exports.default = {\n    name: 'ember-data',\n    initialize: _setupContainer.default\n  };\n});","define(\"additive-account/initializers/ember-simple-auth\", [\"exports\", \"additive-account/config/environment\", \"ember-simple-auth/configuration\", \"ember-simple-auth/initializers/setup-session\", \"ember-simple-auth/initializers/setup-session-service\", \"ember-simple-auth/initializers/setup-session-restoration\"], function (_exports, _environment, _configuration, _setupSession, _setupSessionService, _setupSessionRestoration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    name: 'ember-simple-auth',\n    initialize(registry) {\n      const config = _environment.default['ember-simple-auth'] || {};\n      config.rootURL = _environment.default.rootURL || _environment.default.baseURL;\n      _configuration.default.load(config);\n      (0, _setupSession.default)(registry);\n      (0, _setupSessionService.default)(registry);\n      (0, _setupSessionRestoration.default)(registry);\n    }\n  };\n});","define(\"additive-account/initializers/ember-stripe-elements\", [\"exports\", \"@ember/error\", \"additive-account/config/environment\", \"ember-stripe-elements/utils/stripe-mock\"], function (_exports, _error, _environment, _stripeMock) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize() {\n    const application = arguments[1] || arguments[0];\n    let stripeConfig = _environment.default.stripe || {};\n    application.register('config:stripe', stripeConfig, {\n      instantiate: false\n    });\n    application.inject('service:stripev3', 'config', 'config:stripe');\n    if (!stripeConfig.publishableKey) {\n      throw new _error.default(\"stripev3: Missing Stripe key, please set `ENV.stripe.publishableKey` in config.environment.js\");\n    }\n    if (typeof FastBoot !== 'undefined' || stripeConfig.mock) {\n      window.Stripe = _stripeMock.default;\n    }\n  }\n  var _default = _exports.default = {\n    name: 'ember-stripe-elements',\n    initialize\n  };\n});","define(\"additive-account/initializers/export-application-global\", [\"exports\", \"ember\", \"additive-account/config/environment\"], function (_exports, _ember, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize() {\n    var application = arguments[1] || arguments[0];\n    if (_environment.default.exportApplicationGlobal !== false) {\n      var theGlobal;\n      if (typeof window !== 'undefined') {\n        theGlobal = window;\n      } else if (typeof global !== 'undefined') {\n        theGlobal = global;\n      } else if (typeof self !== 'undefined') {\n        theGlobal = self;\n      } else {\n        // no reasonable global, just bail\n        return;\n      }\n      var value = _environment.default.exportApplicationGlobal;\n      var globalName;\n      if (typeof value === 'string') {\n        globalName = value;\n      } else {\n        globalName = _ember.default.String.classify(_environment.default.modulePrefix);\n      }\n      if (!theGlobal[globalName]) {\n        theGlobal[globalName] = application;\n        application.reopen({\n          willDestroy: function willDestroy() {\n            this._super.apply(this, arguments);\n            delete theGlobal[globalName];\n          }\n        });\n      }\n    }\n  }\n  var _default = _exports.default = {\n    name: 'export-application-global',\n    initialize: initialize\n  };\n});","define(\"additive-account/instance-initializers/ember-cli-mirage-autostart\", [\"exports\", \"ember-cli-mirage/instance-initializers/ember-cli-mirage-autostart\"], function (_exports, _emberCliMirageAutostart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberCliMirageAutostart.default;\n    }\n  });\n});","define(\"additive-account/instance-initializers/ember-data\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* exists only for things that historically used \"after\" or \"before\" */\n  var _default = _exports.default = {\n    name: 'ember-data',\n    initialize() {}\n  };\n});","define(\"additive-account/instance-initializers/ember-simple-auth\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // This is only needed for backwards compatibility and will be removed in the\n  // next major release of ember-simple-auth. Unfortunately, there is no way to\n  // deprecate this without hooking into Ember's internals…\n  var _default = _exports.default = {\n    name: 'ember-simple-auth',\n    initialize() {}\n  };\n});","define(\"additive-account/instance-initializers/full-story\", [\"exports\", \"@additive-apps/jam-ember/instance-initializers/full-story\"], function (_exports, _fullStory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _fullStory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _fullStory.initialize;\n    }\n  });\n});","define(\"additive-account/instance-initializers/google-analytics\", [\"exports\", \"@additive-apps/jam-ember/instance-initializers/google-analytics\"], function (_exports, _googleAnalytics) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _googleAnalytics.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _googleAnalytics.initialize;\n    }\n  });\n});","define(\"additive-account/instance-initializers/sentry-performance\", [\"exports\", \"@sentry/ember/instance-initializers/sentry-performance\"], function (_exports, _sentryPerformance) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sentryPerformance.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _sentryPerformance.initialize;\n    }\n  });\n});","define(\"additive-account/instance-initializers/sentry\", [\"exports\", \"@additive-apps/jam-ember/instance-initializers/sentry\"], function (_exports, _sentry) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sentry.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _sentry.initialize;\n    }\n  });\n});","define(\"additive-account/instance-initializers/ui-body\", [\"exports\", \"@additive-apps/ui/instance-initializers/ui-body\"], function (_exports, _uiBody) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiBody.default;\n    }\n  });\n});","define(\"additive-account/mirage-factories/list\", [\"exports\", \"@additive-apps/ui/mirage-factories/list\"], function (_exports, _list) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _list.default;\n    }\n  });\n});","define(\"additive-account/mirage-models/list\", [\"exports\", \"@additive-apps/ui/mirage-models/list\"], function (_exports, _list) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _list.default;\n    }\n  });\n});","define(\"additive-account/mirage-models/voucher\", [\"exports\", \"@additive-apps/ui/mirage-models/voucher\"], function (_exports, _voucher) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _voucher.default;\n    }\n  });\n});","define(\"additive-account/mirage/config\", [\"exports\", \"ember-cli-mirage\", \"additive-account/config/environment\", \"additive-account/mirage/endpoints\"], function (_exports, _emberCliMirage, _environment, _endpoints) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default() {\n    this.passthrough('/translations/*');\n    this.urlPrefix = _environment.default.APP.apiBaseHost;\n    (0, _endpoints.initAll)(this);\n    this.post('/api/organizations/:id/settings/pms', () => {\n      return {\n        status: '200'\n      };\n    });\n    this.get('/api/organizations/casablanca-2-eu/settings/pms', () => {\n      return {\n        pms: {\n          type: 'casablanca',\n          settings: {\n            user: 'user',\n            hasPassword: true\n          }\n        }\n      };\n    });\n    this.get('/api/organizations/testhotel-post-com/settings/pms', () => {\n      return {\n        pms: {\n          type: 'asa'\n        }\n      };\n    });\n    this.get('/api/organizations/test-com/settings/pms', () => {\n      return {\n        pms: {\n          type: 'protel',\n          settings: {\n            hasToken: true\n          }\n        }\n      };\n    });\n    this.get('/api/organizations/test-com/settings/pms/protel', () => {\n      return {\n        pms: {\n          type: 'protel',\n          settings: {\n            hasToken: true\n          }\n        }\n      };\n    });\n    this.put('/api/organizations/:id/settings/pms/protel', () => {\n      return {\n        status: '200'\n      };\n    });\n\n    /* Only fake requests for tests */\n    if (_environment.default.environment !== 'test') {\n      this.passthrough('*');\n      return;\n    }\n    this.get('/api/organizations/1/users/1', () => {\n      return {\n        user: {\n          id: 1,\n          name: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          role: 'owner',\n          organizationCount: 0\n        }\n      };\n    });\n    this.get(`/api/organizations/1/me`, () => {\n      return {\n        user: {\n          id: 1,\n          name: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          role: 'admin',\n          organizationCount: 0\n        }\n      };\n    });\n    this.get(`/api/organizations/instance/me`, () => {\n      return {\n        user: {\n          id: 1,\n          name: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          role: 'admin',\n          organizationCount: 0\n        }\n      };\n    });\n    this.get(`/api/organizations/:id/apps`, () => {\n      return {\n        apps: [{\n          id: 2,\n          name: 'voucher',\n          planName: 'starter_monthly',\n          active: true,\n          trialEndsAt: '3018-09-11'\n        }, {\n          id: 3,\n          name: 'social-wall',\n          planName: 'starter_monthly',\n          trialEndsAt: '2010-09-11',\n          active: true\n        }]\n      };\n    });\n    this.post('/api/organizations/:id/apps/2/deactivate', () => {\n      return {\n        app: {\n          id: 2,\n          name: 'voucher',\n          planName: 'starter_monthly',\n          active: false,\n          trialEndsAt: '3018-09-11'\n        }\n      };\n    });\n    this.post('/api/organizations/:id/apps/3/deactivate', () => {\n      return {\n        app: {\n          id: 3,\n          name: 'social-wall',\n          planName: 'starter_monthly',\n          active: false\n        }\n      };\n    });\n    this.post('/api/organizations/:id/apps/2/activate', () => {\n      return {\n        app: {\n          id: 2,\n          name: 'voucher',\n          planName: 'starter_monthly',\n          active: true,\n          trialEndsAt: '2018-09-11'\n        }\n      };\n    });\n    this.post('/api/organizations/:id/apps/3/activate', () => {\n      return {\n        app: {\n          id: 3,\n          name: 'social-wall',\n          planName: 'starter_monthly',\n          active: true\n        }\n      };\n    });\n    this.post('/api/organizations/:id/apps/2/upgrade', () => {\n      return new _emberCliMirage.default.Response(204, {}, {});\n    }), this.post('/api/organizations/:id/apps/', () => {\n      return {\n        app: {\n          id: 4,\n          name: 'content',\n          planName: 'starter_monthly',\n          trialEndsAt: '9000-09-11'\n        }\n      };\n    });\n    this.get('/api/apps', () => {\n      return {\n        apps: [{\n          id: 2,\n          name: 'voucher',\n          plans: [{\n            id: 'professional_monthly'\n          }, {\n            id: 'enterprise_monthly'\n          }]\n        }, {\n          id: 3,\n          name: 'social-wall',\n          plans: [{\n            id: 'professional_monthly'\n          }, {\n            id: 'enterprise_monthly'\n          }]\n        }, {\n          id: 4,\n          name: 'content',\n          plans: [{\n            id: 'professional_monthly'\n          }, {\n            id: 'enterprise_monthly'\n          }]\n        }]\n      };\n    });\n    this.get('/create', () => {\n      return new _emberCliMirage.default.Response(201, {}, {});\n    });\n    this.post('/create', (schema, request) => {\n      const attrs = JSON.parse(request.requestBody);\n      return schema.organizations.create(attrs);\n    });\n    /**\n     * We set the orgCount to 1 as default to cover the more\n     * common usecase in all acceptance tests.\n     */\n    this.get('/api/me', () => {\n      return {\n        user: {\n          id: 1,\n          givenName: 'First',\n          familyName: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          organizationCount: 1,\n          emailVerified: true\n        }\n      };\n    });\n    this.get('/api/notifications', () => {\n      return {\n        notifications: [{\n          id: '0',\n          notifiableId: '36db0442-11e7-4204-b43e-8cb159ec1afd',\n          data: {\n            title: 'Luis hat Ihre Einladung angenommen',\n            text: [{\n              type: 'line',\n              text: 'Luis hat Ihre Einladung angenommen.'\n            }, {\n              type: 'action',\n              text: ['Benutzer verwalten', 'http://www.test.it']\n            }]\n          }\n        }, {\n          id: '1',\n          notifiableId: '36db0442-11e7-4204-b43e-8cb159ec1afd',\n          data: {\n            title: 'Arno hat Ihre Einladung angenommen',\n            text: [{\n              type: 'line',\n              text: 'Luis hat Ihre Einladung angenommen.'\n            }, {\n              type: 'action',\n              text: ['Benutzer verwalten', 'http://www.test.it']\n            }]\n          }\n        }]\n      };\n    });\n    this.get('/api/notifications/:id', () => {\n      return {\n        notification: {\n          id: '0',\n          notifiableId: '36db0442-11e7-4204-b43e-8cb159ec1afd',\n          data: {\n            title: 'Luis hat Ihre Einladung angenommen',\n            text: [{\n              type: 'line',\n              text: 'Luis hat Ihre Einladung angenommen.'\n            }, {\n              type: 'action',\n              text: ['Benutzer verwalten', 'http://www.test.it']\n            }]\n          }\n        }\n      };\n    });\n    this.get('/api/countries', () => {\n      return {\n        countries: [{\n          name: 'Italy',\n          code: 'IT'\n        }, {\n          name: 'Burkina Faso',\n          code: 'BF'\n        }]\n      };\n    });\n  }\n});","define(\"additive-account/mirage/endpoints/audit-log-routes\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.auditLogsRoute = void 0;\n  const auditLogsRoute = _exports.auditLogsRoute = function auditLogsRoute(server) {\n    server.get('/api/organizations/*/audit-logs', () => {\n      return {\n        labels: ['Wer', 'Was', 'Wann'],\n        data: [[{\n          format: 'custom',\n          customKey: 'user',\n          value: 'Julian Ratschiller',\n          link: 'https://additive-account.herokuapp.com/api/redirect?destination=aHR0cHM6Ly9hZGRpdGl2ZS1hY2NvdW50LnMzLmV1LWNlbnRyYWwtMS5hbWF6b25hd3MuY29tL3VzZXJzLzRmMWM1NzVkLTk0YWUtNDZjNC1hOTg3LWM0MDEwYzAyYWM4NS9hdmF0YXItNTEyeDUxMj90cz0xNjgxOTE2MzEz&ts=1681916313',\n          userLink: 'https://account.additive-apps.eu/testhotel-post-com/users'\n        }, {\n          format: 'custom',\n          customKey: 'change',\n          value: 'Bewerbung aktualisiert',\n          link: 'https://marketing-cloud.additive-apps.eu/testhotel-post-com/campaigns/ad/content-ads/4430',\n          location: 'Kampagne > usp > ca-dach-de'\n        }, {\n          customKey: 'time',\n          format: 'custom',\n          value: '2023-09-25T11:14:36.127Z'\n        }], [{\n          format: 'custom',\n          customKey: 'user',\n          value: 'Clemens Frotschnig',\n          link: 'https://additive-account.herokuapp.com/api/redirect?destination=aHR0cHM6Ly9hZGRpdGl2ZS1hY2NvdW50LnMzLmV1LWNlbnRyYWwtMS5hbWF6b25hd3MuY29tL3VzZXJzL2IyZDdjM2NiLWE2ZTItNGUzZi1iNzc2LTY1MjRkMmJkN2IxNy9hdmF0YXItNTEyeDUxMj90cz0xNjgzMTg2NzUw&ts=1683186750',\n          userLink: 'https://account.additive-apps.eu/testhotel-post-com/users'\n        }, {\n          format: 'custom',\n          customKey: 'change',\n          value: 'Bewerbung aktualisiert',\n          link: 'https://marketing-cloud.additive-apps.eu/testhotel-post-com/campaigns/ad/content-ads/7598',\n          location: 'Kampagne > content_reach_goal_17.8 > test'\n        }, {\n          customKey: 'time',\n          format: 'custom',\n          value: '2023-09-14T12:55:27.265Z'\n        }], [{\n          format: 'custom',\n          customKey: 'user',\n          value: null,\n          link: null,\n          userLink: 'https://account.additive-apps.eu/testhotel-post-com/users'\n        }, {\n          format: 'custom',\n          customKey: 'change',\n          value: 'Organisation aktualisiert',\n          link: 'https://marketing-cloud.additive-apps.eu/testhotel-post-com/settings',\n          location: 'Organisation > Testhotel Post > facebook-pixel'\n        }, {\n          customKey: 'time',\n          format: 'custom',\n          value: '2023-09-11T10:01:32.850Z'\n        }]],\n        meta: {\n          currentPage: 1,\n          from: 0,\n          lastPage: 2,\n          perPage: 40,\n          to: 72,\n          total: 72\n        }\n      };\n    });\n  };\n});","define(\"additive-account/mirage/endpoints/auth-routes\", [\"exports\", \"ember-cli-mirage\"], function (_exports, _emberCliMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.authRoutes = void 0;\n  const redirectRoute = '/auth/callback';\n  const authRoutes = _exports.authRoutes = function authRoutes(server) {\n    const formEncodedToJson = encoded => {\n      let result = {};\n      encoded.split('&').forEach(part => {\n        let item = part.split('=');\n        result[item[0]] = decodeURIComponent(item[1]);\n      });\n      return result;\n    };\n    server.post('/oauth/authorize', (db, request) => {\n      const params = request.queryParams;\n      if (params.username === 'user@email.com' && params.password === 'very_secret') {\n        const body = {\n          access_token: 'very_secret_token',\n          token_type: 'bearer'\n        };\n        return new _emberCliMirage.default.Response(200, body, body);\n      } else {\n        const body = {\n          errors: 'Email or password invalid'\n        };\n        return new _emberCliMirage.default.Response(401, {}, body);\n      }\n    });\n    server.get('/oauth/authorize', () => {\n      return new _emberCliMirage.default.Response(302);\n    });\n\n    // fakes the api redirect when a user tries to login\n    server.post('/auth/login', () => {\n      window.visit(redirectRoute + '?code=12345');\n      window.visit('/create');\n      return new _emberCliMirage.default.Response(201, {}, {});\n    });\n    server.post('/oauth/token', (db, request) => {\n      const requestBody = formEncodedToJson(request.requestBody);\n      if (requestBody.client_id === '1' && requestBody.client_secret === 'jNNSLIEfJgJ20mUjKmDHmFFbCqPA9hg38MstN9tk' && requestBody.code === '12345' && requestBody.grant_type === 'authorization_code') {\n        const body = {\n          access_token: 'very_secret_access_token',\n          expires_in: 31536000,\n          refresh_token: 'very_secret_refresh_token',\n          token_type: 'Bearer'\n        };\n        return new _emberCliMirage.default.Response(201, {}, body);\n      }\n      const body = {\n        errors: 'API error'\n      };\n      return new _emberCliMirage.default.Response(401, {}, body);\n    });\n    server.post('/auth/signup', (db, request) => {\n      const params = JSON.parse(request.requestBody);\n      if (params.email === 'user@email.com' && params.password === 'very_secret') {\n        /**\n         * TODO: not quite sure the user should have a role when signinUp\n         * Needs to be reavaluated after API has the whole authentication mechanism set up\n         */\n        const body = {\n          user: {\n            email: 'user@email.com',\n            fullname: 'Dummy User',\n            profile_image: 'https://robohash.org/dummy',\n            roles: ['ROLE_USER']\n          }\n        };\n        return new _emberCliMirage.default.Response(201, {\n          location: '/create' // will redirect to /create\n        }, body);\n      } else if (params.email === 'admin@email.com' && params.password === 'very_secret') {\n        const body = {\n          user: {\n            email: 'admin@email.com',\n            fullname: 'Dummy User',\n            profile_image: '',\n            roles: ['ROLE_ADMIN']\n          }\n        };\n        return new _emberCliMirage.default.Response(201, {}, body);\n      } else if (params.email === 'taken@email.com') {\n        const body = {\n          errors: 'User already exists'\n        };\n        return new _emberCliMirage.default.Response(422, {}, body);\n      } else {\n        const body = {\n          errors: 'API error'\n        };\n        return new _emberCliMirage.default.Response(401, {}, body);\n      }\n    });\n    server.post('/auth/password/email', (db, request) => {\n      const params = JSON.parse(request.requestBody);\n      if (params.email === 'reset@email.com') {\n        /**\n         * TODO: not quite sure the user should have a role when signinUp\n         * Needs to be reavaluated after API has the whole authentication mechanism set up\n         */\n        const body = {\n          status: 'ok'\n        };\n        return new _emberCliMirage.default.Response(200, {}, body);\n      } else if (params.email === 'new@email.com') {\n        // TODO: Add regexp for mails\n        const body = {\n          errors: \"email doesn't exist\"\n        };\n        return new _emberCliMirage.default.Response(422, {}, body);\n      } else {\n        const body = {\n          errors: 'api error'\n        };\n        return new _emberCliMirage.default.Response(422, {}, body);\n      }\n    });\n    server.post('/auth/password/reset', (db, request) => {\n      const params = formEncodedToJson(request.requestBody);\n      if (!params || !params.token) {\n        const body = {\n          errors: 'Token invalid'\n        };\n        return new _emberCliMirage.default.Response(401, {}, body);\n      }\n      if (params.token !== '123') {\n        const body = {\n          errors: 'Invalid token'\n        };\n        return new _emberCliMirage.default.Response(403, {}, body);\n      } else if (params.email === 'reset@email.com') {\n        /**\n         * TODO: not quite sure the user should have a role when signinUp\n         * Needs to be reavaluated after API has the whole authentication mechanism set up\n         */\n        const body = {\n          status: 'ok'\n        };\n        return new _emberCliMirage.default.Response(200, {}, body);\n      } else {\n        const body = {\n          errors: \"email doesn't exist\"\n        };\n        return new _emberCliMirage.default.Response(422, {}, body);\n      }\n    });\n    server.post('/broadcasting/auth', () => {\n      const body = {\n        auth: 'such_secret'\n      };\n      return new _emberCliMirage.default.Response(200, {}, body);\n    });\n  };\n});","define(\"additive-account/mirage/endpoints/cors-interaction-routes\", [\"exports\", \"ember-cli-mirage\", \"additive-account/config/environment\"], function (_exports, _emberCliMirage, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.externalRoutes = void 0;\n  const externalRoutes = _exports.externalRoutes = function externalRoutes(server) {\n    server.post(_environment.default.APP.imageUploadServiceHost, function () {\n      const body = {\n        signedUrl: 'https://signed-image-upload-url.com',\n        bucketPath: '/upload-bucket-path/image.png'\n      };\n      return new _emberCliMirage.default.Response(200, {}, body);\n    });\n    server.put('https://signed-image-upload-url.com', function () {\n      return new _emberCliMirage.default.Response(200, {}, {});\n    });\n    server.post(_environment.default.APP.apiBaseHost + '/api/me/image', function () {\n      const body = {\n        imageUrl: 'https://image-upload-url.com/imagePath/image.png'\n      };\n      return new _emberCliMirage.default.Response(200, {}, body);\n    });\n    server.post(_environment.default.APP.apiBaseHost + '/api/organizations/1/image', function () {\n      const body = {\n        imageUrl: 'https://image-upload-url.com/imagePath/image.png'\n      };\n      return new _emberCliMirage.default.Response(200, {}, body);\n    });\n  };\n});","define(\"additive-account/mirage/endpoints/index\", [\"exports\", \"additive-account/config/environment\", \"additive-account/mirage/endpoints/auth-routes\", \"additive-account/mirage/endpoints/cors-interaction-routes\", \"additive-account/mirage/endpoints/templates\", \"additive-account/mirage/endpoints/organization-routes\", \"additive-account/mirage/endpoints/audit-log-routes\"], function (_exports, _environment, _authRoutes, _corsInteractionRoutes, _templates, _organizationRoutes, _auditLogRoutes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.initAll = void 0;\n  const initAll = server => {\n    /* Only fake requests for tests */\n    if (_environment.default.environment === 'test') {\n      (0, _authRoutes.authRoutes)(server);\n      (0, _organizationRoutes.organizationRoutes)(server);\n      (0, _corsInteractionRoutes.externalRoutes)(server);\n    }\n    (0, _templates.list)(server);\n    (0, _templates.detail)(server);\n    (0, _templates.detail)(server);\n    (0, _auditLogRoutes.auditLogsRoute)(server);\n  };\n  _exports.initAll = initAll;\n});","define(\"additive-account/mirage/endpoints/organization-routes\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.organizationRoutes = void 0;\n  const organizationRoutes = _exports.organizationRoutes = function organizationRoutes(server) {\n    server.get('/api/organizations', (schema, request) => {\n      // If search-query exists return only one\n      if (request.queryParams && request.queryParams.q) {\n        return {\n          organizations: [{\n            id: 1,\n            name: 'First',\n            email: 'first@g.mail',\n            website: 'http://www.first-comes-first.com',\n            isPartner: false\n          }]\n        };\n      }\n      return {\n        organizations: [{\n          id: 1,\n          name: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          isPartner: false\n        }, {\n          id: 2,\n          name: 'Second',\n          email: 'second@my.mail',\n          website: 'http://www.google.de',\n          isPartner: false\n        }]\n      };\n    });\n    server.post('/api/organizations', () => {\n      return {\n        organization: {\n          id: 1,\n          name: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          isPartner: false\n        }\n      };\n    });\n    server.get('/api/organizations/:id', () => {\n      return {\n        organization: {\n          id: 1,\n          name: 'First',\n          email: 'first@g.mail',\n          website: 'http://www.first-comes-first.com',\n          isPartner: false\n        }\n      };\n    });\n    server.get('/api/organizations/:id/users', () => {\n      return {\n        users: [{\n          id: 1,\n          givenName: 'First',\n          familyName: 'First',\n          email: 'first@g.mail',\n          inviteAccepted: true,\n          active: true\n        }, {\n          id: 2,\n          givenName: 'Second',\n          familyName: 'Second',\n          email: 'second@my.mail'\n        }]\n      };\n    });\n    server.get('/api/organizations/:id/subscription', () => {\n      return {};\n    });\n    server.get('/api/organizations/:id/billing', () => {\n      return {};\n    });\n    server.put('/api/organizations/:id/billing', () => {\n      return {\n        status: '200'\n      };\n    });\n    server.get('/api/organizations/:id/invoices', () => {\n      return {\n        invoices: [{\n          downloadUrl: 'https://pay.stripe.com/invoice/invst_y8t7XOnd4s3PzkRoIsUfaRT5o4/pdf',\n          date: '2018-08-10',\n          amount: '26,84 €',\n          paid: false,\n          closed: true,\n          legalName: 'Test OHG'\n        }]\n      };\n    });\n    server.delete('/api/organizations/:id/users/:user_id', () => {\n      return {\n        status: '204'\n      };\n    });\n    server.get('/api/organizations/:id/corporate-design', () => {\n      return {\n        corporateDesign: {\n          typography: {},\n          colors: {},\n          logoUrl: null,\n          alternativeLogoUrl: null\n        }\n      };\n    });\n    server.get('/api/organizations/:id/layout', () => {\n      return {\n        layout: {\n          buttonBackgroundColor: '#007C32',\n          buttonColor: '#ffffff',\n          fontColor: '#978575'\n        }\n      };\n    });\n    server.put('/api/organizations/:id/layout', () => {\n      return {\n        status: '200'\n      };\n    });\n    server.get('/api/organizations/:id/settings', () => {\n      return {\n        settings: {\n          contentLanguages: ['de', 'it'],\n          defaultLanguage: 'de'\n        }\n      };\n    });\n    server.get('/api/organizations/:id/email', () => {\n      return '<html></html>';\n    });\n  };\n});","define(\"additive-account/mirage/endpoints/templates/detail\", [\"exports\", \"additive-account/mirage/helpers/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.detail = void 0;\n  const detail = _exports.detail = function detail(server) {\n    server.get('/api/organizations/*/templates/:id', (schema, request) => {\n      return (0, _model.findOrFail)(schema.templates, request.params.id);\n    });\n  };\n});","define(\"additive-account/mirage/endpoints/templates/index\", [\"exports\", \"additive-account/mirage/endpoints/templates/list\", \"additive-account/mirage/endpoints/templates/detail\"], function (_exports, _list, _detail) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"detail\", {\n    enumerable: true,\n    get: function get() {\n      return _detail.detail;\n    }\n  });\n  Object.defineProperty(_exports, \"list\", {\n    enumerable: true,\n    get: function get() {\n      return _list.list;\n    }\n  });\n});","define(\"additive-account/mirage/endpoints/templates/list\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.list = void 0;\n  const list = _exports.list = function list(server) {\n    server.get('/api/organizations/*/templates', schema => {\n      return schema.templates.all();\n    });\n  };\n});","define(\"additive-account/mirage/factories/organization\", [\"exports\", \"ember-cli-mirage\", \"faker\"], function (_exports, _emberCliMirage, _faker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberCliMirage.Factory.extend({\n    name: () => _faker.default.company.companyName(),\n    legalName: () => _faker.default.company.companyName(),\n    website: () => _faker.default.internet.domainName(),\n    email: () => _faker.default.internet.email(),\n    phone: () => _faker.default.phone.phoneNumber(),\n    vatId: 'IT02476330218',\n    addressStreet: () => _faker.default.address.streetAddress(),\n    addressLocality: () => _faker.default.address.city(),\n    addressPostalCode: () => _faker.default.address.zipCode(),\n    addressCountry: () => _faker.default.address.country(),\n    addressRegion: () => _faker.default.address.county(),\n    slug: () => 'additive-eu',\n    partnerSlug: () => null,\n    partnerName: () => null,\n    isPartner: () => true\n  });\n});","define(\"additive-account/mirage/factories/setting-salutation\", [\"exports\", \"ember-cli-mirage\", \"faker\"], function (_exports, _emberCliMirage, _faker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const subValueDefaults = () => {\n    const languages = ['de', 'en', 'it', 'fr', 'nl'];\n    return {\n      availableLanguages: languages,\n      language: _faker.default.random.arrayElement(languages)\n    };\n  };\n  var _default = _exports.default = _emberCliMirage.Factory.extend({\n    prefer: () => _faker.default.random.arrayElement(['fallback', 'family', 'formal', 'informal']),\n    fallback: () => Object.assign(subValueDefaults(), {\n      value: _faker.default.lorem.words()\n    }),\n    family: () => Object.assign(subValueDefaults(), {\n      value: _faker.default.lorem.words()\n    }),\n    informal: () => Object.assign(subValueDefaults(), {\n      f: _faker.default.lorem.words(),\n      fm: _faker.default.lorem.words()\n    }),\n    formal: () => Object.assign(subValueDefaults(), {\n      f: _faker.default.lorem.words(),\n      fm: _faker.default.lorem.words()\n    })\n  });\n});","define(\"additive-account/mirage/factories/template\", [\"exports\", \"ember-cli-mirage\", \"faker\", \"additive-account/mirage/helpers/configurator\", \"additive-account/mirage/helpers/medium\"], function (_exports, _emberCliMirage, _faker, _configurator, _medium) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberCliMirage.Factory.extend({\n    name: () => _faker.default.lorem.word(),\n    config: () => {\n      return {\n        footerWidth: _faker.default.random.arrayElement(['full', 'typeArea']),\n        logoPosition: _faker.default.random.arrayElement(['inside', 'outside']),\n        imagePosition: _faker.default.random.arrayElement(['top', 'bottom']),\n        imagePlaceholder: (0, _medium.getRandomMedium)()\n      };\n    },\n    styles: () => {\n      return {\n        globals: {\n          align: _faker.default.random.arrayElement(['left', 'center', 'right']),\n          boxShadow: '0 1px 2px 0 rgba(0,0,0,0.2)',\n          borderRadius: '2px'\n        },\n        colors: (0, _configurator.getDefaultColors)(),\n        typography: (0, _configurator.getDefaultTypography)()\n      };\n    }\n  });\n});","define(\"additive-account/mirage/helpers/configurator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getDefaultTypography = _exports.getDefaultColors = void 0;\n  const getDefaultColors = () => {\n    return {\n      main: {\n        sync: true,\n        color: '#3D3D3D',\n        contrastColor: '#FFFFFF',\n        syncedColor: '#575757',\n        syncedContrastColor: '#FFFFFF'\n      },\n      accent: {\n        sync: true,\n        color: '#967E6E',\n        contrastColor: '#ffffff',\n        syncedColor: '#967E6E',\n        syncedContrastColor: '#ffffff'\n      },\n      ambient: {\n        sync: true,\n        color: '#FFFFFF',\n        contrastColor: '#3D3D3D',\n        syncedColor: '#FFFFFF',\n        syncedContrastColor: '#575757'\n      },\n      background: {\n        color: '#FFFFFF',\n        contrastColor: '#3D3D3D',\n        sync: true,\n        syncColorKey: 'main'\n      },\n      footer: {\n        color: '#FFFFFF',\n        contrastColor: '#3D3D3D',\n        sync: true,\n        syncColorKey: 'ambient'\n      }\n    };\n  };\n  _exports.getDefaultColors = getDefaultColors;\n  const getDefaultTypography = () => {\n    return {\n      h1: {\n        fontFamily: '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif',\n        fontSize: '40px',\n        lineHeight: '48px',\n        color: 'main',\n        serif: false,\n        sync: true,\n        syncedFontFamily: 'Helvetica',\n        syncedFontSize: '40px',\n        syncedLineHeight: '48px',\n        syncedColor: 'accent',\n        syncedSerif: false\n      },\n      h2: {\n        fontFamily: 'Verdana',\n        fontSize: '32px',\n        lineHeight: '40px',\n        color: 'main',\n        serif: false,\n        sync: true,\n        syncedFontFamily: '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif',\n        syncedFontSize: '32px',\n        syncedLineHeight: '40px',\n        syncedColor: 'main',\n        syncedSerif: false\n      },\n      p: {\n        fontFamily: '\"Book Antiqua\",Palatino,\"Palatino Linotype\",\"Palatino LT STD\",Georgia,serif',\n        fontSize: '18px',\n        lineHeight: '24px',\n        color: 'accent',\n        serif: true,\n        sync: true,\n        syncedFontFamily: '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif',\n        syncedFontSize: '18px',\n        syncedLineHeight: '24px',\n        syncedColor: 'main',\n        syncedSerif: false\n      },\n      label: {\n        fontFamily: '\"Book Antiqua\",Palatino,\"Palatino Linotype\",\"Palatino LT STD\",Georgia,serif',\n        fontSize: '14px',\n        lineHeight: '20px',\n        color: 'main',\n        serif: true,\n        sync: true,\n        syncedFontFamily: '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif',\n        syncedFontSize: '14px',\n        syncedLineHeight: '20px',\n        syncedColor: 'main',\n        syncedSerif: false\n      },\n      button: {\n        fontFamily: '\"Book Antiqua\",Palatino,\"Palatino Linotype\",\"Palatino LT STD\",Georgia,serif',\n        fontSize: '14px',\n        lineHeight: '20px',\n        color: 'accent',\n        serif: true,\n        sync: true,\n        syncedFontFamily: '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif',\n        syncedFontSize: '14px',\n        syncedLineHeight: '20px',\n        syncedColor: 'accent',\n        syncedSerif: false\n      }\n    };\n  };\n  _exports.getDefaultTypography = getDefaultTypography;\n});","define(\"additive-account/mirage/helpers/medium\", [\"exports\", \"faker\"], function (_exports, _faker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getRandomMedium = void 0;\n  const getRandomMedium = _exports.getRandomMedium = function getRandomMedium() {\n    let nullable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n    let pool = [{\n      height: '5846',\n      id: 'a06fdb20-c2c5-4716-b904-d3527ed1e6af',\n      mediumId: '74ece181-4d50-4aef-b0a9-de2efa4c377f',\n      name: 'Beautiful Flamingo',\n      position: 0,\n      url: 'https://voucher-staging.additive-apps.tech/testhotel-post-com/images/a06fdb20-c2c5-4716-b904-d3527ed1e6af?ts=1583137931',\n      width: '3897'\n    }, {\n      height: '3385',\n      id: '1ea08a99-78cc-4ab2-b18b-0d205405273f',\n      mediumId: '1973f7ba-6dc3-4e07-b562-59f0d622d122',\n      name: 'Beautiful dog in most photographed place in Canada',\n      position: 1,\n      url: 'https://voucher-staging.additive-apps.tech/testhotel-post-com/images/1ea08a99-78cc-4ab2-b18b-0d205405273f?ts=1583137931',\n      width: '5077'\n    }, {\n      height: '2763',\n      id: '82fc047d-9d34-40ea-9bff-c499a3cc464b',\n      mediumId: '8d2747f6-35be-4809-9d0c-502e2e62bd53',\n      name: 'An Atlantic Puffin stands tall and stares straigh ahead while on a rock on Machias Seal Island.',\n      position: 2,\n      url: 'https://voucher-staging.additive-apps.tech/testhotel-post-com/images/82fc047d-9d34-40ea-9bff-c499a3cc464b?ts=1583137932',\n      width: '1839'\n    }];\n    nullable && pool.push(null);\n    return _faker.default.random.arrayElement(pool);\n  };\n});","define(\"additive-account/mirage/helpers/model\", [\"exports\", \"additive-account/mirage/helpers/server\"], function (_exports, _server) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.findOrFail = void 0;\n  /**\n   * Tries to find the given id.\n   * If not found, it will return a 404 Response\n   *\n   * @param {*} model The mirage model example: `schema.myModelsName`\n   * @param {*} id The model id\n   */\n  const findOrFail = (model, id) => {\n    const foundModel = model.find(id);\n    return foundModel || (0, _server.notFoundResponse)();\n  };\n  _exports.findOrFail = findOrFail;\n});","define(\"additive-account/mirage/helpers/server\", [\"exports\", \"miragejs\"], function (_exports, _miragejs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.notFoundResponse = void 0;\n  /**\n   * Returns a 404 Response\n   *\n   * @param {Object?} headers Optional headers\n   * @param {Object?} body Optional body\n   */\n  const notFoundResponse = _exports.notFoundResponse = function notFoundResponse() {\n    let headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    let body = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    return new _miragejs.Response(404, headers, body);\n  };\n});","define(\"additive-account/mirage/models/organization\", [\"exports\", \"ember-cli-mirage\"], function (_exports, _emberCliMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberCliMirage.Model.extend({});\n});","define(\"additive-account/mirage/models/setting-salutation\", [\"exports\", \"ember-cli-mirage\"], function (_exports, _emberCliMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberCliMirage.Model.extend({});\n});","define(\"additive-account/mirage/models/template\", [\"exports\", \"ember-cli-mirage\"], function (_exports, _emberCliMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberCliMirage.Model.extend({});\n});","define(\"additive-account/mirage/scenarios/default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(server) {\n    server.create('template');\n  }\n});","define(\"additive-account/mirage/scenarios/partner-admin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * User is partner admin.\n   * Organization is an sub-org of the partner-org\n   * 2 existing org-apps:\n   *    - Voucher activated with plan 'starter_yearly'\n   *    - Swall activated with plan 'starter_yearly'\n   *\n   */\n  function _default(server) {\n    server.get('/api/me', () => {\n      return {\n        user: {\n          id: '619855fe-a4c2-453a-8a17-8fcc963a46a4',\n          givenName: 'Partner',\n          familyName: 'Admin',\n          fullName: 'Partner Admin',\n          email: 'partner.admin@additive.eu',\n          emailVerified: true,\n          organizationCount: 2,\n          isConfirmedAuth: false,\n          isSupport: false,\n          isSuperAdmin: false,\n          partnerSlug: 'partner-org',\n          partnerRole: 'admin'\n        }\n      };\n    });\n    server.get('/api/organizations/1/me', () => {\n      return {\n        user: {\n          id: '619855fe-a4c2-453a-8a17-8fcc963a46a4',\n          email: 'partner.admin@additive.eu',\n          fullName: 'Partner Admin',\n          isSupport: false,\n          isSuperAdmin: false,\n          role: 'admin',\n          appRoles: []\n        }\n      };\n    });\n    server.get('/api/organizations/1', () => {\n      return {\n        organization: {\n          id: 1,\n          name: 'Partner sub-Org',\n          email: 'info@sub-partner.org',\n          website: 'http://www.sub-partner.org',\n          partnerSlug: 'partner-org'\n        }\n      };\n    });\n    server.get('/api/organizations/1/apps', () => {\n      return {\n        apps: [{\n          id: 2,\n          name: 'voucher',\n          planName: 'starter_yearly',\n          active: true\n        }, {\n          id: 3,\n          name: 'social-wall',\n          planName: 'starter_yearly',\n          active: true\n        }]\n      };\n    });\n  }\n});","define(\"additive-account/mirage/scenarios/saas-admin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * User is saas admin.\n   * Organization has no partner-dependency (SaaS org);\n   * 2 existing org-apps:\n   *    - Voucher in trial til year 3018\n   */\n  function _default(server) {\n    server.get('/api/me', () => {\n      return {\n        user: {\n          id: '619855fe-a4c2-453a-8a17-8fcc963a46a4',\n          givenName: 'Saas',\n          familyName: 'Admin',\n          fullName: 'Saas Admin',\n          email: 'saas.admin@additive.eu',\n          emailVerified: true,\n          organizationCount: 2,\n          isConfirmedAuth: false,\n          isSupport: false,\n          isSuperAdmin: false\n        }\n      };\n    });\n    server.get('/api/organizations/1/me', () => {\n      return {\n        user: {\n          id: '619855fe-a4c2-453a-8a17-8fcc963a46a4',\n          email: 'saas.admin@additive.eu',\n          fullName: 'Saas Admin',\n          isSupport: false,\n          isSuperAdmin: false,\n          role: 'admin',\n          appRoles: []\n        }\n      };\n    });\n    server.get('/api/organizations/1', () => {\n      return {\n        organization: {\n          id: 1,\n          name: 'SaaS Org',\n          email: 'info@saas.org',\n          website: 'http://www.saas.org'\n        }\n      };\n    });\n    server.get('/api/organizations/1/apps', () => {\n      return {\n        apps: [{\n          id: 2,\n          name: 'voucher',\n          planName: 'starter_yearly',\n          active: true,\n          trialEndsAt: '3018-10-11'\n        }]\n      };\n    });\n  }\n});","define(\"additive-account/mirage/scenarios/saas-owner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * User is saas owner.\n   * Organization has no partner-dependency (SaaS org);\n   * 2 existing org-apps:\n   *    - Voucher in trial til year 3018\n   */\n  function _default(server) {\n    server.get('/api/me', () => {\n      return {\n        user: {\n          id: '619855fe-a4c2-453a-8a17-8fcc963a46a4',\n          givenName: 'Saas',\n          familyName: 'Owner',\n          fullName: 'Saas Owner',\n          email: 'saas.owner@additive.eu',\n          emailVerified: true,\n          organizationCount: 2,\n          isConfirmedAuth: false,\n          isSupport: false,\n          isSuperAdmin: false\n        }\n      };\n    });\n    server.get('/api/organizations/1/me', () => {\n      return {\n        user: {\n          id: '619855fe-a4c2-453a-8a17-8fcc963a46a4',\n          email: 'saas.owner@additive.eu',\n          fullName: 'Saas Owner',\n          isSupport: false,\n          isSuperAdmin: false,\n          role: 'owner',\n          appRoles: []\n        }\n      };\n    });\n    server.get('/api/organizations/1', () => {\n      return {\n        organization: {\n          id: 1,\n          name: 'SaaS Org',\n          email: 'info@saas.org',\n          website: 'http://www.saas.org'\n        }\n      };\n    });\n    server.get('/api/organizations/1/apps', () => {\n      return {\n        apps: [{\n          id: 2,\n          name: 'voucher',\n          planName: 'starter_yearly',\n          active: true,\n          trialEndsAt: '3018-10-11'\n        }]\n      };\n    });\n  }\n});","define(\"additive-account/mirage/serializers/application\", [\"exports\", \"ember-cli-mirage\"], function (_exports, _emberCliMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberCliMirage.RestSerializer;\n});","define(\"additive-account/mirage/serializers/setting-salutation\", [\"exports\", \"additive-account/mirage/serializers/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _application.default.extend({\n    keyForModel() {\n      return 'salutations';\n    },\n    keyForCollection() {\n      return 'salutations';\n    }\n  });\n});","define(\"additive-account/mixins/global-user\", [\"exports\", \"@ember/object/mixin\", \"@ember/service\", \"@ember/object/computed\", \"@ember/object\", \"additive-account/utils/constants\"], function (_exports, _mixin, _service, _computed, _object, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable-next-line ember/no-new-mixins*/\n  var _default = _exports.default = _mixin.default.create({\n    currentUser: (0, _service.inject)(),\n    uiState: (0, _service.inject)(),\n    /**\n     * The global user\n     *\n     * @property globalUserState\n     * @type {Object}\n     */\n    globalUser: (0, _computed.alias)('globalUserState.user'),\n    /**\n     * The global user state\n     *\n     * @property globalUserState\n     * @type {Object}\n     */\n    globalUserState: (0, _object.computed)({\n      get() {\n        const globalUserState = this.uiState.getState(_constants.GLOBAL_USER_STATE_KEY);\n        return globalUserState;\n      }\n    }),\n    /**\n     * Determines if the global user is a partner-user of the current organization\n     *\n     * @property isOrgPartner\n     * @type {Boolean}\n     */\n    isOrgPartner: (0, _object.computed)('currentUser.currentOrganization.partnerSlug', 'globalUser.partnerSlug', {\n      get() {\n        var _this$currentUser;\n        /**\n         * On direct calling an instance route as first page, global user is not set\n         * TODO: Find out why computed property `globalUser` can't be used directly\n         * instead of accessing it through uiState\n         */\n        const globalUserState = this.uiState.getState(_constants.GLOBAL_USER_STATE_KEY);\n        const globalUser = globalUserState === null || globalUserState === void 0 ? void 0 : globalUserState.user;\n        const organization = (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.currentOrganization;\n        if (!globalUser || !organization) {\n          return false;\n        }\n        const globalUserPartnerslug = globalUser.partnerSlug;\n        const organizationSlug = organization.partnerSlug;\n        return globalUserPartnerslug && organizationSlug && globalUserPartnerslug === organizationSlug;\n      }\n    })\n  });\n});","define(\"additive-account/models/app\", [\"exports\", \"@additive-apps/ui/models/app\"], function (_exports, _app) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _app.default;\n    }\n  });\n});","define(\"additive-account/models/closing-time\", [\"exports\", \"date-fns/format\", \"@ember/object\", \"@ember-data/model\", \"@ember/service\"], function (_exports, _format, _object, _model, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _model.default.extend({\n    uiLocale: (0, _service.inject)(),\n    from: (0, _model.attr)('string'),\n    until: (0, _model.attr)('string'),\n    note: (0, _model.attr)('string'),\n    title: (0, _object.computed)('from', 'until', 'uiLocale.{dateFnsLocale,defaultDateFormat}', {\n      get() {\n        if (this.from && this.until) {\n          const from = (0, _format.default)(new Date(this.from), this.uiLocale.defaultDateFormat, {\n            locale: this.uiLocale.dateFnsLocale\n          });\n          const until = (0, _format.default)(new Date(this.until), this.uiLocale.defaultDateFormat, {\n            locale: this.uiLocale.dateFnsLocale\n          });\n          return `${from} - ${until}`;\n        }\n        return '';\n      }\n    })\n  });\n});","define(\"additive-account/models/corporate-design\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _model.default.extend({\n    colors: (0, _model.attr)(),\n    typography: (0, _model.attr)(),\n    fonts: (0, _model.attr)(),\n    logoUrl: (0, _model.attr)('string'),\n    alternativeLogoUrl: (0, _model.attr)('string'),\n    signetUrl: (0, _model.attr)('string')\n  });\n});","define(\"additive-account/models/email-template\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _model.default.extend({\n    config: (0, _model.attr)(),\n    name: (0, _model.attr)('string'),\n    styles: (0, _model.attr)()\n  });\n});","define(\"additive-account/models/organization\", [\"exports\", \"@additive-apps/auth/models/organization\"], function (_exports, _organization) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _organization.default;\n    }\n  });\n});","define(\"additive-account/models/room-count\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _model.default.extend({\n    count: (0, _model.attr)('number'),\n    startsAt: (0, _model.attr)('string'),\n    note: (0, _model.attr)('string')\n  });\n});","define(\"additive-account/models/setting\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _model.default.extend({\n    contentLanguages: (0, _model.attr)(),\n    defaultLanguage: (0, _model.attr)('string')\n  });\n});","define(\"additive-account/models/tag\", [\"exports\", \"@additive-apps/ui/models/tag\"], function (_exports, _tag) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tag.default;\n    }\n  });\n});","define(\"additive-account/models/user\", [\"exports\", \"@additive-apps/auth/models/user\"], function (_exports, _user) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _user.default;\n    }\n  });\n});","define(\"additive-account/modifiers/did-insert\", [\"exports\", \"@ember/render-modifiers/modifiers/did-insert\"], function (_exports, _didInsert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _didInsert.default;\n    }\n  });\n});","define(\"additive-account/modifiers/did-update\", [\"exports\", \"@ember/render-modifiers/modifiers/did-update\"], function (_exports, _didUpdate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _didUpdate.default;\n    }\n  });\n});","define(\"additive-account/modifiers/style\", [\"exports\", \"ember-style-modifier/modifiers/style\"], function (_exports, _style) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _style.default;\n    }\n  });\n});","define(\"additive-account/modifiers/will-destroy\", [\"exports\", \"@ember/render-modifiers/modifiers/will-destroy\"], function (_exports, _willDestroy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _willDestroy.default;\n    }\n  });\n});","define(\"additive-account/objects/sidenav-state\", [\"exports\", \"@additive-apps/ui/objects/sidenav-state\"], function (_exports, _sidenavState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sidenavState.default;\n    }\n  });\n});","define(\"additive-account/router\", [\"exports\", \"@ember/routing/router\", \"additive-account/config/environment\", \"@additive-apps/auth/router\"], function (_exports, _router, _environment, _router2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Router extends _router.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"location\", _environment.default.locationType);\n      _defineProperty(this, \"rootURL\", _environment.default.rootURL);\n    }\n  }\n  _exports.default = Router;\n  Router.map(function () {\n    this.route('auth', function () {\n      this.route('login', function () {\n        this.route('reset');\n      });\n      this.route('signup');\n      this.route('mfa');\n      this.route('mfa-setup');\n\n      // added new callback route from auth-addon\n      (0, _router2.default)(this);\n    });\n    this.route('confirm');\n    this.route('invite');\n    this.route('logout');\n    this.route('organization');\n    this.route('instances', {\n      path: '/'\n    }, function () {\n      this.route('create');\n      this.route('me', function () {\n        this.route('inbox', function () {\n          this.route('message', {\n            path: ':message_id'\n          });\n        });\n      });\n      this.route('instance', {\n        path: ':instance_id'\n      }, function () {\n        this.route('organization', function () {\n          this.route('index', {\n            path: '/'\n          });\n        });\n        this.route('apps');\n        this.route('users', function () {\n          this.route('list', {\n            path: '/'\n          }, function () {\n            this.route('user', {\n              path: ':user_id'\n            });\n          });\n          this.route('partner');\n        });\n        this.route('billings');\n        this.route('email-templates', function () {\n          this.route('list', {\n            path: '/'\n          }, function () {\n            this.route('detail', {\n              path: ':email_template_id'\n            });\n          });\n          this.route('edit', {\n            path: ':email_template_id/edit'\n          });\n        });\n        this.route('corporate-design', function () {\n          this.route('logo');\n          this.route('typography');\n        });\n        this.route('auditlog');\n        this.route('settings', function () {\n          this.route('communication');\n          this.route('legals');\n          this.route('room-counts');\n          this.route('integrations');\n          this.route('closing-periods');\n          this.route('organization-settings');\n          this.route('goals');\n        });\n      });\n    });\n    this.route('loading');\n    this.route('page-not-found', {\n      path: '/not-found'\n    });\n    this.route('page-not-found', {\n      path: '/*wildcard'\n    });\n  });\n});","define(\"additive-account/routes/application-loading\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class ApplicationLoadingRoute extends _route.default {}\n  _exports.default = ApplicationLoadingRoute;\n});","define(\"additive-account/routes/application\", [\"exports\", \"@ember/routing/route\", \"@additive-apps/auth/mixins/application-auth-route-mixin\", \"@ember/service\", \"ember-concurrency\"], function (_exports, _route, _applicationAuthRouteMixin, _service, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ApplicationRoute = _exports.default = (_dec = (0, _emberConcurrency.task)(function* () {\n    try {\n      // check if the browser supports serviceWorker at all\n      if ('serviceWorker' in navigator) {\n        const registration = yield navigator.serviceWorker.getRegistration();\n\n        // detect serviceWorker update available and wait for it to become installed\n        registration.addEventListener('updatefound', () => {\n          if (registration.installing) {\n            // wait until the new serviceWorker is actually installed (ready to take over)\n            registration.installing.addEventListener('statechange', () => {\n              // if there's an existing controller (previous serviceWorker), show the update toast and clear the interval\n              if (registration.waiting && navigator.serviceWorker.controller) {\n                this.showUpdateToast();\n              }\n            });\n          }\n        });\n      }\n    } catch (e) {\n      // don't display anything if this task fails, because it runs in the background\n    }\n  }).drop(), _class = class ApplicationRoute extends _route.default.extend(_applicationAuthRouteMixin.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _initializerDefineProperty(this, \"intl\", _descriptor3, this);\n      _initializerDefineProperty(this, \"session\", _descriptor4, this);\n      _initializerDefineProperty(this, \"store\", _descriptor5, this);\n      _initializerDefineProperty(this, \"uiPaths\", _descriptor6, this);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor7, this);\n      _initializerDefineProperty(this, \"uiToast\", _descriptor8, this);\n      _defineProperty(this, \"routeAfterAuthentication\", 'instances.me');\n      _defineProperty(this, \"fetchFirstOrgAfterAuthentication\", false);\n      _defineProperty(this, \"intervalId\", null);\n      _defineProperty(this, \"isToastActive\", false);\n      _initializerDefineProperty(this, \"updateServiceWorker\", _descriptor9, this);\n    }\n    setupUpdateCheck() {\n      const task = this.updateServiceWorker;\n      // sets interval that checks for new SW registrations and updates those registrations\n      // updating the registration will then trigger the installing and waiting events\n      if (!this.intervalId) {\n        this.intervalId = setInterval(function () {\n          if ('serviceWorker' in navigator) {\n            navigator.serviceWorker.ready.then(registration => {\n              if (registration.active) {\n                registration.update().then(() => {\n                  task.perform();\n                });\n              }\n            });\n          }\n        }, 120000);\n      }\n    }\n    showUpdateToast() {\n      if (!this.isToastActive) {\n        clearInterval(this.intervalId);\n        const toast = this.uiToast.showToast({\n          type: 'warning',\n          title: this.intl.t('global.toasts.update.title'),\n          description: this.intl.t('global.toasts.update.description'),\n          actionLabel: this.intl.t('global.toasts.update.actionLabel'),\n          duration: -1,\n          icon: 'announcement',\n          onClick: () => {\n            this.uiToast.destroyToast(toast);\n            this.isToastActive = false;\n            this.applyUpdate();\n          },\n          onAbort: () => {\n            this.uiToast.destroyToast(toast);\n            this.isToastActive = false;\n          }\n        });\n        this.isToastActive = true;\n      }\n    }\n    applyUpdate() {\n      // refresh the page; this causes the new serviceWorker to be applied.\n      window.location.reload();\n    }\n    async beforeModel(transition) {\n      super.beforeModel(...arguments);\n      await this.uiLocale.setup();\n      const {\n        targetName\n      } = transition;\n      const {\n        queryParams\n      } = transition.to;\n\n      /**\n       * if the api forces a transition to login, we invalidate the current session object\n       * and redirect the user to login.\n       */\n      if (queryParams && queryParams['force_login'] && targetName === 'auth.login.index') {\n        transition.abort();\n        return this.session.invalidate().then(() => {\n          this.transitionTo('auth.login', {\n            queryParams: {\n              force_login: null\n            }\n          });\n        });\n      }\n    }\n    setupController() {\n      super.setupController(...arguments);\n\n      // checks if serviceWorker update is available once\n      this.updateServiceWorker.perform();\n\n      // sets up an interval of 120sec, where it checks again\n      this.setupUpdateCheck();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"session\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"uiPaths\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"uiToast\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"updateServiceWorker\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/routes/auth\", [\"exports\", \"@ember/routing/route\", \"@glimmer/tracking\", \"@ember/service\", \"ember-simple-auth/mixins/unauthenticated-route-mixin\"], function (_exports, _route, _tracking, _service, _unauthenticatedRouteMixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let AuthRoute = _exports.default = (_class = class AuthRoute extends _route.default.extend(_unauthenticatedRouteMixin.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n      _initializerDefineProperty(this, \"uiLocale\", _descriptor2, this);\n      _initializerDefineProperty(this, \"routeIfAlreadyAuthenticated\", _descriptor3, this);\n    }\n    beforeModel(transition) {\n      if (transition.targetName === 'auth.login.reset') {\n        return;\n      }\n      return super.beforeModel(...arguments);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"uiLocale\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"routeIfAlreadyAuthenticated\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function initializer() {\n      return 'instances.me';\n    }\n  }), _class);\n});","define(\"additive-account/routes/auth/callback\", [\"exports\", \"@additive-apps/auth/routes/auth/callback\"], function (_exports, _callback) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _callback.default;\n    }\n  });\n});","define(\"additive-account/routes/auth/login\", [\"exports\", \"@ember/routing/route\", \"ember-simple-auth/mixins/unauthenticated-route-mixin\", \"@ember/object\", \"@ember/utils\", \"@ember/service\", \"additive-account/utils/api-query-errors\", \"@ember/string\", \"ember-changeset\", \"additive-account/validations/auth\", \"ember-changeset-validations\"], function (_exports, _route, _unauthenticatedRouteMixin, _object, _utils, _service, _apiQueryErrors, _string, _emberChangeset, _auth, _emberChangesetValidations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_unauthenticatedRouteMixin.default, {\n    intl: (0, _service.inject)(),\n    _googleAlertConfig(errorKey, intl) {\n      const config = {\n        'auth.oauth_only': {\n          tone: 'info',\n          icon: 'info-state',\n          messageKey: 'auth.login.socialErrors.oauthOnly.message'\n        },\n        'auth.google_login_requires_existing_account': {\n          tone: 'info',\n          icon: 'info-state',\n          messageKey: 'auth.login.socialErrors.googleLoginRequiresExistingAccount.message'\n        },\n        'auth.invite_invalid_or_accepted': {\n          tone: 'warning',\n          icon: 'warning-state',\n          messageKey: 'auth.login.socialErrors.inviteInvalidOrAccepted.message'\n        },\n        'auth.invite_google_email_mismatch': {\n          tone: 'error',\n          icon: 'error-state',\n          messageKey: 'auth.login.socialErrors.inviteGoogleEmailMismatch.message'\n        },\n        'auth.google_login_cancelled': {\n          tone: 'warning',\n          icon: 'warning-state',\n          messageKey: 'auth.login.socialErrors.googleLoginCancelled.message'\n        },\n        'auth.google_domain_not_allowed': {\n          tone: 'error',\n          icon: 'error-state',\n          messageKey: 'auth.login.socialErrors.googleDomainNotAllowed.message'\n        },\n        session_expired: {\n          tone: 'info',\n          icon: 'info-state',\n          messageKey: 'auth.login.sessionExpired.message'\n        }\n      }[errorKey];\n      if (!config) {\n        return null;\n      }\n      return {\n        tone: config.tone,\n        icon: config.icon,\n        message: intl.t(config.messageKey)\n      };\n    },\n    beforeModel(transition) {\n      if (transition.targetName === 'auth.login.reset') {\n        return;\n      }\n      return this._super(...arguments);\n    },\n    setupController(controller, model) {\n      this._super(controller, model);\n      const intl = this.intl;\n      const validation = (0, _auth.loginValidation)(intl);\n      const changeset = new _emberChangeset.default({\n        email: '',\n        password: ''\n      }, (0, _emberChangesetValidations.default)(validation), validation);\n      changeset.validate();\n      (0, _object.set)(controller, 'loginChangeset', changeset);\n      controller.resetPasswordDialog();\n      (0, _object.set)(controller, 'googleErrorNotice', null);\n      const alertErrorKeys = ['auth.oauth_only', 'auth.google_login_requires_existing_account', 'auth.invite_invalid_or_accepted', 'auth.invite_google_email_mismatch', 'auth.google_login_cancelled', 'auth.google_domain_not_allowed', 'session_expired'];\n      const queryErrors = controller.errors;\n      const apiErrors = (0, _apiQueryErrors.combineErrors)(queryErrors);\n      if ((0, _utils.isPresent)(apiErrors)) {\n        (0, _object.set)(controller, 'apiErrors', apiErrors);\n        Object.keys(apiErrors).forEach(key => {\n          const apiErrorsByKey = apiErrors[key];\n          const keyCamelized = (0, _string.camelize)(key);\n          const error = apiErrorsByKey[apiErrorsByKey.length - 1];\n          if (alertErrorKeys.includes(error)) {\n            (0, _object.set)(controller, 'googleErrorNotice', this._googleAlertConfig(error, intl));\n          } else {\n            changeset.pushErrors(keyCamelized, intl.t(`global.errors.apiQueryErrors.${error}`));\n            (0, _object.set)(controller, 'isFormTouched', true);\n          }\n        });\n      }\n    },\n    resetController(controller, isExiting, transition) {\n      if (isExiting && transition && transition.targetName === 'auth.signup') {\n        const changeset = controller.loginChangeset;\n        changeset && changeset.rollback();\n      }\n    }\n  });\n});","define(\"additive-account/routes/auth/login/reset\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/utils\", \"additive-account/utils/api-query-errors\", \"@ember/service\"], function (_exports, _route, _object, _utils, _apiQueryErrors, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    intl: (0, _service.inject)(),\n    queryParams: {\n      errors: {\n        as: 'reset-error'\n      }\n    },\n    beforeModel(transition) {\n      var _transition$to;\n      this._super(...arguments);\n      if (!(transition !== null && transition !== void 0 && (_transition$to = transition.to) !== null && _transition$to !== void 0 && (_transition$to = _transition$to.queryParams) !== null && _transition$to !== void 0 && _transition$to.token)) {\n        this.transitionTo('auth.login');\n      }\n    },\n    setupController(controller) {\n      this._super(...arguments);\n      const queryErrors = controller.errors;\n      if (queryErrors && queryErrors.includes('token:reset.failed')) {\n        (0, _object.set)(controller, 'isTokenError', true);\n        return;\n      }\n      const changeset = controller.changeset;\n      const token = controller.token;\n      if ((0, _utils.isPresent)(token)) {\n        changeset.set('token', token);\n      } else {\n        controller.transitionToRoute('auth.login');\n      }\n      (0, _object.set)(controller, 'isResetAllowed', true);\n      (0, _object.set)(controller, 'isSubmitting', false);\n      const apiErrors = (0, _apiQueryErrors.combineErrors)(queryErrors);\n      const intl = this.intl;\n\n      // push api-related errors to the controllers changeset\n      if ((0, _utils.isPresent)(apiErrors)) {\n        (0, _object.set)(controller, 'apiErrors', apiErrors);\n        Object.keys(apiErrors).forEach(key => {\n          // Get last error, 'cause we only show one error\n          const apiErrorsByKey = apiErrors[key];\n          const error = apiErrorsByKey[apiErrorsByKey.length - 1];\n          changeset.pushErrors(key, intl.t(`global.errors.apiQueryErrors.${error}`));\n          (0, _object.set)(controller, 'isFormTouched', true);\n        });\n      }\n    }\n  });\n});","define(\"additive-account/routes/auth/mfa-setup\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class AuthMfaRoute extends _route.default {}\n  _exports.default = AuthMfaRoute;\n});","define(\"additive-account/routes/auth/mfa\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"ember-changeset\", \"@ember/string\", \"@ember/utils\", \"ember-changeset-validations\", \"additive-account/validations/two-factor-authentication\"], function (_exports, _route, _service, _emberChangeset, _string, _utils, _emberChangesetValidations, _twoFactorAuthentication) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let AuthMfaRoute = _exports.default = (_class = class AuthMfaRoute extends _route.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n    }\n    setupController(controller) {\n      super.setupController(...arguments);\n      const intl = this.intl;\n      const validation = (0, _twoFactorAuthentication.codeValidation)(intl);\n      const changeset = new _emberChangeset.default({\n        code: null\n      }, (0, _emberChangesetValidations.default)(validation), validation);\n      changeset.validate();\n      controller.changeset = changeset;\n      const apiError = controller.error;\n      if ((0, _utils.isPresent)(apiError)) {\n        var _changeset$error$code, _changeset$error$code2;\n        const errorKeyCamelized = (0, _string.camelize)(apiError);\n        const translatedError = intl.t(`global.errors.apiQueryErrors.auth.mfa.${errorKeyCamelized}`);\n        const existingErrors = (_changeset$error$code = (_changeset$error$code2 = changeset.error.code) === null || _changeset$error$code2 === void 0 ? void 0 : _changeset$error$code2.validation) !== null && _changeset$error$code !== void 0 ? _changeset$error$code : [];\n        changeset.error.code = {\n          key: 'code',\n          validation: [translatedError, ...existingErrors]\n        };\n        controller.isFormTouched = true;\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/routes/auth/signup\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/auth\"], function (_exports, _route, _object, _service, _emberChangeset, _emberChangesetValidations, _auth) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    intl: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    beforeModel(transition) {\n      var _transition$to;\n      this._super(...arguments);\n\n      // Redirect to login page if there is no token\n      if (!(transition !== null && transition !== void 0 && (_transition$to = transition.to) !== null && _transition$to !== void 0 && (_transition$to = _transition$to.queryParams) !== null && _transition$to !== void 0 && _transition$to.token)) {\n        this.router.transitionTo('auth.login');\n      }\n    },\n    setupController(controller) {\n      this._super(...arguments);\n      const {\n        token\n      } = controller;\n      // Check if the token is set\n      if (!token) {\n        return;\n      }\n      (0, _object.set)(controller, 'isInvite', true);\n      controller.checkInvite.perform(token).catch((/* error */\n      ) => {\n        // TODO handle different, possible error-cases\n        // 1. token_already_accepted status: 400\n        // 2. Invalid token 404\n        // 3. unexpected api-errors ()\n        // reset invalid token\n        (0, _object.set)(controller, 'token', null);\n      });\n      const validation = (0, _auth.signupValidation)(this.intl);\n      const changeset = new _emberChangeset.default({\n        email: '',\n        givenName: '',\n        familyName: '',\n        password: '',\n        passwordConfirmation: '',\n        isPrivacyAccepted: false\n      }, (0, _emberChangesetValidations.default)(validation), validation);\n      (0, _object.set)(controller, 'changeset', changeset);\n    },\n    resetController(controller, isExiting, transition) {\n      if (isExiting && transition && transition.targetName === 'auth.login.index') {\n        const changeset = controller.changeset;\n        changeset && changeset.rollback();\n      }\n    }\n  });\n});","define(\"additive-account/routes/confirm\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\"], function (_exports, _route, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * The route has two purposes:\n   *  - as destination after a user signs-up\n   *  - and to validate the sign-up tokens\n   */\n  var _default = _exports.default = _route.default.extend({\n    intl: (0, _service.inject)(),\n    setupController(controller) {\n      this._super(...arguments);\n      const {\n        email_verification_code,\n        token,\n        signup_email\n      } = controller;\n      // Check if its a regular sign-up or an invite\n      if (email_verification_code) {\n        controller.confirmUser.perform(email_verification_code);\n      } else if (token) {\n        // Check if its a regular sign-up or an invite\n        controller.checkInvitationToken.perform(token);\n      } else {\n        const intl = this.intl;\n        const pageContent = {\n          illustration: 'mail-white',\n          title: intl.t('confirm.signup.title'),\n          description: intl.t('confirm.signup.description', {\n            email: signup_email,\n            htmlSafe: true\n          }),\n          actionLabel: intl.t('confirm.signup.actionLabel')\n        };\n        (0, _object.set)(controller, 'viewContent', pageContent);\n      }\n    }\n  });\n});","define(\"additive-account/routes/instances\", [\"exports\", \"additive-account/config/environment\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"@additive-apps/auth/mixins/auth-route-mixin\", \"additive-account/utils/constants\", \"additive-account/utils/posthog\", \"@userback/widget\"], function (_exports, _environment, _route, _object, _service, _authRouteMixin, _constants, _posthog, _widget) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const GLOBAL_USER_STATE_OBJECT = {\n    user: null\n  };\n  var _default = _exports.default = _route.default.extend(_authRouteMixin.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    uiState: (0, _service.inject)(),\n    uiPaths: (0, _service.inject)(),\n    session: (0, _service.inject)(),\n    uiLocale: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    redirectUri: `${_environment.default.APP.baseHost}${_environment.default.APP.redirectRoute}`,\n    /**\n     * The global user state\n     *\n     * @property _globalUserState\n     * @type {Object}\n     * @private\n     */\n    _globalUserState: null,\n    init() {\n      this._super(...arguments);\n      (0, _object.set)(this, '_globalUserState', Object.assign({}, GLOBAL_USER_STATE_OBJECT));\n      this.uiState.register(_constants.GLOBAL_USER_STATE_KEY, this._globalUserState);\n    },\n    async afterModel(model, transition) {\n      this._super(...arguments);\n      if (transition.targetName === 'instances.index') {\n        this.transitionTo('instances.me');\n      } else {\n        const globalUserState = this._globalUserState;\n        const user = globalUserState && globalUserState.user;\n\n        // If we already have an user, don't fetch twice\n        if (user) {\n          return;\n        }\n        const url = this.uiPaths.pathsByRouteName('instances.me').api().url;\n        try {\n          var _transition$to, _me$user, _me$user3, _me$user4;\n          const data = await this.authenticatedFetch.fetch(url);\n          if (!data || !data.ok) {\n            // This fetch could occure before the org-user call, so we have to check for 401 too\n            if (data.status === 401) {\n              this.session.invalidate();\n            }\n            throw new Error();\n          }\n          const me = await data.json();\n          if (!me || !me.user) {\n            throw new Error();\n          }\n          const {\n            email,\n            emailVerified,\n            organizationCount,\n            language\n          } = me.user;\n          await this.uiLocale.setLocale(language || 'de');\n          if (!emailVerified) {\n            this.transitionTo('confirm', {\n              queryParams: {\n                signup_email: email\n              }\n            });\n          } else if (organizationCount === 0 && !((_transition$to = transition.to) !== null && _transition$to !== void 0 && (_transition$to = _transition$to.queryParams) !== null && _transition$to !== void 0 && _transition$to.token)) {\n            /**\n             * With orgCount === 0 and no token queryParam the user will be redirected to /create\n             */\n            this.transitionTo('instances.create');\n          }\n\n          /**\n           * With token queryparam set and orgCount === 0 the user has an pending invitation to an org.\n           * The accept-request will be made at instances.me route, so let the user transition to that route\n           * to complete invitation flow\n           */\n          (me === null || me === void 0 ? void 0 : me.user) && (0, _object.set)(globalUserState, 'user', me.user);\n          if (me !== null && me !== void 0 && (_me$user = me.user) !== null && _me$user !== void 0 && _me$user.isAdditive) {\n            var _me$user2;\n            const widgetKey = _environment.default.APP.productlaneWidgetKey;\n\n            // Ensure the script is loaded if not already\n            if (!document.getElementById('productlane-script')) {\n              const script = document.createElement('script');\n              script.id = 'productlane-script';\n              script.async = true;\n              script.defer = true;\n              script.crossOrigin = 'anonymous';\n              script.src = 'https://widget.productlane.com/latest.productlane-widget.min.js';\n              document.body.appendChild(script);\n            }\n            (w => {\n              const P = w.Productlane = {\n                queue: {}\n              };\n              ['set', 'open', 'close', 'toggle', 'on', 'off', 'init'].forEach(m => {\n                P[m] = (n => function () {\n                  P.queue[n] = {\n                    args: arguments\n                  };\n                })(m);\n              });\n            })(window);\n            window.Productlane.init({\n              widgetKey,\n              theme: {\n                '--text-color-primary-dark': '#00172F',\n                '--text-color-secondary-dark': '#8F9EA4',\n                '--text-color-highlight-dark': '#4d76f1',\n                '--background-color-primary-dark': '#ffffff',\n                '--background-color-secondary-dark': '#8f9ea41a',\n                '--border-color-primary-dark': '#061C2D1A',\n                '--text-color-primary': '#00172F',\n                '--text-color-secondary': '#8F9EA4',\n                '--text-color-highlight': '#4d76f1',\n                '--background-color-primary': '#ffffff',\n                '--background-color-secondary': '#8f9ea41a',\n                '--border-color-primary': '#061C2D1A'\n              },\n              user: {\n                email: me === null || me === void 0 || (_me$user2 = me.user) === null || _me$user2 === void 0 ? void 0 : _me$user2.email\n              }\n            });\n            window.Productlane.on('loaded', () => {\n              var _document$getElementB;\n              const widget = (_document$getElementB = document.getElementById('ProductlaneWidget-MainWidget')) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.parentElement;\n              widget.style.zIndex = '9999999999';\n              const hasPermanentNavdrawer = document.querySelector('.ui-navigation-drawer--permanent');\n              if (hasPermanentNavdrawer) {\n                widget.style.left = '284px';\n              } else {\n                widget.style.left = '0px';\n              }\n            });\n          }\n          if (me !== null && me !== void 0 && (_me$user3 = me.user) !== null && _me$user3 !== void 0 && _me$user3.isAdditive || me !== null && me !== void 0 && (_me$user4 = me.user) !== null && _me$user4 !== void 0 && _me$user4.isPartner) {\n            (0, _widget.default)(me.user.isPartner ? _environment.default.APP.userbackAccessTokenPartner : _environment.default.APP.userbackAccessToken, {\n              email: me.user.email,\n              name: me.user.fullName,\n              categories: 'Account'\n            });\n          }\n          (me === null || me === void 0 ? void 0 : me.user) && (0, _posthog.posthogUserIdentification)(me.user, this.store);\n        } catch (error) {\n          // On error reset user\n          (0, _object.set)(globalUserState, 'user', null);\n        }\n      }\n    }\n  });\n});","define(\"additive-account/routes/instances/create\", [\"exports\", \"additive-account/config/environment\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"ember-changeset\", \"additive-account/validations/organization\", \"ember-changeset-validations\", \"rsvp\"], function (_exports, _environment, _route, _object, _service, _emberChangeset, _organization, _emberChangesetValidations, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    // route where an unauthenticated user gets redirected\n    authenticationRoute: 'auth.login',\n    model() {\n      return this.store.createRecord('organization');\n    },\n    setupController(controller, model) {\n      this._super(...arguments);\n\n      // With given app_id and plan_name as query-param, pre-add the corresponding app with plan to cart\n      // In case the app_id or plan_name is not a proper value, pre-add nothing and simply render the normal route.\n      const {\n        app_id,\n        plan_name\n      } = controller;\n      if (app_id && plan_name) {\n        // We have to fetch the apps to get the proper plan-amount and name to be able to pre-add to card\n        // Unfortunatley in this case with given app_id and plan_name it will fetch the buyable-apps twice.\n        // Here and the ui-app-selection component, maybe refactor to only fetch once\n        this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/apps?buyable=1`).then(response => response.ok ? response.json() : (0, _rsvp.reject)()).then(response => {\n          if (!controller || controller.isDestroying || !response.apps) {\n            return;\n          }\n          const queryParamAppId = parseInt(controller.app_id);\n          const queryParamPlanName = controller.plan_name;\n          const preSelectedApp = (response.apps || []).findBy('id', queryParamAppId);\n          if (!preSelectedApp || !preSelectedApp.plans) {\n            return;\n          }\n          const preSelectedPlan = (preSelectedApp.plans || []).findBy('id', queryParamPlanName);\n          if (!preSelectedPlan) {\n            return;\n          }\n          const preSelectedAppName = preSelectedApp.name;\n          const preSelectedPlanAmount = preSelectedPlan.amount;\n          // Add the app to cart\n          controller.addApp(queryParamAppId, preSelectedAppName, queryParamPlanName, preSelectedPlanAmount);\n        });\n        // with only app_id given as query-param, we cannot completley pre-add this case to cart\n        // so start route with open plan-select-dialog for the given app\n      } else if (app_id) {\n        (0, _object.set)(controller, 'isAppSelectionOpen', true);\n        (0, _object.set)(controller, 'preSelectedApp', {\n          id: parseInt(controller.app_id)\n        });\n      }\n      const intl = this.intl;\n      /*\n       * we pass the intl instance, to get the field names\n       * from our translation file.\n       */\n      const fullOrgValidation = (0, _organization.fullOrganization)(intl);\n      const changeset = new _emberChangeset.default(Object.assign({}, model, {\n        appPlans: []\n      }), (0, _emberChangesetValidations.default)(fullOrgValidation), fullOrgValidation);\n      changeset.set('isPartner', false);\n      (0, _object.set)(controller, 'changeset', changeset);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@ember/object\", \"ember-concurrency\", \"@additive-apps/auth/mixins/auth-route-mixin\", \"additive-account/mixins/global-user\"], function (_exports, _route, _service, _object, _emberConcurrency, _authRouteMixin, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_authRouteMixin.default, _globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiAppSettings: (0, _service.inject)(),\n    uiPaths: (0, _service.inject)(),\n    uiLocale: (0, _service.inject)(),\n    model(params) {\n      return this.setupOrg.perform(params.instance_id);\n    },\n    setupController(controller) {\n      var _this$globalUser;\n      this._super(...arguments);\n      if ((_this$globalUser = this.globalUser) !== null && _this$globalUser !== void 0 && _this$globalUser.new && window.innerWidth > 768) {\n        (0, _object.set)(controller, 'onboarding', '1');\n      }\n    },\n    /**\n     * Fetches organization to fill up currentUser service\n     * and its settings to fill up uiAppSettings service.\n     */\n    setupOrg: (0, _emberConcurrency.task)(function* (instanceId) {\n      const tasks = [];\n      const adapter = this.store.adapterFor('organization');\n      const baseUrl = adapter.urlForFindRecord(instanceId, 'organization');\n      const fetchOrgSettings = this.authenticatedFetch.fetch(`${baseUrl}/settings`);\n      const fetchOrg = this.store.findRecord('organization', instanceId);\n      tasks.push(fetchOrg);\n      tasks.push(fetchOrgSettings);\n      tasks.push((0, _emberConcurrency.timeout)(250));\n      const [organization, orgSettingsResponse] = yield (0, _emberConcurrency.all)(tasks);\n      (0, _object.set)(this, 'currentUser.currentOrganization', organization);\n      yield this.currentUser.loadUser();\n      yield this.uiLocale.setLocale(this.currentUser.user.language || 'de');\n      if (!orgSettingsResponse.ok) {\n        /* TODO: error handling when request fails, but what? is essential */\n        return organization;\n      }\n      const orgSettings = yield orgSettingsResponse.json();\n      if (orgSettings && orgSettings.settings) {\n        const {\n          settings\n        } = orgSettings;\n        (0, _object.setProperties)(this.uiAppSettings, {\n          'languages.contentLanguages': settings.contentLanguages,\n          'languages.defaultLanguage': settings.defaultLanguage,\n          currentLocale: settings.defaultLanguage\n        });\n      }\n      return organization;\n    })\n  });\n});","define(\"additive-account/routes/instances/instance/apps\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"@additive-apps/auth/mixins/access-guard\", \"additive-account/utils/app-management\", \"additive-account/mixins/global-user\"], function (_exports, _route, _object, _service, _accessGuard, _appManagement, _globalUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_accessGuard.default, _globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiState: (0, _service.inject)(),\n    routeIfUnauthorized: 'instances.instance',\n    requiredRole: 'member',\n    currentOrganization: _object.computed.alias('currentUser.currentOrganization'),\n    resetController(controller) {\n      this._super(...arguments);\n      (0, _object.set)(controller, 'currentApp', null);\n      (0, _object.set)(controller, 'apps', null);\n      (0, _object.set)(controller, 'availableApps', null);\n      (0, _object.set)(controller, 'addableApps', null);\n      this.store.unloadAll('app');\n    },\n    setupController(controller) {\n      this._super(...arguments);\n      _appManagement.getApps.task.perform(this).then(apps => (0, _object.set)(controller, 'apps', apps));\n      const currentOrganization = this.currentUser && this.currentUser.currentOrganization;\n\n      /**\n       * Fetch all bought apps with plans, needed to upgrade apps\n       */\n      _appManagement.getBoughtApps.task.perform(this, currentOrganization.id).then(response => {\n        const availableApps = response.apps;\n        (0, _object.set)(controller, 'availableApps', availableApps);\n      });\n\n      // fetch all apps a user can still purchase, needed to add apps\n      _appManagement.getBuyableApps.task.perform(this, currentOrganization.id).then(response => {\n        (0, _object.set)(controller, 'addableApps', response);\n      });\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/auditlog\", [\"exports\", \"@ember/routing/route\", \"@additive-apps/auth/mixins/access-guard\"], function (_exports, _route, _accessGuard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class InstancesInstanceAuditlogRoute extends _route.default.extend(_accessGuard.default) {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"routeIfUnauthorized\", 'instances.instance');\n      _defineProperty(this, \"requiredRole\", 'member');\n    }\n  }\n  _exports.default = InstancesInstanceAuditlogRoute;\n});","define(\"additive-account/routes/instances/instance/billings\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@ember/object\", \"additive-account/utils/billing-management\", \"@additive-apps/auth/mixins/access-guard\", \"@additive-apps/ui/utils/country-utils\"], function (_exports, _route, _service, _object, _billingManagement, _accessGuard, _countryUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_accessGuard.default, {\n    currentUser: (0, _service.inject)(),\n    authenticatedFetch: (0, _service.inject)(),\n    // access control settings\n    requiredRole: 'admin',\n    routeIfUnauthorized: 'instances.instance',\n    currentOrganization: _object.computed.alias('currentUser.currentOrganization'),\n    organizationId: _object.computed.alias('currentOrganization.id'),\n    beforeModel() {\n      const currentOrganization = this.currentOrganization;\n      const currentUser = this.currentUser;\n      if (currentOrganization.partnerSlug && (!currentUser.user || !currentUser.user.isSuperAdmin)) {\n        const routeIfUnauthorized = this.routeIfUnauthorized;\n        this.transitionTo(routeIfUnauthorized);\n      } else {\n        const routeIfUnauthorized = this.routeIfUnauthorized;\n        this.transitionTo(routeIfUnauthorized);\n        //Replace the above 2 lines for this line to reactivate billings: return this._super(...arguments);\n      }\n    },\n    model() {\n      (0, _object.set)(this, 'billing', {\n        legalName: '',\n        addressCountry: '',\n        addressLocality: '',\n        addressPostalCode: '',\n        addressStreet: '',\n        addressRegion: '',\n        vatId: ''\n      });\n      (0, _object.set)(this, 'subscription', {\n        cardLastFour: '',\n        cardExpMonth: '',\n        cardExpYear: '',\n        cardName: ''\n      });\n      return {\n        billing: this.billing,\n        subscription: this.subscription,\n        invoices: this.invoices\n      };\n    },\n    setupController(controller, model) {\n      this._super(...arguments);\n      const billingTask = _billingManagement.getBillingData.task.perform(this, this.organizationId);\n      (0, _object.set)(controller, 'billingTask', billingTask);\n      billingTask.then(response => {\n        if (response && response.billing) {\n          (0, _object.set)(model, 'billing', response.billing);\n        }\n      });\n      _billingManagement.getSubscriptionData.task.perform(this, this.organizationId).then(response => {\n        if (response && response.subscription) {\n          (0, _object.set)(model, 'subscription', response.subscription);\n        }\n      });\n      _billingManagement.getInvoiceData.task.perform(this, this.organizationId).then(response => {\n        if (response && response.invoices) {\n          (0, _object.set)(model, 'invoices', response.invoices);\n        }\n      });\n      _countryUtils.fetchCountries.task.perform(controller).then(countries => (0, _object.set)(controller, 'countries', countries));\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/corporate-design\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"@additive-apps/auth/mixins/access-guard\"], function (_exports, _route, _object, _service, _accessGuard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_accessGuard.default, {\n    intl: (0, _service.inject)(),\n    routeIfUnauthorized: 'instances.instance',\n    setupController(controller) {\n      this._super(...arguments);\n      const intl = this.intl;\n      (0, _object.set)(controller, 'routableTabs', [{\n        name: intl.t('routes.corporateDesign.tabs.colors'),\n        path: 'instances.instance.corporate-design.index'\n      }, {\n        name: intl.t('routes.corporateDesign.tabs.logo'),\n        path: 'instances.instance.corporate-design.logo'\n      }, {\n        name: intl.t('routes.corporateDesign.tabs.typography'),\n        path: 'instances.instance.corporate-design.typography'\n      }]);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/corporate-design/index\", [\"exports\", \"@ember/routing/route\", \"ember-changeset\", \"ember-changeset-validations\", \"additive-account/validations/corporate-design\", \"@ember/object\", \"@ember/object/computed\", \"@ember/service\", \"additive-account/utils/organization-utils\"], function (_exports, _route, _emberChangeset, _emberChangesetValidations, _corporateDesign, _object, _computed, _service, _organizationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    resetController(controller) {\n      (0, _object.set)(controller, 'colors', null);\n    },\n    setupController(controller) {\n      this._super(...arguments);\n      const fetchCorporateDesignTask = _organizationUtils.fetchCorporateDesign.task;\n      (0, _object.set)(controller, 'fetchCorporateDesignTask', fetchCorporateDesignTask);\n      fetchCorporateDesignTask.perform(this).then(corporateDesign => {\n        const colors = corporateDesign.colors;\n        (0, _object.set)(controller, 'colors', colors);\n        const validations = (0, _corporateDesign.defaultValidations)(this.intl);\n        const changesetMain = new _emberChangeset.default(colors.main, (0, _emberChangesetValidations.default)(validations), validations);\n        (0, _object.set)(controller, 'changesetMain', changesetMain);\n        const changesetAccent = new _emberChangeset.default(colors.accent, (0, _emberChangesetValidations.default)(validations), validations);\n        (0, _object.set)(controller, 'changesetAccent', changesetAccent);\n        const changesetAmbient = new _emberChangeset.default(colors.ambient, (0, _emberChangesetValidations.default)(validations), validations);\n        (0, _object.set)(controller, 'changesetAmbient', changesetAmbient);\n      });\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/corporate-design/typography\", [\"exports\", \"@ember/object\", \"@ember/routing/route\"], function (_exports, _object, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    resetController(controller) {\n      (0, _object.set)(controller, 'colors', null);\n    },\n    setupController(controller) {\n      this._super(...arguments);\n      controller.fetchCD.perform();\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/email-templates\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    uiFilter: (0, _service.inject)(),\n    setupController() {\n      this._super(...arguments);\n      this.uiFilter.register('emailTemplates', 'email-template', {\n        filterable: false,\n        searchable: false,\n        paginated: false\n      });\n    },\n    resetController(_, isExiting) {\n      this._super(...arguments);\n      isExiting && this.uiFilter.unregister('emailTemplates');\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/email-templates/edit\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@additive-apps/ui/mixins/ui-full-width-view\"], function (_exports, _route, _service, _uiFullWidthView) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_uiFullWidthView.default, {\n    store: (0, _service.inject)(),\n    model(params) {\n      const model = this.store.peekRecord('email-template', params.email_template_id);\n      return model || this.store.findRecord('email-template', params.email_template_id);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/email-templates/list\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    /* Overwrite default model, otherwise it will try to fetch */\n    model() {\n      return;\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/email-templates/list/detail\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    store: (0, _service.inject)(),\n    model(params) {\n      const model = this.store.peekRecord('email-template', params.email_template_id);\n      return model || this.store.findRecord('email-template', params.email_template_id);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/index\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    redirect(params, transition) {\n      transition.abort();\n      this.transitionTo('instances.instance.organization', params);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/organization\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@additive-apps/ui/utils/country-utils\", \"@additive-apps/ui/utils/app-utils\", \"@additive-apps/auth/mixins/access-guard\"], function (_exports, _route, _service, _countryUtils, _appUtils, _accessGuard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesInstanceOrganization = _exports.default = (_class = class InstancesInstanceOrganization extends _route.default.extend(_accessGuard.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      _defineProperty(this, \"requiredRole\", 'custom');\n      _defineProperty(this, \"routeIfUnauthorized\", 'instances.me');\n    }\n    async setupController(controller) {\n      var _this$currentUser;\n      super.setupController(...arguments);\n      _countryUtils.fetchCountries.task.perform(controller).then(countries => {\n        controller.countries = countries;\n      });\n      controller.fetchPendingDomainSwap.perform();\n      controller.fetchOrganizationDomainSettings.perform();\n      _appUtils.fetchAccessibleApps.task.perform(this, (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id).then(accessibleApps => controller.accessibleApps = accessibleApps);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/routes/instances/instance/settings\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@ember/object\", \"ember-concurrency\", \"additive-account/mixins/global-user\", \"@additive-apps/ui/constants\"], function (_exports, _route, _service, _object, _emberConcurrency, _globalUser, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_globalUser.default, {\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    _setRouteTabs: (0, _emberConcurrency.task)(function* (controller) {\n      const tabs = this._getTabs();\n      try {\n        var _this$globalUser, _this$globalUser2, _this$currentUser, _this$currentUser2, _this$currentUser3, _this$currentUser4;\n        const intl = this.intl;\n        yield this.currentUser.loadUser();\n        const apps = yield this.store.query('app', {\n          accessible: 1\n        });\n        const crm = apps.find(app => app.id && parseInt(app.id) === _constants.APP_ID_CRM);\n        if (crm) {\n          tabs.push({\n            name: intl.t('routes.settings.tabs.roomCounts'),\n            path: 'instances.instance.settings.room-counts'\n          });\n        }\n        const isAdditive = (_this$globalUser = this.globalUser) === null || _this$globalUser === void 0 ? void 0 : _this$globalUser.isAdditive;\n        const isPartner = (_this$globalUser2 = this.globalUser) === null || _this$globalUser2 === void 0 ? void 0 : _this$globalUser2.isPartner;\n        const isSubOrg = !(this !== null && this !== void 0 && (_this$currentUser = this.currentUser) !== null && _this$currentUser !== void 0 && (_this$currentUser = _this$currentUser.currentOrganization) !== null && _this$currentUser !== void 0 && _this$currentUser.isPartner);\n        const hasPartnerPrivileges = isAdditive && ((_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isAdmin) || isPartner && isSubOrg && ((_this$currentUser3 = this.currentUser) === null || _this$currentUser3 === void 0 ? void 0 : _this$currentUser3.isAdmin);\n        const hasOrgDeactivationPrivileges = hasPartnerPrivileges || ((_this$currentUser4 = this.currentUser) === null || _this$currentUser4 === void 0 || (_this$currentUser4 = _this$currentUser4.user) === null || _this$currentUser4 === void 0 ? void 0 : _this$currentUser4.isSuperAdmin);\n        if (hasOrgDeactivationPrivileges) {\n          tabs.push({\n            name: intl.t('routes.settings.tabs.organizationSettings'),\n            path: 'instances.instance.settings.organization-settings'\n          });\n        }\n        if (isAdditive || isPartner) {\n          tabs.push({\n            name: intl.t('routes.settings.tabs.goals'),\n            path: 'instances.instance.settings.goals'\n          });\n        }\n        (0, _object.set)(controller, 'routableTabs', tabs);\n      } catch (e) {\n        (0, _object.set)(controller, 'routableTabs', tabs);\n      }\n    }),\n    setupController(controller) {\n      this._super(...arguments);\n      this._setRouteTabs.perform(controller);\n    },\n    resetController(controller) {\n      (0, _object.set)(controller, 'routableTabs', this._getTabs());\n    },\n    _getTabs() {\n      const intl = this.intl;\n      return [{\n        name: intl.t('routes.settings.tabs.communication'),\n        path: 'instances.instance.settings.communication'\n      }, {\n        name: intl.t('routes.settings.tabs.legals'),\n        path: 'instances.instance.settings.legals'\n      }, {\n        name: intl.t('routes.settings.tabs.integrations'),\n        path: 'instances.instance.settings.integrations'\n      }, {\n        name: intl.t('routes.settings.tabs.closingPeriods'),\n        path: 'instances.instance.settings.closing-periods'\n      }];\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/settings/closing-periods\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    setupController(controller, model) {\n      this._super(controller, model);\n      controller.fetchClosingPeriods.perform();\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/settings/communication\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class InstancesInstanceSettingsCommunication extends _route.default {\n    async setupController(controller) {\n      super.setupController(...arguments);\n      controller.setup();\n    }\n    resetController(controller) {\n      controller.settings = null;\n      super.resetController(...arguments);\n    }\n  }\n  _exports.default = InstancesInstanceSettingsCommunication;\n});","define(\"additive-account/routes/instances/instance/settings/index\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    redirect() {\n      this.transitionTo('instances.instance.settings.communication');\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/settings/integrations\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    setupController(controller) {\n      this._super(...arguments);\n      controller._fetch.perform();\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/settings/legals\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/object/computed\", \"@ember/service\", \"additive-account/utils/organization-utils\"], function (_exports, _route, _object, _computed, _service, _organizationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    organizationId: (0, _computed.alias)('currentUser.currentOrganization.id'),\n    setupController(controller) {\n      this._super(...arguments);\n      _organizationUtils.fetchSettings.task.perform(this).then(settings => {\n        (0, _object.set)(controller, '_settings', settings);\n        controller.fetchLegals && controller.fetchLegals.perform();\n      });\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/settings/organization-settings\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InstancesInstanceSettingsOrganizationSettingsRoute = _exports.default = (_class = class InstancesInstanceSettingsOrganizationSettingsRoute extends _route.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n    }\n    setupController(controller) {\n      var _controller$globalUse, _controller$globalUse2, _controller$currentUs, _this$currentUser, _this$currentUser2, _this$currentUser3;\n      super.setupController(...arguments);\n      const isAdditive = (_controller$globalUse = controller.globalUser) === null || _controller$globalUse === void 0 ? void 0 : _controller$globalUse.isAdditive;\n      const isPartner = (_controller$globalUse2 = controller.globalUser) === null || _controller$globalUse2 === void 0 ? void 0 : _controller$globalUse2.isPartner;\n      const isSubOrg = !(controller !== null && controller !== void 0 && (_controller$currentUs = controller.currentUser) !== null && _controller$currentUs !== void 0 && (_controller$currentUs = _controller$currentUs.currentOrganization) !== null && _controller$currentUs !== void 0 && _controller$currentUs.isPartner);\n      const hasPartnerPrivileges = isAdditive && ((_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.isAdmin) || isPartner && isSubOrg && ((_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isAdmin);\n      const hasPrivileges = hasPartnerPrivileges || ((_this$currentUser3 = this.currentUser) === null || _this$currentUser3 === void 0 || (_this$currentUser3 = _this$currentUser3.user) === null || _this$currentUser3 === void 0 ? void 0 : _this$currentUser3.isSuperAdmin);\n      if (hasPrivileges) {\n        return;\n      }\n      return this.router.transitionTo('instances.instance.settings');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/routes/instances/instance/settings/room-counts\", [\"exports\", \"@ember/routing/route\", \"@ember/object\"], function (_exports, _route, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    setupController(controller, model) {\n      this._super(controller, model);\n      controller.fetchRoomCounts.perform();\n    },\n    resetController(controller) {\n      (0, _object.set)(controller, 'roomCounts', null);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/users\", [\"exports\", \"@ember/routing/route\", \"@additive-apps/auth/mixins/access-guard\"], function (_exports, _route, _accessGuard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_accessGuard.default, {\n    routeIfUnauthorized: 'instances.instance',\n    requiredRole: 'member'\n  });\n});","define(\"additive-account/routes/instances/instance/users/list\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"additive-account/utils/user-management\", \"additive-account/helpers/can-update-role\"], function (_exports, _route, _object, _service, _userManagement, _canUpdateRole) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    currentUser: (0, _service.inject)(),\n    router: (0, _service.inject)(),\n    setupController(controller) {\n      var _controller$globalUse, _controller$globalUse2, _this$currentUser, _this$currentUser2, _this$currentUser3;\n      this._super(...arguments);\n      const isAdditive = (_controller$globalUse = controller.globalUser) === null || _controller$globalUse === void 0 ? void 0 : _controller$globalUse.isAdditive;\n      const isPartner = (_controller$globalUse2 = controller.globalUser) === null || _controller$globalUse2 === void 0 ? void 0 : _controller$globalUse2.isOrgPartner;\n      const currentUserRole = (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.organizationUser) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.role;\n      const hasPartnerPrivileges = isAdditive || isPartner && ((_this$currentUser2 = this.currentUser) === null || _this$currentUser2 === void 0 ? void 0 : _this$currentUser2.isManager);\n      const hasPrivileges = hasPartnerPrivileges || ((_this$currentUser3 = this.currentUser) === null || _this$currentUser3 === void 0 || (_this$currentUser3 = _this$currentUser3.user) === null || _this$currentUser3 === void 0 ? void 0 : _this$currentUser3.isSuperAdmin);\n      _userManagement.getUsers.task.perform(this, controller).then(users => {\n        var _this$currentUser4;\n        const currentUserId = (_this$currentUser4 = this.currentUser) === null || _this$currentUser4 === void 0 || (_this$currentUser4 = _this$currentUser4.user) === null || _this$currentUser4 === void 0 ? void 0 : _this$currentUser4.id;\n        users.forEach(user => {\n          var _this$currentUser5;\n          // checks if the current users role is greater than the organisations user\n          const canUpdateUser = hasPrivileges ? hasPrivileges : (0, _canUpdateRole.canUpdateRole)([currentUserRole, user.role]);\n          (0, _object.set)(user, 'isDisabled', !canUpdateUser || user.id === currentUserId);\n          (0, _object.set)(user, 'canResetMfa', ((_this$currentUser5 = this.currentUser) === null || _this$currentUser5 === void 0 || (_this$currentUser5 = _this$currentUser5.user) === null || _this$currentUser5 === void 0 ? void 0 : _this$currentUser5.isSuperAdmin) && user.mfaEnabledAt &&\n          //additive-eu users cannot be reset via the UI\n          this.currentUser.currentOrganization.id !== 'additive-eu');\n        });\n        (0, _object.set)(controller, 'users', users);\n      });\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/users/list/user\", [\"exports\", \"@ember/routing/route\", \"@ember/object\"], function (_exports, _route, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    model(params) {\n      (0, _object.set)(this, 'userId', params.user_id);\n    },\n    setupController(controller) {\n      this._super(...arguments);\n      const userId = this.userId;\n      controller.getUser.perform(userId);\n    }\n  });\n});","define(\"additive-account/routes/instances/instance/users/partner\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"@ember/service\", \"additive-account/utils/user-management\"], function (_exports, _route, _object, _service, _userManagement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    currentUser: (0, _service.inject)(),\n    setupController(controller) {\n      _userManagement.getPartnerUsers.task.perform(this, controller).then(response => response.users).then(users => {\n        (0, _object.set)(controller, 'users', users);\n      });\n      (0, _object.set)(controller, 'partnerName', this.modelFor('instances.instance.users').name);\n    }\n  });\n});","define(\"additive-account/routes/instances/me/inbox\", [\"exports\", \"additive-account/config/environment\", \"@ember/routing/route\", \"@ember/service\", \"@ember/object\", \"@ember/template\"], function (_exports, _environment, _route, _service, _object, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    async model() {\n      var _json$notifications;\n      const response = await this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/notifications`);\n      const json = await response.json();\n      json.notifications = (_json$notifications = json.notifications) === null || _json$notifications === void 0 ? void 0 : _json$notifications.map(notification => {\n        if (!notification.data || !notification.data.text) {\n          return notification;\n        }\n        notification.data.text = notification.data.text.map(text => {\n          text.type === 'line' && (text.text = (0, _template.htmlSafe)(text.text));\n          return text;\n        });\n        return notification;\n      });\n      return json.notifications;\n    },\n    actions: {\n      /**\n       * Mark a message as read when the dialog-detail is closed\n       */\n      markMessageAsRead(id) {\n        const detailModel = this.currentModel.findBy('id', id);\n        if (detailModel && !detailModel.readAt) {\n          (0, _object.set)(detailModel, 'readAt', true);\n        }\n      }\n    }\n  });\n});","define(\"additive-account/routes/instances/me/inbox/message\", [\"exports\", \"additive-account/config/environment\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _environment, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    authenticatedFetch: (0, _service.inject)(),\n    model(params) {\n      return this.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/notifications/${params.message_id}`).then(response => response.json()).then(message => {\n        return message.notification;\n      });\n    }\n  });\n});","define(\"additive-account/routes/instances/me/index\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"additive-account/utils/user-management\", \"@ember/service\", \"rsvp\"], function (_exports, _route, _object, _userManagement, _service, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend({\n    // fetch used inside task\n    authenticatedFetch: (0, _service.inject)(),\n    store: (0, _service.inject)(),\n    uiToast: (0, _service.inject)(),\n    intl: (0, _service.inject)(),\n    // unload all apps when user is on me route\n    beforeModel() {\n      this.store.unloadAll('apps');\n    },\n    setupController(controller, model) {\n      this._super(controller, model);\n      const {\n        token\n      } = controller;\n      if (token) {\n        _userManagement.confirmInvitation.task.perform(`${token}`, this).then(status => {\n          if (status === 204) {\n            this.uiToast.showToast({\n              type: 'success',\n              title: this.intl.t('global.toasts.success.invite.title'),\n              duration: 2000\n            });\n            (0, _object.set)(controller, 'token', null);\n            return (0, _rsvp.resolve)();\n          } else if (status >= 400) {\n            // expected error codes are 400 and 404 for wrong or used token\n            // TODO: Use dialog-service and remove dialog from template\n            (0, _object.set)(controller, 'isInvalidTokenDialog', true);\n          }\n        })\n        // 401: unauthorized\n        .catch(() => (0, _object.set)(controller, 'isInvalidTokenDialog', true));\n      }\n    }\n  });\n});","define(\"additive-account/routes/invite\", [\"exports\", \"@ember/routing/route\", \"@ember/object\", \"additive-account/utils/user-management\"], function (_exports, _route, _object, _userManagement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   */\n  var _default = _exports.default = _route.default.extend({\n    setupController(controller) {\n      this._super(...arguments);\n      const {\n        token\n      } = controller;\n      // Check if its a regular sign-up or an invite\n      if (token) {\n        (0, _object.set)(controller, 'isInvite', true);\n        _userManagement.getInvitationData.task.perform(token).then(_ref => {\n          let {\n            newUser\n          } = _ref;\n          if (newUser) {\n            this.transitionTo('auth.signup', {\n              queryParams: {\n                token\n              }\n            });\n          } else {\n            // accept invite\n            this.transitionTo('instances.me', {\n              queryParams: {\n                token\n              }\n            });\n          }\n        }).catch(() => {\n          (0, _object.set)(controller, 'token', null);\n          this.transitionTo('auth.login');\n        });\n      } else {\n        this.transitionTo('auth.login');\n      }\n    }\n  });\n});","define(\"additive-account/routes/loading\", [\"exports\", \"@ember/routing/route\"], function (_exports, _route) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend();\n});","define(\"additive-account/routes/logout\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@additive-apps/ui/mixins/ui-full-width-view\"], function (_exports, _route, _service, _uiFullWidthView) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_uiFullWidthView.default, {\n    router: (0, _service.inject)(),\n    session: (0, _service.inject)(),\n    beforeModel() {\n      this._super(...arguments);\n\n      /* If not logged-in transition to application to start the normal auth-flow */\n      if (this.session.isAuthenticated === false) {\n        this.router.transitionTo('application');\n        return;\n      }\n      this.session.invalidate();\n    }\n  });\n});","define(\"additive-account/routes/organization\", [\"exports\", \"@ember/routing/route\", \"@ember/service\", \"@ember/object\", \"@additive-apps/auth/mixins/auth-route-mixin\"], function (_exports, _route, _service, _object, _authRouteMixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let OrganizationRoute = _exports.default = (_class = class OrganizationRoute extends _route.default.extend(_authRouteMixin.default) {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"currentUser\", _descriptor, this);\n      _initializerDefineProperty(this, \"store\", _descriptor2, this);\n      _initializerDefineProperty(this, \"router\", _descriptor3, this);\n    }\n    async model() {\n      var _this$currentUser;\n      super.model(...arguments);\n      const currentOrganizationId = (_this$currentUser = this.currentUser) === null || _this$currentUser === void 0 || (_this$currentUser = _this$currentUser.currentOrganization) === null || _this$currentUser === void 0 ? void 0 : _this$currentUser.id;\n      if (currentOrganizationId) {\n        return this.transitionTo('instances.instance', currentOrganizationId);\n      }\n      const organizations = await this.store.findAll('organization');\n      const firstOrganization = organizations.get('firstObject');\n      (0, _object.set)(this, 'currentUser.currentOrganization', firstOrganization);\n      this.router.transitionTo('instances.instance', firstOrganization);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"currentUser\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"additive-account/routes/page-not-found\", [\"exports\", \"@ember/routing/route\", \"@additive-apps/ui/mixins/ui-full-width-view\"], function (_exports, _route, _uiFullWidthView) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _route.default.extend(_uiFullWidthView.default);\n});","define(\"additive-account/serializers/-default\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _json.default;\n    }\n  });\n});","define(\"additive-account/serializers/-json-api\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _jsonApi.default;\n    }\n  });\n});","define(\"additive-account/serializers/-rest\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rest.default;\n    }\n  });\n});","define(\"additive-account/serializers/closing-time\", [\"exports\", \"additive-account/serializers/default\"], function (_exports, _default) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class ClosingTimeSerializer extends _default.default {}\n  _exports.default = ClosingTimeSerializer;\n});","define(\"additive-account/serializers/default\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * I was afraid to use application serializer.\n   * Maybe sometimes we can add this as application serializer.\n   * Unfortunatley we have to test everything when we do that, so using this is safer.\n   */\n  class DefaultSerializer extends _rest.default {\n    serializeIntoHash(data, type, record, options) {\n      Object.assign(data, this.serialize(record, options));\n    }\n  }\n  _exports.default = DefaultSerializer;\n});","define(\"additive-account/serializers/email-template\", [\"exports\", \"additive-account/serializers/default\"], function (_exports, _default) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class EmailTemplateSerializer extends _default.default {\n    modelNameFromPayloadKey() {\n      return 'email-template';\n    }\n  }\n  _exports.default = EmailTemplateSerializer;\n});","define(\"additive-account/serializers/organization\", [\"exports\", \"@additive-apps/auth/serializers/organization\"], function (_exports, _organization) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _organization.default;\n    }\n  });\n});","define(\"additive-account/serializers/room-count\", [\"exports\", \"additive-account/serializers/default\"], function (_exports, _default) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class RoomCountSerializer extends _default.default {}\n  _exports.default = RoomCountSerializer;\n});","define(\"additive-account/serializers/user\", [\"exports\", \"@additive-apps/auth/serializers/user\"], function (_exports, _user) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _user.default;\n    }\n  });\n});","define(\"additive-account/services/-ea-motion\", [\"exports\", \"ember-animated/services/motion\"], function (_exports, _motion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _motion.default;\n    }\n  });\n});","define(\"additive-account/services/-ensure-registered\", [\"exports\", \"@embroider/util/services/ensure-registered\"], function (_exports, _ensureRegistered) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _ensureRegistered.default;\n    }\n  });\n});","define(\"additive-account/services/ae-save-stack\", [\"exports\", \"@additive-apps/configurator/services/ae-save-stack\"], function (_exports, _aeSaveStack) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _aeSaveStack.default;\n    }\n  });\n});","define(\"additive-account/services/auth-utils\", [\"exports\", \"@additive-apps/auth/services/auth-utils\"], function (_exports, _authUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _authUtils.default;\n    }\n  });\n});","define(\"additive-account/services/authenticated-fetch\", [\"exports\", \"@additive-apps/auth/services/authenticated-fetch\"], function (_exports, _authenticatedFetch) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _authenticatedFetch.default;\n    }\n  });\n});","define(\"additive-account/services/cookies\", [\"exports\", \"ember-cookies/services/cookies\"], function (_exports, _cookies) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _cookies.default;\n});","define(\"additive-account/services/current-user\", [\"exports\", \"additive-account/config/environment\", \"@additive-apps/auth/services/current-user\"], function (_exports, _environment, _currentUser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * ENV variables from the application are passed\n   * to the service and can be used in the addon.\n   */\n  var _default = _exports.default = _currentUser.default.extend({\n    ENV: _environment.default\n  });\n});","define(\"additive-account/services/intl\", [\"exports\", \"ember-intl/services/intl\"], function (_exports, _intl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _intl.default;\n    }\n  });\n});","define(\"additive-account/services/localization\", [\"exports\", \"@additive-apps/utils/services/localization\"], function (_exports, _localization) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _localization.default;\n    }\n  });\n});","define(\"additive-account/services/power-calendar\", [\"exports\", \"ember-power-calendar/services/power-calendar\"], function (_exports, _powerCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendar.default;\n    }\n  });\n});","define(\"additive-account/services/s3-upload-file\", [\"exports\", \"@additive-apps/ui/services/s3-upload-file\"], function (_exports, _s3UploadFile) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _s3UploadFile.default;\n    }\n  });\n});","define(\"additive-account/services/session\", [\"exports\", \"ember-simple-auth/services/session\"], function (_exports, _session) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _session.default;\n});","define(\"additive-account/services/store\", [\"exports\", \"ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _store.default;\n    }\n  });\n});","define(\"additive-account/services/stripev3\", [\"exports\", \"ember-stripe-elements/services/stripev3\"], function (_exports, _stripev) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripev.default;\n    }\n  });\n});","define(\"additive-account/services/ui-app-settings\", [\"exports\", \"@additive-apps/ui/services/ui-app-settings\"], function (_exports, _uiAppSettings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiAppSettings.default;\n    }\n  });\n});","define(\"additive-account/services/ui-backdrop\", [\"exports\", \"@additive-apps/ui/services/ui-backdrop\"], function (_exports, _uiBackdrop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiBackdrop.default;\n    }\n  });\n});","define(\"additive-account/services/ui-dialog\", [\"exports\", \"@additive-apps/ui/services/ui-dialog\"], function (_exports, _uiDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiDialog.default;\n    }\n  });\n});","define(\"additive-account/services/ui-filter\", [\"exports\", \"@additive-apps/ui/services/ui-filter\"], function (_exports, _uiFilter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiFilter.default;\n    }\n  });\n});","define(\"additive-account/services/ui-locale\", [\"exports\", \"@additive-apps/utils/services/ui-locale\"], function (_exports, _uiLocale) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiLocale.default;\n    }\n  });\n});","define(\"additive-account/services/ui-paths\", [\"exports\", \"@additive-apps/ui/services/ui-paths\"], function (_exports, _uiPaths) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPaths.default;\n    }\n  });\n});","define(\"additive-account/services/ui-pusher\", [\"exports\", \"@additive-apps/ui/services/ui-pusher\"], function (_exports, _uiPusher) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiPusher.default;\n    }\n  });\n});","define(\"additive-account/services/ui-query-params\", [\"exports\", \"@additive-apps/ui/services/ui-query-params\"], function (_exports, _uiQueryParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiQueryParams.default;\n    }\n  });\n});","define(\"additive-account/services/ui-state\", [\"exports\", \"@additive-apps/ui/services/ui-state\"], function (_exports, _uiState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiState.default;\n    }\n  });\n});","define(\"additive-account/services/ui-toast\", [\"exports\", \"@additive-apps/ui/services/ui-toast\"], function (_exports, _uiToast) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uiToast.default;\n    }\n  });\n});","define(\"additive-account/session-stores/application\", [\"exports\", \"ember-simple-auth/session-stores/cookie\"], function (_exports, _cookie) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _cookie.default.extend();\n});","define(\"additive-account/templates/application-loading\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiLoadingPage />\n  */\n  {\n    \"id\": \"nOFwAS7S\",\n    \"block\": \"[[[8,[39,0],null,null,null]],[],false,[\\\"ui-loading-page\\\"]]\",\n    \"moduleName\": \"additive-account/templates/application-loading.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/application\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"application-view w-100 flex\" {{did-insert this.onInsert}}>\n    {{#if this.showNavdrawer}}\n      <UiApplicationNavigationDrawer\n        @class=\"flex flex-column\"\n        @user={{this.globalUser}}\n        as |applicationNavDrawer|\n      >\n        <applicationNavDrawer.accountSwitch\n          @title={{if this.isMeRoute this.globalUser.fullName}}\n          @imageUrl={{if this.isMeRoute this.userImagePath}}\n          @isImageRounded={{this.isMeRoute}}\n          @showCreateAction={{this.showCreateAction}}\n          @onCreateNewOrganization={{this.createNewOrganization}}\n          @onOrganizationClick={{this.transitionToOrganizationRoute}}\n        />\n  \n        <div class=\"flex flex-column\">\n          {{#if this.isMeRoute}}\n            {{#each this.indexRoutes as |route|}}\n              <applicationNavDrawer.menuItem\n                @title={{t route.intlKey}}\n                @icon={{route.svg}}\n                @routePath={{route.path}}\n              />\n            {{/each}}\n          {{else}}\n            {{#each this.applicationRoutes as |route|}}\n              <applicationNavDrawer.menuItem\n                @title={{t route.intlKey}}\n                @icon={{route.svg}}\n                @routePath={{route.path}}\n              />\n            {{/each}}\n            <applicationNavDrawer.menuItem\n              @title={{t \"routes.help.title\"}}\n              @icon=\"help\"\n              @href={{this.helpUrl}}\n            />\n          {{/if}}\n        </div>\n  \n        {{#unless this.isMeRoute}}\n          <applicationNavDrawer.appsList />\n        {{/unless}}\n        <applicationNavDrawer.userButton @user={{this.globalUser}} />\n      </UiApplicationNavigationDrawer>\n    {{/if}}\n  \n    {{outlet}}\n  </div>\n  \n  <div id=\"ember-basic-dropdown-wormhole\"></div>\n  \n  <UiDialogService />\n  \n  <UiToastContainer @parent=\".application-view\" />\n  */\n  {\n    \"id\": \"mFS8j7do\",\n    \"block\": \"[[[11,0],[24,0,\\\"application-view w-100 flex\\\"],[4,[38,0],[[30,0,[\\\"onInsert\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showNavdrawer\\\"]],[[[1,\\\"    \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@user\\\"],[\\\"flex flex-column\\\",[30,0,[\\\"globalUser\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,1,[\\\"accountSwitch\\\"]],null,[[\\\"@title\\\",\\\"@imageUrl\\\",\\\"@isImageRounded\\\",\\\"@showCreateAction\\\",\\\"@onCreateNewOrganization\\\",\\\"@onOrganizationClick\\\"],[[52,[30,0,[\\\"isMeRoute\\\"]],[30,0,[\\\"globalUser\\\",\\\"fullName\\\"]]],[52,[30,0,[\\\"isMeRoute\\\"]],[30,0,[\\\"userImagePath\\\"]]],[30,0,[\\\"isMeRoute\\\"]],[30,0,[\\\"showCreateAction\\\"]],[30,0,[\\\"createNewOrganization\\\"]],[30,0,[\\\"transitionToOrganizationRoute\\\"]]]],null],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isMeRoute\\\"]],[[[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"indexRoutes\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[30,1,[\\\"menuItem\\\"]],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@routePath\\\"],[[28,[37,5],[[30,2,[\\\"intlKey\\\"]]],null],[30,2,[\\\"svg\\\"]],[30,2,[\\\"path\\\"]]]],null],[1,\\\"\\\\n\\\"]],[2]],null]],[]],[[[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"applicationRoutes\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[30,1,[\\\"menuItem\\\"]],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@routePath\\\"],[[28,[37,5],[[30,3,[\\\"intlKey\\\"]]],null],[30,3,[\\\"svg\\\"]],[30,3,[\\\"path\\\"]]]],null],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\"          \\\"],[8,[30,1,[\\\"menuItem\\\"]],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@href\\\"],[[28,[37,5],[\\\"routes.help.title\\\"],null],\\\"help\\\",[30,0,[\\\"helpUrl\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,0,[\\\"isMeRoute\\\"]]],[[[1,\\\"        \\\"],[8,[30,1,[\\\"appsList\\\"]],null,null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[8,[30,1,[\\\"userButton\\\"]],null,[[\\\"@user\\\"],[[30,0,[\\\"globalUser\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n  \\\"],[46,[28,[37,8],null,null],null,null,null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,1,\\\"ember-basic-dropdown-wormhole\\\"],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,9],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,10],null,[[\\\"@parent\\\"],[\\\".application-view\\\"]],null]],[\\\"applicationNavDrawer\\\",\\\"route\\\",\\\"route\\\"],false,[\\\"did-insert\\\",\\\"if\\\",\\\"ui-application-navigation-drawer\\\",\\\"each\\\",\\\"-track-array\\\",\\\"t\\\",\\\"unless\\\",\\\"component\\\",\\\"-outlet\\\",\\\"ui-dialog-service\\\",\\\"ui-toast-container\\\"]]\",\n    \"moduleName\": \"additive-account/templates/application.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"auth-views-wrapper flex flex-column w-100 min-vh-100\">\n    <div class=\"auth-views bg-primary flex-grow-1\">\n      {{outlet}}\n    </div>\n    <footer class=\"main-footer bg-primary\">\n      <div class=\"footer__links font-sm primary\">\n        <a href={{this.privacyUrl}} target=\"_blank\" rel=\"noopener noreferrer\">\n          {{t \"global.attributes.privacy\"}}\n        </a>\n        <a href={{this.privacyUrl}} target=\"_blank\" rel=\"noopener noreferrer\">\n          {{t \"global.attributes.cookies\"}}\n        </a>\n        <a href={{this.generalTermsUrl}} target=\"_blank\" rel=\"noopener noreferrer\">\n          {{t \"global.attributes.generalTerms\"}}\n        </a>\n        <a href={{this.imprintUrl}} target=\"_blank\" rel=\"noopener noreferrer\">\n          {{t \"global.attributes.imprint\"}}\n        </a>\n      </div>\n    </footer>\n  </div>\n  */\n  {\n    \"id\": \"/yujsT1q\",\n    \"block\": \"[[[10,0],[14,0,\\\"auth-views-wrapper flex flex-column w-100 min-vh-100\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"auth-views bg-primary flex-grow-1\\\"],[12],[1,\\\"\\\\n    \\\"],[46,[28,[37,1],null,null],null,null,null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"footer\\\"],[14,0,\\\"main-footer bg-primary\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"footer__links font-sm primary\\\"],[12],[1,\\\"\\\\n      \\\"],[10,3],[15,6,[30,0,[\\\"privacyUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"global.attributes.privacy\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,3],[15,6,[30,0,[\\\"privacyUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"global.attributes.cookies\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,3],[15,6,[30,0,[\\\"generalTermsUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"global.attributes.generalTerms\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,3],[15,6,[30,0,[\\\"imprintUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"global.attributes.imprint\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"component\\\",\\\"-outlet\\\",\\\"t\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth/authenticate\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{outlet}}\n  */\n  {\n    \"id\": \"5u+czgSf\",\n    \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],false,[\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth/authenticate.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth/callback\", [\"exports\", \"@additive-apps/auth/templates/auth/callback\"], function (_exports, _callback) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _callback.default;\n    }\n  });\n});","define(\"additive-account/templates/auth/login\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\">\n    <AaLanguageSwitch />\n  </div>\n  \n  <UiContent @isCentered={{true}} @classNames=\"flex flex-column flex-shrink-0\">\n    {{svg-jar \"additive-full\" class=\"auth-logo w-100 pt3 white\"}}\n  \n    <AaCard @class=\"login-card w-100 ph1 pv1\" as |card|>\n      <card.content>\n        <h1 class=\"pb2 font-lg primary\">\n          {{t \"auth.login.title\"}}\n        </h1>\n  \n        {{#if this.googleErrorNotice}}\n          <UiInlineNotification\n            @class=\"mb3 mt1\"\n            @isError={{equal this.googleErrorNotice.tone \"error\"}}\n            @isWarning={{equal this.googleErrorNotice.tone \"warning\"}}\n            @icon={{this.googleErrorNotice.icon}}\n            @title={{this.googleErrorNotice.message}}\n          />\n        {{/if}}\n  \n        <form\n          class=\"flex flex-column\"\n          method=\"POST\"\n          action=\"{{this.loginFormSubmitUrl}}\"\n          data-test-loginform\n        >\n          <UiInput\n            @label={{t \"global.attributes.email\"}}\n            @value={{this.loginChangeset.email}}\n            @type=\"email\"\n            @errorMessage={{this.loginChangeset.error.email.validation}}\n            @name=\"email\"\n            @isTouched={{this.isFormTouched}}\n            data-test-email-input\n          />\n          <UiInput\n            @label={{t \"global.attributes.password\"}}\n            @type=\"password\"\n            @value={{this.loginChangeset.password}}\n            @errorMessage={{this.loginChangeset.error.password.validation}}\n            @name=\"password\"\n            @helperText={{unless this.hideLoginButton (t \"auth.login.forgotPassword\")}}\n            @onHelp={{unless this.hideLoginButton (action \"openForgotPasswordDialog\")}}\n            @isTouched={{this.isFormTouched}}\n            data-test-password-input\n          />\n  \n          <div class=\"flex {{if (and this.showGoogleLogin (not this.hideLoginButton)) \"justify-between\" \"justify-end\"}}\">\n            {{#if this.showGoogleLogin}}\n              <UiButton\n                @href=\"{{this.googleRedirectUrl}}\"\n                @icon=\"google\"\n                @isSecondary={{true}}\n                @label={{t \"auth.login.continueWithGoogle\"}}\n                data-test-google-login\n              />\n            {{/if}}\n  \n            {{#unless this.hideLoginButton}}\n              <UiButton @label={{t \"global.actions.login\"}} @type=\"submit\" data-test-login-action />\n            {{/unless}}\n          </div>\n        </form>\n      </card.content>\n    </AaCard>\n  </UiContent>\n  \n  {{#if this.isForgotPasswordDialog}}\n    <UiModal\n      @className=\"forgot-password__dialog\"\n      @size=\"sm\"\n      @title={{t \"auth.login.reset.title\"}}\n      @onClose={{action \"resetPasswordDialog\"}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          {{#if this.isResetPasswordSend}}\n            <div class=\"flex flex-column\">\n              <div class=\"mt2 font-md secondary\">\n                {{t\n                  \"auth.login.reset.success.emailDialogDescription\"\n                  email=this.resetPasswordChangeset.email\n                }}\n              </div>\n            </div>\n          {{else}}\n            <div class=\"flex flex-column\">\n              <div class=\"mt2 font-md secondary\">\n                {{t \"auth.login.reset.emailDialogDescription\"}}\n              </div>\n              <div class=\"flex flex-row mt1\">\n                <UiInput\n                  @class=\"w-100\"\n                  @label={{t \"global.attributes.email\"}}\n                  @value={{this.resetPasswordChangeset.email}}\n                  @type=\"email\"\n                  @errorMessage={{this.resetPasswordChangeset.error.email.validation}}\n                  @isTouched={{this.isResetPasswordTouched}}\n                  data-test-emailReset-input\n                />\n              </div>\n            </div>\n          {{/if}}\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        {{#unless this.isResetPasswordSend}}\n          <UiButton\n            @label={{t \"auth.login.reset.actions.resetPassword\"}}\n            @onClick={{perform this.resetPassword}}\n            data-test-resetPassword-button\n          />\n        {{/unless}}\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{outlet}}\n  \n  */\n  {\n    \"id\": \"Rj3k8iAK\",\n    \"block\": \"[[[10,0],[14,0,\\\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,0],null,null,null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,[[\\\"@isCentered\\\",\\\"@classNames\\\"],[true,\\\"flex flex-column flex-shrink-0\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[1,[28,[35,2],[\\\"additive-full\\\"],[[\\\"class\\\"],[\\\"auth-logo w-100 pt3 white\\\"]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@class\\\"],[\\\"login-card w-100 ph1 pv1\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"pb2 font-lg primary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.login.title\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"googleErrorNotice\\\"]],[[[1,\\\"        \\\"],[8,[39,6],null,[[\\\"@class\\\",\\\"@isError\\\",\\\"@isWarning\\\",\\\"@icon\\\",\\\"@title\\\"],[\\\"mb3 mt1\\\",[28,[37,7],[[30,0,[\\\"googleErrorNotice\\\",\\\"tone\\\"]],\\\"error\\\"],null],[28,[37,7],[[30,0,[\\\"googleErrorNotice\\\",\\\"tone\\\"]],\\\"warning\\\"],null],[30,0,[\\\"googleErrorNotice\\\",\\\"icon\\\"]],[30,0,[\\\"googleErrorNotice\\\",\\\"message\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n      \\\"],[10,\\\"form\\\"],[14,0,\\\"flex flex-column\\\"],[14,\\\"method\\\",\\\"POST\\\"],[15,\\\"action\\\",[29,[[30,0,[\\\"loginFormSubmitUrl\\\"]]]]],[14,\\\"data-test-loginform\\\",\\\"\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,8],[[24,\\\"data-test-email-input\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@errorMessage\\\",\\\"@name\\\",\\\"@isTouched\\\"],[[28,[37,4],[\\\"global.attributes.email\\\"],null],[30,0,[\\\"loginChangeset\\\",\\\"email\\\"]],\\\"email\\\",[30,0,[\\\"loginChangeset\\\",\\\"error\\\",\\\"email\\\",\\\"validation\\\"]],\\\"email\\\",[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n        \\\"],[8,[39,8],[[24,\\\"data-test-password-input\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@name\\\",\\\"@helperText\\\",\\\"@onHelp\\\",\\\"@isTouched\\\"],[[28,[37,4],[\\\"global.attributes.password\\\"],null],\\\"password\\\",[30,0,[\\\"loginChangeset\\\",\\\"password\\\"]],[30,0,[\\\"loginChangeset\\\",\\\"error\\\",\\\"password\\\",\\\"validation\\\"]],\\\"password\\\",[52,[51,[30,0,[\\\"hideLoginButton\\\"]]],[28,[37,4],[\\\"auth.login.forgotPassword\\\"],null]],[52,[51,[30,0,[\\\"hideLoginButton\\\"]]],[28,[37,10],[[30,0],\\\"openForgotPasswordDialog\\\"],null]],[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[15,0,[29,[\\\"flex \\\",[52,[28,[37,11],[[30,0,[\\\"showGoogleLogin\\\"]],[28,[37,12],[[30,0,[\\\"hideLoginButton\\\"]]],null]],null],\\\"justify-between\\\",\\\"justify-end\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showGoogleLogin\\\"]],[[[1,\\\"            \\\"],[8,[39,13],[[24,\\\"data-test-google-login\\\",\\\"\\\"]],[[\\\"@href\\\",\\\"@icon\\\",\\\"@isSecondary\\\",\\\"@label\\\"],[[29,[[30,0,[\\\"googleRedirectUrl\\\"]]]],\\\"google\\\",true,[28,[37,4],[\\\"auth.login.continueWithGoogle\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"hideLoginButton\\\"]]],[[[1,\\\"            \\\"],[8,[39,13],[[24,\\\"data-test-login-action\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@type\\\"],[[28,[37,4],[\\\"global.actions.login\\\"],null],\\\"submit\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isForgotPasswordDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,14],null,[[\\\"@className\\\",\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"forgot-password__dialog\\\",\\\"sm\\\",[28,[37,4],[\\\"auth.login.reset.title\\\"],null],[28,[37,10],[[30,0],\\\"resetPasswordDialog\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,3,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isResetPasswordSend\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"mt2 font-md secondary\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,4],[\\\"auth.login.reset.success.emailDialogDescription\\\"],[[\\\"email\\\"],[[30,0,[\\\"resetPasswordChangeset\\\",\\\"email\\\"]]]]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"mt2 font-md secondary\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,4],[\\\"auth.login.reset.emailDialogDescription\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-row mt1\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,8],[[24,\\\"data-test-emailReset-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[\\\"w-100\\\",[28,[37,4],[\\\"global.attributes.email\\\"],null],[30,0,[\\\"resetPasswordChangeset\\\",\\\"email\\\"]],\\\"email\\\",[30,0,[\\\"resetPasswordChangeset\\\",\\\"error\\\",\\\"email\\\",\\\"validation\\\"]],[30,0,[\\\"isResetPasswordTouched\\\"]]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[3]]]]],[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isResetPasswordSend\\\"]]],[[[1,\\\"        \\\"],[8,[39,13],[[24,\\\"data-test-resetPassword-button\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,4],[\\\"auth.login.reset.actions.resetPassword\\\"],null],[28,[37,15],[[30,0,[\\\"resetPassword\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[46,[28,[37,17],null,null],null,null,null],[1,\\\"\\\\n\\\"]],[\\\"card\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"aa-language-switch\\\",\\\"ui-content\\\",\\\"svg-jar\\\",\\\"aa-card\\\",\\\"t\\\",\\\"if\\\",\\\"ui-inline-notification\\\",\\\"equal\\\",\\\"ui-input\\\",\\\"unless\\\",\\\"action\\\",\\\"and\\\",\\\"not\\\",\\\"ui-button\\\",\\\"ui-modal\\\",\\\"perform\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth/login.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth/login/reset\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal\n    @title={{if\n      this.update_password\n      (t \"auth.login.reset.update.title\")\n      (t \"auth.login.reset.title\")\n    }}\n    @onClose={{action \"closePasswordReset\"}}\n    @size=\"sm\"\n    as |dialog|\n  >\n    <dialog.header />\n    <dialog.content as |content|>\n      <content.body>\n        {{#if this.isResetAllowed}}\n          <div class=\"mt2 font-md secondary\">\n            {{#if this.update_password}}\n              {{t \"auth.login.reset.update.description\"}}\n            {{else}}\n              {{t \"auth.login.reset.description\"}}\n            {{/if}}\n          </div>\n          <form\n            class=\"flex flex-column mt2\"\n            method=\"POST\"\n            action=\"{{this.resetFormSubmitUrl}}\"\n            data-test-resetform\n          >\n            <input type=\"hidden\" name=\"token\" value=\"{{this.token}}\" />\n            <input type=\"submit\" id=\"reset-form-submit\" class=\"fake-submit-button dn\" />\n            <UiInput\n              @label={{t \"global.attributes.email\"}}\n              @value={{this.changeset.email}}\n              @type=\"email\"\n              @name=\"email\"\n              @errorMessage={{get this.changeset.error.email \"validation\"}}\n              @isTouched={{this.isFormTouched}}\n              data-test-emailReset-input\n            />\n            <UiInput\n              @label={{t \"global.attributes.password\"}}\n              @value={{this.changeset.password}}\n              @type=\"password\"\n              @name=\"password\"\n              @errorMessage={{get this.changeset.error.password \"validation\"}}\n              @isTouched={{this.isFormTouched}}\n              data-test-passwordReset-input\n            />\n            <UiInput\n              @label={{t \"global.attributes.passwordConfirmation\"}}\n              @value={{this.changeset.passwordConfirmation}}\n              @type=\"password\"\n              @errorMessage={{get this.changeset.error.passwordConfirmation \"validation\"}}\n              @isTouched={{this.isFormTouched}}\n              data-test-passwordConfirmationReset-input\n            />\n          </form>\n        {{else}}\n          {{#if this.isTokenError}}\n            <div\n              class=\"section-intro font-sm font-regular secondary\"\n              data-test-tokenErrorMessage-container\n            >\n              {{t \"auth.login.reset.apiErrors.tokenError\"}}\n            </div>\n          {{else}}\n            <div class=\"section-intro font-sm font-regular secondary\">\n              {{t \"auth.login.reset.success.description\"}}\n            </div>\n          {{/if}}\n        {{/if}}\n      </content.body>\n    </dialog.content>\n    <dialog.footer>\n      {{#if this.isResetAllowed}}\n        <UiButton\n          @label={{t \"auth.login.reset.actions.setPassword\"}}\n          @onClick={{action \"sendReset\"}}\n          data-test-resetPassword-button\n        />\n      {{else}}\n        <UiButton\n          @label={{t \"global.actions.toRoute.login\"}}\n          @onClick={{action \"closePasswordReset\"}}\n          data-test-backToLogin-button\n        />\n      {{/if}}\n    </dialog.footer>\n  </UiModal>\n  */\n  {\n    \"id\": \"5nXpG6Ea\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@onClose\\\",\\\"@size\\\"],[[52,[30,0,[\\\"update_password\\\"]],[28,[37,2],[\\\"auth.login.reset.update.title\\\"],null],[28,[37,2],[\\\"auth.login.reset.title\\\"],null]],[28,[37,3],[[30,0],\\\"closePasswordReset\\\"],null],\\\"sm\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isResetAllowed\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"mt2 font-md secondary\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"update_password\\\"]],[[[1,\\\"            \\\"],[1,[28,[35,2],[\\\"auth.login.reset.update.description\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[1,[28,[35,2],[\\\"auth.login.reset.description\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"form\\\"],[14,0,\\\"flex flex-column mt2\\\"],[14,\\\"method\\\",\\\"POST\\\"],[15,\\\"action\\\",[29,[[30,0,[\\\"resetFormSubmitUrl\\\"]]]]],[14,\\\"data-test-resetform\\\",\\\"\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"input\\\"],[14,3,\\\"token\\\"],[15,2,[29,[[30,0,[\\\"token\\\"]]]]],[14,4,\\\"hidden\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"input\\\"],[14,1,\\\"reset-form-submit\\\"],[14,0,\\\"fake-submit-button dn\\\"],[14,4,\\\"submit\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[8,[39,4],[[24,\\\"data-test-emailReset-input\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,2],[\\\"global.attributes.email\\\"],null],[30,0,[\\\"changeset\\\",\\\"email\\\"]],\\\"email\\\",\\\"email\\\",[28,[37,5],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"email\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n          \\\"],[8,[39,4],[[24,\\\"data-test-passwordReset-input\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,2],[\\\"global.attributes.password\\\"],null],[30,0,[\\\"changeset\\\",\\\"password\\\"]],\\\"password\\\",\\\"password\\\",[28,[37,5],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"password\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n          \\\"],[8,[39,4],[[24,\\\"data-test-passwordConfirmationReset-input\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,2],[\\\"global.attributes.passwordConfirmation\\\"],null],[30,0,[\\\"changeset\\\",\\\"passwordConfirmation\\\"]],\\\"password\\\",[28,[37,5],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"passwordConfirmation\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"isTokenError\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"section-intro font-sm font-regular secondary\\\"],[14,\\\"data-test-tokenErrorMessage-container\\\",\\\"\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[\\\"auth.login.reset.apiErrors.tokenError\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"section-intro font-sm font-regular secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[\\\"auth.login.reset.success.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isResetAllowed\\\"]],[[[1,\\\"      \\\"],[8,[39,6],[[24,\\\"data-test-resetPassword-button\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"auth.login.reset.actions.setPassword\\\"],null],[28,[37,3],[[30,0],\\\"sendReset\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[8,[39,6],[[24,\\\"data-test-backToLogin-button\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.toRoute.login\\\"],null],[28,[37,3],[[30,0],\\\"closePasswordReset\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"dialog\\\",\\\"content\\\"],false,[\\\"ui-modal\\\",\\\"if\\\",\\\"t\\\",\\\"action\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth/login/reset.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth/mfa-setup\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\" {{did-insert this._setup}}>\n    <AaLanguageSwitch />\n  </div>\n  \n  <UiContent @isCentered={{true}} @classNames=\"flex flex-column flex-shrink-0\">\n    <AaCard @class=\"mfa-card w-100 pa1 \" as |card|>\n      <card.content>\n        <UiActionButton @icon=\"close\" @onClick={{this.redirectToLogin}} />\n  \n        <h1 class=\"pb2 pt3 font-lg primary\">\n          {{t \"auth.mfaSetup.info.title\"}}\n        </h1>\n  \n        {{#if this.showInfo}}\n          <div class=\"font-md primary mb2\">\n            {{t \"auth.mfaSetup.info.description\" htmlSafe=true}}\n          </div>\n  \n          <div class=\"flex justify-end\">\n            <UiActionButton\n              @class=\"mr1\"\n              @label={{t \"auth.mfaSetup.info.cancel\"}}\n              @onClick={{this.redirectToLogin}}\n            />\n  \n            <UiButton\n              @label={{t \"auth.mfaSetup.info.confirm\"}}\n              @onClick={{fn (mut this.showInfo) false}}\n            />\n          </div>\n        {{else}}\n          <div class=\"pb3 font-md primary\">\n            {{t \"auth.mfaSetup.description\" htmlSafe=true}}\n          </div>\n  \n          <div class=\"w-20 ba b--secondary-20 br1\" />\n  \n          {{#if this.showCodeInput}}\n            <form method=\"POST\" action={{this.submitUrl}}>\n              <div class=\"pt3\">\n                <div class=\"primary font-md font-medium\">\n                  {{t \"auth.mfaSetup.confirmCode.title\"}}\n                </div>\n  \n                <div class=\"primary font-md pt1\">\n                  {{t \"auth.mfaSetup.confirmCode.description\"}}\n                </div>\n  \n                <div class=\"pt3\">\n                  <input name=\"challenge_id\" type=\"hidden\" value={{this.challenge_id}} />\n                  <UiInput\n                    @class=\"mfa-code-input\"\n                    @name=\"code\"\n                    @label={{t \"auth.mfaSetup.confirmCode.code\"}}\n                    @value={{this.changeset.code}}\n                    @type=\"number\"\n                    @isTouched={{true}}\n                    @errorMessage={{if\n                      this.errorMessage\n                      this.errorMessage\n                      (get this.changeset.error.code \"validation\")\n                    }}\n                    @placeholder=\"123456\"\n                  />\n                </div>\n              </div>\n  \n              <div class=\"flex justify-between w-100\">\n                <UiActionButton\n                  @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.back\"}}\n                  @onClick={{this._back}}\n                />\n  \n                <div>\n                  <UiActionButton\n                    @class=\"mr05\"\n                    @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.cancel\"}}\n                    @onClick={{this.redirectToLogin}}\n                  />\n  \n                  <UiButton\n                    @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.continue\"}}\n                    @type=\"submit\"\n                  />\n                </div>\n              </div>\n            </form>\n          {{else}}\n            <div class=\"pt3 primary font-md\">\n              <div class=\"font-medium\">\n                {{t \"auth.mfaSetup.scanQRCode.title\"}}\n              </div>\n  \n              <div class=\"pt1\">\n                {{t \"auth.mfaSetup.scanQRCode.description\"}}\n              </div>\n  \n              {{#if this.fetchMFAData.isRunning}}\n                <div class=\"pt3\">\n                  <UiSkeleton @items={{1}} @gap={{0}} @cardHeight={{254}} />\n                </div>\n  \n              {{else}}\n                <div class=\"pt3 flex flex-column items-center\">\n                  <div class=\"pb2\">\n                    <img src={{this.qrDataUrl}} alt=\"QR Code\" />\n                  </div>\n  \n                  <div class=\"w-20 ba b--secondary-20 br1\" />\n  \n                  <div class=\"pt2 text-center\">\n                    <div>\n                      {{t \"auth.mfaSetup.scanQRCode.havingTrouble\"}}\n                    </div>\n                    <div class=\"pb1\">\n                      {{t \"auth.mfaSetup.scanQRCode.enterManually\"}}\n                    </div>\n                  </div>\n                  <div class=\"inline-flex ba b--secondary-20 font-medium br1 pv05 ph1 mt05 mb3\">\n                    {{this.secretCode}}\n                  </div>\n                </div>\n              {{/if}}\n            </div>\n          {{/if}}\n  \n          {{#unless this.showCodeInput}}\n            <div class=\"flex justify-between w-100\">\n              <UiActionButton\n                @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.back\"}}\n                @onClick={{this._back}}\n              />\n  \n              <div>\n                <UiActionButton\n                  @class=\"mr05\"\n                  @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.cancel\"}}\n                  @onClick={{this.redirectToLogin}}\n                />\n  \n                <UiButton\n                  @label={{t \"components.aaTwoFactorAuthenticationEnableDialog.continue\"}}\n                  @onClick={{this._continue}}\n                />\n              </div>\n            </div>\n          {{/unless}}\n        {{/if}}\n      </card.content>\n    </AaCard>\n  </UiContent>\n  */\n  {\n    \"id\": \"aupU8PTq\",\n    \"block\": \"[[[11,0],[24,0,\\\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\\\"],[4,[38,0],[[30,0,[\\\"_setup\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[8,[39,1],null,null,null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],null,[[\\\"@isCentered\\\",\\\"@classNames\\\"],[true,\\\"flex flex-column flex-shrink-0\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,3],null,[[\\\"@class\\\"],[\\\"mfa-card w-100 pa1 \\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,4],null,[[\\\"@icon\\\",\\\"@onClick\\\"],[\\\"close\\\",[30,0,[\\\"redirectToLogin\\\"]]]],null],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"pb2 pt3 font-lg primary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.info.title\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showInfo\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"font-md primary mb2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.info.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex justify-end\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr1\\\",[28,[37,5],[\\\"auth.mfaSetup.info.cancel\\\"],null],[30,0,[\\\"redirectToLogin\\\"]]]],null],[1,\\\"\\\\n\\\\n          \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"auth.mfaSetup.info.confirm\\\"],null],[28,[37,8],[[28,[37,9],[[30,0,[\\\"showInfo\\\"]]],null],false],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"pb3 font-md primary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"w-20 ba b--secondary-20 br1\\\"],[12],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showCodeInput\\\"]],[[[1,\\\"          \\\"],[10,\\\"form\\\"],[14,\\\"method\\\",\\\"POST\\\"],[15,\\\"action\\\",[30,0,[\\\"submitUrl\\\"]]],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"primary font-md font-medium\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.confirmCode.title\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"primary font-md pt1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.confirmCode.description\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[14,3,\\\"challenge_id\\\"],[15,2,[30,0,[\\\"challenge_id\\\"]]],[14,4,\\\"hidden\\\"],[12],[13],[1,\\\"\\\\n                \\\"],[8,[39,10],null,[[\\\"@class\\\",\\\"@name\\\",\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\",\\\"@placeholder\\\"],[\\\"mfa-code-input\\\",\\\"code\\\",[28,[37,5],[\\\"auth.mfaSetup.confirmCode.code\\\"],null],[30,0,[\\\"changeset\\\",\\\"code\\\"]],\\\"number\\\",true,[52,[30,0,[\\\"errorMessage\\\"]],[30,0,[\\\"errorMessage\\\"]],[28,[37,11],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"code\\\"]],\\\"validation\\\"],null]],\\\"123456\\\"]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"flex justify-between w-100\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,4],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"components.aaTwoFactorAuthenticationEnableDialog.back\\\"],null],[30,0,[\\\"_back\\\"]]]],null],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[12],[1,\\\"\\\\n                \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr05\\\",[28,[37,5],[\\\"components.aaTwoFactorAuthenticationEnableDialog.cancel\\\"],null],[30,0,[\\\"redirectToLogin\\\"]]]],null],[1,\\\"\\\\n\\\\n                \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@type\\\"],[[28,[37,5],[\\\"components.aaTwoFactorAuthenticationEnableDialog.continue\\\"],null],\\\"submit\\\"]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"pt3 primary font-md\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"font-medium\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.scanQRCode.title\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"pt1\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.scanQRCode.description\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"fetchMFAData\\\",\\\"isRunning\\\"]],[[[1,\\\"              \\\"],[10,0],[14,0,\\\"pt3\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,12],null,[[\\\"@items\\\",\\\"@gap\\\",\\\"@cardHeight\\\"],[1,0,254]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[10,0],[14,0,\\\"pt3 flex flex-column items-center\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"pb2\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[30,0,[\\\"qrDataUrl\\\"]]],[14,\\\"alt\\\",\\\"QR Code\\\"],[12],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"w-20 ba b--secondary-20 br1\\\"],[12],[13],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"pt2 text-center\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,0],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.scanQRCode.havingTrouble\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"pb1\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,5],[\\\"auth.mfaSetup.scanQRCode.enterManually\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"inline-flex ba b--secondary-20 font-medium br1 pv05 ph1 mt05 mb3\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[30,0,[\\\"secretCode\\\"]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"showCodeInput\\\"]]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex justify-between w-100\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,4],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"components.aaTwoFactorAuthenticationEnableDialog.back\\\"],null],[30,0,[\\\"_back\\\"]]]],null],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[12],[1,\\\"\\\\n              \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr05\\\",[28,[37,5],[\\\"components.aaTwoFactorAuthenticationEnableDialog.cancel\\\"],null],[30,0,[\\\"redirectToLogin\\\"]]]],null],[1,\\\"\\\\n\\\\n              \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,5],[\\\"components.aaTwoFactorAuthenticationEnableDialog.continue\\\"],null],[30,0,[\\\"_continue\\\"]]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"card\\\"],false,[\\\"did-insert\\\",\\\"aa-language-switch\\\",\\\"ui-content\\\",\\\"aa-card\\\",\\\"ui-action-button\\\",\\\"t\\\",\\\"if\\\",\\\"ui-button\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-skeleton\\\",\\\"unless\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth/mfa-setup.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth/mfa\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\">\n    <AaLanguageSwitch />\n  </div>\n  \n  <UiContent @isCentered={{true}} @classNames=\"flex flex-column flex-shrink-0\">\n  \n    <AaCard @class=\"mfa-card w-100 pa1 \" as |card|>\n      <card.content>\n        <UiActionButton @icon=\"close\" @onClick={{this.redirectToLogin}} />\n  \n        <h1 class=\"pb2 pt3 font-lg primary\">\n          {{t \"auth.mfa.title\"}}\n        </h1>\n  \n        <div class=\"font-md primary mb2\">\n          {{t \"auth.mfa.description\"}}\n        </div>\n  \n        <a\n          class=\"flex items-center font-sm blue cpointer\"\n          href={{this.helpUrl}}\n          target=\"_blank\"\n          rel=\"noopener noreferrer\"\n        >\n          {{t \"auth.mfa.help\"}}\n          {{svg-jar \"new-window\" class=\"ml05 flex-shrink-0\" width=\"20\" height=\"20\"}}\n        </a>\n  \n        <form class=\"flex flex-column pt3\" method=\"POST\" action={{this.submitUrl}}>\n          <UiInput\n            @class=\"mfa-code-input\"\n            @label={{t \"auth.mfa.code\"}}\n            @value={{this.changeset.code}}\n            @type=\"number\"\n            @errorMessage={{this.changeset.error.code.validation}}\n            @name=\"code\"\n            @isTouched={{this.isFormTouched}}\n          />\n  \n          <div class=\"flex justify-end\">\n            <UiActionButton\n              @class=\"mr1\"\n              @label={{t \"global.actions.cancel\"}}\n              @onClick={{this.redirectToLogin}}\n            />\n            <UiButton @label={{t \"global.actions.confirm\"}} @type=\"submit\" />\n          </div>\n        </form>\n      </card.content>\n    </AaCard>\n  </UiContent>\n  */\n  {\n    \"id\": \"LKkUHn43\",\n    \"block\": \"[[[10,0],[14,0,\\\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,0],null,null,null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,1],null,[[\\\"@isCentered\\\",\\\"@classNames\\\"],[true,\\\"flex flex-column flex-shrink-0\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n  \\\"],[8,[39,2],null,[[\\\"@class\\\"],[\\\"mfa-card w-100 pa1 \\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,3],null,[[\\\"@icon\\\",\\\"@onClick\\\"],[\\\"close\\\",[30,0,[\\\"redirectToLogin\\\"]]]],null],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"pb2 pt3 font-lg primary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.mfa.title\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"font-md primary mb2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.mfa.description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,3],[14,0,\\\"flex items-center font-sm blue cpointer\\\"],[15,6,[30,0,[\\\"helpUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.mfa.help\\\"],null]],[1,\\\"\\\\n        \\\"],[1,[28,[35,5],[\\\"new-window\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"ml05 flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"form\\\"],[14,0,\\\"flex flex-column pt3\\\"],[14,\\\"method\\\",\\\"POST\\\"],[15,\\\"action\\\",[30,0,[\\\"submitUrl\\\"]]],[12],[1,\\\"\\\\n        \\\"],[8,[39,6],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@errorMessage\\\",\\\"@name\\\",\\\"@isTouched\\\"],[\\\"mfa-code-input\\\",[28,[37,4],[\\\"auth.mfa.code\\\"],null],[30,0,[\\\"changeset\\\",\\\"code\\\"]],\\\"number\\\",[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"code\\\",\\\"validation\\\"]],\\\"code\\\",[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex justify-end\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,3],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr1\\\",[28,[37,4],[\\\"global.actions.cancel\\\"],null],[30,0,[\\\"redirectToLogin\\\"]]]],null],[1,\\\"\\\\n          \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@type\\\"],[[28,[37,4],[\\\"global.actions.confirm\\\"],null],\\\"submit\\\"]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]]]]]],[\\\"card\\\"],false,[\\\"aa-language-switch\\\",\\\"ui-content\\\",\\\"aa-card\\\",\\\"ui-action-button\\\",\\\"t\\\",\\\"svg-jar\\\",\\\"ui-input\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth/mfa.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/auth/signup\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\">\n    <AaLanguageSwitch />\n  </div>\n  <UiContent @isCentered={{true}} @classNames=\"flex flex-column flex-shrink-0\">\n    {{svg-jar \"additive-apps-white\" class=\"auth-logo w-100 white\"}}\n  \n    <AaCard @classNames=\"signup-card w-100 ph1-sm pb1-sm pt2-sm\" as |card|>\n      <card.content>\n        <h1 class=\"font-lg primary\">\n          {{t \"auth.signUp.invite.title\"}}\n        </h1>\n  \n        <div class=\"pv2 font-md primary\">\n          {{t\n            \"auth.signUp.invite.message\"\n            inviter=this.inviter\n            organizationName=this.organizationName\n          }}\n        </div>\n  \n        <div class=\"flex flex-row\">\n          <UiInput\n            @class=\"w-100\"\n            @label={{t \"global.attributes.email\"}}\n            @name=\"email\"\n            @value={{this.changeset.email}}\n            @isReadOnly={{true}}\n            @type=\"email\"\n            @errorMessage={{get this.changeset.error.email \"validation\"}}\n            @isTouched={{this.isFormTouched}}\n            @isDisabled={{this.isLoading}}\n            data-test-email-input\n          />\n        </div>\n  \n        <div class=\"flex flex-row flex-wrap\">\n          <UiInput\n            @class=\"w-100 w-50-sm pr1-sm\"\n            @label={{t \"global.attributes.givenName\"}}\n            @value={{this.changeset.givenName}}\n            @name=\"givenName\"\n            @errorMessage={{get this.changeset.error.givenName \"validation\"}}\n            @isTouched={{this.isFormTouched}}\n            @isDisabled={{this.isLoading}}\n            data-test-givenName-input\n          />\n          <UiInput\n            @class=\"w-100 w-50-sm pl1-sm\"\n            @label={{t \"global.attributes.familyName\"}}\n            @value={{this.changeset.familyName}}\n            @name=\"familyName\"\n            @errorMessage={{get this.changeset.error.familyName \"validation\"}}\n            @isTouched={{this.isFormTouched}}\n            @isDisabled={{this.isLoading}}\n            data-test-familyName-input\n          />\n        </div>\n        <div class=\"flex flex-column\">\n  \n          <UiPopover as |pop|>\n            <pop.trigger>\n              <div class=\"flex items-center font-sm secondary mr05\">\n                {{t \"global.attributes.password\"}}\n              </div>\n              {{svg-jar \"info\" class=\"secondary\" width=\"20\" height=\"20\"}}\n            </pop.trigger>\n            <pop.content class=\"secondary\">\n              {{t \"global.infoMessages.password\" htmlSafe=true}}\n            </pop.content>\n          </UiPopover>\n          <UiInput\n            @class=\"w-100\"\n            @value={{this.changeset.password}}\n            @isPlain={{true}}\n            @type=\"password\"\n            @name=\"password\"\n            @errorMessage={{get this.changeset.error.password \"validation\"}}\n            @isTouched={{this.isFormTouched}}\n            @isDisabled={{this.isLoading}}\n            data-test-password-input\n          />\n          {{#if this.isFormTouched}}\n            <div class=\"font-xs red\">\n              {{get this.changeset.error.password \"validation\"}}\n            </div>\n          {{/if}}\n  \n          <UiInput\n            @class=\"w-100\"\n            @label={{t \"global.attributes.passwordConfirmation\"}}\n            @value={{this.changeset.passwordConfirmation}}\n            @type=\"password\"\n            @errorMessage={{get this.changeset.error.passwordConfirmation \"validation\"}}\n            @isTouched={{this.isFormTouched}}\n            @isDisabled={{this.isLoading}}\n            data-test-passwordConfirmation-input\n          />\n        </div>\n        <div class=\"flex flex-row items-start justify-center mt1 pb3\">\n          <UiCheckbox\n            @classNames=\"mt05\"\n            @value={{this.changeset.isPrivacyAccepted}}\n            @onChange={{action (mut this.changeset.isPrivacyAccepted)}}\n            data-test-isPrivacyAccepted-checkbox\n          />\n          <div class=\"privacy-text pl2 font-sm secondary\">\n            {{t \"auth.signUp.termsAndConditions\" htmlSafe=true}}\n          </div>\n        </div>\n  \n        {{#if this.changeset.error.isPrivacyAccepted}}\n          <div class=\"font-xs red\" data-test-privacy-errors>\n            {{t \"global.errors.privacyNotChecked\"}}\n          </div>\n        {{/if}}\n  \n        <div class=\"flex {{if this.isAdditiveEmail \"justify-between\" \"justify-end\"}}\">\n          <UiButton\n            @label={{t \"global.actions.signUpNow\"}}\n            @onClick={{action \"signUp\"}}\n            data-test-signup-action\n          />\n  \n          {{#if this.isAdditiveEmail}}\n            <UiButton\n              @href=\"{{this.googleSignupUrl}}\"\n              @icon=\"google\"\n              @isSecondary={{true}}\n              @label={{t \"auth.signUp.continueWithGoogle\"}}\n              data-test-google-signup\n            />\n          {{/if}}\n        </div>\n      </card.content>\n  \n      <div\n        class=\"card-footer absolute flex flex-column items-center justify-center pa1 w-100 font-sm secondary\"\n      >\n        <span class=\"pv2\">\n          {{t \"auth.signUp.alreadyAccount\"}}\n        </span>\n        <LinkTo @route=\"auth.login\" class=\"font-md blue\">\n          {{t \"global.actions.loginNow\"}}\n        </LinkTo>\n      </div>\n    </AaCard>\n  </UiContent>\n  \n  {{outlet}}\n  \n  */\n  {\n    \"id\": \"qpKQm/nR\",\n    \"block\": \"[[[10,0],[14,0,\\\"w-100 flex justify-end white ph4-sm pt4-sm ph2 pt2\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,0],null,null,null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[8,[39,1],null,[[\\\"@isCentered\\\",\\\"@classNames\\\"],[true,\\\"flex flex-column flex-shrink-0\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[1,[28,[35,2],[\\\"additive-apps-white\\\"],[[\\\"class\\\"],[\\\"auth-logo w-100 white\\\"]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@classNames\\\"],[\\\"signup-card w-100 ph1-sm pb1-sm pt2-sm\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"font-lg primary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.signUp.invite.title\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"pv2 font-md primary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.signUp.invite.message\\\"],[[\\\"inviter\\\",\\\"organizationName\\\"],[[30,0,[\\\"inviter\\\"]],[30,0,[\\\"organizationName\\\"]]]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,5],[[24,\\\"data-test-email-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@name\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@type\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\",\\\"@isDisabled\\\"],[\\\"w-100\\\",[28,[37,4],[\\\"global.attributes.email\\\"],null],\\\"email\\\",[30,0,[\\\"changeset\\\",\\\"email\\\"]],true,\\\"email\\\",[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"email\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]],[30,0,[\\\"isLoading\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-row flex-wrap\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,5],[[24,\\\"data-test-givenName-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\",\\\"@isDisabled\\\"],[\\\"w-100 w-50-sm pr1-sm\\\",[28,[37,4],[\\\"global.attributes.givenName\\\"],null],[30,0,[\\\"changeset\\\",\\\"givenName\\\"]],\\\"givenName\\\",[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"givenName\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]],[30,0,[\\\"isLoading\\\"]]]],null],[1,\\\"\\\\n        \\\"],[8,[39,5],[[24,\\\"data-test-familyName-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\",\\\"@isDisabled\\\"],[\\\"w-100 w-50-sm pl1-sm\\\",[28,[37,4],[\\\"global.attributes.familyName\\\"],null],[30,0,[\\\"changeset\\\",\\\"familyName\\\"]],\\\"familyName\\\",[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"familyName\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]],[30,0,[\\\"isLoading\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,2,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex items-center font-sm secondary mr05\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,4],[\\\"global.attributes.password\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[\\\"info\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[8,[30,2,[\\\"content\\\"]],[[24,0,\\\"secondary\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[28,[35,4],[\\\"global.infoMessages.password\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[2]]]]],[1,\\\"\\\\n        \\\"],[8,[39,5],[[24,\\\"data-test-password-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@value\\\",\\\"@isPlain\\\",\\\"@type\\\",\\\"@name\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\",\\\"@isDisabled\\\"],[\\\"w-100\\\",[30,0,[\\\"changeset\\\",\\\"password\\\"]],true,\\\"password\\\",\\\"password\\\",[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"password\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]],[30,0,[\\\"isLoading\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isFormTouched\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"font-xs red\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"password\\\"]],\\\"validation\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n        \\\"],[8,[39,5],[[24,\\\"data-test-passwordConfirmation-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\",\\\"@isDisabled\\\"],[\\\"w-100\\\",[28,[37,4],[\\\"global.attributes.passwordConfirmation\\\"],null],[30,0,[\\\"changeset\\\",\\\"passwordConfirmation\\\"]],\\\"password\\\",[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"passwordConfirmation\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]],[30,0,[\\\"isLoading\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-row items-start justify-center mt1 pb3\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,9],[[24,\\\"data-test-isPrivacyAccepted-checkbox\\\",\\\"\\\"]],[[\\\"@classNames\\\",\\\"@value\\\",\\\"@onChange\\\"],[\\\"mt05\\\",[30,0,[\\\"changeset\\\",\\\"isPrivacyAccepted\\\"]],[28,[37,10],[[30,0],[28,[37,11],[[30,0,[\\\"changeset\\\",\\\"isPrivacyAccepted\\\"]]],null]],null]]],null],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"privacy-text pl2 font-sm secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,4],[\\\"auth.signUp.termsAndConditions\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"isPrivacyAccepted\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"font-xs red\\\"],[14,\\\"data-test-privacy-errors\\\",\\\"\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,4],[\\\"global.errors.privacyNotChecked\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n      \\\"],[10,0],[15,0,[29,[\\\"flex \\\",[52,[30,0,[\\\"isAdditiveEmail\\\"]],\\\"justify-between\\\",\\\"justify-end\\\"]]]],[12],[1,\\\"\\\\n        \\\"],[8,[39,12],[[24,\\\"data-test-signup-action\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,4],[\\\"global.actions.signUpNow\\\"],null],[28,[37,10],[[30,0],\\\"signUp\\\"],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isAdditiveEmail\\\"]],[[[1,\\\"          \\\"],[8,[39,12],[[24,\\\"data-test-google-signup\\\",\\\"\\\"]],[[\\\"@href\\\",\\\"@icon\\\",\\\"@isSecondary\\\",\\\"@label\\\"],[[29,[[30,0,[\\\"googleSignupUrl\\\"]]]],\\\"google\\\",true,[28,[37,4],[\\\"auth.signUp.continueWithGoogle\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\\n    \\\"],[10,0],[14,0,\\\"card-footer absolute flex flex-column items-center justify-center pa1 w-100 font-sm secondary\\\"],[12],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"pv2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"auth.signUp.alreadyAccount\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[8,[39,13],[[24,0,\\\"font-md blue\\\"]],[[\\\"@route\\\"],[\\\"auth.login\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"global.actions.loginNow\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,15],null,null],null,null,null],[1,\\\"\\\\n\\\"]],[\\\"card\\\",\\\"pop\\\"],false,[\\\"aa-language-switch\\\",\\\"ui-content\\\",\\\"svg-jar\\\",\\\"aa-card\\\",\\\"t\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-popover\\\",\\\"if\\\",\\\"ui-checkbox\\\",\\\"action\\\",\\\"mut\\\",\\\"ui-button\\\",\\\"link-to\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/auth/signup.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-corporate-design/fonts\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"aa-corporate-design__font-grid mv2\">\n    <AaCorporateDesign::Fonts::Item\n      @font={{this.fonts.primary}}\n      @onFontDelete={{this.reloadTypography}}\n      @key=\"primary\"\n      @onFontSave={{action \"updateProperties\"}}\n      @isReadOnly={{this.isReadOnly}}\n    />\n    {{#if this.showSecondary}}\n      <AaCorporateDesign::Fonts::Item\n        @font={{this.fonts.secondary}}\n        @onFontDelete={{this.reloadTypography}}\n        @key=\"secondary\"\n        @onFontSave={{action \"updateProperties\"}}\n        @isReadOnly={{this.isReadOnly}}\n      />\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"8S4lzB55\",\n    \"block\": \"[[[10,0],[14,0,\\\"aa-corporate-design__font-grid mv2\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,0],null,[[\\\"@font\\\",\\\"@onFontDelete\\\",\\\"@key\\\",\\\"@onFontSave\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"fonts\\\",\\\"primary\\\"]],[30,0,[\\\"reloadTypography\\\"]],\\\"primary\\\",[28,[37,1],[[30,0],\\\"updateProperties\\\"],null],[30,0,[\\\"isReadOnly\\\"]]]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showSecondary\\\"]],[[[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@font\\\",\\\"@onFontDelete\\\",\\\"@key\\\",\\\"@onFontSave\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"fonts\\\",\\\"secondary\\\"]],[30,0,[\\\"reloadTypography\\\"]],\\\"secondary\\\",[28,[37,1],[[30,0],\\\"updateProperties\\\"],null],[30,0,[\\\"isReadOnly\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[13]],[],false,[\\\"aa-corporate-design/fonts/item\\\",\\\"action\\\",\\\"if\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-corporate-design/fonts.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-corporate-design/fonts/font-type-dialog\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal @size=\"sm\" @title={{this.title}} @onClose={{action \"close\"}} as |modal|>\n    <modal.header />\n  \n    <modal.content as |content|>\n      <content.body>\n        <div class=\"mb1\">\n          {{t \"routes.corporateDesign.typography.fonts.types.description\" htmlSafe=true}}\n        </div>\n  \n        <UiInput\n          @label={{t \"routes.corporateDesign.typography.fonts.properties.name\"}}\n          @value={{this.changeset.fontFamily}}\n          @errorMessage={{get this.changeset.error.fontFamily.validation \"0\"}}\n          @isTouched={{this.isTouched}}\n        />\n  \n        <UiSelect\n          @label={{t \"routes.corporateDesign.typography.fonts.properties.weight\"}}\n          @selected={{this.changeset.weight}}\n          @onChange={{action (mut this.changeset.weight)}}\n          @options={{this.weightOptions}}\n          as |option item|\n        >\n          <option.item @value={{item.value}}>\n            {{item.name}}\n          </option.item>\n        </UiSelect>\n      </content.body>\n    </modal.content>\n  \n    <modal.footer>\n      <UiButton\n        @label={{if this.changeset.url (t \"global.actions.save\") (t \"global.actions.upload\")}}\n        @onClick={{perform this.save}}\n      />\n    </modal.footer>\n  </UiModal>\n  \n  <UiDiscardChanges @isOpen={{this.isDiscardChangesDialog}} @onDiscard={{action this.onClose}} />\n  */\n  {\n    \"id\": \"ESeGl/h+\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"sm\\\",[30,0,[\\\"title\\\"]],[28,[37,1],[[30,0],\\\"close\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"mb1\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"routes.corporateDesign.typography.fonts.types.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,2],[\\\"routes.corporateDesign.typography.fonts.properties.name\\\"],null],[30,0,[\\\"changeset\\\",\\\"fontFamily\\\"]],[28,[37,4],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"fontFamily\\\",\\\"validation\\\"]],\\\"0\\\"],null],[30,0,[\\\"isTouched\\\"]]]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,5],null,[[\\\"@label\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@options\\\"],[[28,[37,2],[\\\"routes.corporateDesign.typography.fonts.properties.weight\\\"],null],[30,0,[\\\"changeset\\\",\\\"weight\\\"]],[28,[37,1],[[30,0],[28,[37,6],[[30,0,[\\\"changeset\\\",\\\"weight\\\"]]],null]],null],[30,0,[\\\"weightOptions\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,4,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[30,4,[\\\"name\\\"]]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"]],[3,4]]]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[52,[30,0,[\\\"changeset\\\",\\\"url\\\"]],[28,[37,2],[\\\"global.actions.save\\\"],null],[28,[37,2],[\\\"global.actions.upload\\\"],null]],[28,[37,9],[[30,0,[\\\"save\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,10],null,[[\\\"@isOpen\\\",\\\"@onDiscard\\\"],[[30,0,[\\\"isDiscardChangesDialog\\\"]],[28,[37,1],[[30,0],[30,0,[\\\"onClose\\\"]]],null]]],null]],[\\\"modal\\\",\\\"content\\\",\\\"option\\\",\\\"item\\\"],false,[\\\"ui-modal\\\",\\\"action\\\",\\\"t\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-select\\\",\\\"mut\\\",\\\"ui-button\\\",\\\"if\\\",\\\"perform\\\",\\\"ui-discard-changes\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-corporate-design/fonts/font-type-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-corporate-design/logo\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{#if this._isLoading}}\n    <UiSkeleton @items={{1}} @itemsPerRow={{1}} @cardHeight={{72}} @gap={{24}} />\n    <UiSkeleton\n      @classNames=\"aa-corporate-design__image-upload-skeleton\"\n      @items={{1}}\n      @itemsPerRow={{1}}\n      @cardHeight={{168}}\n      @gap={{40}}\n    />\n    <UiSkeleton @items={{1}} @itemsPerRow={{1}} @cardHeight={{72}} @gap={{24}} />\n    <UiSkeleton\n      @classNames=\"aa-corporate-design__image-upload-skeleton\"\n      @items={{1}}\n      @itemsPerRow={{1}}\n      @cardHeight={{168}}\n    />\n  {{else}}\n    <div class=\"font-lg\">\n      {{t \"components.aa-corporate-design.logo.default.title\" htmlSafe=true}}\n    </div>\n    <div class=\"font-sm secondary mt1\">\n      {{t \"components.aa-corporate-design.logo.default.description\" htmlSafe=true}}\n    </div>\n  \n    <div class=\"flex flex-column flex-row-sm\">\n      <AaCorporateDesign::Logo::LogoUpload\n        @classNames=\"mr4-sm pr3-sm\"\n        @label={{t \"components.aa-corporate-design.logo.default.label\"}}\n        @type=\"default\"\n        @responsePropertyName=\"logoUrl\"\n        @logoUrl={{this.logoUrl}}\n        @onLogoChanged={{action \"onLogoChanged\"}}\n        data-test-logo-upload\n      />\n  \n      <div class=\"flex flex-column flex-row-md ml4-sm\">\n        <AaCorporateDesign::Logo::LogoUpload\n          @label={{t \"components.aa-corporate-design.logo.signet.label\"}}\n          @isSmall={{true}}\n          @type=\"signet\"\n          @responsePropertyName=\"signetUrl\"\n          @minImageDimensions={{array 512 512}}\n          @logoUrl={{this.signetUrl}}\n          @onLogoChanged={{action \"onLogoChanged\"}}\n          data-test-signet-upload\n        />\n        <div class=\"secondary font-sm mt4-md pt2 ml3-md mr4-md\">\n          {{t \"components.aa-corporate-design.logo.signet.description\"}}\n        </div>\n      </div>\n    </div>\n  \n    <div class=\"font-lg pt4 mt1\">\n      {{t \"components.aa-corporate-design.logo.alternative.title\" htmlSafe=true}}\n    </div>\n    <div class=\"font-sm secondary mt1\">\n      {{t \"components.aa-corporate-design.logo.alternative.description\" htmlSafe=true}}\n    </div>\n  \n    <AaCorporateDesign::Logo::LogoUpload\n      @label={{t \"components.aa-corporate-design.logo.alternative.label\"}}\n      @type=\"alternative\"\n      @responsePropertyName=\"alternativeLogoUrl\"\n      @onLogoChanged={{action \"onLogoChanged\"}}\n      @logoUrl={{this.alternativeLogoUrl}}\n    />\n  {{/if}}\n  */\n  {\n    \"id\": \"USnDNca5\",\n    \"block\": \"[[[41,[30,0,[\\\"_isLoading\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[1,1,72,24]],null],[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@classNames\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"aa-corporate-design__image-upload-skeleton\\\",1,1,168,40]],null],[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[1,1,72,24]],null],[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@classNames\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\"],[\\\"aa-corporate-design__image-upload-skeleton\\\",1,1,168]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"font-lg\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[\\\"components.aa-corporate-design.logo.default.title\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"font-sm secondary mt1\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[\\\"components.aa-corporate-design.logo.default.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-column flex-row-sm\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,3],[[24,\\\"data-test-logo-upload\\\",\\\"\\\"]],[[\\\"@classNames\\\",\\\"@label\\\",\\\"@type\\\",\\\"@responsePropertyName\\\",\\\"@logoUrl\\\",\\\"@onLogoChanged\\\"],[\\\"mr4-sm pr3-sm\\\",[28,[37,2],[\\\"components.aa-corporate-design.logo.default.label\\\"],null],\\\"default\\\",\\\"logoUrl\\\",[30,0,[\\\"logoUrl\\\"]],[28,[37,4],[[30,0],\\\"onLogoChanged\\\"],null]]],null],[1,\\\"\\\\n\\\\n    \\\"],[10,0],[14,0,\\\"flex flex-column flex-row-md ml4-sm\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,3],[[24,\\\"data-test-signet-upload\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isSmall\\\",\\\"@type\\\",\\\"@responsePropertyName\\\",\\\"@minImageDimensions\\\",\\\"@logoUrl\\\",\\\"@onLogoChanged\\\"],[[28,[37,2],[\\\"components.aa-corporate-design.logo.signet.label\\\"],null],true,\\\"signet\\\",\\\"signetUrl\\\",[28,[37,5],[512,512],null],[30,0,[\\\"signetUrl\\\"]],[28,[37,4],[[30,0],\\\"onLogoChanged\\\"],null]]],null],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"secondary font-sm mt4-md pt2 ml3-md mr4-md\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"components.aa-corporate-design.logo.signet.description\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"font-lg pt4 mt1\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[\\\"components.aa-corporate-design.logo.alternative.title\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"font-sm secondary mt1\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,2],[\\\"components.aa-corporate-design.logo.alternative.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@type\\\",\\\"@responsePropertyName\\\",\\\"@onLogoChanged\\\",\\\"@logoUrl\\\"],[[28,[37,2],[\\\"components.aa-corporate-design.logo.alternative.label\\\"],null],\\\"alternative\\\",\\\"alternativeLogoUrl\\\",[28,[37,4],[[30,0],\\\"onLogoChanged\\\"],null],[30,0,[\\\"alternativeLogoUrl\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[],false,[\\\"if\\\",\\\"ui-skeleton\\\",\\\"t\\\",\\\"aa-corporate-design/logo/logo-upload\\\",\\\"action\\\",\\\"array\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-corporate-design/logo.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-corporate-design/typography\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#each this.typographyTypes as |typographyType|}}\n    <TypographyItem\n      @colorCompositions={{this.colors}}\n      @typography={{this.typography}}\n      @type={{typographyType}}\n      @fonts={{this.fonts}}\n      @onSave={{this.onSave}}\n      @isReadOnly={{this.isReadOnly}}\n    />\n  {{/each}}\n  */\n  {\n    \"id\": \"pwGREhf5\",\n    \"block\": \"[[[42,[28,[37,1],[[28,[37,1],[[30,0,[\\\"typographyTypes\\\"]]],null]],null],null,[[[1,\\\"  \\\"],[8,[39,2],null,[[\\\"@colorCompositions\\\",\\\"@typography\\\",\\\"@type\\\",\\\"@fonts\\\",\\\"@onSave\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"colors\\\"]],[30,0,[\\\"typography\\\"]],[30,1],[30,0,[\\\"fonts\\\"]],[30,0,[\\\"onSave\\\"]],[30,0,[\\\"isReadOnly\\\"]]]],null],[1,\\\"\\\\n\\\"]],[1]],null]],[\\\"typographyType\\\"],false,[\\\"each\\\",\\\"-track-array\\\",\\\"typography-item\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-corporate-design/typography.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-settings/closing-periods/detail\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal\n    @size=\"md\"\n    @title={{t \"routes.settings.closingPeriods.title\"}}\n    @onClose={{action \"close\"}}\n    as |modal|\n  >\n    <modal.header />\n    <modal.content as |content|>\n      <content.body>\n        <div class=\"font-md primary mb1\">\n          {{t \"routes.settings.closingPeriods.description\" htmlSafe=true}}\n        </div>\n  \n        <UiDatepicker\n          @isRangePicker={{true}}\n          @label={{t \"routes.settings.closingPeriods.date\"}}\n          @range={{this._dateRange}}\n          @placeholder={{hash\n            start=(t \"routes.settings.closingPeriods.from\")\n            end=(t \"routes.settings.closingPeriods.until\")\n          }}\n          @onSelect={{action \"onDateRangeChange\"}}\n          @isTouched={{this.isTouched}}\n          @errorMessage={{get this.changeset.error.until.validation \"0\"}}\n        />\n  \n        <UiInput @label={{t \"routes.settings.closingPeriods.note\"}} @value={{this.changeset.note}} />\n      </content.body>\n    </modal.content>\n    <modal.footer>\n      <UiButton\n        @label={{t \"global.actions.save\"}}\n        @isDisabled={{this.isDisabled}}\n        @onClick={{perform this.save}}\n      />\n    </modal.footer>\n  </UiModal>\n  \n  <UiDiscardChanges @isOpen={{this.isDiscardChangesDialog}} @onDiscard={{action \"discardChanges\"}} />\n  */\n  {\n    \"id\": \"I9SOSN+K\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[28,[37,1],[\\\"routes.settings.closingPeriods.title\\\"],null],[28,[37,2],[[30,0],\\\"close\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-md primary mb1\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.closingPeriods.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,3],null,[[\\\"@isRangePicker\\\",\\\"@label\\\",\\\"@range\\\",\\\"@placeholder\\\",\\\"@onSelect\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[true,[28,[37,1],[\\\"routes.settings.closingPeriods.date\\\"],null],[30,0,[\\\"_dateRange\\\"]],[28,[37,4],null,[[\\\"start\\\",\\\"end\\\"],[[28,[37,1],[\\\"routes.settings.closingPeriods.from\\\"],null],[28,[37,1],[\\\"routes.settings.closingPeriods.until\\\"],null]]]],[28,[37,2],[[30,0],\\\"onDateRangeChange\\\"],null],[30,0,[\\\"isTouched\\\"]],[28,[37,5],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"until\\\",\\\"validation\\\"]],\\\"0\\\"],null]]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\"],[[28,[37,1],[\\\"routes.settings.closingPeriods.note\\\"],null],[30,0,[\\\"changeset\\\",\\\"note\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.save\\\"],null],[30,0,[\\\"isDisabled\\\"]],[28,[37,8],[[30,0,[\\\"save\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,9],null,[[\\\"@isOpen\\\",\\\"@onDiscard\\\"],[[30,0,[\\\"isDiscardChangesDialog\\\"]],[28,[37,2],[[30,0],\\\"discardChanges\\\"],null]]],null]],[\\\"modal\\\",\\\"content\\\"],false,[\\\"ui-modal\\\",\\\"t\\\",\\\"action\\\",\\\"ui-datepicker\\\",\\\"hash\\\",\\\"get\\\",\\\"ui-input\\\",\\\"ui-button\\\",\\\"perform\\\",\\\"ui-discard-changes\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-settings/closing-periods/detail.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-settings/room-counts/detail\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal\n    @size=\"md\"\n    @title={{t \"routes.settings.roomCounts.roomCount.title\"}}\n    @onClose={{action \"close\"}}\n    as |modal|\n  >\n    <modal.header />\n    <modal.content as |content|>\n      <content.body>\n        <UiDatepicker\n          @label={{t \"routes.settings.roomCounts.roomCount.date\"}}\n          @placeholder={{t \"routes.settings.roomCounts.roomCount.changeDate\"}}\n          @initialDate={{this.changeset.startsAt}}\n          @resetDate={{this.roomCount.startsAt}}\n          @onSelect={{action (mut this.changeset.startsAt)}}\n          @isTouched={{this.isTouched}}\n          @errorMessage={{get this.changeset.error.startsAt.validation \"0\"}}\n        />\n  \n        <UiInput\n          @label={{t \"routes.settings.roomCounts.roomCount.rooms\"}}\n          @value={{this.changeset.count}}\n          @errorMessage={{get this.changeset.error.count.validation \"0\"}}\n          @isTouched={{this.isTouched}}\n          as |input|\n        >\n          <input.right>\n            {{t \"routes.settings.roomCounts.roomCount.room\"}}\n          </input.right>\n        </UiInput>\n  \n        <UiInput\n          @label={{t \"routes.settings.roomCounts.roomCount.note\"}}\n          @textarea={{true}}\n          @value={{this.changeset.note}}\n        />\n      </content.body>\n    </modal.content>\n    <modal.footer>\n      <UiButton\n        @label={{t \"global.actions.save\"}}\n        @isDisabled={{this.isDisabled}}\n        @onClick={{perform this.save}}\n      />\n    </modal.footer>\n  </UiModal>\n  \n  <UiDiscardChanges @isOpen={{this.isDiscardChangesDialog}} @onDiscard={{action \"discardChanges\"}} />\n  */\n  {\n    \"id\": \"DBInsngH\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[28,[37,1],[\\\"routes.settings.roomCounts.roomCount.title\\\"],null],[28,[37,2],[[30,0],\\\"close\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,3],null,[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@initialDate\\\",\\\"@resetDate\\\",\\\"@onSelect\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[[28,[37,1],[\\\"routes.settings.roomCounts.roomCount.date\\\"],null],[28,[37,1],[\\\"routes.settings.roomCounts.roomCount.changeDate\\\"],null],[30,0,[\\\"changeset\\\",\\\"startsAt\\\"]],[30,0,[\\\"roomCount\\\",\\\"startsAt\\\"]],[28,[37,2],[[30,0],[28,[37,4],[[30,0,[\\\"changeset\\\",\\\"startsAt\\\"]]],null]],null],[30,0,[\\\"isTouched\\\"]],[28,[37,5],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"startsAt\\\",\\\"validation\\\"]],\\\"0\\\"],null]]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,1],[\\\"routes.settings.roomCounts.roomCount.rooms\\\"],null],[30,0,[\\\"changeset\\\",\\\"count\\\"]],[28,[37,5],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"count\\\",\\\"validation\\\"]],\\\"0\\\"],null],[30,0,[\\\"isTouched\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"routes.settings.roomCounts.roomCount.room\\\"],null]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@textarea\\\",\\\"@value\\\"],[[28,[37,1],[\\\"routes.settings.roomCounts.roomCount.note\\\"],null],true,[30,0,[\\\"changeset\\\",\\\"note\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.save\\\"],null],[30,0,[\\\"isDisabled\\\"]],[28,[37,8],[[30,0,[\\\"save\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,9],null,[[\\\"@isOpen\\\",\\\"@onDiscard\\\"],[[30,0,[\\\"isDiscardChangesDialog\\\"]],[28,[37,2],[[30,0],\\\"discardChanges\\\"],null]]],null]],[\\\"modal\\\",\\\"content\\\",\\\"input\\\"],false,[\\\"ui-modal\\\",\\\"t\\\",\\\"action\\\",\\\"ui-datepicker\\\",\\\"mut\\\",\\\"get\\\",\\\"ui-input\\\",\\\"ui-button\\\",\\\"perform\\\",\\\"ui-discard-changes\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-settings/room-counts/detail.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/aa-settings/room-counts/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{#if this._showList}}\n    <UiList\n      @title={{t (concat \"routes.settings.roomCounts.\" this.key)}}\n      @items={{this.items}}\n      @class={{this.classNames}}\n      @isLoading={{this.isLoading}}\n      @placeholderCount={{3}}\n      @isError={{this.isError}}\n      as |list item|\n    >\n      <list.item\n        @title={{t \"routes.settings.roomCounts.numOfRooms\" count=item.count}}\n        @description={{format-date item.startsAt day=\"2-digit\" month=\"long\" year=\"numeric\"}}\n        @onClick={{action this.onClick item}}\n        @isDisabled={{this.isReadOnly}}\n        @state={{this.state}}\n        as |controls|\n      >\n        {{#if this.state}}\n          {{controls.state}}\n        {{/if}}\n  \n        {{#unless this.isReadOnly}}\n          <controls.right>\n            <UiItemMenu as |content|>\n              <content.menuItem\n                @label={{t \"global.actions.delete\"}}\n                @isDanger={{true}}\n                @onClick={{action this.onDelete item}}\n              />\n            </UiItemMenu>\n          </controls.right>\n        {{/unless}}\n      </list.item>\n  \n      <list.error>\n        <div class=\"flex justify-center font-sm secondary pt3\">\n          <UiButton @label={{t \"global.actions.retry\"}} @onClick={{perform this.fetchRoomCounts}} />\n        </div>\n      </list.error>\n    </UiList>\n  {{/if}}\n  */\n  {\n    \"id\": \"H+P2C7qr\",\n    \"block\": \"[[[41,[30,0,[\\\"_showList\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@items\\\",\\\"@class\\\",\\\"@isLoading\\\",\\\"@placeholderCount\\\",\\\"@isError\\\"],[[28,[37,2],[[28,[37,3],[\\\"routes.settings.roomCounts.\\\",[30,0,[\\\"key\\\"]]],null]],null],[30,0,[\\\"items\\\"]],[30,0,[\\\"classNames\\\"]],[30,0,[\\\"isLoading\\\"]],3,[30,0,[\\\"isError\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@onClick\\\",\\\"@isDisabled\\\",\\\"@state\\\"],[[28,[37,2],[\\\"routes.settings.roomCounts.numOfRooms\\\"],[[\\\"count\\\"],[[30,2,[\\\"count\\\"]]]]],[28,[37,4],[[30,2,[\\\"startsAt\\\"]]],[[\\\"day\\\",\\\"month\\\",\\\"year\\\"],[\\\"2-digit\\\",\\\"long\\\",\\\"numeric\\\"]]],[28,[37,5],[[30,0],[30,0,[\\\"onClick\\\"]],[30,2]],null],[30,0,[\\\"isReadOnly\\\"]],[30,0,[\\\"state\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"state\\\"]],[[[1,\\\"        \\\"],[1,[30,3,[\\\"state\\\"]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isReadOnly\\\"]]],[[[1,\\\"        \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,4,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.delete\\\"],null],true,[28,[37,5],[[30,0],[30,0,[\\\"onDelete\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n          \\\"]],[4]]]]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,1,[\\\"error\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex justify-center font-sm secondary pt3\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,8],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.retry\\\"],null],[28,[37,9],[[30,0,[\\\"fetchRoomCounts\\\"]]],null]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1,2]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"content\\\"],false,[\\\"if\\\",\\\"ui-list\\\",\\\"t\\\",\\\"concat\\\",\\\"format-date\\\",\\\"action\\\",\\\"unless\\\",\\\"ui-item-menu\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/aa-settings/room-counts/list.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/app-plan-card\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"inner-container flex flex-column flex-grow-1 bg-white br1 gap1 items-start\n      {{if this.isRecommended 'ph2 pb2' 'pa2'}}\"\n  >\n    {{#if this.isRecommended}}\n      <div class=\"recommended-label mb05 ph1 pv05 bg-green white font-sm br1\">\n        {{t \"create.appSelection.choosePlan.recommended\"}}\n      </div>\n    {{/if}}\n    <div class=\"title primary font-lg mb2\">\n      {{t (concat \"appDetails.\" this.activeApp.id \".plans.\" this.plan.id \".title\")}}\n    </div>\n    <div class=\"features secondary font-sm flex-grow-1\">\n      {{t (concat \"appDetails.\" this.activeApp.id \".plans.\" this.plan.id \".features\") htmlSafe=true}}\n    </div>\n    <div class=\"primary-action flex flex-row justify-between items-center pt1 w-100\">\n      <div class=\"price primary font-lg\">\n        {{#if this.hasPriceFrom}}\n          {{t \"create.appSelection.dialog.priceFrom\"}}\n        {{/if}}\n        {{ui-format-currency this.plan.amount \"EUR\" this.currentUser.user.language 0 0}}\n        <span class=\"font-md secondary\">\n          /\n          {{t (concat \"create.appSelection.choosePlan.intervals.\" this.plan.interval)}}\n        </span>\n      </div>\n      <UiButton\n        @label={{this.actionText}}\n        @isSecondary={{true}}\n        @isDisabled={{this.isButtonDisabled}}\n        @onClick={{perform this.addApp this.activeApp this.plan}}\n      />\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"HzAlF+w0\",\n    \"block\": \"[[[10,0],[15,0,[29,[\\\"inner-container flex flex-column flex-grow-1 bg-white br1 gap1 items-start\\\\n    \\\",[52,[30,0,[\\\"isRecommended\\\"]],\\\"ph2 pb2\\\",\\\"pa2\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isRecommended\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"recommended-label mb05 ph1 pv05 bg-green white font-sm br1\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"create.appSelection.choosePlan.recommended\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[10,0],[14,0,\\\"title primary font-lg mb2\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,1],[[28,[37,2],[\\\"appDetails.\\\",[30,0,[\\\"activeApp\\\",\\\"id\\\"]],\\\".plans.\\\",[30,0,[\\\"plan\\\",\\\"id\\\"]],\\\".title\\\"],null]],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"features secondary font-sm flex-grow-1\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,1],[[28,[37,2],[\\\"appDetails.\\\",[30,0,[\\\"activeApp\\\",\\\"id\\\"]],\\\".plans.\\\",[30,0,[\\\"plan\\\",\\\"id\\\"]],\\\".features\\\"],null]],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"primary-action flex flex-row justify-between items-center pt1 w-100\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"price primary font-lg\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasPriceFrom\\\"]],[[[1,\\\"        \\\"],[1,[28,[35,1],[\\\"create.appSelection.dialog.priceFrom\\\"],null]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[1,[28,[35,3],[[30,0,[\\\"plan\\\",\\\"amount\\\"]],\\\"EUR\\\",[30,0,[\\\"currentUser\\\",\\\"user\\\",\\\"language\\\"]],0,0],null]],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"font-md secondary\\\"],[12],[1,\\\"\\\\n        /\\\\n        \\\"],[1,[28,[35,1],[[28,[37,2],[\\\"create.appSelection.choosePlan.intervals.\\\",[30,0,[\\\"plan\\\",\\\"interval\\\"]]],null]],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@label\\\",\\\"@isSecondary\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[30,0,[\\\"actionText\\\"]],true,[30,0,[\\\"isButtonDisabled\\\"]],[28,[37,5],[[30,0,[\\\"addApp\\\"]],[30,0,[\\\"activeApp\\\"]],[30,0,[\\\"plan\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"if\\\",\\\"t\\\",\\\"concat\\\",\\\"ui-format-currency\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/app-plan-card.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/app-role-selection\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiItemGroup @class=\"w-100\" @title={{t \"global.roles.permissions\"}} as |group|>\n    {{#each this.availableApps as |app|}}\n      <group.item\n        @title={{t (concat \"appNames.\" app.id \".name\")}}\n        @onClick={{pipe\n          (action (mut this.appId) app.id)\n          (action (mut this.selectedRole) (user-role app.id this.appRoles this.role))\n          (action (mut this.isRoleDialog) true)\n        }}\n        as |item title|\n      >\n        <item.intro\n          @title={{title}}\n          @description={{t\n            (concat \"global.roles.\" (user-role app.id this.appRoles this.role) \".title\")\n          }}\n        />\n      </group.item>\n    {{/each}}\n  </UiItemGroup>\n  \n  {{#if this.isRoleDialog}}\n    <UiModal\n      @title={{t (concat \"appNames.\" this.appId \".name\")}}\n      @onClose={{action (mut this.isRoleDialog) false}}\n      @size=\"md\"\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          <UiItemGroup @class=\"w-100\" @selectable={{true}} as |group|>\n            {{#each this.userAppRoles as |role|}}\n              <group.item\n                @classNames=\"flex h-auto bg-white ph2\"\n                @isActive={{equal role.value this.selectedRole}}\n                @title={{t (concat \"global.roles.\" role.value \".title\")}}\n                @description={{t (concat \"global.roles.\" role.value \".description\")}}\n                @isDisabled={{this.isUpdatingUserRoles}}\n                @isPromise={{true}}\n                @onClick={{action \"addAppRole\" this.appId role.value}}\n                as |item title description isLoading|\n              >\n                <item.intro @title={{title}} @description={{description}} />\n                {{#if isLoading}}\n                  <UiLoading />\n                {{/if}}\n              </group.item>\n            {{/each}}\n          </UiItemGroup>\n        </content.body>\n      </dialog.content>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isContentWarningDialog}}\n    <UiModal\n      @title={{t (concat \"appNames.\" this.appId \".name\")}}\n      @onClose={{action (mut this.isContentWarningDialog) false}}\n      @size=\"sm\"\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          {{t \"routes.users.dialogs.contentRightsConfirm.description\"}}\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @class=\"mr1\"\n          @label={{t\n            \"routes.users.dialogs.contentRightsConfirm.secondaryAction\"\n            appName=(t (concat \"appNames.\" this.appId \".name\"))\n          }}\n          @onClick={{action this.setAppRoles false}}\n        />\n        <UiButton\n          @label={{t \"routes.users.dialogs.contentRightsConfirm.primaryAction\"}}\n          @onClick={{action this.setAppRoles true}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"+w8FfD5U\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@class\\\",\\\"@title\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.roles.permissions\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,0,[\\\"availableApps\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@onClick\\\"],[[28,[37,1],[[28,[37,4],[\\\"appNames.\\\",[30,2,[\\\"id\\\"]],\\\".name\\\"],null]],null],[28,[37,5],[[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"appId\\\"]]],null],[30,2,[\\\"id\\\"]]],null],[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"selectedRole\\\"]]],null],[28,[37,8],[[30,2,[\\\"id\\\"]],[30,0,[\\\"appRoles\\\"]],[30,0,[\\\"role\\\"]]],null]],null],[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"isRoleDialog\\\"]]],null],true],null]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,3,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@description\\\"],[[30,4],[28,[37,1],[[28,[37,4],[\\\"global.roles.\\\",[28,[37,8],[[30,2,[\\\"id\\\"]],[30,0,[\\\"appRoles\\\"]],[30,0,[\\\"role\\\"]]],null],\\\".title\\\"],null]],null]]],null],[1,\\\"\\\\n    \\\"]],[3,4]]]]],[1,\\\"\\\\n\\\"]],[2]],null]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isRoleDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,10],null,[[\\\"@title\\\",\\\"@onClose\\\",\\\"@size\\\"],[[28,[37,1],[[28,[37,4],[\\\"appNames.\\\",[30,0,[\\\"appId\\\"]],\\\".name\\\"],null]],null],[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"isRoleDialog\\\"]]],null],false],null],\\\"md\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,6,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,0],null,[[\\\"@class\\\",\\\"@selectable\\\"],[\\\"w-100\\\",true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,3],[[28,[37,3],[[30,0,[\\\"userAppRoles\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@classNames\\\",\\\"@isActive\\\",\\\"@title\\\",\\\"@description\\\",\\\"@isDisabled\\\",\\\"@isPromise\\\",\\\"@onClick\\\"],[\\\"flex h-auto bg-white ph2\\\",[28,[37,11],[[30,8,[\\\"value\\\"]],[30,0,[\\\"selectedRole\\\"]]],null],[28,[37,1],[[28,[37,4],[\\\"global.roles.\\\",[30,8,[\\\"value\\\"]],\\\".title\\\"],null]],null],[28,[37,1],[[28,[37,4],[\\\"global.roles.\\\",[30,8,[\\\"value\\\"]],\\\".description\\\"],null]],null],[30,0,[\\\"isUpdatingUserRoles\\\"]],true,[28,[37,6],[[30,0],\\\"addAppRole\\\",[30,0,[\\\"appId\\\"]],[30,8,[\\\"value\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,9,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@description\\\"],[[30,10],[30,11]]],null],[1,\\\"\\\\n\\\"],[41,[30,12],[[[1,\\\"                \\\"],[8,[39,12],null,null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"]],[9,10,11,12]]]]],[1,\\\"\\\\n\\\"]],[8]],null],[1,\\\"        \\\"]],[7]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[6]]]]],[1,\\\"\\\\n  \\\"]],[5]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isContentWarningDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,10],null,[[\\\"@title\\\",\\\"@onClose\\\",\\\"@size\\\"],[[28,[37,1],[[28,[37,4],[\\\"appNames.\\\",[30,0,[\\\"appId\\\"]],\\\".name\\\"],null]],null],[28,[37,6],[[30,0],[28,[37,7],[[30,0,[\\\"isContentWarningDialog\\\"]]],null],false],null],\\\"sm\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,14,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.users.dialogs.contentRightsConfirm.description\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[14]]]]],[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,13],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr1\\\",[28,[37,1],[\\\"routes.users.dialogs.contentRightsConfirm.secondaryAction\\\"],[[\\\"appName\\\"],[[28,[37,1],[[28,[37,4],[\\\"appNames.\\\",[30,0,[\\\"appId\\\"]],\\\".name\\\"],null]],null]]]],[28,[37,6],[[30,0],[30,0,[\\\"setAppRoles\\\"]],false],null]]],null],[1,\\\"\\\\n      \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.users.dialogs.contentRightsConfirm.primaryAction\\\"],null],[28,[37,6],[[30,0],[30,0,[\\\"setAppRoles\\\"]],true],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[13]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"group\\\",\\\"app\\\",\\\"item\\\",\\\"title\\\",\\\"dialog\\\",\\\"content\\\",\\\"group\\\",\\\"role\\\",\\\"item\\\",\\\"title\\\",\\\"description\\\",\\\"isLoading\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"ui-item-group\\\",\\\"t\\\",\\\"each\\\",\\\"-track-array\\\",\\\"concat\\\",\\\"pipe\\\",\\\"action\\\",\\\"mut\\\",\\\"user-role\\\",\\\"if\\\",\\\"ui-modal\\\",\\\"equal\\\",\\\"ui-loading\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/app-role-selection.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/app-selection-dialog\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{#if this.showPlans}}\n    <UiModal\n      @modalClassNames=\"app-plan-detail\"\n      @title={{t (concat \"appNames.\" this.activeApp.id \".presentationName\")}}\n      @description={{t \"create.appSelection.dialog.secondaryTitle\"}}\n      @onClose={{action (mut this.showPlans) false}}\n      @size=\"lg\"\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          <div class=\"plan-intro font-md pb2\">\n            {{t \"create.appSelection.dialog.intro\"}}\n          </div>\n          <div class=\"flex flex-column flex-row-sm flex-wrap gap1 justify-center-md\">\n            {{#each this.activeApp.plans as |plan|}}\n              <AppPlanCard\n                @activeApp={{this.activeApp}}\n                @plan={{plan}}\n                @isButtonDisabled={{this.isAddingApp}}\n                @actionText={{this.actionText}}\n                @addApp={{this.addAppTask}}\n                data-test-app-plan-card\n              />\n            {{/each}}\n          </div>\n        </content.body>\n      </dialog.content>\n    </UiModal>\n  {{else}}\n    <UiModal\n      @title={{t \"create.appSelection.dialog.title\"}}\n      @size=\"md\"\n      @onClose={{this.onClose}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          <UiItemGroup @title=\"Apps\" as |group|>\n            {{#each this.availableApps as |app|}}\n              <group.item @onClick={{action \"showPlans\" app}} as |item|>\n                <item.intro\n                  @title={{t (concat \"appNames.\" app.id \".name\")}}\n                  @description={{t\n                    (concat \"appDetails.\" app.id \".shortDescription\")\n                    price=(ui-format-currency\n                      (get app.plans \"0.amount\") \"EUR\" this.currentUser.user.language 0 0\n                    )\n                    period=(t\n                      (concat\n                        \"create.appSelection.choosePlan.intervals.\" (get app.plans \"0.interval\")\n                      )\n                    )\n                  }}\n                />\n              </group.item>\n            {{/each}}\n          </UiItemGroup>\n        </content.body>\n      </dialog.content>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isAddAppDialog}}\n    <UiModal\n      @title={{t \"create.appSelection.dialog.addApp\"}}\n      @size=\"sm\"\n      @onClose={{action (mut this.isAddAppDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          {{t \"create.appSelection.dialog.description\"}}\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{this.actionText}}\n          @onClick={{action \"onAddApp\" this.activeApp this.activePlan}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"6BVN5A4/\",\n    \"block\": \"[[[41,[30,0,[\\\"showPlans\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@modalClassNames\\\",\\\"@title\\\",\\\"@description\\\",\\\"@onClose\\\",\\\"@size\\\"],[\\\"app-plan-detail\\\",[28,[37,2],[[28,[37,3],[\\\"appNames.\\\",[30,0,[\\\"activeApp\\\",\\\"id\\\"]],\\\".presentationName\\\"],null]],null],[28,[37,2],[\\\"create.appSelection.dialog.secondaryTitle\\\"],null],[28,[37,4],[[30,0],[28,[37,5],[[30,0,[\\\"showPlans\\\"]]],null],false],null],\\\"lg\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"plan-intro font-md pb2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,2],[\\\"create.appSelection.dialog.intro\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-column flex-row-sm flex-wrap gap1 justify-center-md\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"activeApp\\\",\\\"plans\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[39,8],[[24,\\\"data-test-app-plan-card\\\",\\\"\\\"]],[[\\\"@activeApp\\\",\\\"@plan\\\",\\\"@isButtonDisabled\\\",\\\"@actionText\\\",\\\"@addApp\\\"],[[30,0,[\\\"activeApp\\\"]],[30,3],[30,0,[\\\"isAddingApp\\\"]],[30,0,[\\\"actionText\\\"]],[30,0,[\\\"addAppTask\\\"]]]],null],[1,\\\"\\\\n\\\"]],[3]],null],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@onClose\\\"],[[28,[37,2],[\\\"create.appSelection.dialog.title\\\"],null],\\\"md\\\",[30,0,[\\\"onClose\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,5,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,9],null,[[\\\"@title\\\"],[\\\"Apps\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"availableApps\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[30,6,[\\\"item\\\"]],null,[[\\\"@onClick\\\"],[[28,[37,4],[[30,0],\\\"showPlans\\\",[30,7]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@description\\\"],[[28,[37,2],[[28,[37,3],[\\\"appNames.\\\",[30,7,[\\\"id\\\"]],\\\".name\\\"],null]],null],[28,[37,2],[[28,[37,3],[\\\"appDetails.\\\",[30,7,[\\\"id\\\"]],\\\".shortDescription\\\"],null]],[[\\\"price\\\",\\\"period\\\"],[[28,[37,10],[[28,[37,11],[[30,7,[\\\"plans\\\"]],\\\"0.amount\\\"],null],\\\"EUR\\\",[30,0,[\\\"currentUser\\\",\\\"user\\\",\\\"language\\\"]],0,0],null],[28,[37,2],[[28,[37,3],[\\\"create.appSelection.choosePlan.intervals.\\\",[28,[37,11],[[30,7,[\\\"plans\\\"]],\\\"0.interval\\\"],null]],null]],null]]]]]],null],[1,\\\"\\\\n            \\\"]],[8]]]]],[1,\\\"\\\\n\\\"]],[7]],null],[1,\\\"        \\\"]],[6]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[5]]]]],[1,\\\"\\\\n  \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isAddAppDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@onClose\\\"],[[28,[37,2],[\\\"create.appSelection.dialog.addApp\\\"],null],\\\"sm\\\",[28,[37,4],[[30,0],[28,[37,5],[[30,0,[\\\"isAddAppDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,10,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"create.appSelection.dialog.description\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[10]]]]],[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,12],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[30,0,[\\\"actionText\\\"]],[28,[37,4],[[30,0],\\\"onAddApp\\\",[30,0,[\\\"activeApp\\\"]],[30,0,[\\\"activePlan\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[9]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"dialog\\\",\\\"content\\\",\\\"plan\\\",\\\"dialog\\\",\\\"content\\\",\\\"group\\\",\\\"app\\\",\\\"item\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"if\\\",\\\"ui-modal\\\",\\\"t\\\",\\\"concat\\\",\\\"action\\\",\\\"mut\\\",\\\"each\\\",\\\"-track-array\\\",\\\"app-plan-card\\\",\\\"ui-item-group\\\",\\\"ui-format-currency\\\",\\\"get\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/app-selection-dialog.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/apps-list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{#if this.isEmpty}}\n    <div class=\"empty-state w-100 flex flex-column items-center pa4\">\n      {{svg-jar \"empty-content\" class=\"secondary-svg\" height=\"256\"}}\n      <div class=\"font-lg primary pb2\">\n        {{t \"routes.apps.empty.title\"}}\n      </div>\n      <p class=\"font-sm secondary\">\n        {{t \"routes.apps.empty.subtitle\"}}\n      </p>\n    </div>\n  {{else}}\n    <UiContentCount @totalCount={{this.apps.length}} @class=\"mb1\" />\n    <UiList\n      @items={{this.activeApps}}\n      @title={{if this.activeApps (t \"routes.apps.lists.activeApps\") null}}\n      @isLoading={{this.isLoading}}\n      as |list item|\n    >\n      <list.item\n        @title={{t (concat \"appNames.\" item.id \".name\")}}\n        @description={{concat\n          (if item.hasMultiplePlans (aa-app-plan item) \"\")\n          (if (and item.hasMultiplePlans item.modules.length) \" / \")\n          (if item.modules.length (t \"routes.apps.modulesSubTitle\") \"\")\n          (aa-app-modules item.modules)\n        }}\n        @state=\"success\"\n        @isDisabled={{not this._isAdmin}}\n        @onClick={{action \"toggleDetail\" item}}\n        as |controls|\n      >\n        <controls.thumbnail>\n          {{#if item.appKey}}\n            {{svg-jar item.appKey width=\"44\" height=\"44\"}}\n          {{/if}}\n        </controls.thumbnail>\n  \n        <controls.state />\n  \n          <controls.right>\n            {{#if (and (eq item.appKey \"newsletter\") this.globalUser.isAdditive)}}\n              <UiIconButton\n                @class=\"blue\"\n                @icon=\"new-window\"\n                @label={{t \"routes.apps.actions.setSubscriberLimit\"}}\n                @onClick={{action \"openNewsletterSettings\"}}\n              />\n            {{/if}}\n            {{#if item.managed}}\n              <div>\n                <UiStatusBadge @state=\"info\">\n                  {{t \"routes.apps.actions.isManaged\"}}\n                </UiStatusBadge>\n              </div>\n            {{/if}}\n  \n            {{#if (and item.hasDropDownActions this._isAdmin)}}\n              <UiItemMenu @stopBubbling={{true}} as |menu|>\n                {{#if item.canUpgrade}}\n                  {{#unless this.isSubOrganization}}\n                    <menu.menuItem\n                      @label={{t \"routes.apps.actions.upgradePlan\"}}\n                      @onClick={{action \"openPlanChangeDialog\" item}}\n                      data-test-upgrade-menu-item\n                    />\n                  {{/unless}}\n                {{/if}}\n                {{#if item.canDowngrade}}\n                  {{#unless this.isSubOrganization}}\n                    <menu.menuItem\n                      @label={{t \"routes.apps.actions.downgradePlan\"}}\n                      @onClick={{action \"openPlanChangeDialog\" item true}}\n                    />\n                  {{/unless}}\n                {{/if}}\n                {{#if item.hasModules}}\n                  <menu.menuItem\n                    @label={{t \"routes.apps.actions.selectModules\"}}\n                    @onClick={{fn this.toggleModules item}}\n                  />\n                {{/if}}\n                {{#if (and this.showManagedSetting (array-find item.id this.manageableApps \"id\"))}}\n                  <menu.menuItem\n                    @label={{t\n                      (concat\n                        \"routes.apps.actions.\" (if item.managed \"deactivateManaged\" \"activateManaged\")\n                      )\n                    }}\n                    @onClick={{action \"openManageAppDialog\" item}}\n                  />\n                {{/if}}\n  \n                {{#if item.canDeactivate}}\n                  <menu.menuItem\n                    @label={{t\n                      (if\n                        this.isPartnerAdmin\n                        \"routes.apps.actions.deactivate\"\n                        \"routes.apps.actions.cancelSubscription\"\n                      )\n                    }}\n                    @isDanger={{true}}\n                    @onClick={{action \"confirmDeactivation\" item}}\n                    data-test-deactivate-menu-item\n                  />\n                {{/if}}\n              </UiItemMenu>\n            {{/if}}\n          </controls.right>\n      </list.item>\n    </UiList>\n    <UiList\n      @classNames={{if this.trialApps.length \"pb2\" \"\"}}\n      @items={{this.trialApps}}\n      @title={{if this.trialApps (t \"routes.apps.lists.trialApps\") null}}\n      data-test-trial-list-item\n      as |list item|\n    >\n      <list.item\n        @title={{t (concat \"appNames.\" item.id \".name\")}}\n        @description={{aa-app-plan item}}\n        @state=\"warning\"\n        @isDisabled={{not this._isAdmin}}\n        @onClick={{action \"toggleDetail\" item}}\n        as |controls|\n      >\n        <controls.thumbnail>\n          {{#if item.appKey}}\n            {{svg-jar item.appKey width=\"48\"}}\n          {{/if}}\n        </controls.thumbnail>\n  \n        <controls.state />\n  \n        {{#if this.this._isAdmin}}\n          <controls.right>\n            <UiItemMenu @stopBubbling={{true}} as |menu|>\n              {{#if item.isUpgradable}}\n                {{#unless this.isSubOrganization}}\n                  <menu.menuItem\n                    @label={{t \"routes.apps.actions.changePlan\"}}\n                    @onClick={{action \"openPlanChangeDialog\" item}}\n                    data-test-upgrade-menu-item\n                  />\n                {{/unless}}\n              {{/if}}\n              <menu.menuItem\n                @label={{t \"routes.apps.actions.endTrialPeriod\"}}\n                @isDanger={{true}}\n                @onClick={{action \"confirmDeactivation\" item}}\n                data-test-deactivate-menu-item\n              />\n            </UiItemMenu>\n          </controls.right>\n        {{/if}}\n      </list.item>\n    </UiList>\n    <UiList\n      @items={{this.inactiveApps}}\n      @title={{if this.inactiveApps (t \"routes.apps.lists.inactiveApps\") null}}\n      as |list item|\n    >\n      <list.item\n        @title={{t (concat \"appNames.\" item.id \".name\")}}\n        @description={{aa-app-plan item}}\n        @state=\"grey\"\n        @isDisabled={{not this._isAdmin}}\n        @onClick={{action \"toggleDetail\" item}}\n        as |controls|\n      >\n        <controls.thumbnail>\n          {{#if item.appKey}}\n            {{svg-jar item.appKey width=\"48\"}}\n          {{/if}}\n        </controls.thumbnail>\n  \n        <controls.state />\n  \n        {{#if this.this._isAdmin}}\n          <controls.right>\n            <UiItemMenu as |menu|>\n              <menu.menuItem\n                @label={{t \"routes.apps.actions.activateApp\"}}\n                @onClick={{action \"activateApp\" item.id}}\n                data-test-activate-menu-item\n              />\n            </UiItemMenu>\n          </controls.right>\n        {{/if}}\n      </list.item>\n    </UiList>\n  {{/if}}\n  <UpgradePlan\n    @isOpen={{this.isUpgradePlanDialogOpen}}\n    @app={{this.activeApp}}\n    @plans={{this.activeAppPlans}}\n    @activePlan={{this.activePlan}}\n    @upgrade={{action \"upgradeApp\"}}\n  />\n  \n  <UpgradePlan\n    @isOpen={{this.isDowngradePlanDialogOpen}}\n    @isDowngradeDialog={{true}}\n    @app={{this.activeApp}}\n    @plans={{this.activeAppPlans}}\n    @activePlan={{this.activePlan}}\n    @upgrade={{action \"downgradeApp\"}}\n  />\n  \n  {{#if this._isManagedAppDialog}}\n    <UiModal @size=\"sm\" @onClose={{fn (mut this._isManagedAppDialog) false}} as |modal|>\n      <modal.header />\n      <modal.content as |content|>\n        <content.body>\n          <div class=\"font-md font-medium pb2 secondary\">\n            {{this.currentApp.name}}\n          </div>\n          <div class=\"font-lg font-medium pb3\">\n            {{t \"routes.apps.actions.activateManaged\"}}\n          </div>\n  \n          <UiSelect\n            @label={{t \"routes.apps.actions.managedBy\"}}\n            @selected={{get (array-find this.currentApp.managedBy this.selectablePartners) \"name\"}}\n            @onChange={{fn (mut this.currentApp.managedBy)}}\n            @options={{this.selectablePartners}}\n            as |option item|\n          >\n            <option.item @value={{item.value}}>\n              {{item.name}}\n            </option.item>\n          </UiSelect>\n        </content.body>\n      </modal.content>\n      <modal.footer>\n        <UiButton @label={{t \"global.actions.save\"}} @onClick={{perform this.toggleManaged}} />\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isUnsubscribeDialog}}\n    <UiModal\n      @theme=\"error\"\n      @title={{t (concat \"routes.apps.dialogs.appRemoval.\" this.removalType \".title\")}}\n      @isSimpleDialog={{true}}\n      @onClose={{action (mut this.isUnsubscribeDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          {{t\n            (concat \"routes.apps.dialogs.appRemoval.\" this.removalType \".description\")\n            appName=(t (concat (concat \"appNames.\" this.currentApp.id) \".name\"))\n            htmlSafe=true\n          }}\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.continue\"}}\n          @onClick={{action \"deactivateApp\" this.currentApp}}\n          @isPromise={{true}}\n          @isSecondary={{true}}\n          @isDanger={{true}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"dprSjmLA\",\n    \"block\": \"[[[41,[30,0,[\\\"isEmpty\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"empty-state w-100 flex flex-column items-center pa4\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,1],[\\\"empty-content\\\"],[[\\\"class\\\",\\\"height\\\"],[\\\"secondary-svg\\\",\\\"256\\\"]]]],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"font-lg primary pb2\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],[\\\"routes.apps.empty.title\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,2],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,2],[\\\"routes.apps.empty.subtitle\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[8,[39,3],null,[[\\\"@totalCount\\\",\\\"@class\\\"],[[30,0,[\\\"apps\\\",\\\"length\\\"]],\\\"mb1\\\"]],null],[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@items\\\",\\\"@title\\\",\\\"@isLoading\\\"],[[30,0,[\\\"activeApps\\\"]],[52,[30,0,[\\\"activeApps\\\"]],[28,[37,2],[\\\"routes.apps.lists.activeApps\\\"],null],null],[30,0,[\\\"isLoading\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@state\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,2],[[28,[37,5],[\\\"appNames.\\\",[30,2,[\\\"id\\\"]],\\\".name\\\"],null]],null],[28,[37,5],[[52,[30,2,[\\\"hasMultiplePlans\\\"]],[28,[37,6],[[30,2]],null],\\\"\\\"],[52,[28,[37,7],[[30,2,[\\\"hasMultiplePlans\\\"]],[30,2,[\\\"modules\\\",\\\"length\\\"]]],null],\\\" / \\\"],[52,[30,2,[\\\"modules\\\",\\\"length\\\"]],[28,[37,2],[\\\"routes.apps.modulesSubTitle\\\"],null],\\\"\\\"],[28,[37,8],[[30,2,[\\\"modules\\\"]]],null]],null],\\\"success\\\",[28,[37,9],[[30,0,[\\\"_isAdmin\\\"]]],null],[28,[37,10],[[30,0],\\\"toggleDetail\\\",[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,3,[\\\"thumbnail\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"appKey\\\"]],[[[1,\\\"          \\\"],[1,[28,[35,1],[[30,2,[\\\"appKey\\\"]]],[[\\\"width\\\",\\\"height\\\"],[\\\"44\\\",\\\"44\\\"]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[30,3,[\\\"state\\\"]],null,null,null],[1,\\\"\\\\n\\\\n        \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,7],[[28,[37,11],[[30,2,[\\\"appKey\\\"]],\\\"newsletter\\\"],null],[30,0,[\\\"globalUser\\\",\\\"isAdditive\\\"]]],null],[[[1,\\\"            \\\"],[8,[39,12],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"blue\\\",\\\"new-window\\\",[28,[37,2],[\\\"routes.apps.actions.setSubscriberLimit\\\"],null],[28,[37,10],[[30,0],\\\"openNewsletterSettings\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,2,[\\\"managed\\\"]],[[[1,\\\"            \\\"],[10,0],[12],[1,\\\"\\\\n              \\\"],[8,[39,13],null,[[\\\"@state\\\"],[\\\"info\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[1,[28,[35,2],[\\\"routes.apps.actions.isManaged\\\"],null]],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,7],[[30,2,[\\\"hasDropDownActions\\\"]],[30,0,[\\\"_isAdmin\\\"]]],null],[[[1,\\\"            \\\"],[8,[39,14],null,[[\\\"@stopBubbling\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"canUpgrade\\\"]],[[[41,[51,[30,0,[\\\"isSubOrganization\\\"]]],[[[1,\\\"                  \\\"],[8,[30,4,[\\\"menuItem\\\"]],[[24,\\\"data-test-upgrade-menu-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.apps.actions.upgradePlan\\\"],null],[28,[37,10],[[30,0],\\\"openPlanChangeDialog\\\",[30,2]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[41,[30,2,[\\\"canDowngrade\\\"]],[[[41,[51,[30,0,[\\\"isSubOrganization\\\"]]],[[[1,\\\"                  \\\"],[8,[30,4,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.apps.actions.downgradePlan\\\"],null],[28,[37,10],[[30,0],\\\"openPlanChangeDialog\\\",[30,2],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[41,[30,2,[\\\"hasModules\\\"]],[[[1,\\\"                \\\"],[8,[30,4,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.apps.actions.selectModules\\\"],null],[28,[37,16],[[30,0,[\\\"toggleModules\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[28,[37,7],[[30,0,[\\\"showManagedSetting\\\"]],[28,[37,17],[[30,2,[\\\"id\\\"]],[30,0,[\\\"manageableApps\\\"]],\\\"id\\\"],null]],null],[[[1,\\\"                \\\"],[8,[30,4,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[[28,[37,5],[\\\"routes.apps.actions.\\\",[52,[30,2,[\\\"managed\\\"]],\\\"deactivateManaged\\\",\\\"activateManaged\\\"]],null]],null],[28,[37,10],[[30,0],\\\"openManageAppDialog\\\",[30,2]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"canDeactivate\\\"]],[[[1,\\\"                \\\"],[8,[30,4,[\\\"menuItem\\\"]],[[24,\\\"data-test-deactivate-menu-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,2],[[52,[30,0,[\\\"isPartnerAdmin\\\"]],\\\"routes.apps.actions.deactivate\\\",\\\"routes.apps.actions.cancelSubscription\\\"]],null],true,[28,[37,10],[[30,0],\\\"confirmDeactivation\\\",[30,2]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[3]]]]],[1,\\\"\\\\n  \\\"]],[1,2]]]]],[1,\\\"\\\\n  \\\"],[8,[39,4],[[24,\\\"data-test-trial-list-item\\\",\\\"\\\"]],[[\\\"@classNames\\\",\\\"@items\\\",\\\"@title\\\"],[[52,[30,0,[\\\"trialApps\\\",\\\"length\\\"]],\\\"pb2\\\",\\\"\\\"],[30,0,[\\\"trialApps\\\"]],[52,[30,0,[\\\"trialApps\\\"]],[28,[37,2],[\\\"routes.apps.lists.trialApps\\\"],null],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@state\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,2],[[28,[37,5],[\\\"appNames.\\\",[30,6,[\\\"id\\\"]],\\\".name\\\"],null]],null],[28,[37,6],[[30,6]],null],\\\"warning\\\",[28,[37,9],[[30,0,[\\\"_isAdmin\\\"]]],null],[28,[37,10],[[30,0],\\\"toggleDetail\\\",[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,7,[\\\"thumbnail\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"appKey\\\"]],[[[1,\\\"          \\\"],[1,[28,[35,1],[[30,6,[\\\"appKey\\\"]]],[[\\\"width\\\"],[\\\"48\\\"]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[30,7,[\\\"state\\\"]],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isAdmin\\\"]],[[[1,\\\"        \\\"],[8,[30,7,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,14],null,[[\\\"@stopBubbling\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,6,[\\\"isUpgradable\\\"]],[[[41,[51,[30,0,[\\\"isSubOrganization\\\"]]],[[[1,\\\"                \\\"],[8,[30,8,[\\\"menuItem\\\"]],[[24,\\\"data-test-upgrade-menu-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.apps.actions.changePlan\\\"],null],[28,[37,10],[[30,0],\\\"openPlanChangeDialog\\\",[30,6]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"            \\\"],[8,[30,8,[\\\"menuItem\\\"]],[[24,\\\"data-test-deactivate-menu-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.apps.actions.endTrialPeriod\\\"],null],true,[28,[37,10],[[30,0],\\\"confirmDeactivation\\\",[30,6]],null]]],null],[1,\\\"\\\\n          \\\"]],[8]]]]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[7]]]]],[1,\\\"\\\\n  \\\"]],[5,6]]]]],[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@items\\\",\\\"@title\\\"],[[30,0,[\\\"inactiveApps\\\"]],[52,[30,0,[\\\"inactiveApps\\\"]],[28,[37,2],[\\\"routes.apps.lists.inactiveApps\\\"],null],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@state\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,2],[[28,[37,5],[\\\"appNames.\\\",[30,10,[\\\"id\\\"]],\\\".name\\\"],null]],null],[28,[37,6],[[30,10]],null],\\\"grey\\\",[28,[37,9],[[30,0,[\\\"_isAdmin\\\"]]],null],[28,[37,10],[[30,0],\\\"toggleDetail\\\",[30,10]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,11,[\\\"thumbnail\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,10,[\\\"appKey\\\"]],[[[1,\\\"          \\\"],[1,[28,[35,1],[[30,10,[\\\"appKey\\\"]]],[[\\\"width\\\"],[\\\"48\\\"]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[30,11,[\\\"state\\\"]],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isAdmin\\\"]],[[[1,\\\"        \\\"],[8,[30,11,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[39,14],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,12,[\\\"menuItem\\\"]],[[24,\\\"data-test-activate-menu-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.apps.actions.activateApp\\\"],null],[28,[37,10],[[30,0],\\\"activateApp\\\",[30,10,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n          \\\"]],[12]]]]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[11]]]]],[1,\\\"\\\\n  \\\"]],[9,10]]]]],[1,\\\"\\\\n\\\"]],[]]],[8,[39,18],null,[[\\\"@isOpen\\\",\\\"@app\\\",\\\"@plans\\\",\\\"@activePlan\\\",\\\"@upgrade\\\"],[[30,0,[\\\"isUpgradePlanDialogOpen\\\"]],[30,0,[\\\"activeApp\\\"]],[30,0,[\\\"activeAppPlans\\\"]],[30,0,[\\\"activePlan\\\"]],[28,[37,10],[[30,0],\\\"upgradeApp\\\"],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,18],null,[[\\\"@isOpen\\\",\\\"@isDowngradeDialog\\\",\\\"@app\\\",\\\"@plans\\\",\\\"@activePlan\\\",\\\"@upgrade\\\"],[[30,0,[\\\"isDowngradePlanDialogOpen\\\"]],true,[30,0,[\\\"activeApp\\\"]],[30,0,[\\\"activeAppPlans\\\"]],[30,0,[\\\"activePlan\\\"]],[28,[37,10],[[30,0],\\\"downgradeApp\\\"],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isManagedAppDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,19],null,[[\\\"@size\\\",\\\"@onClose\\\"],[\\\"sm\\\",[28,[37,16],[[28,[37,20],[[30,0,[\\\"_isManagedAppDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,14,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-md font-medium pb2 secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"currentApp\\\",\\\"name\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-lg font-medium pb3\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,2],[\\\"routes.apps.actions.activateManaged\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,21],null,[[\\\"@label\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@options\\\"],[[28,[37,2],[\\\"routes.apps.actions.managedBy\\\"],null],[28,[37,22],[[28,[37,17],[[30,0,[\\\"currentApp\\\",\\\"managedBy\\\"]],[30,0,[\\\"selectablePartners\\\"]]],null],\\\"name\\\"],null],[28,[37,16],[[28,[37,20],[[30,0,[\\\"currentApp\\\",\\\"managedBy\\\"]]],null]],null],[30,0,[\\\"selectablePartners\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,15,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,16,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[30,16,[\\\"name\\\"]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[15,16]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[14]]]]],[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.save\\\"],null],[28,[37,24],[[30,0,[\\\"toggleManaged\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[13]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isUnsubscribeDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,19],null,[[\\\"@theme\\\",\\\"@title\\\",\\\"@isSimpleDialog\\\",\\\"@onClose\\\"],[\\\"error\\\",[28,[37,2],[[28,[37,5],[\\\"routes.apps.dialogs.appRemoval.\\\",[30,0,[\\\"removalType\\\"]],\\\".title\\\"],null]],null],true,[28,[37,10],[[30,0],[28,[37,20],[[30,0,[\\\"isUnsubscribeDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,17,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,17,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,18,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[[28,[37,5],[\\\"routes.apps.dialogs.appRemoval.\\\",[30,0,[\\\"removalType\\\"]],\\\".description\\\"],null]],[[\\\"appName\\\",\\\"htmlSafe\\\"],[[28,[37,2],[[28,[37,5],[[28,[37,5],[\\\"appNames.\\\",[30,0,[\\\"currentApp\\\",\\\"id\\\"]]],null],\\\".name\\\"],null]],null],true]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[18]]]]],[1,\\\"\\\\n    \\\"],[8,[30,17,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,23],null,[[\\\"@label\\\",\\\"@onClick\\\",\\\"@isPromise\\\",\\\"@isSecondary\\\",\\\"@isDanger\\\"],[[28,[37,2],[\\\"global.actions.continue\\\"],null],[28,[37,10],[[30,0],\\\"deactivateApp\\\",[30,0,[\\\"currentApp\\\"]]],null],true,true,true]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[17]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"menu\\\",\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"menu\\\",\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"menu\\\",\\\"modal\\\",\\\"content\\\",\\\"option\\\",\\\"item\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"if\\\",\\\"svg-jar\\\",\\\"t\\\",\\\"ui-content-count\\\",\\\"ui-list\\\",\\\"concat\\\",\\\"aa-app-plan\\\",\\\"and\\\",\\\"aa-app-modules\\\",\\\"not\\\",\\\"action\\\",\\\"eq\\\",\\\"ui-icon-button\\\",\\\"ui-status-badge\\\",\\\"ui-item-menu\\\",\\\"unless\\\",\\\"fn\\\",\\\"array-find\\\",\\\"upgrade-plan\\\",\\\"ui-modal\\\",\\\"mut\\\",\\\"ui-select\\\",\\\"get\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/apps-list.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/basic-dropdown-content\", [\"exports\", \"ember-basic-dropdown/templates/components/basic-dropdown-content\"], function (_exports, _basicDropdownContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _basicDropdownContent.default;\n    }\n  });\n});","define(\"additive-account/templates/components/basic-dropdown-trigger\", [\"exports\", \"ember-basic-dropdown/templates/components/basic-dropdown-trigger\"], function (_exports, _basicDropdownTrigger) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _basicDropdownTrigger.default;\n    }\n  });\n});","define(\"additive-account/templates/components/basic-dropdown\", [\"exports\", \"ember-basic-dropdown/templates/components/basic-dropdown\"], function (_exports, _basicDropdown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _basicDropdown.default;\n    }\n  });\n});","define(\"additive-account/templates/components/model-form\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal\n    @size=\"md\"\n    @subtitle={{this.subtitle}}\n    @title={{this.title}}\n    @onClose={{action \"onClose\"}}\n    as |modal|\n  >\n    <modal.header />\n    <modal.content as |content|>\n      <content.body>\n        <div class=\"flex flex-column\">\n          {{yield (hash input=(component \"ui-input\" class=\"w-100\")) this.changeset}}\n        </div>\n      </content.body>\n    </modal.content>\n    <modal.footer>\n      <UiButton\n        @label={{t \"global.actions.save\"}}\n        @onClick={{action \"onConfirm\" this.changeset}}\n        data-test-profile-view-confirm\n      />\n    </modal.footer>\n  </UiModal>\n  \n  <UiDiscardChanges @isOpen={{this.isDiscardChangesDialog}} @onDiscard={{action \"confirmDiscard\"}} />\n  */\n  {\n    \"id\": \"FTMVNeeQ\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@subtitle\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[30,0,[\\\"subtitle\\\"]],[30,0,[\\\"title\\\"]],[28,[37,1],[[30,0],\\\"onClose\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[12],[1,\\\"\\\\n        \\\"],[18,3,[[28,[37,3],null,[[\\\"input\\\"],[[50,\\\"ui-input\\\",0,null,[[\\\"class\\\"],[\\\"w-100\\\"]]]]]],[30,0,[\\\"changeset\\\"]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,5],[[24,\\\"data-test-profile-view-confirm\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,6],[\\\"global.actions.save\\\"],null],[28,[37,1],[[30,0],\\\"onConfirm\\\",[30,0,[\\\"changeset\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,7],null,[[\\\"@isOpen\\\",\\\"@onDiscard\\\"],[[30,0,[\\\"isDiscardChangesDialog\\\"]],[28,[37,1],[[30,0],\\\"confirmDiscard\\\"],null]]],null]],[\\\"modal\\\",\\\"content\\\",\\\"&default\\\"],false,[\\\"ui-modal\\\",\\\"action\\\",\\\"yield\\\",\\\"hash\\\",\\\"component\\\",\\\"ui-button\\\",\\\"t\\\",\\\"ui-discard-changes\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/model-form.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/simple-nav\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{yield\n    (hash\n      trigger=(component\n        \"simple-nav/trigger\" currentIndex=this.currentIndex updateIndex=(action \"updateIndex\")\n      )\n      content=(component \"simple-nav/content\" currentIndex=this.currentIndex)\n    )\n  }}\n  */\n  {\n    \"id\": \"laDO9K8p\",\n    \"block\": \"[[[18,1,[[28,[37,1],null,[[\\\"trigger\\\",\\\"content\\\"],[[50,\\\"simple-nav/trigger\\\",0,null,[[\\\"currentIndex\\\",\\\"updateIndex\\\"],[[30,0,[\\\"currentIndex\\\"]],[28,[37,3],[[30,0],\\\"updateIndex\\\"],null]]]],[50,\\\"simple-nav/content\\\",0,null,[[\\\"currentIndex\\\"],[[30,0,[\\\"currentIndex\\\"]]]]]]]]]]],[\\\"&default\\\"],false,[\\\"yield\\\",\\\"hash\\\",\\\"component\\\",\\\"action\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/simple-nav.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/typography-item\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"typography-item__title flex items-center w-50-sm h-100 mr2-sm ohidden\">\n    <span style={{this.fontStyle}}>\n      {{t (concat \"routes.corporateDesign.typography.\" this.type \".name\") htmlSafe=true}}\n    </span>\n    <span class=\"typography-item__type font-xs secondary flex items-end pl1\" style={{this.typeStyle}}>\n      {{this.type}}\n    </span>\n  </div>\n  <div class=\"typography-item__description flex flex-column font-sm mt2 mt0-sm\">\n    <span class=\"flex items-center\">\n      {{this.previewFontFamily}},\n      <ColorIndicator @class=\"ml05\" @colorCode={{this.fontColor.colorCode}} />\n      {{this.fontColor.name}}\n    </span>\n    <span class=\"font-xs secondary\">\n      {{this.fontSizesText}}\n    </span>\n  </div>\n  \n  {{#if this._isDetailOpen}}\n    <UiModal\n      @title={{t (concat \"routes.corporateDesign.typography.\" this.type \".name\")}}\n      @size=\"md\"\n      @modalClassNames=\"ui-color-composition__dialog\"\n      @onClose={{action \"_closeDialog\"}}\n      as |modal|\n    >\n      <modal.header />\n  \n      <modal.content as |content|>\n        <content.body>\n          <div class=\"font-sm secondary ph1 mb2\">\n            {{t (concat \"routes.corporateDesign.typography.\" this.type \".description\")}}\n          </div>\n  \n          <UiSelect\n            @class=\"w-100\"\n            @label={{t \"routes.corporateDesign.typography.labels.fontFamily\"}}\n            @placeholder={{t \"routes.corporateDesign.typography.labels.fontFamily\"}}\n            @initialValue={{this.fontFamily}}\n            @selected={{get (array-find this.fontFamily this.fontOptions) \"name\"}}\n            @options={{this.fontOptions}}\n            @onChange={{action \"onSelectChange\"}}\n            @isReadOnly={{this.isReadOnly}}\n            @errorMessage={{get this.changeset.error.fontFamily.validation 0}}\n            as |option item|\n          >\n            {{#if item.isFirstOfGroup}}\n              <div class=\"font-xs secondary ph2 pt3 pb05\">\n                {{t\n                  (concat\n                    \"routes.corporateDesign.typography.fontTypes.\" (if item.serif \"serif\" \"sansserif\")\n                  )\n                }}\n              </div>\n            {{else if item.isFirstOfCustom}}\n              <div class=\"font-xs secondary ph2 pt2 pb05\">\n                {{t \"routes.corporateDesign.typography.customFonts\"}}\n              </div>\n            {{/if}}\n            <option.item @value={{item}} @classNames=\"flex justify-between\">\n              <span>\n                {{item.name}}\n                {{#if item.isCustom}}\n                  <span class=\"pl05 font-regular secondary\">\n                    ({{item.weight}})\n                  </span>\n                {{/if}}\n              </span>\n              {{#if item.isCustom}}\n                <span class=\"pl1 font-regular secondary\">\n                  {{t\n                    (concat\n                      \"routes.corporateDesign.typography.fonts.properties.\"\n                      (if item.serif \"serif\" \"sansserif\")\n                    )\n                  }}\n                </span>\n              {{/if}}\n            </option.item>\n          </UiSelect>\n  \n          <UiSelect\n            @class=\"typography-item__color-select w-100\"\n            @label={{t \"routes.corporateDesign.typography.labels.color\"}}\n            @placeholder={{t \"routes.corporateDesign.typography.labels.color\"}}\n            @initialValue={{this.changeset.color}}\n            @selected={{this.fontColor.name}}\n            @options={{this.colorOptions}}\n            @onChange={{action (mut this.changeset.color)}}\n            @isReadOnly={{this.isReadOnly}}\n            @errorMessage={{get this.changeset.error.color.validation 0}}\n            as |option item|\n          >\n            <option.left>\n              <ColorIndicator @class=\"ml1\" @colorCode={{this.fontColor.colorCode}} />\n            </option.left>\n            <option.item @value={{item.value}}>\n              <ColorIndicator\n                @class=\"mr1 ml05\"\n                @isReadOnly={{this.isReadOnly}}\n                @colorCode={{get (get this.colorCompositions item.value) \"color\"}}\n              />\n              {{t (concat \"routes.corporateDesign.colors.\" item.value \".name\")}}\n            </option.item>\n          </UiSelect>\n  \n          <UiLabel @class=\"mt2\" @value={{t \"routes.corporateDesign.typography.labels.mobile\"}} />\n  \n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"mr1\"\n              @label={{t \"routes.corporateDesign.typography.labels.fontSize\"}}\n              @value={{this.changeset.fontSizeMobile}}\n              @isReadOnly={{this.isReadOnly}}\n              @errorMessage={{get this.changeset.error.fontSizeMobile.validation 0}}\n            />\n            <UiInput\n              @class=\"ml1\"\n              @label={{t \"routes.corporateDesign.typography.labels.lineHeight\"}}\n              @value={{this.changeset.lineHeightMobile}}\n              @isReadOnly={{this.isReadOnly}}\n              @errorMessage={{get this.changeset.error.lineHeightMobile.validation 0}}\n            />\n          </div>\n  \n          <div class=\"flex flex-row\">\n            <div class=\"mr1 w-50\">\n              <UiInput\n                @label={{t \"routes.corporateDesign.typography.labels.letterSpacing\"}}\n                @type=\"number\"\n                @value={{this.changeset.letterSpacingMobile}}\n                @isReadOnly={{this.isReadOnly}}\n                @errorMessage={{get this.changeset.error.letterSpacingMobile.validation 0}}\n                as |input|\n              >\n                <input.right>\n                  {{t \"routes.corporateDesign.typography.labels.letterSpacingUnit\"}}\n                </input.right>\n              </UiInput>\n            </div>\n  \n            <div class=\"ml1 w-50\">\n              <UiFormControl\n                @label={{t \"routes.corporateDesign.typography.labels.uppercase\"}}\n                as |container|\n              >\n                <container.content>\n                  <UiSwitch\n                    @class=\"ml05 mr1\"\n                    @value={{this.changeset.uppercaseMobile}}\n                    @isReadOnly={{this.isReadOnly}}\n                    @onChange={{fn\n                      (mut this.changeset.uppercaseMobile)\n                      (not this.changeset.uppercaseMobile)\n                    }}\n                  />\n                  <div class=\"font-sm {{if this.changeset.uppercaseMobile 'blue' 'secondary'}}\">\n                    {{t \"routes.corporateDesign.typography.labels.enableUppercase\"}}\n                  </div>\n                </container.content>\n              </UiFormControl>\n            </div>\n          </div>\n  \n          <div class=\"mt1\">\n            <UiLabel @value={{t \"routes.corporateDesign.typography.labels.desktop\"}} />\n          </div>\n  \n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"mr1\"\n              @label={{t \"routes.corporateDesign.typography.labels.fontSize\"}}\n              @value={{this.changeset.fontSize}}\n              @isReadOnly={{this.isReadOnly}}\n              @errorMessage={{get this.changeset.error.fontSize.validation 0}}\n            />\n            <UiInput\n              @class=\"ml1\"\n              @label={{t \"routes.corporateDesign.typography.labels.lineHeight\"}}\n              @value={{this.changeset.lineHeight}}\n              @isReadOnly={{this.isReadOnly}}\n              @errorMessage={{get this.changeset.error.lineHeight.validation 0}}\n            />\n          </div>\n  \n          <div class=\"flex flex-row\">\n            <div class=\"mr1 w-50\">\n              <UiInput\n                @label={{t \"routes.corporateDesign.typography.labels.letterSpacing\"}}\n                @type=\"number\"\n                @value={{this.changeset.letterSpacing}}\n                @isReadOnly={{this.isReadOnly}}\n                @errorMessage={{get this.changeset.error.letterSpacing.validation 0}}\n                as |input|\n              >\n                <input.right>\n                  {{t \"routes.corporateDesign.typography.labels.letterSpacingUnit\"}}\n                </input.right>\n              </UiInput>\n            </div>\n  \n            <div class=\"ml1 w-50\">\n              <UiFormControl\n                @label={{t \"routes.corporateDesign.typography.labels.uppercase\"}}\n                as |container|\n              >\n                <container.content>\n                  <UiSwitch\n                    @class=\"ml05 mr1\"\n                    @value={{this.changeset.uppercase}}\n                    @isReadOnly={{this.isReadOnly}}\n                    @onChange={{fn (mut this.changeset.uppercase) (not this.changeset.uppercase)}}\n                  />\n                  <div class=\"font-sm {{if this.changeset.uppercase 'blue' 'secondary'}}\">\n                    {{t \"routes.corporateDesign.typography.labels.enableUppercase\"}}\n                  </div>\n                </container.content>\n              </UiFormControl>\n            </div>\n          </div>\n        </content.body>\n      </modal.content>\n  \n      <modal.footer>\n        <UiButton\n          @label={{t \"global.actions.save\"}}\n          @isDisabled={{this.isReadOnly}}\n          @onClick={{action \"onSave\" this.changeset}}\n        />\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"AQ/8uxdJ\",\n    \"block\": \"[[[10,0],[14,0,\\\"typography-item__title flex items-center w-50-sm h-100 mr2-sm ohidden\\\"],[12],[1,\\\"\\\\n  \\\"],[10,1],[15,5,[30,0,[\\\"fontStyle\\\"]]],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,0],[[28,[37,1],[\\\"routes.corporateDesign.typography.\\\",[30,0,[\\\"type\\\"]],\\\".name\\\"],null]],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,1],[14,0,\\\"typography-item__type font-xs secondary flex items-end pl1\\\"],[15,5,[30,0,[\\\"typeStyle\\\"]]],[12],[1,\\\"\\\\n    \\\"],[1,[30,0,[\\\"type\\\"]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"typography-item__description flex flex-column font-sm mt2 mt0-sm\\\"],[12],[1,\\\"\\\\n  \\\"],[10,1],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[30,0,[\\\"previewFontFamily\\\"]]],[1,\\\",\\\\n    \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@colorCode\\\"],[\\\"ml05\\\",[30,0,[\\\"fontColor\\\",\\\"colorCode\\\"]]]],null],[1,\\\"\\\\n    \\\"],[1,[30,0,[\\\"fontColor\\\",\\\"name\\\"]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,1],[14,0,\\\"font-xs secondary\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[30,0,[\\\"fontSizesText\\\"]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isDetailOpen\\\"]],[[[1,\\\"  \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@modalClassNames\\\",\\\"@onClose\\\"],[[28,[37,0],[[28,[37,1],[\\\"routes.corporateDesign.typography.\\\",[30,0,[\\\"type\\\"]],\\\".name\\\"],null]],null],\\\"md\\\",\\\"ui-color-composition__dialog\\\",[28,[37,5],[[30,0],\\\"_closeDialog\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-sm secondary ph1 mb2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,0],[[28,[37,1],[\\\"routes.corporateDesign.typography.\\\",[30,0,[\\\"type\\\"]],\\\".description\\\"],null]],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,6],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@initialValue\\\",\\\"@selected\\\",\\\"@options\\\",\\\"@onChange\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[\\\"w-100\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.fontFamily\\\"],null],[28,[37,0],[\\\"routes.corporateDesign.typography.labels.fontFamily\\\"],null],[30,0,[\\\"fontFamily\\\"]],[28,[37,7],[[28,[37,8],[[30,0,[\\\"fontFamily\\\"]],[30,0,[\\\"fontOptions\\\"]]],null],\\\"name\\\"],null],[30,0,[\\\"fontOptions\\\"]],[28,[37,5],[[30,0],\\\"onSelectChange\\\"],null],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"fontFamily\\\",\\\"validation\\\"]],0],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,4,[\\\"isFirstOfGroup\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"font-xs secondary ph2 pt3 pb05\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,0],[[28,[37,1],[\\\"routes.corporateDesign.typography.fontTypes.\\\",[52,[30,4,[\\\"serif\\\"]],\\\"serif\\\",\\\"sansserif\\\"]],null]],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,4,[\\\"isFirstOfCustom\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"font-xs secondary ph2 pt2 pb05\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,0],[\\\"routes.corporateDesign.typography.customFonts\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]],null]],[]]],[1,\\\"          \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@value\\\",\\\"@classNames\\\"],[[30,4],\\\"flex justify-between\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,1],[12],[1,\\\"\\\\n              \\\"],[1,[30,4,[\\\"name\\\"]]],[1,\\\"\\\\n\\\"],[41,[30,4,[\\\"isCustom\\\"]],[[[1,\\\"                \\\"],[10,1],[14,0,\\\"pl05 font-regular secondary\\\"],[12],[1,\\\"\\\\n                  (\\\"],[1,[30,4,[\\\"weight\\\"]]],[1,\\\")\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,4,[\\\"isCustom\\\"]],[[[1,\\\"              \\\"],[10,1],[14,0,\\\"pl1 font-regular secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,0],[[28,[37,1],[\\\"routes.corporateDesign.typography.fonts.properties.\\\",[52,[30,4,[\\\"serif\\\"]],\\\"serif\\\",\\\"sansserif\\\"]],null]],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[3,4]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,6],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@initialValue\\\",\\\"@selected\\\",\\\"@options\\\",\\\"@onChange\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[\\\"typography-item__color-select w-100\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.color\\\"],null],[28,[37,0],[\\\"routes.corporateDesign.typography.labels.color\\\"],null],[30,0,[\\\"changeset\\\",\\\"color\\\"]],[30,0,[\\\"fontColor\\\",\\\"name\\\"]],[30,0,[\\\"colorOptions\\\"]],[28,[37,5],[[30,0],[28,[37,9],[[30,0,[\\\"changeset\\\",\\\"color\\\"]]],null]],null],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"color\\\",\\\"validation\\\"]],0],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,5,[\\\"left\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@colorCode\\\"],[\\\"ml1\\\",[30,0,[\\\"fontColor\\\",\\\"colorCode\\\"]]]],null],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[8,[30,5,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,6,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@isReadOnly\\\",\\\"@colorCode\\\"],[\\\"mr1 ml05\\\",[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[28,[37,7],[[30,0,[\\\"colorCompositions\\\"]],[30,6,[\\\"value\\\"]]],null],\\\"color\\\"],null]]],null],[1,\\\"\\\\n            \\\"],[1,[28,[35,0],[[28,[37,1],[\\\"routes.corporateDesign.colors.\\\",[30,6,[\\\"value\\\"]],\\\".name\\\"],null]],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[5,6]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,10],null,[[\\\"@class\\\",\\\"@value\\\"],[\\\"mt2\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.mobile\\\"],null]]],null],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[\\\"mr1\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.fontSize\\\"],null],[30,0,[\\\"changeset\\\",\\\"fontSizeMobile\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"fontSizeMobile\\\",\\\"validation\\\"]],0],null]]],null],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[\\\"ml1\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.lineHeight\\\"],null],[30,0,[\\\"changeset\\\",\\\"lineHeightMobile\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"lineHeightMobile\\\",\\\"validation\\\"]],0],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"mr1 w-50\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[[28,[37,0],[\\\"routes.corporateDesign.typography.labels.letterSpacing\\\"],null],\\\"number\\\",[30,0,[\\\"changeset\\\",\\\"letterSpacingMobile\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"letterSpacingMobile\\\",\\\"validation\\\"]],0],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,7,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[1,[28,[35,0],[\\\"routes.corporateDesign.typography.labels.letterSpacingUnit\\\"],null]],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[7]]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"ml1 w-50\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,12],null,[[\\\"@label\\\"],[[28,[37,0],[\\\"routes.corporateDesign.typography.labels.uppercase\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[8,[39,13],null,[[\\\"@class\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[\\\"ml05 mr1\\\",[30,0,[\\\"changeset\\\",\\\"uppercaseMobile\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,14],[[28,[37,9],[[30,0,[\\\"changeset\\\",\\\"uppercaseMobile\\\"]]],null],[28,[37,15],[[30,0,[\\\"changeset\\\",\\\"uppercaseMobile\\\"]]],null]],null]]],null],[1,\\\"\\\\n                \\\"],[10,0],[15,0,[29,[\\\"font-sm \\\",[52,[30,0,[\\\"changeset\\\",\\\"uppercaseMobile\\\"]],\\\"blue\\\",\\\"secondary\\\"]]]],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,0],[\\\"routes.corporateDesign.typography.labels.enableUppercase\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[8]]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"mt1\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,10],null,[[\\\"@value\\\"],[[28,[37,0],[\\\"routes.corporateDesign.typography.labels.desktop\\\"],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[\\\"mr1\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.fontSize\\\"],null],[30,0,[\\\"changeset\\\",\\\"fontSize\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"fontSize\\\",\\\"validation\\\"]],0],null]]],null],[1,\\\"\\\\n          \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[\\\"ml1\\\",[28,[37,0],[\\\"routes.corporateDesign.typography.labels.lineHeight\\\"],null],[30,0,[\\\"changeset\\\",\\\"lineHeight\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"lineHeight\\\",\\\"validation\\\"]],0],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"mr1 w-50\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@errorMessage\\\"],[[28,[37,0],[\\\"routes.corporateDesign.typography.labels.letterSpacing\\\"],null],\\\"number\\\",[30,0,[\\\"changeset\\\",\\\"letterSpacing\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,7],[[30,0,[\\\"changeset\\\",\\\"error\\\",\\\"letterSpacing\\\",\\\"validation\\\"]],0],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,9,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[1,[28,[35,0],[\\\"routes.corporateDesign.typography.labels.letterSpacingUnit\\\"],null]],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[9]]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"ml1 w-50\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,12],null,[[\\\"@label\\\"],[[28,[37,0],[\\\"routes.corporateDesign.typography.labels.uppercase\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,10,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[8,[39,13],null,[[\\\"@class\\\",\\\"@value\\\",\\\"@isReadOnly\\\",\\\"@onChange\\\"],[\\\"ml05 mr1\\\",[30,0,[\\\"changeset\\\",\\\"uppercase\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,14],[[28,[37,9],[[30,0,[\\\"changeset\\\",\\\"uppercase\\\"]]],null],[28,[37,15],[[30,0,[\\\"changeset\\\",\\\"uppercase\\\"]]],null]],null]]],null],[1,\\\"\\\\n                \\\"],[10,0],[15,0,[29,[\\\"font-sm \\\",[52,[30,0,[\\\"changeset\\\",\\\"uppercase\\\"]],\\\"blue\\\",\\\"secondary\\\"]]]],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,0],[\\\"routes.corporateDesign.typography.labels.enableUppercase\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[10]]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,16],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,0],[\\\"global.actions.save\\\"],null],[30,0,[\\\"isReadOnly\\\"]],[28,[37,5],[[30,0],\\\"onSave\\\",[30,0,[\\\"changeset\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"modal\\\",\\\"content\\\",\\\"option\\\",\\\"item\\\",\\\"option\\\",\\\"item\\\",\\\"input\\\",\\\"container\\\",\\\"input\\\",\\\"container\\\"],false,[\\\"t\\\",\\\"concat\\\",\\\"color-indicator\\\",\\\"if\\\",\\\"ui-modal\\\",\\\"action\\\",\\\"ui-select\\\",\\\"get\\\",\\\"array-find\\\",\\\"mut\\\",\\\"ui-label\\\",\\\"ui-input\\\",\\\"ui-form-control\\\",\\\"ui-switch\\\",\\\"fn\\\",\\\"not\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/typography-item.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/ui-app-selection\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div\n    class=\"ui-app-selection absolute bottom-0 left-0 bg-white w-100\n      {{if this.isOpen 'ui-app-selection--open'}}\"\n  >\n    <div class=\"ui-app-selection__bar flex items-center w-100 dn-md\">\n      <div class=\"ui-app-selection__add pl2 font-sm flex items-center flex-shrink-0\">\n        {{t \"components.uiAppSelection.myApps\"}}\n        <UiButton\n          @class=\"dif items-center justify-center white\"\n          @isDisabled={{this.isAddDisabled}}\n          @onClick={{action \"openAppList\"}}\n        >\n          {{svg-jar \"plus\" class=\"white\"}}\n        </UiButton>\n      </div>\n      <div\n        class=\"pr3 flex flex-grow-1 items-center cpointer\"\n        role=\"button\"\n        {{on \"click\" (action \"toggleOpen\")}}\n      >\n        <div class=\"ui-app-selection__selected-container flex items-center flex-shrink-0\">\n          {{#each this.selectedApps as |app|}}\n            {{#if app.appKey}}\n              {{svg-jar app.appKey width=\"32\" class=\"h1 mr05\"}}\n            {{/if}}\n          {{/each}}\n        </div>\n        <span class=\"flex-grow-1\"></span>\n        <div class=\"close font-sm primary pr2\">\n          {{t \"global.actions.close\"}}\n        </div>\n        {{svg-jar \"caret\" class=\"expand flex-shrink-0\"}}\n      </div>\n    </div>\n    <div class=\"ui-app-selection__header pa3 dn db-md\">\n      <img src={{app-assets \"additive\"}} alt=\"additive\" />\n    </div>\n    <div class=\"ui-app-selection__content ph3\">\n      <div class=\"primary font-md pb2\">\n        {{t \"components.uiAppSelection.intro\"}}\n      </div>\n      {{#each this.selectedApps as |app index|}}\n        <UiApp\n          @classNames=\"pv2\"\n          @app={{app}}\n          @onRemove={{action \"removeApp\" app.appId}}\n          data-test-ui-app={{index}}\n        />\n      {{/each}}\n      {{#if this.addableApps}}\n        <UiItem\n          @classNames=\"pa2\"\n          @isDisabled={{this.isAddDisabled}}\n          @onClick={{action \"openAppList\"}}\n        >\n          <div class=\"pr2\">\n            <div class=\"bg-secondary h-100 flex items-center justify-center pa1 br1 white\">\n              {{svg-jar \"plus\"}}\n            </div>\n          </div>\n          <div class=\"font-sm secondary\">\n            {{t \"create.appSelection.addMoreApps\"}}\n          </div>\n        </UiItem>\n      {{/if}}\n    </div>\n  \n    <div class=\"absolute bottom-0 w-100 flex items-center justify-between ph3 pv2\">\n      <div class=\"flex items-center ellipsis\">\n        <div class=\"user-image-container flex flex-shrink-0 items-center justify-center br-100\">\n          {{#if this.globalUser.imagePath}}\n            <img class=\"mw-100\" src={{this.globalUser.imagePath}} alt=\"user avatar\" />\n          {{else}}\n            {{svg-jar \"placeholder-user\"}}\n          {{/if}}\n        </div>\n  \n        <div class=\"font-sm primary ph2 ellipsis\">\n          {{this.globalUser.fullName}}\n        </div>\n      </div>\n      <LinkTo class=\"font-md font-medium red\" @route=\"logout\">\n        {{t \"global.actions.logout\"}}\n      </LinkTo>\n    </div>\n  </div>\n  \n  {{#if this.isAppListDialog}}\n    {{#if this.loadAvailableApps.isRunning}}\n      <UiModal @size=\"sm\" @onClose={{action \"closeAppList\"}} as |dialog|>\n        <dialog.content as |content|>\n          <content.body>\n            <div class=\"flex flex-column justify-center items-center h4\">\n              <UiLoading />\n            </div>\n          </content.body>\n        </dialog.content>\n      </UiModal>\n    {{else}}\n      <AppSelectionDialog\n        @availableApps={{this.addableApps}}\n        @activeApp={{this.activeApp}}\n        @addApp={{action \"addApp\"}}\n        @actionText={{t \"create.appSelection.choosePlan.createAction\"}}\n        @onClose={{action \"closeAppList\"}}\n      />\n    {{/if}}\n  {{/if}}\n  */\n  {\n    \"id\": \"dkcx0ZGo\",\n    \"block\": \"[[[10,0],[15,0,[29,[\\\"ui-app-selection absolute bottom-0 left-0 bg-white w-100\\\\n    \\\",[52,[30,0,[\\\"isOpen\\\"]],\\\"ui-app-selection--open\\\"]]]],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"ui-app-selection__bar flex items-center w-100 dn-md\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"ui-app-selection__add pl2 font-sm flex items-center flex-shrink-0\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"components.uiAppSelection.myApps\\\"],null]],[1,\\\"\\\\n      \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"dif items-center justify-center white\\\",[30,0,[\\\"isAddDisabled\\\"]],[28,[37,3],[[30,0],\\\"openAppList\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"plus\\\"],[[\\\"class\\\"],[\\\"white\\\"]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[11,0],[24,0,\\\"pr3 flex flex-grow-1 items-center cpointer\\\"],[24,\\\"role\\\",\\\"button\\\"],[4,[38,5],[\\\"click\\\",[28,[37,3],[[30,0],\\\"toggleOpen\\\"],null]],null],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"ui-app-selection__selected-container flex items-center flex-shrink-0\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"selectedApps\\\"]]],null]],null],null,[[[41,[30,1,[\\\"appKey\\\"]],[[[1,\\\"            \\\"],[1,[28,[35,4],[[30,1,[\\\"appKey\\\"]]],[[\\\"width\\\",\\\"class\\\"],[\\\"32\\\",\\\"h1 mr05\\\"]]]],[1,\\\"\\\\n\\\"]],[]],null]],[1]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"flex-grow-1\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"close font-sm primary pr2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"global.actions.close\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[1,[28,[35,4],[\\\"caret\\\"],[[\\\"class\\\"],[\\\"expand flex-shrink-0\\\"]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"ui-app-selection__header pa3 dn db-md\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[28,[37,8],[\\\"additive\\\"],null]],[14,\\\"alt\\\",\\\"additive\\\"],[12],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"ui-app-selection__content ph3\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"primary font-md pb2\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"components.uiAppSelection.intro\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"selectedApps\\\"]]],null]],null],null,[[[1,\\\"      \\\"],[8,[39,9],[[16,\\\"data-test-ui-app\\\",[30,3]]],[[\\\"@classNames\\\",\\\"@app\\\",\\\"@onRemove\\\"],[\\\"pv2\\\",[30,2],[28,[37,3],[[30,0],\\\"removeApp\\\",[30,2,[\\\"appId\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[2,3]],null],[41,[30,0,[\\\"addableApps\\\"]],[[[1,\\\"      \\\"],[8,[39,10],null,[[\\\"@classNames\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"pa2\\\",[30,0,[\\\"isAddDisabled\\\"]],[28,[37,3],[[30,0],\\\"openAppList\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"pr2\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"bg-secondary h-100 flex items-center justify-center pa1 br1 white\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,4],[\\\"plus\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"create.appSelection.addMoreApps\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"absolute bottom-0 w-100 flex items-center justify-between ph3 pv2\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex items-center ellipsis\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"user-image-container flex flex-shrink-0 items-center justify-center br-100\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"globalUser\\\",\\\"imagePath\\\"]],[[[1,\\\"          \\\"],[10,\\\"img\\\"],[14,0,\\\"mw-100\\\"],[15,\\\"src\\\",[30,0,[\\\"globalUser\\\",\\\"imagePath\\\"]]],[14,\\\"alt\\\",\\\"user avatar\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[1,[28,[35,4],[\\\"placeholder-user\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"font-sm primary ph2 ellipsis\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"globalUser\\\",\\\"fullName\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[8,[39,11],[[24,0,\\\"font-md font-medium red\\\"]],[[\\\"@route\\\"],[\\\"logout\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"global.actions.logout\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isAppListDialog\\\"]],[[[41,[30,0,[\\\"loadAvailableApps\\\",\\\"isRunning\\\"]],[[[1,\\\"    \\\"],[8,[39,12],null,[[\\\"@size\\\",\\\"@onClose\\\"],[\\\"sm\\\",[28,[37,3],[[30,0],\\\"closeAppList\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,5,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex flex-column justify-center items-center h4\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,13],null,null,null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"]],[5]]]]],[1,\\\"\\\\n    \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[8,[39,14],null,[[\\\"@availableApps\\\",\\\"@activeApp\\\",\\\"@addApp\\\",\\\"@actionText\\\",\\\"@onClose\\\"],[[30,0,[\\\"addableApps\\\"]],[30,0,[\\\"activeApp\\\"]],[28,[37,3],[[30,0],\\\"addApp\\\"],null],[28,[37,1],[\\\"create.appSelection.choosePlan.createAction\\\"],null],[28,[37,3],[[30,0],\\\"closeAppList\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],null]],[\\\"app\\\",\\\"app\\\",\\\"index\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"if\\\",\\\"t\\\",\\\"ui-button\\\",\\\"action\\\",\\\"svg-jar\\\",\\\"on\\\",\\\"each\\\",\\\"-track-array\\\",\\\"app-assets\\\",\\\"ui-app\\\",\\\"ui-item\\\",\\\"link-to\\\",\\\"ui-modal\\\",\\\"ui-loading\\\",\\\"app-selection-dialog\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/ui-app-selection.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/ui-app\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiIconButton\n    @class=\"absolute top-2 right-0\"\n    @icon=\"close\"\n    @isSecondary={{true}}\n    @onClick={{action this.onRemove}}\n  />\n  <div class=\"mr05\">\n    {{#if this.app.appKey}}\n      {{svg-jar this.app.appKey class=\"mw3 pr2 h3\"}}\n    {{/if}}\n  </div>\n  \n  <div class=\"ui-app__description flex flex-column\">\n    <div class=\"app-title font-lg primary\">\n      {{t (concat \"appNames.\" this.app.appId \".name\")}}\n    </div>\n    {{#if this.app.amount}}\n      <div class=\"app-price font-sm blue\">\n        {{ui-format-currency this.app.amount \"EUR\" \"de\" 0 0}}\n      </div>\n    {{/if}}\n    <div class=\"app-description font-sm secondary\">\n      {{t (concat \"appDetails.\" this.app.appId \".description\")}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"ztjjnDal\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[\\\"absolute top-2 right-0\\\",\\\"close\\\",true,[28,[37,1],[[30,0],[30,0,[\\\"onRemove\\\"]]],null]]],null],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"mr05\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"app\\\",\\\"appKey\\\"]],[[[1,\\\"    \\\"],[1,[28,[35,3],[[30,0,[\\\"app\\\",\\\"appKey\\\"]]],[[\\\"class\\\"],[\\\"mw3 pr2 h3\\\"]]]],[1,\\\"\\\\n\\\"]],[]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"ui-app__description flex flex-column\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"app-title font-lg primary\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,4],[[28,[37,5],[\\\"appNames.\\\",[30,0,[\\\"app\\\",\\\"appId\\\"]],\\\".name\\\"],null]],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"app\\\",\\\"amount\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"app-price font-sm blue\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,6],[[30,0,[\\\"app\\\",\\\"amount\\\"]],\\\"EUR\\\",\\\"de\\\",0,0],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"],[10,0],[14,0,\\\"app-description font-sm secondary\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,4],[[28,[37,5],[\\\"appDetails.\\\",[30,0,[\\\"app\\\",\\\"appId\\\"]],\\\".description\\\"],null]],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"ui-icon-button\\\",\\\"action\\\",\\\"if\\\",\\\"svg-jar\\\",\\\"t\\\",\\\"concat\\\",\\\"ui-format-currency\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/ui-app.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/ui-form\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{yield\n    (hash input=(component \"ui-input\" class=\"w-100\") select=(component \"ui-select\" class=\"w-100\"))\n    this.changeset\n  }}\n  */\n  {\n    \"id\": \"FnQQnv7L\",\n    \"block\": \"[[[18,1,[[28,[37,1],null,[[\\\"input\\\",\\\"select\\\"],[[50,\\\"ui-input\\\",0,null,[[\\\"class\\\"],[\\\"w-100\\\"]]],[50,\\\"ui-select\\\",0,null,[[\\\"class\\\"],[\\\"w-100\\\"]]]]]],[30,0,[\\\"changeset\\\"]]]]],[\\\"&default\\\"],false,[\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/ui-form.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/upgrade-plan-card\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"plan-card__description flex font-sm secondary pt2\">\n    {{t \"routes.apps.dialogs.upgradePlan.description\"}}\n  </div>\n  <div class=\"plan-card__features\">\n    <div class=\"bb b--black-10 w-100 mt2\"></div>\n    {{#each this.plan.features as |feature|}}\n      <div class=\"plan-card__feature flex font-sm pv2 items-center\">\n        <UiLoading @state=\"success\" @class=\"mh1\" />\n        {{feature}}\n      </div>\n      <div class=\"bb b--black-10\"></div>\n    {{/each}}\n  </div>\n  \n  <div\n    class=\"plan-card__actions flex flex-column flex-row-sm w-100 pt2 pb1 justify-between items-center\"\n  >\n    <span class=\"flex-grow-1\"></span>\n    <UiButton\n      @class=\"w-100 w-auto-sm\"\n      @label={{t\n        (if\n          this.isDowngrade\n          \"routes.apps.dialogs.downgradePlan.select\"\n          \"routes.apps.dialogs.upgradePlan.select\"\n        )\n      }}\n      @onClick={{action this.upgrade this.app.id this.plan.planId}}\n    />\n  </div>\n  */\n  {\n    \"id\": \"uVX4ylh7\",\n    \"block\": \"[[[10,0],[14,0,\\\"plan-card__description flex font-sm secondary pt2\\\"],[12],[1,\\\"\\\\n  \\\"],[1,[28,[35,0],[\\\"routes.apps.dialogs.upgradePlan.description\\\"],null]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[10,0],[14,0,\\\"plan-card__features\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"bb b--black-10 w-100 mt2\\\"],[12],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"plan\\\",\\\"features\\\"]]],null]],null],null,[[[1,\\\"    \\\"],[10,0],[14,0,\\\"plan-card__feature flex font-sm pv2 items-center\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,3],null,[[\\\"@state\\\",\\\"@class\\\"],[\\\"success\\\",\\\"mh1\\\"]],null],[1,\\\"\\\\n      \\\"],[1,[30,1]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"bb b--black-10\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[1]],null],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"plan-card__actions flex flex-column flex-row-sm w-100 pt2 pb1 justify-between items-center\\\"],[12],[1,\\\"\\\\n  \\\"],[10,1],[14,0,\\\"flex-grow-1\\\"],[12],[13],[1,\\\"\\\\n  \\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"w-100 w-auto-sm\\\",[28,[37,0],[[52,[30,0,[\\\"isDowngrade\\\"]],\\\"routes.apps.dialogs.downgradePlan.select\\\",\\\"routes.apps.dialogs.upgradePlan.select\\\"]],null],[28,[37,6],[[30,0],[30,0,[\\\"upgrade\\\"]],[30,0,[\\\"app\\\",\\\"id\\\"]],[30,0,[\\\"plan\\\",\\\"planId\\\"]]],null]]],null],[1,\\\"\\\\n\\\"],[13]],[\\\"feature\\\"],false,[\\\"t\\\",\\\"each\\\",\\\"-track-array\\\",\\\"ui-loading\\\",\\\"ui-button\\\",\\\"if\\\",\\\"action\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/upgrade-plan-card.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/upgrade-plan\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{#if this.isOpen}}\n    <UiModal\n      @title={{t\n        (if\n          this.isDowngradeDialog\n          \"routes.apps.dialogs.downgradePlan.title\"\n          \"routes.apps.dialogs.upgradePlan.title\"\n        )\n      }}\n      @subtitle={{t (concat \"appNames.\" this.app.id \".presentationName\")}}\n      @onClose={{action (mut this.isOpen) false}}\n      @size=\"md\"\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body @classNames=\"flex-grow-1\">\n          {{#if this.cards.length}}\n            <UiRoutableTabs @tabRoutes={{this.cards}} as |tabs|>\n              <tabs.header @class=\"justify-start\" as |header|>\n                {{#each this.cards as |plan index|}}\n                  <header.tab\n                    @class=\"ui-tab-item__link--underlined\"\n                    @tabName={{plan.name}}\n                    @isActive={{plan.isActive}}\n                    @onClick={{action \"openTab\" index}}\n                  />\n                {{/each}}\n              </tabs.header>\n  \n              <tabs.content @class=\"flex flex-column\">\n                <AnimatedContainer>\n                  <UpgradePlanCard\n                    @app={{this.app}}\n                    @plan={{this.activeTab}}\n                    @activePlan={{this.activePlan}}\n                    @upgrade={{action \"onUpgrade\"}}\n                    @isDowngrade={{this.isDowngradeDialog}}\n                  />\n                </AnimatedContainer>\n              </tabs.content>\n            </UiRoutableTabs>\n          {{else}}\n            <div class=\"pb3\">\n              {{t \"routes.apps.dialogs.upgradePlan.noPlans\"}}\n            </div>\n          {{/if}}\n        </content.body>\n      </dialog.content>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"3U/u3FGQ\",\n    \"block\": \"[[[41,[30,0,[\\\"isOpen\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@subtitle\\\",\\\"@onClose\\\",\\\"@size\\\"],[[28,[37,2],[[52,[30,0,[\\\"isDowngradeDialog\\\"]],\\\"routes.apps.dialogs.downgradePlan.title\\\",\\\"routes.apps.dialogs.upgradePlan.title\\\"]],null],[28,[37,2],[[28,[37,3],[\\\"appNames.\\\",[30,0,[\\\"app\\\",\\\"id\\\"]],\\\".presentationName\\\"],null]],null],[28,[37,4],[[30,0],[28,[37,5],[[30,0,[\\\"isOpen\\\"]]],null],false],null],\\\"md\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"body\\\"]],null,[[\\\"@classNames\\\"],[\\\"flex-grow-1\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"cards\\\",\\\"length\\\"]],[[[1,\\\"          \\\"],[8,[39,6],null,[[\\\"@tabRoutes\\\"],[[30,0,[\\\"cards\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,3,[\\\"header\\\"]],null,[[\\\"@class\\\"],[\\\"justify-start\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,8],[[28,[37,8],[[30,0,[\\\"cards\\\"]]],null]],null],null,[[[1,\\\"                \\\"],[8,[30,4,[\\\"tab\\\"]],null,[[\\\"@class\\\",\\\"@tabName\\\",\\\"@isActive\\\",\\\"@onClick\\\"],[\\\"ui-tab-item__link--underlined\\\",[30,5,[\\\"name\\\"]],[30,5,[\\\"isActive\\\"]],[28,[37,4],[[30,0],\\\"openTab\\\",[30,6]],null]]],null],[1,\\\"\\\\n\\\"]],[5,6]],null],[1,\\\"            \\\"]],[4]]]]],[1,\\\"\\\\n\\\\n            \\\"],[8,[30,3,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"flex flex-column\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[39,9],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[8,[39,10],null,[[\\\"@app\\\",\\\"@plan\\\",\\\"@activePlan\\\",\\\"@upgrade\\\",\\\"@isDowngrade\\\"],[[30,0,[\\\"app\\\"]],[30,0,[\\\"activeTab\\\"]],[30,0,[\\\"activePlan\\\"]],[28,[37,4],[[30,0],\\\"onUpgrade\\\"],null],[30,0,[\\\"isDowngradeDialog\\\"]]]],null],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[\\\"routes.apps.dialogs.upgradePlan.noPlans\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"dialog\\\",\\\"content\\\",\\\"tabs\\\",\\\"header\\\",\\\"plan\\\",\\\"index\\\"],false,[\\\"if\\\",\\\"ui-modal\\\",\\\"t\\\",\\\"concat\\\",\\\"action\\\",\\\"mut\\\",\\\"ui-routable-tabs\\\",\\\"each\\\",\\\"-track-array\\\",\\\"animated-container\\\",\\\"upgrade-plan-card\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/upgrade-plan.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/user-profile-view\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal @size=\"md\" @title={{this.user.fullName}} @onClose={{action \"onClose\"}} as |modal|>\n    <modal.header />\n    <modal.content as |content|>\n      <content.body>\n        <div class=\"flex flex-column\" data-test-profile-view>\n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"w-100\"\n              @label={{t \"global.attributes.email\"}}\n              @type=\"email\"\n              @value={{this.user.email}}\n              @isReadOnly={{true}}\n            />\n          </div>\n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"w-100\"\n              @label={{t \"global.attributes.givenName\"}}\n              @value={{this.userChangeset.givenName}}\n              @errorMessage={{get this.userChangeset.error.givenName \"validation\"}}\n              data-test-profile-view-givenname\n            />\n          </div>\n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"w-100\"\n              @label={{t \"global.attributes.familyName\"}}\n              @value={{this.userChangeset.familyName}}\n              @errorMessage={{get this.userChangeset.error.familyName \"validation\"}}\n              data-test-profile-view-familyname\n            />\n          </div>\n          <UiSelect\n            @label={{t \"global.attributes.language\"}}\n            @options={{this.languageOptions}}\n            @selected={{t (concat \"languageSelect.\" this.userChangeset.language)}}\n            @onChange={{action (mut this.userChangeset.language)}}\n            @errorMessage={{get this.userChangeset.error.language \"validation\"}}\n            as |option language|\n          >\n            <option.item @value={{language.value}}>\n              {{language.name}}\n            </option.item>\n          </UiSelect>\n          {{#if (or this.user.isAdditive this.user.isPartner)}}\n            <div class=\"flex flex-row gap3\">\n              <UiSelect\n                @class=\"w-100\"\n                @label={{t \"global.attributes.country\"}}\n                @valueKey=\"country_code\"\n                @objectKey=\"formattedOptionName\"\n                @placeholder={{t \"global.attributes.country\"}}\n                @selected={{get\n                  (find-by \"country_code\" this.userChangeset.phoneNumberCountry this.phonePrefixes)\n                  \"formattedOptionName\"\n                }}\n                @onChange={{action (mut this.userChangeset.phoneNumberCountry)}}\n                @isSearchable={{true}}\n                @useFullTextSearch={{true}}\n                @options={{this.phonePrefixes}}\n                @isTouched={{true}}\n                @errorMessage={{get this.userChangeset.error.phoneNumberCountry \"validation\"}}\n                as |option item|\n              >\n                <option.item @value={{item.country_code}}>\n                  {{item.formattedOptionName}}\n                </option.item>\n              </UiSelect>\n  \n              <UiInput\n                @class=\"w-100\"\n                @label={{concat (t \"global.attributes.phoneNumber\") \" (\" (t \"global.optional\") \")\"}}\n                @value={{this.userChangeset.phoneNumber}}\n                @errorMessage={{get this.userChangeset.error.phoneNumber \"validation\"}}\n              />\n            </div>\n            <div class=\"flex flex-row\">\n              <UiInput\n                @class=\"w-100\"\n                @label={{concat (t \"global.attributes.meetingLink\") \" (\" (t \"global.optional\") \")\"}}\n                @value={{this.userChangeset.meetingLink}}\n                @errorMessage={{get this.userChangeset.error.meetingLink \"validation\"}}\n              />\n            </div>\n          {{/if}}\n        </div>\n      </content.body>\n    </modal.content>\n    <modal.footer>\n      <UiButton\n        @label={{t \"global.actions.save\"}}\n        @onClick={{action this.onConfirm this.userChangeset}}\n        data-test-profile-view-confirm\n      />\n    </modal.footer>\n  </UiModal>\n  \n  <UiDiscardChanges @isOpen={{this.isDiscardChangesDialog}} @onDiscard={{action \"confirmDiscard\"}} />\n  */\n  {\n    \"id\": \"4eu9s8hU\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[30,0,[\\\"user\\\",\\\"fullName\\\"]],[28,[37,1],[[30,0],\\\"onClose\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex flex-column\\\"],[14,\\\"data-test-profile-view\\\",\\\"\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@isReadOnly\\\"],[\\\"w-100\\\",[28,[37,3],[\\\"global.attributes.email\\\"],null],\\\"email\\\",[30,0,[\\\"user\\\",\\\"email\\\"]],true]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,2],[[24,\\\"data-test-profile-view-givenname\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\"],[\\\"w-100\\\",[28,[37,3],[\\\"global.attributes.givenName\\\"],null],[30,0,[\\\"userChangeset\\\",\\\"givenName\\\"]],[28,[37,4],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"givenName\\\"]],\\\"validation\\\"],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,2],[[24,\\\"data-test-profile-view-familyname\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\"],[\\\"w-100\\\",[28,[37,3],[\\\"global.attributes.familyName\\\"],null],[30,0,[\\\"userChangeset\\\",\\\"familyName\\\"]],[28,[37,4],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"familyName\\\"]],\\\"validation\\\"],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[8,[39,5],null,[[\\\"@label\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@errorMessage\\\"],[[28,[37,3],[\\\"global.attributes.language\\\"],null],[30,0,[\\\"languageOptions\\\"]],[28,[37,3],[[28,[37,6],[\\\"languageSelect.\\\",[30,0,[\\\"userChangeset\\\",\\\"language\\\"]]],null]],null],[28,[37,1],[[30,0],[28,[37,7],[[30,0,[\\\"userChangeset\\\",\\\"language\\\"]]],null]],null],[28,[37,4],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"language\\\"]],\\\"validation\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,4,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[30,4,[\\\"name\\\"]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[3,4]]]]],[1,\\\"\\\\n\\\"],[41,[28,[37,9],[[30,0,[\\\"user\\\",\\\"isAdditive\\\"]],[30,0,[\\\"user\\\",\\\"isPartner\\\"]]],null],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex flex-row gap3\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,5],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@valueKey\\\",\\\"@objectKey\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isSearchable\\\",\\\"@useFullTextSearch\\\",\\\"@options\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[\\\"w-100\\\",[28,[37,3],[\\\"global.attributes.country\\\"],null],\\\"country_code\\\",\\\"formattedOptionName\\\",[28,[37,3],[\\\"global.attributes.country\\\"],null],[28,[37,4],[[28,[37,10],[\\\"country_code\\\",[30,0,[\\\"userChangeset\\\",\\\"phoneNumberCountry\\\"]],[30,0,[\\\"phonePrefixes\\\"]]],null],\\\"formattedOptionName\\\"],null],[28,[37,1],[[30,0],[28,[37,7],[[30,0,[\\\"userChangeset\\\",\\\"phoneNumberCountry\\\"]]],null]],null],true,true,[30,0,[\\\"phonePrefixes\\\"]],true,[28,[37,4],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"phoneNumberCountry\\\"]],\\\"validation\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,5,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,6,[\\\"country_code\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[1,[30,6,[\\\"formattedOptionName\\\"]]],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[5,6]]]]],[1,\\\"\\\\n\\\\n            \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\"],[\\\"w-100\\\",[28,[37,6],[[28,[37,3],[\\\"global.attributes.phoneNumber\\\"],null],\\\" (\\\",[28,[37,3],[\\\"global.optional\\\"],null],\\\")\\\"],null],[30,0,[\\\"userChangeset\\\",\\\"phoneNumber\\\"]],[28,[37,4],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"phoneNumber\\\"]],\\\"validation\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\"],[\\\"w-100\\\",[28,[37,6],[[28,[37,3],[\\\"global.attributes.meetingLink\\\"],null],\\\" (\\\",[28,[37,3],[\\\"global.optional\\\"],null],\\\")\\\"],null],[30,0,[\\\"userChangeset\\\",\\\"meetingLink\\\"]],[28,[37,4],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"meetingLink\\\"]],\\\"validation\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,11],[[24,\\\"data-test-profile-view-confirm\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,3],[\\\"global.actions.save\\\"],null],[28,[37,1],[[30,0],[30,0,[\\\"onConfirm\\\"]],[30,0,[\\\"userChangeset\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[8,[39,12],null,[[\\\"@isOpen\\\",\\\"@onDiscard\\\"],[[30,0,[\\\"isDiscardChangesDialog\\\"]],[28,[37,1],[[30,0],\\\"confirmDiscard\\\"],null]]],null]],[\\\"modal\\\",\\\"content\\\",\\\"option\\\",\\\"language\\\",\\\"option\\\",\\\"item\\\"],false,[\\\"ui-modal\\\",\\\"action\\\",\\\"ui-input\\\",\\\"t\\\",\\\"get\\\",\\\"ui-select\\\",\\\"concat\\\",\\\"mut\\\",\\\"if\\\",\\\"or\\\",\\\"find-by\\\",\\\"ui-button\\\",\\\"ui-discard-changes\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/user-profile-view.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/user-role-form\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiSelect\n    @class=\"w-100\"\n    @label={{t \"global.roles.title\"}}\n    @placeholder={{t \"global.roles.choose\"}}\n    @options={{this.globalUserRoles}}\n    @selected={{if this.user.role (t (concat \"global.roles.\" this.user.role \".title\"))}}\n    @onChange={{action (mut this.user.role)}}\n    @errorMessage={{get this.user.error.role \"validation\"}}\n    @isTouched={{this.isTouched}} as |option role|\n  >\n    <option.item @value={{role.value}}>\n      {{t (concat \"global.roles.\" role.value \".title\")}}\n    </option.item>\n  </UiSelect>\n  */\n  {\n    \"id\": \"GepnFwe1\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.roles.title\\\"],null],[28,[37,1],[\\\"global.roles.choose\\\"],null],[30,0,[\\\"globalUserRoles\\\"]],[52,[30,0,[\\\"user\\\",\\\"role\\\"]],[28,[37,1],[[28,[37,3],[\\\"global.roles.\\\",[30,0,[\\\"user\\\",\\\"role\\\"]],\\\".title\\\"],null]],null]],[28,[37,4],[[30,0],[28,[37,5],[[30,0,[\\\"user\\\",\\\"role\\\"]]],null]],null],[28,[37,6],[[30,0,[\\\"user\\\",\\\"error\\\",\\\"role\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isTouched\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,2,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[1,[28,[35,1],[[28,[37,3],[\\\"global.roles.\\\",[30,2,[\\\"value\\\"]],\\\".title\\\"],null]],null]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1,2]]]]]],[\\\"option\\\",\\\"role\\\"],false,[\\\"ui-select\\\",\\\"t\\\",\\\"if\\\",\\\"concat\\\",\\\"action\\\",\\\"mut\\\",\\\"get\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/user-role-form.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/components/user-role-selection\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiItemGroup @class=\"w-100\" @title={{t \"global.roles.title\"}} as |group|>\n    <group.item\n      @title={{t \"global.roles.title\"}}\n      @description={{t (concat \"global.roles.\" (first-existing this.role \"none\") \".title\")}}\n      @onClick={{pipe\n        (action (mut this.userRole) this.role)\n        (action (mut this.isRoleSelectDialog) true)\n      }}\n      @isDisabled={{this.isDisabled}}\n      as |item title description|\n    >\n      <item.intro @title={{title}} @description={{description}} />\n    </group.item>\n  </UiItemGroup>\n  \n  {{! App roles }}\n  {{#if (equal this.role \"custom\")}}\n    {{#if this.isLoadingApps}}\n      <div class=\"flex justify-center mt4 pv1\">\n        <UiLoading />\n      </div>\n    {{else}}\n      <AppRoleSelection\n        @availableApps={{this.availableApps}}\n        @appRoles={{this.userAppRoles}}\n        @appRolesProperty={{this.userAppRolesProperty}}\n        @globalUserRoles={{this.globalUserRoles}}\n        @user={{this.user}}\n        @role={{this.role}}\n      />\n    {{/if}}\n  {{else}}\n    {{#unless this.usePartnerProperties}}\n      <div class=\"description pv2 ph1 font-regular primary\">\n        {{t (concat \"global.roles.\" (first-existing this.role \"none\") \".description\")}}\n      </div>\n    {{/unless}}\n  {{/if}}\n  \n  {{#if this.isRoleSelectDialog}}\n    <UiModal\n      @title={{t \"global.roles.title\"}}\n      @size=\"sm\"\n      @onClose={{action (mut this.isRoleSelectDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          <UiSelect\n            @class=\"w-100\"\n            @label={{t \"global.roles.title\"}}\n            @initialValue={{first-existing this.role \"none\"}}\n            @options={{this.appRoles}}\n            @placeholder={{t \"global.roles.choose\"}}\n            @selected={{t\n              (concat \"global.roles.\" (first-existing this.userRole this.role \"none\") \".title\")\n            }}\n            @onChange={{action (mut this.userRole)}}\n            as |option role|\n          >\n            <option.item @value={{role.value}}>\n              {{t (concat \"global.roles.\" role.value \".title\")}}\n            </option.item>\n          </UiSelect>\n        </content.body>\n      </dialog.content>\n  \n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.save\"}}\n          @onClick={{perform this.setUserRole this.userRole}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"xp86CLxg\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@class\\\",\\\"@title\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.roles.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@onClick\\\",\\\"@isDisabled\\\"],[[28,[37,1],[\\\"global.roles.title\\\"],null],[28,[37,1],[[28,[37,2],[\\\"global.roles.\\\",[28,[37,3],[[30,0,[\\\"role\\\"]],\\\"none\\\"],null],\\\".title\\\"],null]],null],[28,[37,4],[[28,[37,5],[[30,0],[28,[37,6],[[30,0,[\\\"userRole\\\"]]],null],[30,0,[\\\"role\\\"]]],null],[28,[37,5],[[30,0],[28,[37,6],[[30,0,[\\\"isRoleSelectDialog\\\"]]],null],true],null]],null],[30,0,[\\\"isDisabled\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@description\\\"],[[30,3],[30,4]]],null],[1,\\\"\\\\n  \\\"]],[2,3,4]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,8],[[30,0,[\\\"role\\\"]],\\\"custom\\\"],null],[[[41,[30,0,[\\\"isLoadingApps\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex justify-center mt4 pv1\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,9],null,null,null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[8,[39,10],null,[[\\\"@availableApps\\\",\\\"@appRoles\\\",\\\"@appRolesProperty\\\",\\\"@globalUserRoles\\\",\\\"@user\\\",\\\"@role\\\"],[[30,0,[\\\"availableApps\\\"]],[30,0,[\\\"userAppRoles\\\"]],[30,0,[\\\"userAppRolesProperty\\\"]],[30,0,[\\\"globalUserRoles\\\"]],[30,0,[\\\"user\\\"]],[30,0,[\\\"role\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[41,[51,[30,0,[\\\"usePartnerProperties\\\"]]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"description pv2 ph1 font-regular primary\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[[28,[37,2],[\\\"global.roles.\\\",[28,[37,3],[[30,0,[\\\"role\\\"]],\\\"none\\\"],null],\\\".description\\\"],null]],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isRoleSelectDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@onClose\\\"],[[28,[37,1],[\\\"global.roles.title\\\"],null],\\\"sm\\\",[28,[37,5],[[30,0],[28,[37,6],[[30,0,[\\\"isRoleSelectDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,6,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,13],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@initialValue\\\",\\\"@options\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.roles.title\\\"],null],[28,[37,3],[[30,0,[\\\"role\\\"]],\\\"none\\\"],null],[30,0,[\\\"appRoles\\\"]],[28,[37,1],[\\\"global.roles.choose\\\"],null],[28,[37,1],[[28,[37,2],[\\\"global.roles.\\\",[28,[37,3],[[30,0,[\\\"userRole\\\"]],[30,0,[\\\"role\\\"]],\\\"none\\\"],null],\\\".title\\\"],null]],null],[28,[37,5],[[30,0],[28,[37,6],[[30,0,[\\\"userRole\\\"]]],null]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,8,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[[28,[37,2],[\\\"global.roles.\\\",[30,8,[\\\"value\\\"]],\\\".title\\\"],null]],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[7,8]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[6]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,5,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,14],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.save\\\"],null],[28,[37,15],[[30,0,[\\\"setUserRole\\\"]],[30,0,[\\\"userRole\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[5]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"group\\\",\\\"item\\\",\\\"title\\\",\\\"description\\\",\\\"dialog\\\",\\\"content\\\",\\\"option\\\",\\\"role\\\"],false,[\\\"ui-item-group\\\",\\\"t\\\",\\\"concat\\\",\\\"first-existing\\\",\\\"pipe\\\",\\\"action\\\",\\\"mut\\\",\\\"if\\\",\\\"equal\\\",\\\"ui-loading\\\",\\\"app-role-selection\\\",\\\"unless\\\",\\\"ui-modal\\\",\\\"ui-select\\\",\\\"ui-button\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/components/user-role-selection.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/confirm\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiFullscreenIllustration\n    @class=\"w-100\"\n    @illustration={{this.viewContent.illustration}}\n    @title={{this.viewContent.title}}\n    @description={{this.viewContent.description}}\n    @buttonRoute={{this.viewContent.buttonRoute}}\n    @actionLabel={{this.viewContent.actionLabel}}\n  >\n    {{#if this.viewContent.isPendingInvite}}\n      <UiButton @label={{this.viewContent.actionLabel}} @onClick={{action \"acceptInvitation\"}} />\n    {{else if this.viewContent.isWrongUser}}\n      <UiButton @label={{this.viewContent.actionLabel}} @onClick={{action \"logout\"}} />\n    {{/if}}\n  </UiFullscreenIllustration>\n  */\n  {\n    \"id\": \"Wr/4gOaj\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@class\\\",\\\"@illustration\\\",\\\"@title\\\",\\\"@description\\\",\\\"@buttonRoute\\\",\\\"@actionLabel\\\"],[\\\"w-100\\\",[30,0,[\\\"viewContent\\\",\\\"illustration\\\"]],[30,0,[\\\"viewContent\\\",\\\"title\\\"]],[30,0,[\\\"viewContent\\\",\\\"description\\\"]],[30,0,[\\\"viewContent\\\",\\\"buttonRoute\\\"]],[30,0,[\\\"viewContent\\\",\\\"actionLabel\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"viewContent\\\",\\\"isPendingInvite\\\"]],[[[1,\\\"    \\\"],[8,[39,2],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[30,0,[\\\"viewContent\\\",\\\"actionLabel\\\"]],[28,[37,3],[[30,0],\\\"acceptInvitation\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"viewContent\\\",\\\"isWrongUser\\\"]],[[[1,\\\"    \\\"],[8,[39,2],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[30,0,[\\\"viewContent\\\",\\\"actionLabel\\\"]],[28,[37,3],[[30,0],\\\"logout\\\"],null]]],null],[1,\\\"\\\\n  \\\"]],[]],null]],[]]]],[]]]]]],[],false,[\\\"ui-fullscreen-illustration\\\",\\\"if\\\",\\\"ui-button\\\",\\\"action\\\"]]\",\n    \"moduleName\": \"additive-account/templates/confirm.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  {{#if this.session.isAuthenticated}}\n    {{outlet}}\n  \n    <UiPusher\n      @channelName={{this.pusherChannelName}}\n      @event=\"Illuminate\\Notifications\\Events\\BroadcastNotificationCreated\"\n      @destinationElementSelector=\".views__footer\"\n      as |pusher|\n    >\n      {{#each pusher.data as |notification|}}\n        {{#unless notification.isClosed}}\n          <UiNotification\n            @title={{notification.title}}\n            @icon=\"people\"\n            @isFloating={{true}}\n            @onClose={{action (mut notification.isClosed) true}}\n          >\n            <div class=\"flex items-center\">\n              <UiButton\n                @class=\"mr1\"\n                @isSuccess={{true}}\n                @label={{get notification \"text.2.text.0\"}}\n                @href={{get notification \"text.2.text.1\"}}\n              />\n            </div>\n          </UiNotification>\n        {{/unless}}\n      {{/each}}\n    </UiPusher>\n  {{/if}}\n  */\n  {\n    \"id\": \"Q03CoHpg\",\n    \"block\": \"[[[41,[30,0,[\\\"session\\\",\\\"isAuthenticated\\\"]],[[[1,\\\"  \\\"],[46,[28,[37,2],null,null],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,3],null,[[\\\"@channelName\\\",\\\"@event\\\",\\\"@destinationElementSelector\\\"],[[30,0,[\\\"pusherChannelName\\\"]],\\\"Illuminate\\\\\\\\Notifications\\\\\\\\Events\\\\\\\\BroadcastNotificationCreated\\\",\\\".views__footer\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[30,1,[\\\"data\\\"]]],null]],null],null,[[[41,[51,[30,2,[\\\"isClosed\\\"]]],[[[1,\\\"        \\\"],[8,[39,7],null,[[\\\"@title\\\",\\\"@icon\\\",\\\"@isFloating\\\",\\\"@onClose\\\"],[[30,2,[\\\"title\\\"]],\\\"people\\\",true,[28,[37,8],[[30,0],[28,[37,9],[[30,2,[\\\"isClosed\\\"]]],null],true],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex items-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,10],null,[[\\\"@class\\\",\\\"@isSuccess\\\",\\\"@label\\\",\\\"@href\\\"],[\\\"mr1\\\",true,[28,[37,11],[[30,2],\\\"text.2.text.0\\\"],null],[28,[37,11],[[30,2],\\\"text.2.text.1\\\"],null]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[2]],null],[1,\\\"  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"pusher\\\",\\\"notification\\\"],false,[\\\"if\\\",\\\"component\\\",\\\"-outlet\\\",\\\"ui-pusher\\\",\\\"each\\\",\\\"-track-array\\\",\\\"unless\\\",\\\"ui-notification\\\",\\\"action\\\",\\\"mut\\\",\\\"ui-button\\\",\\\"get\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/create\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"auth-views h-100 create-view bg-primary justify-center flex-grow-1\">\n    <div class=\"create__intro ph2 pt3 pb1 ph0-sm\">\n      <div class=\"title font-xl white\">\n        {{t \"create.simpleNav.title\"}}\n      </div>\n      <div class=\"mt2 font-sm secondary dn db-sm\">\n        {{t \"create.simpleNav.subtitle\"}}\n      </div>\n    </div>\n  \n    <UiForm @changeset={{this.changeset}} as |form changeset|>\n      <SimpleNav @currentIndex={{this.currentNavIndex}} @class=\"pa05\" as |nav|>\n        <div class=\"breadcrumb-nav flex secondary pa2 ph0-sm\">\n          <nav.trigger @navIndex={{0}} @isDisabled={{this.createOrganizationTask.isRunning}}>\n            <div class=\"nav-trigger flex flex-row content-center items-center justify-center\">\n              <span class=\"mv1 mr1 font-md\">\n                {{t \"create.simpleNav.contactDetails.trigger\"}}\n              </span>\n            </div>\n          </nav.trigger>\n          <nav.trigger\n            @navIndex={{1}}\n            @validate={{action \"validate\"}}\n            @shouldValidate={{true}}\n            @isDisabled={{this.isOverviewDisabled}}\n          >\n            <div class=\"nav-trigger flex flex-row content-center items-center justify-center\">\n              {{svg-jar \"drop-up\" class=\"secondary rotate\"}}\n              <span class=\"ma1 font-md\">\n                {{t \"create.simpleNav.overview.trigger\"}}\n              </span>\n            </div>\n          </nav.trigger>\n        </div>\n  \n        <AaCard @classNames=\"organization-create\" as |card|>\n          <card.content @class=\"pt3 ph3 pb2 pt4-sm ph4-sm\">\n            {{#if (equal this.currentNavIndex 0)}}\n              <div class=\"flex flex-row flex-wrap\">\n                <form.input\n                  @label={{t \"global.attributes.orgName\"}}\n                  @value={{changeset.name}}\n                  @errorMessage={{if\n                    (get changeset.error.name \"validation\")\n                    (t \"global.errors.apiQueryErrors.validation.required\")\n                  }}\n                  @classNames=\"w-100 w-50-sm pr2-sm\"\n                  @isTouched={{this.isFormTouched}}\n                />\n                <form.input\n                  @label={{t \"global.attributes.website\"}}\n                  @value={{changeset.website}}\n                  @type=\"url\"\n                  @onChange={{action \"generateSlug\"}}\n                  @errorMessage={{if\n                    (get changeset.error.website \"validation\")\n                    (t \"global.errors.apiQueryErrors.validation.invalidFormat\")\n                  }}\n                  @isTouched={{this.isFormTouched}}\n                  @classNames=\"w-100 w-50-sm pl2-sm\"\n                />\n              </div>\n              <form.input\n                @label={{t \"global.attributes.slug\"}}\n                @value={{changeset.slug}}\n                @onChange={{perform this.validateSlug}}\n                @onFocus={{action (mut this.isSlugTouched) true}}\n                @state={{if this.validateSlug.isRunning \"loading\" this.slugState}}\n                @maxlength={{25}}\n                @errorMessage={{get changeset.error.slug \"validation\"}}\n                @isTouched={{this.isFormTouched}}\n              />\n              <div class=\"flex flex-row flex-wrap\">\n                <form.input\n                  @label={{t \"global.attributes.email\"}}\n                  @type=\"email\"\n                  @value={{changeset.email}}\n                  @errorMessage={{if\n                    (get changeset.error.email \"validation\")\n                    (t \"global.errors.apiQueryErrors.validation.email\")\n                  }}\n                  @classNames=\"w-100 w-50-sm pr2-sm\"\n                  @isTouched={{this.isFormTouched}}\n                />\n                <form.input\n                  @label={{t \"global.attributes.phoneNumber\"}}\n                  @type=\"tel\"\n                  @value={{changeset.phone}}\n                  @errorMessage={{get changeset.error.phone \"validation\"}}\n                  @classNames=\"w-100 w-50-sm pl2-sm\"\n                />\n              </div>\n              <div class=\"flex flex-row flex-wrap\">\n                <form.select\n                  @classNames=\"w-100 w-50-sm pr2-sm\"\n                  @label={{t \"global.attributes.timeZone\"}}\n                  @placeholder={{t \"global.attributes.timeZone\"}}\n                  @selected={{changeset.timeZone}}\n                  @onChange={{action (mut changeset.timeZone)}}\n                  @options={{this._timeZoneOptions}}\n                  @isSearchable={{true}}\n                  @isTouched={{this.isFormTouched}}\n                  @errorMessage={{get changeset.error.timeZone \"validation\"}}\n                  as |option timeZone|\n                >\n                  <option.item @value={{timeZone.value}}>\n                    {{timeZone.name}}\n                  </option.item>\n                </form.select>\n              </div>\n              <div class=\"flex flex-row items-center mt1 pb3\">\n                <UiSwitch\n                  @class=\"ma0 mr1\"\n                  @value={{changeset.isPartner}}\n                  @onChange={{action \"setAsPartner\"}}\n                  @bubbles={{false}}\n                />\n                <div class=\"ml05 font-md font-medium {{if changeset.isPartner 'blue' 'secondary'}}\">\n                  {{t \"create.isCooperationPartner\"}}\n                </div>\n              </div>\n  \n              {{#unless changeset.isPartner}}\n                <form.select\n                  @classNames=\"w-100 w-50-sm pr2-sm\"\n                  @label={{t \"global.attributes.partner\"}}\n                  @options={{this.partnerOptions}}\n                  @placeholder=\"ADDITIVE\"\n                  @valueKey=\"id\"\n                  @selected={{get\n                    (array-find this.changeset.partnerId this.partnerOptions \"id\")\n                    \"name\"\n                  }}\n                  @onChange={{action \"setPartner\"}}\n                  @isSearchable={{true}}\n                  @isClearable={{true}}\n                  as |option item|\n                >\n                  <option.item @value={{item.id}}>\n                    {{item.name}}\n                  </option.item>\n                </form.select>\n              {{/unless}}\n            {{else}}\n              {{#if (equal this.currentNavIndex 1)}}\n                <div class=\"flex flex-column flex-row-sm\">\n                  <div class=\"container w-100 w-50-sm\">\n                    <div class=\"title font-lg pb2\">\n                      {{t \"global.attributes.orgData\"}}\n                    </div>\n                    <table class=\"w-100\">\n                      <tbody>\n                        <tr>\n                          <td class=\"font-sm secondary\">\n                            {{t \"global.attributes.orgName\"}}\n                          </td>\n                          <td class=\"font-md primary\">\n                            {{changeset.name}}\n                          </td>\n                        </tr>\n                        <tr>\n                          <td class=\"font-sm secondary\">\n                            {{t \"global.attributes.slug\"}}\n                          </td>\n                          <td class=\"font-md primary\">\n                            {{changeset.slug}}\n                          </td>\n                        </tr>\n                        <tr>\n                          <td class=\"font-sm secondary\">\n                            {{t \"global.attributes.website\"}}\n                          </td>\n                          <td class=\"font-md primary\">\n                            {{changeset.website}}\n                          </td>\n                        </tr>\n                        <tr>\n                          <td class=\"font-sm secondary\">\n                            {{t \"global.attributes.email\"}}\n                          </td>\n                          <td class=\"font-md primary\">\n                            {{changeset.email}}\n                          </td>\n                        </tr>\n                        {{#if changeset.phone}}\n                          <tr>\n                            <td class=\"font-sm secondary\">\n                              {{t \"global.attributes.phoneNumber\"}}\n                            </td>\n                            <td class=\"font-md primary\">\n                              {{changeset.phone}}\n                            </td>\n                          </tr>\n                        {{/if}}\n                        {{#unless changeset.isPartner}}\n                          <tr>\n                            <td class=\"font-sm secondary\">\n                              {{t \"global.attributes.partner\"}}\n                            </td>\n                            <td class=\"font-md primary\">\n                              {{#if changeset.partnerId}}\n                                {{get\n                                  (array-find changeset.partnerId this.partnerOptions \"id\")\n                                  \"name\"\n                                }}\n                              {{else}}\n                                ADDITIVE\n                              {{/if}}\n                            </td>\n                          </tr>\n                        {{/unless}}\n                      </tbody>\n                    </table>\n                  </div>\n                  <div class=\"container w-100 w-50-sm pv3 pv0-sm\">\n                    <div class=\"title font-lg font-regular pb2\">\n                      {{t \"create.simpleNav.overview.apps.title\" count=changeset.appPlans.length}}\n                    </div>\n                    <div class=\"app-list w-100\">\n                      {{#each changeset.appPlans as |app|}}\n                        <div class=\"app-overview w-100 flex\">\n                          {{#if app.appKey}}\n                            {{svg-jar app.appKey class=\"h2 ma05\"}}\n                          {{/if}}\n                          <div class=\"content flex-grow-1 font-sm\">\n                            <div class=\"font-lg primary\">\n                              {{t (concat \"appNames.\" app.appId \".name\")}}\n                            </div>\n                            <div class=\"font-sm blue\">\n                              {{t (concat \"appDetails.\" app.appId \".plans.\" app.planName \".title\")}}\n                            </div>\n                          </div>\n                        </div>\n                      {{/each}}\n                    </div>\n                  </div>\n                </div>\n              {{/if}}\n            {{/if}}\n          </card.content>\n  \n          <div class=\"nav-actions flex justify-between ph3 pb3 ph4-sm pb4-sm\">\n            {{#unless (equal this.currentNavIndex 0)}}\n              <UiButton\n                @label={{t \"create.actions.back\"}}\n                @isDisabled={{this.createOrganizationTask.isRunning}}\n                @onClick={{action \"nextPage\" (dec this.currentNavIndex)}}\n              />\n            {{/unless}}\n            <span class=\"flex\"></span>\n            <UiButton\n              @label={{if\n                (equal this.currentNavIndex 1)\n                (t \"create.actions.confirmLastStep\")\n                (t \"create.actions.goToOverview\")\n              }}\n              @onClick={{if\n                (equal this.currentNavIndex 1)\n                (action \"createOrganisation\")\n                (pipe-action (action \"validate\") (action \"nextPage\" (inc this.currentNavIndex)))\n              }}\n            />\n          </div>\n        </AaCard>\n      </SimpleNav>\n    </UiForm>\n  </div>\n  \n  <UiAppSelection\n    @addApp={{action \"addApp\"}}\n    @removeApp={{action \"removeApp\"}}\n    @activeApp={{this.preSelectedApp}}\n    @selectedApps={{this.changeset.appPlans}}\n    @isAppListDialog={{this.isAppSelectionOpen}}\n    @isAddDisabled={{this.createOrganizationTask.isRunning}}\n  />\n  \n  {{outlet}}\n  */\n  {\n    \"id\": \"QUtgZr/T\",\n    \"block\": \"[[[10,0],[14,0,\\\"auth-views h-100 create-view bg-primary justify-center flex-grow-1\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"create__intro ph2 pt3 pb1 ph0-sm\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"title font-xl white\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,0],[\\\"create.simpleNav.title\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"mt2 font-sm secondary dn db-sm\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,0],[\\\"create.simpleNav.subtitle\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,1],null,[[\\\"@changeset\\\"],[[30,0,[\\\"changeset\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@currentIndex\\\",\\\"@class\\\"],[[30,0,[\\\"currentNavIndex\\\"]],\\\"pa05\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"breadcrumb-nav flex secondary pa2 ph0-sm\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"trigger\\\"]],null,[[\\\"@navIndex\\\",\\\"@isDisabled\\\"],[0,[30,0,[\\\"createOrganizationTask\\\",\\\"isRunning\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"nav-trigger flex flex-row content-center items-center justify-center\\\"],[12],[1,\\\"\\\\n            \\\"],[10,1],[14,0,\\\"mv1 mr1 font-md\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,0],[\\\"create.simpleNav.contactDetails.trigger\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"trigger\\\"]],null,[[\\\"@navIndex\\\",\\\"@validate\\\",\\\"@shouldValidate\\\",\\\"@isDisabled\\\"],[1,[28,[37,3],[[30,0],\\\"validate\\\"],null],true,[30,0,[\\\"isOverviewDisabled\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"nav-trigger flex flex-row content-center items-center justify-center\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,4],[\\\"drop-up\\\"],[[\\\"class\\\"],[\\\"secondary rotate\\\"]]]],[1,\\\"\\\\n            \\\"],[10,1],[14,0,\\\"ma1 font-md\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,0],[\\\"create.simpleNav.overview.trigger\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,5],null,[[\\\"@classNames\\\"],[\\\"organization-create\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,4,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"pt3 ph3 pb2 pt4-sm ph4-sm\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,7],[[30,0,[\\\"currentNavIndex\\\"]],0],null],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"flex flex-row flex-wrap\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@classNames\\\",\\\"@isTouched\\\"],[[28,[37,0],[\\\"global.attributes.orgName\\\"],null],[30,2,[\\\"name\\\"]],[52,[28,[37,8],[[30,2,[\\\"error\\\",\\\"name\\\"]],\\\"validation\\\"],null],[28,[37,0],[\\\"global.errors.apiQueryErrors.validation.required\\\"],null]],\\\"w-100 w-50-sm pr2-sm\\\",[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n              \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@type\\\",\\\"@onChange\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\",\\\"@classNames\\\"],[[28,[37,0],[\\\"global.attributes.website\\\"],null],[30,2,[\\\"website\\\"]],\\\"url\\\",[28,[37,3],[[30,0],\\\"generateSlug\\\"],null],[52,[28,[37,8],[[30,2,[\\\"error\\\",\\\"website\\\"]],\\\"validation\\\"],null],[28,[37,0],[\\\"global.errors.apiQueryErrors.validation.invalidFormat\\\"],null]],[30,0,[\\\"isFormTouched\\\"]],\\\"w-100 w-50-sm pl2-sm\\\"]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@onChange\\\",\\\"@onFocus\\\",\\\"@state\\\",\\\"@maxlength\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[[28,[37,0],[\\\"global.attributes.slug\\\"],null],[30,2,[\\\"slug\\\"]],[28,[37,9],[[30,0,[\\\"validateSlug\\\"]]],null],[28,[37,3],[[30,0],[28,[37,10],[[30,0,[\\\"isSlugTouched\\\"]]],null],true],null],[52,[30,0,[\\\"validateSlug\\\",\\\"isRunning\\\"]],\\\"loading\\\",[30,0,[\\\"slugState\\\"]]],25,[28,[37,8],[[30,2,[\\\"error\\\",\\\"slug\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-row flex-wrap\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@classNames\\\",\\\"@isTouched\\\"],[[28,[37,0],[\\\"global.attributes.email\\\"],null],\\\"email\\\",[30,2,[\\\"email\\\"]],[52,[28,[37,8],[[30,2,[\\\"error\\\",\\\"email\\\"]],\\\"validation\\\"],null],[28,[37,0],[\\\"global.errors.apiQueryErrors.validation.email\\\"],null]],\\\"w-100 w-50-sm pr2-sm\\\",[30,0,[\\\"isFormTouched\\\"]]]],null],[1,\\\"\\\\n              \\\"],[8,[30,1,[\\\"input\\\"]],null,[[\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@classNames\\\"],[[28,[37,0],[\\\"global.attributes.phoneNumber\\\"],null],\\\"tel\\\",[30,2,[\\\"phone\\\"]],[28,[37,8],[[30,2,[\\\"error\\\",\\\"phone\\\"]],\\\"validation\\\"],null],\\\"w-100 w-50-sm pl2-sm\\\"]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-row flex-wrap\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[30,1,[\\\"select\\\"]],null,[[\\\"@classNames\\\",\\\"@label\\\",\\\"@placeholder\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@options\\\",\\\"@isSearchable\\\",\\\"@isTouched\\\",\\\"@errorMessage\\\"],[\\\"w-100 w-50-sm pr2-sm\\\",[28,[37,0],[\\\"global.attributes.timeZone\\\"],null],[28,[37,0],[\\\"global.attributes.timeZone\\\"],null],[30,2,[\\\"timeZone\\\"]],[28,[37,3],[[30,0],[28,[37,10],[[30,2,[\\\"timeZone\\\"]]],null]],null],[30,0,[\\\"_timeZoneOptions\\\"]],true,[30,0,[\\\"isFormTouched\\\"]],[28,[37,8],[[30,2,[\\\"error\\\",\\\"timeZone\\\"]],\\\"validation\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[8,[30,5,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,6,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                  \\\"],[1,[30,6,[\\\"name\\\"]]],[1,\\\"\\\\n                \\\"]],[]]]]],[1,\\\"\\\\n              \\\"]],[5,6]]]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-row items-center mt1 pb3\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@value\\\",\\\"@onChange\\\",\\\"@bubbles\\\"],[\\\"ma0 mr1\\\",[30,2,[\\\"isPartner\\\"]],[28,[37,3],[[30,0],\\\"setAsPartner\\\"],null],false]],null],[1,\\\"\\\\n              \\\"],[10,0],[15,0,[29,[\\\"ml05 font-md font-medium \\\",[52,[30,2,[\\\"isPartner\\\"]],\\\"blue\\\",\\\"secondary\\\"]]]],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,0],[\\\"create.isCooperationPartner\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,2,[\\\"isPartner\\\"]]],[[[1,\\\"              \\\"],[8,[30,1,[\\\"select\\\"]],null,[[\\\"@classNames\\\",\\\"@label\\\",\\\"@options\\\",\\\"@placeholder\\\",\\\"@valueKey\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isSearchable\\\",\\\"@isClearable\\\"],[\\\"w-100 w-50-sm pr2-sm\\\",[28,[37,0],[\\\"global.attributes.partner\\\"],null],[30,0,[\\\"partnerOptions\\\"]],\\\"ADDITIVE\\\",\\\"id\\\",[28,[37,8],[[28,[37,13],[[30,0,[\\\"changeset\\\",\\\"partnerId\\\"]],[30,0,[\\\"partnerOptions\\\"]],\\\"id\\\"],null],\\\"name\\\"],null],[28,[37,3],[[30,0],\\\"setPartner\\\"],null],true,true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                  \\\"],[1,[30,8,[\\\"name\\\"]]],[1,\\\"\\\\n                \\\"]],[]]]]],[1,\\\"\\\\n              \\\"]],[7,8]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]],[[[41,[28,[37,7],[[30,0,[\\\"currentNavIndex\\\"]],1],null],[[[1,\\\"              \\\"],[10,0],[14,0,\\\"flex flex-column flex-row-sm\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"container w-100 w-50-sm\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"title font-lg pb2\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,0],[\\\"global.attributes.orgData\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                  \\\"],[10,\\\"table\\\"],[14,0,\\\"w-100\\\"],[12],[1,\\\"\\\\n                    \\\"],[10,\\\"tbody\\\"],[12],[1,\\\"\\\\n                      \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[28,[35,0],[\\\"global.attributes.orgName\\\"],null]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-md primary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[30,2,[\\\"name\\\"]]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                      \\\"],[13],[1,\\\"\\\\n                      \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[28,[35,0],[\\\"global.attributes.slug\\\"],null]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-md primary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[30,2,[\\\"slug\\\"]]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                      \\\"],[13],[1,\\\"\\\\n                      \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[28,[35,0],[\\\"global.attributes.website\\\"],null]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-md primary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[30,2,[\\\"website\\\"]]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                      \\\"],[13],[1,\\\"\\\\n                      \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[28,[35,0],[\\\"global.attributes.email\\\"],null]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                        \\\"],[10,\\\"td\\\"],[14,0,\\\"font-md primary\\\"],[12],[1,\\\"\\\\n                          \\\"],[1,[30,2,[\\\"email\\\"]]],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                      \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"phone\\\"]],[[[1,\\\"                        \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                          \\\"],[10,\\\"td\\\"],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                            \\\"],[1,[28,[35,0],[\\\"global.attributes.phoneNumber\\\"],null]],[1,\\\"\\\\n                          \\\"],[13],[1,\\\"\\\\n                          \\\"],[10,\\\"td\\\"],[14,0,\\\"font-md primary\\\"],[12],[1,\\\"\\\\n                            \\\"],[1,[30,2,[\\\"phone\\\"]]],[1,\\\"\\\\n                          \\\"],[13],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[51,[30,2,[\\\"isPartner\\\"]]],[[[1,\\\"                        \\\"],[10,\\\"tr\\\"],[12],[1,\\\"\\\\n                          \\\"],[10,\\\"td\\\"],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                            \\\"],[1,[28,[35,0],[\\\"global.attributes.partner\\\"],null]],[1,\\\"\\\\n                          \\\"],[13],[1,\\\"\\\\n                          \\\"],[10,\\\"td\\\"],[14,0,\\\"font-md primary\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"partnerId\\\"]],[[[1,\\\"                              \\\"],[1,[28,[35,8],[[28,[37,13],[[30,2,[\\\"partnerId\\\"]],[30,0,[\\\"partnerOptions\\\"]],\\\"id\\\"],null],\\\"name\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                              ADDITIVE\\\\n\\\"]],[]]],[1,\\\"                          \\\"],[13],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"                    \\\"],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"container w-100 w-50-sm pv3 pv0-sm\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"title font-lg font-regular pb2\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,0],[\\\"create.simpleNav.overview.apps.title\\\"],[[\\\"count\\\"],[[30,2,[\\\"appPlans\\\",\\\"length\\\"]]]]]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"app-list w-100\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,15],[[28,[37,15],[[30,2,[\\\"appPlans\\\"]]],null]],null],null,[[[1,\\\"                      \\\"],[10,0],[14,0,\\\"app-overview w-100 flex\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,9,[\\\"appKey\\\"]],[[[1,\\\"                          \\\"],[1,[28,[35,4],[[30,9,[\\\"appKey\\\"]]],[[\\\"class\\\"],[\\\"h2 ma05\\\"]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"                        \\\"],[10,0],[14,0,\\\"content flex-grow-1 font-sm\\\"],[12],[1,\\\"\\\\n                          \\\"],[10,0],[14,0,\\\"font-lg primary\\\"],[12],[1,\\\"\\\\n                            \\\"],[1,[28,[35,0],[[28,[37,16],[\\\"appNames.\\\",[30,9,[\\\"appId\\\"]],\\\".name\\\"],null]],null]],[1,\\\"\\\\n                          \\\"],[13],[1,\\\"\\\\n                          \\\"],[10,0],[14,0,\\\"font-sm blue\\\"],[12],[1,\\\"\\\\n                            \\\"],[1,[28,[35,0],[[28,[37,16],[\\\"appDetails.\\\",[30,9,[\\\"appId\\\"]],\\\".plans.\\\",[30,9,[\\\"planName\\\"]],\\\".title\\\"],null]],null]],[1,\\\"\\\\n                          \\\"],[13],[1,\\\"\\\\n                        \\\"],[13],[1,\\\"\\\\n                      \\\"],[13],[1,\\\"\\\\n\\\"]],[9]],null],[1,\\\"                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"        \\\"]],[]]]]],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"nav-actions flex justify-between ph3 pb3 ph4-sm pb4-sm\\\"],[12],[1,\\\"\\\\n\\\"],[41,[51,[28,[37,7],[[30,0,[\\\"currentNavIndex\\\"]],0],null]],[[[1,\\\"            \\\"],[8,[39,17],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,0],[\\\"create.actions.back\\\"],null],[30,0,[\\\"createOrganizationTask\\\",\\\"isRunning\\\"]],[28,[37,3],[[30,0],\\\"nextPage\\\",[28,[37,18],[[30,0,[\\\"currentNavIndex\\\"]]],null]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[10,1],[14,0,\\\"flex\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[8,[39,17],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[52,[28,[37,7],[[30,0,[\\\"currentNavIndex\\\"]],1],null],[28,[37,0],[\\\"create.actions.confirmLastStep\\\"],null],[28,[37,0],[\\\"create.actions.goToOverview\\\"],null]],[52,[28,[37,7],[[30,0,[\\\"currentNavIndex\\\"]],1],null],[28,[37,3],[[30,0],\\\"createOrganisation\\\"],null],[28,[37,19],[[28,[37,3],[[30,0],\\\"validate\\\"],null],[28,[37,3],[[30,0],\\\"nextPage\\\",[28,[37,20],[[30,0,[\\\"currentNavIndex\\\"]]],null]],null]],null]]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[4]]]]],[1,\\\"\\\\n    \\\"]],[3]]]]],[1,\\\"\\\\n  \\\"]],[1,2]]]]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,21],null,[[\\\"@addApp\\\",\\\"@removeApp\\\",\\\"@activeApp\\\",\\\"@selectedApps\\\",\\\"@isAppListDialog\\\",\\\"@isAddDisabled\\\"],[[28,[37,3],[[30,0],\\\"addApp\\\"],null],[28,[37,3],[[30,0],\\\"removeApp\\\"],null],[30,0,[\\\"preSelectedApp\\\"]],[30,0,[\\\"changeset\\\",\\\"appPlans\\\"]],[30,0,[\\\"isAppSelectionOpen\\\"]],[30,0,[\\\"createOrganizationTask\\\",\\\"isRunning\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,23],null,null],null,null,null]],[\\\"form\\\",\\\"changeset\\\",\\\"nav\\\",\\\"card\\\",\\\"option\\\",\\\"timeZone\\\",\\\"option\\\",\\\"item\\\",\\\"app\\\"],false,[\\\"t\\\",\\\"ui-form\\\",\\\"simple-nav\\\",\\\"action\\\",\\\"svg-jar\\\",\\\"aa-card\\\",\\\"if\\\",\\\"equal\\\",\\\"get\\\",\\\"perform\\\",\\\"mut\\\",\\\"ui-switch\\\",\\\"unless\\\",\\\"array-find\\\",\\\"each\\\",\\\"-track-array\\\",\\\"concat\\\",\\\"ui-button\\\",\\\"dec\\\",\\\"pipe-action\\\",\\\"inc\\\",\\\"ui-app-selection\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/create.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{outlet}}\n  \n  {{#if this.showOnboarding}}\n    <UiOnboarding\n      @activeOnboarding={{this.onboarding}}\n      @onboarding={{this.onboardingOptions}}\n      @onFinish={{this.finishOnboarding}}\n    />\n  {{/if}}\n  */\n  {\n    \"id\": \"IJpFuC4z\",\n    \"block\": \"[[[46,[28,[37,1],null,null],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"showOnboarding\\\"]],[[[1,\\\"  \\\"],[8,[39,3],null,[[\\\"@activeOnboarding\\\",\\\"@onboarding\\\",\\\"@onFinish\\\"],[[30,0,[\\\"onboarding\\\"]],[30,0,[\\\"onboardingOptions\\\"]],[30,0,[\\\"finishOnboarding\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[],false,[\\\"component\\\",\\\"-outlet\\\",\\\"if\\\",\\\"ui-onboarding\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/apps\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiContentViews @title={{t \"routes.apps.title\"}} @theme=\"grey\" as |view|>\n    <view.navbar />\n    <view.intro @title={{t \"routes.apps.title\"}} @size=\"xl\" @isMultiline={{true}} />\n    <view.content>\n      <AppsList\n        @class=\"w-100\"\n        @apps={{this.filteredApps}}\n        @availableApps={{this.availableApps}}\n        @toastDuration={{this.toastDuration}}\n        @toggleDetail={{action \"toggleDetail\"}}\n        @toggleModules={{action \"toggleModules\"}}\n      />\n    </view.content>\n    <view.footer @classNames=\"flex flex-column items-end views__footer w-100\">\n      {{#if this.addableApps}}\n        <UiButton\n          @class=\"absolute bottom-3 right-3\"\n          @icon=\"plus\"\n          @isFabButton={{true}}\n          @onClick={{action (mut this.isAppListDialog) true}}\n        />\n      {{/if}}\n    </view.footer>\n  </UiContentViews>\n  {{#if this.isAppListDialog}}\n    <AppSelectionDialog\n      @hasOrganization={{true}}\n      @availableApps={{this.addableApps}}\n      @actionText={{t \"create.appSelection.choosePlan.createAction\"}}\n      @addApp={{action \"addApp\"}}\n      @onClose={{action (mut this.isAppListDialog) false}}\n    />\n  {{/if}}\n  \n  <UiNavigationDrawer\n    @navDrawerStateKey={{this.rightSidenavKey}}\n    @isRight={{true}}\n    @isPermanent={{false}}\n    as |navDrawer|\n  >\n    <navDrawer.navbar @onClose={{action \"toggleDetail\"}} />\n  \n    <navDrawer.content>\n      <div class=\"font-lg w-100\">\n        {{t (concat \"appNames.\" this.currentApp.id \".name\")}}\n      </div>\n      <div class=\"flex-column flex-grow-1 pv3 font-sm\">\n        <div class=\"flex justify-between pv05\">\n          <div class=\"secondary\">\n            {{t \"global.attributes.name\"}}\n          </div>\n          <div class=\"primary\">\n            {{t (concat \"appNames.\" this.currentApp.id \".name\")}}\n          </div>\n        </div>\n        <div class=\"flex justify-between pv05\">\n          <div class=\"secondary\">\n            {{t \"global.attributes.plan\"}}\n          </div>\n          <div class=\"primary\">\n            {{if\n              this.currentApp.planName\n              (t\n                (concat \"appDetails.\" this.currentApp.id \".plans.\" this.currentApp.planName \".title\")\n              )\n              (t (concat \"appDetails.plans.defaultPlan\"))\n            }}\n          </div>\n        </div>\n        <div class=\"flex justify-between pv05\">\n          <div class=\"secondary\">\n            {{t \"global.attributes.state\"}}\n          </div>\n          {{#if this.currentApp.active}}\n            {{#if this.currentApp.isTrial}}\n              <div class=\"yellow\">\n                {{t \"routes.apps.detail.states.trialPeriod\"}}\n              </div>\n            {{else}}\n              <div class=\"green\">\n                {{t \"routes.apps.detail.states.active\"}}\n              </div>\n            {{/if}}\n          {{else}}\n            <div class=\"red\">\n              {{t \"routes.apps.detail.states.inactive\"}}\n            </div>\n          {{/if}}\n        </div>\n        {{#if this.currentApp.trialEndsAt}}\n          <div class=\"flex justify-between pv05\">\n            <div class=\"secondary\">\n              {{#if this.currentApp.isTrial}}\n                {{t \"routes.apps.detail.subscription.trialEndsAt\"}}\n              {{else}}\n                {{t \"routes.apps.detail.subscription.activatedAt\"}}\n              {{/if}}\n            </div>\n            <div class=\"primary\">\n              {{format-date this.currentApp.trialEndsAt}}\n            </div>\n          </div>\n        {{/if}}\n        {{#unless this.currentApp.isTrial}}\n          <div class=\"flex justify-between pv05\">\n            <div class=\"secondary\">\n              {{t \"routes.apps.detail.createdAt\"}}\n            </div>\n            <div class=\"primary\">\n              {{format-date this.currentApp.createdAt}}\n            </div>\n          </div>\n          <div class=\"flex justify-between pv05\">\n            <div class=\"secondary\">\n              {{t \"routes.apps.detail.updatedAt\"}}\n            </div>\n            <div class=\"primary\">\n              {{format-date this.currentApp.updatedAt}}\n            </div>\n          </div>\n        {{/unless}}\n        {{#if this.currentApp.hasModules}}\n          <div class=\"mv3 mt1 bb b--black-10\"></div>\n          <div class=\"w-50 pb1 secondary\">\n            {{t \"routes.apps.modules\"}}\n          </div>\n          {{#each this.currentApp.modules as |module|}}\n            <div class=\"pb1\">\n              {{module.name}}\n            </div>\n          {{/each}}\n          {{#if this.globalUser.isAdditive}}\n            <div class=\"flex pv05\">\n              <div class=\"secondary\">\n                <UiButton\n                  @label={{t \"routes.apps.actions.selectModules\"}}\n                  @onClick={{fn (mut this.isModulesDialogOpen) true}}\n                  @isPromise={{true}}\n                />\n              </div>\n            </div>\n          {{/if}}\n        {{/if}}\n        <div class=\"mv3 mt1 bb b--black-10\"></div>\n        {{#if this.currentApp.managed}}\n          <UiStatusBadge @class=\"mv2 ph2 pv2\" @size=\"sm\" @state=\"info\">\n            {{t \"routes.apps.detail.managedDetail.title\" org=this.managedByOrganisation}}\n          </UiStatusBadge>\n          <div class=\"flex flex-wrap secondary pb2\">\n            {{t (concat \"routes.apps.detail.managedDetail.description.\" this.currentApp.id)}}\n          </div>\n          <div class=\"mb3 mt1 bb b--black-10\"></div>\n        {{/if}}\n        {{#if this.currentApp.token}}\n          <div class=\"flex justify-between items-center pb05\">\n            <div class=\"w-50 secondary\">\n              {{t \"routes.apps.detail.token.title\"}}\n            </div>\n            <UiIconButton\n              @icon=\"clipboard\"\n              @isTertiary={{true}}\n              @onClick={{action \"copyToClipboard\" this.currentApp.token}}\n            />\n          </div>\n          <div class=\"flex flex-wrap pv05 word-break\">\n            {{this.currentApp.token}}\n          </div>\n        {{else}}\n          <div class=\"flex pb05\">\n            <div class=\"secondary\">\n              <UiButton\n                @label={{t \"routes.apps.detail.token.generate\"}}\n                @onClick={{perform this.generateAppToken this.currentApp.id}}\n              />\n            </div>\n          </div>\n        {{/if}}\n      </div>\n    </navDrawer.content>\n  </UiNavigationDrawer>\n  {{#if this.isModulesDialogOpen}}\n    <AaModulesModal\n      @app={{this.currentApp}}\n      @onClose={{action (mut this.isModulesDialogOpen) false}}\n    />\n  {{/if}}\n  */\n  {\n    \"id\": \"tOSji5ZC\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"routes.apps.title\\\"],null],\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.apps.title\\\"],null],\\\"xl\\\",true]],null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@class\\\",\\\"@apps\\\",\\\"@availableApps\\\",\\\"@toastDuration\\\",\\\"@toggleDetail\\\",\\\"@toggleModules\\\"],[\\\"w-100\\\",[30,0,[\\\"filteredApps\\\"]],[30,0,[\\\"availableApps\\\"]],[30,0,[\\\"toastDuration\\\"]],[28,[37,3],[[30,0],\\\"toggleDetail\\\"],null],[28,[37,3],[[30,0],\\\"toggleModules\\\"],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"flex flex-column items-end views__footer w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"addableApps\\\"]],[[[1,\\\"      \\\"],[8,[39,5],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"plus\\\",true,[28,[37,3],[[30,0],[28,[37,6],[[30,0,[\\\"isAppListDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isAppListDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,7],null,[[\\\"@hasOrganization\\\",\\\"@availableApps\\\",\\\"@actionText\\\",\\\"@addApp\\\",\\\"@onClose\\\"],[true,[30,0,[\\\"addableApps\\\"]],[28,[37,1],[\\\"create.appSelection.choosePlan.createAction\\\"],null],[28,[37,3],[[30,0],\\\"addApp\\\"],null],[28,[37,3],[[30,0],[28,[37,6],[[30,0,[\\\"isAppListDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[8,[39,8],null,[[\\\"@navDrawerStateKey\\\",\\\"@isRight\\\",\\\"@isPermanent\\\"],[[30,0,[\\\"rightSidenavKey\\\"]],true,false]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,2,[\\\"navbar\\\"]],null,[[\\\"@onClose\\\"],[[28,[37,3],[[30,0],\\\"toggleDetail\\\"],null]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,2,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"font-lg w-100\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[[28,[37,9],[\\\"appNames.\\\",[30,0,[\\\"currentApp\\\",\\\"id\\\"]],\\\".name\\\"],null]],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex-column flex-grow-1 pv3 font-sm\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex justify-between pv05\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"global.attributes.name\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[[28,[37,9],[\\\"appNames.\\\",[30,0,[\\\"currentApp\\\",\\\"id\\\"]],\\\".name\\\"],null]],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex justify-between pv05\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"global.attributes.plan\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[52,[30,0,[\\\"currentApp\\\",\\\"planName\\\"]],[28,[37,1],[[28,[37,9],[\\\"appDetails.\\\",[30,0,[\\\"currentApp\\\",\\\"id\\\"]],\\\".plans.\\\",[30,0,[\\\"currentApp\\\",\\\"planName\\\"]],\\\".title\\\"],null]],null],[28,[37,1],[[28,[37,9],[\\\"appDetails.plans.defaultPlan\\\"],null]],null]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"flex justify-between pv05\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"global.attributes.state\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentApp\\\",\\\"active\\\"]],[[[41,[30,0,[\\\"currentApp\\\",\\\"isTrial\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"yellow\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.states.trialPeriod\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"green\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.states.active\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"red\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.states.inactive\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentApp\\\",\\\"trialEndsAt\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex justify-between pv05\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentApp\\\",\\\"isTrial\\\"]],[[[1,\\\"              \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.subscription.trialEndsAt\\\"],null]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.subscription.activatedAt\\\"],null]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,10],[[30,0,[\\\"currentApp\\\",\\\"trialEndsAt\\\"]]],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[51,[30,0,[\\\"currentApp\\\",\\\"isTrial\\\"]]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex justify-between pv05\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.createdAt\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,10],[[30,0,[\\\"currentApp\\\",\\\"createdAt\\\"]]],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex justify-between pv05\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.updatedAt\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"primary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,10],[[30,0,[\\\"currentApp\\\",\\\"updatedAt\\\"]]],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"currentApp\\\",\\\"hasModules\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"mv3 mt1 bb b--black-10\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"w-50 pb1 secondary\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"routes.apps.modules\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"],[42,[28,[37,13],[[28,[37,13],[[30,0,[\\\"currentApp\\\",\\\"modules\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[10,0],[14,0,\\\"pb1\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[30,3,[\\\"name\\\"]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[3]],null],[41,[30,0,[\\\"globalUser\\\",\\\"isAdditive\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex pv05\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,5],null,[[\\\"@label\\\",\\\"@onClick\\\",\\\"@isPromise\\\"],[[28,[37,1],[\\\"routes.apps.actions.selectModules\\\"],null],[28,[37,14],[[28,[37,6],[[30,0,[\\\"isModulesDialogOpen\\\"]]],null],true],null],true]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]],null],[1,\\\"      \\\"],[10,0],[14,0,\\\"mv3 mt1 bb b--black-10\\\"],[12],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"currentApp\\\",\\\"managed\\\"]],[[[1,\\\"        \\\"],[8,[39,15],null,[[\\\"@class\\\",\\\"@size\\\",\\\"@state\\\"],[\\\"mv2 ph2 pv2\\\",\\\"sm\\\",\\\"info\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.managedDetail.title\\\"],[[\\\"org\\\"],[[30,0,[\\\"managedByOrganisation\\\"]]]]]],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-wrap secondary pb2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[[28,[37,9],[\\\"routes.apps.detail.managedDetail.description.\\\",[30,0,[\\\"currentApp\\\",\\\"id\\\"]]],null]],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"mb3 mt1 bb b--black-10\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"currentApp\\\",\\\"token\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex justify-between items-center pb05\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"w-50 secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.apps.detail.token.title\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[8,[39,16],null,[[\\\"@icon\\\",\\\"@isTertiary\\\",\\\"@onClick\\\"],[\\\"clipboard\\\",true,[28,[37,3],[[30,0],\\\"copyToClipboard\\\",[30,0,[\\\"currentApp\\\",\\\"token\\\"]]],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-wrap pv05 word-break\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"currentApp\\\",\\\"token\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex pb05\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,5],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.apps.detail.token.generate\\\"],null],[28,[37,17],[[30,0,[\\\"generateAppToken\\\"]],[30,0,[\\\"currentApp\\\",\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[2]]]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isModulesDialogOpen\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@app\\\",\\\"@onClose\\\"],[[30,0,[\\\"currentApp\\\"]],[28,[37,3],[[30,0],[28,[37,6],[[30,0,[\\\"isModulesDialogOpen\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"view\\\",\\\"navDrawer\\\",\\\"module\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"apps-list\\\",\\\"action\\\",\\\"if\\\",\\\"ui-button\\\",\\\"mut\\\",\\\"app-selection-dialog\\\",\\\"ui-navigation-drawer\\\",\\\"concat\\\",\\\"format-date\\\",\\\"unless\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\",\\\"ui-status-badge\\\",\\\"ui-icon-button\\\",\\\"perform\\\",\\\"aa-modules-modal\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/apps.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/auditlog\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiAuditLog @apiBaseHost={{this.auditLogBaseHost}} />\n  */\n  {\n    \"id\": \"cAyahInq\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@apiBaseHost\\\"],[[30,0,[\\\"auditLogBaseHost\\\"]]]],null]],[],false,[\\\"ui-audit-log\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/auditlog.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/billings\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiContentViews @title={{t \"routes.billings.title\"}} @theme=\"grey\" as |view|>\n    <view.navbar />\n  \n    <view.intro @title={{t \"routes.billings.title\"}} @size=\"xl\" @isMultiline={{true}} />\n  \n    {{#if this.isLoading}}\n      <view.content @class=\"w-100 mw8 ma-auto ph2 ph3-sm ph4-md mt4\">\n        <UiSkeleton @items={{2}} @itemsPerRow={{1}} @cardHeight={{220}} @gap={{32}} />\n      </view.content>\n    {{else}}\n      {{#if this.hasBillingData}}\n        <view.content\n          @class=\"flex flex-column content-center items-center justify-start mw8 w-100 ma-auto pa1\"\n          @isCentered={{true}}\n          data-test-billing-information\n        >\n          <AaCard @title={{t \"billings.attributes.subscriptionData\"}} @class=\"w-100 mh0\" as |card|>\n            <card.content @class=\"flex flex-column\">\n              {{#if this.hasSubscriptionData}}\n                <div class=\"absolute top-1 right-0\">\n                  <UiIconButton\n                    @icon=\"edit\"\n                    @isSecondary={{true}}\n                    @onClick={{action \"openSubscriptionDialog\"}}\n                  />\n                </div>\n  \n                <div\n                  class=\"icon-item font-sm flex flex-row content-center items-center justify-start\"\n                >\n                  <div class=\"font-sm primary w-50 mw5 pv05\">\n                    {{t \"billings.attributes.creditCardOwner\"}}\n                  </div>\n                  <div class=\"font-sm secondary\">\n                    {{this.subscription.cardName}}\n                  </div>\n                </div>\n                <div\n                  class=\"icon-item font-sm flex flex-row content-center items-center justify-start\"\n                >\n                  <div class=\"font-sm primary w-50 mw5 pv05\">\n                    {{t \"billings.attributes.creditCardNumber\"}}\n                  </div>\n                  <div class=\"font-sm secondary\">\n                    **** **** ****\n                    {{this.subscription.cardLastFour}}\n                  </div>\n                </div>\n                <div\n                  class=\"icon-item font-sm flex flex-row content-center items-center justify-start\"\n                >\n                  <div class=\"font-sm primary w-50 mw5 pv05\">\n                    {{t \"billings.attributes.creditCardExpiry\"}}\n                  </div>\n                  <div class=\"font-sm secondary\">\n                    {{this.subscription.cardExpMonth}}.\n                    {{this.subscription.cardExpYear}}\n                  </div>\n                </div>\n              {{else}}\n                <div class=\"flex flex-row-sm flex-column justify-between\">\n                  <div class=\"flex font-sm secondary items-center justify-center\">\n                    {{t \"billings.subscriptionData.noSubscriptionData\"}}\n                  </div>\n                  <UiButton\n                    @label={{t \"billings.actions.updateSubscriptionData\"}}\n                    @isSecondary={{true}}\n                    @onClick={{action \"openSubscriptionDialog\"}}\n                    data-test-open-subscription-dialog\n                  />\n                </div>\n              {{/if}}\n            </card.content>\n          </AaCard>\n  \n          <AaCard @title={{t \"billings.attributes.billingData\"}} @class=\"w-100 mh0\" as |card|>\n            <card.content @class=\"flex flex-column\">\n              <div class=\"absolute top-1 right-0\">\n                <UiIconButton\n                  @icon=\"edit\"\n                  @isSecondary={{true}}\n                  @onClick={{action \"openBillingDialog\" true}}\n                />\n              </div>\n  \n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.legalOrgName\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{this.billing.legalName}}\n                </div>\n              </div>\n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.street\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{this.billing.addressStreet}}\n                </div>\n              </div>\n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.postalCode\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{this.billing.addressPostalCode}}\n                </div>\n              </div>\n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.city\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{this.billing.addressLocality}}\n                </div>\n              </div>\n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.region\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{this.billing.addressRegion}}\n                </div>\n              </div>\n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.country\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{country-name this.billing.addressCountry this.countries}}\n                </div>\n              </div>\n              <div class=\"icon-item font-sm flex flex-row content-center items-center justify-start\">\n                <div class=\"font-sm primary w-50 mw5 pv05\">\n                  {{t \"global.attributes.vatId\"}}\n                </div>\n                <div class=\"font-sm secondary\">\n                  {{this.billing.vatId}}\n                </div>\n              </div>\n            </card.content>\n          </AaCard>\n  \n          {{#if this.hasInvoices}}\n            <AaCard @title={{t \"billings.invoiceData.title\"}} @class=\"w-100\" as |card|>\n              <card.content>\n                <UiTable\n                  @columns={{this.invoiceTableOptions}}\n                  @rows={{this.invoices}}\n                  @class=\"w-100\"\n                  data-test-invoices\n                  as |table|\n                >\n                  <table.head />\n                  <table.body as |body row|>\n                    <body.row>\n                      <td>\n                        {{format-date-month row.date this.locale}}\n                      </td>\n  \n                      <td>\n                        {{row.amount}}\n                      </td>\n  \n                      <td>\n                        {{t (concat \"billings.invoiceData.states.\" (if row.paid \"paid\" \"toBePaid\"))}}\n                      </td>\n                    </body.row>\n                  </table.body>\n                </UiTable>\n              </card.content>\n            </AaCard>\n          {{/if}}\n        </view.content>\n      {{else}}\n        <view.content\n          @class=\"ui-content-no-billing-data flex flex-column flex-grow-1 content-center items-center justify-center w-100 mt4\"\n        >\n          <div class=\"relative flex flex-column content-center items-center mw6\">\n            <span class=\"description font-md mb4\">\n              {{t \"routes.billings.completeBillingData.description\"}}\n            </span>\n            <UiButton\n              @label={{t \"routes.billings.actions.provideBillingData\"}}\n              @onClick={{action \"openBillingDialog\" false}}\n              data-test-open-billing-dialog\n            />\n          </div>\n        </view.content>\n      {{/if}}\n    {{/if}}\n  \n    <view.footer @classNames=\"views__footer w-100\" />\n  </UiContentViews>\n  \n  {{#if this.isBillingDataDialog}}\n    <UiModal\n      @title={{t \"billings.billingData.title\"}}\n      @onClose={{action \"onCloseBillingData\"}}\n      @size=\"md\"\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content data-test-billing-dialog as |content|>\n        <content.body>\n          <span class=\"font-md pv2\">\n            {{t \"billings.billingData.description\"}}\n          </span>\n  \n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"w-100\"\n              @label={{t \"global.attributes.legalOrgName\"}}\n              @value={{this.billingChangeset.legalName}}\n              @errorMessage={{get this.billingChangeset.error.legalName \"validation\"}}\n              @autocomplete=\"organization\"\n              @isTouched={{this.isBillingFormTouched}}\n              data-test-orgname-input\n            />\n          </div>\n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"mr1\"\n              @label={{t \"global.attributes.street\"}}\n              @value={{this.billingChangeset.addressStreet}}\n              @errorMessage={{get this.billingChangeset.error.addressStreet \"validation\"}}\n              @autocomplete=\"address-level1\"\n              @isTouched={{this.isBillingFormTouched}}\n              data-test-street-input\n            />\n            <UiInput\n              @class=\"ml1\"\n              @label={{t \"global.attributes.postalCode\"}}\n              @value={{this.billingChangeset.addressPostalCode}}\n              @errorMessage={{get this.billingChangeset.error.addressPostalCode \"validation\"}}\n              @autocomplete=\"postal-code\"\n              @isTouched={{this.isBillingFormTouched}}\n              data-test-postalcode-input\n            />\n          </div>\n          <div class=\"flex flex-row\">\n            <UiInput\n              @class=\"mr1\"\n              @label={{t \"global.attributes.city\"}}\n              @value={{this.billingChangeset.addressLocality}}\n              @errorMessage={{get this.billingChangeset.error.addressLocality \"validation\"}}\n              @autocomplete=\"address-level2\"\n              @isTouched={{this.isBillingFormTouched}}\n              data-test-city-input\n            />\n            <UiInput\n              @class=\"ml1\"\n              @label={{t \"global.attributes.region\"}}\n              @value={{this.billingChangeset.addressRegion}}\n              @errorMessage={{get this.billingChangeset.error.addressRegion \"validation\"}}\n              @autocomplete=\"region\"\n              @isTouched={{this.isBillingFormTouched}}\n              data-test-region-input\n            />\n          </div>\n          <div class=\"flex flex-row\">\n            <UiSelect\n              @class=\"mr1 w-100\"\n              @label={{t \"global.attributes.country\"}}\n              @valueKey=\"code\"\n              @placeholder={{t \"global.attributes.country\"}}\n              @errorMessage={{get this.billingChangeset.error.addressCountry \"validation\"}}\n              @selected={{country-name this.billingChangeset.addressCountry this.countries}}\n              @onChange={{action (mut this.billingChangeset.addressCountry)}}\n              @isTouched={{this.isBillingFormTouched}}\n              @isSearchable={{true}}\n              @options={{this.countries}}\n              as |option item|\n            >\n              <option.item @value={{item.code}} data-test-country-option>\n                {{item.name}}\n              </option.item>\n            </UiSelect>\n            <UiInput\n              @class=\"ml1 w-50\"\n              @label={{t \"global.attributes.vatId\"}}\n              @value={{this.billingChangeset.vatId}}\n              @errorMessage={{get this.billingChangeset.error.vatId \"validation\"}}\n              @autocomplete=\"vat-id\"\n              @isTouched={{this.isBillingFormTouched}}\n              data-test-vatid-input\n            />\n          </div>\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        {{#if this.isUpdatingBillingData}}\n          <UiLoading @class=\"pt05 mv1 mr4\" />\n        {{else}}\n          <UiButton\n            @label={{t \"billings.actions.updateBillingData\"}}\n            @isSecondary={{true}}\n            @onClick={{perform this.updateBillingData}}\n            data-test-submit-billing-form\n          />\n        {{/if}}\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isSubscriptionDataDialog}}\n    <UiModal\n      @title={{t \"billings.subscriptionData.title\"}}\n      @onClose={{action \"onCloseSubscriptionData\"}}\n      @size=\"md\"\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content data-test-subscription-dialog as |content|>\n        <content.body>\n          {{#if this.isStripeLoading}}\n            <div class=\"flex flex-column content-center items-center w-100 mt1 mb2\">\n              <UiLoading />\n            </div>\n          {{else}}\n            <span class=\"font-md pv2\">\n              {{t \"billings.subscriptionData.description\"}}\n            </span>\n            <div class=\"flex flex-row\">\n              <UiInput\n                @class=\"w-100\"\n                @label={{t \"billings.attributes.creditCardOwner\"}}\n                @value={{this.subscriptionChangeset.cardName}}\n                @errorMessage={{get this.subscriptionChangeset.error.cardName \"validation\"}}\n                @isTouched={{this.isSubscriptionFormTouched}}\n                data-test-card-name-input\n              />\n            </div>\n            <div class=\"flex flex-column pt1 pb2\">\n              <div class=\"font-xs ph1\">\n                <label class=\"label secondary ph05 pb05 flex-grow-1\">\n                  {{t \"billings.attributes.creditCardNumber\"}}\n                </label>\n              </div>\n              <div\n                id=\"stripe-card-number\"\n                class=\"w-100 bg-near-white ph2 br1\"\n                data-test-card-number-input\n              >\n              </div>\n              <div class=\"message font-xs ph1 red\">\n                {{this.stripeCardNumberError}}\n              </div>\n            </div>\n            <div class=\"flex flex-column flex-row-sm pt05 pt1 pb2\">\n              <div class=\"flex flex-column w-100 pb2 w-50-sm mr1-sm pb0-sm\">\n                <div class=\"font-xs ph1\">\n                  <label class=\"label secondary ph05 pb05 flex-grow-1\">\n                    {{t \"billings.attributes.creditCardExpiry\"}}\n                  </label>\n                </div>\n                <div\n                  id=\"stripe-card-expiry\"\n                  class=\"w-100 bg-near-white ph2 br1\"\n                  data-test-card-expiry-input\n                >\n                </div>\n                <div class=\"message font-xs ph1 red\">\n                  {{this.stripeCardExpiryError}}\n                </div>\n              </div>\n              <div class=\"flex flex-column w-100 pt1 w-50-sm ml1-sm pt0-sm\">\n                <div class=\"font-xs ph1\">\n                  <label class=\"label secondary ph05 pb05 flex-grow-1\">\n                    {{t \"billings.attributes.creditCardCvc\"}}\n                  </label>\n                </div>\n                <div\n                  id=\"stripe-card-cvc\"\n                  class=\"w-100 bg-near-white ph2 br1\"\n                  data-test-card-cvc-input\n                >\n                </div>\n                <div class=\"message font-xs ph1 red\">\n                  {{this.stripeCardCvcError}}\n                </div>\n              </div>\n            </div>\n          {{/if}}\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"billings.actions.updateSubscriptionData\"}}\n          @isSecondary={{true}}\n          @onClick={{perform this.updateSubscriptionData}}\n          data-test-submit-subscription-form\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isUnexpectedBillingError}}\n    <UiModal @size=\"sm\" @title={{t \"global.dialogs.billingsError.title\"}} as |dialog|>\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          {{t \"global.dialogs.billingsError.description\"}}\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.cancel\"}}\n          @isSecondary={{true}}\n          @onClick={{action (mut this.isUnexpectedBillingError) false}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"wZ14krT2\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"routes.billings.title\\\"],null],\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.billings.title\\\"],null],\\\"xl\\\",true]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isLoading\\\"]],[[[1,\\\"    \\\"],[8,[30,1,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"w-100 mw8 ma-auto ph2 ph3-sm ph4-md mt4\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,3],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[2,1,220,32]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"hasBillingData\\\"]],[[[1,\\\"      \\\"],[8,[30,1,[\\\"content\\\"]],[[24,\\\"data-test-billing-information\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@isCentered\\\"],[\\\"flex flex-column content-center items-center justify-start mw8 w-100 ma-auto pa1\\\",true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@class\\\"],[[28,[37,1],[\\\"billings.attributes.subscriptionData\\\"],null],\\\"w-100 mh0\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,2,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"flex flex-column\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasSubscriptionData\\\"]],[[[1,\\\"              \\\"],[10,0],[14,0,\\\"absolute top-1 right-0\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,5],null,[[\\\"@icon\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[\\\"edit\\\",true,[28,[37,6],[[30,0],\\\"openSubscriptionDialog\\\"],null]]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"billings.attributes.creditCardOwner\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[30,0,[\\\"subscription\\\",\\\"cardName\\\"]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"billings.attributes.creditCardNumber\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                  **** **** ****\\\\n                  \\\"],[1,[30,0,[\\\"subscription\\\",\\\"cardLastFour\\\"]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"billings.attributes.creditCardExpiry\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[30,0,[\\\"subscription\\\",\\\"cardExpMonth\\\"]]],[1,\\\".\\\\n                  \\\"],[1,[30,0,[\\\"subscription\\\",\\\"cardExpYear\\\"]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[10,0],[14,0,\\\"flex flex-row-sm flex-column justify-between\\\"],[12],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"flex font-sm secondary items-center justify-center\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"billings.subscriptionData.noSubscriptionData\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[8,[39,7],[[24,\\\"data-test-open-subscription-dialog\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"billings.actions.updateSubscriptionData\\\"],null],true,[28,[37,6],[[30,0],\\\"openSubscriptionDialog\\\"],null]]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@class\\\"],[[28,[37,1],[\\\"billings.attributes.billingData\\\"],null],\\\"w-100 mh0\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,3,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"flex flex-column\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"absolute top-1 right-0\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,5],null,[[\\\"@icon\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[\\\"edit\\\",true,[28,[37,6],[[30,0],\\\"openBillingDialog\\\",true],null]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.legalOrgName\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"billing\\\",\\\"legalName\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.street\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"billing\\\",\\\"addressStreet\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.postalCode\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"billing\\\",\\\"addressPostalCode\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.city\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"billing\\\",\\\"addressLocality\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.region\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"billing\\\",\\\"addressRegion\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.country\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,8],[[30,0,[\\\"billing\\\",\\\"addressCountry\\\"]],[30,0,[\\\"countries\\\"]]],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"icon-item font-sm flex flex-row content-center items-center justify-start\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm primary w-50 mw5 pv05\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.attributes.vatId\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"billing\\\",\\\"vatId\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"hasInvoices\\\"]],[[[1,\\\"          \\\"],[8,[39,4],null,[[\\\"@title\\\",\\\"@class\\\"],[[28,[37,1],[\\\"billings.invoiceData.title\\\"],null],\\\"w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[39,9],[[24,\\\"data-test-invoices\\\",\\\"\\\"]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@class\\\"],[[30,0,[\\\"invoiceTableOptions\\\"]],[30,0,[\\\"invoices\\\"]],\\\"w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[8,[30,5,[\\\"head\\\"]],null,null,null],[1,\\\"\\\\n                \\\"],[8,[30,5,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                  \\\"],[8,[30,6,[\\\"row\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,10],[[30,7,[\\\"date\\\"]],[30,0,[\\\"locale\\\"]]],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n\\\\n                    \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[30,7,[\\\"amount\\\"]]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n\\\\n                    \\\"],[10,\\\"td\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,1],[[28,[37,11],[\\\"billings.invoiceData.states.\\\",[52,[30,7,[\\\"paid\\\"]],\\\"paid\\\",\\\"toBePaid\\\"]],null]],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                  \\\"]],[]]]]],[1,\\\"\\\\n                \\\"]],[6,7]]]]],[1,\\\"\\\\n              \\\"]],[5]]]]],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[8,[30,1,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"ui-content-no-billing-data flex flex-column flex-grow-1 content-center items-center justify-center w-100 mt4\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"relative flex flex-column content-center items-center mw6\\\"],[12],[1,\\\"\\\\n          \\\"],[10,1],[14,0,\\\"description font-md mb4\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.billings.completeBillingData.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[8,[39,7],[[24,\\\"data-test-open-billing-dialog\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.billings.actions.provideBillingData\\\"],null],[28,[37,6],[[30,0],\\\"openBillingDialog\\\",false],null]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]]],[]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"views__footer w-100\\\"]],null],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isBillingDataDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@title\\\",\\\"@onClose\\\",\\\"@size\\\"],[[28,[37,1],[\\\"billings.billingData.title\\\"],null],[28,[37,6],[[30,0],\\\"onCloseBillingData\\\"],null],\\\"md\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,8,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,8,[\\\"content\\\"]],[[24,\\\"data-test-billing-dialog\\\",\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,9,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,1],[14,0,\\\"font-md pv2\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"billings.billingData.description\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,13],[[24,\\\"data-test-orgname-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@autocomplete\\\",\\\"@isTouched\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.attributes.legalOrgName\\\"],null],[30,0,[\\\"billingChangeset\\\",\\\"legalName\\\"]],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"legalName\\\"]],\\\"validation\\\"],null],\\\"organization\\\",[30,0,[\\\"isBillingFormTouched\\\"]]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,13],[[24,\\\"data-test-street-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@autocomplete\\\",\\\"@isTouched\\\"],[\\\"mr1\\\",[28,[37,1],[\\\"global.attributes.street\\\"],null],[30,0,[\\\"billingChangeset\\\",\\\"addressStreet\\\"]],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"addressStreet\\\"]],\\\"validation\\\"],null],\\\"address-level1\\\",[30,0,[\\\"isBillingFormTouched\\\"]]]],null],[1,\\\"\\\\n          \\\"],[8,[39,13],[[24,\\\"data-test-postalcode-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@autocomplete\\\",\\\"@isTouched\\\"],[\\\"ml1\\\",[28,[37,1],[\\\"global.attributes.postalCode\\\"],null],[30,0,[\\\"billingChangeset\\\",\\\"addressPostalCode\\\"]],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"addressPostalCode\\\"]],\\\"validation\\\"],null],\\\"postal-code\\\",[30,0,[\\\"isBillingFormTouched\\\"]]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,13],[[24,\\\"data-test-city-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@autocomplete\\\",\\\"@isTouched\\\"],[\\\"mr1\\\",[28,[37,1],[\\\"global.attributes.city\\\"],null],[30,0,[\\\"billingChangeset\\\",\\\"addressLocality\\\"]],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"addressLocality\\\"]],\\\"validation\\\"],null],\\\"address-level2\\\",[30,0,[\\\"isBillingFormTouched\\\"]]]],null],[1,\\\"\\\\n          \\\"],[8,[39,13],[[24,\\\"data-test-region-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@autocomplete\\\",\\\"@isTouched\\\"],[\\\"ml1\\\",[28,[37,1],[\\\"global.attributes.region\\\"],null],[30,0,[\\\"billingChangeset\\\",\\\"addressRegion\\\"]],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"addressRegion\\\"]],\\\"validation\\\"],null],\\\"region\\\",[30,0,[\\\"isBillingFormTouched\\\"]]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,15],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@valueKey\\\",\\\"@placeholder\\\",\\\"@errorMessage\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@isTouched\\\",\\\"@isSearchable\\\",\\\"@options\\\"],[\\\"mr1 w-100\\\",[28,[37,1],[\\\"global.attributes.country\\\"],null],\\\"code\\\",[28,[37,1],[\\\"global.attributes.country\\\"],null],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"addressCountry\\\"]],\\\"validation\\\"],null],[28,[37,8],[[30,0,[\\\"billingChangeset\\\",\\\"addressCountry\\\"]],[30,0,[\\\"countries\\\"]]],null],[28,[37,6],[[30,0],[28,[37,16],[[30,0,[\\\"billingChangeset\\\",\\\"addressCountry\\\"]]],null]],null],[30,0,[\\\"isBillingFormTouched\\\"]],true,[30,0,[\\\"countries\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,10,[\\\"item\\\"]],[[24,\\\"data-test-country-option\\\",\\\"\\\"]],[[\\\"@value\\\"],[[30,11,[\\\"code\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[1,[30,11,[\\\"name\\\"]]],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[10,11]]]]],[1,\\\"\\\\n          \\\"],[8,[39,13],[[24,\\\"data-test-vatid-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@autocomplete\\\",\\\"@isTouched\\\"],[\\\"ml1 w-50\\\",[28,[37,1],[\\\"global.attributes.vatId\\\"],null],[30,0,[\\\"billingChangeset\\\",\\\"vatId\\\"]],[28,[37,14],[[30,0,[\\\"billingChangeset\\\",\\\"error\\\",\\\"vatId\\\"]],\\\"validation\\\"],null],\\\"vat-id\\\",[30,0,[\\\"isBillingFormTouched\\\"]]]],null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[9]]]]],[1,\\\"\\\\n    \\\"],[8,[30,8,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isUpdatingBillingData\\\"]],[[[1,\\\"        \\\"],[8,[39,17],null,[[\\\"@class\\\"],[\\\"pt05 mv1 mr4\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[8,[39,7],[[24,\\\"data-test-submit-billing-form\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"billings.actions.updateBillingData\\\"],null],true,[28,[37,18],[[30,0,[\\\"updateBillingData\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[8]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isSubscriptionDataDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@title\\\",\\\"@onClose\\\",\\\"@size\\\"],[[28,[37,1],[\\\"billings.subscriptionData.title\\\"],null],[28,[37,6],[[30,0],\\\"onCloseSubscriptionData\\\"],null],\\\"md\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,12,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,12,[\\\"content\\\"]],[[24,\\\"data-test-subscription-dialog\\\",\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,13,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isStripeLoading\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"flex flex-column content-center items-center w-100 mt1 mb2\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,17],null,null,null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[10,1],[14,0,\\\"font-md pv2\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"billings.subscriptionData.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,13],[[24,\\\"data-test-card-name-input\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"billings.attributes.creditCardOwner\\\"],null],[30,0,[\\\"subscriptionChangeset\\\",\\\"cardName\\\"]],[28,[37,14],[[30,0,[\\\"subscriptionChangeset\\\",\\\"error\\\",\\\"cardName\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isSubscriptionFormTouched\\\"]]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex flex-column pt1 pb2\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"font-xs ph1\\\"],[12],[1,\\\"\\\\n              \\\"],[10,\\\"label\\\"],[14,0,\\\"label secondary ph05 pb05 flex-grow-1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"billings.attributes.creditCardNumber\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,1,\\\"stripe-card-number\\\"],[14,0,\\\"w-100 bg-near-white ph2 br1\\\"],[14,\\\"data-test-card-number-input\\\",\\\"\\\"],[12],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"message font-xs ph1 red\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[30,0,[\\\"stripeCardNumberError\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex flex-column flex-row-sm pt05 pt1 pb2\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-column w-100 pb2 w-50-sm mr1-sm pb0-sm\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-xs ph1\\\"],[12],[1,\\\"\\\\n                \\\"],[10,\\\"label\\\"],[14,0,\\\"label secondary ph05 pb05 flex-grow-1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"billings.attributes.creditCardExpiry\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,1,\\\"stripe-card-expiry\\\"],[14,0,\\\"w-100 bg-near-white ph2 br1\\\"],[14,\\\"data-test-card-expiry-input\\\",\\\"\\\"],[12],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"message font-xs ph1 red\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"stripeCardExpiryError\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-column w-100 pt1 w-50-sm ml1-sm pt0-sm\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"font-xs ph1\\\"],[12],[1,\\\"\\\\n                \\\"],[10,\\\"label\\\"],[14,0,\\\"label secondary ph05 pb05 flex-grow-1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"billings.attributes.creditCardCvc\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,1,\\\"stripe-card-cvc\\\"],[14,0,\\\"w-100 bg-near-white ph2 br1\\\"],[14,\\\"data-test-card-cvc-input\\\",\\\"\\\"],[12],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"message font-xs ph1 red\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"stripeCardCvcError\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[13]]]]],[1,\\\"\\\\n    \\\"],[8,[30,12,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,7],[[24,\\\"data-test-submit-subscription-form\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"billings.actions.updateSubscriptionData\\\"],null],true,[28,[37,18],[[30,0,[\\\"updateSubscriptionData\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[12]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isUnexpectedBillingError\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@size\\\",\\\"@title\\\"],[\\\"sm\\\",[28,[37,1],[\\\"global.dialogs.billingsError.title\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,14,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,14,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,15,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"global.dialogs.billingsError.description\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[15]]]]],[1,\\\"\\\\n    \\\"],[8,[30,14,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,7],null,[[\\\"@label\\\",\\\"@isSecondary\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.cancel\\\"],null],true,[28,[37,6],[[30,0],[28,[37,16],[[30,0,[\\\"isUnexpectedBillingError\\\"]]],null],false],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[14]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"view\\\",\\\"card\\\",\\\"card\\\",\\\"card\\\",\\\"table\\\",\\\"body\\\",\\\"row\\\",\\\"dialog\\\",\\\"content\\\",\\\"option\\\",\\\"item\\\",\\\"dialog\\\",\\\"content\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"aa-card\\\",\\\"ui-icon-button\\\",\\\"action\\\",\\\"ui-button\\\",\\\"country-name\\\",\\\"ui-table\\\",\\\"format-date-month\\\",\\\"concat\\\",\\\"ui-modal\\\",\\\"ui-input\\\",\\\"get\\\",\\\"ui-select\\\",\\\"mut\\\",\\\"ui-loading\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/billings.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/corporate-design\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiContentViews @title={{t \"routes.corporateDesign.title\"}} @theme=\"white\" as |view|>\n    <view.navbar />\n  \n    <view.intro\n      @class=\"corporate-design-view__intro\"\n      @title={{t \"routes.corporateDesign.title\"}}\n      @description={{t \"routes.corporateDesign.description\"}}\n      @size=\"xl\"\n      @isMultiline={{true}}\n    />\n  \n    <view.content @classNames=\"pt3\">\n      <UiRoutableTabs @tabRoutes={{this.routableTabs}} as |tabs|>\n        <tabs.header @isUnderlined={{true}} as |header|>\n          {{#each this.routableTabs as |route|}}\n            <header.tab @tabName={{route.name}} @routePath={{route.path}} />\n          {{/each}}\n        </tabs.header>\n        <tabs.content @class=\"flex flex-column\">\n          {{outlet}}\n        </tabs.content>\n      </UiRoutableTabs>\n    </view.content>\n  \n    <view.footer @classNames=\"views__footer w-100\" />\n  </UiContentViews>\n  */\n  {\n    \"id\": \"7OJB9+EG\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"routes.corporateDesign.title\\\"],null],\\\"white\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"intro\\\"]],null,[[\\\"@class\\\",\\\"@title\\\",\\\"@description\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[\\\"corporate-design-view__intro\\\",[28,[37,1],[\\\"routes.corporateDesign.title\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.description\\\"],null],\\\"xl\\\",true]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,[[\\\"@classNames\\\"],[\\\"pt3\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@tabRoutes\\\"],[[30,0,[\\\"routableTabs\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"header\\\"]],null,[[\\\"@isUnderlined\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"routableTabs\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[8,[30,3,[\\\"tab\\\"]],null,[[\\\"@tabName\\\",\\\"@routePath\\\"],[[30,4,[\\\"name\\\"]],[30,4,[\\\"path\\\"]]]],null],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\"      \\\"]],[3]]]]],[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"flex flex-column\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[46,[28,[37,6],null,null],null,null,null],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"views__footer w-100\\\"]],null],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"view\\\",\\\"tabs\\\",\\\"header\\\",\\\"route\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"ui-routable-tabs\\\",\\\"each\\\",\\\"-track-array\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/corporate-design.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/corporate-design/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"corporate-design-colors flex flex-column flex-row-sm br1 ohidden mb4 ba b--black-10\">\n    <div class=\"flex flex-column w-100 w-50-sm flex-grow-1 flex-shrink-0\">\n      {{! TODO: final translations }}\n      <UiColorComposition\n        @name={{t \"routes.corporateDesign.colors.main.name\"}}\n        @description={{t \"routes.corporateDesign.colors.main.description\"}}\n        @dialogText={{t\n          \"routes.corporateDesign.colors.dialogText\"\n          name=(t \"routes.corporateDesign.colors.main.name\")\n        }}\n        @colorLabel={{t \"routes.corporateDesign.colors.labels.color\"}}\n        @contrastColorLabel={{t \"routes.corporateDesign.colors.labels.contrastColor\"}}\n        @changeset={{this.changesetMain}}\n        @isReadOnly={{not this.isManager}}\n        @onSave={{perform this.saveChangeset}}\n      />\n    </div>\n  \n    <div class=\"flex flex-row flex-column-sm w-100 w-50-sm flex-grow-1 flex-shrink-0\">\n      <UiColorComposition\n        @name={{t \"routes.corporateDesign.colors.accent.name\"}}\n        @description={{t \"routes.corporateDesign.colors.accent.description\"}}\n        @dialogText={{t\n          \"routes.corporateDesign.colors.dialogText\"\n          name=(t \"routes.corporateDesign.colors.accent.name\")\n        }}\n        @colorLabel={{t \"routes.corporateDesign.colors.labels.color\"}}\n        @contrastColorLabel={{t \"routes.corporateDesign.colors.labels.contrastColor\"}}\n        @changeset={{this.changesetAccent}}\n        @isReadOnly={{not this.isManager}}\n        @onSave={{perform this.saveChangeset}}\n      />\n      <UiColorComposition\n        @name={{t \"routes.corporateDesign.colors.ambient.name\"}}\n        @description={{t \"routes.corporateDesign.colors.ambient.description\"}}\n        @dialogText={{t\n          \"routes.corporateDesign.colors.dialogText\"\n          name=(t \"routes.corporateDesign.colors.ambient.name\")\n        }}\n        @colorLabel={{t \"routes.corporateDesign.colors.labels.color\"}}\n        @contrastColorLabel={{t \"routes.corporateDesign.colors.labels.contrastColor\"}}\n        @changeset={{this.changesetAmbient}}\n        @isReadOnly={{not this.isManager}}\n        @onSave={{perform this.saveChangeset}}\n      />\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"cCEdLrh7\",\n    \"block\": \"[[[10,0],[14,0,\\\"corporate-design-colors flex flex-column flex-row-sm br1 ohidden mb4 ba b--black-10\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-column w-100 w-50-sm flex-grow-1 flex-shrink-0\\\"],[12],[1,\\\"\\\\n\\\"],[1,\\\"    \\\"],[8,[39,0],null,[[\\\"@name\\\",\\\"@description\\\",\\\"@dialogText\\\",\\\"@colorLabel\\\",\\\"@contrastColorLabel\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@onSave\\\"],[[28,[37,1],[\\\"routes.corporateDesign.colors.main.name\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.main.description\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.dialogText\\\"],[[\\\"name\\\"],[[28,[37,1],[\\\"routes.corporateDesign.colors.main.name\\\"],null]]]],[28,[37,1],[\\\"routes.corporateDesign.colors.labels.color\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.labels.contrastColor\\\"],null],[30,0,[\\\"changesetMain\\\"]],[28,[37,2],[[30,0,[\\\"isManager\\\"]]],null],[28,[37,3],[[30,0,[\\\"saveChangeset\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"flex flex-row flex-column-sm w-100 w-50-sm flex-grow-1 flex-shrink-0\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,0],null,[[\\\"@name\\\",\\\"@description\\\",\\\"@dialogText\\\",\\\"@colorLabel\\\",\\\"@contrastColorLabel\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@onSave\\\"],[[28,[37,1],[\\\"routes.corporateDesign.colors.accent.name\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.accent.description\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.dialogText\\\"],[[\\\"name\\\"],[[28,[37,1],[\\\"routes.corporateDesign.colors.accent.name\\\"],null]]]],[28,[37,1],[\\\"routes.corporateDesign.colors.labels.color\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.labels.contrastColor\\\"],null],[30,0,[\\\"changesetAccent\\\"]],[28,[37,2],[[30,0,[\\\"isManager\\\"]]],null],[28,[37,3],[[30,0,[\\\"saveChangeset\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"],[8,[39,0],null,[[\\\"@name\\\",\\\"@description\\\",\\\"@dialogText\\\",\\\"@colorLabel\\\",\\\"@contrastColorLabel\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@onSave\\\"],[[28,[37,1],[\\\"routes.corporateDesign.colors.ambient.name\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.ambient.description\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.dialogText\\\"],[[\\\"name\\\"],[[28,[37,1],[\\\"routes.corporateDesign.colors.ambient.name\\\"],null]]]],[28,[37,1],[\\\"routes.corporateDesign.colors.labels.color\\\"],null],[28,[37,1],[\\\"routes.corporateDesign.colors.labels.contrastColor\\\"],null],[30,0,[\\\"changesetAmbient\\\"]],[28,[37,2],[[30,0,[\\\"isManager\\\"]]],null],[28,[37,3],[[30,0,[\\\"saveChangeset\\\"]]],null]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"ui-color-composition\\\",\\\"t\\\",\\\"not\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/corporate-design/index.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/corporate-design/logo\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <AaCorporateDesign::Logo />\n  */\n  {\n    \"id\": \"2daGJUUf\",\n    \"block\": \"[[[8,[39,0],null,null,null]],[],false,[\\\"aa-corporate-design/logo\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/corporate-design/logo.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/corporate-design/typography\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <div class=\"pa1\">\n    {{#if this.fonts}}\n      <div class=\"font-sm secondary mw6\">\n        {{t \"routes.corporateDesign.typography.fonts.subtitle\" htmlSafe=true}}\n      </div>\n      <AaCorporateDesign::Fonts\n        @fonts={{this.fonts}}\n        @updateFonts={{action \"updateFonts\"}}\n        @reloadTypography={{this.fetchCD}}\n        @isReadOnly={{not this.isManager}}\n      />\n    {{else if this.fetchCD.isRunning}}\n      <div class=\"mt3\">\n        <UiSkeleton @items={{3}} @itemsPerRow={{3}} @cardHeight={{160}} />\n      </div>\n    {{/if}}\n  \n    {{#if this.fetchCD.isRunning}}\n      <UiSkeleton @items={{7}} @itemsPerRow={{1}} @cardHeight={{80}} @gap={{1}} />\n    {{else if this.typography}}\n      <div class=\"font-sm secondary mw6 pv2\">\n        {{t \"routes.corporateDesign.typography.description\" htmlSafe=true}}\n      </div>\n      <div class=\"bt b--black-10\">\n        <AaCorporateDesign::Typography\n          @fonts={{this.fonts}}\n          @typography={{this.typography}}\n          @isReadOnly={{not this.isManager}}\n          @colors={{this.colors}}\n          @onSave={{this.updateProperty}}\n        />\n      </div>\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"mwBFynqk\",\n    \"block\": \"[[[10,0],[14,0,\\\"pa1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fonts\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"font-sm secondary mw6\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"routes.corporateDesign.typography.fonts.subtitle\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@fonts\\\",\\\"@updateFonts\\\",\\\"@reloadTypography\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"fonts\\\"]],[28,[37,3],[[30,0],\\\"updateFonts\\\"],null],[30,0,[\\\"fetchCD\\\"]],[28,[37,4],[[30,0,[\\\"isManager\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"fetchCD\\\",\\\"isRunning\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"mt3\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,5],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\"],[3,3,160]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]],null]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fetchCD\\\",\\\"isRunning\\\"]],[[[1,\\\"    \\\"],[8,[39,5],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[7,1,80,1]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"typography\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"font-sm secondary mw6 pv2\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"routes.corporateDesign.typography.description\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"bt b--black-10\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,6],null,[[\\\"@fonts\\\",\\\"@typography\\\",\\\"@isReadOnly\\\",\\\"@colors\\\",\\\"@onSave\\\"],[[30,0,[\\\"fonts\\\"]],[30,0,[\\\"typography\\\"]],[28,[37,4],[[30,0,[\\\"isManager\\\"]]],null],[30,0,[\\\"colors\\\"]],[30,0,[\\\"updateProperty\\\"]]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]],null]],[]]],[13]],[],false,[\\\"if\\\",\\\"t\\\",\\\"aa-corporate-design/fonts\\\",\\\"action\\\",\\\"not\\\",\\\"ui-skeleton\\\",\\\"aa-corporate-design/typography\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/corporate-design/typography.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/email-templates\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{outlet}}\n  */\n  {\n    \"id\": \"/CFAv8ef\",\n    \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],false,[\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/email-templates.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/email-templates/edit\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <AaEmailTemplateConfigurator @resource={{this.model}} />\n  */\n  {\n    \"id\": \"6GZxfIlA\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@resource\\\"],[[30,0,[\\\"model\\\"]]]],null]],[],false,[\\\"aa-email-template-configurator\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/email-templates/edit.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/email-templates/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiFilterable @key=\"emailTemplates\" @modelName=\"email-template\" as |f|>\n    <UiContentViews\n      @title={{t \"routes.emailTemplates.title\"}}\n      @detailRoute=\"instances.instance.email-templates.list.detail\"\n      @filter=\"emailTemplates\"\n      @theme=\"grey\"\n      as |view|\n    >\n      <view.navbar />\n  \n      <view.intro\n        @title={{t \"routes.emailTemplates.title\"}}\n        @description={{t \"routes.emailTemplates.description\"}}\n        @size=\"xl\"\n        @isMultiline={{true}}\n      />\n  \n      <view.content>\n        <UiList\n          @isLoading={{f.isLoading}}\n          @isError={{f.isError}}\n          @items={{f.data}}\n          @hasMobileSpacing={{true}}\n          @placeholderCount={{1}}\n          as |list item|\n        >\n          <list.empty\n            @tagName=\"div\"\n            @class=\"flex flex-column items-center justify-center text-center pt4 mt4\"\n          >\n            {{svg-jar \"empty-content-grey\"}}\n            <div class=\"font-sm secondary\">\n              {{t \"routes.emailTemplates.empty\" htmlSafe=true}}\n            </div>\n          </list.empty>\n  \n          <list.error\n            @tagName=\"div\"\n            @class=\"flex flex-column items-center justify-center text-center pt4 mt4\"\n          >\n            {{svg-jar \"empty-content-grey\"}}\n            <div class=\"secondary\">\n              <UiButton\n                @label={{t \"global.actions.retry\"}}\n                @onClick={{action f.actions.reloadModel}}\n              />\n            </div>\n          </list.error>\n  \n          <list.item\n            @title={{item.name}}\n            @isActive={{eq item.id this._currentItem}}\n            @onClick={{action \"transitionToDetail\" item.id}}\n          />\n        </UiList>\n      </view.content>\n    </UiContentViews>\n  </UiFilterable>\n  {{outlet}}\n  */\n  {\n    \"id\": \"P8sCD9IL\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@key\\\",\\\"@modelName\\\"],[\\\"emailTemplates\\\",\\\"email-template\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@title\\\",\\\"@detailRoute\\\",\\\"@filter\\\",\\\"@theme\\\"],[[28,[37,2],[\\\"routes.emailTemplates.title\\\"],null],\\\"instances.instance.email-templates.list.detail\\\",\\\"emailTemplates\\\",\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,2,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[[28,[37,2],[\\\"routes.emailTemplates.title\\\"],null],[28,[37,2],[\\\"routes.emailTemplates.description\\\"],null],\\\"xl\\\",true]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,2,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,3],null,[[\\\"@isLoading\\\",\\\"@isError\\\",\\\"@items\\\",\\\"@hasMobileSpacing\\\",\\\"@placeholderCount\\\"],[[30,1,[\\\"isLoading\\\"]],[30,1,[\\\"isError\\\"]],[30,1,[\\\"data\\\"]],true,1]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,3,[\\\"empty\\\"]],null,[[\\\"@tagName\\\",\\\"@class\\\"],[\\\"div\\\",\\\"flex flex-column items-center justify-center text-center pt4 mt4\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,4],[\\\"empty-content-grey\\\"],null]],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,2],[\\\"routes.emailTemplates.empty\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[30,3,[\\\"error\\\"]],null,[[\\\"@tagName\\\",\\\"@class\\\"],[\\\"div\\\",\\\"flex flex-column items-center justify-center text-center pt4 mt4\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[1,[28,[35,4],[\\\"empty-content-grey\\\"],null]],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,5],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.retry\\\"],null],[28,[37,6],[[30,0],[30,1,[\\\"actions\\\",\\\"reloadModel\\\"]]],null]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n\\\\n        \\\"],[8,[30,3,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@isActive\\\",\\\"@onClick\\\"],[[30,4,[\\\"name\\\"]],[28,[37,7],[[30,4,[\\\"id\\\"]],[30,0,[\\\"_currentItem\\\"]]],null],[28,[37,6],[[30,0],\\\"transitionToDetail\\\",[30,4,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n      \\\"]],[3,4]]]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\"],[46,[28,[37,9],null,null],null,null,null]],[\\\"f\\\",\\\"view\\\",\\\"list\\\",\\\"item\\\"],false,[\\\"ui-filterable\\\",\\\"ui-content-views\\\",\\\"t\\\",\\\"ui-list\\\",\\\"svg-jar\\\",\\\"ui-button\\\",\\\"action\\\",\\\"eq\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/email-templates/list.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/email-templates/list/detail\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiContentViews @title={{this.model.title}} as |view|>\n    <view.navbar @onClose={{action \"back\"}} />\n  \n    <view.intro @title={{this.model.name}} @size=\"xl\" />\n  \n    <view.content @stretch={{true}} @class=\"bt b--secondary-15 pt3 mv4\">\n      <AaEmailTemplatePreview @organization={{this.organization}} />\n    </view.content>\n  \n    <view.footer>\n      <UiButton\n        @class=\"absolute bottom-3 right-3\"\n        @icon=\"edit\"\n        @isFabButton={{true}}\n        @onClick={{action \"edit\"}}\n      />\n    </view.footer>\n  </UiContentViews>\n  */\n  {\n    \"id\": \"BzIBxzp/\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\"],[[30,0,[\\\"model\\\",\\\"title\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,[[\\\"@onClose\\\"],[[28,[37,1],[[30,0],\\\"back\\\"],null]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@size\\\"],[[30,0,[\\\"model\\\",\\\"name\\\"]],\\\"xl\\\"]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,[[\\\"@stretch\\\",\\\"@class\\\"],[true,\\\"bt b--secondary-15 pt3 mv4\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@organization\\\"],[[30,0,[\\\"organization\\\"]]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,3],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"edit\\\",true,[28,[37,1],[[30,0],\\\"edit\\\"],null]]],null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"view\\\"],false,[\\\"ui-content-views\\\",\\\"action\\\",\\\"aa-email-template-preview\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/email-templates/list/detail.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{outlet}}\n  */\n  {\n    \"id\": \"pbPHPjPN\",\n    \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],false,[\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/index.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/organization\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiContentViews\n    @title={{t \"routes.organization.title\"}}\n    @class=\"index-view flex-column\"\n    @hasHeader={{true}}\n    as |view|\n  >\n    <AaFileUpload\n      @accept=\".jpg,.jpeg,.png\"\n      @class=\"avatar-upload ohidden relative bg-white br1\"\n      @onFileChange={{this.uploadLogo}}\n      @minDimensions={{this.imageDimensions}}\n      @uploadUrl={{this.uploadUrl}}\n      @type=\"default\"\n      @isDisabled={{if this.hasAdminAccess false true}}\n      @url={{this.model.imagePath}}\n      as |logoUpload|\n    >\n      <AaFileUpload\n        @accept=\".jpg,.jpeg,.png\"\n        @onFileChange={{this.uploadBackgroundImage}}\n        @minDimensions={{this.headerImageDimensions}}\n        @maxImageSize={{5242880}}\n        @uploadUrl={{this.uploadUrl}}\n        @type=\"header\"\n        @isDisabled={{if this.hasAdminAccess false true}}\n        @url={{this.model.imageHeaderPath}}\n        as |headerUpload|\n      >\n        {{#unless this.isViewer}}\n          <view.navbar as |nav|>\n            <nav.action\n              @label={{t \"instance.information\"}}\n              @isBlur={{true}}\n              @onClick={{fn (mut this._isDomainSwapInformationOpen) true}}\n            />\n            {{#unless this.isDeleteImageDisabled}}\n              <nav.action\n                @label={{t \"instance.deleteLogo\"}}\n                @isBlur={{true}}\n                @onClick={{logoUpload.onDelete}}\n                data-test-delete-image\n              />\n            {{/unless}}\n            {{#unless this.isDeleteHeaderImageDisabled}}\n              <nav.action\n                @label={{t \"instance.deleteBackgroundImage\"}}\n                @isBlur={{true}}\n                @onClick={{headerUpload.onDelete}}\n                data-test-delete-headerimage\n              />\n            {{/unless}}\n          </view.navbar>\n        {{/unless}}\n  \n        <view.contentHeader>\n          <div class=\"user-section ohidden relative bg-primary\">\n            {{#if this.model.imageHeaderPath}}\n              <div class=\"absolute absolute--fill flex justify-center items-center\">\n                <img\n                  class=\"background-image\"\n                  src=\"{{this.model.imageHeaderPath}}\"\n                  alt=\"Cover Bild\"\n                  data-test-background-image\n                />\n              </div>\n            {{/if}}\n  \n            <div\n              class=\"user-section--inner ma-auto h-100 flex flex-column flex-row-sm justify-center justify-start-md items-center\"\n            >\n              <logoUpload.input data-test-logo-upload />\n              <div class=\"details white relative\">\n                <div class=\"name font-lg font-regular mt2\">\n                  {{this.model.name}}\n                </div>\n                <a\n                  class=\"font-sm white\"\n                  href={{this.model.website}}\n                  target=\"_blank\"\n                  rel=\"noopener noreferrer\"\n                >\n                  {{this.model.website}}\n                </a>\n              </div>\n            </div>\n  \n            {{#if this.hasAdminAccess}}\n              {{#if headerUpload.isLoading}}\n                <UiLoading @classNames=\"absolute right-2 bottom-2 flex items-center mv1 mh2\" />\n              {{else}}\n                <label\n                  class=\"cpointer absolute right-2 bottom-2 flex items-center pv1 ph2 br1\"\n                  for=\"image-upload\"\n                >\n                  {{svg-jar \"camera\" class=\"white\"}}\n                  <div class=\"font-sm pl1 white\">\n                    {{t \"instance.changeBackgroundImage\"}}\n                  </div>\n                  <input\n                    type=\"file\"\n                    class=\"dn\"\n                    id=\"image-upload\"\n                    accept={{headerUpload.accept}}\n                    onchange={{headerUpload.onChange}}\n                    data-test-background-image-upload\n                  />\n                </label>\n              {{/if}}\n            {{/if}}\n          </div>\n        </view.contentHeader>\n  \n        <view.content>\n          <div class=\"index-view-content ma-auto pt4 w-100 ph1\">\n            {{#if this._pendingDomainSwap}}\n              <UiInlineNotification\n                @class=\"mb4\"\n                @isWarning={{true}}\n                @icon=\"warning\"\n                @title={{t\n                  \"instance.pendingDomainSwapNotification\"\n                  date=(format-date this._pendingDomainSwap.scheduled_at day=\"2-digit\" month=\"long\" year=\"numeric\")\n                  time=(format-time this._pendingDomainSwap.scheduled_at format=\"hhmm\")\n                }}\n              />\n            {{/if}}\n            <AaOrganization::Detail @organization={{this.model}} />\n  \n            {{outlet}}\n          </div>\n        </view.content>\n      </AaFileUpload>\n    </AaFileUpload>\n  \n    <view.footer @classNames=\"flex flex-column items-end views__footer w-100\">\n      {{#if (and this.isOrganizationRoute this.hasAdminAccess)}}\n        <UiButton\n          @class=\"absolute bottom-3 right-3\"\n          @icon=\"edit\"\n          @isFabButton={{true}}\n          @onClick={{fn (mut this.isDetailDialog) true}}\n          data-test-open-profile-action\n        />\n      {{/if}}\n    </view.footer>\n  </UiContentViews>\n  \n  {{#if this.isDetailDialog}}\n    <AaOrganization::DialogForm\n      @organization={{this.model}}\n      @organizationDomainSettings={{this._organizationDomainSettings}}\n      @countries={{this.countries}}\n      @onClose={{this.onCloseDetailDialog}}\n    />\n  {{/if}}\n  \n  {{#if this._isDomainSwapInformationOpen}}\n    <AaOrganization::DomainSwapInformation\n      @organizationId={{this.organizationId}}\n      @onClose={{fn (mut this._isDomainSwapInformationOpen) false}}\n      @onSwapRevoked={{perform this.fetchPendingDomainSwap}}\n    />\n  {{/if}}\n  */\n  {\n    \"id\": \"hFRCfoQk\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@class\\\",\\\"@hasHeader\\\"],[[28,[37,1],[\\\"routes.organization.title\\\"],null],\\\"index-view flex-column\\\",true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,2],null,[[\\\"@accept\\\",\\\"@class\\\",\\\"@onFileChange\\\",\\\"@minDimensions\\\",\\\"@uploadUrl\\\",\\\"@type\\\",\\\"@isDisabled\\\",\\\"@url\\\"],[\\\".jpg,.jpeg,.png\\\",\\\"avatar-upload ohidden relative bg-white br1\\\",[30,0,[\\\"uploadLogo\\\"]],[30,0,[\\\"imageDimensions\\\"]],[30,0,[\\\"uploadUrl\\\"]],\\\"default\\\",[52,[30,0,[\\\"hasAdminAccess\\\"]],false,true],[30,0,[\\\"model\\\",\\\"imagePath\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@accept\\\",\\\"@onFileChange\\\",\\\"@minDimensions\\\",\\\"@maxImageSize\\\",\\\"@uploadUrl\\\",\\\"@type\\\",\\\"@isDisabled\\\",\\\"@url\\\"],[\\\".jpg,.jpeg,.png\\\",[30,0,[\\\"uploadBackgroundImage\\\"]],[30,0,[\\\"headerImageDimensions\\\"]],5242880,[30,0,[\\\"uploadUrl\\\"]],\\\"header\\\",[52,[30,0,[\\\"hasAdminAccess\\\"]],false,true],[30,0,[\\\"model\\\",\\\"imageHeaderPath\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isViewer\\\"]]],[[[1,\\\"        \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,4,[\\\"action\\\"]],null,[[\\\"@label\\\",\\\"@isBlur\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"instance.information\\\"],null],true,[28,[37,5],[[28,[37,6],[[30,0,[\\\"_isDomainSwapInformationOpen\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isDeleteImageDisabled\\\"]]],[[[1,\\\"            \\\"],[8,[30,4,[\\\"action\\\"]],[[24,\\\"data-test-delete-image\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isBlur\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"instance.deleteLogo\\\"],null],true,[30,2,[\\\"onDelete\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[41,[51,[30,0,[\\\"isDeleteHeaderImageDisabled\\\"]]],[[[1,\\\"            \\\"],[8,[30,4,[\\\"action\\\"]],[[24,\\\"data-test-delete-headerimage\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isBlur\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"instance.deleteBackgroundImage\\\"],null],true,[30,3,[\\\"onDelete\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"        \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n      \\\"],[8,[30,1,[\\\"contentHeader\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"user-section ohidden relative bg-primary\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"model\\\",\\\"imageHeaderPath\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"absolute absolute--fill flex justify-center items-center\\\"],[12],[1,\\\"\\\\n              \\\"],[10,\\\"img\\\"],[14,0,\\\"background-image\\\"],[15,\\\"src\\\",[29,[[30,0,[\\\"model\\\",\\\"imageHeaderPath\\\"]]]]],[14,\\\"alt\\\",\\\"Cover Bild\\\"],[14,\\\"data-test-background-image\\\",\\\"\\\"],[12],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"user-section--inner ma-auto h-100 flex flex-column flex-row-sm justify-center justify-start-md items-center\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[30,2,[\\\"input\\\"]],[[24,\\\"data-test-logo-upload\\\",\\\"\\\"]],null,null],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"details white relative\\\"],[12],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"name font-lg font-regular mt2\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"model\\\",\\\"name\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,3],[14,0,\\\"font-sm white\\\"],[15,6,[30,0,[\\\"model\\\",\\\"website\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"model\\\",\\\"website\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"hasAdminAccess\\\"]],[[[41,[30,3,[\\\"isLoading\\\"]],[[[1,\\\"              \\\"],[8,[39,7],null,[[\\\"@classNames\\\"],[\\\"absolute right-2 bottom-2 flex items-center mv1 mh2\\\"]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[10,\\\"label\\\"],[14,0,\\\"cpointer absolute right-2 bottom-2 flex items-center pv1 ph2 br1\\\"],[14,\\\"for\\\",\\\"image-upload\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,8],[\\\"camera\\\"],[[\\\"class\\\"],[\\\"white\\\"]]]],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"font-sm pl1 white\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,1],[\\\"instance.changeBackgroundImage\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[14,0,\\\"dn\\\"],[14,1,\\\"image-upload\\\"],[15,\\\"accept\\\",[30,3,[\\\"accept\\\"]]],[15,\\\"onchange\\\",[30,3,[\\\"onChange\\\"]]],[14,\\\"data-test-background-image-upload\\\",\\\"\\\"],[14,4,\\\"file\\\"],[12],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\"]],[]]]],[]],null],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"index-view-content ma-auto pt4 w-100 ph1\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_pendingDomainSwap\\\"]],[[[1,\\\"            \\\"],[8,[39,9],null,[[\\\"@class\\\",\\\"@isWarning\\\",\\\"@icon\\\",\\\"@title\\\"],[\\\"mb4\\\",true,\\\"warning\\\",[28,[37,1],[\\\"instance.pendingDomainSwapNotification\\\"],[[\\\"date\\\",\\\"time\\\"],[[28,[37,10],[[30,0,[\\\"_pendingDomainSwap\\\",\\\"scheduled_at\\\"]]],[[\\\"day\\\",\\\"month\\\",\\\"year\\\"],[\\\"2-digit\\\",\\\"long\\\",\\\"numeric\\\"]]],[28,[37,11],[[30,0,[\\\"_pendingDomainSwap\\\",\\\"scheduled_at\\\"]]],[[\\\"format\\\"],[\\\"hhmm\\\"]]]]]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[8,[39,12],null,[[\\\"@organization\\\"],[[30,0,[\\\"model\\\"]]]],null],[1,\\\"\\\\n\\\\n          \\\"],[46,[28,[37,14],null,null],null,null,null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[3]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"flex flex-column items-end views__footer w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,15],[[30,0,[\\\"isOrganizationRoute\\\"]],[30,0,[\\\"hasAdminAccess\\\"]]],null],[[[1,\\\"      \\\"],[8,[39,16],[[24,\\\"data-test-open-profile-action\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"edit\\\",true,[28,[37,5],[[28,[37,6],[[30,0,[\\\"isDetailDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isDetailDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,17],null,[[\\\"@organization\\\",\\\"@organizationDomainSettings\\\",\\\"@countries\\\",\\\"@onClose\\\"],[[30,0,[\\\"model\\\"]],[30,0,[\\\"_organizationDomainSettings\\\"]],[30,0,[\\\"countries\\\"]],[30,0,[\\\"onCloseDetailDialog\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"_isDomainSwapInformationOpen\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@organizationId\\\",\\\"@onClose\\\",\\\"@onSwapRevoked\\\"],[[30,0,[\\\"organizationId\\\"]],[28,[37,5],[[28,[37,6],[[30,0,[\\\"_isDomainSwapInformationOpen\\\"]]],null],false],null],[28,[37,19],[[30,0,[\\\"fetchPendingDomainSwap\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"view\\\",\\\"logoUpload\\\",\\\"headerUpload\\\",\\\"nav\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"aa-file-upload\\\",\\\"if\\\",\\\"unless\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-loading\\\",\\\"svg-jar\\\",\\\"ui-inline-notification\\\",\\\"format-date\\\",\\\"format-time\\\",\\\"aa-organization/detail\\\",\\\"component\\\",\\\"-outlet\\\",\\\"and\\\",\\\"ui-button\\\",\\\"aa-organization/dialog-form\\\",\\\"aa-organization/domain-swap-information\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/organization.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiContentViews @title={{t \"routes.organization.title\"}} @theme=\"grey\" as |view|>\n    <view.navbar />\n  \n    <view.content>\n      <UiRoutableTabs @tabRoutes={{this.routableTabs}} as |tabs|>\n        <tabs.header @classNames=\"pb2\" as |header|>\n          {{#each this.routableTabs as |route|}}\n            <header.tab @tabName={{route.name}} @routePath={{route.path}} />\n          {{/each}}\n        </tabs.header>\n  \n        <tabs.content @class=\"flex flex-column\">\n          {{outlet}}\n        </tabs.content>\n      </UiRoutableTabs>\n    </view.content>\n  \n    <view.footer @classNames=\"flex flex-column items-end views__footer w-100\">\n      <div id=\"settings-fab-button-container\"></div>\n    </view.footer>\n  </UiContentViews>\n  */\n  {\n    \"id\": \"5sCoRlTo\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"routes.organization.title\\\"],null],\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@tabRoutes\\\"],[[30,0,[\\\"routableTabs\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"header\\\"]],null,[[\\\"@classNames\\\"],[\\\"pb2\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"routableTabs\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[8,[30,3,[\\\"tab\\\"]],null,[[\\\"@tabName\\\",\\\"@routePath\\\"],[[30,4,[\\\"name\\\"]],[30,4,[\\\"path\\\"]]]],null],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\"      \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[30,2,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"flex flex-column\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[46,[28,[37,6],null,null],null,null,null],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"flex flex-column items-end views__footer w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,1,\\\"settings-fab-button-container\\\"],[12],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"view\\\",\\\"tabs\\\",\\\"header\\\",\\\"route\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"ui-routable-tabs\\\",\\\"each\\\",\\\"-track-array\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/closing-periods\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiIntro @title={{t \"routes.settings.closingPeriods.title\"}} @size=\"xl\" @classNames=\"pb3\" />\n  \n  <UiList\n    @items={{this.closingPeriods}}\n    @isLoading={{this.isLoading}}\n    @placeholderCount={{5}}\n    @isError={{this.isError}}\n    as |list item|\n  >\n    <list.count @totalCount={{this.closingPeriods.length}} />\n  \n    <list.item\n      @title={{item.title}}\n      @description={{item.note}}\n      @isDisabled={{this.isMember}}\n      @onClick={{action \"openDetail\" item}}\n      as |controls|\n    >\n      <controls.right>\n        {{#unless this.isMember}}\n          <UiItemMenu as |content|>\n            <content.menuItem\n              @label={{t \"global.actions.delete\"}}\n              @isDanger={{true}}\n              @onClick={{action \"delete\" item}}\n            />\n          </UiItemMenu>\n        {{/unless}}\n      </controls.right>\n    </list.item>\n  \n    <list.empty>\n      <div class=\"flex justify-center font-sm secondary pt3\">\n        {{t \"routes.settings.roomCounts.empty\"}}\n      </div>\n    </list.empty>\n  \n    <list.error>\n      <div class=\"flex justify-center font-sm secondary pt3\">\n        <UiButton @label={{t \"global.actions.retry\"}} @onClick={{perform this.fetchClosingPeriods}} />\n      </div>\n    </list.error>\n  </UiList>\n  \n  {{#if this.isDetailDialog}}\n    <AaSettings::ClosingPeriods::Detail\n      @closingPeriod={{this.activeClosingPeriod}}\n      @fetchClosingPeriods={{this.fetchClosingPeriods}}\n      @onClose={{action (mut this.isDetailDialog) false}}\n    />\n  {{/if}}\n  \n  {{#if (and this.fabButtonContainer this.isManager)}}\n    {{#in-element this.fabButtonContainer}}\n      <UiButton\n        @class=\"absolute bottom-3 right-3\"\n        @icon=\"plus\"\n        @isFabButton={{true}}\n        @onClick={{action \"openDetail\" null}}\n      />\n    {{/in-element}}\n  {{/if}}\n  */\n  {\n    \"id\": \"jkEz2suk\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@classNames\\\"],[[28,[37,1],[\\\"routes.settings.closingPeriods.title\\\"],null],\\\"xl\\\",\\\"pb3\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],null,[[\\\"@items\\\",\\\"@isLoading\\\",\\\"@placeholderCount\\\",\\\"@isError\\\"],[[30,0,[\\\"closingPeriods\\\"]],[30,0,[\\\"isLoading\\\"]],5,[30,0,[\\\"isError\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"count\\\"]],null,[[\\\"@totalCount\\\"],[[30,0,[\\\"closingPeriods\\\",\\\"length\\\"]]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[30,2,[\\\"title\\\"]],[30,2,[\\\"note\\\"]],[30,0,[\\\"isMember\\\"]],[28,[37,3],[[30,0],\\\"openDetail\\\",[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isMember\\\"]]],[[[1,\\\"        \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,4,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.delete\\\"],null],true,[28,[37,3],[[30,0],\\\"delete\\\",[30,2]],null]]],null],[1,\\\"\\\\n        \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"empty\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex justify-center font-sm secondary pt3\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"routes.settings.roomCounts.empty\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"error\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"flex justify-center font-sm secondary pt3\\\"],[12],[1,\\\"\\\\n      \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.retry\\\"],null],[28,[37,7],[[30,0,[\\\"fetchClosingPeriods\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1,2]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isDetailDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,9],null,[[\\\"@closingPeriod\\\",\\\"@fetchClosingPeriods\\\",\\\"@onClose\\\"],[[30,0,[\\\"activeClosingPeriod\\\"]],[30,0,[\\\"fetchClosingPeriods\\\"]],[28,[37,3],[[30,0],[28,[37,10],[[30,0,[\\\"isDetailDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,11],[[30,0,[\\\"fabButtonContainer\\\"]],[30,0,[\\\"isManager\\\"]]],null],[[[40,[[[1,\\\"    \\\"],[8,[39,6],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"plus\\\",true,[28,[37,3],[[30,0],\\\"openDetail\\\",null],null]]],null],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,13],[[30,0,[\\\"fabButtonContainer\\\"]]],null]]],[]],null]],[\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"content\\\"],false,[\\\"ui-intro\\\",\\\"t\\\",\\\"ui-list\\\",\\\"action\\\",\\\"unless\\\",\\\"ui-item-menu\\\",\\\"ui-button\\\",\\\"perform\\\",\\\"if\\\",\\\"aa-settings/closing-periods/detail\\\",\\\"mut\\\",\\\"and\\\",\\\"in-element\\\",\\\"-in-el-null\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/closing-periods.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/communication\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiIntro\n    @title={{t \"routes.settings.communication.title\"}}\n    @description={{t \"routes.settings.communication.introText\"}}\n    @size=\"xl\"\n    @classNames=\"pb3\"\n    @isMultiline={{true}}\n  />\n  \n  {{#if this.settings}}\n    <UiControlPanelGroup\n      @title={{t \"routes.settings.communication.languages\"}}\n      @placeholderCount={{3}}\n      @isLoading={{this.fetchSettingsTask.isRunning}}\n      as |Group|\n    >\n      <Group.panel\n        @label={{t (concat \"languageSelect.\" this.defaultLanguage)}}\n        @isReadOnly={{true}}\n      />\n      {{#each this.addedLanguages as |lang|}}\n        <Group.panel @label={{t (concat \"languageSelect.\" lang)}} @isReadOnly={{true}} as |panel|>\n          {{#unless this.isDisabled}}\n            <panel.right>\n              <UiIconButton\n                @icon=\"delete\"\n                @isDanger={{true}}\n                @isDisabled={{this.isDisabled}}\n                @onClick={{action \"openDeleteConfirm\" lang}}\n              />\n            </panel.right>\n          {{/unless}}\n        </Group.panel>\n      {{/each}}\n    </UiControlPanelGroup>\n  \n    {{#if this.fetchSalutationSettings.isRunning}}\n      <UiSkeleton @class=\"pt3 mt4\" @items={{5}} @itemsPerRow={{1}} @cardHeight={{64}} @gap={{4}} />\n    {{else if this.isSalutationSettingsError}}\n      <div class=\"flex flex-column justify-center items-center font-sm secondary text-center pt2 ph3\">\n        {{t \"components.aaSettings.salutationSettings.fetchError\"}}\n        <div class=\"pa2\">\n          <UiButton\n            @label={{t \"global.actions.retry\"}}\n            @onClick={{perform this.fetchSalutationSettings}}\n          />\n        </div>\n      </div>\n    {{else}}\n      <AaSettings::SalutationSettings @salutationSettings={{this.salutationSettings}} />\n    {{/if}}\n  {{/if}}\n  \n  {{#if (and this.fabButtonContainer this.addableLanguages.length this.isAdmin)}}\n    {{#in-element this.fabButtonContainer}}\n      <UiButton\n        @icon=\"plus\"\n        @class=\"absolute bottom-3 right-3\"\n        @isFabButton={{true}}\n        @onClick={{action (mut this.isAddLangDialog) true}}\n      />\n    {{/in-element}}\n  {{/if}}\n  \n  {{#if this.isAddLangDialog}}\n    <UiModal\n      @title={{t \"routes.settings.communication.addLanguages\"}}\n      @onClose={{action (mut this.isAddLangDialog) false}}\n      @theme=\"grey\"\n      as |modal|\n    >\n      <modal.header />\n  \n      <modal.content as |content|>\n        <content.body>\n          <UiItemGroup @class=\"w-100\" as |group|>\n            {{#each this.addableLanguages as |lang|}}\n              <group.item\n                @classNames=\"flex h4 font-sm bg-white ph2\"\n                @title={{t (concat \"languageSelect.\" lang)}}\n                @isPromise={{true}}\n                @onClick={{action \"addLanguage\" lang}}\n                @isDisabled={{this.addLanguageTask.isRunning}}\n                as |item title description isLoading|\n              >\n                <item.intro @title={{title}} />\n                {{#if isLoading}}\n                  <UiLoading />\n                {{/if}}\n              </group.item>\n            {{/each}}\n          </UiItemGroup>\n        </content.body>\n      </modal.content>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isDeleteDialog}}\n    <UiModal\n      @title={{t \"routes.settings.communication.confirmDeleteDialog.title\"}}\n      @onClose={{action (mut this.isDeleteDialog) false}}\n      as |m|\n    >\n      <m.header />\n      <m.content as |content|>\n        <content.body>\n          {{t\n            \"routes.settings.communication.confirmDeleteDialog.description\"\n            language=(t (concat \"languageSelect.\" this.toDeleteLanguage))\n          }}\n        </content.body>\n      </m.content>\n      <m.footer>\n        <UiButton\n          @label={{t \"global.actions.remove\"}}\n          @onClick={{action \"removeLanguage\" this.toDeleteLanguage}}\n        />\n      </m.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"eLEXZdJj\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@size\\\",\\\"@classNames\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.settings.communication.title\\\"],null],[28,[37,1],[\\\"routes.settings.communication.introText\\\"],null],\\\"xl\\\",\\\"pb3\\\",true]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"settings\\\"]],[[[1,\\\"  \\\"],[8,[39,3],null,[[\\\"@title\\\",\\\"@placeholderCount\\\",\\\"@isLoading\\\"],[[28,[37,1],[\\\"routes.settings.communication.languages\\\"],null],3,[30,0,[\\\"fetchSettingsTask\\\",\\\"isRunning\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@isReadOnly\\\"],[[28,[37,1],[[28,[37,4],[\\\"languageSelect.\\\",[30,0,[\\\"defaultLanguage\\\"]]],null]],null],true]],null],[1,\\\"\\\\n\\\"],[42,[28,[37,6],[[28,[37,6],[[30,0,[\\\"addedLanguages\\\"]]],null]],null],null,[[[1,\\\"      \\\"],[8,[30,1,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@isReadOnly\\\"],[[28,[37,1],[[28,[37,4],[\\\"languageSelect.\\\",[30,2]],null]],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[51,[30,0,[\\\"isDisabled\\\"]]],[[[1,\\\"          \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,8],null,[[\\\"@icon\\\",\\\"@isDanger\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"delete\\\",true,[30,0,[\\\"isDisabled\\\"]],[28,[37,9],[[30,0],\\\"openDeleteConfirm\\\",[30,2]],null]]],null],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\"  \\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"fetchSalutationSettings\\\",\\\"isRunning\\\"]],[[[1,\\\"    \\\"],[8,[39,10],null,[[\\\"@class\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"pt3 mt4\\\",5,1,64,4]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"isSalutationSettingsError\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex flex-column justify-center items-center font-sm secondary text-center pt2 ph3\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"components.aaSettings.salutationSettings.fetchError\\\"],null]],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"pa2\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.retry\\\"],null],[28,[37,12],[[30,0,[\\\"fetchSalutationSettings\\\"]]],null]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[8,[39,13],null,[[\\\"@salutationSettings\\\"],[[30,0,[\\\"salutationSettings\\\"]]]],null],[1,\\\"\\\\n  \\\"]],[]]]],[]]]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,14],[[30,0,[\\\"fabButtonContainer\\\"]],[30,0,[\\\"addableLanguages\\\",\\\"length\\\"]],[30,0,[\\\"isAdmin\\\"]]],null],[[[40,[[[1,\\\"    \\\"],[8,[39,11],null,[[\\\"@icon\\\",\\\"@class\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"plus\\\",\\\"absolute bottom-3 right-3\\\",true,[28,[37,9],[[30,0],[28,[37,17],[[30,0,[\\\"isAddLangDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,16],[[30,0,[\\\"fabButtonContainer\\\"]]],null]]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isAddLangDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@title\\\",\\\"@onClose\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"routes.settings.communication.addLanguages\\\"],null],[28,[37,9],[[30,0],[28,[37,17],[[30,0,[\\\"isAddLangDialog\\\"]]],null],false],null],\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,5,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,19],null,[[\\\"@class\\\"],[\\\"w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,6],[[28,[37,6],[[30,0,[\\\"addableLanguages\\\"]]],null]],null],null,[[[1,\\\"            \\\"],[8,[30,6,[\\\"item\\\"]],null,[[\\\"@classNames\\\",\\\"@title\\\",\\\"@isPromise\\\",\\\"@onClick\\\",\\\"@isDisabled\\\"],[\\\"flex h4 font-sm bg-white ph2\\\",[28,[37,1],[[28,[37,4],[\\\"languageSelect.\\\",[30,7]],null]],null],true,[28,[37,9],[[30,0],\\\"addLanguage\\\",[30,7]],null],[30,0,[\\\"addLanguageTask\\\",\\\"isRunning\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"intro\\\"]],null,[[\\\"@title\\\"],[[30,9]]],null],[1,\\\"\\\\n\\\"],[41,[30,11],[[[1,\\\"                \\\"],[8,[39,20],null,null,null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"]],[8,9,10,11]]]]],[1,\\\"\\\\n\\\"]],[7]],null],[1,\\\"        \\\"]],[6]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[5]]]]],[1,\\\"\\\\n  \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDeleteDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@title\\\",\\\"@onClose\\\"],[[28,[37,1],[\\\"routes.settings.communication.confirmDeleteDialog.title\\\"],null],[28,[37,9],[[30,0],[28,[37,17],[[30,0,[\\\"isDeleteDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,12,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,12,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,13,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.communication.confirmDeleteDialog.description\\\"],[[\\\"language\\\"],[[28,[37,1],[[28,[37,4],[\\\"languageSelect.\\\",[30,0,[\\\"toDeleteLanguage\\\"]]],null]],null]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[13]]]]],[1,\\\"\\\\n    \\\"],[8,[30,12,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,11],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.remove\\\"],null],[28,[37,9],[[30,0],\\\"removeLanguage\\\",[30,0,[\\\"toDeleteLanguage\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[12]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"Group\\\",\\\"lang\\\",\\\"panel\\\",\\\"modal\\\",\\\"content\\\",\\\"group\\\",\\\"lang\\\",\\\"item\\\",\\\"title\\\",\\\"description\\\",\\\"isLoading\\\",\\\"m\\\",\\\"content\\\"],false,[\\\"ui-intro\\\",\\\"t\\\",\\\"if\\\",\\\"ui-control-panel-group\\\",\\\"concat\\\",\\\"each\\\",\\\"-track-array\\\",\\\"unless\\\",\\\"ui-icon-button\\\",\\\"action\\\",\\\"ui-skeleton\\\",\\\"ui-button\\\",\\\"perform\\\",\\\"aa-settings/salutation-settings\\\",\\\"and\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"mut\\\",\\\"ui-modal\\\",\\\"ui-item-group\\\",\\\"ui-loading\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/communication.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/goals\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiIntro\n    @title={{t \"routes.settings.goals.title\"}}\n    @description={{t \"routes.settings.goals.introText\"}}\n    @size=\"xl\"\n    @classNames=\"pb2\"\n    @isMultiline={{true}}\n  />\n  \n  <div {{did-insert (perform this._fetchGoals)}} />\n  <UiIconButton\n    @class=\"mb4\"\n    @icon=\"plus-circle-filled\"\n    @label={{t \"routes.settings.goals.createGoal\"}}\n    @isDisabled={{this.isMaxGoalsReached}}\n    @onClick={{this._onOpenCreateGoalDialog}}\n  />\n  \n  {{#if this._fetchGoals.isRunning}}\n    <UiSkeleton @items={{1}} @itemsPerRow={{1}} @cardHeight={{20}} @gap={{16}} />\n    <UiSkeleton @items={{4}} @itemsPerRow={{1}} @cardHeight={{44}} @gap={{4}}/>\n  {{else if this.noGoalsDefined}}\n    <div class=\"flex flex-column items-center\">\n      {{svg-jar \"empty-content-grey\"}}\n      <div class=\"secondary font-sm mb1\">{{t \"routes.settings.goals.noGoalsCreated\"}}</div>\n      <UiIconButton\n        @icon=\"plus-circle-filled\"\n        @label={{t \"routes.settings.goals.createFirstGoal\"}}\n        @onClick={{this._onOpenCreateGoalDialog}}\n      />\n    </div>\n  {{else}}\n    {{#if this.activeGoals}}\n      <UiControlPanelGroup\n        @title={{t \"routes.settings.goals.activeGoals\"}}\n        as |Group|\n      >\n        {{#each this.activeGoals as |goal|}}\n          <Group.panel @label={{goal.title}} @value={{if goal.description goal.description \"-\"}} @onPanelClick={{fn this._openDetailDialog goal}} as |panel|>\n            <panel.right>\n              <div class=\"cpointer\" {{on \"click\" this._stopPropagation}}>\n                <UiSwitch @value={{goal.isActive}} @onChange={{fn this._deactivateGoal goal}} />\n              </div>\n  \n              <UiItemMenu as |content|>\n                <content.menuItem\n                  @label={{t \"routes.settings.goals.edit\"}}\n                  @onClick={{fn this._onOpenEditGoalDialog goal}}\n                />\n              </UiItemMenu>\n            </panel.right>\n          </Group.panel>\n        {{/each}}\n      </UiControlPanelGroup>\n    {{/if}}\n  \n    {{#if this.draftGoals}}\n      <UiControlPanelGroup\n        @class=\"mt4\"\n        @title={{t \"routes.settings.goals.draftGoals\"}}\n        as |Group|\n      >\n        {{#each this.draftGoals as |goal|}}\n          <Group.panel @label={{goal.title}} @value={{if goal.description goal.description \"-\"}} @onPanelClick={{fn this._openDetailDialog goal}} as |panel|>\n            <panel.right>\n              <div class=\"cpointer\" {{on \"click\" this._stopPropagation}}>\n                <UiSwitch @value={{goal.isActive}} @onChange={{perform this._toggleGoal goal}} @isReadOnly={{this.isMaxGoalsReached}} />\n              </div>\n  \n              <UiItemMenu as |content|>\n                <content.menuItem\n                  @label={{t \"routes.settings.goals.edit\"}}\n                  @onClick={{fn this._onOpenEditGoalDialog goal}}\n                />\n              </UiItemMenu>\n            </panel.right>\n          </Group.panel>\n        {{/each}}\n      </UiControlPanelGroup>\n    {{/if}}\n  \n    {{#if this.inactiveGoals}}\n      <div class=\"flex mt4 mb2 cpointer\" {{on \"click\" (fn (mut this.showInactiveGoals) (not this.showInactiveGoals))}}>\n        <div class=\"font-medium font-sm secondary\">{{t \"routes.settings.goals.inactiveGoals\"}}</div>\n        {{svg-jar (if this.showInactiveGoals \"pointer-up\" \"pointer-down\") class=\"secondary\" height=\"20\" width=\"20\"}}\n      </div>\n      {{#if this.showInactiveGoals}}\n        <UiControlPanelGroup as |Group|>\n          {{#each this.inactiveGoals as |goal|}}\n            <Group.panel @label={{goal.title}} @value={{if goal.description goal.description \"-\"}} @onPanelClick={{fn this._openDetailDialog goal}} />\n          {{/each}}\n        </UiControlPanelGroup>\n      {{/if}}\n    {{/if}}\n  {{/if}}\n  \n  {{#if (or this.isCreateGoalDialog this.isEditGoalDialog)}}\n    <UiModal\n      @size=\"md\"\n      @title={{if this.isEditGoalDialog (t \"routes.settings.goals.editGoalDialog.title\") (t \"routes.settings.goals.createGoalDialog.title\")}}\n      @onClose={{this._onCloseCreateGoalDialog}}\n      as |modal|\n    >\n      <modal.header />\n  \n      <modal.content as |content|>\n        <content.body>\n          <UiInput\n            @label={{concat (t \"routes.settings.goals.createGoalDialog.goalTitle\") \"*\"}}\n            @placeholder={{t \"routes.settings.goals.createGoalDialog.goalTitlePlaceholder\"}}\n            @value={{this.goalChangeset.title}}\n            @errorMessage={{get this.goalChangeset.error.title.validation \"0\"}}\n            @maxlength={{90}}\n            @isTouched={{true}}\n          />\n  \n          <UiInput\n            @label={{t \"routes.settings.goals.createGoalDialog.goalDescription\"}}\n            @placeholder={{t \"routes.settings.goals.createGoalDialog.goalDescriptionPlaceholder\"}}\n            @value={{this.goalChangeset.description}}\n            @errorMessage={{get this.goalChangeset.error.description.validation \"0\"}}\n            @textarea={{true}}\n            @maxlength={{300}}\n            @isTouched={{true}}\n          />\n  \n          {{#unless this.isEditGoalDialog}}\n            <UiSwitch\n              @label={{t \"routes.settings.goals.createGoalDialog.markAsActive\"}}\n              @onChange={{fn\n                (mut this.goalChangeset.isActive)\n                (not this.goalChangeset.isActive)\n              }}\n              @value={{this.goalChangeset.isActive}}\n            />\n          {{/unless}}\n  \n        </content.body>\n      </modal.content>\n  \n      <modal.footer>\n        <UiActionButton\n          @classNames=\"mr1\"\n          @label={{t \"global.actions.cancel\"}}\n          @onClick={{this._onCloseCreateGoalDialog}}\n        />\n        <UiButton\n          @label={{if this.isEditGoalDialog (t \"routes.settings.goals.editGoalDialog.saveChanges\") (t \"routes.settings.goals.createGoalDialog.create\")}}\n          @isDisabled={{or this._saveGoal.isRunning (not this.goalChangeset.isDirty)}}\n          @onClick={{perform this._saveGoal}}\n        />\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isDetailDialog}}\n    <UiModal\n      @size=\"md\"\n      @title={{this.detailDialogGoal.title}}\n      @onClose={{fn (mut this.isDetailDialog) false}}\n      as |modal|\n    >\n      <modal.header />\n  \n      <modal.content as |content|>\n        <content.body>\n          <div class=\"mb3\">{{this.detailDialogGoal.description}}</div>\n  \n          <UiListItem\n            @hasFixedHeight={{false}}\n            @title={{if\n              this.detailDialogGoal.isActive\n              (t \"routes.settings.goals.detailGoalDialog.statusActive\")\n              (if\n                this.detailDialogGoal.activeUntil\n                (t \"routes.settings.goals.detailGoalDialog.statusInactive\")\n                (t \"routes.settings.goals.detailGoalDialog.statusDraft\")\n              )\n            }}\n            @description={{this.detailDialogGoalDescription}}\n          />\n  \n          <UiList\n            @classNames=\"mt3\"\n            @items={{this.linkedReports}}\n            @title={{t \"routes.settings.goals.detailGoalDialog.linkedReports\"}}\n            @isLoading={{this._fetchGoalDetails.isRunning}}\n            @placeholderCount={{3}}\n            as |list item|\n          >\n            <list.empty>\n              <UiListItem\n                @description={{t \"routes.settings.goals.detailGoalDialog.noReportsLinked\"}}\n              />\n            </list.empty>\n  \n            <list.item\n              @title={{item.title}}\n              @description={{t\n                \"routes.settings.goals.detailGoalDialog.reportPeriod\"\n                start=(format-date item.reportStart format=\"ddmmyyyy\")\n                end=(format-date item.reportEnd format=\"ddmmyyyy\")\n              }}\n              @isDisabled={{true}}\n              as |controls|\n            >\n              <controls.right>\n                {{#if (eq item.status \"on_track\")}}\n                  <div class=\"flex items-center green\">\n                    {{svg-jar \"success-state\" class=\"mr05\" width=\"20\" height=\"20\"}}\n                    <div class=\"font-sm font-medium ws-nowrap\">\n                      {{t \"routes.settings.goals.detailGoalDialog.reportStatus.onTrack\"}}\n                    </div>\n                  </div>\n                {{else if (eq item.status \"at_risk\")}}\n                  <div class=\"flex items-center yellow\">\n                    {{svg-jar \"warning-state\" class=\"mr05\" width=\"20\" height=\"20\"}}\n                    <div class=\"font-sm font-medium ws-nowrap\">\n                      {{t \"routes.settings.goals.detailGoalDialog.reportStatus.atRisk\"}}\n                    </div>\n                  </div>\n                {{else}}\n                  <div class=\"flex items-center red\">\n                    {{svg-jar \"remove\" class=\"mr05\" width=\"20\" height=\"20\"}}\n                    <div class=\"font-sm font-medium ws-nowrap\">\n                      {{t \"routes.settings.goals.detailGoalDialog.reportStatus.offTrack\"}}\n                    </div>\n                  </div>\n                {{/if}}\n  \n                <UiIconButton @icon=\"new-window\" @bubbles={{false}} @onClick={{fn this._openReport item}} />\n              </controls.right>\n            </list.item>\n          </UiList>\n  \n        </content.body>\n      </modal.content>\n  \n      <modal.footer>\n        <UiActionButton @classNames=\"ph1\" @onClick={{fn (mut this.isDetailDialog) false}}>\n          {{t \"global.actions.close\"}}\n        </UiActionButton>\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isConfirmDeactivationDialog}}\n    <UiModal\n      @size=\"sm\"\n      @title={{t \"routes.settings.goals.confirmDeactivationDialog.title\"}}\n      @onClose={{fn (mut this.isConfirmDeactivationDialog) false}}\n      as |modal|\n    >\n      <modal.header />\n  \n      <modal.content as |content|>\n        <content.body>\n          <div>{{t \"routes.settings.goals.confirmDeactivationDialog.description\"}}</div>\n        </content.body>\n      </modal.content>\n  \n      <modal.footer>\n        <UiActionButton @classNames=\"ph1 mr1\" @onClick={{fn (mut this.isConfirmDeactivationDialog) false}}>\n          {{t \"global.actions.cancel\"}}\n        </UiActionButton>\n        <UiButton @classNames=\"ph1\" @onClick={{perform this._toggleGoal this.goalToDeactivate}} @isDanger={{true}}>\n          {{t \"routes.settings.goals.confirmDeactivationDialog.deactivate\"}}\n        </UiButton>\n      </modal.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"91sI+1fn\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@size\\\",\\\"@classNames\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.settings.goals.title\\\"],null],[28,[37,1],[\\\"routes.settings.goals.introText\\\"],null],\\\"xl\\\",\\\"pb2\\\",true]],null],[1,\\\"\\\\n\\\\n\\\"],[11,0],[4,[38,2],[[28,[37,3],[[30,0,[\\\"_fetchGoals\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n\\\"],[8,[39,4],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"mb4\\\",\\\"plus-circle-filled\\\",[28,[37,1],[\\\"routes.settings.goals.createGoal\\\"],null],[30,0,[\\\"isMaxGoalsReached\\\"]],[30,0,[\\\"_onOpenCreateGoalDialog\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_fetchGoals\\\",\\\"isRunning\\\"]],[[[1,\\\"  \\\"],[8,[39,6],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[1,1,20,16]],null],[1,\\\"\\\\n  \\\"],[8,[39,6],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[4,1,44,4]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"noGoalsDefined\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"flex flex-column items-center\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,7],[\\\"empty-content-grey\\\"],null]],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"secondary font-sm mb1\\\"],[12],[1,[28,[35,1],[\\\"routes.settings.goals.noGoalsCreated\\\"],null]],[13],[1,\\\"\\\\n    \\\"],[8,[39,4],null,[[\\\"@icon\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"plus-circle-filled\\\",[28,[37,1],[\\\"routes.settings.goals.createFirstGoal\\\"],null],[30,0,[\\\"_onOpenCreateGoalDialog\\\"]]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"activeGoals\\\"]],[[[1,\\\"    \\\"],[8,[39,8],null,[[\\\"@title\\\"],[[28,[37,1],[\\\"routes.settings.goals.activeGoals\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"activeGoals\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[8,[30,1,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@onPanelClick\\\"],[[30,2,[\\\"title\\\"]],[52,[30,2,[\\\"description\\\"]],[30,2,[\\\"description\\\"]],\\\"-\\\"],[28,[37,11],[[30,0,[\\\"_openDetailDialog\\\"]],[30,2]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[11,0],[24,0,\\\"cpointer\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"_stopPropagation\\\"]]],null],[12],[1,\\\"\\\\n              \\\"],[8,[39,13],null,[[\\\"@value\\\",\\\"@onChange\\\"],[[30,2,[\\\"isActive\\\"]],[28,[37,11],[[30,0,[\\\"_deactivateGoal\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[8,[39,14],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,4,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.goals.edit\\\"],null],[28,[37,11],[[30,0,[\\\"_onOpenEditGoalDialog\\\"]],[30,2]],null]]],null],[1,\\\"\\\\n            \\\"]],[4]]]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[2]],null],[1,\\\"    \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"draftGoals\\\"]],[[[1,\\\"    \\\"],[8,[39,8],null,[[\\\"@class\\\",\\\"@title\\\"],[\\\"mt4\\\",[28,[37,1],[\\\"routes.settings.goals.draftGoals\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"draftGoals\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[8,[30,5,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@onPanelClick\\\"],[[30,6,[\\\"title\\\"]],[52,[30,6,[\\\"description\\\"]],[30,6,[\\\"description\\\"]],\\\"-\\\"],[28,[37,11],[[30,0,[\\\"_openDetailDialog\\\"]],[30,6]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,7,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[11,0],[24,0,\\\"cpointer\\\"],[4,[38,12],[\\\"click\\\",[30,0,[\\\"_stopPropagation\\\"]]],null],[12],[1,\\\"\\\\n              \\\"],[8,[39,13],null,[[\\\"@value\\\",\\\"@onChange\\\",\\\"@isReadOnly\\\"],[[30,6,[\\\"isActive\\\"]],[28,[37,3],[[30,0,[\\\"_toggleGoal\\\"]],[30,6]],null],[30,0,[\\\"isMaxGoalsReached\\\"]]]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[8,[39,14],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.goals.edit\\\"],null],[28,[37,11],[[30,0,[\\\"_onOpenEditGoalDialog\\\"]],[30,6]],null]]],null],[1,\\\"\\\\n            \\\"]],[8]]]]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[7]]]]],[1,\\\"\\\\n\\\"]],[6]],null],[1,\\\"    \\\"]],[5]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"inactiveGoals\\\"]],[[[1,\\\"    \\\"],[11,0],[24,0,\\\"flex mt4 mb2 cpointer\\\"],[4,[38,12],[\\\"click\\\",[28,[37,11],[[28,[37,15],[[30,0,[\\\"showInactiveGoals\\\"]]],null],[28,[37,16],[[30,0,[\\\"showInactiveGoals\\\"]]],null]],null]],null],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-medium font-sm secondary\\\"],[12],[1,[28,[35,1],[\\\"routes.settings.goals.inactiveGoals\\\"],null]],[13],[1,\\\"\\\\n      \\\"],[1,[28,[35,7],[[52,[30,0,[\\\"showInactiveGoals\\\"]],\\\"pointer-up\\\",\\\"pointer-down\\\"]],[[\\\"class\\\",\\\"height\\\",\\\"width\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showInactiveGoals\\\"]],[[[1,\\\"      \\\"],[8,[39,8],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,10],[[28,[37,10],[[30,0,[\\\"inactiveGoals\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[8,[30,9,[\\\"panel\\\"]],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@onPanelClick\\\"],[[30,10,[\\\"title\\\"]],[52,[30,10,[\\\"description\\\"]],[30,10,[\\\"description\\\"]],\\\"-\\\"],[28,[37,11],[[30,0,[\\\"_openDetailDialog\\\"]],[30,10]],null]]],null],[1,\\\"\\\\n\\\"]],[10]],null],[1,\\\"      \\\"]],[9]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[]],null]],[]]]],[]]],[1,\\\"\\\\n\\\"],[41,[28,[37,17],[[30,0,[\\\"isCreateGoalDialog\\\"]],[30,0,[\\\"isEditGoalDialog\\\"]]],null],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[52,[30,0,[\\\"isEditGoalDialog\\\"]],[28,[37,1],[\\\"routes.settings.goals.editGoalDialog.title\\\"],null],[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.title\\\"],null]],[30,0,[\\\"_onCloseCreateGoalDialog\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,11,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,11,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,12,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,19],null,[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@maxlength\\\",\\\"@isTouched\\\"],[[28,[37,20],[[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.goalTitle\\\"],null],\\\"*\\\"],null],[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.goalTitlePlaceholder\\\"],null],[30,0,[\\\"goalChangeset\\\",\\\"title\\\"]],[28,[37,21],[[30,0,[\\\"goalChangeset\\\",\\\"error\\\",\\\"title\\\",\\\"validation\\\"]],\\\"0\\\"],null],90,true]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,19],null,[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@textarea\\\",\\\"@maxlength\\\",\\\"@isTouched\\\"],[[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.goalDescription\\\"],null],[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.goalDescriptionPlaceholder\\\"],null],[30,0,[\\\"goalChangeset\\\",\\\"description\\\"]],[28,[37,21],[[30,0,[\\\"goalChangeset\\\",\\\"error\\\",\\\"description\\\",\\\"validation\\\"]],\\\"0\\\"],null],true,300,true]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,0,[\\\"isEditGoalDialog\\\"]]],[[[1,\\\"          \\\"],[8,[39,13],null,[[\\\"@label\\\",\\\"@onChange\\\",\\\"@value\\\"],[[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.markAsActive\\\"],null],[28,[37,11],[[28,[37,15],[[30,0,[\\\"goalChangeset\\\",\\\"isActive\\\"]]],null],[28,[37,16],[[30,0,[\\\"goalChangeset\\\",\\\"isActive\\\"]]],null]],null],[30,0,[\\\"goalChangeset\\\",\\\"isActive\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[12]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,11,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,23],null,[[\\\"@classNames\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mr1\\\",[28,[37,1],[\\\"global.actions.cancel\\\"],null],[30,0,[\\\"_onCloseCreateGoalDialog\\\"]]]],null],[1,\\\"\\\\n      \\\"],[8,[39,24],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[52,[30,0,[\\\"isEditGoalDialog\\\"]],[28,[37,1],[\\\"routes.settings.goals.editGoalDialog.saveChanges\\\"],null],[28,[37,1],[\\\"routes.settings.goals.createGoalDialog.create\\\"],null]],[28,[37,17],[[30,0,[\\\"_saveGoal\\\",\\\"isRunning\\\"]],[28,[37,16],[[30,0,[\\\"goalChangeset\\\",\\\"isDirty\\\"]]],null]],null],[28,[37,3],[[30,0,[\\\"_saveGoal\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[11]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDetailDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[30,0,[\\\"detailDialogGoal\\\",\\\"title\\\"]],[28,[37,11],[[28,[37,15],[[30,0,[\\\"isDetailDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,13,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,13,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,14,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"mb3\\\"],[12],[1,[30,0,[\\\"detailDialogGoal\\\",\\\"description\\\"]]],[13],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,25],null,[[\\\"@hasFixedHeight\\\",\\\"@title\\\",\\\"@description\\\"],[false,[52,[30,0,[\\\"detailDialogGoal\\\",\\\"isActive\\\"]],[28,[37,1],[\\\"routes.settings.goals.detailGoalDialog.statusActive\\\"],null],[52,[30,0,[\\\"detailDialogGoal\\\",\\\"activeUntil\\\"]],[28,[37,1],[\\\"routes.settings.goals.detailGoalDialog.statusInactive\\\"],null],[28,[37,1],[\\\"routes.settings.goals.detailGoalDialog.statusDraft\\\"],null]]],[30,0,[\\\"detailDialogGoalDescription\\\"]]]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,26],null,[[\\\"@classNames\\\",\\\"@items\\\",\\\"@title\\\",\\\"@isLoading\\\",\\\"@placeholderCount\\\"],[\\\"mt3\\\",[30,0,[\\\"linkedReports\\\"]],[28,[37,1],[\\\"routes.settings.goals.detailGoalDialog.linkedReports\\\"],null],[30,0,[\\\"_fetchGoalDetails\\\",\\\"isRunning\\\"]],3]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,15,[\\\"empty\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[39,25],null,[[\\\"@description\\\"],[[28,[37,1],[\\\"routes.settings.goals.detailGoalDialog.noReportsLinked\\\"],null]]],null],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n\\\\n          \\\"],[8,[30,15,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@isDisabled\\\"],[[30,16,[\\\"title\\\"]],[28,[37,1],[\\\"routes.settings.goals.detailGoalDialog.reportPeriod\\\"],[[\\\"start\\\",\\\"end\\\"],[[28,[37,27],[[30,16,[\\\"reportStart\\\"]]],[[\\\"format\\\"],[\\\"ddmmyyyy\\\"]]],[28,[37,27],[[30,16,[\\\"reportEnd\\\"]]],[[\\\"format\\\"],[\\\"ddmmyyyy\\\"]]]]]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,17,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[28,[37,28],[[30,16,[\\\"status\\\"]],\\\"on_track\\\"],null],[[[1,\\\"                \\\"],[10,0],[14,0,\\\"flex items-center green\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,7],[\\\"success-state\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"mr05\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"font-sm font-medium ws-nowrap\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"routes.settings.goals.detailGoalDialog.reportStatus.onTrack\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[28,[37,28],[[30,16,[\\\"status\\\"]],\\\"at_risk\\\"],null],[[[1,\\\"                \\\"],[10,0],[14,0,\\\"flex items-center yellow\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,7],[\\\"warning-state\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"mr05\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"font-sm font-medium ws-nowrap\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"routes.settings.goals.detailGoalDialog.reportStatus.atRisk\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                \\\"],[10,0],[14,0,\\\"flex items-center red\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,7],[\\\"remove\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"mr05\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"font-sm font-medium ws-nowrap\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"routes.settings.goals.detailGoalDialog.reportStatus.offTrack\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"]],[]]]],[]]],[1,\\\"\\\\n              \\\"],[8,[39,4],null,[[\\\"@icon\\\",\\\"@bubbles\\\",\\\"@onClick\\\"],[\\\"new-window\\\",false,[28,[37,11],[[30,0,[\\\"_openReport\\\"]],[30,16]],null]]],null],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[17]]]]],[1,\\\"\\\\n        \\\"]],[15,16]]]]],[1,\\\"\\\\n\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[14]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,13,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,23],null,[[\\\"@classNames\\\",\\\"@onClick\\\"],[\\\"ph1\\\",[28,[37,11],[[28,[37,15],[[30,0,[\\\"isDetailDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"global.actions.close\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[13]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isConfirmDeactivationDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"sm\\\",[28,[37,1],[\\\"routes.settings.goals.confirmDeactivationDialog.title\\\"],null],[28,[37,11],[[28,[37,15],[[30,0,[\\\"isConfirmDeactivationDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,18,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,18,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,19,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[12],[1,[28,[35,1],[\\\"routes.settings.goals.confirmDeactivationDialog.description\\\"],null]],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[19]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,18,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,23],null,[[\\\"@classNames\\\",\\\"@onClick\\\"],[\\\"ph1 mr1\\\",[28,[37,11],[[28,[37,15],[[30,0,[\\\"isConfirmDeactivationDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"global.actions.cancel\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[8,[39,24],null,[[\\\"@classNames\\\",\\\"@onClick\\\",\\\"@isDanger\\\"],[\\\"ph1\\\",[28,[37,3],[[30,0,[\\\"_toggleGoal\\\"]],[30,0,[\\\"goalToDeactivate\\\"]]],null],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.goals.confirmDeactivationDialog.deactivate\\\"],null]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[18]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"Group\\\",\\\"goal\\\",\\\"panel\\\",\\\"content\\\",\\\"Group\\\",\\\"goal\\\",\\\"panel\\\",\\\"content\\\",\\\"Group\\\",\\\"goal\\\",\\\"modal\\\",\\\"content\\\",\\\"modal\\\",\\\"content\\\",\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"modal\\\",\\\"content\\\"],false,[\\\"ui-intro\\\",\\\"t\\\",\\\"did-insert\\\",\\\"perform\\\",\\\"ui-icon-button\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"svg-jar\\\",\\\"ui-control-panel-group\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\",\\\"on\\\",\\\"ui-switch\\\",\\\"ui-item-menu\\\",\\\"mut\\\",\\\"not\\\",\\\"or\\\",\\\"ui-modal\\\",\\\"ui-input\\\",\\\"concat\\\",\\\"get\\\",\\\"unless\\\",\\\"ui-action-button\\\",\\\"ui-button\\\",\\\"ui-list-item\\\",\\\"ui-list\\\",\\\"format-date\\\",\\\"eq\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/goals.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/integrations\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this._fetch.isRunning}}\n    <UiSkeleton @classNames=\"pv3\" @items={{1}} @itemsPerRow={{1}} @cardHeight={{32}} />\n    <UiSkeleton @classNames=\"pt3\" @items={{3}} @itemsPerRow={{1}} @cardHeight={{72}} @gap={{4}} />\n  {{else}}\n    {{#unless this.hasDefinedIntegrations}}\n      <div class=\"flex flex-column items-center\">\n        {{svg-jar \"cycle\"}}\n  \n        <div class=\"font-sm primary\">\n          {{t \"routes.settings.integrations.empty.text\"}}\n        </div>\n  \n        <div class=\"font-sm secondary text-center pt2 pb4\">\n          {{t \"routes.settings.integrations.empty.info\" htmlSafe=true}}\n        </div>\n  \n        {{#if this.isManager}}\n          <UiButton\n            @class=\"mt2\"\n            @label={{t \"routes.settings.integrations.empty.button.text\"}}\n            @onClick={{fn (mut this.isAddIntegrationDialog) true}}\n          />\n        {{/if}}\n      </div>\n    {{/unless}}\n  \n    {{#if this.hasDefinedIntegrations}}\n      <UiIntro @title={{t \"routes.settings.integrations.title\"}} @size=\"xl\" @class=\"mb2\" />\n  \n      <AaSettings::Integrations::List @pms={{this.pms}} @onSuccess={{perform this._fetch}} />\n    {{/if}}\n  \n    {{#if this.isAddIntegrationDialog}}\n      <AaSettings::Integrations::AddDialog\n        @onAdd={{this.setPms}}\n        @onClose={{fn (mut this.isAddIntegrationDialog) false}}\n      />\n    {{/if}}\n  {{/if}}\n  */\n  {\n    \"id\": \"si2tJxTT\",\n    \"block\": \"[[[41,[30,0,[\\\"_fetch\\\",\\\"isRunning\\\"]],[[[1,\\\"  \\\"],[8,[39,1],null,[[\\\"@classNames\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\"],[\\\"pv3\\\",1,1,32]],null],[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@classNames\\\",\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[\\\"pt3\\\",3,1,72,4]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[51,[30,0,[\\\"hasDefinedIntegrations\\\"]]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"flex flex-column items-center\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"cycle\\\"],null]],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"font-sm primary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"routes.settings.integrations.empty.text\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"font-sm secondary text-center pt2 pb4\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,4],[\\\"routes.settings.integrations.empty.info\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isManager\\\"]],[[[1,\\\"        \\\"],[8,[39,5],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"mt2\\\",[28,[37,4],[\\\"routes.settings.integrations.empty.button.text\\\"],null],[28,[37,6],[[28,[37,7],[[30,0,[\\\"isAddIntegrationDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasDefinedIntegrations\\\"]],[[[1,\\\"    \\\"],[8,[39,8],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@class\\\"],[[28,[37,4],[\\\"routes.settings.integrations.title\\\"],null],\\\"xl\\\",\\\"mb2\\\"]],null],[1,\\\"\\\\n\\\\n    \\\"],[8,[39,9],null,[[\\\"@pms\\\",\\\"@onSuccess\\\"],[[30,0,[\\\"pms\\\"]],[28,[37,10],[[30,0,[\\\"_fetch\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isAddIntegrationDialog\\\"]],[[[1,\\\"    \\\"],[8,[39,11],null,[[\\\"@onAdd\\\",\\\"@onClose\\\"],[[30,0,[\\\"setPms\\\"]],[28,[37,6],[[28,[37,7],[[30,0,[\\\"isAddIntegrationDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[]]]],[],false,[\\\"if\\\",\\\"ui-skeleton\\\",\\\"unless\\\",\\\"svg-jar\\\",\\\"t\\\",\\\"ui-button\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-intro\\\",\\\"aa-settings/integrations/list\\\",\\\"perform\\\",\\\"aa-settings/integrations/add-dialog\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/integrations.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/legals\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiIntro\n    @title={{t \"routes.settings.legals.title\"}}\n    @description={{t \"routes.settings.legals.introText\"}}\n    @size=\"xl\"\n    @isMultiline={{true}}\n  />\n  \n  <div class=\"pt2 pb3\">\n    <UiLangSelect\n      @languages={{this.availableLanguages}}\n      @publishedLanguages={{this.completedLanguages}}\n      @selected={{this.currentLanguage}}\n      @hideLanguageActions={{true}}\n      @onSelect={{action \"changeLanguage\"}}\n    />\n  </div>\n  \n  {{#if this.isLoading}}\n    <UiSkeleton @items={{3}} @itemsPerRow={{1}} @cardHeight={{72}} @gap={{4}} />\n  {{else}}\n    <UiControlPanel\n      @label={{t \"routes.settings.legals.disclaimer\"}}\n      @value={{or this._legalResource.disclaimerLink \"-\"}}\n      @changeset={{this._changeset}}\n      @isReadOnly={{this.isReadOnly}}\n      @modal={{\n        hash\n        title=(t \"routes.settings.legals.disclaimer\")\n        size=\"sm\"\n        actionLabel=(t \"global.actions.save\")\n      }}\n      @onClose={{action \"onClose\" this._changeset}}\n      @onClick={{perform this.updateLegals this._changeset}} as |panel|\n    >\n      <panel.modal>\n        <div class=\"pb3\">\n          {{t \"routes.settings.legals.disclaimerDescription\"}}\n        </div>\n        <UiInput\n          @label={{t \"routes.settings.legals.label\"}}\n          @value={{this._changeset.disclaimerLink}}\n          @errorMessage={{this._changeset.error.disclaimerLink.validation}}\n          @maxlength={{255}}\n        />\n      </panel.modal>\n    </UiControlPanel>\n  \n    <UiControlPanel\n      @label={{t \"routes.settings.legals.privacy\"}}\n      @value={{or this._legalResource.privacyLink \"-\"}}\n      @changeset={{this._changeset}}\n      @isReadOnly={{this.isReadOnly}}\n      @modal={{\n        hash\n        title=(t \"routes.settings.legals.privacy\")\n        size=\"sm\"\n        actionLabel=(t \"global.actions.save\")\n      }}\n      @onClose={{action \"onClose\" this._changeset}}\n      @onClick={{perform this.updateLegals this._changeset}} as |panel|\n    >\n      <panel.modal>\n        <div class=\"pb3\">\n          {{t \"routes.settings.legals.privacyDescription\"}}\n        </div>\n        <UiInput\n          @label={{t \"routes.settings.legals.label\"}}\n          @value={{this._changeset.privacyLink}}\n          @errorMessage={{this._changeset.error.privacyLink.validation}}\n          @maxlength={{255}}\n        />\n      </panel.modal>\n    </UiControlPanel>\n  \n    <UiControlPanel\n      @label={{t \"routes.settings.legals.terms\"}}\n      @value={{or this._legalResource.termsLink \"-\"}}\n      @changeset={{this._changeset}}\n      @isReadOnly={{this.isReadOnly}}\n      @modal={{\n        hash title=(t \"routes.settings.legals.terms\") size=\"sm\" actionLabel=(t \"global.actions.save\")\n      }}\n      @onClose={{action \"onClose\" this._changeset}}\n      @onClick={{perform this.updateLegals this._changeset}} as |panel|\n    >\n      <panel.modal>\n        <div class=\"pb3\">\n          {{t \"routes.settings.legals.termsDescription\"}}\n        </div>\n        <UiInput\n          @label={{t \"routes.settings.legals.label\"}}\n          @value={{this._changeset.termsLink}}\n          @errorMessage={{this._changeset.error.termsLink.validation}}\n          @maxlength={{255}}\n        />\n      </panel.modal>\n    </UiControlPanel>\n  \n    <UiControlPanel\n      @label={{t \"routes.settings.legals.accessibility\"}}\n      @value={{or this._legalResource.accessibilityLink \"-\"}}\n      @changeset={{this._changeset}}\n      @isReadOnly={{this.isReadOnly}}\n      @modal={{\n        hash\n        title=(t \"routes.settings.legals.accessibility\")\n        size=\"sm\"\n        actionLabel=(t \"global.actions.save\")\n      }}\n      @onClose={{action \"onClose\" this._changeset}}\n      @onClick={{perform this.updateLegals this._changeset}} as |panel|\n    >\n      <panel.modal>\n        <div class=\"pb3\">\n          {{t \"routes.settings.legals.accessibilityDescription\"}}\n        </div>\n        <UiInput\n          @label={{t \"routes.settings.legals.label\"}}\n          @value={{this._changeset.accessibilityLink}}\n          @errorMessage={{this._changeset.error.accessibilityLink.validation}}\n          @maxlength={{255}}\n        />\n      </panel.modal>\n    </UiControlPanel>\n  {{/if}}\n  */\n  {\n    \"id\": \"bik3cWw5\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.settings.legals.title\\\"],null],[28,[37,1],[\\\"routes.settings.legals.introText\\\"],null],\\\"xl\\\",true]],null],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"pt2 pb3\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,2],null,[[\\\"@languages\\\",\\\"@publishedLanguages\\\",\\\"@selected\\\",\\\"@hideLanguageActions\\\",\\\"@onSelect\\\"],[[30,0,[\\\"availableLanguages\\\"]],[30,0,[\\\"completedLanguages\\\"]],[30,0,[\\\"currentLanguage\\\"]],true,[28,[37,3],[[30,0],\\\"changeLanguage\\\"],null]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isLoading\\\"]],[[[1,\\\"  \\\"],[8,[39,5],null,[[\\\"@items\\\",\\\"@itemsPerRow\\\",\\\"@cardHeight\\\",\\\"@gap\\\"],[3,1,72,4]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@modal\\\",\\\"@onClose\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.legals.disclaimer\\\"],null],[28,[37,7],[[30,0,[\\\"_legalResource\\\",\\\"disclaimerLink\\\"]],\\\"-\\\"],null],[30,0,[\\\"_changeset\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,8],null,[[\\\"title\\\",\\\"size\\\",\\\"actionLabel\\\"],[[28,[37,1],[\\\"routes.settings.legals.disclaimer\\\"],null],\\\"sm\\\",[28,[37,1],[\\\"global.actions.save\\\"],null]]]],[28,[37,3],[[30,0],\\\"onClose\\\",[30,0,[\\\"_changeset\\\"]]],null],[28,[37,9],[[30,0,[\\\"updateLegals\\\"]],[30,0,[\\\"_changeset\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"modal\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.legals.disclaimerDescription\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@maxlength\\\"],[[28,[37,1],[\\\"routes.settings.legals.label\\\"],null],[30,0,[\\\"_changeset\\\",\\\"disclaimerLink\\\"]],[30,0,[\\\"_changeset\\\",\\\"error\\\",\\\"disclaimerLink\\\",\\\"validation\\\"]],255]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@modal\\\",\\\"@onClose\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.legals.privacy\\\"],null],[28,[37,7],[[30,0,[\\\"_legalResource\\\",\\\"privacyLink\\\"]],\\\"-\\\"],null],[30,0,[\\\"_changeset\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,8],null,[[\\\"title\\\",\\\"size\\\",\\\"actionLabel\\\"],[[28,[37,1],[\\\"routes.settings.legals.privacy\\\"],null],\\\"sm\\\",[28,[37,1],[\\\"global.actions.save\\\"],null]]]],[28,[37,3],[[30,0],\\\"onClose\\\",[30,0,[\\\"_changeset\\\"]]],null],[28,[37,9],[[30,0,[\\\"updateLegals\\\"]],[30,0,[\\\"_changeset\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"modal\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.legals.privacyDescription\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@maxlength\\\"],[[28,[37,1],[\\\"routes.settings.legals.label\\\"],null],[30,0,[\\\"_changeset\\\",\\\"privacyLink\\\"]],[30,0,[\\\"_changeset\\\",\\\"error\\\",\\\"privacyLink\\\",\\\"validation\\\"]],255]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@modal\\\",\\\"@onClose\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.legals.terms\\\"],null],[28,[37,7],[[30,0,[\\\"_legalResource\\\",\\\"termsLink\\\"]],\\\"-\\\"],null],[30,0,[\\\"_changeset\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,8],null,[[\\\"title\\\",\\\"size\\\",\\\"actionLabel\\\"],[[28,[37,1],[\\\"routes.settings.legals.terms\\\"],null],\\\"sm\\\",[28,[37,1],[\\\"global.actions.save\\\"],null]]]],[28,[37,3],[[30,0],\\\"onClose\\\",[30,0,[\\\"_changeset\\\"]]],null],[28,[37,9],[[30,0,[\\\"updateLegals\\\"]],[30,0,[\\\"_changeset\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"modal\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.legals.termsDescription\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@maxlength\\\"],[[28,[37,1],[\\\"routes.settings.legals.label\\\"],null],[30,0,[\\\"_changeset\\\",\\\"termsLink\\\"]],[30,0,[\\\"_changeset\\\",\\\"error\\\",\\\"termsLink\\\",\\\"validation\\\"]],255]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[39,6],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@changeset\\\",\\\"@isReadOnly\\\",\\\"@modal\\\",\\\"@onClose\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.legals.accessibility\\\"],null],[28,[37,7],[[30,0,[\\\"_legalResource\\\",\\\"accessibilityLink\\\"]],\\\"-\\\"],null],[30,0,[\\\"_changeset\\\"]],[30,0,[\\\"isReadOnly\\\"]],[28,[37,8],null,[[\\\"title\\\",\\\"size\\\",\\\"actionLabel\\\"],[[28,[37,1],[\\\"routes.settings.legals.accessibility\\\"],null],\\\"sm\\\",[28,[37,1],[\\\"global.actions.save\\\"],null]]]],[28,[37,3],[[30,0],\\\"onClose\\\",[30,0,[\\\"_changeset\\\"]]],null],[28,[37,9],[[30,0,[\\\"updateLegals\\\"]],[30,0,[\\\"_changeset\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"modal\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"pb3\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,1],[\\\"routes.settings.legals.accessibilityDescription\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@maxlength\\\"],[[28,[37,1],[\\\"routes.settings.legals.label\\\"],null],[30,0,[\\\"_changeset\\\",\\\"accessibilityLink\\\"]],[30,0,[\\\"_changeset\\\",\\\"error\\\",\\\"accessibilityLink\\\",\\\"validation\\\"]],255]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]]]],[\\\"panel\\\",\\\"panel\\\",\\\"panel\\\",\\\"panel\\\"],false,[\\\"ui-intro\\\",\\\"t\\\",\\\"ui-lang-select\\\",\\\"action\\\",\\\"if\\\",\\\"ui-skeleton\\\",\\\"ui-control-panel\\\",\\\"or\\\",\\\"hash\\\",\\\"perform\\\",\\\"ui-input\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/legals.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/organization-settings\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiIntro\n    @title={{t \"routes.settings.organizationSettings.title\"}}\n    @size=\"xl\"\n    @classNames=\"pb3\"\n    @isMultiline={{true}}\n  />\n  \n  {{#unless this.isDeactivatable}}\n    <UiInlineNotification\n      @icon=\"info-state\"\n      @title={{t \"routes.settings.organizationSettings.activeAppsNotification.title\"}}\n      @buttonText={{t \"routes.settings.organizationSettings.activeAppsNotification.button\"}}\n      @onButtonClick={{this._openAppsRoute}}\n      @buttonIcon=\"new-window\"\n      @class=\"mb4\"\n    />\n  {{/unless}}\n  \n  <div class=\"font-sm mb1 {{if this.isDeactivatable 'red' 'secondary'}}\">\n    {{t \"routes.settings.organizationSettings.dangerZone\"}}\n  </div>\n  \n  <UiAccordion\n    @classNames=\"pv1\"\n    @title={{t \"routes.settings.organizationSettings.deactivateOrganization.label\"}}\n    @description={{t \"routes.settings.organizationSettings.deactivateOrganization.description\"}}\n    @isDanger={{this.isDeactivatable}}\n    @isDisabled={{not this.isDeactivatable}}\n    @isSelectable={{true}}\n    @value=\"deactivate-organization\"\n    @selectedValue={{this.selectedValue}}\n    @onSelect={{fn (mut this.selectedValue) \"deactivate-organization\"}}\n  />\n  \n  <div class=\"flex justify-end mt3\">\n    <UiButton\n      @label={{t \"routes.settings.organizationSettings.deactivate\"}}\n      @isDanger={{true}}\n      @isDisabled={{this.isDeactivationDisabled}}\n      @icon=\"remove\"\n      @onClick={{fn (mut this.isDeactivationDialog) true}}\n    />\n  </div>\n  \n  {{#if this.isDeactivationDialog}}\n    <UiModal\n      @title={{t \"routes.settings.organizationSettings.deactivationDialog.title\"}}\n      @theme=\"error\"\n      @size=\"md\"\n      @onClose={{this._onCloseDeactivationDialog}}\n      as |m|\n    >\n      <m.header />\n      <m.content as |c|>\n        <c.body>\n          <div class=\"primary font-md pb3\">\n            {{t \"routes.settings.organizationSettings.deactivationDialog.description\"}}\n          </div>\n          <div class=\"primary font-md font-medium pb3\">\n            {{t\n              \"routes.settings.organizationSettings.deactivationDialog.confirmationAction.description\"\n            }}\n          </div>\n  \n          <div\n            class=\"flex items-center bg-secondary--10 ba b--secondary-10 br1 cpointer pa1\"\n            role=\"button\"\n            {{on \"click\" this._onConfirmationChange}}\n          >\n            <UiCheckbox @value={{this.isDeactivationConfirmed}} @bubbles={{true}} />\n            <div class=\"primary font-md ml1\">\n              {{t \"routes.settings.organizationSettings.deactivationDialog.confirmationAction.value\"}}\n            </div>\n          </div>\n        </c.body>\n      </m.content>\n      <m.footer>\n        <UiButton\n          @label={{t \"routes.settings.organizationSettings.deactivate\"}}\n          @isDanger={{true}}\n          @isSecondary={{true}}\n          @isDisabled={{not this.isDeactivationConfirmed}}\n          @icon=\"remove\"\n          @onClick={{perform this._deactivateOrganization}}\n        />\n  \n        <UiButton\n          @classNames=\"ml1\"\n          @label={{t \"routes.settings.organizationSettings.deactivationDialog.cancel\"}}\n          @icon=\"error\"\n          @onClick={{this._onCloseDeactivationDialog}}\n        />\n      </m.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isSuccessDialog}}\n    <UiModal\n      @title={{t \"routes.settings.organizationSettings.successDialog.title\"}}\n      @size=\"sm\"\n      @onClose={{this._navigateToParentOrg}}\n      as |m|\n    >\n      <m.header />\n      <m.content as |c|>\n        <c.body>\n          <div class=\"primary font-md pb3\">\n            {{t\n              \"routes.settings.organizationSettings.successDialog.description\"\n              organizationName=this.partnerOrgName\n            }}\n          </div>\n  \n        </c.body>\n      </m.content>\n      <m.footer>\n        <UiButton\n          @label={{t\n            \"routes.settings.organizationSettings.successDialog.button\"\n            organizationName=this.partnerOrgName\n          }}\n          @onClick={{this._navigateToParentOrg}}\n        />\n      </m.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"voC8lpe4\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@classNames\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.settings.organizationSettings.title\\\"],null],\\\"xl\\\",\\\"pb3\\\",true]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[51,[30,0,[\\\"isDeactivatable\\\"]]],[[[1,\\\"  \\\"],[8,[39,3],null,[[\\\"@icon\\\",\\\"@title\\\",\\\"@buttonText\\\",\\\"@onButtonClick\\\",\\\"@buttonIcon\\\",\\\"@class\\\"],[\\\"info-state\\\",[28,[37,1],[\\\"routes.settings.organizationSettings.activeAppsNotification.title\\\"],null],[28,[37,1],[\\\"routes.settings.organizationSettings.activeAppsNotification.button\\\"],null],[30,0,[\\\"_openAppsRoute\\\"]],\\\"new-window\\\",\\\"mb4\\\"]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[10,0],[15,0,[29,[\\\"font-sm mb1 \\\",[52,[30,0,[\\\"isDeactivatable\\\"]],\\\"red\\\",\\\"secondary\\\"]]]],[12],[1,\\\"\\\\n  \\\"],[1,[28,[35,1],[\\\"routes.settings.organizationSettings.dangerZone\\\"],null]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[8,[39,5],null,[[\\\"@classNames\\\",\\\"@title\\\",\\\"@description\\\",\\\"@isDanger\\\",\\\"@isDisabled\\\",\\\"@isSelectable\\\",\\\"@value\\\",\\\"@selectedValue\\\",\\\"@onSelect\\\"],[\\\"pv1\\\",[28,[37,1],[\\\"routes.settings.organizationSettings.deactivateOrganization.label\\\"],null],[28,[37,1],[\\\"routes.settings.organizationSettings.deactivateOrganization.description\\\"],null],[30,0,[\\\"isDeactivatable\\\"]],[28,[37,6],[[30,0,[\\\"isDeactivatable\\\"]]],null],true,\\\"deactivate-organization\\\",[30,0,[\\\"selectedValue\\\"]],[28,[37,7],[[28,[37,8],[[30,0,[\\\"selectedValue\\\"]]],null],\\\"deactivate-organization\\\"],null]]],null],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"flex justify-end mt3\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@isDisabled\\\",\\\"@icon\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.organizationSettings.deactivate\\\"],null],true,[30,0,[\\\"isDeactivationDisabled\\\"]],\\\"remove\\\",[28,[37,7],[[28,[37,8],[[30,0,[\\\"isDeactivationDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isDeactivationDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,10],null,[[\\\"@title\\\",\\\"@theme\\\",\\\"@size\\\",\\\"@onClose\\\"],[[28,[37,1],[\\\"routes.settings.organizationSettings.deactivationDialog.title\\\"],null],\\\"error\\\",\\\"md\\\",[30,0,[\\\"_onCloseDeactivationDialog\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"primary font-md pb3\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"routes.settings.organizationSettings.deactivationDialog.description\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"primary font-md font-medium pb3\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"routes.settings.organizationSettings.deactivationDialog.confirmationAction.description\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[11,0],[24,0,\\\"flex items-center bg-secondary--10 ba b--secondary-10 br1 cpointer pa1\\\"],[24,\\\"role\\\",\\\"button\\\"],[4,[38,11],[\\\"click\\\",[30,0,[\\\"_onConfirmationChange\\\"]]],null],[12],[1,\\\"\\\\n          \\\"],[8,[39,12],null,[[\\\"@value\\\",\\\"@bubbles\\\"],[[30,0,[\\\"isDeactivationConfirmed\\\"]],true]],null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"primary font-md ml1\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.settings.organizationSettings.deactivationDialog.confirmationAction.value\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@isSecondary\\\",\\\"@isDisabled\\\",\\\"@icon\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.organizationSettings.deactivate\\\"],null],true,true,[28,[37,6],[[30,0,[\\\"isDeactivationConfirmed\\\"]]],null],\\\"remove\\\",[28,[37,13],[[30,0,[\\\"_deactivateOrganization\\\"]]],null]]],null],[1,\\\"\\\\n\\\\n      \\\"],[8,[39,9],null,[[\\\"@classNames\\\",\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\"],[\\\"ml1\\\",[28,[37,1],[\\\"routes.settings.organizationSettings.deactivationDialog.cancel\\\"],null],\\\"error\\\",[30,0,[\\\"_onCloseDeactivationDialog\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[1]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isSuccessDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,10],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@onClose\\\"],[[28,[37,1],[\\\"routes.settings.organizationSettings.successDialog.title\\\"],null],\\\"sm\\\",[30,0,[\\\"_navigateToParentOrg\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,4,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"primary font-md pb3\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"routes.settings.organizationSettings.successDialog.description\\\"],[[\\\"organizationName\\\"],[[30,0,[\\\"partnerOrgName\\\"]]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[4]]]]],[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,9],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"routes.settings.organizationSettings.successDialog.button\\\"],[[\\\"organizationName\\\"],[[30,0,[\\\"partnerOrgName\\\"]]]]],[30,0,[\\\"_navigateToParentOrg\\\"]]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"m\\\",\\\"c\\\",\\\"m\\\",\\\"c\\\"],false,[\\\"ui-intro\\\",\\\"t\\\",\\\"unless\\\",\\\"ui-inline-notification\\\",\\\"if\\\",\\\"ui-accordion\\\",\\\"not\\\",\\\"fn\\\",\\\"mut\\\",\\\"ui-button\\\",\\\"ui-modal\\\",\\\"on\\\",\\\"ui-checkbox\\\",\\\"perform\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/organization-settings.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/settings/room-counts\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiIntro @title={{t \"routes.settings.roomCounts.title\"}} @size=\"xl\" @classNames=\"pb1\" />\n  \n  <UiContentCount @totalCount={{this.totalRoomCount}} @class=\"mv1\" />\n  \n  <AaSettings::RoomCounts::List\n    @items={{this.roomCounts.future}}\n    @classNames=\"pb2\"\n    @key=\"future\"\n    @isLoading={{this.showLoading}}\n    @isError={{this.isError}}\n    @fetchRoomCounts={{this.fetchRoomCounts}}\n    @onDelete={{action \"delete\"}}\n    @onClick={{action \"openDetail\"}}\n    @isReadOnly={{this._isMember}}\n  />\n  \n  <AaSettings::RoomCounts::List\n    @classNames=\"pb2\"\n    @items={{this.roomCounts.active}}\n    @key=\"active\"\n    @state=\"success\"\n    @isLoading={{this.showLoading}}\n    @isError={{this.isError}}\n    @fetchRoomCounts={{this.fetchRoomCounts}}\n    @onDelete={{action \"delete\"}}\n    @onClick={{action \"openDetail\"}}\n    @isReadOnly={{this._isMember}}\n  />\n  \n  <AaSettings::RoomCounts::List\n    @items={{this.roomCounts.past}}\n    @key=\"past\"\n    @isLoading={{this.showLoading}}\n    @isError={{this.isError}}\n    @fetchRoomCounts={{this.fetchRoomCounts}}\n    @onDelete={{action \"delete\"}}\n    @onClick={{action \"openDetail\"}}\n    @isReadOnly={{this._isMember}}\n  />\n  \n  {{#if this._isEmpty}}\n    <div class=\"flex justify-center font-sm secondary pt3\">\n      {{t \"routes.settings.roomCounts.empty\"}}\n    </div>\n  {{/if}}\n  \n  {{#if this.isDetailDialog}}\n    <AaSettings::RoomCounts::Detail\n      @roomCount={{this.activeRoomCount}}\n      @fetchRoomCounts={{this.fetchRoomCounts}}\n      @onClose={{action (mut this.isDetailDialog) false}}\n    />\n  {{/if}}\n  \n  {{#if (and this.fabButtonContainer this._isManager)}}\n    {{#in-element this.fabButtonContainer}}\n      <UiButton\n        @class=\"absolute bottom-3 right-3\"\n        @icon=\"plus\"\n        @isFabButton={{true}}\n        @onClick={{action \"openDetail\" null}}\n      />\n    {{/in-element}}\n  {{/if}}\n  */\n  {\n    \"id\": \"5F7vqVCt\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@classNames\\\"],[[28,[37,1],[\\\"routes.settings.roomCounts.title\\\"],null],\\\"xl\\\",\\\"pb1\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,2],null,[[\\\"@totalCount\\\",\\\"@class\\\"],[[30,0,[\\\"totalRoomCount\\\"]],\\\"mv1\\\"]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,3],null,[[\\\"@items\\\",\\\"@classNames\\\",\\\"@key\\\",\\\"@isLoading\\\",\\\"@isError\\\",\\\"@fetchRoomCounts\\\",\\\"@onDelete\\\",\\\"@onClick\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"roomCounts\\\",\\\"future\\\"]],\\\"pb2\\\",\\\"future\\\",[30,0,[\\\"showLoading\\\"]],[30,0,[\\\"isError\\\"]],[30,0,[\\\"fetchRoomCounts\\\"]],[28,[37,4],[[30,0],\\\"delete\\\"],null],[28,[37,4],[[30,0],\\\"openDetail\\\"],null],[30,0,[\\\"_isMember\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,3],null,[[\\\"@classNames\\\",\\\"@items\\\",\\\"@key\\\",\\\"@state\\\",\\\"@isLoading\\\",\\\"@isError\\\",\\\"@fetchRoomCounts\\\",\\\"@onDelete\\\",\\\"@onClick\\\",\\\"@isReadOnly\\\"],[\\\"pb2\\\",[30,0,[\\\"roomCounts\\\",\\\"active\\\"]],\\\"active\\\",\\\"success\\\",[30,0,[\\\"showLoading\\\"]],[30,0,[\\\"isError\\\"]],[30,0,[\\\"fetchRoomCounts\\\"]],[28,[37,4],[[30,0],\\\"delete\\\"],null],[28,[37,4],[[30,0],\\\"openDetail\\\"],null],[30,0,[\\\"_isMember\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[8,[39,3],null,[[\\\"@items\\\",\\\"@key\\\",\\\"@isLoading\\\",\\\"@isError\\\",\\\"@fetchRoomCounts\\\",\\\"@onDelete\\\",\\\"@onClick\\\",\\\"@isReadOnly\\\"],[[30,0,[\\\"roomCounts\\\",\\\"past\\\"]],\\\"past\\\",[30,0,[\\\"showLoading\\\"]],[30,0,[\\\"isError\\\"]],[30,0,[\\\"fetchRoomCounts\\\"]],[28,[37,4],[[30,0],\\\"delete\\\"],null],[28,[37,4],[[30,0],\\\"openDetail\\\"],null],[30,0,[\\\"_isMember\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"_isEmpty\\\"]],[[[1,\\\"  \\\"],[10,0],[14,0,\\\"flex justify-center font-sm secondary pt3\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[28,[35,1],[\\\"routes.settings.roomCounts.empty\\\"],null]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDetailDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,6],null,[[\\\"@roomCount\\\",\\\"@fetchRoomCounts\\\",\\\"@onClose\\\"],[[30,0,[\\\"activeRoomCount\\\"]],[30,0,[\\\"fetchRoomCounts\\\"]],[28,[37,4],[[30,0],[28,[37,7],[[30,0,[\\\"isDetailDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[28,[37,8],[[30,0,[\\\"fabButtonContainer\\\"]],[30,0,[\\\"_isManager\\\"]]],null],[[[40,[[[1,\\\"    \\\"],[8,[39,11],null,[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"plus\\\",true,[28,[37,4],[[30,0],\\\"openDetail\\\",null],null]]],null],[1,\\\"\\\\n\\\"]],[]],\\\"%cursor:0%\\\",[28,[37,10],[[30,0,[\\\"fabButtonContainer\\\"]]],null]]],[]],null]],[],false,[\\\"ui-intro\\\",\\\"t\\\",\\\"ui-content-count\\\",\\\"aa-settings/room-counts/list\\\",\\\"action\\\",\\\"if\\\",\\\"aa-settings/room-counts/detail\\\",\\\"mut\\\",\\\"and\\\",\\\"in-element\\\",\\\"-in-el-null\\\",\\\"ui-button\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/settings/room-counts.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/users\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiContentViews @title={{t \"routes.users.title\"}} @theme=\"grey\" as |view|>\n    <view.navbar />\n  \n    <view.intro\n      @title={{t \"routes.users.title\"}}\n      @description={{if\n        this.routes\n        (t\n          \"routes.users.subtitle\"\n          orgName=(if this.isUsersRoute this.organizationName this.partnerName)\n          htmlSafe=true\n        )\n        \"\"\n      }}\n      @size=\"xl\"\n      @isMultiline={{true}}\n    />\n  \n    {{#if this.routes}}\n      <view.tabs as |tabs|>\n        <tabs.header @isUnderlined={{true}} as |header|>\n          {{#each this.routes as |route|}}\n            <header.tab @tabName={{route.name}} @routePath={{route.path}} />\n          {{/each}}\n        </tabs.header>\n        <tabs.content @class=\"flex flex-column\">\n          {{outlet}}\n        </tabs.content>\n      </view.tabs>\n    {{else}}\n      <view.content>\n        {{outlet}}\n      </view.content>\n    {{/if}}\n  \n    <view.footer @classNames=\"flex flex-column items-end views__footer w-100\">\n      {{#if this.hasInvitationButton}}\n        <UiButton\n          @class=\"absolute bottom-3 right-3\"\n          @icon=\"plus\"\n          @isFabButton={{true}}\n          @onClick={{action \"openInvitationDialog\"}}\n          data-test-invite-users\n        />\n      {{/if}}\n    </view.footer>\n  </UiContentViews>\n  \n  {{#if this.isInvitationDialog}}\n    <UiModal\n      @size=\"md\"\n      @title={{t \"routes.users.dialogs.inviteUser.title\"}}\n      @onClose={{action (mut this.isInvitationDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content data-test-invitation-dialog as |content|>\n        <content.body>\n          <div class=\"flex-column\">\n            <div class=\"mt1 font-md primary\">\n              {{t \"routes.users.dialogs.inviteUser.description\"}}\n            </div>\n  \n            <div class=\"mt1 flex flex-row\">\n              <UiInput\n                @class=\"w-100\"\n                @label={{t \"global.attributes.email\"}}\n                @type=\"email\"\n                @value={{this.invitationChangeset.email}}\n                @errorMessage={{get this.invitationChangeset.error.email \"validation\"}}\n                @isTouched={{this.isInvitationTouched}}\n                data-test-invitation-email\n              />\n            </div>\n            <UserRoleForm\n              @globalUserRoles={{this.globalUserRoles}}\n              @isTouched={{this.isInvitationTouched}}\n              @user={{this.invitationChangeset}}\n            />\n  \n            <UiSelect\n              @label={{t \"global.attributes.language\"}}\n              @options={{this.languageOptions}}\n              @selected={{t (concat \"languageSelect.\" this.invitationChangeset.language)}}\n              @onChange={{action (mut this.invitationChangeset.language)}}\n              @errorMessage={{get this.invitationChangeset.error.language \"validation\"}}\n              as |option language|\n            >\n              <option.item @value={{language.value}}>\n                {{language.name}}\n              </option.item>\n            </UiSelect>\n          </div>\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.confirm\"}}\n          @onClick={{action \"inviteAction\"}}\n          data-test-invitation-action\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  */\n  {\n    \"id\": \"y3LOCUTO\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"routes.users.title\\\"],null],\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"routes.users.title\\\"],null],[52,[30,0,[\\\"routes\\\"]],[28,[37,1],[\\\"routes.users.subtitle\\\"],[[\\\"orgName\\\",\\\"htmlSafe\\\"],[[52,[30,0,[\\\"isUsersRoute\\\"]],[30,0,[\\\"organizationName\\\"]],[30,0,[\\\"partnerName\\\"]]],true]]],\\\"\\\"],\\\"xl\\\",true]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"routes\\\"]],[[[1,\\\"    \\\"],[8,[30,1,[\\\"tabs\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"header\\\"]],null,[[\\\"@isUnderlined\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"routes\\\"]]],null]],null],null,[[[1,\\\"          \\\"],[8,[30,3,[\\\"tab\\\"]],null,[[\\\"@tabName\\\",\\\"@routePath\\\"],[[30,4,[\\\"name\\\"]],[30,4,[\\\"path\\\"]]]],null],[1,\\\"\\\\n\\\"]],[4]],null],[1,\\\"      \\\"]],[3]]]]],[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"content\\\"]],null,[[\\\"@class\\\"],[\\\"flex flex-column\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[46,[28,[37,6],null,null],null,null,null],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[46,[28,[37,6],null,null],null,null,null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"flex flex-column items-end views__footer w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasInvitationButton\\\"]],[[[1,\\\"      \\\"],[8,[39,7],[[24,\\\"data-test-invite-users\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"plus\\\",true,[28,[37,8],[[30,0],\\\"openInvitationDialog\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isInvitationDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,9],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[28,[37,1],[\\\"routes.users.dialogs.inviteUser.title\\\"],null],[28,[37,8],[[30,0],[28,[37,10],[[30,0,[\\\"isInvitationDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"content\\\"]],[[24,\\\"data-test-invitation-dialog\\\",\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,6,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex-column\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"mt1 font-md primary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.users.dialogs.inviteUser.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n          \\\"],[10,0],[14,0,\\\"mt1 flex flex-row\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,11],[[24,\\\"data-test-invitation-email\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@label\\\",\\\"@type\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@isTouched\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.attributes.email\\\"],null],\\\"email\\\",[30,0,[\\\"invitationChangeset\\\",\\\"email\\\"]],[28,[37,12],[[30,0,[\\\"invitationChangeset\\\",\\\"error\\\",\\\"email\\\"]],\\\"validation\\\"],null],[30,0,[\\\"isInvitationTouched\\\"]]]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[8,[39,13],null,[[\\\"@globalUserRoles\\\",\\\"@isTouched\\\",\\\"@user\\\"],[[30,0,[\\\"globalUserRoles\\\"]],[30,0,[\\\"isInvitationTouched\\\"]],[30,0,[\\\"invitationChangeset\\\"]]]],null],[1,\\\"\\\\n\\\\n          \\\"],[8,[39,14],null,[[\\\"@label\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@onChange\\\",\\\"@errorMessage\\\"],[[28,[37,1],[\\\"global.attributes.language\\\"],null],[30,0,[\\\"languageOptions\\\"]],[28,[37,1],[[28,[37,15],[\\\"languageSelect.\\\",[30,0,[\\\"invitationChangeset\\\",\\\"language\\\"]]],null]],null],[28,[37,8],[[30,0],[28,[37,10],[[30,0,[\\\"invitationChangeset\\\",\\\"language\\\"]]],null]],null],[28,[37,12],[[30,0,[\\\"invitationChangeset\\\",\\\"error\\\",\\\"language\\\"]],\\\"validation\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,7,[\\\"item\\\"]],null,[[\\\"@value\\\"],[[30,8,[\\\"value\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[1,[30,8,[\\\"name\\\"]]],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[7,8]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[6]]]]],[1,\\\"\\\\n    \\\"],[8,[30,5,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,7],[[24,\\\"data-test-invitation-action\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.confirm\\\"],null],[28,[37,8],[[30,0],\\\"inviteAction\\\"],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[5]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"view\\\",\\\"tabs\\\",\\\"header\\\",\\\"route\\\",\\\"dialog\\\",\\\"content\\\",\\\"option\\\",\\\"language\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"component\\\",\\\"-outlet\\\",\\\"ui-button\\\",\\\"action\\\",\\\"ui-modal\\\",\\\"mut\\\",\\\"ui-input\\\",\\\"get\\\",\\\"user-role-form\\\",\\\"ui-select\\\",\\\"concat\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/users.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/users/list\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiList\n    @class=\"list-bottom-padding\"\n    @isLoading={{this.isLoading}}\n    @items={{this.userCollection}}\n    data-test-user-list\n    as |list item|\n  >\n    <list.count @totalCount={{this.userCollection.length}} />\n  \n    <list.empty>\n      <div class=\"empty-state w-100 flex flex-column items-center pa4\">\n        {{svg-jar \"empty-content\" class=\"w-100\" height=\"256\"}}\n        <div class=\"font-lg primary pb2\">\n          {{t \"routes.users.empty.title\"}}\n        </div>\n        <p class=\"font-sm secondary\">\n          {{t \"routes.users.empty.subtitle\"}}\n        </p>\n      </div>\n    </list.empty>\n  \n    <list.item\n      @title={{if (eq item.fullName \" \") \"-\" item.fullName}}\n      @description={{concat\n        item.email\n        (concat \" - \" (t (concat \"global.roles.\" item.role \".title\")))\n      }}\n      @linkTo=\"instances.instance.users.list.user\"\n      @linkToParam={{item.id}}\n      @isDisabled={{item.isDisabled}}\n      @canResetMfa={{item.canResetMfa}}\n      @state={{item.accountState}}\n      @isActive={{eq this._currentRouteIndex item.id}}\n      data-test-user-item\n      as |controls|\n    >\n      <controls.thumbnail>\n        {{#if item.imagePath}}\n          <img class=\"br-100\" src={{item.imagePath}} alt=\"Benutzerbild\" width=\"44\" height=\"44\" />\n        {{else}}\n          <div class=\"flex items-center justify-center w-100 h-100 br-100 bg-secondary--20\">\n            {{svg-jar \"placeholder-user\" class=\"secondary--40\"}}\n          </div>\n        {{/if}}\n      </controls.thumbnail>\n  \n      <controls.state />\n  \n      {{#if (equal this.currentUser.user.id item.id)}}\n        <controls.right>\n          {{#if item.mfaEnabledAt}}\n            <UiPopover as |pop|>\n              <pop.trigger>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-closed\" class=\"secondary\" width=\"20\" height=\"20\"}}\n                  <div class=\"blue font-sm font-medium ml1\">\n                    {{t \"routes.users.mfa.enabled\"}}\n                  </div>\n                </div>\n              </pop.trigger>\n              <pop.content>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-closed\" class=\"secondary flex-shrink-0\" width=\"20\" height=\"20\"}}\n  \n                  <div class=\"flex flex-column secondary ml1\">\n                    {{t \"routes.users.mfa.label\"}}\n                    {{t\n                      \"routes.users.mfa.enabledAt\"\n                      date=(format-date item.mfaEnabledAt)\n                      time=(format-time item.mfaEnabledAt format=\"hhmm\")\n                    }}\n                  </div>\n                </div>\n              </pop.content>\n            </UiPopover>\n          {{else}}\n            <UiPopover as |pop|>\n              <pop.trigger>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-open\" class=\"secondary\" width=\"20\" height=\"20\"}}\n                  <div class=\"red font-sm font-medium ml1\">\n                    {{t \"routes.users.mfa.disabled\"}}\n                  </div>\n                </div>\n              </pop.trigger>\n              <pop.content>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-open\" class=\"secondary flex-shrink-0\" width=\"20\" height=\"20\"}}\n  \n                  <div class=\"flex flex-column secondary ml1\">\n                    {{t \"routes.users.mfa.label\"}}\n                    {{t \"routes.users.mfa.disabled\"}}\n                  </div>\n                </div>\n              </pop.content>\n            </UiPopover>\n          {{/if}}\n        </controls.right>\n      {{/if}}\n  \n      {{#unless item.isDisabled}}\n        <controls.right>\n          {{#if item.mfaEnabledAt}}\n            <UiPopover as |pop|>\n              <pop.trigger>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-closed\" class=\"secondary\" width=\"20\" height=\"20\"}}\n                  <div class=\"blue font-sm font-medium ml1\">\n                    {{t \"routes.users.mfa.enabled\"}}\n                  </div>\n                </div>\n              </pop.trigger>\n              <pop.content>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-closed\" class=\"secondary flex-shrink-0\" width=\"20\" height=\"20\"}}\n  \n                  <div class=\"flex flex-column secondary ml1\">\n                    {{t \"routes.users.mfa.label\"}}\n                    {{t\n                      \"routes.users.mfa.enabledAt\"\n                      date=(format-date item.mfaEnabledAt)\n                      time=(format-time item.mfaEnabledAt format=\"hhmm\")\n                    }}\n                  </div>\n                </div>\n              </pop.content>\n            </UiPopover>\n          {{else}}\n            <UiPopover as |pop|>\n              <pop.trigger>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-open\" class=\"secondary\" width=\"20\" height=\"20\"}}\n                  <div class=\"red font-sm font-medium ml1\">\n                    {{t \"routes.users.mfa.disabled\"}}\n                  </div>\n                </div>\n              </pop.trigger>\n              <pop.content>\n                <div class=\"flex\">\n                  {{svg-jar \"lock-open\" class=\"secondary flex-shrink-0\" width=\"20\" height=\"20\"}}\n  \n                  <div class=\"flex flex-column secondary ml1\">\n                    {{t \"routes.users.mfa.label\"}}\n                    {{t \"routes.users.mfa.disabled\"}}\n                  </div>\n                </div>\n              </pop.content>\n            </UiPopover>\n          {{/if}}\n          <UiItemMenu @stopBubbling={{true}} as |menu|>\n            {{#if item.hasPendingInvite}}\n              <menu.menuItem\n                @label={{t \"routes.users.actions.resendInvite\"}}\n                @onClick={{action \"resendInvitation\" item.id}}\n              />\n            {{else}}\n              {{#if item.active}}\n                <menu.menuItem\n                  @label={{t \"routes.users.actions.deactivate\"}}\n                  @onClick={{action \"deactivateUser\" item.id}}\n                  data-test-deactivate-item\n                />\n              {{else}}\n                <menu.menuItem\n                  @label={{t \"routes.users.actions.activate\"}}\n                  @onClick={{action \"activateUser\" item.id}}\n                  data-test-activate-item\n                />\n              {{/if}}\n            {{/if}}\n  \n            {{#if item.canResetMfa}}\n              <menu.menuItem\n                @label={{t \"routes.users.actions.resetMfa\"}}\n                @onClick={{action \"openResetMfaDialog\" item}}\n              />\n            {{/if}}\n            <menu.menuItem\n              @label={{t \"global.actions.remove\"}}\n              @isDanger={{true}}\n              @onClick={{action \"openDeleteDialog\" item}}\n              data-test-delete-item\n            />\n          </UiItemMenu>\n        </controls.right>\n      {{/unless}}\n    </list.item>\n  </UiList>\n  \n  {{outlet}}\n  */\n  {\n    \"id\": \"bnvwllOY\",\n    \"block\": \"[[[8,[39,0],[[24,\\\"data-test-user-list\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@isLoading\\\",\\\"@items\\\"],[\\\"list-bottom-padding\\\",[30,0,[\\\"isLoading\\\"]],[30,0,[\\\"userCollection\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"count\\\"]],null,[[\\\"@totalCount\\\"],[[30,0,[\\\"userCollection\\\",\\\"length\\\"]]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"empty\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"empty-state w-100 flex flex-column items-center pa4\\\"],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,1],[\\\"empty-content\\\"],[[\\\"class\\\",\\\"height\\\"],[\\\"w-100\\\",\\\"256\\\"]]]],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"font-lg primary pb2\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"routes.users.empty.title\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,2],[14,0,\\\"font-sm secondary\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[28,[35,2],[\\\"routes.users.empty.subtitle\\\"],null]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],[[24,\\\"data-test-user-item\\\",\\\"\\\"]],[[\\\"@title\\\",\\\"@description\\\",\\\"@linkTo\\\",\\\"@linkToParam\\\",\\\"@isDisabled\\\",\\\"@canResetMfa\\\",\\\"@state\\\",\\\"@isActive\\\"],[[52,[28,[37,4],[[30,2,[\\\"fullName\\\"]],\\\" \\\"],null],\\\"-\\\",[30,2,[\\\"fullName\\\"]]],[28,[37,5],[[30,2,[\\\"email\\\"]],[28,[37,5],[\\\" - \\\",[28,[37,2],[[28,[37,5],[\\\"global.roles.\\\",[30,2,[\\\"role\\\"]],\\\".title\\\"],null]],null]],null]],null],\\\"instances.instance.users.list.user\\\",[30,2,[\\\"id\\\"]],[30,2,[\\\"isDisabled\\\"]],[30,2,[\\\"canResetMfa\\\"]],[30,2,[\\\"accountState\\\"]],[28,[37,4],[[30,0,[\\\"_currentRouteIndex\\\"]],[30,2,[\\\"id\\\"]]],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"thumbnail\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"imagePath\\\"]],[[[1,\\\"        \\\"],[10,\\\"img\\\"],[14,0,\\\"br-100\\\"],[15,\\\"src\\\",[30,2,[\\\"imagePath\\\"]]],[14,\\\"alt\\\",\\\"Benutzerbild\\\"],[14,\\\"width\\\",\\\"44\\\"],[14,\\\"height\\\",\\\"44\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex items-center justify-center w-100 h-100 br-100 bg-secondary--20\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"placeholder-user\\\"],[[\\\"class\\\"],[\\\"secondary--40\\\"]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,3,[\\\"state\\\"]],null,null,null],[1,\\\"\\\\n\\\\n\\\"],[41,[28,[37,6],[[30,0,[\\\"currentUser\\\",\\\"user\\\",\\\"id\\\"]],[30,2,[\\\"id\\\"]]],null],[[[1,\\\"      \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"mfaEnabledAt\\\"]],[[[1,\\\"          \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,4,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-closed\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"blue font-sm font-medium ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.enabled\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n            \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-closed\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"flex flex-column secondary ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.label\\\"],null]],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.enabledAt\\\"],[[\\\"date\\\",\\\"time\\\"],[[28,[37,8],[[30,2,[\\\"mfaEnabledAt\\\"]]],null],[28,[37,9],[[30,2,[\\\"mfaEnabledAt\\\"]]],[[\\\"format\\\"],[\\\"hhmm\\\"]]]]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,5,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-open\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"red font-sm font-medium ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.disabled\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n            \\\"],[8,[30,5,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-open\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"flex flex-column secondary ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.label\\\"],null]],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.disabled\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[5]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[51,[30,2,[\\\"isDisabled\\\"]]],[[[1,\\\"      \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"mfaEnabledAt\\\"]],[[[1,\\\"          \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,6,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-closed\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"blue font-sm font-medium ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.enabled\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n            \\\"],[8,[30,6,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-closed\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"flex flex-column secondary ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.label\\\"],null]],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.enabledAt\\\"],[[\\\"date\\\",\\\"time\\\"],[[28,[37,8],[[30,2,[\\\"mfaEnabledAt\\\"]]],null],[28,[37,9],[[30,2,[\\\"mfaEnabledAt\\\"]]],[[\\\"format\\\"],[\\\"hhmm\\\"]]]]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[6]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[8,[39,7],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,7,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-open\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"red font-sm font-medium ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.disabled\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n            \\\"],[8,[30,7,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"lock-open\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\\n                \\\"],[10,0],[14,0,\\\"flex flex-column secondary ml1\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.label\\\"],null]],[1,\\\"\\\\n                  \\\"],[1,[28,[35,2],[\\\"routes.users.mfa.disabled\\\"],null]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[7]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"],[8,[39,11],null,[[\\\"@stopBubbling\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"hasPendingInvite\\\"]],[[[1,\\\"            \\\"],[8,[30,8,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.users.actions.resendInvite\\\"],null],[28,[37,12],[[30,0],\\\"resendInvitation\\\",[30,2,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,2,[\\\"active\\\"]],[[[1,\\\"              \\\"],[8,[30,8,[\\\"menuItem\\\"]],[[24,\\\"data-test-deactivate-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.users.actions.deactivate\\\"],null],[28,[37,12],[[30,0],\\\"deactivateUser\\\",[30,2,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"              \\\"],[8,[30,8,[\\\"menuItem\\\"]],[[24,\\\"data-test-activate-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.users.actions.activate\\\"],null],[28,[37,12],[[30,0],\\\"activateUser\\\",[30,2,[\\\"id\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]]],[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"canResetMfa\\\"]],[[[1,\\\"            \\\"],[8,[30,8,[\\\"menuItem\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"routes.users.actions.resetMfa\\\"],null],[28,[37,12],[[30,0],\\\"openResetMfaDialog\\\",[30,2]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"          \\\"],[8,[30,8,[\\\"menuItem\\\"]],[[24,\\\"data-test-delete-item\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isDanger\\\",\\\"@onClick\\\"],[[28,[37,2],[\\\"global.actions.remove\\\"],null],true,[28,[37,12],[[30,0],\\\"openDeleteDialog\\\",[30,2]],null]]],null],[1,\\\"\\\\n        \\\"]],[8]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"  \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[1,2]]]]],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,14],null,null],null,null,null]],[\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"pop\\\",\\\"pop\\\",\\\"pop\\\",\\\"pop\\\",\\\"menu\\\"],false,[\\\"ui-list\\\",\\\"svg-jar\\\",\\\"t\\\",\\\"if\\\",\\\"eq\\\",\\\"concat\\\",\\\"equal\\\",\\\"ui-popover\\\",\\\"format-date\\\",\\\"format-time\\\",\\\"unless\\\",\\\"ui-item-menu\\\",\\\"action\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/users/list.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/users/list/user\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal\n    @title={{if\n      this.isLoadingUser\n      \"\"\n      (if this.user.active this.user.fullName (t \"routes.users.pendingInvite\"))\n    }}\n    @subtitle={{this.user.email}}\n    @size=\"md\"\n    @onClose={{action \"backAction\"}}\n    as |dialog|\n  >\n    <dialog.header />\n    <dialog.content as |content|>\n      <content.body>\n        {{#if this.isLoadingUser}}\n          <div class=\"flex justify-center mt4 pv1\">\n            <UiLoading />\n          </div>\n        {{else}}\n          {{#if this.partnerTabs}}\n            <UiRoutableTabs as |tabs|>\n              <tabs.header @activeTab={{this.activePartnerTab}} @isUnderlined={{true}} as |header|>\n                {{#each this.partnerTabs as |tab|}}\n                  <header.tab\n                    @tabName={{tab.title}}\n                    @value={{tab}}\n                    @activeTab={{this.activePartnerTab}}\n                    @onClick={{fn (mut this.activePartnerTab) tab}}\n                  />\n                {{/each}}\n              </tabs.header>\n  \n              <tabs.pane @activeTab={{this.activePartnerTab}} @name=\"partner-org\">\n                <div class=\"pt1\">\n                  <UserRoleSelection\n                    @user={{this.user}}\n                    @isDisabled={{this.isUpdateDisabled}}\n                    @globalUserRoles={{this.globalUserRoles}}\n                    @isOrgPartner={{this.isOrgPartner}}\n                  />\n                </div>\n              </tabs.pane>\n              <tabs.pane @activeTab={{this.activePartnerTab}} @name=\"sub-org\">\n                <div class=\"pt1\">\n                  <UserRoleSelection\n                    @user={{this.user}}\n                    @isDisabled={{this.isPartnerUpdateDisabled}}\n                    @globalUserRoles={{this.globalUserRoles}}\n                    @usePartnerProperties={{true}}\n                    @isOrgPartner={{this.isOrgPartner}}\n                  />\n                </div>\n              </tabs.pane>\n            </UiRoutableTabs>\n          {{else}}\n            <UserRoleSelection\n              @user={{this.user}}\n              @isDisabled={{this.isUpdateDisabled}}\n              @globalUserRoles={{this.globalUserRoles}}\n              @isOrgPartner={{this.isOrgPartner}}\n            />\n          {{/if}}\n        {{/if}}\n      </content.body>\n    </dialog.content>\n  </UiModal>\n  */\n  {\n    \"id\": \"jWfQo16M\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@subtitle\\\",\\\"@size\\\",\\\"@onClose\\\"],[[52,[30,0,[\\\"isLoadingUser\\\"]],\\\"\\\",[52,[30,0,[\\\"user\\\",\\\"active\\\"]],[30,0,[\\\"user\\\",\\\"fullName\\\"]],[28,[37,2],[\\\"routes.users.pendingInvite\\\"],null]]],[30,0,[\\\"user\\\",\\\"email\\\"]],\\\"md\\\",[28,[37,3],[[30,0],\\\"backAction\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isLoadingUser\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex justify-center mt4 pv1\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,4],null,null,null],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"partnerTabs\\\"]],[[[1,\\\"          \\\"],[8,[39,5],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[8,[30,3,[\\\"header\\\"]],null,[[\\\"@activeTab\\\",\\\"@isUnderlined\\\"],[[30,0,[\\\"activePartnerTab\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,7],[[28,[37,7],[[30,0,[\\\"partnerTabs\\\"]]],null]],null],null,[[[1,\\\"                \\\"],[8,[30,4,[\\\"tab\\\"]],null,[[\\\"@tabName\\\",\\\"@value\\\",\\\"@activeTab\\\",\\\"@onClick\\\"],[[30,5,[\\\"title\\\"]],[30,5],[30,0,[\\\"activePartnerTab\\\"]],[28,[37,8],[[28,[37,9],[[30,0,[\\\"activePartnerTab\\\"]]],null],[30,5]],null]]],null],[1,\\\"\\\\n\\\"]],[5]],null],[1,\\\"            \\\"]],[4]]]]],[1,\\\"\\\\n\\\\n            \\\"],[8,[30,3,[\\\"pane\\\"]],null,[[\\\"@activeTab\\\",\\\"@name\\\"],[[30,0,[\\\"activePartnerTab\\\"]],\\\"partner-org\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"pt1\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,10],null,[[\\\"@user\\\",\\\"@isDisabled\\\",\\\"@globalUserRoles\\\",\\\"@isOrgPartner\\\"],[[30,0,[\\\"user\\\"]],[30,0,[\\\"isUpdateDisabled\\\"]],[30,0,[\\\"globalUserRoles\\\"]],[30,0,[\\\"isOrgPartner\\\"]]]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n            \\\"],[8,[30,3,[\\\"pane\\\"]],null,[[\\\"@activeTab\\\",\\\"@name\\\"],[[30,0,[\\\"activePartnerTab\\\"]],\\\"sub-org\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"pt1\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,10],null,[[\\\"@user\\\",\\\"@isDisabled\\\",\\\"@globalUserRoles\\\",\\\"@usePartnerProperties\\\",\\\"@isOrgPartner\\\"],[[30,0,[\\\"user\\\"]],[30,0,[\\\"isPartnerUpdateDisabled\\\"]],[30,0,[\\\"globalUserRoles\\\"]],true,[30,0,[\\\"isOrgPartner\\\"]]]],null],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"]],[]]]]],[1,\\\"\\\\n          \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"          \\\"],[8,[39,10],null,[[\\\"@user\\\",\\\"@isDisabled\\\",\\\"@globalUserRoles\\\",\\\"@isOrgPartner\\\"],[[30,0,[\\\"user\\\"]],[30,0,[\\\"isUpdateDisabled\\\"]],[30,0,[\\\"globalUserRoles\\\"]],[30,0,[\\\"isOrgPartner\\\"]]]],null],[1,\\\"\\\\n\\\"]],[]]]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"dialog\\\",\\\"content\\\",\\\"tabs\\\",\\\"header\\\",\\\"tab\\\"],false,[\\\"ui-modal\\\",\\\"if\\\",\\\"t\\\",\\\"action\\\",\\\"ui-loading\\\",\\\"ui-routable-tabs\\\",\\\"each\\\",\\\"-track-array\\\",\\\"fn\\\",\\\"mut\\\",\\\"user-role-selection\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/users/list/user.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/instance/users/partner\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiList\n    @class=\"list-bottom-padding\"\n    @isLoading={{this.isLoading}}\n    @items={{this.users}}\n    data-test-user-list\n    as |list item|\n  >\n    <list.count @totalCount={{this.users.length}} />\n  \n    <list.item\n      @state={{item.accountState}}\n      @title={{if (eq item.fullName \" \") \"-\" item.fullName}}\n      @description={{item.email}}\n      @isDisabled={{true}}\n      data-test-user-item\n      as |controls|\n    >\n      <controls.thumbnail>\n        {{#if item.imagePath}}\n          <img class=\"br-100\" src={{item.imagePath}} alt=\"Benutzerbild\" width=\"44\" height=\"44\" />\n        {{else}}\n          <div class=\"flex items-center justify-center w-100 h-100 br-100 bg-secondary--20\">\n            {{svg-jar \"placeholder-user\" class=\"secondary--40\"}}\n          </div>\n        {{/if}}\n      </controls.thumbnail>\n  \n      {{#if item.mfaEnabledAt}}\n        <controls.right>\n          <UiPopover as |pop|>\n            <pop.trigger>\n              <div class=\"flex\">\n                {{svg-jar \"lock-closed\" class=\"secondary\" width=\"20\" height=\"20\"}}\n                <div class=\"blue font-sm font-medium ml1\">\n                  {{t \"routes.users.mfa.enabled\"}}\n                </div>\n              </div>\n            </pop.trigger>\n            <pop.content>\n              <div class=\"flex\">\n                {{svg-jar \"lock-closed\" class=\"secondary flex-shrink-0\" width=\"20\" height=\"20\"}}\n  \n                <div class=\"flex flex-column secondary ml1\">\n                  {{t \"routes.users.mfa.label\"}}\n                  {{t\n                    \"routes.users.mfa.enabledAt\"\n                    date=(format-date item.mfaEnabledAt)\n                    time=(format-time item.mfaEnabledAt format=\"hhmm\")\n                  }}\n                </div>\n              </div>\n            </pop.content>\n          </UiPopover>\n        </controls.right>\n      {{else}}\n        <controls.right>\n          <UiPopover as |pop|>\n            <pop.trigger>\n              <div class=\"flex\">\n                {{svg-jar \"lock-open\" class=\"secondary\" width=\"20\" height=\"20\"}}\n                <div class=\"red font-sm font-medium ml1\">\n                  {{t \"routes.users.mfa.disabled\"}}\n                </div>\n              </div>\n            </pop.trigger>\n            <pop.content>\n              <div class=\"flex\">\n                {{svg-jar \"lock-open\" class=\"secondary flex-shrink-0\" width=\"20\" height=\"20\"}}\n  \n                <div class=\"flex flex-column secondary ml1\">\n                  {{t \"routes.users.mfa.label\"}}\n                  {{t \"routes.users.mfa.disabled\"}}\n                </div>\n              </div>\n            </pop.content>\n          </UiPopover>\n        </controls.right>\n      {{/if}}\n    </list.item>\n  </UiList>\n  \n  {{outlet}}\n  */\n  {\n    \"id\": \"D1jBzJv3\",\n    \"block\": \"[[[8,[39,0],[[24,\\\"data-test-user-list\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@isLoading\\\",\\\"@items\\\"],[\\\"list-bottom-padding\\\",[30,0,[\\\"isLoading\\\"]],[30,0,[\\\"users\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"count\\\"]],null,[[\\\"@totalCount\\\"],[[30,0,[\\\"users\\\",\\\"length\\\"]]]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"item\\\"]],[[24,\\\"data-test-user-item\\\",\\\"\\\"]],[[\\\"@state\\\",\\\"@title\\\",\\\"@description\\\",\\\"@isDisabled\\\"],[[30,2,[\\\"accountState\\\"]],[52,[28,[37,2],[[30,2,[\\\"fullName\\\"]],\\\" \\\"],null],\\\"-\\\",[30,2,[\\\"fullName\\\"]]],[30,2,[\\\"email\\\"]],true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,3,[\\\"thumbnail\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,2,[\\\"imagePath\\\"]],[[[1,\\\"        \\\"],[10,\\\"img\\\"],[14,0,\\\"br-100\\\"],[15,\\\"src\\\",[30,2,[\\\"imagePath\\\"]]],[14,\\\"alt\\\",\\\"Benutzerbild\\\"],[14,\\\"width\\\",\\\"44\\\"],[14,\\\"height\\\",\\\"44\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"flex items-center justify-center w-100 h-100 br-100 bg-secondary--20\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,3],[\\\"placeholder-user\\\"],[[\\\"class\\\"],[\\\"secondary--40\\\"]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,2,[\\\"mfaEnabledAt\\\"]],[[[1,\\\"      \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,4],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,4,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,3],[\\\"lock-closed\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"blue font-sm font-medium ml1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"routes.users.mfa.enabled\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,3],[\\\"lock-closed\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"flex flex-column secondary ml1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"routes.users.mfa.label\\\"],null]],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"routes.users.mfa.enabledAt\\\"],[[\\\"date\\\",\\\"time\\\"],[[28,[37,6],[[30,2,[\\\"mfaEnabledAt\\\"]]],null],[28,[37,7],[[30,2,[\\\"mfaEnabledAt\\\"]]],[[\\\"format\\\"],[\\\"hhmm\\\"]]]]]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[4]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[8,[30,3,[\\\"right\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[39,4],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[8,[30,5,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,3],[\\\"lock-open\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n              \\\"],[10,0],[14,0,\\\"red font-sm font-medium ml1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"routes.users.mfa.disabled\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n          \\\"],[8,[30,5,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"flex\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,3],[\\\"lock-open\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"secondary flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n\\\\n              \\\"],[10,0],[14,0,\\\"flex flex-column secondary ml1\\\"],[12],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"routes.users.mfa.label\\\"],null]],[1,\\\"\\\\n                \\\"],[1,[28,[35,5],[\\\"routes.users.mfa.disabled\\\"],null]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"]],[5]]]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"]],[3]]]]],[1,\\\"\\\\n\\\"]],[1,2]]]]],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,9],null,null],null,null,null]],[\\\"list\\\",\\\"item\\\",\\\"controls\\\",\\\"pop\\\",\\\"pop\\\"],false,[\\\"ui-list\\\",\\\"if\\\",\\\"eq\\\",\\\"svg-jar\\\",\\\"ui-popover\\\",\\\"t\\\",\\\"format-date\\\",\\\"format-time\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/instance/users/partner.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/me/inbox\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiContentViews @title={{t \"global.messages\"}} @theme=\"grey\" as |view|>\n    <view.navbar />\n  \n    <view.intro @title={{t \"global.messages\"}} @size=\"xl\" @isMultiline={{true}} />\n  \n    <view.count @totalCount={{this.model.length}} @class=\"mt1\" />\n  \n    <view.content>\n      <UiList @items={{this.model}} as |list item|>\n        <list.empty>\n          <div class=\"empty-state w-100 flex flex-column items-center pa4 font-sm\">\n            {{svg-jar \"empty-message\" class=\"w-100\" height=\"256\"}}\n            <div class=\"font-lg primary pb2\">\n              {{t \"routes.messages.empty\"}}\n            </div>\n          </div>\n        </list.empty>\n  \n        <list.item\n          @title={{item.data.title}}\n          @description={{get item.data.text \"0.text\"}}\n          @state={{if item.readAt \"\" \"success\"}}\n          @linkTo=\"instances.me.inbox.message\"\n          @linkToParam={{item.id}}\n          as |controls|\n        >\n          <controls.state />\n        </list.item>\n      </UiList>\n    </view.content>\n  \n    <view.footer @classNames=\"views__footer w-100\" />\n  </UiContentViews>\n  \n  {{outlet}}\n  */\n  {\n    \"id\": \"705dbnrK\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@theme\\\"],[[28,[37,1],[\\\"global.messages\\\"],null],\\\"grey\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"navbar\\\"]],null,null,null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"intro\\\"]],null,[[\\\"@title\\\",\\\"@size\\\",\\\"@isMultiline\\\"],[[28,[37,1],[\\\"global.messages\\\"],null],\\\"xl\\\",true]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"count\\\"]],null,[[\\\"@totalCount\\\",\\\"@class\\\"],[[30,0,[\\\"model\\\",\\\"length\\\"]],\\\"mt1\\\"]],null],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@items\\\"],[[30,0,[\\\"model\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,2,[\\\"empty\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"empty-state w-100 flex flex-column items-center pa4 font-sm\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,3],[\\\"empty-message\\\"],[[\\\"class\\\",\\\"height\\\"],[\\\"w-100\\\",\\\"256\\\"]]]],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"font-lg primary pb2\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"routes.messages.empty\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\\n      \\\"],[8,[30,2,[\\\"item\\\"]],null,[[\\\"@title\\\",\\\"@description\\\",\\\"@state\\\",\\\"@linkTo\\\",\\\"@linkToParam\\\"],[[30,3,[\\\"data\\\",\\\"title\\\"]],[28,[37,4],[[30,3,[\\\"data\\\",\\\"text\\\"]],\\\"0.text\\\"],null],[52,[30,3,[\\\"readAt\\\"]],\\\"\\\",\\\"success\\\"],\\\"instances.me.inbox.message\\\",[30,3,[\\\"id\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[8,[30,4,[\\\"state\\\"]],null,null,null],[1,\\\"\\\\n      \\\"]],[4]]]]],[1,\\\"\\\\n    \\\"]],[2,3]]]]],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\\n  \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"views__footer w-100\\\"]],null],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[46,[28,[37,7],null,null],null,null,null]],[\\\"view\\\",\\\"list\\\",\\\"item\\\",\\\"controls\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"ui-list\\\",\\\"svg-jar\\\",\\\"get\\\",\\\"if\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/me/inbox.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/me/inbox/message\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiModal\n    @size=\"md\"\n    @modalClassNames=\"h-auto\"\n    @title={{if this.model this.model.data.title (t \"routes.messages.message.errorTitle\")}}\n    @onClose={{action \"back\"}}\n    as |dialog|\n  >\n    <dialog.header />\n    <dialog.content as |content|>\n      <content.body>\n        {{#each this.messageContent as |line index|}}\n          <div class=\"{{if index 'pt2'}} {{if line.isAction 'flex'}}\">\n            {{#if line.isAction}}\n              <UiButton\n                @class=\"db\"\n                @href={{get line.text (dec line.text.length)}}\n                @target=\"_blank\"\n                @label={{get line.text \"0\"}}\n                data-test-action-anchor\n              />\n            {{else}}\n              {{line.text}}\n            {{/if}}\n          </div>\n        {{/each}}\n      </content.body>\n    </dialog.content>\n  </UiModal>\n  */\n  {\n    \"id\": \"MIKPPrDt\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@size\\\",\\\"@modalClassNames\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",\\\"h-auto\\\",[52,[30,0,[\\\"model\\\"]],[30,0,[\\\"model\\\",\\\"data\\\",\\\"title\\\"]],[28,[37,2],[\\\"routes.messages.message.errorTitle\\\"],null]],[28,[37,3],[[30,0],\\\"back\\\"],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n  \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,2,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[42,[28,[37,5],[[28,[37,5],[[30,0,[\\\"messageContent\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[10,0],[15,0,[29,[[52,[30,4],\\\"pt2\\\"],\\\" \\\",[52,[30,3,[\\\"isAction\\\"]],\\\"flex\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,3,[\\\"isAction\\\"]],[[[1,\\\"            \\\"],[8,[39,6],[[24,\\\"data-test-action-anchor\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@href\\\",\\\"@target\\\",\\\"@label\\\"],[\\\"db\\\",[28,[37,7],[[30,3,[\\\"text\\\"]],[28,[37,8],[[30,3,[\\\"text\\\",\\\"length\\\"]]],null]],null],\\\"_blank\\\",[28,[37,7],[[30,3,[\\\"text\\\"]],\\\"0\\\"],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[1,[30,3,[\\\"text\\\"]]],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"],[13],[1,\\\"\\\\n\\\"]],[3,4]],null],[1,\\\"    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[1]]]]]],[\\\"dialog\\\",\\\"content\\\",\\\"line\\\",\\\"index\\\"],false,[\\\"ui-modal\\\",\\\"if\\\",\\\"t\\\",\\\"action\\\",\\\"each\\\",\\\"-track-array\\\",\\\"ui-button\\\",\\\"get\\\",\\\"dec\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/me/inbox/message.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/instances/me/index\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{! template-lint-disable no-action }}\n  <UiContentViews\n    @title={{t \"global.myProfile\"}}\n    @class=\"index-view flex-column\"\n    @hasHeader={{true}}\n    as |view|\n  >\n    <AaFileUpload\n      @accept=\".jpg,.jpeg,.png\"\n      @class=\"avatar-upload ohidden relative bg-white br-100\"\n      @onFileChange={{action \"uploadImage\"}}\n      @minDimensions={{this.minImageDimensions}}\n      @uploadUrl={{this.uploadUrl}}\n      @url={{this.globalUser.imagePath}}\n      as |upload|\n    >\n      <view.navbar {{did-insert this.didInsert}} as |nav|>\n        {{#if this.isChangePasswordActionVisible}}\n          <nav.action\n            @label={{t \"global.actions.changePassword\"}}\n            @onClick={{perform this.updateCredentials}}\n            data-test-update-password\n          />\n        {{/if}}\n        <nav.action\n          @label={{t \"me.actions.deleteProfileImage\"}}\n          @isDisabled={{this.isDeleteImageDisabled}}\n          @onClick={{upload.onDelete}}\n          data-test-delete-image\n        />\n  \n        {{#if this.isTwoFactorAuthenticationEnabled}}\n          <nav.action\n            @label={{t \"me.actions.disableTwoFactorAuthentication\"}}\n            @onClick={{fn (mut this.isDisableTwoFactorAuthenticationDialog) true}}\n          />\n        {{else}}\n          <nav.action\n            @label={{t \"me.actions.enableTwoFactorAuthentication\"}}\n            @onClick={{fn (mut this.isEnableTwoFactorAuthenticationDialog) true}}\n          />\n        {{/if}}\n      </view.navbar>\n  \n      <view.contentHeader>\n        <div class=\"user-section ohidden relative bg-primary\">\n          {{#if this.model.imageHeaderPath}}\n            <div class=\"absolute absolute--fill flex justify-center items-center\">\n              <img\n                class=\"background-image\"\n                src=\"{{this.model.imageHeaderPath}}\"\n                alt=\"Cover Bild\"\n                data-test-background-image\n              />\n            </div>\n          {{/if}}\n  \n          <div\n            class=\"user-section--inner ma-auto h-100 flex flex-column flex-row-sm justify-center justify-start-md items-center\"\n          >\n            <upload.input data-test-file-upload />\n            <div class=\"details white\">\n              <div class=\"name font-lg font-regular mt2\">\n                {{this.globalUser.givenName}}\n                {{this.globalUser.familyName}}\n              </div>\n              <div class=\"font-sm\" data-test-user-email>\n                {{this.globalUser.email}}\n              </div>\n            </div>\n          </div>\n        </div>\n      </view.contentHeader>\n  \n      <view.content>\n        <div class=\"index-view-content ma-auto pt4 w-100 ph2 ph0-md\">\n          <AaUser::Detail @user={{this.globalUser}} />\n        </div>\n      </view.content>\n  \n      <view.footer @classNames=\"views__footer flex flex-column items-end w-100\">\n        <UiButton\n          @class=\"absolute bottom-3 right-3\"\n          @icon=\"edit\"\n          @isFabButton={{true}}\n          @onClick={{fn (mut this.isDetailDialog) true}}\n          data-test-open-profile-action\n        />\n      </view.footer>\n    </AaFileUpload>\n  </UiContentViews>\n  \n  {{#if this.isEnableTwoFactorAuthenticationDialog}}\n    <AaTwoFactorAuthentication::EnableDialog\n      @onClose={{fn (mut this.isEnableTwoFactorAuthenticationDialog) false}}\n      @onSuccess={{fn (mut this.isTwoFactorAuthenticationEnabled) true}}\n    />\n  {{/if}}\n  \n  {{#if this.isDisableTwoFactorAuthenticationDialog}}\n    <UiModal\n      @size=\"md\"\n      @title={{t \"me.disableTwoFactorAuthenticationInfoDialog.title\"}}\n      @onClose={{fn (mut this.isDisableTwoFactorAuthenticationDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content as |content|>\n        <content.body>\n          <div>{{t \"me.disableTwoFactorAuthenticationInfoDialog.description\"}}</div>\n  \n          <a\n            class=\"flex items-center font-sm blue cpointer mt1\"\n            href={{this.helpUrl}}\n            target=\"_blank\"\n            rel=\"noopener noreferrer\"\n          >\n            {{svg-jar \"new-window\" class=\"mr05 flex-shrink-0\" width=\"20\" height=\"20\"}}\n            {{t \"me.disableTwoFactorAuthenticationInfoDialog.helpdesk\"}}\n          </a>\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.close\"}}\n          @onClick={{fn (mut this.isDisableTwoFactorAuthenticationDialog) false}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isChangePasswordDialog}}\n    <UiModal\n      @size=\"sm\"\n      @title={{t \"global.currentUser.changePassword.title\"}}\n      @onClose={{fn (mut this.isChangePasswordDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content data-test-update-password-content as |content|>\n        <content.body>\n          <div class=\"flex-column\">\n            <div class=\"mt2 font-md secondary\">\n              {{t \"global.currentUser.changePassword.description\"}}\n            </div>\n  \n            {{#if this.isFetchingAuthStatus}}\n              <div class=\"loading-container w-100 h2 flex justify-center items-center\">\n                <UiLoading />\n              </div>\n            {{else}}\n              <UiPopover as |pop|>\n                <pop.trigger>\n                  <div class=\"flex secondary mt1\">\n                    <div class=\"flex items-center font-sm secondary mr05\">\n                      {{t \"global.attributes.password\"}}\n                    </div>\n                    {{svg-jar \"info\" width=\"20\" height=\"20\"}}\n                  </div>\n                </pop.trigger>\n                <pop.content class=\"secondary\">\n                  {{t \"global.infoMessages.password\" htmlSafe=true}}\n                </pop.content>\n              </UiPopover>\n              <UiInput\n                @class=\"w-100\"\n                @isPlain={{true}}\n                @value={{this.userChangeset.password}}\n                @errorMessage={{get this.userChangeset.error.password \"validation\"}}\n                @type=\"password\"\n              />\n              <div class=\"font-xs red\">\n                {{get this.userChangeset.error.password \"validation\"}}\n              </div>\n  \n              <div class=\"flex flex-row\">\n                <UiInput\n                  @class=\"w-100\"\n                  @label={{t \"global.attributes.passwordConfirmation\"}}\n                  @value={{this.userChangeset.passwordConfirmation}}\n                  @errorMessage={{get this.userChangeset.error.passwordConfirmation \"validation\"}}\n                  @type=\"password\"\n                />\n              </div>\n            {{/if}}\n          </div>\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.saveChanges\"}}\n          @isDisabled={{this.isUpdatingPassword}}\n          @onClick={{perform this.updatePassword}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isConfirmCredentialsDialog}}\n    <UiModal\n      @size=\"sm\"\n      @title={{t \"global.currentUser.confirmCredentials.title\"}}\n      @onClose={{this.closeCredentialsConfirmation}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content data-test-confirm-credentials as |content|>\n        <content.body>\n          <div class=\"flex-column\">\n            <div class=\"mt2 font-md secondary\">\n              {{t \"global.currentUser.confirmCredentials.description\"}}\n            </div>\n            <div class=\"flex flex-row mt1\">\n              <UiInput\n                @class=\"w-100\"\n                @label={{t \"global.attributes.password\"}}\n                @value={{this.userChangeset.password}}\n                @errorMessage={{get this.userChangeset.error.password \"validation\"}}\n                @type=\"password\"\n              />\n            </div>\n          </div>\n        </content.body>\n      </dialog.content>\n      <dialog.footer>\n        <UiButton\n          @label={{t \"global.actions.confirm\"}}\n          @isDisabled={{this.isConfirmingCredentials}}\n          @onClick={{perform this.confirmPassword}}\n        />\n      </dialog.footer>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isInvalidTokenDialog}}\n    <UiModal\n      @size=\"sm\"\n      @title={{t \"global.dialogs.invitationError.title\"}}\n      @onClose={{fn (mut this.isInvalidTokenDialog) false}}\n      as |dialog|\n    >\n      <dialog.header />\n      <dialog.content data-test-invitation-dialog as |content|>\n        <content.body>\n          <div class=\"flex-column\">\n            <div class=\"font-md secondary\">\n              {{t \"global.dialogs.invitationError.description\"}}\n            </div>\n          </div>\n        </content.body>\n      </dialog.content>\n    </UiModal>\n  {{/if}}\n  \n  {{#if this.isDetailDialog}}\n    <UserProfileView\n      @user={{this.globalUser}}\n      @onConfirm={{perform this.updateUser}}\n      @onClose={{fn (mut this.isDetailDialog) false}}\n    />\n  {{/if}}\n  */\n  {\n    \"id\": \"X32f7RFC\",\n    \"block\": \"[[[8,[39,0],null,[[\\\"@title\\\",\\\"@class\\\",\\\"@hasHeader\\\"],[[28,[37,1],[\\\"global.myProfile\\\"],null],\\\"index-view flex-column\\\",true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n  \\\"],[8,[39,2],null,[[\\\"@accept\\\",\\\"@class\\\",\\\"@onFileChange\\\",\\\"@minDimensions\\\",\\\"@uploadUrl\\\",\\\"@url\\\"],[\\\".jpg,.jpeg,.png\\\",\\\"avatar-upload ohidden relative bg-white br-100\\\",[28,[37,3],[[30,0],\\\"uploadImage\\\"],null],[30,0,[\\\"minImageDimensions\\\"]],[30,0,[\\\"uploadUrl\\\"]],[30,0,[\\\"globalUser\\\",\\\"imagePath\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,1,[\\\"navbar\\\"]],[[4,[38,4],[[30,0,[\\\"didInsert\\\"]]],null]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isChangePasswordActionVisible\\\"]],[[[1,\\\"        \\\"],[8,[30,3,[\\\"action\\\"]],[[24,\\\"data-test-update-password\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.changePassword\\\"],null],[28,[37,6],[[30,0,[\\\"updateCredentials\\\"]]],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[8,[30,3,[\\\"action\\\"]],[[24,\\\"data-test-delete-image\\\",\\\"\\\"]],[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"me.actions.deleteProfileImage\\\"],null],[30,0,[\\\"isDeleteImageDisabled\\\"]],[30,2,[\\\"onDelete\\\"]]]],null],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isTwoFactorAuthenticationEnabled\\\"]],[[[1,\\\"        \\\"],[8,[30,3,[\\\"action\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"me.actions.disableTwoFactorAuthentication\\\"],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isDisableTwoFactorAuthenticationDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[8,[30,3,[\\\"action\\\"]],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"me.actions.enableTwoFactorAuthentication\\\"],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isEnableTwoFactorAuthenticationDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"    \\\"]],[3]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,1,[\\\"contentHeader\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"user-section ohidden relative bg-primary\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"model\\\",\\\"imageHeaderPath\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"absolute absolute--fill flex justify-center items-center\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"img\\\"],[14,0,\\\"background-image\\\"],[15,\\\"src\\\",[29,[[30,0,[\\\"model\\\",\\\"imageHeaderPath\\\"]]]]],[14,\\\"alt\\\",\\\"Cover Bild\\\"],[14,\\\"data-test-background-image\\\",\\\"\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"user-section--inner ma-auto h-100 flex flex-column flex-row-sm justify-center justify-start-md items-center\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[30,2,[\\\"input\\\"]],[[24,\\\"data-test-file-upload\\\",\\\"\\\"]],null,null],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"details white\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"name font-lg font-regular mt2\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[30,0,[\\\"globalUser\\\",\\\"givenName\\\"]]],[1,\\\"\\\\n              \\\"],[1,[30,0,[\\\"globalUser\\\",\\\"familyName\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"font-sm\\\"],[14,\\\"data-test-user-email\\\",\\\"\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[30,0,[\\\"globalUser\\\",\\\"email\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,1,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"index-view-content ma-auto pt4 w-100 ph2 ph0-md\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,9],null,[[\\\"@user\\\"],[[30,0,[\\\"globalUser\\\"]]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n\\\\n    \\\"],[8,[30,1,[\\\"footer\\\"]],null,[[\\\"@classNames\\\"],[\\\"views__footer flex flex-column items-end w-100\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,10],[[24,\\\"data-test-open-profile-action\\\",\\\"\\\"]],[[\\\"@class\\\",\\\"@icon\\\",\\\"@isFabButton\\\",\\\"@onClick\\\"],[\\\"absolute bottom-3 right-3\\\",\\\"edit\\\",true,[28,[37,7],[[28,[37,8],[[30,0,[\\\"isDetailDialog\\\"]]],null],true],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[2]]]]],[1,\\\"\\\\n\\\"]],[1]]]]],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isEnableTwoFactorAuthenticationDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,11],null,[[\\\"@onClose\\\",\\\"@onSuccess\\\"],[[28,[37,7],[[28,[37,8],[[30,0,[\\\"isEnableTwoFactorAuthenticationDialog\\\"]]],null],false],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isTwoFactorAuthenticationEnabled\\\"]]],null],true],null]]],null],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDisableTwoFactorAuthenticationDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"md\\\",[28,[37,1],[\\\"me.disableTwoFactorAuthenticationInfoDialog.title\\\"],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isDisableTwoFactorAuthenticationDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"content\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,5,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[12],[1,[28,[35,1],[\\\"me.disableTwoFactorAuthenticationInfoDialog.description\\\"],null]],[13],[1,\\\"\\\\n\\\\n        \\\"],[10,3],[14,0,\\\"flex items-center font-sm blue cpointer mt1\\\"],[15,6,[30,0,[\\\"helpUrl\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,13],[\\\"new-window\\\"],[[\\\"class\\\",\\\"width\\\",\\\"height\\\"],[\\\"mr05 flex-shrink-0\\\",\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n          \\\"],[1,[28,[35,1],[\\\"me.disableTwoFactorAuthenticationInfoDialog.helpdesk\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[5]]]]],[1,\\\"\\\\n    \\\"],[8,[30,4,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.close\\\"],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isDisableTwoFactorAuthenticationDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[4]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isChangePasswordDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"sm\\\",[28,[37,1],[\\\"global.currentUser.changePassword.title\\\"],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isChangePasswordDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,6,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,6,[\\\"content\\\"]],[[24,\\\"data-test-update-password-content\\\",\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,7,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex-column\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"mt2 font-md secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"global.currentUser.changePassword.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"isFetchingAuthStatus\\\"]],[[[1,\\\"            \\\"],[10,0],[14,0,\\\"loading-container w-100 h2 flex justify-center items-center\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,14],null,null,null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[8,[39,15],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"trigger\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[10,0],[14,0,\\\"flex secondary mt1\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,0],[14,0,\\\"flex items-center font-sm secondary mr05\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[28,[35,1],[\\\"global.attributes.password\\\"],null]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                  \\\"],[1,[28,[35,13],[\\\"info\\\"],[[\\\"width\\\",\\\"height\\\"],[\\\"20\\\",\\\"20\\\"]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n              \\\"],[8,[30,8,[\\\"content\\\"]],[[24,0,\\\"secondary\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n                \\\"],[1,[28,[35,1],[\\\"global.infoMessages.password\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n              \\\"]],[]]]]],[1,\\\"\\\\n            \\\"]],[8]]]]],[1,\\\"\\\\n            \\\"],[8,[39,16],null,[[\\\"@class\\\",\\\"@isPlain\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@type\\\"],[\\\"w-100\\\",true,[30,0,[\\\"userChangeset\\\",\\\"password\\\"]],[28,[37,17],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"password\\\"]],\\\"validation\\\"],null],\\\"password\\\"]],null],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"font-xs red\\\"],[12],[1,\\\"\\\\n              \\\"],[1,[28,[35,17],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"password\\\"]],\\\"validation\\\"],null]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\\n            \\\"],[10,0],[14,0,\\\"flex flex-row\\\"],[12],[1,\\\"\\\\n              \\\"],[8,[39,16],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@type\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.attributes.passwordConfirmation\\\"],null],[30,0,[\\\"userChangeset\\\",\\\"passwordConfirmation\\\"]],[28,[37,17],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"passwordConfirmation\\\"]],\\\"validation\\\"],null],\\\"password\\\"]],null],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[7]]]]],[1,\\\"\\\\n    \\\"],[8,[30,6,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.saveChanges\\\"],null],[30,0,[\\\"isUpdatingPassword\\\"]],[28,[37,6],[[30,0,[\\\"updatePassword\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[6]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isConfirmCredentialsDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"sm\\\",[28,[37,1],[\\\"global.currentUser.confirmCredentials.title\\\"],null],[30,0,[\\\"closeCredentialsConfirmation\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"content\\\"]],[[24,\\\"data-test-confirm-credentials\\\",\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,10,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex-column\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"mt2 font-md secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"global.currentUser.confirmCredentials.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"flex flex-row mt1\\\"],[12],[1,\\\"\\\\n            \\\"],[8,[39,16],null,[[\\\"@class\\\",\\\"@label\\\",\\\"@value\\\",\\\"@errorMessage\\\",\\\"@type\\\"],[\\\"w-100\\\",[28,[37,1],[\\\"global.attributes.password\\\"],null],[30,0,[\\\"userChangeset\\\",\\\"password\\\"]],[28,[37,17],[[30,0,[\\\"userChangeset\\\",\\\"error\\\",\\\"password\\\"]],\\\"validation\\\"],null],\\\"password\\\"]],null],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[10]]]]],[1,\\\"\\\\n    \\\"],[8,[30,9,[\\\"footer\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[39,10],null,[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[[28,[37,1],[\\\"global.actions.confirm\\\"],null],[30,0,[\\\"isConfirmingCredentials\\\"]],[28,[37,6],[[30,0,[\\\"confirmPassword\\\"]]],null]]],null],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"]],[9]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isInvalidTokenDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,12],null,[[\\\"@size\\\",\\\"@title\\\",\\\"@onClose\\\"],[\\\"sm\\\",[28,[37,1],[\\\"global.dialogs.invitationError.title\\\"],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isInvalidTokenDialog\\\"]]],null],false],null]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[30,11,[\\\"header\\\"]],null,null,null],[1,\\\"\\\\n    \\\"],[8,[30,11,[\\\"content\\\"]],[[24,\\\"data-test-invitation-dialog\\\",\\\"\\\"]],null,[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[8,[30,12,[\\\"body\\\"]],null,null,[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"flex-column\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"font-md secondary\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[28,[35,1],[\\\"global.dialogs.invitationError.description\\\"],null]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n    \\\"]],[12]]]]],[1,\\\"\\\\n  \\\"]],[11]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"isDetailDialog\\\"]],[[[1,\\\"  \\\"],[8,[39,18],null,[[\\\"@user\\\",\\\"@onConfirm\\\",\\\"@onClose\\\"],[[30,0,[\\\"globalUser\\\"]],[28,[37,6],[[30,0,[\\\"updateUser\\\"]]],null],[28,[37,7],[[28,[37,8],[[30,0,[\\\"isDetailDialog\\\"]]],null],false],null]]],null],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"view\\\",\\\"upload\\\",\\\"nav\\\",\\\"dialog\\\",\\\"content\\\",\\\"dialog\\\",\\\"content\\\",\\\"pop\\\",\\\"dialog\\\",\\\"content\\\",\\\"dialog\\\",\\\"content\\\"],false,[\\\"ui-content-views\\\",\\\"t\\\",\\\"aa-file-upload\\\",\\\"action\\\",\\\"did-insert\\\",\\\"if\\\",\\\"perform\\\",\\\"fn\\\",\\\"mut\\\",\\\"aa-user/detail\\\",\\\"ui-button\\\",\\\"aa-two-factor-authentication/enable-dialog\\\",\\\"ui-modal\\\",\\\"svg-jar\\\",\\\"ui-loading\\\",\\\"ui-popover\\\",\\\"ui-input\\\",\\\"get\\\",\\\"user-profile-view\\\"]]\",\n    \"moduleName\": \"additive-account/templates/instances/me/index.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/invite\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"auth-views bg-primary\">\n    <UiContent @isCentered={{true}}>\n      <UiLoading />\n    </UiContent>\n  </div>\n  */\n  {\n    \"id\": \"Ve7K4Ila\",\n    \"block\": \"[[[10,0],[14,0,\\\"auth-views bg-primary\\\"],[12],[1,\\\"\\\\n  \\\"],[8,[39,0],null,[[\\\"@isCentered\\\"],[true]],[[\\\"default\\\"],[[[[1,\\\"\\\\n    \\\"],[8,[39,1],null,null,null],[1,\\\"\\\\n  \\\"]],[]]]]],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"ui-content\\\",\\\"ui-loading\\\"]]\",\n    \"moduleName\": \"additive-account/templates/invite.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/loading\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div id=\"additive-load-indicator\"></div>\n  \n  */\n  {\n    \"id\": \"BQjiIn0b\",\n    \"block\": \"[[[10,0],[14,1,\\\"additive-load-indicator\\\"],[12],[13],[1,\\\"\\\\n\\\"]],[],false,[]]\",\n    \"moduleName\": \"additive-account/templates/loading.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/logout\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    class=\"flex flex-column flex-grow-1 items-center justify-center w-100 h-100 pa3 font-lg bg-primary white\"\n  >\n    {{t \"auth.logout.wait\" htmlSafe=true}}\n    <UiLoading @class=\"mt3\" />\n  \n    {{outlet}}\n  </div>\n  */\n  {\n    \"id\": \"vNoV3Zng\",\n    \"block\": \"[[[10,0],[14,0,\\\"flex flex-column flex-grow-1 items-center justify-center w-100 h-100 pa3 font-lg bg-primary white\\\"],[12],[1,\\\"\\\\n  \\\"],[1,[28,[35,0],[\\\"auth.logout.wait\\\"],[[\\\"htmlSafe\\\"],[true]]]],[1,\\\"\\\\n  \\\"],[8,[39,1],null,[[\\\"@class\\\"],[\\\"mt3\\\"]],null],[1,\\\"\\\\n\\\\n  \\\"],[46,[28,[37,3],null,null],null,null,null],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"t\\\",\\\"ui-loading\\\",\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"additive-account/templates/logout.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/templates/page-not-found\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <UiPageNotFound />\n  */\n  {\n    \"id\": \"55RMad3F\",\n    \"block\": \"[[[8,[39,0],null,null,null]],[],false,[\\\"ui-page-not-found\\\"]]\",\n    \"moduleName\": \"additive-account/templates/page-not-found.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"additive-account/transforms/boolean\", [\"exports\", \"@ember-data/serializer/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _private.BooleanTransform;\n    }\n  });\n});","define(\"additive-account/transforms/date\", [\"exports\", \"@ember-data/serializer/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _private.DateTransform;\n    }\n  });\n});","define(\"additive-account/transforms/number\", [\"exports\", \"@ember-data/serializer/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _private.NumberTransform;\n    }\n  });\n});","define(\"additive-account/transforms/string\", [\"exports\", \"@ember-data/serializer/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _private.StringTransform;\n    }\n  });\n});","define(\"additive-account/transitions\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default() {\n    // Add your transitions here, like:\n    //   this.transition(\n    //     this.fromRoute('people.index'),\n    //     this.toRoute('people.detail'),\n    //     this.use('toLeft'),\n    //     this.reverse('toRight')\n    //   );\n    // You can constrain the from-value too.\n  }\n});","define(\"additive-account/transitions/tab-transition\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(/* arg1, arg2 */\n  ) {\n    // Stop any currently running animation on oldElement\n    (0, _liquidFire.stop)(this.oldElement);\n\n    // Fade out the old element\n    return (0, _liquidFire.animate)(this.oldElement, {\n      opacity: 0,\n      translateY: '40px'\n    }, {\n      duration: 200\n    })\n    // And then fade in the new element, from opacity 0 to 1\n    .then(() => {\n      (0, _liquidFire.animate)(this.newElement, {\n        opacity: [1, 0],\n        translateY: ['0px', '40px']\n      }, {\n        duration: 200\n      });\n    });\n  }\n});","define(\"additive-account/utils/api-query-errors\", [\"exports\", \"@ember/object\", \"@ember/utils\"], function (_exports, _object, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.combineErrors = combineErrors;\n  /**\n   * give me:\n   *   ['email:validation.required', 'password:validation.required']\n   * and I give you:\n   *   {\n   *     email: ['validation.required'],\n   *     password:['validation.required'],\n   *   }\n   **/\n  function combineErrors(errors) {\n    if (typeof errors === 'undefined' || !Array.isArray(errors)) {\n      return [];\n    }\n    let combinedErrors = {};\n    errors.forEach(error => {\n      var _combinedErrors$key;\n      let [key, errorValue] = error.split(':');\n      if ((0, _utils.isEmpty)(combinedErrors === null || combinedErrors === void 0 ? void 0 : combinedErrors[key])) {\n        (0, _object.set)(combinedErrors, key, []);\n      }\n      combinedErrors === null || combinedErrors === void 0 || (_combinedErrors$key = combinedErrors[key]) === null || _combinedErrors$key === void 0 || _combinedErrors$key.push(errorValue);\n    });\n    return combinedErrors;\n  }\n});","define(\"additive-account/utils/app-management\", [\"exports\", \"additive-account/config/environment\", \"ember-concurrency\", \"rsvp\", \"@ember/object\"], function (_exports, _environment, _emberConcurrency, _rsvp, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getBuyableApps = _exports.getBoughtApps = _exports.getApps = _exports.EXCLUDED_APP_IDS = void 0;\n  // list of apps that should be excluded from the list\n  const EXCLUDED_APP_IDS = _exports.EXCLUDED_APP_IDS = [];\n\n  /**\n   * Fetches all apps and plans a user can subscribe to\n   *\n   * @method getBoughtApps\n   * @returns {Object[]}\n   */\n  const getBoughtApps = _exports.getBoughtApps = {};\n  (0, _object.defineProperty)(getBoughtApps, 'task', (0, _emberConcurrency.task)(function* (self, slug) {\n    const request = self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/apps?bought=1&organization=${slug}`);\n    return yield request.then(response => response.json()).then(data => {\n      if (data && data.errors) {\n        return (0, _rsvp.reject)(data.errors);\n      } else {\n        return (0, _rsvp.resolve)(data);\n      }\n    });\n  }).drop());\n\n  /**\n   * Fetches all apps and plans a user can purchase\n   * and excludes 'HIDDEN'-Apps\n   *\n   * @method getBuyableApps\n   * @returns {Object[]}\n   */\n  const getBuyableApps = _exports.getBuyableApps = {};\n  (0, _object.defineProperty)(getBuyableApps, 'task', (0, _emberConcurrency.task)(function* (self, slug) {\n    const request = self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/apps?buyable=1&organization=${slug}`);\n    const response = yield request;\n    const data = yield response.json();\n    const apps = data && data.apps || [];\n    const filteredApps = apps.filter(app => EXCLUDED_APP_IDS.indexOf(`${app.id}`) === -1);\n    const sortedApps = filteredApps.sort((item, next) => item.id < next.id ? -1 : 1);\n    return (0, _rsvp.resolve)(sortedApps);\n  }).drop());\n\n  /**\n   * Fetches all apps of an organization\n   *\n   * @method getApps\n   * @returns {Object[]}\n   */\n  const getApps = _exports.getApps = {};\n  (0, _object.defineProperty)(getApps, 'task', (0, _emberConcurrency.task)(function* (self) {\n    let apps = self.store.peekAll('app');\n    if (apps.length < 1) {\n      apps = yield self.store.findAll('app');\n    }\n    return apps;\n  }).drop());\n});","define(\"additive-account/utils/app-utils\", [\"exports\", \"@additive-apps/ui/utils/app-utils\"], function (_exports, _appUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _appUtils.default;\n    }\n  });\n});","define(\"additive-account/utils/billing-management\", [\"exports\", \"additive-account/config/environment\", \"ember-concurrency\", \"rsvp\", \"@ember/object\"], function (_exports, _environment, _emberConcurrency, _rsvp, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getSubscriptionData = _exports.getInvoiceData = _exports.getBillingData = void 0;\n  /**\n   * Fetches billing data of an organization\n   *\n   * @method getBillingData\n   * @returns {Object[]}\n   */\n  const getBillingData = _exports.getBillingData = {};\n  (0, _object.defineProperty)(getBillingData, 'task', (0, _emberConcurrency.task)(function* (self, organizationId) {\n    const endpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${organizationId}/billing`;\n    const request = self.authenticatedFetch.fetch(endpoint);\n    const response = yield request;\n    if (response && response.status === 204) {\n      return (0, _rsvp.resolve)();\n    } else {\n      const data = yield response.json();\n      if (data && data.errors) {\n        return (0, _rsvp.reject)(data.errors);\n      } else {\n        return (0, _rsvp.resolve)(data);\n      }\n    }\n  }).drop());\n\n  /**\n   * Fetches subscription data of an organization\n   *\n   * @method getSubscriptionData\n   * @returns {Object[]}\n   */\n  const getSubscriptionData = _exports.getSubscriptionData = {};\n  (0, _object.defineProperty)(getSubscriptionData, 'task', (0, _emberConcurrency.task)(function* (self, organizationId) {\n    const endpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${organizationId}/subscription`;\n    const request = self.authenticatedFetch.fetch(endpoint);\n    const response = yield request;\n    if (response && response.status === 204) {\n      return (0, _rsvp.resolve)();\n    } else {\n      const data = yield response.json();\n      if (data && data.errors) {\n        return (0, _rsvp.reject)(data.errors);\n      } else {\n        return (0, _rsvp.resolve)(data);\n      }\n    }\n  }).drop());\n\n  /**\n   * Fetches invoice data of an organization\n   *\n   * @method getInvoiceData\n   * @returns {Object[]}\n   */\n  const getInvoiceData = _exports.getInvoiceData = {};\n  (0, _object.defineProperty)(getInvoiceData, 'task', (0, _emberConcurrency.task)(function* (self, organizationId) {\n    const isOwner = yield (0, _emberConcurrency.waitForProperty)(self, 'currentUser.isOwner', isOwner => isOwner != undefined);\n    if (isOwner) {\n      const endpoint = `${_environment.default.APP.apiBaseHost}/api/organizations/${organizationId}/invoices`;\n      const request = self.authenticatedFetch.fetch(endpoint);\n      const response = yield request;\n      const data = yield response.json();\n      if (data && data.errors) {\n        return (0, _rsvp.reject)(data.errors);\n      }\n      return (0, _rsvp.resolve)(data);\n    }\n  }).drop());\n});","define(\"additive-account/utils/calculate-position\", [\"exports\", \"ember-basic-dropdown/utils/calculate-position\"], function (_exports, _calculatePosition) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _calculatePosition.default;\n    }\n  });\n});","define(\"additive-account/utils/chart-defaults\", [\"exports\", \"@additive-apps/ui/utils/chart-defaults\"], function (_exports, _chartDefaults) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _chartDefaults.default;\n    }\n  });\n});","define(\"additive-account/utils/chart-draw-value-plugin\", [\"exports\", \"@additive-apps/ui/utils/chart-draw-value-plugin\"], function (_exports, _chartDrawValuePlugin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _chartDrawValuePlugin.default;\n    }\n  });\n});","define(\"additive-account/utils/chart-tooltip-plugin\", [\"exports\", \"@additive-apps/ui/utils/chart-tooltip-plugin\"], function (_exports, _chartTooltipPlugin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _chartTooltipPlugin.default;\n    }\n  });\n});","define(\"additive-account/utils/close-tab-utils\", [\"exports\", \"@additive-apps/ui/utils/close-tab-utils\"], function (_exports, _closeTabUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _closeTabUtils.default;\n    }\n  });\n});","define(\"additive-account/utils/colors\", [\"exports\", \"additive-utils/utils/colors\"], function (_exports, _colors) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _colors.default;\n    }\n  });\n});","define(\"additive-account/utils/constants-fonts\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.serifFontsFallbacks = _exports.serifFonts = _exports.sansSerifFontsFallbacks = _exports.sansSerifFonts = _exports.default = _exports.FONT_TYPES = void 0;\n  const sansSerifFonts = _exports.sansSerifFonts = [{\n    name: 'Helvetica',\n    value: 'Helvetica',\n    serif: false\n  }, {\n    name: 'Lucida Grande',\n    value: 'Lucida Grande',\n    serif: false\n  }, {\n    name: 'Geneva',\n    value: 'Geneva',\n    serif: false\n  }, {\n    name: 'Arial',\n    value: 'Arial',\n    serif: false\n  }, {\n    name: 'Verdana',\n    value: 'Verdana',\n    serif: false\n  }, {\n    name: 'Lucida Sans',\n    value: 'Lucida Sans',\n    serif: false\n  }, {\n    name: 'Lucida',\n    value: 'Lucida',\n    serif: false\n  }, {\n    name: 'Trebuchet MS',\n    value: 'Trebuchet MS',\n    serif: false\n  }, {\n    name: 'Tahoma',\n    value: 'Tahoma',\n    serif: false\n  }, {\n    name: 'Century Gothic',\n    value: 'Century Gothic',\n    serif: false\n  }, {\n    name: 'Arial Black',\n    value: 'Arial Black',\n    serif: false\n  }];\n  const serifFonts = _exports.serifFonts = [{\n    name: 'Palatino',\n    value: 'Palatino',\n    serif: true\n  }, {\n    name: 'Palatino Linotype',\n    value: 'Palatino Linotype',\n    serif: true\n  }, {\n    name: 'Georgia',\n    value: 'Georgia',\n    serif: true\n  }, {\n    name: 'Times New Roman',\n    value: 'Times New Roman',\n    serif: true\n  }, {\n    name: 'Times',\n    value: 'Times',\n    serif: true\n  }, {\n    name: 'Courier',\n    value: 'Courier',\n    serif: true\n  }];\n  const sansSerifFontsFallbacks = _exports.sansSerifFontsFallbacks = '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif';\n  const serifFontsFallbacks = _exports.serifFontsFallbacks = '\"Book Antiqua\",Palatino,\"Palatino Linotype\",\"Palatino LT STD\",Georgia,serif';\n  const FONT_TYPES = _exports.FONT_TYPES = ['normal', 'light', 'bold'];\n  var _default = _exports.default = {\n    sansSerifFonts\n  };\n});","define(\"additive-account/utils/constants\", [\"exports\", \"@additive-apps/auth/utils/roles-map\"], function (_exports, _rolesMap) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getOnboarding = _exports.USER_INVITE_MAP = _exports.SALUTATION_PLACEHOLDER = _exports.SAAS_PLANS = _exports.ROLE_UPDATE_MAP = _exports.PARTNER_PLANS = _exports.MANAGER_ROLE = _exports.IMAGE_MIME_TYPES = _exports.GLOBAL_USER_STATE_KEY = _exports.GLOBAL_USER_ROLES = _exports.FONT_FILE_ENDINGS = _exports.AVAILABLE_LANGUAGES = _exports.APP_LANGUAGES = _exports.ADMIN_ROLE = void 0;\n  /**\n   * Returns all app-onboardings\n   *\n   * @param {} intl\n   */\n  const getOnboarding = intl => {\n    return {\n      1: [{\n        title: intl.t('onboarding.accountCreation.1.title'),\n        description: intl.t('onboarding.accountCreation.1.description'),\n        isFirstStep: true,\n        isFloatingApps: true\n      }, {\n        title: intl.t('onboarding.accountCreation.2.title'),\n        description: intl.t('onboarding.accountCreation.2.description'),\n        illustration: 'devices-dark',\n        theme: 'dark'\n      }, {\n        title: intl.t('onboarding.accountCreation.3.title'),\n        description: intl.t('onboarding.accountCreation.3.description'),\n        illustration: 'synergy-white',\n        actionLabel: intl.t('onboarding.accountCreation.3.actionLabel'),\n        isLastStep: true\n      }]\n    };\n  };\n  _exports.getOnboarding = getOnboarding;\n  const ADMIN_ROLE = _exports.ADMIN_ROLE = 'admin';\n  const MANAGER_ROLE = _exports.MANAGER_ROLE = 'manager';\n  const GLOBAL_USER_STATE_KEY = _exports.GLOBAL_USER_STATE_KEY = 'global-user';\n  const GLOBAL_USER_ROLES = _exports.GLOBAL_USER_ROLES = [{\n    value: 'admin'\n  }, {\n    value: 'manager'\n  }, {\n    value: 'member'\n  }, {\n    value: 'viewer'\n  }, {\n    value: 'custom'\n  }];\n  const USER_INVITE_MAP = _exports.USER_INVITE_MAP = {\n    owner: [{\n      value: 'admin'\n    }, {\n      value: 'manager'\n    }, {\n      value: 'member'\n    }, {\n      value: 'viewer'\n    }, {\n      value: 'custom'\n    }],\n    admin: [{\n      value: 'admin'\n    }, {\n      value: 'manager'\n    }, {\n      value: 'member'\n    }, {\n      value: 'viewer'\n    }, {\n      value: 'custom'\n    }],\n    manager: [{\n      value: 'manager'\n    }, {\n      value: 'member'\n    }, {\n      value: 'viewer'\n    }, {\n      value: 'custom'\n    }]\n  };\n  const ROLE_UPDATE_MAP = _exports.ROLE_UPDATE_MAP = {\n    owner: [_rolesMap.ROLE_ADMIN, _rolesMap.ROLE_MANAGER, _rolesMap.ROLE_MEMBER, _rolesMap.ROLE_VIEWER, _rolesMap.ROLE_CUSTOM],\n    admin: [_rolesMap.ROLE_ADMIN, _rolesMap.ROLE_MANAGER, _rolesMap.ROLE_MEMBER, _rolesMap.ROLE_VIEWER, _rolesMap.ROLE_CUSTOM],\n    manager: [_rolesMap.ROLE_MEMBER, _rolesMap.ROLE_VIEWER, _rolesMap.ROLE_CUSTOM],\n    member: [],\n    viewer: [],\n    custom: []\n  };\n  const SAAS_PLANS = _exports.SAAS_PLANS = ['starter_monthly', 'professional_monthly', 'enterprise_monthly'];\n  const PARTNER_PLANS = _exports.PARTNER_PLANS = ['standard', 'starter_yearly', 'professional_yearly', 'enterprise_yearly'];\n  const AVAILABLE_LANGUAGES = _exports.AVAILABLE_LANGUAGES = ['de', 'it', 'en', 'fr', 'nl', 'pl'];\n  const IMAGE_MIME_TYPES = _exports.IMAGE_MIME_TYPES = ['image/jpeg', 'image/png'];\n  const FONT_FILE_ENDINGS = _exports.FONT_FILE_ENDINGS = ['woff', 'woff2', 'ttf', 'otf'];\n  const APP_LANGUAGES = _exports.APP_LANGUAGES = ['de', 'en'];\n  const SALUTATION_PLACEHOLDER = _exports.SALUTATION_PLACEHOLDER = {\n    '{#NACHNAME#}': 'familyName',\n    '{#VORNAME#}': 'givenName'\n  };\n});","define(\"additive-account/utils/country-utils\", [\"exports\", \"@additive-apps/ui/utils/country-utils\"], function (_exports, _countryUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _countryUtils.default;\n    }\n  });\n});","define(\"additive-account/utils/currency-util\", [\"exports\", \"@additive-apps/utils/utils/currency-util\"], function (_exports, _currencyUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _currencyUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/date-util\", [\"exports\", \"@additive-apps/ui/utils/date-util\"], function (_exports, _dateUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dateUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/dom-util\", [\"exports\", \"@additive-apps/ui/utils/dom-util\"], function (_exports, _domUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _domUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/editor-util\", [\"exports\", \"@additive-apps/ui/utils/editor-util\"], function (_exports, _editorUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _editorUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/errors\", [\"exports\", \"@additive-apps/utils/utils/errors\"], function (_exports, _errors) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _errors.default;\n    }\n  });\n});","define(\"additive-account/utils/filter-util\", [\"exports\", \"@additive-apps/ui/utils/filter-util\"], function (_exports, _filterUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/fonts\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.loadFont = void 0;\n  /**\n   * loads a font into the dom\n   *\n   * @function loadFont\n   * @param {String} fontFamily, the name of the fontface\n   * @param {String} url, the url to load from\n   */\n  const loadFont = (fontFamily, url) => {\n    // check for properties and dom features, if a font is called Barlow it is not loaded to avoid\n    // interfering with the font of the application\n    if (!fontFamily || !url || !document.fonts || fontFamily === 'Barlow') return;\n    try {\n      const newFont = new FontFace(fontFamily, `url(${url})`);\n      return newFont.load().then(loadedFont => document.fonts.add(loadedFont));\n    } catch (e) {\n      // ignore errors\n      return;\n    }\n  };\n  _exports.loadFont = loadFont;\n});","define(\"additive-account/utils/format-currency\", [\"exports\", \"@additive-apps/ui/utils/format-currency\"], function (_exports, _formatCurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatCurrency.default;\n    }\n  });\n});","define(\"additive-account/utils/function-util\", [\"exports\", \"@additive-apps/ui/utils/function-util\"], function (_exports, _functionUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _functionUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/helpers\", [\"exports\", \"@additive-apps/configurator/utils/helpers\"], function (_exports, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _helpers.default;\n    }\n  });\n});","define(\"additive-account/utils/intl/missing-message\", [\"exports\", \"ember-intl/-private/utils/missing-message\"], function (_exports, _missingMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _missingMessage.default;\n    }\n  });\n});","define(\"additive-account/utils/local-storage\", [\"exports\", \"@additive-apps/ui/utils/local-storage\"], function (_exports, _localStorage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _localStorage.default;\n    }\n  });\n});","define(\"additive-account/utils/locale-util\", [\"exports\", \"@additive-apps/utils/utils/locale-util\"], function (_exports, _localeUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _localeUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/me-actions\", [\"exports\", \"additive-account/config/environment\", \"ember-concurrency\", \"rsvp\", \"@ember/object\"], function (_exports, _environment, _emberConcurrency, _rsvp, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.updatePassword = _exports.refreshCredentials = void 0;\n  /**\n   * Handles a simple HTTP_PUT on the current user\n   * in order to update the users current password\n   */\n  const updatePassword = _exports.updatePassword = {};\n  (0, _object.defineProperty)(updatePassword, 'task', (0, _emberConcurrency.task)(function* (password, self) {\n    const request = self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/me/password`, {\n      method: 'PUT'\n    }, {\n      password\n    });\n    return yield request.then(response => response.status >= 400 ? (0, _rsvp.reject)(response) : (0, _rsvp.resolve)(response));\n  }));\n  /**\n   * Refresh the users auth-status\n   *\n   * - 204: the provided pwd is correct\n   * - 422: incorrect credentials\n   */\n  const refreshCredentials = _exports.refreshCredentials = {};\n  (0, _object.defineProperty)(refreshCredentials, 'task', (0, _emberConcurrency.task)(function* (password, self) {\n    const request = self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/auth/refresh`, {\n      method: 'POST'\n    }, {\n      password\n    });\n    return yield request.then(_ref => {\n      let {\n        status\n      } = _ref;\n      return status >= 400 ? (0, _rsvp.reject)(status) : (0, _rsvp.resolve)(status);\n    });\n  }));\n});","define(\"additive-account/utils/model-action\", [\"exports\", \"@additive-apps/ui/utils/model-action\"], function (_exports, _modelAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _modelAction.default;\n    }\n  });\n});","define(\"additive-account/utils/object-assign\", [\"exports\", \"@additive-apps/ui/utils/object-assign\"], function (_exports, _objectAssign) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _objectAssign.default;\n    }\n  });\n});","define(\"additive-account/utils/organization-utils\", [\"exports\", \"additive-account/config/environment\", \"ember-concurrency\", \"@ember/object\", \"@additive-apps/ui/utils/constants\"], function (_exports, _environment, _emberConcurrency, _object, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.validateOrganization = _exports.sluggifyWebsite = _exports.fetchSettings = _exports.fetchCorporateDesign = void 0;\n  /**\n   * Fetches corporate design if not already provided in store\n   * @type {Task}\n   * @returns {Object} corporate design\n   * @function fetchCorporateDesign\n   */\n  const fetchCorporateDesign = _exports.fetchCorporateDesign = {};\n  (0, _object.defineProperty)(fetchCorporateDesign, 'task', (0, _emberConcurrency.task)(function* (self) {\n    if (!self || !self.authenticatedFetch) {\n      throw new Error(`[organization-corporate-design] missing service authenticatedFetch`);\n    }\n    if (!self.store) {\n      throw new Error(`[organization-corporate-design] missing service store`);\n    }\n    if (!self.organizationId) {\n      throw new Error(`[organization-corporate-design] missing organization id`);\n    }\n    try {\n      const adapter = self.store.adapterFor('corporate-design');\n      const url = adapter.buildURL('corporate-design', self.organizationId);\n      const response = yield self.authenticatedFetch.fetch(url);\n      const data = yield response.json();\n      if (!data || !data.corporateDesign) throw new Error();\n      (0, _object.set)(data, 'corporateDesign.id', self.organizationId);\n      yield self.store.pushPayload('corporateDesign', data);\n      return self.store.peekRecord('corporateDesign', self.organizationId);\n    } catch (error) {\n      throw new Error(`[organization-corporate-design] fetch corporate design error ${error}`);\n    }\n  }));\n\n  /**\n   * Fetches settings if not already provided in store\n   * @type {Task}\n   * @returns {Object} settings\n   * @function fetchSettings\n   */\n  const fetchSettings = _exports.fetchSettings = {};\n  (0, _object.defineProperty)(fetchSettings, 'task', (0, _emberConcurrency.task)(function* (self) {\n    if (!self || !self.authenticatedFetch) {\n      throw new Error(`[organization-settings] missing service authenticatedFetch`);\n    }\n    if (!self.store) {\n      throw new Error(`[organization-settings] missing service store`);\n    }\n    if (!self.organizationId) {\n      throw new Error(`[organization-settings] missing organization id`);\n    }\n    try {\n      let settings = yield self.store.peekRecord('setting', self.organizationId);\n      if (!settings) {\n        const response = yield self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${self.organizationId}/settings`);\n        const data = yield response.json();\n        if (data && data.settings) {\n          (0, _object.set)(data, 'settings.id', self.organizationId);\n          yield self.store.pushPayload('setting', data);\n          settings = yield self.store.peekRecord('setting', self.organizationId);\n        }\n      } else {\n        yield (0, _emberConcurrency.timeout)(_constants.REQUEST_DEBOUNCE_MS);\n      }\n      return settings;\n    } catch (error) {\n      throw new Error(`[organization-settings] fetch settings error ${error}`);\n    }\n  }).restartable());\n\n  /**\n   * Validates an organizations slug async\n   * @returns {Integer} status\n   * @method validateOrganization\n   */\n  const validateOrganization = _exports.validateOrganization = {};\n  (0, _object.defineProperty)(validateOrganization, 'slugUniqueness', (0, _emberConcurrency.task)(function* (value, self) {\n    const response = yield self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/validate?slug=${value}`);\n    const {\n      ok\n    } = response;\n    if (ok) {\n      return {\n        ok\n      };\n    }\n    const {\n      errors: {\n        slug: [message]\n      }\n    } = yield response.json();\n    return {\n      ok,\n      message\n    };\n  }).restartable());\n\n  /**\n   * It transforms a website-url to a valid organization-slug\n   *\n   * @param {String} website, the website to be sluggified\n   * @returns {String} slug, the valid slug\n   * @method sluggifyWebsite\n   */\n  const sluggifyWebsite = website => {\n    let result = website || '';\n    result = result.replace(/^\\s+|\\s+$/g, ''); // trim\n    result = result.replace(/(?:https?:\\/\\/)?(www\\.?)?/g, ''); // protocol\n    result = result.replace(/(^\\w+:|^)\\/\\//, '');\n    result = result.toLowerCase();\n    result = result.replace(/\\s+/g, '-'); // collapse whitespace and replace by -\n    result = result.replace(/\\.+/g, '-'); // replace dots\n    // eslint-disable-next-line\n    result = result.replace(/[^a-z0-9\\-]/g, ''); // remove invalid chars\n\n    return result;\n  };\n  _exports.sluggifyWebsite = sluggifyWebsite;\n});","define(\"additive-account/utils/pages-util\", [\"exports\", \"@additive-apps/ui/utils/pages-util\"], function (_exports, _pagesUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pagesUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/parse-url\", [\"exports\", \"@additive-apps/ui/utils/parse-url\"], function (_exports, _parseUrl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _parseUrl.default;\n    }\n  });\n});","define(\"additive-account/utils/plans\", [\"exports\", \"@additive-apps/utils/utils/plans\"], function (_exports, _plans) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _plans.default;\n    }\n  });\n});","define(\"additive-account/utils/posthog\", [\"exports\", \"posthog-js\"], function (_exports, _posthogJs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.posthogUserIdentification = void 0;\n  const posthogUserIdentification = (user, store) => {\n    _posthogJs.default === null || _posthogJs.default === void 0 || _posthogJs.default.identify(user.id, {\n      name: user.fullName,\n      email: user.email,\n      language: user.language,\n      isPartner: user.isPartner || false,\n      isAdditive: user.isAdditive || false\n    });\n    if (_posthogJs.default.get_property('group_set')) return;\n    const orgs = store.peekAll('organization');\n    orgs.addArrayObserver(void 0, {\n      willChange: () => {},\n      didChange: () => {\n        if (!orgs.length) return;\n        _posthogJs.default.register({\n          group_set: true\n        });\n        if (user.isAdditive) {\n          _posthogJs.default.group('organization', 'additive-eu', {\n            name: 'ADDITIVE'\n          });\n          return;\n        }\n        const organization = orgs.firstObject;\n        if (user.isPartner && organization.partnerSlug) {\n          _posthogJs.default.group('organization', organization.partnerSlug, {\n            name: organization.partnerName\n          });\n          return;\n        }\n        _posthogJs.default.group('organization', organization.id, {\n          name: organization.name\n        });\n      }\n    });\n  };\n  _exports.posthogUserIdentification = posthogUserIdentification;\n});","define(\"additive-account/utils/query-param-util\", [\"exports\", \"@additive-apps/ui/utils/query-param-util\"], function (_exports, _queryParamUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _queryParamUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/roles-map\", [\"exports\", \"@additive-apps/auth/utils/roles-map\"], function (_exports, _rolesMap) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rolesMap.default;\n    }\n  });\n});","define(\"additive-account/utils/sort-util\", [\"exports\", \"@additive-apps/ui/utils/sort-util\"], function (_exports, _sortUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sortUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/table-util\", [\"exports\", \"@additive-apps/ui/utils/table-util\"], function (_exports, _tableUtil) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tableUtil.default;\n    }\n  });\n});","define(\"additive-account/utils/url\", [\"exports\", \"@additive-apps/auth/utils/url\"], function (_exports, _url) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _url.default;\n    }\n  });\n});","define(\"additive-account/utils/user-management\", [\"exports\", \"additive-account/config/environment\", \"ember-concurrency\", \"fetch\", \"rsvp\", \"@ember/object\"], function (_exports, _environment, _emberConcurrency, _fetch, _rsvp, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.resendInvitation = _exports.getUsers = _exports.getPartnerUsers = _exports.getInvitationData = _exports.deleteUser = _exports.confirmInvitation = void 0;\n  /**\n   * Check whetever the provided token is a valid invitation token.\n   *\n   * @method getInvitationData\n   * @param token, String the invitation-token string\n   * @returns\n   */\n  const getInvitationData = _exports.getInvitationData = {};\n  (0, _object.defineProperty)(getInvitationData, 'task', (0, _emberConcurrency.task)(function* (token) {\n    return yield (0, _fetch.default)(`${_environment.default.APP.apiBaseHost}/api/invites/${token}`, {\n      headers: {\n        Accept: 'application/json',\n        'Content-type': 'application/json'\n      }\n    }).then(response => {\n      if (response && response.ok) {\n        return response.json();\n      }\n      return (0, _rsvp.reject)(response.status);\n    });\n  }));\n\n  /**\n   * Confirms the invitation of the current logged in user with the provided token.\n   *\n   * @method confirmInvitation\n   * @param token, String the invitation-token string\n   */\n  const confirmInvitation = _exports.confirmInvitation = {};\n  (0, _object.defineProperty)(confirmInvitation, 'task', (0, _emberConcurrency.task)(function* (token, self) {\n    const request = self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/invites/${token}/accept`, {\n      method: 'post'\n    });\n    return yield request.then(_ref => {\n      let {\n        status\n      } = _ref;\n      return (0, _rsvp.resolve)(status);\n    }).catch(_ref2 => {\n      let {\n        status\n      } = _ref2;\n      return (0, _rsvp.reject)(status);\n    });\n  }));\n\n  /**\n   * resends an invitation to a user that has not accepted his invitation yet\n   *\n   * @method resendInvitation\n   *\n   * @param invitationEndpoint, String the basepath for the invitation-endpoint\n   * @param id, String the id of the user\n   */\n  const resendInvitation = _exports.resendInvitation = {};\n  (0, _object.defineProperty)(resendInvitation, 'task', (0, _emberConcurrency.task)(function* (invitationEndpoint, id, self) {\n    const request = self.authenticatedFetch.fetch(`${invitationEndpoint}/${id}/resend-invite`, {\n      method: 'post'\n    });\n    return yield request.then(_ref3 => {\n      let {\n        status\n      } = _ref3;\n      return (0, _rsvp.resolve)(status);\n    }).catch(_ref4 => {\n      let {\n        status\n      } = _ref4;\n      return (0, _rsvp.reject)(status);\n    });\n  }));\n\n  /**\n   * Sets the duration of the toast that is displayed when deleting a user.\n   *\n   * @function deleteUser\n   * @async\n   * @param {Object} user\n   */\n  const deleteUser = _exports.deleteUser = {};\n  (0, _object.defineProperty)(deleteUser, 'task', (0, _emberConcurrency.task)(function* (user, self) {\n    const callback = () => {\n      self.cancelDeleting(user);\n    };\n    yield user.deleteRecord();\n    self.uiToast.showToast({\n      type: 'success',\n      title: self.intl.t('routes.users.toasts.delete.title'),\n      description: self.intl.t('routes.users.toasts.delete.description', {\n        userName: user.fullName\n      }),\n      actionLabel: self.intl.t('global.actions.undo'),\n      onClick: callback,\n      duration: 2000\n    });\n    yield (0, _emberConcurrency.timeout)(2000);\n    yield user.save();\n\n    /* https://github.com/emberjs/data/issues/5014 */\n    user.unloadRecord();\n  }).drop());\n\n  /**\n   * Get all partner users\n   *\n   * @method getPartnerUsers\n   * @returns\n   */\n  const getPartnerUsers = _exports.getPartnerUsers = {};\n  (0, _object.defineProperty)(getPartnerUsers, 'task', (0, _emberConcurrency.task)(function* (self) {\n    const orgId = self.currentUser && self.currentUser.currentOrganization && self.currentUser.currentOrganization.id;\n    return yield self.authenticatedFetch.fetch(`${_environment.default.APP.apiBaseHost}/api/organizations/${orgId}/partner-users`).then(response => {\n      if (response && response.ok) {\n        return response.json();\n      }\n      return (0, _rsvp.reject)(response.status);\n    });\n  }));\n\n  /**\n   * Get all users\n   *\n   * @method getUsers\n   * @param controller\n   * @returns\n   */\n  const getUsers = _exports.getUsers = {};\n  (0, _object.defineProperty)(getUsers, 'task', (0, _emberConcurrency.task)(function* (self, controller) {\n    return yield controller.store.findAll('user');\n  }));\n});","define(\"additive-account/utils/viewport\", [\"exports\", \"@additive-apps/utils/utils/viewport\"], function (_exports, _viewport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _viewport.default;\n    }\n  });\n});","define(\"additive-account/validations/auth\", [\"exports\", \"ember-changeset-validations/validators\", \"additive-account/validators/specific-value\"], function (_exports, _validators, _specificValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.signupValidation = _exports.resetPasswordValidation = _exports.loginValidation = _exports.emailValidation = _exports.default = _exports.changePasswordValidation = void 0;\n  const loginValidation = intl => {\n    return {\n      email: (0, _validators.validateFormat)({\n        type: 'email',\n        message: intl.t('global.errors.apiQueryErrors.validation.email')\n      }),\n      password: (0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.apiQueryErrors.validation.required')\n      })\n    };\n  };\n  _exports.loginValidation = loginValidation;\n  const emailValidation = intl => {\n    return {\n      email: (0, _validators.validateFormat)({\n        type: 'email',\n        message: intl.t('global.errors.apiQueryErrors.validation.email')\n      })\n    };\n  };\n  _exports.emailValidation = emailValidation;\n  const resetPasswordValidation = intl => {\n    const emailOptions = {\n      type: 'email',\n      message: intl.t('global.errors.apiQueryErrors.validation.email')\n    };\n    const minLengthOptions = {\n      min: 8,\n      message: intl.t('global.errors.apiQueryErrors.validation.minLengthCount', {\n        count: 8\n      })\n    };\n    const passwordConfirmationMessage = intl.t('global.errors.apiQueryErrors.validation.passwordConfirmation');\n    return {\n      email: (0, _validators.validateFormat)(emailOptions),\n      password: (0, _validators.validateLength)(minLengthOptions),\n      passwordConfirmation: (0, _validators.validateConfirmation)({\n        on: 'password',\n        message: passwordConfirmationMessage\n      }),\n      token: (0, _validators.validatePresence)(true)\n    };\n  };\n  _exports.resetPasswordValidation = resetPasswordValidation;\n  const signupValidation = intl => {\n    const presenceOptions = {\n      presence: true,\n      message: intl.t('global.errors.apiQueryErrors.validation.required')\n    };\n    const emailOptions = {\n      type: 'email',\n      message: intl.t('global.errors.apiQueryErrors.validation.email')\n    };\n    const minLengthOptions = {\n      min: 12,\n      message: intl.t('global.errors.apiQueryErrors.validation.minLengthCount', {\n        count: 12\n      })\n    };\n    const passwordConfirmationMessage = intl.t('global.errors.apiQueryErrors.validation.passwordConfirmation');\n    return {\n      email: (0, _validators.validateFormat)(emailOptions),\n      givenName: (0, _validators.validatePresence)(presenceOptions),\n      familyName: (0, _validators.validatePresence)(presenceOptions),\n      password: (0, _validators.validateLength)(minLengthOptions),\n      passwordConfirmation: (0, _validators.validateConfirmation)({\n        on: 'password',\n        message: passwordConfirmationMessage\n      }),\n      isPrivacyAccepted: (0, _specificValue.default)({\n        shouldBe: true\n      })\n    };\n  };\n  _exports.signupValidation = signupValidation;\n  const changePasswordValidation = (intl, skipLengthValidation) => {\n    const minLengthMessage = intl.t('global.errors.apiQueryErrors.validation.minLengthCount', {\n      count: 12\n    });\n    const passwordConfirmationMessage = intl.t('global.errors.apiQueryErrors.validation.passwordConfirmation');\n    const validationRules = {\n      passwordConfirmation: (0, _validators.validateConfirmation)({\n        on: 'password',\n        message: passwordConfirmationMessage\n      })\n    };\n    if (!skipLengthValidation) {\n      validationRules.password = (0, _validators.validateLength)({\n        min: 12,\n        message: minLengthMessage\n      });\n    }\n    return validationRules;\n  };\n  _exports.changePasswordValidation = changePasswordValidation;\n  var _default = _exports.default = loginValidation;\n});","define(\"additive-account/validations/corporate-design\", [\"exports\", \"ember-changeset-validations/validators\", \"additive-account/validators/valid-color\", \"additive-account/validators/valid-css-size\"], function (_exports, _validators, _validColor, _validCssSize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.typographyValidations = _exports.fontValidations = _exports.fontTypeValidations = _exports.defaultValidations = void 0;\n  const defaultValidations = intl => {\n    return {\n      color: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      }), (0, _validColor.default)({\n        presence: true,\n        message: intl.t('global.errors.invalidFormat')\n      })],\n      contrastColor: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      }), (0, _validColor.default)({\n        presence: true,\n        message: intl.t('global.errors.invalidFormat')\n      })]\n    };\n  };\n  _exports.defaultValidations = defaultValidations;\n  const typographyValidations = intl => {\n    return {\n      fontFamily: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      })],\n      fontSize: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      }), (0, _validCssSize.default)({\n        presence: true,\n        message: intl.t('global.errors.invalidFormat')\n      })],\n      letterSpacing: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      })],\n      lineHeight: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      }), (0, _validCssSize.default)({\n        presence: true,\n        message: intl.t('global.errors.invalidFormat')\n      })],\n      color: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      })]\n    };\n  };\n  _exports.typographyValidations = typographyValidations;\n  const fontValidations = intl => {\n    return {\n      serif: (0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }),\n      fontFamily: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      })]\n    };\n  };\n  _exports.fontValidations = fontValidations;\n  const fontTypeValidations = intl => {\n    return {\n      fontFamily: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      }), (0, _validators.validateFormat)({\n        type: 'string',\n        message: intl.t('global.errors.invalidFormat')\n      })],\n      weight: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      })]\n    };\n  };\n  _exports.fontTypeValidations = fontTypeValidations;\n});","define(\"additive-account/validations/organization\", [\"exports\", \"ember-changeset-validations/validators\", \"additive-account/validators/valid-color\", \"@additive-apps/utils/validators/validate-if\"], function (_exports, _validators, _validColor, _validateIf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.organizationLegals = _exports.organizationDomainSettings = _exports.layoutValidation = _exports.fullOrganization = _exports.extendedOrganization = _exports.default = void 0;\n  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\n  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const baseOrganization = intl => {\n    const presenceMessage = intl.t('global.errors.apiQueryErrors.validation.required');\n    const emailMessage = intl.t('global.errors.apiQueryErrors.validation.email');\n    const invalidFormatMessage = intl.t('global.errors.apiQueryErrors.validation.invalidFormat');\n    return {\n      name: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      website: (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[A-Za-z0-9]+([-.]{1}[A-Za-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        message: invalidFormatMessage\n      }),\n      email: (0, _validators.validateFormat)({\n        type: 'email',\n        message: emailMessage\n      })\n    };\n  };\n  const extendedOrganization = intl => {\n    const presenceMessage = intl.t('global.errors.apiQueryErrors.validation.required');\n    const organization = baseOrganization(intl);\n    const invalidFormatMessage = intl.t('global.errors.apiQueryErrors.validation.invalidFormat');\n    return Object.assign({}, organization, {\n      currency: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      legalName: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      phone: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      addressStreet: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      addressPostalCode: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      addressLocality: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      addressRegion: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      addressCountry: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      vatId: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      })\n    });\n  };\n  _exports.extendedOrganization = extendedOrganization;\n  const fullOrganization = intl => {\n    const organization = baseOrganization(intl);\n    const invalidFormatMessage = intl.t('global.errors.apiQueryErrors.validation.invalidFormat');\n    const betweenMessage = intl.t('global.errors.apiQueryErrors.validation.between', {\n      min: 5,\n      max: 25\n    });\n    return Object.assign({}, organization, {\n      appPlans: (0, _validateIf.default)({\n        if: {\n          isPartner: false\n        },\n        validate: (0, _validators.validateLength)({\n          min: 1\n        }),\n        firstErrorMessage: true\n      }),\n      slug: [(0, _validators.validateLength)({\n        min: 5,\n        max: 25,\n        message: betweenMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(?!-)(?!.*--)[a-z0-9-]+.*[^\\-]$/,\n        message: invalidFormatMessage\n      })]\n    });\n  };\n  _exports.fullOrganization = fullOrganization;\n  const organizationLegals = intl => {\n    const invalidFormatMessage = intl.t('global.errors.apiQueryErrors.validation.invalidFormat');\n    const lengthExceededMessage = intl.t('global.errors.apiQueryErrors.validation.maxLength');\n    return {\n      disclaimerLink: [(0, _validators.validateLength)({\n        max: 255,\n        message: lengthExceededMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([-.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        allowBlank: true,\n        message: invalidFormatMessage\n      })],\n      privacyLink: [(0, _validators.validateLength)({\n        max: 255,\n        message: lengthExceededMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([-.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        allowBlank: true,\n        message: invalidFormatMessage\n      })],\n      termsLink: [(0, _validators.validateLength)({\n        max: 255,\n        message: lengthExceededMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([-.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        allowBlank: true,\n        message: invalidFormatMessage\n      })],\n      accessibilityLink: [(0, _validators.validateLength)({\n        max: 255,\n        message: lengthExceededMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([-.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        allowBlank: true,\n        message: invalidFormatMessage\n      })]\n    };\n  };\n  _exports.organizationLegals = organizationLegals;\n  const layoutValidation = intl => {\n    const presenceOptions = {\n      presence: true,\n      message: intl.t('global.errors.apiQueryErrors.validation.required')\n    };\n    const colorOptions = {\n      presence: true,\n      message: intl.t('global.errors.apiQueryErrors.validation.color')\n    };\n    return {\n      buttonBackgroundColor: [(0, _validators.validatePresence)(presenceOptions), (0, _validColor.default)(colorOptions)],\n      buttonColor: [(0, _validators.validatePresence)(presenceOptions), (0, _validColor.default)(colorOptions)],\n      fontColor: [(0, _validators.validatePresence)(presenceOptions), (0, _validColor.default)(colorOptions)]\n    };\n  };\n  _exports.layoutValidation = layoutValidation;\n  const organizationDomainSettings = _exports.organizationDomainSettings = function organizationDomainSettings(intl) {\n    let validateSubdomain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    const presenceMessage = intl.t('global.errors.apiQueryErrors.validation.required');\n    const invalidUrlMessage = intl.t('global.errors.invalidUrl');\n    return _objectSpread(_objectSpread({\n      website: [(0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([-.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        allowBlank: true,\n        message: invalidUrlMessage\n      })]\n    }, validateSubdomain && {\n      subdomain: [(0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }), (0, _validators.validateFormat)({\n        // eslint-disable-next-line\n        regex: /^[a-zA-Z0-9\\-]+$/,\n        message: intl.t('global.errors.apiQueryErrors.validation.invalidFormat')\n      })]\n    }), {}, {\n      scheduledAt: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      })\n    });\n  };\n  var _default = _exports.default = fullOrganization;\n});","define(\"additive-account/validations/settings\", [\"exports\", \"ember-changeset-validations/validators\", \"additive-account/validators/salutation\"], function (_exports, _validators, _salutation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.simpleSalutationValidation = _exports.roomCountValidation = _exports.integrationValidation = _exports.goalValidation = _exports.genderSalutationValidation = _exports.closingPeriodValidation = void 0;\n  const roomCountValidation = intl => {\n    const countMessage = intl.t('global.errors.positiveNumber');\n    const presenceMessage = intl.t('global.errors.required');\n    return {\n      count: (0, _validators.validateNumber)({\n        integer: true,\n        gt: 0,\n        message: countMessage\n      }),\n      startsAt: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      })\n    };\n  };\n  _exports.roomCountValidation = roomCountValidation;\n  const closingPeriodValidation = intl => {\n    const presenceMessage = intl.t('global.errors.required');\n    return {\n      from: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      until: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      })\n    };\n  };\n  _exports.closingPeriodValidation = closingPeriodValidation;\n  const integrationValidation = _exports.integrationValidation = function integrationValidation(intl) {\n    let fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    let requiresUrl = arguments.length > 2 ? arguments[2] : undefined;\n    const presenceMessage = intl.t('global.errors.required');\n    let validation = {};\n    fields.reduce((acc, field) => {\n      acc[field.id] = (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      });\n      return acc;\n    }, validation);\n    if (requiresUrl) {\n      validation.url = (0, _validators.validatePresence)({\n        presence: requiresUrl,\n        message: presenceMessage\n      });\n    }\n    return validation;\n  };\n  const genderSalutationValidation = intl => {\n    const presenceMessage = intl.t('global.errors.required');\n    return {\n      f: [(0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }), (0, _salutation.validateSalutationPlaceholders)({\n        message: intl.t('global.errors.invalidSalutationPlaceholder')\n      })],\n      m: [(0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }), (0, _salutation.validateSalutationPlaceholders)({\n        message: intl.t('global.errors.invalidSalutationPlaceholder')\n      })]\n    };\n  };\n  _exports.genderSalutationValidation = genderSalutationValidation;\n  const simpleSalutationValidation = intl => {\n    const presenceMessage = intl.t('global.errors.required');\n    return {\n      value: [(0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }), (0, _salutation.validateSalutationPlaceholders)({\n        message: intl.t('global.errors.invalidSalutationPlaceholder')\n      })]\n    };\n  };\n  _exports.simpleSalutationValidation = simpleSalutationValidation;\n  const goalValidation = intl => {\n    const presenceMessage = intl.t('global.errors.required');\n    const lengthExceededMessage = intl.t('global.errors.apiQueryErrors.validation.maxLength');\n    return {\n      title: [(0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }), (0, _validators.validateLength)({\n        max: 90,\n        message: lengthExceededMessage\n      })],\n      description: [(0, _validators.validateLength)({\n        max: 300,\n        message: lengthExceededMessage\n      })]\n    };\n  };\n  _exports.goalValidation = goalValidation;\n});","define(\"additive-account/validations/two-factor-authentication\", [\"exports\", \"ember-changeset-validations/validators\"], function (_exports, _validators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.codeValidation = void 0;\n  const codeValidation = intl => {\n    return {\n      code: [(0, _validators.validatePresence)({\n        presence: true,\n        message: intl.t('global.errors.required')\n      })]\n    };\n  };\n  _exports.codeValidation = codeValidation;\n});","define(\"additive-account/validations/user\", [\"exports\", \"ember-changeset-validations/validators\", \"additive-account/utils/constants\"], function (_exports, _validators, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.userValidation = void 0;\n  const userValidation = intl => {\n    const presenceMessage = intl.t('global.errors.apiQueryErrors.validation.required');\n    const emailMessage = intl.t('global.errors.apiQueryErrors.validation.email');\n    const invalidFormatMessage = intl.t('global.errors.apiQueryErrors.validation.invalidFormat');\n    return {\n      email: (0, _validators.validateFormat)({\n        type: 'email',\n        message: emailMessage\n      }),\n      givenName: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      familyName: (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      }),\n      language: [(0, _validators.validateInclusion)({\n        list: _constants.APP_LANGUAGES\n      }), (0, _validators.validatePresence)({\n        presence: true,\n        message: presenceMessage\n      })],\n      phoneNumber: (0, _validators.validateNumber)({\n        allowBlank: true,\n        message: invalidFormatMessage\n      }),\n      phoneNumberCountry: (key, newValue, _oldValue, changes, content) => {\n        var _changes$phoneNumber;\n        const phoneNumber = (_changes$phoneNumber = changes.phoneNumber) !== null && _changes$phoneNumber !== void 0 ? _changes$phoneNumber : content.phoneNumber;\n        if (phoneNumber && !newValue) {\n          return presenceMessage;\n        }\n        return true;\n      },\n      meetingLink: (0, _validators.validateFormat)({\n        regex: /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[A-Za-z0-9]+([\\-\\.]{1}[A-Za-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n        allowBlank: true,\n        message: invalidFormatMessage\n      })\n    };\n  };\n  _exports.userValidation = userValidation;\n});","define(\"additive-account/validators/currency\", [\"exports\", \"@additive-apps/utils/validators/currency\"], function (_exports, _currency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _currency.default;\n    }\n  });\n});","define(\"additive-account/validators/date\", [\"exports\", \"@additive-apps/utils/validators/date\"], function (_exports, _date) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _date.default;\n    }\n  });\n});","define(\"additive-account/validators/editor-links\", [\"exports\", \"@additive-apps/ui/validators/editor-links\"], function (_exports, _editorLinks) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _editorLinks.default;\n    }\n  });\n});","define(\"additive-account/validators/html-length\", [\"exports\", \"@additive-apps/utils/validators/html-length\"], function (_exports, _htmlLength) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _htmlLength.default;\n    }\n  });\n});","define(\"additive-account/validators/numeral\", [\"exports\", \"@additive-apps/utils/validators/numeral\"], function (_exports, _numeral) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numeral.default;\n    }\n  });\n});","define(\"additive-account/validators/salutation\", [\"exports\", \"additive-account/utils/constants\"], function (_exports, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.validateSalutationPlaceholders = validateSalutationPlaceholders;\n  /**\n   *  @module Validators\n   */\n\n  /**\n   * @function validateSalutationPlaceholders\n   *\n   * @param {Any} value\n   * @param {Object} options\n   * @param {String} options.message Error message\n   *\n   * @return {Boolean|ValidationErr}\n   */\n  function validateSalutationPlaceholders() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    const message = options && options.message || false;\n    const validPlaceholders = Object.keys(_constants.SALUTATION_PLACEHOLDER);\n    return (key, value) => {\n      let isValid = true;\n      const placeholders = value.match(/{#[a-zA-Z]*#}/g) || [];\n      placeholders.forEach(placeholder => {\n        if (validPlaceholders.indexOf(placeholder.toUpperCase()) === -1) {\n          isValid = false;\n        }\n      });\n      const openingBracketsCount = (value.match(/{#/g) || []).length;\n      const closingBracketsCount = (value.match(/#}/g) || []).length;\n\n      /**\n       * check if there are incomplete placeholders\n       * or other variations ignore by the regex above\n       */\n      if (openingBracketsCount !== closingBracketsCount || openingBracketsCount !== placeholders.length) {\n        isValid = false;\n      }\n      return isValid || message;\n    };\n  }\n});","define(\"additive-account/validators/specific-value\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"@ember/utils\"], function (_exports, _validationErrors, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateSpecificValue;\n  function validateSpecificValue() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n      shouldBe: null\n    };\n    if ((0, _utils.isEmpty)(options.shouldBe)) {\n      throw new Error('Reference value is missing');\n    }\n    return (key, value) => {\n      if (value === options.shouldBe) {\n        return true;\n      }\n      return (0, _validationErrors.default)(key, {\n        type: 'specificValue',\n        value,\n        context: options\n      });\n    };\n  }\n});","define(\"additive-account/validators/valid-color\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\"], function (_exports, _validationErrors) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateColor;\n  function validateColor() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    return (key, value) => {\n      // return error if value is 'inherit' or 'transparent'\n      if (value === 'inherit' || value === 'transparent') {\n        return (0, _validationErrors.default)(key, {\n          type: 'invalid',\n          value,\n          context: options\n        });\n      }\n\n      // create image element with black color\n      let image = document.createElement('img');\n      image.style.color = 'rgb(0, 0, 0)';\n\n      // set input as color of the image element\n      image.style.color = value;\n\n      // if the color of the image element is not black anymore the input is valid\n      if (image.style.color !== 'rgb(0, 0, 0)') {\n        return true;\n      }\n\n      // input rgb(0,0,0) would not be validated as valid input\n      // therefore make a second check starting from a white color\n      image.style.color = 'rgb(255, 255, 255)';\n      image.style.color = value;\n      if (image.style.color !== 'rgb(255, 255, 255)') {\n        return true;\n      } else {\n        return (0, _validationErrors.default)(key, {\n          type: 'invalid',\n          value,\n          context: options\n        });\n      }\n    };\n  }\n});","define(\"additive-account/validators/valid-css-size\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\"], function (_exports, _validationErrors) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateCssSize;\n  /**\n   * Checks if a given value is a valid CSS size\n   * The validation is limited to the units em, rem, px\n   *\n   * @export\n   * @param {Object} options providing the context for the error messages\n   * @returns {Any} true if valid, error message if invalid\n   */\n  function validateCssSize() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    return (key, value) => {\n      const allowedUnits = ['rem', 'em', 'px'];\n\n      // 0 does not need a unit\n      if (value === '0') {\n        return true;\n      }\n\n      // find first of the allowed units and remove it\n      const containsUnit = allowedUnits.some(unit => {\n        if (value.indexOf(unit) > 0 && value.indexOf(unit) + unit.length === value.length) {\n          value = value.slice(0, value.indexOf(unit));\n          return true;\n        }\n      });\n\n      // if remaining string is numeric, the input is valid\n      if (containsUnit && value.match(/^\\d+(\\.\\d+)?$/)) {\n        return true;\n      } else {\n        return (0, _validationErrors.default)(key, {\n          type: 'invalid',\n          value,\n          context: options\n        });\n      }\n    };\n  }\n});","\n","define('additive-account/config/environment', [], function() {\n  var prefix = 'additive-account';\ntry {\n  var metaName = prefix + '/config/environment';\n  var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n  var config = JSON.parse(decodeURIComponent(rawConfig));\n\n  var exports = { 'default': config };\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n  return exports;\n}\ncatch(err) {\n  throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n});\n","\n          if (!runningTests) {\n            require(\"additive-account/app\")[\"default\"].create({\"appId\":1,\"clientId\":30001,\"clientSecret\":\"JvtqVoxwGzhmHYy7cWE1d3App4IL3B70yUVHthyw\",\"redirectRoute\":\"/auth/callback\",\"baseHost\":\"https://staging.account.gcp.additive-apps.eu\",\"apiBaseHost\":\"https://account.staging.gcp.additive-apps.tech\",\"apiCurrentUserUri\":\"/api/organizations/{{organizationId}}/me\",\"cdnHost\":\"https://s3.eu-central-1.amazonaws.com/additive-apps\",\"accountApiHost\":\"https://account.staging.gcp.additive-apps.tech\",\"newsletterHost\":\"https://staging.newsletter.additive-apps.eu\",\"marketingInsightsHost\":\"https://staging.marketing-insights.additive-apps.eu\",\"awsBucket\":\"additive-account-staging\",\"imageUploadServiceHost\":\"https://services.additive-apps.cloud/image-upload-staging/request-upload-url\",\"googleTagManagerId\":\"GTM-PHVX7TR\",\"pusherKey\":\"de9cef644f7dfd093f0f\",\"markerIoDestination\":\"5f8d52106f2e1b7995a767e3\",\"userbackAccessToken\":\"40566|81365|5Z3c6FPjVr2tSBPUT9V16gGLp\",\"userbackAccessTokenPartner\":\"P-sXDoolmjChbc50kBv59sXM8zg\",\"posthogPublicToken\":\"phc_ESoxVNdMH0k3MjOKt9yPxwIx13J0CcNbti6i10NTIf7\",\"posthogPublicHost\":\"https://eu.i.posthog.com\",\"productlaneWidgetKey\":\"be718178-ae45-49fc-a1a6-3588219b06ab\",\"name\":\"additive-account\",\"version\":\"3.46.0+96c4bbd9\"});\n          }\n        \n"],"names":[],"mappings":"AAAA;AACA;AACA;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACznBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3qBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3qBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7iBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;","file":"additive-account.js"}