{"version":3,"sources":["webpack:///./src/services/dependencies.js","webpack:///./src/modules/auth/actions/session.actions.js","webpack:///./src/modules/app/actions/app.actions.js","webpack:///./src/modules/app/actions/dirty-forms.actions.js","webpack:///./src/modules/app/app-helpers.js","webpack:///./src/modules/dashboard/components/dashboard-widget/dashboard-widget-controller.js","webpack:///./src/modules/utils/grid/grid.js","webpack:///./src/modules/app/actions/dictionaries/dictionaries.action-types.js","webpack:///./src/selectors/index.js","webpack:///./src/modules/manage-inventory/actions/action-types.js","webpack:///./src/modules/app/validators/roles.js","webpack:///./src/modules/utils/reducers/loading-status/loading-status.js","webpack:///./src/modules/utils/notifications/default-dialog-controller.js","webpack:///./src/modules/app/actions/action-types.js","webpack:///./src/modules/utils/lsp-utils-service.js","webpack:///./src/modules/message/actions/action-types.js","webpack:///./src/modules/app/resources/dictionaries.api.js","webpack:///./src/modules/utils/actions/action-types.js","webpack:///./src/modules/utils/actions/active-tab/active-tab.actions.js","webpack:///./src/modules/manage-inventory/resources/manage-inventory.api.js","webpack:///./src/modules/app/actions/game-images.actions.js","webpack:///./src/modules/user/resources/user.api.js","webpack:///./src/modules/message/resources/message.api.js","webpack:///./src/modules/manage-inventory/actions/download-report-by-tab.actions.js","webpack:///./src/modules/privilege-templates/actions/action-types.js","webpack:///./src/modules/dashboard/actions/announcements/action-types.js","webpack:///./src/modules/dashboard/reducers/announcements/utils.js","webpack:///./src/modules/dashboard/actions/net-sales/action-types.js","webpack:///./src/modules/app/actions/dictionaries.actions.js","webpack:///./src/modules/privilege-templates/resources/privilege-templates.api.js","webpack:///./src/modules/registration/resources/registration.api.js","webpack:///./src/modules/manage-inventory/actions/manage-inventory.actions.js","webpack:///./src/modules/registration/actions/action-types.js","webpack:///./src/modules/dashboard/actions/eft-history/action-types.js","webpack:///./src/modules/contact/actions/contact.actions.js","webpack:///./src/modules/app/actions/theme.actions.js","webpack:///./src/modules/dashboard/actions/announcements/announcement-types.js","webpack:///./src/modules/utils/actions/selected-language/selected-language.actions.js","webpack:///./src/modules/report-subscriptions/actions/action-types.js","webpack:///./src/modules/dashboard/actions/bond-renewal/action-types.js","webpack:///./src/modules/dashboard/actions/site-operational-status/action-types.js","webpack:///./src/modules/utils/rw-subordinates/actions/action-types.js","webpack:///./src/modules/utils/rw-terms-of-use/components/actions/terms-of-use.action-types.js","webpack:///./src/modules/retailer-dashboards/actions/retailer-dashboards.actions.js","webpack:///./src/modules/app/actions/manage-icons.actions.js","webpack:///./src/modules/message/actions/unread-count.actions.js","webpack:///./src/modules/app/actions/dictionaries/privilege-display-types-dictionary.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-component.js","webpack:///./src/modules/registration/actions/fetch-retailer-details.actions.js","webpack:///./src/modules/utils/rw-subordinates/actions/subordinate-list.actions.js","webpack:///./src/modules/dashboard/actions/announcements/announcements.actions.js","webpack:///./src/modules/user/resources/linked-retailers.api.js","webpack:///./src/modules/utils/actions/utils.actions.js","webpack:///./src/modules/utils/lsp-grid/grid.js","webpack:///./src/modules/app/rest.conf.json","webpack:///./src/modules/contact/actions/action-types.js","webpack:///./src/modules/documents/actions/action-types.js","webpack:///./src/modules/report-subscriptions/actions/report-subscriptions-page.actions.js","webpack:///./src/modules/retailer-reports/actions/action-types.js","webpack:///./src/modules/admin-reports/actions/action-types.js","webpack:///./src/modules/dashboard/actions/big-winners/action-types.js","webpack:///./src/modules/dashboard/actions/cumulative-winners/action-types.js","webpack:///./src/modules/user/actions/linked-retailers.action-types.js","webpack:///./src/modules/utils/rw-privacy-policy/components/actions/privacy-policy.action-types.js","webpack:///./src/modules/app/actions/manage-configurable-link.actions.js","webpack:///./src/modules/documents/resources/documents.api.js","webpack:///./src/modules/app/resources/login-popup.api.js","webpack:///./src/modules/message/actions/inbox.actions.js","webpack:///./src/modules/message/actions/selected-messages.actions.js","webpack:///./src/modules/message/actions/message-details.actions.js","webpack:///./src/modules/message/components/messages-tab/tabs.js","webpack:///./src/modules/privilege-templates/logic/helpers.js","webpack:///./src/modules/security/security-module.js","webpack:///./src/modules/dashboard/resources/earnings.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/tabs.js","webpack:///./src/modules/app/config/gametype.js","webpack:///./src/modules/dashboard/dashboard-helpers.js","webpack:///./src/modules/dashboard/resources/announcements.api.js","webpack:///./src/modules/dashboard/actions/dashboard.actions.js","webpack:///./src/modules/auth/logic/session.js","webpack:///./src/modules/utils/multilanguage/helpers/multilanguage-helpers.js","webpack:///./src/modules/utils/lsp-filters/strip-html-filter.js","webpack:///./src/modules/privilege-templates/logic/privilege-templates.js","webpack:///./src/modules/app/actions/widgets.actions.js","webpack:///./src/modules/app/resources/widgets.api.js","webpack:///./src/modules/app/app-component.js","webpack:///./src/modules/lsp-config/lsp-config.js","webpack:///./src/modules/documents/actions/documents.actions.js","webpack:///./src/modules/dashboard/actions/action-types.js","webpack:///./src/modules/dashboard/actions/earnings-history/action-types.js","webpack:///./src/modules/dashboard/actions/license-renewal/action-types.js","webpack:///./src/modules/dashboard/actions/lvm-sales-history/action-types.js","webpack:///./src/modules/dashboard/actions/site-financial-status/action-types.js","webpack:///./src/modules/user/actions/trusted-devices.action-types.js","webpack:///./src/modules/user/actions/users.action-types.js","webpack:///./src/modules/utils/rw-app-version/actions/app-version.action-types.js","webpack:///./src/modules/utils/reducers/pagination/pagination.js","webpack:///./src/modules/terms-preview/actions/terms-preview.actions.js","webpack:///./src/modules/download-report-page/actions/action-types.js","webpack:///./src/modules/auth/validators/action-validators.js","webpack:///./src/modules/contact/validators/action-validators.js","webpack:///./src/modules/email-notification-templates/validators/action-validators.js","webpack:///./src/modules/faq/validators/action-validators.js","webpack:///./src/modules/privilege-templates/validators/action-validators.js","webpack:///./src/modules/registration/validators/action-validators.js","webpack:///./src/modules/security/validators/action-validators.js","webpack:///./src/modules/manage-inventory/validators/action-validators.js","webpack:///./src/modules/dashboard/validators/action-validators.js","webpack:///./src/modules/user/validators/action-validators.js","webpack:///./src/modules/app/resources/manage-icons.api.js","webpack:///./src/modules/app/actions/media-templates.actions.js","webpack:///./src/modules/auth/auth-module.js","webpack:///./src/modules/auth/resources/forgot-password.api.js","webpack:///./src/modules/auth/resources/two-factor.api.js","webpack:///./src/modules/auth/views/alert-modal.html","webpack:///./src/modules/documents/actions/fetch-new-label-status.actions.js","webpack:///./src/modules/contact/helpers/contact-helpers.js","webpack:///./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog-controller.js","webpack:///./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog.html","webpack:///./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog-controller.js","webpack:///./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog.html","webpack:///./src/modules/contact/resources/contact.api.js","webpack:///./src/modules/contact/components/contact-us/tabs.js","webpack:///./src/modules/email-notification-templates/components/update/email-notification-template-update-component.js","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content-component.js","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header-component.js","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/component.js","webpack:///./src/modules/faq/components/faq-category-dialog/faq-category-dialog-template.html","webpack:///./src/modules/faq/components/faq-category-dialog/faq-category-dialog-controller.js","webpack:///./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-template.html","webpack:///./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-controller.js","webpack:///./src/modules/message/message-helpers.js","webpack:///./src/modules/message/components/create-message/create-message-component.js","webpack:///./src/modules/message/actions/sent.actions.js","webpack:///./src/modules/privilege-templates/actions/fetch-privilege-templates.actions.js","webpack:///./src/modules/registration/actions/validate-owner-data.actions.js","webpack:///./src/modules/registration/actions/fetch-owner-validation.actions.js","webpack:///./src/modules/security/resources/security.api.js","webpack:///./src/modules/report-subscriptions/actions/sftp.actions.js","webpack:///./src/modules/report-subscriptions/resources/sftp.api.js","webpack:///./src/modules/app/actions/dictionaries/sftp-authentication-types.actions.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-module.js","webpack:///./src/modules/app/actions/dictionaries/user-class-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/order-statuses-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/pack-statuses-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/price-points-dictionary.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-instant-games-transitions-history.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-order-history-list.actions.js","webpack:///./src/modules/dashboard/actions/site-financial-status/site-financial-status.actions.js","webpack:///./src/modules/utils/rw-subordinates/resources/subordinate-list.api.js","webpack:///./src/modules/app/actions/dictionaries/invoice-dates-dictionary.actions.js","webpack:///./src/modules/dashboard/resources/eft-amount.api.js","webpack:///./src/modules/dashboard/actions/net-sales/net-sales-summary.actions.js","webpack:///./src/modules/dashboard/resources/net-sales.api.js","webpack:///./src/modules/dashboard/resources/big-winners.api.js","webpack:///./src/modules/dashboard/resources/cumulative-winners.api.js","webpack:///./src/modules/dashboard/actions/lvm-sales-history/lvm-sales-history.actions.js","webpack:///./src/modules/dashboard/resources/alerts.api.js","webpack:///./src/modules/utils/rw-editor/rw-editor-module.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships-module.js","webpack:///./src/modules/user/resources/users.api.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-module.js","webpack:///./src/modules/user/actions/linked-retailers.actions.js","webpack:///./src/modules/utils/grid/table-component.js","webpack:///./src/modules/utils/actions/table-sorting/table-sorting.actions.js","webpack:///./src/modules/utils/dirty-form/views/confirm-dialog.html","webpack:///./src/modules/utils/dirty-form/views/unsaved-changes-cancel-dialog.html","webpack:///./src/modules/utils/rw-card/rw-card-module.js","webpack:///./src/modules/utils/resources/utils.api.js","webpack:///./src/modules/auth/logic/auth.js","webpack:///./src/modules/user/logic/user.js","webpack:///./src/modules/app/actions/banners.actions.js","webpack:///./src/modules/app/resources/banners.api.js","webpack:///./src/modules/app/resources/terms-management.api.js","webpack:///./src/modules/app/actions/terms-management.actions.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management-component.js","webpack:///./src/modules/app/app.conf.json","webpack:///external \"d3\"","webpack:///./src/modules/reducers.js","webpack:///./src/modules/auth/reducers/auth.reducer.js","webpack:///./src/modules/auth/reducers/session.reducer.js","webpack:///./src/modules/auth/helpers/menu.js","webpack:///./src/modules/app/config/sidemenu.js","webpack:///./src/modules/contact/reducers/contact.reducer.js","webpack:///./src/modules/contact/reducers/lottery.js","webpack:///./src/modules/contact/reducers/inquiry.js","webpack:///./src/modules/documents/reducers/documents.reducer.js","webpack:///./src/modules/email-notification-templates/reducers/email-notification-templates.reducer.js","webpack:///./src/modules/faq/reducers/faq.reducer.js","webpack:///./src/modules/message/reducers/messages.reducer.js","webpack:///./src/modules/message/reducers/selected-messages.js","webpack:///./src/modules/message/reducers/sent.js","webpack:///./src/modules/message/reducers/inbox.js","webpack:///./src/modules/message/reducers/unread-count.js","webpack:///./src/modules/message/reducers/message-details.js","webpack:///./src/modules/message/reducers/recipients.js","webpack:///./src/modules/privilege-templates/reducers/privilege-templates.reducer.js","webpack:///./src/modules/registration/reducers/registration.reducer.js","webpack:///./src/modules/report-subscriptions/reducers/report-subscriptions-page.reducer.js","webpack:///./src/modules/report-subscriptions/resources/report-subscriptions-api.js","webpack:///./src/modules/report-subscriptions/reducers/sftp.reducer.js","webpack:///./src/modules/report-subscriptions/reducers/sftp/sftp-list.js","webpack:///./src/modules/report-subscriptions/reducers/sftp/selected-sftp-entry.js","webpack:///./src/modules/retailer-reports/reducers/retailer-reports.reducer.js","webpack:///./src/modules/retailer-reports/reducers/items.js","webpack:///./src/modules/admin-reports/reducers/admin-reports.reducer.js","webpack:///./src/modules/admin-reports/reducers/items.js","webpack:///./src/modules/security/reducers/security.reducer.js","webpack:///./src/modules/manage-inventory/reducers/manage-inventory.reducer.js","webpack:///./src/modules/manage-inventory/reducers/games.js","webpack:///./src/modules/manage-inventory/reducers/packs.js","webpack:///./src/modules/manage-inventory/reducers/user-selection.js","webpack:///./src/modules/manage-inventory/reducers/pack-details.js","webpack:///./src/modules/manage-inventory/reducers/order-details.js","webpack:///./src/modules/manage-inventory/reducers/liabilities.js","webpack:///./src/modules/manage-inventory/reducers/packs-gross-value.js","webpack:///./src/modules/manage-inventory/reducers/order-history.js","webpack:///./src/modules/manage-inventory/reducers/instant-games-transitions-history.js","webpack:///./src/modules/dashboard/reducers/announcements.reducer.js","webpack:///./src/modules/dashboard/reducers/announcements/items.js","webpack:///./src/modules/dashboard/reducers/announcements/active.js","webpack:///./src/modules/dashboard/reducers/announcements/archived.js","webpack:///./src/modules/dashboard/reducers/announcements/scheduled.js","webpack:///./src/modules/dashboard/reducers/announcements/draft.js","webpack:///./src/modules/dashboard/reducers/big-winners.reducer.js","webpack:///./src/modules/dashboard/reducers/big-winners/items.js","webpack:///./src/modules/dashboard/reducers/bond-renewal.reducer.js","webpack:///./src/modules/dashboard/reducers/bond-renewal/stores.js","webpack:///./src/modules/dashboard/reducers/bond-renewal/stores-count.js","webpack:///./src/modules/dashboard/reducers/bond-renewal/loading-status.js","webpack:///./src/modules/dashboard/reducers/cumulative-winners.reducer.js","webpack:///./src/modules/dashboard/reducers/cumulative-winners/items.js","webpack:///./src/modules/dashboard/reducers/dashboard.reducer.js","webpack:///./src/modules/dashboard/reducers/earnings-history.reducer.js","webpack:///./src/modules/dashboard/reducers/earnings-history/earnings-history.js","webpack:///./src/modules/dashboard/reducers/eft-history.reducer.js","webpack:///./src/modules/dashboard/reducers/eft-history/extensions.js","webpack:///./src/modules/dashboard/reducers/eft-history/date.js","webpack:///./src/modules/dashboard/reducers/eft-history/items.js","webpack:///./src/modules/dashboard/reducers/license-renewal.reducer.js","webpack:///./src/modules/dashboard/reducers/license-renewal/retailers.js","webpack:///./src/modules/dashboard/reducers/lvm-sales-history.reducer.js","webpack:///./src/modules/dashboard/reducers/net-sales.reducer.js","webpack:///./src/modules/dashboard/reducers/net-sales/net-sales-summary.js","webpack:///./src/modules/dashboard/reducers/net-sales/loading-status.js","webpack:///./src/modules/dashboard/reducers/net-sales/instant-games.js","webpack:///./src/modules/dashboard/reducers/net-sales/draw-games.js","webpack:///./src/modules/dashboard/reducers/site-financial-status.reducer.js","webpack:///./src/modules/dashboard/reducers/site-financial-status/site-financial-status.js","webpack:///./src/modules/dashboard/reducers/site-operational-status.reducer.js","webpack:///./src/modules/dashboard/reducers/site-operational-status/retailers.js","webpack:///./src/modules/dashboard/reducers/site-operational-status/isSiteOperationalStatusEmpty.js","webpack:///./src/modules/user/reducers/linked-retailers.reducer.js","webpack:///./src/modules/user/reducers/linked-retailers/list.js","webpack:///./src/modules/user/reducers/trusted-devices.reducer.js","webpack:///./src/modules/user/reducers/user.reducer.js","webpack:///./src/modules/user/reducers/users.reducer.js","webpack:///./src/modules/utils/reducers/backend-version.reducer.js","webpack:///./src/modules/utils/rw-app-version/reducers/backend-app-version.js","webpack:///./src/modules/utils/reducers/poster.reducer.js","webpack:///./src/modules/utils/reducers/poster/poster-url.js","webpack:///./src/modules/utils/reducers/privacy-policy.reducer.js","webpack:///./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy.js","webpack:///./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-content.js","webpack:///./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-error.js","webpack:///./src/modules/utils/reducers/retailer-details.reducer.js","webpack:///./src/modules/utils/reducers/subordinate-list.reducer.js","webpack:///./src/modules/utils/rw-subordinates/reducers/subordinate-list-combine.js","webpack:///./src/modules/utils/rw-subordinates/reducers/subordinate-list.js","webpack:///./src/modules/utils/rw-subordinates/reducers/selected-retailer.js","webpack:///./src/modules/utils/reducers/terms-of-use.reducer.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-content.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-error.js","webpack:///./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-attachments.js","webpack:///./src/modules/utils/reducers/ui.reducer.js","webpack:///./src/modules/utils/reducers/active-tab/active-tab.js","webpack:///./src/modules/utils/reducers/selected-language/selected-language.js","webpack:///./src/modules/app/resources/game-images.api.js","webpack:///./src/modules/utils/reducers/pagination/sosPagination.js","webpack:///./src/modules/utils/reducers/sorting-function/sorting-function.js","webpack:///./src/modules/utils/reducers/error/error.js","webpack:///./src/modules/utils/reducers/createNamedReducer.js","webpack:///./src/modules/terms-preview/reducers/terms-preview.reducer.js","webpack:///./src/modules/retailer-dashboards/reducers/retailer-dashboards.reducer.js","webpack:///./src/modules/download-report-page/reducers/download-report-page.reducer.js","webpack:///./src/modules/app/reducers/app.reducer.js","webpack:///./src/modules/documents/validators/action-validators.js","webpack:///./src/modules/report-subscriptions/validators/action-validators.js","webpack:///./src/modules/store-profiles/validators/action-validators.js","webpack:///./src/modules/app/reducers/banners.reducer.js","webpack:///./src/modules/app/reducers/config.reducer.js","webpack:///./src/modules/app/reducers/dictionaries.reducer.js","webpack:///./src/modules/app/reducers/dictionary.reducer.js","webpack:///./src/modules/app/reducers/dictionaries/price-point-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/pack-statuses-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/order-statuses-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/user-class-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/report-categories-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/tiers-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/lottery-terms-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/privilege-display-types-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/inquiry-reasons-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/invoice-dates-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/user-templates-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/outlet-types-dictionary.js","webpack:///./src/modules/app/reducers/dictionaries/sftp-authentication-types.js","webpack:///./src/modules/app/reducers/dictionaries/activity-events-dictionary.js","webpack:///./src/modules/app/reducers/dirty-forms.reducer.js","webpack:///./src/modules/app/reducers/game-images.reducer.js","webpack:///./src/modules/app/reducers/home.reducer.js","webpack:///./src/modules/app/reducers/login-popup.reducer.js","webpack:///./src/modules/app/reducers/manage-configurable-link.reducer.js","webpack:///./src/modules/app/resources/manage-configurable-link.api.js","webpack:///./src/modules/app/reducers/manage-icons.reducer.js","webpack:///./src/modules/app/reducers/media-templates.reducer.js","webpack:///./src/modules/app/resources/media-templates.api.js","webpack:///./src/modules/app/reducers/terms-management.reducer.js","webpack:///./src/modules/app/reducers/theme.reducer.js","webpack:///./src/modules/app/reducers/theme/colors.js","webpack:///./src/modules/app/reducers/theme/error.js","webpack:///./src/modules/app/reducers/widgets.reducer.js","webpack:///./src/modules/app/reducers/widgets/items.js","webpack:///./src/modules/app/reducers/widgets/copy-items.js","webpack:///./src/modules/app/reducers/widgets/draft.js","webpack:///./src/modules/app/reducers/widgets/is-maintenance.js","webpack:///./src/modules/auth/auth-routing-module.js","webpack:///./src/modules/auth/components/reset-account-password/reset-account-password-module.js","webpack:///./src/modules/auth/components/reset-account-password/reset-account-password-routing-module.js","webpack:///./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password-component.js","webpack:///./src/modules/lsp/lsp.api.js","webpack:///./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password.html","webpack:///./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button-component.js","webpack:///./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button.html","webpack:///./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-confirm-dialog.html","webpack:///./src/modules/auth/components/forgot-password/forgot-password-module.js","webpack:///./src/modules/auth/components/forgot-password/forgot-password-component.js","webpack:///./src/modules/auth/components/forgot-password/views/success-confirm-modal.html","webpack:///./src/modules/auth/components/forgot-password/forgot-password.html","webpack:///./src/modules/auth/components/two-factor/two-factor-module.js","webpack:///./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog-component.js","webpack:///./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog.html","webpack:///./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog-component.js","webpack:///./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog.html","webpack:///./src/modules/auth/config/errorcodes.conf.js","webpack:///./src/modules/auth/components/login-form/views/account-blocked-modal.html","webpack:///./src/modules/auth/components/login-form/account-blocked-modal.js","webpack:///./src/modules/auth/components/forgot-username/forgot-username-component.js","webpack:///./src/modules/auth/components/forgot-username/forgot-username.html","webpack:///./src/modules/auth/components/forgot-username/views/forgot-username-modal.html","webpack:///./src/modules/auth/components/change-password/change-password-component.js","webpack:///./src/modules/auth/components/change-password/change-password.html","webpack:///./src/modules/auth/components/login-form/login-form-component.js","webpack:///./src/modules/auth/helpers/login.js","webpack:///./src/modules/auth/components/login-form/views/login-form.html","webpack:///./src/modules/auth/components/login-form/views/login-form-mobile.html","webpack:///./src/modules/auth/components/login-form/views/login-terms-of-use.html","webpack:///./src/modules/contact/contact-module.js","webpack:///./src/modules/contact/contact-routing-module.js","webpack:///./src/modules/contact/components/contact-list/contact-list-module.js","webpack:///./src/modules/contact/components/contact-list/contact-list-component.js","webpack:///./src/modules/contact/components/contact-list/contact-list.html","webpack:///./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-module.js","webpack:///./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-component.js","webpack:///./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list.html","webpack:///./src/modules/contact/components/contact-us/contact-us-module.js","webpack:///./src/modules/contact/components/contact-us/contact-us-component.js","webpack:///./src/modules/app/actions/dictionaries/inquiry-reasons-dictionary.actions.js","webpack:///./src/modules/contact/components/contact-us/contact-us.html","webpack:///./src/modules/contact/components/manage-contact/manage-contact-module.js","webpack:///./src/modules/contact/components/manage-contact/manage-contact-component.js","webpack:///./src/modules/contact/components/manage-contact/manage-contact.html","webpack:///./src/modules/documents/documents-component.js","webpack:///./src/modules/documents/config/errorcodes.conf.js","webpack:///./src/modules/documents/actions/set-new-label-status.actions.js","webpack:///./src/modules/documents/components/documents-filter/documents-filter-component.js","webpack:///./src/modules/documents/components/documents-filter/documents-filter.html","webpack:///./src/modules/documents/components/documents-filter/views/category-delete-confirm.html","webpack:///./src/modules/documents/views/document-delete-confirm.html","webpack:///./src/modules/documents/views/edit-document-modal.html","webpack:///./src/modules/documents/views/preview-document-dialog.html","webpack:///./src/modules/documents/components/documents-management/category-dialog/category-dialog.html","webpack:///./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal.html","webpack:///./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal-controller.js","webpack:///./src/modules/documents/components/documents-management/category-dialog/category-dialog-controller.js","webpack:///./src/modules/documents/documents.html","webpack:///./src/modules/email-notification-templates/email-notification-templates-component.js","webpack:///./src/modules/email-notification-templates/config/errorcodes.conf.js","webpack:///./src/modules/email-notification-templates/email-notification-templates.html","webpack:///./src/modules/email-notification-templates/components/update/email-notification-template-update.html","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/email-notification-tab-component.js","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content.html","webpack:///./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header.html","webpack:///./src/modules/sms/sms-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/sms-notification-templates-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/sms-notification-tab-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content.html","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header.html","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit-component.js","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit.html","webpack:///./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-dialog.html","webpack:///./src/modules/sms/components/manage-login-sms-notification/manage-login-sms-notification-component.js","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/template.html","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/component.js","webpack:///./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/template.html","webpack:///./src/modules/sms/components/manage-sms-notification/manage-sms-notification-component.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view-component.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view.html","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit-component.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit.html","webpack:///./src/modules/faq/faq-component.js","webpack:///./src/modules/faq/faq.html","webpack:///./src/modules/faq/components/faq-management/faq-management-component.js","webpack:///./src/modules/faq/components/faq-management/faq-management.html","webpack:///./src/modules/faq/components/faq-category/faq-category-component.js","webpack:///./src/modules/faq/components/faq-category/faq-category.html","webpack:///./src/modules/faq/components/faq-search/faq-search-component.js","webpack:///./src/modules/faq/components/faq-search/faq-search.html","webpack:///./src/modules/faq/config/errorcodes.conf.js","webpack:///./src/modules/message/message-component.js","webpack:///./src/modules/message/config/errorcodes.conf.js","webpack:///./src/modules/message/message-routing-module.js","webpack:///./src/modules/message/components/messages-list/messages-list-module.js","webpack:///./src/modules/message/components/messages-list/messages-list-component.js","webpack:///./src/modules/message/components/create-message/create-message.html","webpack:///./src/modules/message/components/messages-list/messages-list.html","webpack:///./src/modules/message/components/sent-messages-list/sent-messages-list-module.js","webpack:///./src/modules/message/components/sent-messages-list/sent-messages-list-component.js","webpack:///./src/modules/message/components/sent-messages-list/sent-messages-list.html","webpack:///./src/modules/message/components/sent-message-details/sent-message-details-module.js","webpack:///./src/modules/message/components/sent-message-details/sent-message-details-component.js","webpack:///./src/modules/message/components/sent-message-details/sent-message-details.html","webpack:///./src/modules/message/components/message-details/message-details-module.js","webpack:///./src/modules/message/components/message-details/message-details-component.js","webpack:///./src/modules/message/components/message-details/message-details.html","webpack:///./src/modules/message/components/create-message/create-message-module.js","webpack:///./src/modules/message/components/messages-tab/messages-tab-module.js","webpack:///./src/modules/message/components/messages-tab/messages-tab-component.js","webpack:///./src/modules/message/components/messages-tab/messages-tab.html","webpack:///./src/modules/message/components/recipients-list/recipients-list-module.js","webpack:///./src/modules/message/components/recipients-list/recipients-list-component.js","webpack:///./src/modules/message/actions/recipients.actions.js","webpack:///./src/modules/message/components/recipients-list/recipients-list.html","webpack:///./src/modules/message/components/reply-message-dialog/reply-message-dialog-module.js","webpack:///./src/modules/message/components/reply-message-dialog/reply-message-dialog-component.js","webpack:///./src/modules/message/actions/reply-message.actions.js","webpack:///./src/modules/message/components/reply-message-dialog/reply-message-dialog.html","webpack:///./src/modules/message/message-definition-service.js","webpack:///./src/modules/privilege-templates/privilege-templates-component.js","webpack:///./src/modules/privilege-templates/config/errorcodes.conf.js","webpack:///./src/modules/privilege-templates/actions/delete-privilege-templates.actions.js","webpack:///./src/modules/privilege-templates/actions/create-privilege-templates.actions.js","webpack:///./src/modules/privilege-templates/actions/update-privilege-template.actions.js","webpack:///./src/modules/privilege-templates/actions/privilege-templates.actions.js","webpack:///./src/modules/privilege-templates/privilege-templates-routing-module.js","webpack:///./src/modules/privilege-templates/components/privilege-list/privilege-list-module.js","webpack:///./src/modules/privilege-templates/components/privilege-list/privilege-list-component.js","webpack:///./src/modules/privilege-templates/components/privilege-list/privilege-list.html","webpack:///./src/modules/privilege-templates/components/privilege-item/privilege-item-module.js","webpack:///./src/modules/privilege-templates/components/privilege-item/privilege-item-component.js","webpack:///./src/modules/dashboard/actions/license-renewal/license-renewal.actions.js","webpack:///./src/modules/dashboard/resources/license-renewal.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget.html","webpack:///./src/modules/privilege-templates/components/privilege-item/privilege-item.html","webpack:///./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-module.js","webpack:///./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-component.js","webpack:///./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form.html","webpack:///./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-module.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-component.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list.html","webpack:///./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-module.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-component.js","webpack:///./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker.html","webpack:///./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-module.js","webpack:///./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-component.js","webpack:///./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog.html","webpack:///./src/modules/privilege-templates/components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog-module.js","webpack:///./src/modules/privilege-templates/components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog-component.js","webpack:///./src/modules/privilege-templates/components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog.html","webpack:///./src/modules/privilege-templates/privilege-templates.html","webpack:///./src/modules/registration/registration-module.js","webpack:///./src/modules/registration/config/errorcodes.conf.js","webpack:///./src/modules/registration/components/self-registration/self-registration-module.js","webpack:///./src/modules/registration/components/self-registration/pii/pii-component.js","webpack:///./src/modules/registration/components/self-registration/pii/pii.html","webpack:///./src/modules/registration/components/self-registration/self-registration/self-registration-component.js","webpack:///./src/modules/registration/actions/create-account.actions.js","webpack:///./src/modules/registration/components/self-registration/self-registration/review-dialog.html","webpack:///./src/modules/registration/components/self-registration/self-registration/self-registration.html","webpack:///./src/modules/registration/components/self-registration/retailer/retailer-component.js","webpack:///./src/modules/registration/components/self-registration/retailer/retailer.html","webpack:///./src/modules/registration/components/self-registration/confirm-registration/confirm-registration-component.js","webpack:///./src/modules/registration/components/self-registration/confirm-registration/confirm-registration.html","webpack:///./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration-component.js","webpack:///./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration.html","webpack:///./src/modules/registration/components/self-registration/registration-disabled/registration-disabled-component.js","webpack:///./src/modules/registration/components/self-registration/registration-disabled/registration-disabled.html","webpack:///./src/modules/registration/components/self-registration/personal-information/personal-information-component.js","webpack:///./src/modules/registration/components/self-registration/personal-information/personal-information.html","webpack:///./src/modules/registration/components/complete-registration/complete-registration-module.js","webpack:///./src/modules/registration/components/complete-registration/complete-registration-component.js","webpack:///./src/modules/registration/components/complete-registration/complete-registration.html","webpack:///./src/modules/registration/registration-routing-module.js","webpack:///./src/modules/security/components/security/security-component.js","webpack:///./src/modules/security/components/security/security.html","webpack:///./src/modules/security/components/security-questions/security-questions-component.js","webpack:///./src/modules/security/components/security-questions/security-questions.html","webpack:///./src/modules/report-subscriptions/report-subscriptions-module.js","webpack:///./src/modules/report-subscriptions/config/errorcodes.conf.js","webpack:///./src/modules/report-subscriptions/report-subscriptions-routing-module.js","webpack:///./src/modules/report-subscriptions/containers/page/report-subscriptions-page-module.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-module.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-controller.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-component.js","webpack:///./src/modules/report-subscriptions/components/additional-recipients/additional-recipients.html","webpack:///./src/modules/report-subscriptions/containers/page/report-subscriptions-page-component.js","webpack:///./src/modules/report-subscriptions/containers/page/report-subscriptions.html","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list.html","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create.html","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit-component.js","webpack:///./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit.html","webpack:///./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe-component.js","webpack:///./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe.html","webpack:///./src/modules/retailer-reports/retailer-reports-module.js","webpack:///./src/modules/retailer-reports/retailer-reports-routing-module.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-component.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page.html","webpack:///./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-module.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-component.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter.html","webpack:///./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-module.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-component.js","webpack:///./src/modules/retailer-reports/actions/retailer-reports.actions.js","webpack:///./src/modules/retailer-reports/resources/retailer-reports.api.js","webpack:///./src/modules/app/actions/dictionaries/report-categories-dictionary.actions.js","webpack:///./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content.html","webpack:///./src/modules/admin-reports/admin-reports-module.js","webpack:///./src/modules/admin-reports/admin-reports-routing-module.js","webpack:///./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-module.js","webpack:///./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-component.js","webpack:///./src/modules/admin-reports/components/admin-reports-page/admin-reports-page.html","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-module.js","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-component.js","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports.html","webpack:///./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-event-details-dialog.html","webpack:///./src/modules/admin-reports/actions/admin-reports.actions.js","webpack:///./src/modules/admin-reports/resources/admin-reports.api.js","webpack:///./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-module.js","webpack:///./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-component.js","webpack:///./src/modules/app/actions/dictionaries/activity-events-dictionary.actions.js","webpack:///./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter.html","webpack:///./src/modules/store-profiles/store-profiles-component.js","webpack:///./src/modules/store-profiles/store-profiles.html","webpack:///./src/modules/manage-inventory/manage-inventory-component.js","webpack:///./src/modules/manage-inventory/config/errorcodes.conf.js","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.module.js","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.component.js","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.html","webpack:///./src/modules/manage-inventory/components/pack-details/pack-details.controller.js","webpack:///./src/modules/manage-inventory/components/order-details/order-details.module.js","webpack:///./src/modules/manage-inventory/components/order-details/order-details.component.js","webpack:///./src/modules/manage-inventory/components/order-details/order-details.html","webpack:///./src/modules/manage-inventory/components/order-details/order-details.controller.js","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.module.js","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.component.js","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.html","webpack:///./src/modules/manage-inventory/components/details-dialog/details-dialog.controller.js","webpack:///./src/modules/manage-inventory/actions/download-detailed-report-by-tab.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-order-details.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-pack-details.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-header/inventory-header-module.js","webpack:///./src/modules/manage-inventory/components/inventory-header/inventory-header-component.js","webpack:///./src/modules/manage-inventory/components/inventory-header/inventory-header.html","webpack:///./src/modules/manage-inventory/components/order-month-selector/order-month-selector-module.js","webpack:///./src/modules/manage-inventory/components/order-month-selector/order-month-selector-component.js","webpack:///./src/modules/manage-inventory/components/order-month-selector/order-month-selector.html","webpack:///./src/modules/manage-inventory/components/order-status-selector/order-status-selector-module.js","webpack:///./src/modules/manage-inventory/components/order-status-selector/order-status-selector-component.js","webpack:///./src/modules/manage-inventory/components/order-status-selector/order-status-selector.html","webpack:///./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-module.js","webpack:///./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-component.js","webpack:///./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs.html","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.module.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.component.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.module.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.component.js","webpack:///./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-component.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-component.js","webpack:///./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-component.js","webpack:///./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab.html","webpack:///./src/modules/manage-inventory/actions/fetch-games-list.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-component.js","webpack:///./src/modules/manage-inventory/actions/fetch-packs-list.actions.js","webpack:///./src/modules/manage-inventory/actions/fetch-pack-list-gross-value.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab.html","webpack:///./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-module.js","webpack:///./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-component.js","webpack:///./src/modules/dashboard/resources/current-liability.api.ts","webpack:///./src/modules/manage-inventory/actions/fetch-liabilities.actions.js","webpack:///./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab.html","webpack:///./src/modules/manage-inventory/manage-inventory-table-service.js","webpack:///./src/modules/dashboard/dashboard-module.js","webpack:///./src/modules/dashboard/config/errorcode.conf.js","webpack:///./src/modules/dashboard/rw-dashboard-routing-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/dashboard-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-component.js","webpack:///./src/modules/dashboard/resources/top-vlt-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-component.js","webpack:///./src/modules/dashboard/resources/site-financial-status.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content.html","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-component.js","webpack:///./src/modules/dashboard/actions/site-operational-status/site-operational-status.actions.js","webpack:///./src/modules/dashboard/resources/site-operational-status.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator.html","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-component.js","webpack:///./src/modules/dashboard/resources/tickets.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history-component.js","webpack:///./src/modules/dashboard/actions/earnings-history/earnings-history.actions.js","webpack:///./src/modules/dashboard/resources/earnings-history.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history-component.js","webpack:///./src/modules/dashboard/actions/eft-history/eft-history.actions.js","webpack:///./src/modules/dashboard/resources/eft-history.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-component.js","webpack:///./src/modules/dashboard/resources/jackpots-next-draws.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-routing-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page.html","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-controller.js","webpack:///./src/modules/dashboard/actions/net-sales/net-sales-details.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history-component.js","webpack:///./src/modules/dashboard/actions/big-winners/big-winners.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history-component.js","webpack:///./src/modules/dashboard/actions/cumulative-winners/cumulative-winners.actions.js","webpack:///./src/modules/app/actions/dictionaries/tiers-dictionary.actions.js","webpack:///./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-component.js","webpack:///./src/modules/dashboard/resources/current-instant-game-liability.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-component.js","webpack:///./src/modules/dashboard/resources/actual-and-projected-settlements.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-component.js","webpack:///./src/modules/dashboard/resources/new-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-component.js","webpack:///./src/modules/dashboard/resources/my-slow-moving-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-component.js","webpack:///./src/modules/app/resources/theme.api.js","webpack:///./src/modules/dashboard/resources/my-price-point-mix.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-chart.conf.json","webpack:///./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-module.ts","webpack:///./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-component.ts","webpack:///./src/modules/dashboard/resources/my-net-sales-performance.api.ts","webpack:///./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-component.js","webpack:///./src/modules/dashboard/resources/top-selling-games.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/messages/messages-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-component.js","webpack:///./src/modules/dashboard/resources/lottery-representatives.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-component.js","webpack:///./src/modules/dashboard/resources/self-service-out-of-stock.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-chart-config.json","webpack:///./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-service.js","webpack:///./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-component.js","webpack:///./src/modules/dashboard/actions/bond-renewal/bond-renewal.actions.js","webpack:///./src/modules/dashboard/resources/bond-renewal.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-component.js","webpack:///./src/modules/dashboard/resources/selling-terminals.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-component.js","webpack:///./src/modules/dashboard/resources/chain-sales-rank.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-component.js","webpack:///./src/modules/dashboard/resources/store-sales-rank.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/lvm-sales-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget-component.js","webpack:///./src/modules/dashboard/resources/lvm-sales-history.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history.html","webpack:///./src/modules/dashboard/components/dashboard-widget/lvm-sales/tabs.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert.html","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-modal.html","webpack:///./src/modules/dashboard/components/dashboard-widget/alerts/alert/user-alert-modal.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-content-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-content.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-module.js","webpack:///./src/modules/utils/rw-editor/rw-editor-component.js","webpack:///./src/modules/utils/rw-editor/rw-editor.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form.html","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management.html","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card.html","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-component.js","webpack:///./src/modules/dashboard/resources/games-ending.api.js","webpack:///./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-module.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-component.js","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget.html","webpack:///./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-chart.conf.json","webpack:///./src/modules/dashboard/resources/my-instant-ticket-sales.api.js","webpack:///./src/modules/dashboard/components/common/common-widget/common-widget-component.js","webpack:///./src/modules/dashboard/components/common/common-widget/common-widget.html","webpack:///./src/modules/dashboard/components/retailer-filter/retailer-filter-module.js","webpack:///./src/modules/dashboard/components/retailer-filter/retailer-filter-directive.js","webpack:///./src/modules/dashboard/components/retailer-filter/retailer-filter.html","webpack:///./src/modules/dashboard/components/rw-dashboards-component.js","webpack:///./src/modules/dashboard/components/rw-dashboards.html","webpack:///./src/modules/dashboard/components/rw-add-widget/rw-add-widget.html","webpack:///./src/modules/dashboard/components/rw-add-widget/rw-add-widget-controller.js","webpack:///./src/modules/dashboard/resources/dashboard.api.js","webpack:///./src/modules/dashboard/config/dashboards.conf.json","webpack:///./src/modules/dashboard/components/rw-dashboard/rw-dashboard-component.js","webpack:///./src/modules/dashboard/components/rw-dashboard/rw-dashboard.html","webpack:///./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets-component.js","webpack:///./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets.html","webpack:///./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget-component.js","webpack:///./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget.html","webpack:///./src/modules/dashboard/components/rw-move-widget/rw-move-widget-component.js","webpack:///./src/modules/dashboard/components/rw-move-widget/rw-move-widget.html","webpack:///./src/modules/dashboard/components/rw-render-widget/rw-render-widget-directive.js","webpack:///./src/modules/user/user-module.js","webpack:///./src/modules/user/user-routing-module.js","webpack:///./src/modules/user/config/errorcodes.conf.js","webpack:///./src/modules/user/components/my-account/my-account-module.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships-controller.js","webpack:///./src/modules/retailer-groups/resources/retailer-groups-api.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships-component.js","webpack:///./src/modules/user/components/group-memberships/user-group-memberships.html","webpack:///./src/modules/user/components/my-account/my-account-component.js","webpack:///./src/modules/user/actions/trusted-devices.actions.js","webpack:///./src/modules/user/components/my-account/my-account.html","webpack:///./src/modules/user/components/my-account/views/email-change-confirm-modal.html","webpack:///./src/modules/user/components/my-account/components/form/my-account-form-component.js","webpack:///./src/modules/user/components/my-account/components/form/my-account-form.html","webpack:///./src/modules/user/components/manage-users/manage-users-component.js","webpack:///./src/modules/user/actions/users.actions.js","webpack:///./src/modules/app/actions/dictionaries/user-templates-dictionary.actions.js","webpack:///./src/modules/app/actions/dictionaries/outlet-types-dictionary.actions.js","webpack:///./src/modules/user/components/manage-users/manage-users.html","webpack:///./src/modules/user/components/edit-account/edit-account-component.js","webpack:///./src/modules/user/components/edit-account/edit-account.html","webpack:///./src/modules/user/components/edit-account/components/account-details/account-details-module.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-controller.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog.html","webpack:///./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog-controller.js","webpack:///./src/modules/user/user-service.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-component.js","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.html","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.scss?6aac","webpack:///./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.scss","webpack:///./src/modules/user/components/edit-account/components/account-details/account-details-component.js","webpack:///./src/modules/user/components/edit-account/components/account-details/view-lsp-as-this-user-confirm-modal.html","webpack:///./src/modules/user/components/edit-account/components/account-details/authenticate-user-confirm-modal.html","webpack:///./src/modules/user/components/edit-account/components/account-details/account-details.html","webpack:///./src/modules/user/components/edit-account/components/account-details/delete-user-confirm-modal.html","webpack:///./src/modules/user/components/edit-account/components/account-status/account-status-module.js","webpack:///./src/modules/user/components/edit-account/components/account-status/account-status-component.js","webpack:///./src/modules/user/components/edit-account/components/account-status/account-status.html","webpack:///./src/modules/user/components/edit-account/components/account-retailers/account-retailers-module.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/components/linked-retailers-table/linked-retailers-table-module.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/components/linked-retailers-table/linked-retailers-table-component.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/components/linked-retailers-table/linked-retailers-table.html","webpack:///./src/modules/user/components/edit-account/components/account-retailers/account-retailers-component.js","webpack:///./src/modules/user/components/edit-account/components/account-retailers/account-retailers.html","webpack:///./src/modules/user/components/create-account-steps/create-account-steps-component.js","webpack:///./src/modules/user/components/create-account-steps/create-account-steps.html","webpack:///./src/modules/user/components/create-account-steps/dialog/create-account-submit-dialog.html","webpack:///./src/modules/user/components/create-account-steps/dialog/success-create-account-dialog.html","webpack:///./src/modules/user/components/change-primary-user/change-primary-user-component.js","webpack:///./src/modules/user/components/change-primary-user/change-primary-user.html","webpack:///./src/modules/user/components/retailer-settings/retailer-settings-module.js","webpack:///./src/modules/user/components/retailer-settings/retailer-settings-component.js","webpack:///./src/modules/user/components/retailer-settings/retailer-settings.html","webpack:///./src/modules/utils/utils-component.js","webpack:///./src/modules/utils/lsp-page-sub-header/lsp-page-sub-header-component.js","webpack:///./src/modules/utils/lsp-page-sub-header/lsp-page-sub-header.html","webpack:///./src/modules/utils/search/search-component.js","webpack:///./src/modules/utils/search/search.html","webpack:///./src/modules/utils/dropdown/dropdown-component.js","webpack:///./src/modules/utils/dropdown/dropdown.html","webpack:///./src/modules/utils/collapse/collapse-component.js","webpack:///./src/modules/utils/collapse/collapse.html","webpack:///./src/modules/utils/progress-chart/progress-chart-component.js","webpack:///./src/modules/utils/progress-chart/progress-chart.html","webpack:///./src/modules/utils/rw-captcha/rw-captcha-module.js","webpack:///./src/modules/utils/rw-captcha/rw-captcha-directive.js","webpack:///./src/modules/utils/rw-captcha/resources/rw-captcha.api.js","webpack:///./src/modules/utils/rw-captcha/template.html","webpack:///./src/modules/utils/lsp-keyboard/lsp-keyboard-module.js","webpack:///./src/modules/utils/lsp-keyboard/components/on-enter/on-enter-controller.js","webpack:///./src/modules/utils/lsp-keyboard/components/on-enter/on-enter-directive.js","webpack:///./src/modules/utils/rest/rest-module.js","webpack:///./src/modules/utils/rest/error/error-module.js","webpack:///./src/modules/utils/rest/error/error-service.js","webpack:///./src/modules/utils/rest/error/error-notification-service.js","webpack:///./src/modules/utils/rest/error/alert-modal-tpl.html","webpack:///./src/modules/utils/rest/rest-wrapper-service.js","webpack:///./src/modules/utils/rest/http-service.js","webpack:///./src/modules/utils/download-element/download-element-module.js","webpack:///./src/modules/utils/download-element/download-element-component.js","webpack:///./src/modules/utils/download-element/button/button.html","webpack:///./src/modules/utils/download-element/link/link.html","webpack:///./src/modules/utils/download-element/label/label.html","webpack:///./src/modules/utils/download-element/components/async-download/async-download-component.js","webpack:///./src/modules/utils/download-element/components/async-download/async-download-template.html","webpack:///./src/modules/utils/lsp-grid/lsp-grid-module.js","webpack:///./src/modules/utils/lsp-grid/lsp-grid-component.js","webpack:///./src/modules/utils/lsp-grid/lsp-grid.html","webpack:///./src/modules/utils/lsp-grid/components/lsp-table/lsp-table.html","webpack:///./src/modules/utils/lsp-grid/components/lsp-mobile-sort/lsp-mobile-sort.html","webpack:///./src/modules/utils/grid/grid-module.js","webpack:///./src/modules/utils/grid/grid-component.js","webpack:///./src/modules/utils/grid/grid.html","webpack:///./src/modules/utils/grid/pagination-component.js","webpack:///./src/modules/utils/grid/pagination.html","webpack:///./src/modules/utils/grid/table.html","webpack:///./src/modules/utils/grid/mobile-sort-component.js","webpack:///./src/modules/utils/grid/mobile-sort.html","webpack:///./src/modules/utils/grid/table-service.js","webpack:///./src/modules/utils/grid/table-column-component.js","webpack:///./src/modules/utils/grid/table-column.html","webpack:///./src/modules/utils/grid/table-column-controller.js","webpack:///./src/modules/utils/grid/table-cell-component.js","webpack:///./src/modules/utils/grid/table-cell.html","webpack:///./src/modules/utils/lsp-image/lsp-image-module.js","webpack:///./src/modules/utils/lsp-image/lsp-image-component.js","webpack:///./src/modules/utils/lsp-image/lsp-image.html","webpack:///./src/modules/utils/lsp-bullet-placeholder/lsp-bullet-placeholder-module.js","webpack:///./src/modules/utils/lsp-bullet-placeholder/lsp-bullet-placeholder-directive.js","webpack:///./src/modules/utils/footer-bar/footer-bar-module.js","webpack:///./src/modules/utils/footer-bar/footer-bar-component.js","webpack:///./src/modules/utils/footer-bar/footer-bar.html","webpack:///./src/modules/utils/analytics/rw-analytics.module.js","webpack:///./src/modules/utils/analytics/rw-analytics-service.js","webpack:///./src/modules/utils/analytics/rw-gtm-component.js","webpack:///./src/modules/utils/carousel/carousel-module.ts","webpack:///./src/modules/utils/carousel/carousel-component.ts","webpack:///./src/modules/utils/carousel/carousel.html","webpack:///./src/modules/utils/rw-tooltip/rw-tooltip-module.js","webpack:///./src/modules/utils/rw-tooltip/rw-tooltip-component.js","webpack:///./src/modules/utils/rw-tooltip/rw-tooltip.html","webpack:///./src/modules/utils/multilanguage/multilanguage-module.js","webpack:///./src/modules/utils/multilanguage/components/multi-lang-same-value-directive.js","webpack:///./src/modules/utils/multilanguage/components/rw-language-picker/rw-language-picker-component.js","webpack:///./src/modules/utils/multilanguage/components/rw-language-picker/rw-language-picker.html","webpack:///./src/modules/utils/multilanguage/components/rw-language-select/rw-language-select-component.js","webpack:///./src/modules/utils/multilanguage/components/rw-language-select/rw-language-select.html","webpack:///./src/modules/utils/multilanguage/components/rw-multilanguage-page/rw-multilanguage-page-component.js","webpack:///./src/modules/utils/multilanguage/components/rw-multilanguage-page/rw-multilanguage-page.html","webpack:///./src/modules/utils/file-upload/file-upload-module.js","webpack:///./src/modules/utils/file-upload/components/file-upload-change-directive.js","webpack:///./src/modules/utils/file-upload/components/file-upload-input/file-upload-input-component.js","webpack:///./src/modules/utils/file-upload/components/file-upload-input/file-upload-input.html","webpack:///./src/modules/utils/file-preview/file-preview-module.js","webpack:///./src/modules/utils/file-preview/components/file-preview/file-preview-component.js","webpack:///./src/modules/utils/file-preview/components/file-preview/file-preview.html","webpack:///./src/modules/utils/dirty-form/dirty-form-directive.js","webpack:///./src/modules/utils/dirty-form/cancel-button-component.js","webpack:///./src/modules/utils/rw-clear-field/rw-clear-field-module.js","webpack:///./src/modules/utils/rw-clear-field/rw-clear-field-directive.js","webpack:///./src/modules/utils/rw-clear-field/rw-clear-field.html","webpack:///./src/modules/utils/rw-required-one-of/rw-required-one-of-module.js","webpack:///./src/modules/utils/rw-required-one-of/rw-required-one-of-directive.js","webpack:///./src/modules/utils/file-card/file-card-module.js","webpack:///./src/modules/utils/file-card/file-card-component.js","webpack:///./src/modules/utils/file-card/file-card.html","webpack:///./src/modules/utils/rw-card/rw-card-component.js","webpack:///./src/modules/utils/rw-card/rw-card.html","webpack:///./src/modules/utils/rw-game-poster/rw-game-poster-module.js","webpack:///./src/modules/utils/rw-game-poster/rw-game-poster-component.js","webpack:///./src/modules/utils/rw-game-poster/rw-game-poster.html","webpack:///./src/modules/utils/rw-date/rw-date-module.js","webpack:///./src/modules/utils/rw-date/rw-date-component.js","webpack:///./src/modules/utils/rw-date/rw-date.html","webpack:///./src/modules/utils/rw-currency/rw-currency-module.js","webpack:///./src/modules/utils/rw-currency/rw-currency-component.js","webpack:///./src/modules/utils/rw-currency/rw-currency.html","webpack:///./src/modules/utils/rw-currency/rw-currency-controller.js","webpack:///./src/modules/utils/rw-retailer-id/rw-retailer-id-module.js","webpack:///./src/modules/utils/rw-retailer-id/rw-retailer-id-component.js","webpack:///./src/modules/utils/rw-retailer-id/rw-retailer-id.html","webpack:///./src/modules/utils/rw-phone/rw-phone-module.js","webpack:///./src/modules/utils/rw-phone/rw-phone-component.js","webpack:///./src/modules/utils/rw-phone/rw-phone.html","webpack:///./src/modules/utils/rw-phone/rw-phone-controller.js","webpack:///./src/modules/utils/rw-user-class/rw-user-class-module.js","webpack:///./src/modules/utils/rw-user-class/rw-user-class-component.js","webpack:///./src/modules/utils/rw-user-class/rw-user-class.html","webpack:///./src/modules/utils/rw-user-class/rw-user-class-controller.js","webpack:///./src/modules/utils/rw-copyright/rw-copyright-module.js","webpack:///./src/modules/utils/rw-copyright/rw-copyright-component.js","webpack:///./src/modules/utils/rw-copyright/rw-copyright.html","webpack:///./src/modules/utils/rw-copyright/rw-copyright-controller.js","webpack:///./src/modules/utils/rw-app-version/rw-app-version-module.js","webpack:///./src/modules/utils/rw-app-version/rw-app-version-component.js","webpack:///./src/modules/utils/rw-app-version/rw-app-version.html","webpack:///./src/modules/utils/rw-app-version/rw-app-version-controller.js","webpack:///./src/modules/utils/rw-app-version/actions/app-version.actions.js","webpack:///./src/modules/utils/rw-app-version/resources/app-version.api.js","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy-module.js","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy-component.js","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy.html","webpack:///./src/modules/utils/rw-privacy-policy/rw-privacy-policy-controller.js","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog-module.js","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog-component.js","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog.html","webpack:///./src/modules/utils/rw-privacy-policy/components/rw-privacy-policy-dialog-controller.js","webpack:///./src/modules/utils/rw-privacy-policy/components/actions/privacy-policy.actions.js","webpack:///./src/modules/utils/rw-privacy-policy/components/resources/privacy-policy.api.js","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use-module.js","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use-component.js","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use.html","webpack:///./src/modules/utils/rw-terms-of-use/rw-terms-of-use-controller.js","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog-module.js","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog-component.js","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog.html","webpack:///./src/modules/utils/rw-terms-of-use/components/rw-terms-of-use-dialog-controller.js","webpack:///./src/modules/utils/rw-terms-of-use/components/actions/terms-of-use.actions.js","webpack:///./src/modules/utils/rw-terms-of-use/components/resources/terms-of-use.api.js","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links-module.js","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links-component.js","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links.html","webpack:///./src/modules/utils/rw-homepage-links/rw-homepage-links-controller.js","webpack:///./src/modules/utils/rw-button/rw-button-module.js","webpack:///./src/modules/utils/rw-button/rw-button-component.js","webpack:///./src/modules/utils/rw-button/rw-button.html","webpack:///./src/modules/utils/rw-icon/rw-icon-module.js","webpack:///./src/modules/utils/rw-icon/rw-icon-component.js","webpack:///./src/modules/utils/rw-icon/rw-icon.html","webpack:///./src/modules/utils/rw-actions-dropdown/rw-actions-dropdown-module.js","webpack:///./src/modules/utils/rw-actions-dropdown/rw-actions-dropdown-component.js","webpack:///./src/modules/utils/rw-actions-dropdown/rw-actions-dropdown.html","webpack:///./src/modules/utils/rw-social-media/rw-social-media-module.js","webpack:///./src/modules/utils/rw-social-media/rw-social-media-component.js","webpack:///./src/modules/utils/actions/rw-social-media/rw-social-media.actions.js","webpack:///./src/modules/utils/resources/rw-social-media.api.js","webpack:///./src/modules/utils/rw-social-media/rw-social-media.html","webpack:///./src/modules/utils/rw-multistore-selector/rw-multistore-selector-module.js","webpack:///./src/modules/utils/rw-multistore-selector/components/rw-multistore-selector-dialog/rw-multistore-selector-dialog-module.js","webpack:///./src/modules/utils/rw-multistore-selector/components/rw-multistore-selector-dialog/rw-multistore-selector-dialog-component.js","webpack:///./src/modules/utils/rw-multistore-selector/components/rw-multistore-selector-dialog/rw-multistore-selector-dialog.html","webpack:///./src/modules/utils/rw-multistore-selector/rw-multistore-selector-component.js","webpack:///./src/modules/utils/rw-multistore-selector/rw-multistore-selector.html","webpack:///./src/modules/utils/rw-retailer-info/rw-retailer-info-module.js","webpack:///./src/modules/utils/rw-retailer-info/rw-retailer-info-component.js","webpack:///./src/modules/utils/rw-retailer-info/rw-retailer-info.html","webpack:///./src/modules/utils/rw-subordinates/rw-subordinates-module.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-table/rw-subordinates-table-module.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-table/rw-subordinates-table-component.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-table/rw-subordinates-table.html","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-dropdown/rw-subordinates-dropdown-module.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-dropdown/rw-subordinates-dropdown-component.js","webpack:///./src/modules/utils/rw-subordinates/components/rw-subordinates-dropdown/rw-subordinates-dropdown.html","webpack:///./src/modules/utils/rw-list/rw-list-module.js","webpack:///./src/modules/utils/rw-list/components/rw-list-item-module.js","webpack:///./src/modules/utils/rw-list/components/rw-list-item-component.js","webpack:///./src/modules/utils/rw-list/components/rw-list-item.html","webpack:///./src/modules/utils/rw-list/rw-list-component.js","webpack:///./src/modules/utils/rw-list/rw-list.html","webpack:///./src/modules/utils/rw-datepicker/rw-datepicker-module.js","webpack:///./src/modules/utils/rw-datepicker/templates/datepicker.html","webpack:///./src/modules/utils/rw-datepicker/templates/day.html","webpack:///./src/modules/utils/rw-datepicker/templates/month.html","webpack:///./src/modules/utils/rw-datepicker/templates/year.html","webpack:///./src/modules/utils/rw-datepicker/templates/popup.html","webpack:///./src/modules/utils/rw-datepicker/rw-datepicker-component.js","webpack:///./src/modules/utils/rw-datepicker/rw-datepicker.html","webpack:///./src/modules/utils/rw-timepicker/rw-timepicker-module.js","webpack:///./src/modules/utils/rw-timepicker/rw-timepicker-component.js","webpack:///./src/modules/utils/rw-timepicker/rw-timepicker.html","webpack:///./src/modules/utils/rw-location-selector/rw-location-selector-module.js","webpack:///./src/modules/utils/rw-location-selector/components/rw-location-selector-dialog/rw-location-selector-dialog-module.js","webpack:///./src/modules/utils/rw-location-selector/components/rw-location-selector-dialog/rw-location-selector-dialog-component.js","webpack:///./src/modules/utils/rw-location-selector/components/rw-location-selector-dialog/rw-location-selector-dialog.html","webpack:///./src/modules/utils/rw-location-selector/rw-location-selector-component.js","webpack:///./src/modules/utils/rw-location-selector/rw-location-selector.html","webpack:///./src/modules/utils/rw-box/rw-box-module.js","webpack:///./src/modules/utils/rw-box/rw-box-component.js","webpack:///./src/modules/utils/rw-box/rw-box.html","webpack:///./src/modules/utils/lsp-filters/lsp-filters-module.js","webpack:///./src/modules/utils/lsp-filters/retailerId-format-filter.js","webpack:///./src/modules/utils/lsp-filters/lsp-percent-filter.js","webpack:///./src/modules/utils/lsp-filters/number-postfix-filter.js","webpack:///./src/modules/utils/lsp-filters/mask-filter.js","webpack:///./src/modules/utils/lsp-validators/lsp-validators-module.js","webpack:///./src/modules/utils/lsp-validators/lsp-email-validator/lsp-email-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-emails-validator/lsp-emails-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-field-matching-validator/lsp-field-matching-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-phone-length-validator/lsp-phone-length-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-name-validator/lsp-name-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-password-validator/lsp-password-directive.js","webpack:///./src/modules/utils/lsp-validators/lsp-form-field-validator/lsp-form-field-service.js","webpack:///./src/modules/utils/lsp-validators/lsp-form-field-validator/lsp-form-field-directive.js","webpack:///./src/modules/utils/lsp-validators/retailer-number-pattern/retailer-number-pattern-directive.js","webpack:///./src/modules/utils/lsp-validators/space-leading-pattern/space-leading-pattern-directive.js","webpack:///./src/modules/utils/lsp-validators/google-maps-coords-validator/google-maps-coords-directive.js","webpack:///./src/modules/utils/lsp-validators/stripped-max-length.js","webpack:///./src/modules/utils/lsp-alerts/lsp-alert-service.js","webpack:///./src/modules/utils/responsive/responsive-service.js","webpack:///./src/scss/variables.json","webpack:///./src/modules/utils/dirty-form/cancel-service.js","webpack:///./src/modules/utils/widget/widget-service.js","webpack:///./src/modules/utils/editor/email-variables-ckeditor-plugin.js","webpack:///./src/modules/utils/tab/tab-component.js","webpack:///./src/modules/utils/tab/components/tab-header/tab-header-component.js","webpack:///./src/modules/utils/tab/components/tab-header/tab-header.html","webpack:///./src/modules/utils/notifications/notifications.js","webpack:///./src/modules/utils/notifications/views/default-dialog-template.html","webpack:///./src/modules/utils/save-as-polyfill.js","webpack:///./src/modules/terms-preview/terms-preview-module.js","webpack:///./src/modules/terms-preview/components/terms-page/terms-page-module.js","webpack:///./src/modules/terms-preview/components/terms-page/terms-page-component.js","webpack:///./src/modules/terms-preview/components/terms-page/terms-page.html","webpack:///./src/modules/terms-preview/components/terms-page/terms-page-controller.js","webpack:///./src/modules/terms-preview/components/terms-list/terms-list-module.js","webpack:///./src/modules/terms-preview/components/terms-list/terms-list-component.js","webpack:///./src/modules/terms-preview/components/terms-list/terms-list.html","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog-module.js","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog-component.js","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog-controller.js","webpack:///./src/modules/terms-preview/components/terms-dialog/terms-dialog.html","webpack:///./src/modules/retailer-dashboards/retailer-dashboards-module.js","webpack:///./src/modules/retailer-dashboards/config/errorcodes.conf.js","webpack:///./src/modules/retailer-dashboards/retailer-dashboards-routing-module.js","webpack:///./src/modules/retailer-dashboards/containers/search-page/retailer-dashboards-search-page-module.js","webpack:///./src/modules/retailer-dashboards/containers/search-page/retailer-dashboards-search-page-component.js","webpack:///./src/modules/retailer-dashboards/resources/retailer-dashboards-api.js","webpack:///./src/modules/retailer-dashboards/containers/search-page/retailer-dashboards-search-page.html","webpack:///./src/modules/retailer-dashboards/containers/dashboard-page/retailer-dashboard-page-module.js","webpack:///./src/modules/retailer-dashboards/containers/dashboard-page/retailer-dashboard-page-component.js","webpack:///./src/modules/retailer-dashboards/containers/dashboard-page/retailer-dashboard-page.html","webpack:///./src/modules/download-report-page/download-report-page-module.js","webpack:///./src/modules/download-report-page/config/errorcodes.conf.js","webpack:///./src/modules/download-report-page/components/download-page/download-page-module.js","webpack:///./src/modules/download-report-page/components/download-page/download-page-component.js","webpack:///./src/modules/download-report-page/components/download-page/download-page.html","webpack:///./src/modules/download-report-page/components/download-page/download-page-controller.js","webpack:///./src/modules/download-report-page/actions/download-report-page.acions.js","webpack:///./src/modules/download-report-page/download-report-page.api.js","webpack:///./src/modules/app/config/errorcodes.conf.js","webpack:///./src/modules/app/logic/app.js","webpack:///./src/modules/email-notification-templates/logic/email-notification-templates.js","webpack:///./src/modules/sms/logic/sms.js","webpack:///./src/modules/sms/helpers/sms-helpers.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-dialog/manage-sms-notification-dialog-logic.js","webpack:///./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-dialog/manage-sms-notification-dialog.html","webpack:///./src/modules/faq/logic/faq.js","webpack:///./src/modules/registration/logic/registration.js","webpack:///./src/modules/security/logic/security.js","webpack:///./src/modules/manage-inventory/logic/manage-inventory.js","webpack:///./src/modules/app/components/forbidden/forbidden-component.js","webpack:///./src/modules/app/components/forbidden/forbidden.html","webpack:///./src/modules/rw-redux/action-dispatcher.js","webpack:///./src/modules/app/validators/action-validators.js","webpack:///./src/modules/app/app.html","webpack:///./src/modules/app/views/system-unavailable.html","webpack:///./src/modules/app/components/impersonating-bar/impersonating-bar-component.js","webpack:///./src/modules/app/components/impersonating-bar/impersonating-bar.html","webpack:///./src/modules/app/components/side-menu/side-menu-component.js","webpack:///./src/modules/app/components/side-menu/side-menu-anonymous.html","webpack:///./src/modules/app/components/side-menu/side-menu-loggedin.html","webpack:///./src/modules/app/components/side-menu/components/menu-items/menu-items.js","webpack:///./src/modules/app/components/side-menu/components/menu-items/menu-items.html","webpack:///./src/modules/app/components/side-menu/components/side-menu-header/side-menu-header-module.js","webpack:///./src/modules/app/components/side-menu/components/side-menu-header/side-menu-header-component.js","webpack:///./src/modules/app/components/side-menu/components/side-menu-header/side-menu-header.html","webpack:///./src/modules/app/components/home/home-component.js","webpack:///./src/modules/app/components/home/management/cms-management-component.js","webpack:///./src/modules/app/components/home/management/components/terms/terms-management-module.js","webpack:///./src/modules/app/components/home/management/components/terms/terms-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-tab/terms-tab-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-preview-dialog/terms-preview-dialog-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-preview-dialog/terms-preview-dialog-component.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-preview-dialog/terms-preview-dialog.html","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-confirm-dialog/terms-confirm-dialog-module.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-confirm-dialog/terms-confirm-dialog-component.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-confirm-dialog/terms-confirm-dialog.html","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-tab/terms-tab-component.js","webpack:///./src/modules/app/components/home/management/components/terms/components/terms-tab/terms-tab.html","webpack:///./src/modules/app/components/home/management/components/terms/terms-management-component.js","webpack:///./src/modules/app/components/home/management/components/terms/terms-management.html","webpack:///./src/modules/app/components/home/management/components/manage-configurable-link/manage-configurable-link-component.js","webpack:///./src/modules/app/components/home/management/components/manage-configurable-link/manage-configurable-link.html","webpack:///./src/modules/app/components/home/management/components/theme/theme-component.js","webpack:///./src/modules/app/components/home/management/components/theme/theme.html","webpack:///./src/modules/app/components/home/management/components/theme/theme-notification.html","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons-module.js","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons-component.js","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons.html","webpack:///./src/modules/app/components/home/management/components/manage-icons/manage-icons-controller.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management-module.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management-component.js","webpack:///./src/modules/app/components/home/management/components/banners/banners-management.html","webpack:///./src/modules/app/components/home/management/components/banners/components/preview-banner-dialog/preview-banner-dialog.html","webpack:///./src/modules/app/components/home/management/components/banners/components/upload-banner-dialog/upload-banner-dialog.html","webpack:///./src/modules/app/components/home/management/components/banners/components/upload-banner-dialog/upload-banner-dialog-controller.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images-module.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images-routing-module.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images-component.js","webpack:///./src/modules/app/components/home/management/components/game-images/game-images.html","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-tab/games-tab-component.js","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-tab/games-tab.html","webpack:///./src/modules/app/components/home/management/components/game-images/components/game-card/game-card-component.js","webpack:///./src/modules/utils/file-upload/file-helpers.js","webpack:///./src/modules/app/components/home/management/components/game-images/components/game-card/game-card.html","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-selector/games-selector-component.js","webpack:///./src/modules/app/components/home/management/components/game-images/components/games-selector/games-selector.html","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates-module.js","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates-routing-module.js","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates-component.js","webpack:///./src/modules/app/components/home/management/components/media-templates/media-templates.html","webpack:///./src/modules/app/components/home/management/components/media-templates/components/template-tab/template-tab-component.js","webpack:///./src/modules/app/components/home/management/components/media-templates/components/template-tab/template-tab.html","webpack:///./src/modules/app/components/home/management/components/media-templates/components/confirmation-dialog/confirmation-dialog.html","webpack:///./src/modules/app/components/home/management/components/media-templates/components/poster-preview-form/poster-preview-form-dialog-component.js","webpack:///./src/modules/app/components/home/management/components/media-templates/components/poster-preview-form/poster-preview-form-dialog.html","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management-module.js","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management-component.js","webpack:///./src/modules/app/actions/login-popup.actions.js","webpack:///./src/modules/app/components/home/management/components/login-popups/cms-popup-management.html","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management-module.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management-routing-module.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-management.html","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-edit-component.js","webpack:///./src/modules/app/components/home/management/components/widgets/widgets-edit.html","webpack:///./src/modules/app/components/home/home.html","webpack:///./src/modules/utils/datepicker/angular-datepicker.js","webpack:///./src/modules/app/components/navbar/navbar-module.js","webpack:///./src/modules/app/components/navbar/navbar-component.js","webpack:///./src/modules/app/components/navbar/navbar.html","webpack:///./src/modules/app/components/top-menu/top-menu-module.js","webpack:///./src/modules/app/components/top-menu/top-menu-component.js","webpack:///./src/modules/app/components/top-menu/top-menu.html","webpack:///./src/modules/app/actions/dictionaries/lottery-terms-dictionary.actions.js"],"names":["__webpack_require__","Dependencies","_classCallCheck","this","restSrv","rest","depsArr","_this","Object","keys","forEach","key","_get__","session","cloneDeep","_roles","namespace","SET_PAGE_TITLE","SET_LOCALE","INIT_SESSION","UPDATE_SESSION","SET_SIDE_MENU","SET_TOP_MENU","SET_TOKENS","SET_ACTIVE_ITEM","SET_ACTIVE_SUBITEM","SET_USER_PRIVILEGES","SET_LEARNING_LINK","SET_ATTEMPTED_ROUTE","SET_RETAILER_GROUPS","SET_OWNER_RETAILER_GROUPS","TOGGLE_SUBMENU","CLOSE_ALL_SIDEMENU_ITEMS","saveSession","dispatch","getState","$sessionStorage","userSession","Promise","resolve","initializeSession","type","payload","applyTopMenu","applySessionData","topMenuItems","subLevelItems","items","id","filter","x","indexOf","hasAtLeastOneSubItemVisible","item","subItems","length","subItem","plainLink","hasAccess","applySideMenu","sideMenuItems","mainItems","updateAuthHeaders","applyMenu","newModel","arguments","undefined","_getState2","_getState2$session","role","_getState2$session$re","retailer","retailerType","isSuperChain","roleConfig","config","roles","roleKey","CHAIN_HEAD","SUPER_CHAIN","sidemenu","generateMenu","get","training","href","lotteryLearningLink","branding","brandingUrl","label","brandingLabel","licensing","topmenu","generateTopMenu","toggleSubmenu","_ref","closeAllSideMenuItems","find","opened","setCurrentState","toState","fromState","reducedItems","reduce","reduced","reducedItem","active","startsWith","sref","setItemState","setSubItemsState","push","changePageTitle","pageTitle","changeLocale","locale","gettextCatalog","setCurrentLanguage","loadRemote","setRetailerDashboardType","retailerDashboardType","sessionId","isChainHead","isIndependent","INDEPENDENT","isChainSubordinate","CHAIN_SUBORDINATE","retailerDashboard","cleartRetailerDashboardType","resetSession","_extends","anonymousPrivileges","code","tokens","jwt","HttpService","defaults","headers","common","Authorization","timezoneDiffToSeconds","applyTokens","reject","currentTimeStamp","Date","now","jwtTokenExpiration","refreshTokenExpiration","jwtCode","token","refreshCode","sessionTokens","expiringTimestamp","passwordExpired","tokenParams","refresh","setUserPrivileges","privileges","setGtmsTime","gtmsTimeUnix","newSession","gtmsTime","timezoneDiff","calculateLotteryTime","serverTime","serverTimezoneDiff","lotteryTimezoneDiff","setServerTime","salesPeriodTime","serverTimestamp","utc","unix","salesPeriodTimestamp","lotteryTime","setSuperChainRetailer","newRetailer","newRetailerObj","retailerId","isChain","setStoreProfileRetailer","isStoreProfile","setRetailerGroups","retailerGroups","setOwnerRetailerGroups","setLearningLink","link","setAttemptedRoute","route","checkAccess","CHECK_ACCESS","permission","_getState","validators","app","newActionKey","replace","privilege","checkValidators","model","actionKey","every","fn","call","checkValidatorsLazy","check","checkAccessLazy","fetchConfigRequest","FETCH_CONFIG_REQUEST","fetchConfigSuccess","FETCH_CONFIG_SUCCESS","fetchConfigFailure","FETCH_CONFIG_FAILURE","SET_DIRTY_FORM","CLEAR_DIRTY_FORM","setDirtyForm","form","value","clearDirtyForm","checkDirtyForm","dirtyForms","isAnyDirtyForm","entries","entry","validateField","field","$validate","$submitted","$viewValue","shouldShowValidation","$$parentForm","$pristine","$touched","compare","fieldName","a","b","b64toBlob","b64Data","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","slice","byteNumbers","Array","i","charCodeAt","byteArray","Uint8Array","Blob","downloadFile","context","deps","url","attachment","fileParams","fileSource","split","blob","fileType","window","saveAs","name","downloadBlob","jurisdictionId","contentId","promise","then","result","data","printElement","elementId","printable","documentTitle","ignoreElements","redirectToFirstPageFromMenu","stateParams","options","firstAllowedPageFromMenu","$ngRedux","menuElement","$state","go","redirectToPasswordReset","title","getString","content","skipDirtyForms","Notifications","showAlert","redirectToHome","redirectAfterLogin","attemptedRoute","_session$loggedIn","loggedIn","getLocales","locales","getFieldsFromEntry","fields","findIndex","fieldObj","setFieldsToEntry","map","concat","dragMove","eventObj","scrollMargin","document","getElementById","offsetHeight","below","clientY","innerHeight","above","scrollTop","generateUUID","c","crypto","msCrypto","getRandomValues","toString","extractDictionaryItem","dictionaryArray","availableStatuses","statusObj","typeCodeTexts","path","last","typeCode","toUpperCase","displayText","extractDictionaryRoot","splittedLength","trimHtml","trim","div","createElement","innerHTML","innerText","setHeader","extension","Accept","calculateDaysLeftToPercentages","daysLeft","threshold","isBondRenewalExceeded","percent","Math","round","canCreateProspective","registrationType","hasOwnProperty","create","DashboardWidgetController","$scope","isLoading","isMaintenance","loadDataFunction","transformDataFunction","isEmptyPath","$applyAsync","isEmpty","dataToCheck","checkIfEmpty","catch","error","console","finally","initGrid","fetchFunction","params","gridModel","fetchDataFunc","bind","gotoPageFunc","gridProto","fetchData","applyFilters","sortByColumn","changePageSize","gotoPage","nextPage","prevPage","assign","sortItems","column","direction","isString","toLowerCase","orderBy","unset","filterItems","filters","customHandlers","filterKeys","evalMeta","count","totalElements","pagesCount","totalPages","page","number","displayedPage","pageSize","size","hasPreviousPage","hasPrevious","hasNextPage","hasNext","ASC_DESC_MAPPING","true","false","defaultFilterHandler","filterValue","itemValue","initialGridModel","_pagingModel","loaded","pagingModel","pageNoKey","defaultPageNo","_defineProperty","pageSizeKey","defaultPageSize","sortColumnKey","defaultSortColumnKey","directionKey","defaultSortDirection","filtersKey","Number","isNaN","pageNo","setFilters","DepsService","set","removeEmptyFilters","newFilters","FETCH_PRICE_POINTS_DICTIONARY_REQUEST","FETCH_PRICE_POINTS_DICTIONARY_SUCCESS","FETCH_PRICE_POINTS_DICTIONARY_FAILURE","FETCH_PACK_STATUSES_DICTIONARY_REQUEST","FETCH_PACK_STATUSES_DICTIONARY_SUCCESS","FETCH_PACK_STATUSES_DICTIONARY_FAILURE","FETCH_ORDER_STATUSES_DICTIONARY_REQUEST","FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS","FETCH_ORDER_STATUSES_DICTIONARY_FAILURE","FETCH_USER_CLASS_DICTIONARY_REQUEST","FETCH_USER_CLASS_DICTIONARY_SUCCESS","FETCH_USER_CLASS_DICTIONARY_FAILURE","FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST","FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS","FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE","FETCH_TIERS_DICTIONARY_REQUEST","FETCH_TIERS_DICTIONARY_SUCCESS","FETCH_TIERS_DICTIONARY_FAILURE","FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST","FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS","FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE","FETCH_INVOICE_DATES_DICTIONARY_REQUEST","FETCH_INVOICE_DATES_DICTIONARY_SUCCESS","FETCH_INVOICE_DATES_DICTIONARY_FAILURE","FETCH_USER_TEMPLATES_DICTIONARY_REQUEST","FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS","FETCH_USER_TEMPLATES_DICTIONARY_FAILURE","FETCH_OUTLET_TYPES_DICTIONARY_REQUEST","FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS","FETCH_OUTLET_TYPES_DICTIONARY_FAILURE","FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST","FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS","FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE","FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST","FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS","FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE","FETCH_LOTTERY_TERMS_DICTIONARY_REQUEST","FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS","FETCH_LOTTERY_TERMS_DICTIONARY_FAILURE","FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST","FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS","FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE","_reselect","getApplicationName","state","applicationName","getOAuthClientId","oAuthClientId","getRetailerId","_ref2","getLicenseId","_ref3","relicensing","isSuperChainSelector","_ref4","isChainHeadSelector","_ref5","isChainSubordinateSelector","_ref6","isIndependentSelector","_ref7","isStoreProfileSelector","_ref8","isRetailerDashboardSelector","_ref9","retailerDashboards","inboxMessagesSelector","messages","inbox","selectedMessagesListSelector","selectedMessages","selectedMessagesList","activeAnnouncementsSelector","selectedMessageDetailsSelector","selectedId","_slicedToArray","msg","userMessageId","announcements","firstNameSelector","isEmptyActiveAnnouncementsSelector","firstName","lastNameSelector","lastName","MAX_WELCOME_LENGTH","getDisplayUserNameSelector","charAt","DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST","DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS","DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE","DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST","DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS","DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE","FETCH_GAMES_LIST_REQUEST","FETCH_GAMES_LIST_SUCCESS","FETCH_GAMES_LIST_FAILURE","FETCH_PACKS_LIST_REQUEST","FETCH_PACKS_LIST_SUCCESS","FETCH_PACKS_LIST_FAILURE","FETCH_PACKS_GROSS_VALUE_LIST_REQUEST","FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS","FETCH_PACKS_GROSS_VALUE_LIST_FAILURE","FETCH_PACK_DETAILS_REQUEST","FETCH_PACK_DETAILS_SUCCESS","FETCH_PACK_DETAILS_FAILURE","FETCH_ORDER_DETAILS_REQUEST","FETCH_ORDER_DETAILS_SUCCESS","FETCH_ORDER_DETAILS_FAILURE","FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST","FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS","FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE","FETCH_LIABILITIES_REQUEST","FETCH_LIABILITIES_SUCCESS","FETCH_LIABILITIES_FAILURE","FETCH_ORDER_HISTORY_REQUEST","FETCH_ORDER_HISTORY_SUCCESS","FETCH_ORDER_HISTORY_FAILURE","ON_ITEM_LIST_SELECTION","RESET_DETAILS_DIALOG_DATA","EMPTY_ROLES","RETAILER_PRIMARY_ROLE","PRIMARY_USER_ROLES","SECONDARY_USER_ROLES","RETAILER_PROSPECTIVE_ROLES","ADMIN_ROLES","ADMIN_TEMPORARY_ROLES","RETAILER_GROUP_ROLES","RETAILER_GROUP_TEMPORARY_ROLES","USER_ROLES","TEMPORARY_ROLES","LOGGED_USER_ROLES","ANONYOUS_ROLE","ALL_ROLES","ADMIN_WITH_PRIMARY_ROLES","CHAIN_SUFFIX","RETAILER_TYPE","PROSPECTIVE","REGISTRATION_TYPE","RETAILER_ID","NO_RETAILER_ID","loadingStatusAccordingToReducer","loadingStatusName","action","pop","DefaultDialogController","$dismiss","$close","SAVE_THEME_REQUEST","SAVE_THEME_SUCCESS","SAVE_THEME_FAILURE","SET_CURRENT_THEME_SUCCESS","UPDATE_THEME_COLOR_SUCCESS","FETCH_BANNERS_REQUEST","FETCH_BANNERS_SUCCESS","FETCH_BANNERS_FAILURE","FETCH_LOGIN_POPUP_REQUEST","FETCH_LOGIN_POPUP_SUCCESS","FETCH_LOGIN_POPUP_FAILURE","FETCH_CMS_TERMS_OF_USE_REQUEST","FETCH_CMS_TERMS_OF_USE_FAILURE","FETCH_CMS_TERMS_OF_USE_SUCCESS","FETCH_CMS_PRIVACY_POLICY_REQUEST","FETCH_CMS_PRIVACY_POLICY_FAILURE","FETCH_CMS_PRIVACY_POLICY_SUCCESS","CLEAR_CMS_TERMS","FETCH_WIDGETS_REQUEST","FETCH_WIDGETS_SUCCESS","FETCH_WIDGETS_FAILURE","CANCEL_WIDGETS_CHANGES","DELETE_WIDGET","UPDATE_WIDGET","ADD_WIDGET","_jsSha","api","createNgFactory","FactoryClass","$inject","_len","args","_key","Function","prototype","apply","pageHeader","menu","obj","jsonObjectParameter","filterName","decode","val","JSON","parse","encode","stringify","equals","is","isObject","randomString","len","charSet","randomPoz","floor","random","substring","getHashes","salts","codeBytes","salt","bytes","parseInt","substr","redirectToLSP","redirectionUrlType","adminId","alertId","fetchRedirectDetails","results","redirectDto","tokenType","prop","method","target","baseUrl","input","append","body","appendChild","submit","FETCH_MESSAGES_LIST_REQUEST","FETCH_MESSAGES_LIST_FAILURE","FETCH_MESSAGES_LIST_SUCCESS","FETCH_MESSAGE_REQUEST","FETCH_MESSAGE_FAILURE","FETCH_MESSAGE_SUCCESS","FETCH_UNREAD_MESSAGES_COUNT_REQUEST","FETCH_UNREAD_MESSAGES_COUNT_FAILURE","FETCH_UNREAD_MESSAGES_COUNT_SUCCESS","DELETE_MESSAGES_REQUEST","DELETE_MESSAGES_FAILURE","DELETE_MESSAGES_SUCCESS","DELETE_MESSAGE_REQUEST","DELETE_MESSAGE_FAILURE","DELETE_MESSAGE_SUCCESS","DELETE_SENT_MESSAGES_REQUEST","DELETE_SENT_MESSAGES_FAILURE","DELETE_SENT_MESSAGES_SUCCESS","DELETE_SENT_MESSAGE_REQUEST","DELETE_SENT_MESSAGE_FAILURE","DELETE_SENT_MESSAGE_SUCCESS","MARK_MESSAGE_AS_UNREAD_REQUEST","MARK_MESSAGE_AS_UNREAD_FAILURE","MARK_MESSAGE_AS_UNREAD_SUCCESS","MARK_MESSAGE_AS_READ_REQUEST","MARK_MESSAGE_AS_READ_FAILURE","MARK_MESSAGE_AS_READ_SUCCESS","FETCH_SENT_MESSAGES_LIST_REQUEST","FETCH_SENT_MESSAGES_LIST_FAILURE","FETCH_SENT_MESSAGES_LIST_SUCCESS","FETCH_RECIPIENTS_REQUEST","FETCH_RECIPIENTS_FAILURE","FETCH_RECIPIENTS_SUCCESS","REPLY_MESSAGE_REQUEST","REPLY_MESSAGE_FAILURE","REPLY_MESSAGE_SUCCESS","ADD_MESSAGE_TO_SELECTED","DELETE_MESSAGE_FROM_SELECTED","TOGGLE_SELECT_ALL_MESSAGES_POINTER","SET_SELECT_ALL_MESSAGES_POINTER","CLEAR_SELECTED_MESSAGES_LIST","CLEAR_SELECTED_MESSAGE","RESET_INBOX","CONTEXT","INVOICE_DATE_FORMAT","lowerCase","string","transformTemplatesDTO","templates","dictionaryDTO","template","translations","transformDictionaryDTO","stage","calculateRange","date","$filter","periodStartDate","periodEndDate","calculateInvoicesDatesRange","dates","format","transformOutletTypesDTO","transformInvoiceDates","transformedDates","fromDate","subtract","toDate","displayName","transformActivityEvents","events","groupBy","transformLotteryTermsDTO","term","_objectWithoutProperties","pluralLowerCase","plural","singularLowerCase","singular","fetchPricePointsDictionary","_asyncToGenerator","regeneratorRuntime","mark","_callee","urlParams","queryParams","response","wrap","_context","prev","next","dictionary","pricePoints","sent","abrupt","stop","_x","fetchPackStatusesDictionary","_callee2","_context2","packStatuses","_x2","fetchOrderStatusesDictionary","_callee3","_context3","orderStatuses","_x3","fetchUserClassDictionary","_callee4","_context4","names","values","_x4","fetchReportCategoriesDictionary","_ref11","_callee5","_ref10","_context5","_x5","fetchTiersDictionary","_ref12","_callee6","_context6","dashboard","cumulative","tierTypes","_x6","fetchInquiryReasonsDictionary","_ref13","_callee7","_context7","contact","inquiryReasons","list","_x7","fetchInvoiceDatesDictionary","_ref14","_callee8","_context8","invoiceDates","_x8","fetchActivityEventsDictionary","_ref15","_callee9","_context9","_x9","fetchUserTemplatesDictionary","_ref16","_callee10","viewType","_context10","t0","account","ADMIN","RETAILER_PRIMARY","RETAILER_SECONDARY","_x10","fetchOutletTypesDictionary","_ref17","_callee11","outletTypes","_context11","_x11","fetchSftpAuthenticationTypesDictionary","_ref18","_callee12","_context12","listCached","fetchLotteryTermsDictionary","_ref19","_callee13","terms","_context13","lotteryTerms","fetchPrivilegeDisplayTypesDictionary","_ref20","_callee14","_context14","displayTypes","_x12","SET_ACTIVE_TAB","SET_SORTING_FUNCTION","SET_SELECTED_LANGUAGE","DOWNLOAD_POSTER_REQUEST","DOWNLOAD_POSTER_SUCCESS","DOWNLOAD_POSTER_FAILURE","FETCH_POSTER_URL_REQUEST","FETCH_POSTER_URL_SUCCESS","FETCH_POSTER_URL_FAILURE","FETCH_RETAILER_DETAILS_REQUEST","FETCH_RETAILER_DETAILS_SUCCESS","FETCH_RETAILER_DETAILS_FAILURE","CLEAR_RETAILER_DETAILS","setActiveTab","tab","setUrl","tabId","inventory","packs","games","history","ordersHistory","liability","inventoryHistory","details","orderHistory","getOrderDetailsFromPack","pack","orderNumber","prefixedTrackingNumber","orderIssuedDate","orderType","orderConfirmedDate","grossValue","manifestNumber","orderId","fetchOrderDetails","orderDetails","startDate","endDate","INSTANT_GAME_TYPE","DRAW_GAME_TYPE","VLT_GAME_TYPE","FETCH_GAME_IMAGES_REQUEST","FETCH_GAME_IMAGES_SUCCESS","FETCH_GAME_IMAGES_FAILURE","CLEAR_GAME_IMAGES","UPDATE_GAME_IMAGES","UPDATE_GAME_IMAGES_REQUEST","UPDATE_GAME_IMAGES_SUCCESS","UPDATE_GAME_IMAGES_FAILURE","fetchGameImagesRequest","fetchGameImagesSuccess","pagination","fetchGameImagesFailure","fetchGameImages","updateGameImage","gameImage","clearGameImages","updateGameImagesRequest","isSaving","updateGameImagesSuccess","game","updateGameImagesFailure","updateGameImages","gameType","gameId","image","downloadUsersWithGroups","user","users","groupMember","page-number","pageNumber","page-size","sortProperty","ascending","USER_CONTEXT","USER_APP_CONTEXT","getUsers","parameters","mobilePhone","userId","availableMembers","getAvailableAdminMembers","loadUserByParams","loadUserById","loadUserByLogin","userLogin","entryByLogin","login","self","saveUserData","update","saveUserLocale","email","emailAddress","contactPhone","securityQuestions","ownerUserId","getPasswordResetQuestions","username","forceResetAccountPassword","forcePasswordReset","resetAccountPassword","questionsAndAnswers","passwordReset","questions","answers","challenges","questionId","answer","fetchSelfRegistrationSettings","retailerSettings","validate","fetchTrustedDevices","auth","twoFactor","trustedDevicesList","deleteTrustedDevice","uuid","deleteDevice","remove","saveSelfRegistrationSettings","selfRegistrationEnabled","saveSubordinateData","fetchUserSecurityQuestions","validateExistingInfo","createUser","retailerDisplayNumber","userClass","primaryRetailer","fetchRetailerDetails","selfRegistration","fetchRetailerDetailsForSecondary","isSecondary","secondaryValidation","fetchUsersReportingTo","reportTo","_createMessageComponent","fetchRecipients","fetchMessagesList","message","fetchUserSentMessagesList","fetchMessage","fetchUnreadMessagesCount","deleteReceivedMessages","delete","received","deleteSentMessages","markMessageAsUnread","markAsUnread","markMessageAsRead","markAsRead","fetchSentMessagesList","admin","fetchSentMessage","fetchAdministratorsSentMessagesList","sentByAll","sentMessageId","requestFilters","recipients","createMessageLimitToRetailers","createLimitToRetailers","createMessage","_x13","replyMessage","_callee15","_context15","reply","recipientCategoryCode","_x14","downloadManageInventoryReportByTabRequest","downloadManageInventoryReportByTabSuccess","downloadManageInventoryReportByTabFailure","downloadManageInventoryReportByTab","requestParams","FETCH_PRIVILEGE_TEMPLATES_REQUEST","FETCH_PRIVILEGE_TEMPLATES_SUCCESS","FETCH_PRIVILEGE_TEMPLATES_FAILURE","CREATE_PRIVILEGE_TEMPLATE_REQUEST","CREATE_PRIVILEGE_TEMPLATE_SUCCESS","CREATE_PRIVILEGE_TEMPLATE_FAILURE","UPDATE_PRIVILEGE_TEMPLATE_REQUEST","UPDATE_PRIVILEGE_TEMPLATE_SUCCESS","UPDATE_PRIVILEGE_TEMPLATE_FAILURE","DELETE_PRIVILEGE_TEMPLATE_REQUEST","DELETE_PRIVILEGE_TEMPLATE_SUCCESS","DELETE_PRIVILEGE_TEMPLATE_FAILURE","SELECT_PRIVILEGE_TEMPLATE","FETCH_ANNOUNCEMENTS_REQUEST","FETCH_ANNOUNCEMENTS_SUCCESS","FETCH_ANNOUNCEMENTS_FAILURE","TOGGLE_PIN_ANNOUNCEMENTS","DELETE_ACTIVE_ANNOUNCEMENT","DELETE_ARCHIVED_ANNOUNCEMENT","DELETE_SCHEDULED_ANNOUNCEMENT","ADD_ACTIVE_ANNOUNCEMENT","ADD_ARCHIVED_ANNOUNCEMENT","ADD_SCHEDULED_ANNOUNCEMENT","UPDATE_ANNOUNCEMENTS_REQUEST","UPDATE_ANNOUNCEMENTS_SUCCESS","UPDATE_ANNOUNCEMENTS_FAILURE","DATE_FORMAT","getFormattedLotteryDate","getTimestampDate","formattedDate","getFormattedDate","timestampInMilliseconds","isActiveAnnouncement","announcement","publishFrom","publishTo","isBetween","isArchivedAnnouncement","isAfter","isScheduledAnnouncement","isBefore","orderAnnouncements","togglePinValue","getActiveAnnouncements","activeAnnouncement","getArchivedAnnouncements","archivedAnnouncement","getScheduledAnnouncements","scheduledAnnouncement","index","pinned","togglePinAnnouncement","localeItem","deleteAnnouncement","splice","addAnnouncement","newAnnouncements","_toConsumableArray","FETCH_NET_SALES_SUMMARY_REQUEST","FETCH_NET_SALES_SUMMARY_SUCCESS","FETCH_NET_SALES_SUMMARY_FAILURE","FETCH_NET_SALES_DETAILS_REQUEST","FETCH_NET_SALES_DETAILS_SUCCESS","FETCH_NET_SALES_DETAILS_FAILURE","DOWNLOAD_NET_SALES_REPORT_REQUEST","DOWNLOAD_NET_SALES_REPORT_SUCCESS","DOWNLOAD_NET_SALES_REPORT_FAILURE","SET_DICT_BY_NAME","DICT_REPORT_CATEGORY_KEY","PACK_STATUS","getUserTemplates","RETAILER_PROSPECTIVE","capitalize","getUserClasses","userClasses","dictionaries","current","getRetailerGroupUserClasses","retailerGroupUserClasses","getJobSchedulingStatuses","loadReportNames","category","_getState4$session","reports","categoryList","fileTypeTranslationsDto","loadReportCategories","loadReportExtensions","loadTransformationTypes","report","transformation","types","loadIpsStatus","typeCategory","typeDesc","loadRetailerGroupsCreateChannels","navigator","typecodes","loadRetailerGroupTypes","loadRetailerGroupSubTypes","loadRetailerGroupStatuses","fetchPrivileges","dynamic","fetchPrivilegeTemplates","createPrivilegeTemplate","getTime","creationDatetime","modificationDatetime","deletePrivilegeTemplate","updatePrivilegeTemplate","transformUserData","fetchOwnerValidationMethod","outletTypeId","ownerValidationMethod","validateOwnerData","validateOwner","validateProspectiveData","pin","captchaToken","validateProspective","fetchOwnerData","ownerUrlParams","owner","createAccount","primaryEntries","password","businessPhone","questionA","answerA","questionB","answerB","confirmRegistration","userData","activateAccount","activation","onItemListSelection","gameNumber","packNo","portionNumber","_ref$orderId","_ref$retailerId","_ref$retailerNumber","retailerNumber","selection","resetDetailsDialogData","FETCH_OWNER_VALIDATION_METHOD_REQUEST","FETCH_OWNER_VALIDATION_METHOD_SUCCESS","FETCH_OWNER_VALIDATION_METHOD_FAILURE","VALIDATE_OWNER_DATA_REQUEST","VALIDATE_OWNER_DATA_SUCCESS","VALIDATE_OWNER_DATA_FAILURE","REGISTRATION_FETCH_RETAILER_DETAILS_REQUEST","REGISTRATION_FETCH_RETAILER_DETAILS_SUCCESS","REGISTRATION_FETCH_RETAILER_DETAILS_FAILURE","REGISTRATION_UPDATE_RETAILER_DETAILS","REGISTRATION_CLEAR_RETAILER_DETAILS","CREATE_ACCOUNT_REQUEST","CREATE_ACCOUNT_SUCCESS","CREATE_ACCOUNT_FAILURE","FETCH_EFT_HISTORY_REQUEST","FETCH_EFT_HISTORY_SUCCESS","FETCH_EFT_HISTORY_FAILURE","FETCH_EFT_EXTENSIONS_REQUEST","FETCH_EFT_EXTENSIONS_SUCCESS","FETCH_EFT_EXTENSIONS_FAILURE","FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST","FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS","FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE","DOWNLOAD_EFT_INVOICE_REQUEST","DOWNLOAD_EFT_INVOICE_SUCCESS","DOWNLOAD_EFT_INVOICE_FAILURE","fetchLotteryContactsRequest","FETCH_LOTTERY_CONTACTS_REQUEST","fetchLotteryContactsFailure","FETCH_LOTTERY_CONTACTS_FAILURE","fetchLotteryContactsSuccess","FETCH_LOTTERY_CONTACTS_SUCCESS","discardLotteryContactsChangesRequest","fetchLotteryContacts","home","secondHandApproval","DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST","discardLotteryContactsChangesFailure","DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE","discardLotteryContactsChangesSuccess","DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS","publishLotteryContactsChangesRequest","discardLotteryContactsChanges","PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST","publishLotteryContactsChangesFailure","PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE","publishLotteryContactsChangesSuccess","PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS","fetchInquiryContactsRequest","publishLotteryContactsChanges","_getState3","contactList","lottery","FETCH_INQUIRY_CONTACTS_REQUEST","fetchInquiryContactsFailure","FETCH_INQUIRY_CONTACTS_FAILURE","fetchInquiryContactsSuccess","FETCH_INQUIRY_CONTACTS_SUCCESS","fetchInquiryContacts","updateInquiryContact","_getState4","_contact$inquiry","inquiry","itemsCopy","requests","inquiryContact","contactEmail","availableForUser","availableForAnonymous","all","categories","productTheme","categoryId","complementaryColors","setColor","getChartColors","theme","colorsArr","color","includes","root","documentElement","toHsl","hue","h","saturation","s","lightness","l","style","setProperty","setCurrentThemeSuccess","updateThemeColorSuccess","saveThemeRequest","setTheme","lotteryTheme","colors","currentTheme","restoreTheme","updateThemeColor","saveThemeSuccess","saveThemeFailure","saveTheme","ACTIVE","ARCHIVED","SCHEDULED","setSelectedLanguage","selectedLanguage","FETCH_SFTP_LIST_REQUEST","FETCH_SFTP_LIST_SUCCESS","FETCH_SFTP_LIST_FAILURE","DELETE_SFTP_BY_ID_REQUEST","DELETE_SFTP_BY_ID_SUCCESS","DELETE_SFTP_BY_ID_FAILURE","FETCH_SFTP_BY_ID_REQUEST","FETCH_SFTP_BY_ID_SUCCESS","FETCH_SFTP_BY_ID_FAILURE","UPDATE_SFTP_BY_ID_REQUEST","UPDATE_SFTP_BY_ID_SUCCESS","UPDATE_SFTP_BY_ID_FAILURE","CREATE_SFTP_REQUEST","CREATE_SFTP_SUCCESS","CREATE_SFTP_FAILURE","FETCH_BOND_RENEWAL_REQUEST","FETCH_BOND_RENEWAL_SUCCESS","FETCH_BOND_RENEWAL_FAILURE","DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST","DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS","DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE","FETCH_SITE_OPERATIONAL_STATUS_REQUEST","FETCH_SITE_OPERATIONAL_STATUS_SUCCESS","FETCH_SITE_OPERATIONAL_STATUS_FAILURE","FETCH_SUBORDINATE_LIST_REQUEST","FETCH_SUBORDINATE_LIST_SUCCESS","FETCH_SUBORDINATE_LIST_FAILURE","SELECT_RETAILER","FETCH_TERMS_OF_USE_REQUEST","FETCH_TERMS_OF_USE_SUCCESS","FETCH_TERMS_OF_USE_FAILURE","DOWNLOAD_TERMS_OF_USE_REQUEST","DOWNLOAD_TERMS_OF_USE_SUCCESS","DOWNLOAD_TERMS_OF_USE_FAILURE","SET_TYPE","SET_SUBTYPE","CLEAR_RETAILER_DASHBOARDS","setSubType","setType","subtype","setDashboardSubtype","clearRetailerDashboards","FETCH_ICONS_REQUEST","FETCH_ICONS_SUCCESS","FETCH_ICONS_FAILURE","fetchIconsRequest","fetchIconsSuccess","versionType","fetchIconsFailure","fetchIcons","approved","jurisdiction","_state$manageIcons","manageIcons","notification","UPLOAD_ICON_REQUEST","UPLOAD_ICON_SUCCESS","UPLOAD_ICON_FAILURE","uploadIconRequest","isFileUploading","uploadIconSuccess","iconsApprovalStatus","uploadIconSuccessAsnc","uploadIconFailure","SELECT_ICON_REQUEST","uploadIcon","_state$session","canApprove","cms","widgetsManagement","approve","codes","ICON_PUBLISH_SUCCESS","ICON_UPDATE_SUCCESS","SELECT_ICON_SUCCESS","SELECT_ICON_FAILURE","selectIconRequest","startFileSelection","selectIconSuccess","icon","ICON_UPLOAD_SUCCESS","selectIconFailure","DISCARD_CHANGES_REQUEST","selectIcon","file","base64Format","source","created","en_US","thumbnail","attachments","mimeType","errors","er","DISCARD_CHANGES_SUCCESS","DISCARD_CHANGES_FAILURE","discardIconsRequest","discardIconsSuccess","ICON_DISCARD_SUCCESS","discardIconsFailure","DELETE_ICON","discardIcons","deleteIconsSuccess","ICON_DELETE_SUCCESS","deleteIconAsnc","CANCEL_CHANGES","deleteIcon","cancelIconsChanges","CLEAR_NOTIFICATIONS","clearNotifications","fileReader","FileReader","onerror","abort","FILE_ERROR","onload","resolveObj","ext","FILE_SIZE_EXCEEDED","isArray","accept","FILE_EXTENSION_ERROR","readAsDataURL","validateImageRatio","img","Image","src","height","width","FILE_RATIO_ERROR","fetchUnreadMessagesCountRequest","fetchUnreadMessagesCountFailure","fetchUnreadMessagesCountSuccess","fetchPrivilegeDisplayTypesDictionaryRequest","fetchPrivilegeDisplayTypesDictionarySuccess","fetchPrivilegeDisplayTypesDictionaryFailure","_licenseRenewal","_selectors","_app","LICENSE_RENEWAL_SERVICE","mapStateToThis","licenseRenewal","multistore","licenseRenewalContactUrl","licenseRenewalEnabled","retailers","mapDispatchToThis","fetchLicenseRenewal","LicenceRenewalWidgetController","_possibleConstructorReturn","__proto__","getPrototypeOf","unsubscribe","connect","isRenewalLinkVisible","licensingAccess","retailerNo","LicenceRenewalWidgetComponent","bindings","isEditMode","isRemovable","removeWidget","controller","INDEPENDENT_TYPE","CHAIN_HEAD_TYPE","CHAIN_SUBORDINATE_TYPE","SUPER_CHAIN_TYPE","canSelfRegister","PROSPECTIVE_TYPE","checkPrimaryUser","toLocaleLowerCase","hasPrimaryUser","fetchRetailerDetailsRequest","fetchRetailerDetailsSuccess","fetchRetailerDetailsFailure","canSelfRegisterIndependent","canSelfRegisterSuperChain","canSelfRegisterChainHead","canSelfRegisterChainSubordinate","setRetailerDetails","clearRetailerDetails","updateRetailerDetails","fetchSubordinateListRequest","fetchSubordinateListSuccess","fetchSubordinateListFailure","fetchSubordinateList","selectRetailer","_utils","fetchAnnouncementsRequest","fetchAnnouncementsSuccess","draft","fetchAnnouncementsFailure","deleteActiveAnnouncement","fetchAnnouncements","showOnlyPublishedWidgets","togglePinAnnouncements","deleteArchivedAnnouncement","deleteScheduledAnnouncement","addActiveAnnouncement","addArchivedAnnouncement","addScheduledAnnouncement","updateAnnouncementsRequest","updateAnnouncementsSuccess","updateAnnouncementsFailure","getModifiedAnnouncements","announcementsToUpdate","deletedAnnoucments","announcementToUpdate","updatedAnnouncements","updateAnnouncements","scheduled","archived","modified","fetchLinkedRetailers","linkedRetailers","updateLinkedRetailers","deleteLinkedRetailers","hasLinkedRetailers","isLinkedRetailers","applyGrid","gridId","flow","merge","meta","newGridModel","module","exports","sms-policy","first","second","privacy-policy","widgets","discard","download","carousel","login-popup","contacts","view","currentVersion","versionDetails","allVersions","termsOfUse","privacyPolicy","smsPolicy","icons","put","configurableLink","gameImages","mediaTemplate","preview","fonts","smsTypes","mobilePhoneCarrier","configuration","internal","version","security","passwordPolicy","site","pi","frontend","oauth","loginAs","loginBack","logout","remindUsername","resetPassword","changePassword","setup","confirm","altUrls","done","prospectRegistration","subscriptions","sftp","promote","entryById","activate","suspend","completeRegistration","resendActivationEmail","loadData","change","server","time","send","sendAnonymous","inquiryContacts","documents","tag","prefetch","tagsList","newLabel","emailNotifications","userCSV","userPDF","activity","activityCSV","activityPDF","securityCSV","securityPDF","smsNotifications","smsNotification","faq","categoryOrdinal","entryOrdinal","visibility","weekday","jobs","multiStore","shortRetailerInfo","add","select","calculate","RETAILER_GROUP","retailerValidation","storeProfiles","retailerGroup","search","validateRetailers","availableRetailers","forIndependent","forChainHead","byUser","group","trigger","formats","reportType","restore","eft","downloadRetailerInvoice","extensions","terminal","zip","userListDownload","xls","sendMail","searchByPack","statusChange","subordinates","detailsDownload","este","status","save","layouts","gamesEnding","topVltGames","siteFinancialStatus","siteOperationalStatus","tickets","chainRanks","earnings","netEarnings","earningsHistory","bigWinnersHistory","netSalesDetails","eftHistory","netSales","cummulativeWinners","cumulativeHistory","alerts","hide","dismiss","userAlertDetails","jackpotsAndDraws","instant","instantTicketSales","actualAndProjectedSettlements","mySlowMovingGames","myCurrentLiability","gamesComing","gamesLaunched","myNetSalesPerformance","salesCategories","myNetSalesTranslations","retailerDistanceCount","lastYearSales","thisYearSales","myPricePointMix","top10","topSellersByPrice","settlements","downloadReport","lvm","terminals","licenseRenewalForm","lotteryRepresentatives","bigWinners","bigWinnersScratch","bigWinnersOnline","bondRenewal","lvmSales","lvmSalesHistory","gameLogo","accounts","lotteryRep","passwordResetQuestions","elearningLink","subordinateData","captcha","siteKey","poster","chat","appVersion","backend","anonymous","lsp","redirect","FETCH_NEW_LABEL_STATUS_REQUEST","FETCH_NEW_LABEL_STATUS_SUCCESS","FETCH_NEW_LABEL_STATUS_FAILURE","SET_NEW_LABEL_STATUS_REQUEST","SET_NEW_LABEL_STATUS_SUCCESS","SET_NEW_LABEL_STATUS_FAILURE","_grid","_reportSubscriptionsApi","SET_REPORTS","SET_EMAILS","SET_RECIPIENTS_EMAIL","SET_SFTP","SET_SUBSCRIPTIONS_REPORTS","SET_SUBSCRIPTIONS_EMAIL","SET_SUBSCRIPTIONS_SFTP","SET_IS_LOADING_REPORTS","SET_IS_LOADING_EMAIL","SET_IS_LOADING_SFTP","REPORT_SUBSCRIPTIONS_CONTEXT","createObjectByFileTypeId","SUBSCRIPTION_TYPE_RETAILER","SUBSCRIPTION_TYPE_GROUP","array","transformations","newTransformations","transform","transformType","fileTypeId","applySubscriptionData","gridData","externalEmails","loadReportList","retailerIdParam","retailerTypeParam","_getState$session$ret","retailerIdSession","retailerTypeSession","newData","loadEmailList","loadSftpList","_getState3$session$re","saveReportList","subscriptionsReports","reportSubscriptionsPage","saveEmailList","_getState5","_getState5$reportSubs","subscriptionsEmail","saveSftpList","_getState6","subscriptionsSftp","applyRecipient","recipient","uniq","removeRecipient","oldRecipient","unsubscribeUser","FETCH_RETAILER_REPORTS_REQUEST","FETCH_RETAILER_REPORTS_SUCCESS","FETCH_RETAILER_REPORTS_FAILURE","CLEAR_RETAILER_REPORTS","DOWNLOAD_RETAILER_REPORT_REQUEST","DOWNLOAD_RETAILER_REPORT_SUCCESS","DOWNLOAD_RETAILER_REPORT_FAILURE","FETCH_USER_ACTIVITY_REPORTS_REQUEST","FETCH_USER_ACTIVITY_REPORTS_SUCCESS","FETCH_USER_ACTIVITY_REPORTS_FAILURE","DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST","DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS","DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE","FETCH_BIG_WINNERS_HISTORY_REQUEST","FETCH_BIG_WINNERS_HISTORY_SUCCESS","FETCH_BIG_WINNERS_HISTORY_FAILURE","DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST","DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS","DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE","FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST","FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS","FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE","DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST","DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS","DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE","FETCH_LINKED_RETAILERS_REQUEST","FETCH_LINKED_RETAILERS_SUCCESS","FETCH_LINKED_RETAILERS_FAILURE","UPDATE_LINKED_RETAILERS_REQUEST","UPDATE_LINKED_RETAILERS_SUCCESS","UPDATE_LINKED_RETAILERS_FAILURE","DELETE_LINKED_RETAILERS_REQUEST","DELETE_LINKED_RETAILERS_SUCCESS","DELETE_LINKED_RETAILERS_FAILURE","FETCH_PRIVACY_POLICY_REQUEST","FETCH_PRIVACY_POLICY_SUCCESS","FETCH_PRIVACY_POLICY_FAILURE","FETCH_CONFIGURABLE_LINK_REQUEST","FETCH_CONFIGURABLE_LINK_SUCCESS","FETCH_CONFIGURABLE_LINK_FAILURE","UPDATE_CONFIGURABLE_LINK_REQUEST","UPDATE_CONFIGURABLE_LINK_SUCCESS","UPDATE_CONFIGURABLE_LINK_FAILURE","fetchConfigurableLinkRequest","fetchConfigurableLinkSuccess","fetchConfigurableLinkFailure","updateConfigurableLinkRequest","fetchConfigurableLink","updateConfigurableLinkSuccess","updateConfigurableLinkFailure","updateConfigurableLink","fetchNewLabelStatus","setNewLabelStatus","prefetchDocument","getUrl","fetchPopup","getDateTime","hour","minute","fetchPopupOnLogin","properties","_entries","popup","popupFields","dateFrom","dateTo","createdBy","timeFrom","timeTo","publishPopup","discardPopup","_selectedMessages","fetchMessagesListRequest","fetchMessagesListFailure","fetchMessagesListSuccess","getShortenMessage","_ref$setPagination","setPagination","getStore","store","hasAllMessagesSelected","deleteMessagesRequest","deleteMessagesFailure","deleteMessagesSuccess","deleteMessageRequest","deleteMessages","_getStore","deleteMessageFailure","deleteMessageSuccess","markMessageAsUnreadRequest","deleteMessage","markMessageAsUnreadFailure","markMessageAsUnreadSuccess","markMessageAsReadRequest","_getStore2","reguests","markMessageAsReadFailure","markMessageAsReadSuccess","_getStore3","resetInbox","clearSelectedMessagesList","setSelectAllPointerStatus","addSelectedMessage","removeSelectedMessage","onMessageSelection","isAlreadySelected","toggleSelectAllMessagesPointer","messagesList","fetchMessageRequest","fetchMessageFailure","fetchMessageSuccess","fetchSentMessageDetails","clearSelectedMessage","INBOX","SENT","transformPrivileges","createTree","node","paths","pathsString","join","tempPathsArray","foundPrivilege","tempPathsString","description","displayPath","checked","component","fetchEarnings","fetchNetEarnings","WTD","MTD","QTD","YTD","PRICES_PAID_WTD_ID","PRICES_PAID_MTD_ID","PRICES_PAID_YTD_ID","BIG_WINNERS_ONLINE_ID","BIG_WINNERS_SCRATCH_ID","BIG_WINNERS_ID","JACKPOT_ID","downloadHistoryReport","getAlertDetails","totalCount","_get__$$ngRedux$getSt","phoneNumber","defaultContactPhone","PACK","lowerCasePack","lowerCasePacks","alertsCollection","ArwNewGameNotActivatedAlert","A","subtitle","DEFAULT","modalTitle","modalSubtitle","ArwNewGameNotOnDisplayAlert","ArwNewGameNeedToBeReorderedAlert","ArwUnconfirmedOrdersAlert","C","ArwExpiringGamesAlert","ArwLVMBinNotSellingAlert","ArwKeyGamesNeedToBeReorderedAlert","ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert","ArwMandatoryReturnAlert","ArwLicenseRenewalAlert","ArwBondRenewalAlert","ArwAutoActivatedConfirmedAlert","STORE_PROFILE","numberOfDays","emptyAlert","gridHeadersData","text","classes","I","alertDetails","gridHeaders","DRAFT","widgetsFields2Object","getAnnouncementsUrl","transformAnnouncements","discardChanges","downloadAttachment","fetchDashboardRequest","FETCH_DASHBOARD_REQUEST","fetchDashboardSuccess","toSave","FETCH_DASHBOARD_SUCCESS","fetchDashboardFailure","FETCH_DASHBOARD_FAILURE","setDashboardLayouts","SET_DASHBOARD_LAYOUTS","setDashboardEditMode","fetchDashboard","dashboardSubtype","dashboardData","subtypes","layoutsConfig","restoreDefaults","fetchDefaultDashboard","SET_DASHBOARD_EDIT_MODE","setDashboardCopy","copy","SET_DASHBOARD_COPY","setDashboardCurrent","SET_DASHBOARD_CURRENT","saveDashboardRequest","setEditMode","isSave","_getState3$dashboard","SAVE_DASHBOARD_REQUEST","saveDashboardSuccess","SAVE_DASHBOARD_SUCCESS","saveDashboardFailure","SAVE_DASHBOARD_FAILURE","saveDashboard","dashboardToSave","foundSubtypeIndex","updateDashboard","getVisibleWidgets","visibleWidgets","rows","row","columns","widget","getAvailableWidgets","availableWidgets","getAuthorizedWidgets","setDashboardWidgetsList","SET_DASHBOARD_WIDGETS_LIST","getWidgetsList","currentDashboard","newDashboard","addWidget","unshift","isEditable","newWidgets","widgetItem","deleteWidget","_session","TEMPORARY_SUFFIX","STATUS_CREATED","nonLoggedRole","devMode","mock","_deps$config","siteId","defaultLocale","defaultSession","updateSession","_params$user","_params$config","impersonatingDisplayName","_params$adminId","lotteryRepId","_user$forcePasswordCh","forcePasswordChange","_user$locale","independentOwnerId","head","temporaryUser","ownerRetailerGroups","isAdmin","isRetailerGroup","retailersIds","r","sessionStorage","setRetailer","checkFormValidation","$setSubmitted","$valid","StripHtml","normalizedText","PRIVILGES_CONTEXT","initializeModel","privilegesArray","hiddenPrivileges","hiddenPrivilegesArray","privilegeTemplates","lotteryView","presets","currentPreset","currentPresetOriginalPrivileges","isCurrentPresetDirty","languageValidation","retailerView","selectedRole","currentRole","PrivilegeTemplatesList","isCurrentRoleDirty","rolesDialog","retailerViewDialog","lotteryViewDialog","loadPrivileges","loadUserSessionPrivileges","privs","defaultLoggedInPrivileges","loadPreset","presetId","templateId","resetCurrentPreset","editAccount","currentUserPreset","updateWidget","cancelWidgetsChanges","copyItems","fetchWidgetsRequest","fetchWidgetsSuccess","fetchWidgetsFailure","fetchWidgets","entriesTransformation","getWidgetsUrl","publishWidgets","discardWidgetsChanges","_index","_actionDispatcher","_session3","_contact3","_fetchNewLabelStatus","_unreadCount","_lotteryTermsDictionary","_theme","_retailerDashboards","_utils3","AppController","addEventListener","unhandledRejection","rejectionHandler","removeEventListener","e","preventDefault","AppFactory","$timeout","RestWrapperService","ErrorService","ErrorNotificationService","AlertService","tmhDynamicLocale","restApi","init","initNgServices","checkAndSetMaintenance","uiHelpers","showDialog","showSimpleDialog","showComplexDialog","initialize","resetReauthQueue","actions","bindActions","moduleName","functionName","moduleLogic","_this2","run","_this3","loadFeConfig","newConfig","statusChangeReasons","ssnLength","ssnRegex","match","initModel","busy","initActions","setDeps","loadLotteryLearningLink","initData","err","Error","AppComponent","controllerAs","PASSWORD_RESET_STATE","factory","$rootScope","RwAnalyticsService","uiMaskConfig","$uibModalStack","$location","$on","event","toParams","fromParams","redirectTo","withoutPerms","element","removeClass","modal","getTop","hideModal","handlePasswordExpired","sendPageview","previous","$$search","clearOnBlur","missing","debug","$mdAriaProvider","$compileProvider","$urlRouterProvider","$locationProvider","$stateProvider","uiMaskConfigProvider","$httpProvider","$ngReduxProvider","$ariaProvider","tmhDynamicLocaleProvider","disableWarnings","debugInfoEnabled","location","hostname","aHrefSanitizationWhitelist","otherwise","html5Mode","hashPrefix","allowInvalidValue","ariaInvalid","localeLocationPattern","middleware","enhancers","__REDUX_DEVTOOLS_EXTENSION__","createStoreWith","abstract","appApi","appFactory","isStoreProfileSaved","retailerIdFromSession","isRetailerDashboards","retailerNoFromParams","retailerNoToParams","impersonatingBar","sideMenu","loginForm","parent","hideMenu","ready","bootstrap","strictDi","appConfig","DOCUMENTS_CONTEXT","docDateFormat","SET_CATEGORIES","SET_FILES","SET_TAGS","SET_IS_LOADING","DEFAULT_MIME_TYPE","prepareDocumentsForUI","getDocuments","documentList","documentTypeId","publishingStartDate","documentNameSplitted","gridDownloadData","fileName","guiName","customFileName","mapFileTypeToFileExtension","tags","dateTimestamp","creationDate","dateCreated","publishingEndDate","publishingIsActive","transformDocumentForUpdate","saveDocument","thumbnailSource","thumbnailToSend","thumbnailData","transformDocumentForCreation","uploadDocument","documentToTransform","formData","fileData","checkPublishingIsActive","getCategories","removeDocument","downloadDocument","createCategory","updateCategory","removeCategory","getTags","FETCH_EARNINGS_HISTORY_REQUEST","FETCH_EARNINGS_HISTORY_SUCCESS","FETCH_EARNINGS_HISTORY_FAILURE","DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST","DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS","DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE","FETCH_LICENSE_RENEWAL_REQUEST","FETCH_LICENSE_RENEWAL_SUCCESS","FETCH_LICENSE_RENEWAL_FAILURE","FETCH_LVM_SALES_REQUEST","FETCH_LVM_SALES_SUCCESS","FETCH_LVM_SALES_FAILURE","FETCH_LVM_SALES_HISTORY_REQUEST","FETCH_LVM_SALES_HISTORY_SUCCESS","FETCH_LVM_SALES_HISTORY_FAILURE","DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST","DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS","DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE","FETCH_SITE_FINANCIAL_STATUS_REQUEST","FETCH_SITE_FINANCIAL_STATUS_SUCCESS","FETCH_SITE_FINANCIAL_STATUS_FAILURE","FETCH_TRUSTED_DEVICES_REQUEST","FETCH_TRUSTED_DEVICES_SUCCESS","FETCH_TRUSTED_DEVICES_FAILURE","DELETE_TRUSTED_DEVICE_REQUEST","DELETE_TRUSTED_DEVICE_SUCCESS","DELETE_TRUSTED_DEVICE_FAILURE","FETCH_USERS_REQUEST","FETCH_USERS_SUCCESS","FETCH_USERS_FAILURE","DOWNLOAD_USERS_REPORT_REQUEST","DOWNLOAD_USERS_REPORT_SUCCESS","DOWNLOAD_USERS_REPORT_FAILURE","FETCH_BE_APP_VERSION_REQUEST","FETCH_BE_APP_VERSION_SUCCESS","FETCH_BE_APP_VERSION_FAILURE","createPaginationObject","calculatePageNumber","NAMESPACE","RECEIVE_TERMS","RECEIVE_TERM_BY_ID","REQUEST_TERM_BY_ID","REQUEST_TERMS_HISTORY","requestTerms","requestTermById","receiveTerms","receiveTermById","selectedTerm","fetchTerms","getAllTermsURL","fetchTermByID","getTermByIdURL","DOWNLOAD_REPORTS_PACK_REQUEST","DOWNLOAD_REPORTS_PACK_SUCCESS","DOWNLOAD_REPORTS_PACK_FAILURE","canLoginAs","isAccountActive","auth.loginAs","CREATED_STATUS","ACTIVE_STATUS","STATUS_SUSPENDED_REASONS","checkIfNotSuspended","statusReason","canUpdateUserStatus","shouldProvideRetailerId","isModelUserPrimary","checkIfSelfRegistered","selfRegistered","checkIfNotActive","checkIfActive","checkIfCreated","checkIfStatus","canShowRetailerFields","canUpdatePrivileges","user.shouldProvideRetailerId","user.canResendActivationEmail","user.canCompleteRegistration","user.canChangePrimaryUser","user.authenticateUser","user.canShowRetailerFields","user.accountInactive","user.isUserNotSuspended","user.canUpdateUserStatus","user.canUpdatePrivileges","notifications","PERCENT_MULTIPLIER","FETCH_MEDIA_TEMPLATE_REQUEST","FETCH_MEDIA_TEMPLATE_SUCCESS","FETCH_MEDIA_TEMPLATE_FAILURE","FETCH_FONTS_REQUEST","FETCH_FONTS_SUCCESS","FETCH_FONTS_FAILURE","UPDATE_MEDIA_TEMPLATE_REQUEST","UPDATE_MEDIA_TEMPLATE_SUCCESS","UPDATE_MEDIA_TEMPLATE_FAILURE","PREVIEW_MEDIA_TEMPLATE_REQUEST","PREVIEW_MEDIA_TEMPLATE_SUCCESS","PREVIEW_MEDIA_TEMPLATE_FAILURE","fetchMediaTemplateRequest","fetchMediaTemplateSuccess","fetchMediaTemplateFailure","fetchFontsRequest","fetchMediaTemplate","posterName","fetchFontsSuccess","fetchFontsFailure","transformEntriesForUI","fetchFonts","transformEntryForUI","scale","updateMediaTemplateRequest","updateMediaTemplateSuccess","updateMediaTemplateFailure","previewMediaTemplateRequest","updateMediaTemplate","isPreviewing","previewMediaTemplateSuccess","previewMediaTemplateFailure","transformEntriesForSave","previewMediaTemplate","posterConfig","posterParams","previewData","transformEntryForSave","imageFile","imageUrl","fetchSecurityQuestionsByUserName","newPassword","refreshToken","requestBody","fetchTwoFactorSetup","confirmTwoFactorCode","fetchNewLabelStatusRequest","fetchNewLabelStatusSuccess","fetchNewLabelStatusFailure","saveContact","groups","newContact","exists","categoryChanged","removeContact","removedContact","removedIndex","removedCategory","saveCategory","newCategory","oldCategoryName","editable","ui","EditCategoryController","language","verifyOtherLanguages","alertWarning","otherLanguageError","phoneExtRegex","phoneMask","phoneLength","EditContactController","oldCategory","setDefaultTemporaryPhone","setDefaultTemporaryEmail","temporaryPhone","phone","temporaryPhoneAddClicked","temporaryEmail","temporaryEmailAddClicked","temporaryPhoneForm","$error","_this4","temporaryEmailForm","_this5","cleanContactAndEmail","_this6","_this7","LOTTERY_CONTACT_CONTEXT","INQUIRY_CONTACT_CONTEXT","DEFAULT_CONTACT","contactFields2Object","contactFields2Array","extractDefaultContactPhone","formatter","phoneMaskExt","getLotteryContactsUrl","sendContact","contactUsModel","isLoggedIn","_url","_queryParams","LOTTERY_CONTACT_INFO","CONTACT_THE_LOTTERY","UNLIMITED","EmailNotificationsTemplateUpdateController","formModel","templatesKey","onLanguageSelect","validationRules","emailNotificationTemplate","templateName","fetchTemplate","clone","notificationTemplates","initializeForm","validateForm","updateTemplate","alertSuccess","activeTabId","ckeditor","extraPlugins","emailVariables","wordcount","showParagraphs","showWordCount","showCharCount","countSpacesAsChars","countHTML","maxWordCount","maxCharCount","EmailNotificationsTemplateUpdateComponent","appCtrl","TabContentController","TabContentComponent","TabHeaderComponent","isActive","onSelect","EditController","smsTemplate","multilangLocale","smsType","smsTypeId","onUpdate","smsEnabled","EditComponent","availableLanguages","FaqCategoryController","FaqEntryController","saveEntry","messageMaxPreviewTextLength","messageText","_dirtyForms","_contact","DIRTY_FORM","SELECTED_RETAILERS","UNTRACKED","SELECTED_USERS","recipientCategories","ckeditorConfig","recipientCategory","categoryCode","CreateMessageController","messageDefinitionService","canCreateMessage","canCreateMessageLimitToRetailers","newMessageModel","replyEmailAddress","retailerIds","allowReply","fetchContacts","setReplyEmailList","contactsEmailList","getEmailListFromContacts","replyEmailList","from","Set","checkDuplicateRetailerId","$invalid","$setPristine","$setUntouched","isDuplicate","$setValidity","showEmailValidationErrors","checkDuplicateEmail","info","_message","subject","sendMessagePromise","isContentEmpty","showEmptyRecipientsInfo","recipientLogins","recipientIds","CreateMessageComponent","fetchSentMessagesListRequest","fetchSentMessagesListFailure","fetchSentMessagesListSuccess","deleteSentMessagesRequest","deleteSentMessagesFailure","deleteSentMessagesSuccess","deleteSentMessageRequest","deleteSentMessageFailure","deleteSentMessageSuccess","deleteSentMessage","fetchPrivilegeTemplatesRequest","fetchPrivilegeTemplatesSuccess","fetchPrivilegeTemplatesFailure","validateOwnerDataRequest","validateOwnerDataSuccess","ownerData","validateOwnerDataFailure","registration","_registration$retaile","_form$userValidation","userValidation","hashedPins","fetchOwnerValidationMethodRequest","fetchOwnerValidationMethodSuccess","fetchOwnerValidationMethodFailure","fetchSecurityQuestions","fetchSftpListRequest","fetchSftpListSuccess","sftpList","fetchSftpListFailure","fetchSftpList","deleteSftpByIdRequest","deleteSftpByIdSuccess","deleteSftpByIdFailure","fetchSftpByIdRequest","deleteSftpById","fetchSftpByIdSuccess","fetchSftpByIdFailure","updateSftpByIdRequest","fetchSftpById","updateSftpByIdSuccess","updateSftpByIdFailure","createSftpRequest","updateSftpById","createSftpSuccess","createSftpFailure","createSftp","requestPayload","configId","fetchSftpAuthenticationTypesDictionaryRequest","fetchSftpAuthenticationTypesDictionarySuccess","fetchSftpAuthenticationTypesDictionaryFailure","fetchUserClassDictionaryRequest","fetchUserClassDictionarySuccess","fetchUserClassDictionaryFailure","fetchOrderStatusesDictionaryRequest","fetchOrderStatusesDictionarySuccess","fetchOrderStatusesDictionaryFailure","fetchPackStatusesDictionaryRequest","fetchPackStatusesDictionarySuccess","fetchPackStatusesDictionaryFailure","fetchPricePointsDictionaryRequest","fetchPricePointsDictionarySuccess","fetchPricePointsDictionaryFailure","fetchInstantGamesTransitionsHistoryRequest","fetchInstantGamesTransitionsHistorySuccess","fetchInstantGamesTransitionsHistoryFailure","fetchInstantGamesTransitionsHistory","fetchOrderHistoryListRequest","fetchOrderHistoryListSuccess","fetchOrderHistoryListFailure","fetchOrderHistoryList","fetchSiteFinancialStatusRequest","fetchSiteFinancialStatusSuccess","fetchSiteFinancialStatusFailure","fetchSiteFinancialStatus","fetchInvoiceDatesDictionaryRequest","fetchInvoiceDatesDictionarySuccess","fetchInvoiceDatesDictionaryFailure","fetchEftAmount","fetchNetSalesSummaryRequest","fetchNetSalesSummarySuccess","netSalesSummary","fetchNetSalesSummaryFailure","fetchNetSalesSummary","netSalesSummaryDataTransformation","fetchNetSalesDetails","downloadNetSalesHistoryReport","periodType","netSalesDetailsDataTransformation","instantGames","drawGames","productType","isInstantGame","gameName","isDrawGame","instantGamesArr","drawGamesArr","getSummaryDataDescription","_gametype","getBigWinnersUrl","fetchBigWinners","fetchBigWinnersHistory","downloadBigWinnersHistoryReport","fetchCumulativeWinners","fetchCumulativeWinnersHistory","downloadCumulativeWinnersHistoryReport","fetchLvmSalesHistoryRequest","fetchLvmSalesHistorySuccess","fetchLvmSalesHistoryFailure","groupByGames","getGameItem","totalPropertyName","netSalesDelta","displayOrder","pushGame","currentTerminal","lastTerminal","terminalKey","isTheSameTerminal","isExpanded","fetchLvmSalesRequest","fetchLvmSalesHistory","groupedData","fetchLvmSalesSuccess","total","fetchLvmSalesFailure","downloadLvmSalesHistoryReportRequest","fetchLvmSales","downloadLvmSalesHistoryReportSuccess","downloadLvmSalesHistoryReportFailure","downloadLvmSalesHistoryReport","fetchAlerts","fetchRetailerAlertDetails","setRead","fetchUserAlertDetails","dismissAlert","deleteAlert","downloadAlertReport","_userGroupMembershipsController","fetchUsersRelatedToRetailer","currentRetailer","fetchAllUsers","bulkUpdate","_retailerGroupsExistingUserFieldController","fetchLinkedRetailersRequest","fetchLinkedRetailersSuccess","fetchLinkedRetailersFailure","updateLinkedRetailersRequest","updateLinkedRetailersSuccess","updateLinkedRetailersFailure","deleteLinkedRetailersRequest","deleteLinkedRetailersSuccess","deleteLinkedRetailersFailure","_tableSorting","SORT_DIRECTION","asc","desc","sortingFunction","setSortingFunction","TableController","defaultSortColumn","TableComponent","hasData","noDataText","transclude","changeLocation","_args","credentials","restUrl","acceptTerms","_args$","registrationForm","_args$2","_tokens2","jwtToken","resourceOwnerCredentials","clientId","FORGOT_PASSOWRD_CONTEXT","FORGOT_USERNAME_CONTEXT","forgotPassword","getServerTime","_len2","_key2","_args$3","_len3","_key3","removeTokens","registrationConfirm","clear","reload","answerObj","loginByRest","userModel","newUserModel","userClassLabel","userAccessLabel","usrAccStatusesDisplay","availableStatus","hasMultipleStores","primaryRetailerId","createdLabel","adminCreated","_dictionaries","_privilegeDisplayTypesDictionary","DEFAULT_SORT_COLUMN","NA_VALUE","STATUS_ACTIVE","STATUS_INACTIVE","RETAILER_ROLES","APP_CONTEXT","_get__$applyGrid","grid","myAccount","editAccountCopy","changePrimaryUser","registerRestSrvContext","loadDictionaries","userStatuses","usrAccStatuses","retailerStatuses","usrRetailerStatuses","generic_bool","models","userList","newResult","urlParameters","foundedTemplate","employeeTemplate","loadRoles","loadTemplates","loadRetailerStatuses","retailerLocationStatuses","promoteToPrimary","promotedId","downgradedId","loadUser","loadAssignedUser","assignedUser","decorateUserPrivileges","userPresetPrivileges","userPrivilege","priv","p","loadUserRetailer","statusCode","statusLabel","loadUserPresetName","loadActivateReasons","activateReasons","loadSuspendReasons","suspendReasons","extractPersonalDataFromUser","roleId","updatePersonalData","updateSubordinateUser","extractSuspendDataFromUser","reasonKey","otherReasonText","updateUserPrivileges","privilegeIds","privilegeName","doAlertSuccess","canResendActivationEmail","deleteUser","authenticateUser","getRetailerDetails","getRetailerDetailsForSecondary","loadUserReportTo","fetchBannersRequest","fetchBannersSuccess","fetchBannersFailure","fetchBanners","banners","reqData","banner","discardBanners","publishBanners","interval","getTermsOfUseUrl","getPrivacyPolicyeUrl","transformAttachments","fetchTermsOfUse","fetchPrivacyPolicy","savePrivacyPolicy","saveTermsOfUse","saveTerms","termsType","downloadTerms","fetchTermsOfUseRequest","fetchTermsOfUseFailure","fetchTermsOfUseSuccess","fetchPrivacyPolicyRequest","fetchPrivacyPolicyFailure","fetchPrivacyPolicySuccess","clearCmsTerms","_manageIcons","apiWidgets","_widgets2","SECOND_HAND_PERMISSION","ICONS_MANAGEMENT_PERMISSION","urlPattern","urlPatternError","maxWidgetsNumber","dirtyForm","WidgetsManagementController","$sce","DirtyForm","activeTabIdx","secondHandApprovalActive","iconsManagement","asSortableOptions","orderChanged","skipReloadData","initWidgets","setWidgetEntries","localeKey","dirty","getSuccessText","WidgetsManagementComponent","1","es_US","cs_CZ","2","iconClass","e2eId","4","5","6","7","8","9","3","RETAILER_PRIMARY_CHAIN_HEAD","10","11","12","13","RETAILER_PRIMARY_INDEPENDENT","RETAILER_PRIMARY_CHAIN_SUBORDINATE","RETAILER_SECONDARY_INDEPENDENT","RETAILER_SECONDARY_CHAIN_SUBORDINATE","RETAILER_SECONDARY_CHAIN_HEAD","RETAILER_PRIMARY_SUPER_CHAIN","RETAILER_SECONDARY_SUPER_CHAIN","RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN","RETAILER_SECONDARY_CHAIN_HEAD_SUPER_CHAIN","RETAILER_PRIMARYTemporary","RETAILER_SECONDARYTemporary","RETAILER_GROUPTemporary","access","userRole4SmsReport","employeeRole","CLERK","MANAGER","LOTTERY_STAFF","userStatusReasons","user_status_reasons_active","user_status_reasons_suspended","default","cms-bannersManagement","cms-widgetsManagement","cms-termsOfUseManagement","cms-loginPopupManagement","cms-manageConfigurableLink","igtLogoPrefix","fileSizeLimit","analytics","containers","main","trackers","trackExceptions","partnerId","defaultDashboard","refreshMenuStates","dateFormatShort","dateFormat","dateFormatFull","dateFormatWithTime","userType","activityType","securityType","jobSchedulingType","jobHistoryType","accountsAdminType","accountsSimpleType","copyrightYear","carriers","lowCost","standard","naValue","postLoginDictionaries","previewTermsOfUse","getContent","maxBannersNumber","widgetTitleMaxLength","widgetSubtitleMaxLength","homepageComplaint","filePath","homepageLogos","imagePath","redirectUrl","enabled","maxFirstNameLength","maxLastNameLength","maxEmailLength","googleMapsUrl","keywordMaxLength","toolbarGroups","privilegesCustomization","tableConfig","subordinatesList","inventoryHistoryChain","inventoryHistoryIndependent","orderHistoryChain","orderHistoryIndependent","summary","invoiceDays","widgetConfig","widgetsDataJackpotsAndDraws","colorScale","6-6","4-8","4-4-4","12/4-4-4","4-4-4/12/4-8","12/6-6","12/6-6/12","8-4/4-4-4","jackpotsAndDrawsEstimatedCashValueLabel","jackpotsAndDrawsEstimatedCashValueVisible","validatedPackPercent","instantWidgetsValidationThreshold","instantWidgetsStaleGames","instantWidgets","daysToLaunch","specifiedDate","daysAfterLaunch","newGameDays","retailersInZipCodeThreshold","titleMaxLength","shareTemplates","CUMMULATIVE_WINNERS","BIG_WINNERS","draw","JACKPOTS","bigWinnersOnlinePosterDateText","bigWinnersInstantPosterDateText","allowedContent","entities","uiColor","autoGrow_minHeight","autoGrow_maxHeight","autoGrow_onStartup","autoGrow_bottomSpace","removeButtons","image_previewText","passwordErrorText","d3","_redux","emailNotificationTemplates","retailerReports","adminReports","manageInventory","cumulativeWinners","trustedDevices","backendVersion","retailerDetails","subordinateList","utils","termsPreview","downloadReportPage","loginPopup","manageConfigurableLink","mediaTemplates","termsManagement","initialState","menuData","gameImagesEditable","sort","LABELS","MANAGE_USERS","SITE_ACTIVITY_LOG","REPORTS","RETAILER_DASHBOARDS","MANAGE_CONTENT","MANAGE_ROLES","HOME_PAGE_BANNERS","HOME_PAGE_WIDGETS","LEGAL_POLICIES","LOGIN_NOTIFICATION","LOTTERY_CONTACTS","INQUIRY_CONTACTS","DOCUMENTS_LIBRARY","NOTIFICATION_TEMPLATES","MANAGE_FAQ","MANAGE_CONFIGURABLE_LINK","RETAILER_ROLES_SECONDARY","RETAILER_ROLES_PROSPECTIVE","RETAILER_ROLES_PRIMARY","SFTP_CONFIGURATION","REPORT_FORMATS","LOTTERY_ANNOUNCEMENTS","SUMMARY_DASHBOARD","INSTANTS_DASHBOARD","INSTANT","STORE_PROFILES","TRAINING","BRAND_GUIDE","COLOR_PALETTE","GAME_IMAGES","MEDIA_TEMPLATES","LICENSING","_get__$$ngRedux$getSt2","0","4.0","4.1","4.2","4.3","4.4","4.5","4.6","4.7","4.8","4.9","4.10","4.11","4.12","4.13","4.14","5.0","5.1","5.2","5.3","_loadingStatus","lotteryLoadingStatus","inquiryLoadingStatus","_documents","files","unreadCount","inboxLoadingStatus","sentLoadingStatus","recipientsLoadingStatus","messageDetailsLoadingStatus","selectedMessage","changeMessageReadStatus","isRead","unreadMessageCount","isReadStatus","ids","isPrivilegeTemplatesListLoading","entitiesAfterCreate","entitiesAfterDelete","_reportSubscriptionsPage","itemsReports","isLoadingReports","metaReports","itemsEmail","isLoadingEmail","metaEmail","itemsSftp","isLoadingSftp","metaSftp","newState","createArrayFromSubscriptions","subscription","getEmailListForRetailer","getReportListForRetailer","saveReportListForRetailer","saveEmailListForRetailer","getSftpListForRetailer","getSftpListForGroup","groupId","saveSftpListForRetailer","saveSftpListForGroup","selectedEntry","instantGamesTransitionsHistory","userSelection","packDetails","liabilities","packGrossValue","packDetailsLoadingStatus","orderDetailsLoadingStatus","orderHistoryLoadingStatus","packsGrossValue","stores","storesCount","storeCount","devices","device","hasError","selectedRetailer","_createNamedReducer","activeTab","detailsDialogActiveTab","endingGamesActiveTab","sosPagination","_gameImages","getGameType","_pagination","createNamedReducer","reducerFunction","reducerName","isInitializationCall","_termsPreview","reverse","canEditDocuments","userRole","canShowHeader","permissions","documents.editDocuments","documents.showHeader","bannerArr","userTemplates","reportName","reportNames","reportCategories","transformationTypes","reportExtensions","tiers","sftpAuthenticationTypes","activityEvents","privilegeDisplayTypes","newImages","newImage","imageURL","popups","popupArr","newEntry","entriesDeleted","responseType","toastr","_user","ResetAccountPasswordController","cancelForm","evalResetData","ResetAccountPasswordComponent","ResetPasswordButtonController","canUseResetForm","onShowResetPasswordConfirm","forceSubmitForm","ResetPasswordButtonComponent","ForgotPasswdController","securityAnswers","passwordResetForm","securityAnswer","attemptsLeft","securityQuestion","ATTEMPTS_LEFT","ForgotPasswordComponent","SetupTwoFactorDialogController","secret","toDataURL","generateURI","imageQR","encodeURIComponent","issuer","remember","close","$value","showErrorCode","SetupTwoFactorDialogComponent","ConfirmTwoFactorDialogController","errorCode","ConfirmTwoFactorDialogComponent","errorCodes","-1","PASSWORD_ALREADY_USED","ACCOUNT_NOT_FOUND","INVALID_USER_STATUS","USER_NOT_FOUND","BAD_CREDENTIALS","USER_ALREADY_ACTIVATED","2FA_NO_DEVICES","backdrop","2FA_NO_TRUSTED","ACCOUNT_SUSPENDED_MAX_LOGIN_FAILED","ACCOUNT_SUSPENDED","ACCOUNT_LOCKED","USER_NOT_REGISTERED","MAX_CHALLENGE_ANSWER_EXCEEDED","WRONG_CHALLENGE_ANSWER","NON_UNIQUE_USER_FOUND","BAD_CREDENTIALS_LAST_TRY","USER_ACCESS_NOT_ALLOWED","NOT_ASSIGNED_LOTTERY_REPRESENTATIVE","USER_DID_NOT_ACCEPT_TERMS_OF_USE","RETAILER_ACCESS_NOT_ALLOWED","ACCOUNT_NOT_ACTIVE","CAPTCHA_NOT_FOUND","forgotUsername","2FA_CODE_BLOCKED","AccountBlockedDialogController","ForgotUsernameController","initializeConfiguration","ForgotUsernameComponent","ChangePasswordController","newPasswd","ChangePasswordComponent","lspUrlLink","lspUrlLinkText","showApplyToBeRetailerButton","canApplyToBeRetailer","LoginFormController","$localStorage","signUp","sendLoginEvent","handleDefault","isPasswordExpired","showPopupInfo","showNewLabel","hashMessage","hashCode","LoginFormComponent","LoginFormMobileComponent","angular","handleUSER_DID_NOT_ACCEPT_TERMS_OF_USE","loginHandler","handle2FA_NO_DEVICES","handle2FA_NO_TRUSTED","ContactListController","contactDndTree","sourceNodeScope","destNodesScope","mapCoordinates","bindToController","updatePhone","addressLine1","addressLine2","addressLine3","address","coords","ContactListComponent","canEdit","InquiryContactsListController","getHeaders","defaultParams","_defaultParams","setEntries","ensureAvailabilityIsSameForAllLanguages","inquiryContactData","applyAvailabilityToOtherLanguages","itemsForLanguage","keyVal","InquiryContactsListComponent","_activeTab","_inquiryReasonsDictionary","MAX_MESSAGE_LENGTH","MAX_INQUIRY_REASON_LENGTH","SEND_CONTACT_PERMISSION","mapStateToThisContactUsBase","retailerName","businessName","_session$firstName","_session$lastName","_session$role","_session$contactPhone","_session$emailAddress","_get__2","ContactUsController","$stateParams","contactTheLotteryTabActive","maxMessageLength","maxInquiryReason","initInquiryReasonsList","initActiveTab","initContactUsModel","inquiryReasonsList","outletType","roleType","inquiryReasonKey","inquiryReason","pendingRequest","contactUsForm","chosenReasonId","custom","ContactUsComponent","fetchInquiryReasonsDictionaryRequest","fetchInquiryReasonsDictionarySuccess","fetchInquiryReasonsDictionaryFailure","_contact2","mapStateToThisContactManagement","ContactManagementController","Responsive","modelValue","itemScope","ManageContactComponent","_setNewLabelStatus","_documents4","tableView","gridView","fileFormats","DocumentEditController","editForm","keywords","documentTmp","tagName","defaultSort","DocumentsController","$window","canUploadDocument","dropdownType","currentView","isMobile","views","getViews","gridHeader","uploadFormHeader","getColumnHeaders","sortByOptions","getSortByOptions","sortBy","setDefaultPreview","defaultFilters","changes","isDesktop","admin_false","sortable","admin_true","previewMode","allowPreview","documentUpdated","validateDates","dateError","deletedTag","checkIfTagDeleted","documentTags","documentUpdatedTags","intersection","alertError","sendDownloadDocumentEvent","doc","_this8","sortCategories","onSaveDocument","_this9","URL","webkitURL","createObjectURL","openPreview","_this10","onUploadDocument","_this11","categoryDialogApi","_this12","edit","DocumentsComponent","getConsts",".csv",".xls",".xlsx",".rar",".zip",".pdf","previewType",".txt",".doc",".docx",".jpg",".jpeg",".gif",".png",".bmp",".tiff",".aac",".ogg",".wma",".flac",".mp3",".mp4",".mpg",".mpeg",".avi",".ppt",".pptx","getDocumentsStateObject","setLanguageValidation","DOCUMENT_CATEGORY_IS_IN_USE","DOCUMENT_ALREADY_EXISTS","CANNOT_BE_EMPTY","CATEGORY_EXIST","DOCUMENT_TYPE_NOT_ALLOWED","INVALID_SIZE","INVALID_DOCUMENT_NAME_SIZE","INVALID_THUMBNAIL_FORMAT","INVALID_THUMBNAIL_SIZE","INVALID_THUMBNAIL","INVALID_THUMBNAIL_DIMENSIONS","INVALID_FILE_SIZE","TAG_NOT_FOUND","TAG_NOT_UNIQUE","DOCUMENT_NOT_FOUND","CATEGORY_NOT_FOUND","INVALID_CONTENT_SIZE","setNewLabelStatusRequest","setNewLabelStatusSuccess","setNewLabelStatusFailure","DocumentsFilterController","$mdSelect","folders","$event","stopPropagation","openEditCategoryDialog","onRemoveCategory","clearFiltersAndReload","DocumentsFilterComponent","defaultDocument","pageType","UploadFormModalController","initializeDocument","documentType","uploadForm","dateError1","today","dateError2","handleCategory","fileErrors","removeCategoryFromList","omit","_lodash","MAX_NAME_LENGTH","CategoryController","maxNameLength","hasEmptyTranslation","some","DEFAULT_TAB_ID","EmailNotificationTemplatesController","onTabSelect","EmailNotificationTemplatesComponent","sms","emailNotificationsTemplates","SmsTabContentComponent","SmsTabHeaderComponent","_emailNotificationTemplateUpdateComponent","SMS_TEMPLATE_KEY","SmsNotificationEditController","_get","smsTemplateBodyTxt","dialogTemplate","removePlugins","toolbar","SmsNotificationEditComponent","ViewComponent","ManageSmsNotificationViewController","currentValue","ManageSmsNotificationViewComponent","showSubscriptionDialog","isShown","disabled","onShowSmsPolicy","applyChanges","showSmsPolicy","FaqViewController","editMode","FaqViewComponent","restKey","dropped","deleteCategory","deleteEntry","faqDialogApi","hideSidebar","FaqManagementController","FaqManagementComponent","faqDndTree","hasEntries","trustAsHtml","FaqCategoryComponent","FaqSearchController","searchPhrase","phrase","onChangeHandler","FaqSearchComponent","14","15","16","17","FAQ_CATEGORY_ALREADY_EXIST","FAQ_ENTRY_ALREADY_EXIST","service","31","52","_inbox","defaultPageSizes","MessagesListController","textAlignment","MessagesListComponent","_sent","SentMessagesListController","canSeeSelfSentItems","canSeeAllSentItems","canSeeSendersFilter","sentBy","senders","getSenders","initGridModel","canBeSelected","authorName","messageId","SentMessagesListComponent","_messageDetails","SentMessageDetailsController","canDelete","goToSentMessages","SentMessageDetailsComponent","MessageDetailsController","goToInboxMessages","MessageDetailsComponent","MessagesTabController","MessagesTabComponent","_recipients","RecipientsListController","RecipientsListComponent","fetchRecipientsRequest","fetchRecipientsFailure","fetchRecipientsSuccess","_replyMessage","ReplyMessageDialogController","replyMessageId","ReplyMessageDialogComponent","replyMessageRequest","replyMessageFailure","replyMessageSuccess","MessageDefinitionService","definitions","SELF","ALL","SUBJECT_AND_PREVIEW","AUTHOR","RECIPIENT","FROM","DATE","USERNAME","READ_DATE","READ_STATUS","REPLIED_DATE","REPLIED_STATUS","NO_RECIPIENTS","NO_RETAILER","MSG_SENT","MSG_DELETE","MSGS_DELETE","property","log","_fetchPrivilegeTemplates","_deletePrivilegeTemplates","_createPrivilegeTemplates","_updatePrivilegeTemplate","_privilegeTemplates3","preset","isDirty","selectRole","PrivilegeTemplatesController","arePrivilegesLoading","privilegesTree","copyPreset","presetCopy","cancel","PrivilegeTemplatesComponent","ACCOUNT_WITH_ROLE_EXISTS","ACCOUNT_HAS_TEMPLATE","ROLE_HAS_TEMPLATE","ROLE_IS_DEFAULT","TEMPLATE_NAME_NOT_UNIQUE","roleTemplates","ROLE_NAME_NOT_UNIQUE","ROLE_ALREADY_EXISTS","deletePrivilegeTemplateRequest","deletePrivilegeTemplateSuccess","deletePrivilegeTemplateFailure","createPrivilegeTemplateRequest","createPrivilegeTemplateSuccess","createPrivilegeTemplateFailure","updatePrivilegeTemplateRequest","updatePrivilegeTemplateSuccess","updatePrivilegeTemplateFailure","updatedTemplate","PrivilegeListComponent","privilegeKey","parents","toggleAction","_licenseRenewalWidgetComponent","PrivilegeItemController","PrivilegeItemComponent","onToggle","fetchLicenseRenewalRequest","fetchLicenseRenewalSuccess","fetchLicenseRenewalFailure","licenseRenewalMaxDaysNo","recalculated","percentExpirationDays","expirationDays","fetchLicenseRenewalFormLink","PrivilegeTemplateFormController","PrivilegeTemplateFormComponent","PrivilegeTemplatesListController","PrivilegeTemplatesListComponent","selectPrivilegeTemplate","PrivilegeTemplatesPermissionPickerController","clearTree","setChecksRecursive","findObjectByPathAndSetChecks","privilegeId","currentPrivilegeSet","filterDynamicPrivileges","parentsPrivilegePaths","privilegePath","flattenDeep","markChecks","_privilege","subPrivilegeName","editPresetPrivileges","getPrivilegesArrayRecursive","checkedPrivilegesArray","getCheckedPrivileges","_checkedPrivilegesArray","PrivilegeTemplatesPermissionPickerComponent","PrivilegeTemplateConfirmationDialogComponent","PrivilegeTemplateSaveConfirmationDialogComponent","PRIMARY_ALREADY_REGISTERED","PASSWORD_REQUIRMENTS_NOT_MET","USER_ALREADY_EXISTS_EXCEPTION","MULTIPLE_PRIMARY_USER_WITH_SAME_OWNER_EXCEPTION","RETAILER_NOT_FOUND","USER_ALREADY_ACTIVE_EXCEPTION","IDENTIFICATION_NOT_VALID","NOT_AUTHORIZED","USER_WITH_GIVEN_PHONE_ALREADY_EXISTS","USER_WITH_GIVEN_OWNER_ALREADY_EXISTS","1001","1002","1003","_validateOwnerData","_fetchOwnerValidation","_moment","_fetchRetailerDetails","_pii","retailerManagerApiDateFormat","userValidationDateFormat","ownerValidationMethods","hasOwnerValidationMethods","SelfRegistrationPiiController","showCaptcha","pinLabel","showButton","userValidation1","userValidation2","userValidation3","isProspective","isProspectiveFormValid","isOwnerFormValid","fetchOwner","allow","exist","confirmEmail","workPhone","validPin","$modelValue","userValidation1Value","userValidation2Value","userValidation3Value","blocked","isPinUsed","pinIsValidForRetailerType","noRetailerIdProvided","validationMethod","eval","ordinal","SelfRegistrationPiiComponent","_createAccount","SelfRegistrationController","clearRegistrationFormRef","clearRegistrationForm","clearRegistrationFormWithRetailerRef","clearRegistrationFormWithRetailer","registrationFormModel","showPii","isNoRetailerIdRegistrationType","showRetailerNo","isRetailerIdRegistrationType","canSelfRegisterProspective","$formCtrl","evalRegistrationForm","$setTouched","userPasswordConfirm","showReviewDialog","addAccount","SelfRegistrationComponent","mapSecurityQuestionsToArray","createUserDTO","requestData","createAccountRequest","createAccountSuccess","createAccountFailure","SelfRegistrationRetailerController","showSubmitButton","checkRetailerDetails","chainRegistrationDisabled","errorAccountIsNotActive","errorPrimaryUserIsAlreadyRegistered","SelfRegistrationRetailerComponent","SelfRegistrationConfirmController","SelfRegistrationConfirmComponent","SelfRegistrationConfirmationComponent","SelfRegistrationDisabledComponent","SelfRegistrationPersonalInformationController","shouldValidateEmail","SelfRegistrationPersonalInformationComponent","CompleteRegistrationController","verifyAndLoadUser","evalForm","sendUserRegistrationEvent","CompleteRegistrationComponent","SecurityController","userPassword","required","SecurityComponent","captchaVisible","SecurityQuestionsController","questionsWrapper","modelQuestion","modelAnswer","clearCheckQuestions","arr","each","questionItem","SecurityQuestionsComponent","securityQuestionsSize","reportSubscriptions","29","SFTP_CONFIGURATION_ALREADY_EXISTS","_additionalRecipientsController","ReportSubscriptionsAdditionalRecipientController","newRecipient","usesOptInReports","ReportSubscriptionsPageController","dialogTitle","saveSuccess","validateTitle","validateError","tabs","load","canShowReports","canShowReportSubscriptions","canShowEmailSubscriptions","canShowSftpSubscriptions","subscribedNumber","subscribed","_sftp","SftpListController","listHeaders","SftpListComponent","_sftpAuthenticationTypes","authenticationTypes","SftpCreateController","savingInProgress","enabledSelectOptions","authenticationType","submitConfirm","SftpCreateComponent","SftpEditController","passwordSet","SftpEditComponent","UnsubscribeConfirmationController","UnsubscribeConfirmation","$urlMatcherFactory","RetailerReportsPageController","RetailerReportsPageComponent","RetailerReportsFilterController","filterReportNames","reportCategoryId","reportCategory","fileCategoryCd","RetailerReportsFilterComponent","idPrefix","_retailerReports","_reportCategoriesDictionary","fetchRetailerReports","downloadRetailerReport","clearFilters","RetailerReportsTabContentController","showSubordinates","showSubscriptionButton","displayNumber","RetailerReportsTabContentComponent","createCustomFileName","transformedFileName","transformFileName","dateString","generateDateString","fetchRetailerReportsRequest","fetchRetailerReportsFailure","fetchRetailerReportsSuccess","_session$retailer","availableTransitions","transition","fileDisplayNm","downloadData","downloadRetailerReportRequest","downloadRetailerReportSuccess","downloadRetailerReportFailure","formatDate","dateToFormat","creationDateFrom","creationDateTo","transformation-type","fetchReportCategoriesDictionaryRequest","fetchReportCategoriesDictionarySuccess","fetchReportCategoriesDictionaryFailure","AdminReportsPageController","AdminReportsPageComponent","_adminReports","RETAILER_NUMBER_REGEXP","fetchUserActivityReports","downloadActivityReports","UserActivityReportsController","reportStatuses","getReportStatuses","clearFilter","exportData","startOf","valueOf","endOf","$broadcast","initializeFilters","test","reportData","SUCCESS","FAILURE","UserActivityReportsComponent","fetchUserActivityReportsRequest","fetchUserActivityReportsFailure","fetchUserActivityReportsSuccess","fetchActivityReport","downloadUserActivityReportsRequest","downloadUserActivityReportsSuccess","downloadUserActivityReportsFailure","_userClassDictionary","_activityEventsDictionary","TODAY","CURRENT_WEEK","LAST_WEEK","CURRENT_MONTH","LAST_MONTH","CUSTOM","FORMAT","AdminReportsFilterController","timePeriods","getTimePeriods","timePeriod","showDateInputs","fetchDictionaries","utcOffset","handleTimePeriodChange","validateDate","isValidDate","isValid","displayError","AdminReportsFilterComponent","eventTypes","reset","fetchActivityEventsDictionaryRequest","fetchActivityEventsDictionarySuccess","fetchActivityEventsDictionaryFailure","StoreProfilesController","StoreProfilesComponent","_orderStatusesDictionary","_packStatusesDictionary","_pricePointsDictionary","reloadOnSearch","PATTERN_DOES_NOT_MATCH","ENTITY_NOT_FOUND","manageInventoryResultCodes","18","20","32","35","40","44","45","trackingUrl","PackDetailsController","showManifestNumber","OrderDetailsController","_detailsDialog3","_downloadDetailedReportByTab","_manageInventory","_fetchOrderDetails","_fetchPackDetails","dateFormatPrintables","downloadManageInventoryDetailedReportByTab","fetchPackDetails","DetailsDialogController","setTextForTabs","initializeTab","function","onReportDownload","getReportDetails","print","hidePackDetails","order","shouldDisplayTabs","setActions","displayTabs","hideOrderDetails","generateCustomFileName","_userSelection","downloadManageInventoryDetailedReportByTabRequest","downloadManageInventoryDetailedReportByTabSuccess","downloadManageInventoryDetailedReportByTabFailure","fetchOrderDetailsRequest","fetchOrderDetailsSuccess","fetchOrderDetailsFailure","fetchPackDetailsRequest","fetchPackDetailsSuccess","fetchPackDetailsFailure","InventoryHeaderController","InventoryHeaderComponent","OrderMonthSelectorController","months","getMonthList","monthNumber","month","monthName","year","OrderMonthSelectorComponent","OrderStatusSelectorController","OrderStatusSelectorComponent","orderStatus","isRetailerDashboard","isChainHeadOrSuperChain","InventoryTabsController","$sanitize","canViewLiabilityTab","initTab","getInitTab","InventoryTabsComponent","_fetchInstantGamesTransitionsHistory","_downloadReportByTab","InventoryTransitionsHistoryChainTabController","tableService","initConfig","configName","getActions","minDatePicker","preserveFilters","gamesFilters","subordinateId","preservedFilters","onDownloadReport","handlePrint","issued","issuedMethod","ISSUED_METHOD","confirmed","activated","settled","S","InventoryTransitionsHistoryChainTabComponent","InventoryTransitionsHistoryIndependentTabController","InventoryTransitionsHistoryIndependentTabComponent","_fetchOrderHistoryList","InventoryOrderHistoryIndependentTabController","manageInventoryTableService","selectedRetailerId","InventoryOrderHistoryIndependentTabComponent","InventoryOrderHistoryChainTabController","InventoryOrderHistoryChainTabComponent","_fetchGamesList","fetchGamesList","InventoryGamesTabController","InventoryGamesTabComponent","fetchGamesListRequest","fetchGamesListSuccess","fetchGamesListFailure","_fetchPacksList","_fetchPackListGrossValue","fetchPacksList","fetchPacksGrossValue","InventoryPacksTabController","packFilters","packId","pieces","InventoryPacksTabComponent","fetchPacksListRequest","fetchPacksListSuccess","fetchPacksListFailure","fetchPacksGrossValueListRequest","fetchPacksGrossValueListSuccess","fetchPacksGrossValueListFailure","_fetchLiabilities","fetchLiabilities","InventoryLiabilityTabController","fetchCurrentLiability","outstandingAmount","liabilityFilters","InventoryLiabilityTabComponent","loadCurrentLiability","dependencies_js_1","fetchLiabilitiesRequest","fetchLiabilitiesSuccess","fetchLiabilitiesFailure","ManageInventoryTableService","ORDER_NO","ORDER_STATUS","ORDER_ISSUED_DATE","ORDER_CONFIRMED_DATE","ORDER_TYPE","ORDER_GROSS_VALUE","TRACKING_NO","STORE_NO","RETAILER_NO","_definitions","directive","REPORT_NOT_FOUND","REPORT_GENERATION_FAILED","REPORT_NOT_AVAILABLE","TopVltGamesWidgetController","loadDataAsync","fetchTopVltGames","TopVltGamesWidgetComponent","_siteFinancialStatus","FinancialStatusWidgetContentController","FinancialStatusWidgetContentComponent","_subordinateList","FinancialStatusWidgetController","FinancialStatusWidgetComponent","_siteOperationalStatus","fetchSiteOperationalStatus","SiteOperationalStatusWidgetController","showRetailerList","initTable","SiteOperationalStatusWidgetComponent","fetchSiteOperationalStatusRequest","fetchSiteOperationalStatusSuccess","fetchSiteOperationalStatusFailure","SiteOperationalStatusRetailersTableController","SiteOperationalStatusRetailerListComponent","onRetailerClick","SiteOperationalStatusIndicatorComponent","SiteOperationalStatusDeviceListController","selectedItem","SiteOperationalStatusDeviceListComponent","TicketsWidgetController","fetchTicketsData","TicketsWidgetComponent","_manageConfigurableLink","visibleOnSummary","visibleOnInstants","ConfigurableLinkWidgetController","ConfigurableLinkWidgetComponent","EARNINGS_HISTORY_PERMISSION","EarningsWidgetController","isHistoryLinkVisible","transformData","findDataItem","dataItems","generateTab","dataItem","tabTitle","earningsTotal","delta","earningsDelta","deltaAsPerc","EarningsWidgetComponent","NetEarningsWidgetController","NetEarningsWidgetComponent","_earningsHistory","_invoiceDatesDictionary","showCompensationCategoryDetails","downloadEarningsHistoryReport","fetchEarningsHistory","EarningsHistoryController","invoiceEndDate","setInvoiceDateRange","maintenance","DRAW","analyticsParams","sendDownloadDashboardReportEvent","earningsInvoiceDate","invoiceDate","invoiceDateRange","EarningsHistoryComponent","fetchEarningsHistoryRequest","fetchEarningsHistorySuccess","fetchEarningsHistoryFailure","downloadEarningsHistoryReportRequest","downloadEarningsHistoryReportSuccess","downloadEarningsHistoryReportFailure","usesMultipleSweepDates","EftAmountWidgetController","EftAmountWidgetComponent","_eftHistory","fetchEftHistory","fetchEftExtensions","downloadEftInvoice","fetchRetailerEFTDetailDate","EftHistoryController","minDate","toDateString","invoice","invoiceWeekEndDate","EftHistoryComponent","fetchEftHistoryRequest","fetchEftHistorySuccess","fetchEftHistoryFailure","fetchEftExtensionsRequest","fetchEftExtensionsSuccess","fetchEftExtensionsFailure","fetchRetailerEFTDetailRequest","fetchRetailerEFTDetailSuccess","fetchRetailerEFTDetailFailure","downloadEftInvoiceRequest","downloadEftInvoiceSuccess","downloadEftInvoiceFailure","reportDate","JackpotsNextDrawsWidgetController","fetchJackpotsAndDraws","JackpotsNextDrawsWidgetComponent","isDisabledShare","extractJackpotsData","draws","amount","drawDate","drawTime","cashAmount","flattenJackpotData","game-names","_netSalesSummary","NetSalesWidgetController","NetSalesWidgetComponent","_netSalesHistoryPageController","_netSalesDetails","activeSummaryPeriod","activeInstantGamesPeriod","activeDrawGamesPeriod","NetSalesHistoryPageController","drawGamesHeader","instantGamesHeader","gaConfig","fetchNetSalesDetailsRequest","fetchNetSalesDetailsSuccess","fetchNetSalesDetailsFailure","downloadNetSalesReportRequest","downloadNetSalesReportSuccess","downloadNetSalesReportFailure","_ref2$id","header","netSalesTotal","BIG_WINNERS_HISTORY","bigWinnersSellPeriodDays","BigWinnersController","BigWinnersComponent","_bigWinners","NUMBER_OF_MONTHS","BigWinnersHistoryController","gameTypes","generateGameTypes","periods","generatePeriods","monthEndDate","itextAlignment","chainHeadHeaders","BigWinnersHistoryComponent","fetchBigWinnersHistoryRequest","fetchBigWinnersHistorySuccess","fetchBigWinnersHistoryFailure","downloadBigWinnersHistoryReportRequest","downloadBigWinnersHistoryReportSuccess","downloadBigWinnersHistoryReportFailure","CUMMULATIVE_HISTORY_PERMISSION","CumulativeWinnersWidgetController","getTabInfo","validationAmount","wonDate","validationDate","CumulativeWinnersWidgetComponent","_cumulativeWinners","_tiersDictionary","CumulativeHistoryController","CumulativeWinnersHistoryComponent","fetchCumulativeWinnersHistoryRequest","fetchCumulativeWinnersHistorySuccess","fetchCumulativeWinnersHistoryFailure","downloadCumulativeWinnersHistoryReportRequest","downloadCumulativeWinnersHistoryReportSuccess","downloadCumulativeWinnersHistoryReportFailure","fetchTiersDictionaryRequest","fetchTiersDictionarySuccess","fetchTiersDictionaryFailure","CurrentInstantGameLiabilityWidgetController","showDetails","fetchMyCurrentLiability","CurrentInstantGameLiabilityWidgetComponent","usesProjectedSettlements","ActualAndProjectedSettlementsWidgetController","projectedSettlements","actualSettlements","widgetTitle","fetchActualAndProjectedSettlements","downloadActualSettlementsReport","ActualAndProjectedSettlementsWidgetComponent","NewGamesWidgetController","isEmptyGamesComing","isEmptyGamesLaunched","getGamesComingData","getGamesLaunchedData","getGamesComing","getGamesLaunched","launchDate","fetchGamesComing","comingGamesLabel","getComingGamesLabelWithSpecifiedDate","getComingGamesLabelWithoutSpecifiedDate","fetchGamesLaunched","NewGamesWidgetComponent","MySlowMovingGamesWidgetController","fetchMySlowMovingGames","MySlowMovingGamesWidgetComponent","pricePointMixWeeks","MyPricePointMixWidgetController","chartConfig","extendChartConfig","donut","totalAmt","fetchMyPricePointMix","checkIfAllEmptyData","formattedData","pricePoint","y","salesAmt","setColors","setPricePoints","chartApi","updateWithData","missingPricePoints","chartConf","chart","d","tooltip","valueFormatter","tickVal","renderEnd","centerText","insert","attr","isEmptyData","MyPricePointWidgetComponent","showLabels","donutRatio","showLegend","growOnHover","noData","xAxis","showMaxMin","my_net_sales_performance_widget_component_1","theme_actions_js_1","my_net_sales_performance_api_1","CATEGORY_ALL","THIS_YEAR","MyNetSalesPerformanceWidgetController","[object Object]","dataTypes","setDataTypes","setChartOptions","setChartData","findTranslationValue","dataTypeId","fetchMyNetSalesTranslations","fetchAllCategories","fetchNetSalesData","translation","allCategories","fetchSalesCategories","setCategories","allCategory","categoryType","fetchMyNetSalesPerformanceData","color1","color2","chartData","dataItemThisYear","dataItemComparison","getLineChartData","netSalesForComparison","weeklySales","weeklySalesComparison","weeklySales2","weekNumber","sales","weekEndDate","comparison","weeklySales1","compareWeeklySales","chartOptions","clipEdge","margin","left","tooltips","axisLabel","yAxis","tickFormat","contentGenerator","point","toFixed","salesCategoryId","numberOfWeeks","ViewFullGameInventoryWidgetController","ViewFullGameInventoryWidgetComponent","TopSellingGamesWidgetController","rankings","ranking","getTop10","getTopSellersByPrice","isEmptyTopRankings","isEmptyTopSellers","fetchTop10","topAll","sortTop10","stateSalesComparator","storeSalesComparator","stateSalesRank","customComparator","storeSalesRank","fetchTopSellersByPrice","curr","added","salesRank","gameName1","TopSellingGamesWidgetComponent","MESSAGE_COUNT","MessagesWidgetController","MessagesWidgetComponent","LotteryRepresentativesWidgetController","fetchLotteryRepresentatives","representatives","rep","initials","LotteryRepresentativesWidgetComponent","_selfServiceOutOfStockWidgetService","SelfServiceOutOfStockWidgetController","lost","factor","timeToDisplay","fetchSelfServiceOutOfStock","transformedData","week1","week2","isSame","chartModel","estLostSales","timeNotSelling","oosFactor","downloadLvmReport","SelfServiceOutOfStockWidgetComponent","showValues","showControls","rotateYLabel","gettext","valueFormat","barColor","yAxisValue","parseTimeToHoursAndMinutes","timeInMs","duration","asHours","m","minutes","_bondRenewal","bondRenewalMaxDaysNo","bondRenewalLimitDays","bondRenewalInquiryReasonId","isPreviewingRetailerDashboards","downloadBondRenewalReport","fetchBondRenewal","BondRenewalWidgetController","widgetService","BondRenewalWidgetComponent","downloadBondRenewalReportRequest","downloadBondRenewalReportSuccess","downloadBondRenewalReportFailure","fetchBondRenewalRequest","fetchBondRenewalSuccess","fetchBondRenewalFailure","storeTransformation","days","aggregated","bondRenewalDaysLeft","TERMINAL_STATUS_ACTIVE_CODE","SellingTerminalsWidgetController","fetchTerminalsDetails","fetchTerminalsTemplates","terminalType","terminalTemplates","ind","terminalTemplate","terminalName","imageName","getImageName","SellingTerminalsWidgetComponent","userLocale","ChainSalesRankWidgetController","fetchChainSalesRank","ChainSalesRankWidgetComponent","StoreSalesRankWidgetController","StoreSalesRankWidgetComponent","endOfGameUrl","EndOfGameWidgetController","EndOfGameWidgetComponent","_lvmSalesHistory","LvmSalesWidgetController","checkIfEmptyData","createTabs","salesTotal","LvmSalesWidgetComponent","LvmSalesGameList","LvmSalesHistoryController","instantGamesText","drawGamesText","currentTotalTab","expandContainerClass","expandContainer","getElementsByClassName","setTimeout","innerContainerClass","clientHeight","LvmSalesHistoryComponent","ipsStatuses","AlertsWidgetController","showChainBtn","refreshData","alertsNumber","AlertsWidgetComponent","mapStateToThisModal","mapDispatchToThisModal","AlertModalController","isFirstAlert","isNewAlertRetailer","isNewAlert","isNewAlertDifferent","gridContent","previousValue","currentAlert","gamePacksValue","AlertController","$element","widgetClass","mapPriority","priority","addClass","currentDate","groupByPacks","read","fillAlertContent","showGameInventoryButtons","onDownloadAlertReport","onDismissAlert","triggerDownload","onDismissUserAlert","redirectToLSPCustomURL","lastElement","gameNo","AlertComponent","returnGames","_announcements","AnnouncementsWidgetController","AnnouncementsWidgetComponent","AnnouncementsWidgetContentController","activeIndex","selectedAnnouncement","AnnouncementsWidgetContentComponent","AnnouncementListController","AnnouncementListComponent","AnnouncementItemController","announcementTypes","AnnouncementItemComponent","_selectedLanguage","ActiveAnnouncementsController","ActiveAnnouncementsComponent","ArchivedAnnouncementsController","ArchivedAnnouncementsComponent","ScheduledAnnouncementsController","ScheduledAnnouncementsComponent","AnnouncementPreviewController","AnnouncementPreviewComponent","RwEditorController","RwEditorComponent","isRequired","DIRTY_ANNOUNCEMENTS_FORM","announcementsTitleMaxLength","AnnouncementFormController","announcementModel","getAnnouncementDetails","dateFutureError","verifyDateFuture","AnnouncementFormComponent","AnnouncementsManagementController","initAnnouncements","AnnouncementsManagementComponent","GamesEndingCardComponent","endReturnsUsed","endSalesUsed","endValidationsUsed","endSales","endValidations","endReturns","GamesEndingWidgetController","fetchGamesEnding","setTab","GamesEndingWidgetComponent","MyInstantTicketSalesWidgetController","currentYear","getFullYear","dataType","getRetailerType","line","loadChartData","thisYearSalesData","prevYearSalesData","zipData","businessData","getData","postalCountThreshold","goePostalCountThreshold","getSTORE_PROFILEData","years","prevValue","weekInYear","comparision","retValAmt","calculateDifference","setChartType","opt","getLastYearSales","getSalesByZipLabel","getAvgSalesByZip","getAvgSalesByState","getAvgSalesByChain","shift","series","endOfWeekDate","sortedData","yearNumber","getYearSalesSeries","redrawChart","getAvgSalesByType","getOtherSalesSeries","chartRefreshTimeout","clearTimeout","MyInstantTicketSalesWidgetComponent","widgetsApi","dashboardApi","setWidgetLoading","ticks","enable","fetchInstatTicketSales","CommonWidgetComponent","empty","cssClass","hideHeader","showEmpty","RetailerFilterDirective","restrict","RwDashboardsController","canCustomizeDashboard","dashboardsConfig","RwDashboardsComponent","isDefault","_dashboard","widgetsList","RwAddWidgetController","widgetData","dashboardId","RwDashboardController","setPageTitle","isAlertsWidgetAvailable","checkIsAlertsWidgetAvailable","disableEditMode","onOpenSettings","onAddWidget","leaveEditMode","RwDashboardComponent","require","rwDashboardsCtrl","widgetsConfig","RwRenderWidgetsController","additionalPlaceholderClass","itemMoved","RwRenderWidgetsComponent","rowId","RwRemoveWidgetComponent","RwMoveWidgetComponent","RwRenderWidgetController","cachedImages","conf","revokeObjectURL","RwRenderWidgetDirective","$compile","scope","widgetPosition","onRemoveWidget","attrs","$ctrl","widgetScope","$new","revokeUrls","widgetComponent","ctrl","getWidgetConfig","getComponent","html","contents","canEditAccountDetails","canCompleteRegistration","accountInactive","canAuthenticateUser","isUserNotSuspended","canChangePrimaryUser","canUpdateAccountPrivileges","filterUsers","sortUsers","exportReport","exportUserReport","RETAILER_NOT_IN_SCOPE","NOT_FOUND","INVALID_EMAIL","PRIMARY_USER_PRIVILEGE_UPDATE","MULTIPLE_PRIMARY_USER_EXCEPTION","USER_ALREADY_EXIST","USER_NOT_ALLOWED_EMAIL_RESEND","USER_NOT_SUSPENDED","inactive","INACTIVE","USER_STATUS_CHANGE_NOT_ALLOWED","USER_NOT_ACTIVE","PROMOTION_DENIED_MULTISTORE","AUTHORIZATION_DATA_NOT_VALID","AUTHORIZATION_CHAIN_DATA_NOT_VALID","USER_CANNOT_DELETE_ITSELF","LOTTERY_REP_ID_NOT_PROVIDED","dsr","DSR","BAD_PARAMETER","PRIMARY_USER_NOT_EXISTS","changeprimaryuser","24","suspendactivateusers","23","25","UserGroupMembershipsController","getRetailerGroups","queryParameters","getOwnerRetailerGroups","getRetailerGroup","getRetailerGroupMembers","members","getOwnerRetailerGroupIds","ownerId","forOwner","getRetailerGroupsSpecified","createRetailerGroup","updateRetailerGroup","reportingGroupOid","deleteRetailerGroup","getRetailersValidated","groupType","getSearchUrl","getByUserUrl","maxPageSize","groupIds","_trustedDevices","uses2FA","MyAccountController","question1","question2","checkIfEmailChanged","confirmPassword","applyUserSession","showSuccessNotification","MyAccountComponent","fetchTrustedDevicesRequest","fetchTrustedDevicesSuccess","fetchTrustedDevicesFailure","deleteTrustedDeviceRequest","deleteTrustedDeviceSuccess","deleteTrustedDeviceFailure","MODE_EDIT","MODE_CONFIRM","passwordRequirementText","MyAccountFormController","securityAnswerPlaceholder","mode","setConfirmMode","resetForm","MyAccountFormComponent","_users","_users2","_userTemplatesDictionary","_outletTypesDictionary","DOWNLOAD_OPTIONS","fetchUsers","downloadUsersReport","ManageUsersController","canBulkChangeRole","downloadOptions","canSeeRetailerNo","initSelectionParameters","selected","excluded","selectedAll","selectedTemplate","selectedUsersCount","selectedUserClass","isUserClassFilterSelected","indeterminateChecbox","preservedPagingModel","calculateSelectedUsersCount","setIndeterminateChecboxStatus","hasPagination","calculateExcludedUserIds","selectedIds","setUserClassAccordingToSelectedUserEntity","isAlreadyExcluded","excludedId","excludedIds","isPrimaryUserType","hasDifferentUserClassTheSelected","searchParams","selectedUsers","excludedUsers","updatedCount","isExcludedUserSelected","isSomeoneSelected","isSelectedLessThanMaxUserCount","goToCreateAccount","isAvailable","canCreateUser","goToCreateSecondaryUserAccount","canCreateSecondary","ManageUsersComponent","searchUser","fetchUsersRequest","fetchUsersFailure","fetchUsersSuccess","downloadUsersReportRequest","downloadUsersReportFailure","downloadUsersReportSuccess","fetchUserTemplatesDictionaryRequest","fetchUserTemplatesDictionarySuccess","fetchUserTemplatesDictionaryFailure","allTemplates","promises","v","fetchOutletTypesDictionaryRequest","fetchOutletTypesDictionarySuccess","fetchOutletTypesDictionaryFailure","displayUserName","EditAccountMainController","isUserSecondary","checkUserEditHimself","sessionUserId","handler","onDeselect","onActivate","userName","reloadView","viewAsThisUser","authenticateText","goToManageUsers","EditAccountMainComponent","RetailerGroupsExistingUserFieldController","selectedUser","_userService","CreateAccountUserSearchDialogController","selectedUserId","initializeGrid","isAlignedLeft","allParameters","_","hmr","locals","lowCostCarriers","AccountDetailsController","canDeleteUser","disabledInfo","canResetPassword","isAdminUser","AccountDetailsComponent","canShowResendActivationEmail","canShowAuthenticateUser","canShowChangePrimaryUserBtn","canUpdateData","canShowLoginAsThisUser","canChangeUserStatus","OTHER_STATUS_KEY","AccountStatusController","canChangeRole","canChangeUserPrivileges","otherReason","accountStatus","setOnDeselect","privilegesChanged","currentUserPresentId","privilegesCustomized","isPrimary","saveUserPrivileges","setStatusChangeCallback","saveCallback","templateChange","updateForm","onCancelHandler","activateCallback","suspendCallback","AccountStatusComponent","_linkedRetailers","licenseAccessLabel","LinkedRetailersTableController","initDefaultSortColumn","setInitialFilters","directAssignment","selectedRetailers","isSelected","onRetailerSelect","isLicensingAccessSelected","LinkedRetailersTableComponent","disabledLicenseAccess","multiselect","AccountRetailersController","hasLicenseRenewalServicePrivilege","selectedRetailersCount","valid","userEmail","retailersToUpdate","retailersToDelete","getRetailersToDelete","AccountRetailersComponent","linkedRetailersApi","MODE_STANDARD","MODE_SECONDARY","CreateAccountStepsController","superChain","getSuperChain","reportToTpl","filteredUserClasses","initializeUserClasses","stepsTitles","step","numberOfSteps","tmp","showReportTo","incorrectRetailerNo","validateRetailerError","emailExists","mobileExists","businessExists","primaryUserId","loadPrimaryUser","filteredRetailerTypes","userClassesGroupedById","getUserClassesGroupedById","setUserClass","parseReportTo","validateRetailerNo","isUserPrimary","isUserChainSubordinate","isUserIndependentRetailer","isUserRetailer","isUserChainHead","subLabel","$setDirty","isUserAdmin","presetName","isLimitedToRetailers","showLocationAccessLink","filterPrivileges","endsWith","CreateAccountStepsComponent","ChangePrimaryUserController","initlizeConfiguration","onCancel","ChangePrimaryUserComponent","RetailerSettingsController","canChangeSelfRegistrationEnabled","canSaveRetailerSettings","primaryUserRole","enableDisable","subordinateSelfRegistrationEnabled","subordinatesCanSelfRegister","saveConfiguration","RetailerSettingsComponent","lsUtilsRun","LspPageSubHeaderController","translatedText","LspPageSubHeaderComponent","class","SearchComponentController","$transclude","showFilter","isAdditionalContent","isSlotFilled","isInnerAdditionalContent","noFloat","searchButtonLabel","searchFilters","SearchComponent","actionButtons","additionalContent","innerAdditionalContent","hideSearchButton","hideResetButton","showHeader","DropdownController","isOpen","position","DropdownComponent","buttonLabel","dropdownToggle","dropdownMenuClasses","appendToBody","CollapseController","isCollapsed","CollapseComponent","ProgressChartComponent","rwCaptcha","ngModel","elm","setCaptcha","$apply","callback","grecaptcha","render","sitekey","KEYCODE_ENTER","OnEnterController","keyCode","onEnter","onEnterDirective","useApplyAsync","content-type","overwrite","handleHttpError","errorObj","globalErrors","fieldErrors","ENTITY_DOES_NOT_EXIST","errorStatusOther","notifyUnknownServerError","getErrorCode","setErrorCode","notifyServerError","notifyStatus409","errCode","errSkipRedirect","dialogOpened","showMessage","unexpectedServerError","UNEXPECTED_SERVER_ERROR","defaultErrorCode","contextError","gotoHome","_ref2$controller","_ref2$template","_ref2$backdrop","_ref2$size","_ref2$component","dontShow","DEFAULT_CONTEXT","$q","cache","post","urlParamsToOmit","handleErrorFn","resourceName","resourceParams","resourceUrlParams","evalResourceUrlParams","joinSeparator","paramsToTrasform","_typeof","parameter","evalResourceUrlParam","isEmptyValue","filtersObj","flattenFilters","parseParams","flattenedParams","rawName","rawValue","encodeArray","evalResourceUrlParamName","evalResourceUrlParamValue","encoded","chain","itemKey","entity","applyParameters","resourceUrl","evalResourceUrl","extend","force","deferred","defer","cached","getFile","ignoreLoadingBar","buffer","SKIPED_ERROR_CODES","SYSTEM_UNAVAILABLE","LOGOUT_CODE","INVALID_TOKENS","$http","requestCanceler","pendingRequests","requestsQueue","errorFn","rejectPromise","reauthQueue","reauthOngoing","canceller","propertyKey","forceLogoutFn","reauthFn","currentTimestamp","refreshTokenExpired","requestTokens","noRefreshToken","refreshTokenUrl","refreshTokenCode","putReauth","refreshTokenFailed","logoutUrl","logoutQueue","req","notifyForcedLogout","dismissAll","authorizationHeader","handleRefreshTokenFailed","validateTokens","resp","handleRefreshTokenExpired","res","requestFn","timeout","pendingRequestId","addPendingRequest","removePendingRequestById","handleError","reason","handle401Error","handleErrorObject","handleCriticalError","typeofReturnDataString","typeofReturnData","handleReauth","_this13","FileReaderDeffered","reader","getCodeFromArrayBuffer","readAsArrayBuffer","runReauth","arrBufResult","String","fromCharCode","criticalError","handle_default","_this14","_downloadElementComponent","DownloadElementController","showProgress","downloadResult","downloadFunction","callbackFunction","DownloadElementButtonComponent","DownloadElementLinkComponent","additionalClasses","DownloadElementLabelComponent","progressTitle","AsyncDownloadController","isButtonDetails","parsedType","filename","generateFilename","customFilename","AsyncDownloadComponent","buttonDetails","labelDetails","_lspGridComponent","sorting","LspGridController","isHeader","LspTableController","loadingText","headerGroups","kebabCase","oldSorting","activeSort","onSortHandler","LspMobileSortController","fiteredHeaders","LspGridComponent","table","footer","LspTableComponent","disableViewChange","header1","LspMobileSortComponent","_tableColumnController","GridController","GridComponent","PaginationController","newPage","oldPage","isNumber","gridMeta","onGotoPage","onNextPage","onPrevPage","PaginationComponent","defaultFirstPage","pageSizeValues","onPageSizeChange","_tableComponent","MobileSortController","MobileSortComponent","TableService","isAvailableField","TableColumnController","setSortDirection","CACHE_CONTROL_HEADER","PRAGMA_HEADER","LspImageController","getCachedImage","children","cachedValue","lspImg","lspImgCache","loadImage","lspImgData","imageData","Cache-Control","Pragma","LspImageComponent","altImg","BULLET_PLACEHOLDER","LspBulletPlaceholderDirective","repeat","FooterBarComponent","$injector","exception","sendEvent","errorMessage","gaEventObject","evt","getDataLayer","getDefaultPageviewEvent","dataLayer","userEmailAddress","createdUserUuid","uuidv4","contentDisplayName","channel","socialNetwork","socialAction","fileDisplayDesc","fileCategoryLabel","documentFileName","documentCategory","categoryName","RwGtmController","GTM_TRACK_ID","analyticsMainContainer","container","w","gtm.start","f","getElementsByTagName","j","async","parentNode","insertBefore","RwGtmComponent","carousel_component_1","FIRST_SLIDE_INDEX","INTERVAL_TIME","CarouselController","$interval","pause","slideNo","intervalTime","startInterval","stopInterval","nextSlide","goToSlide","newSlideNo","RwTooltipController","side","isSmart","RwTooltipComponent","rwTooltipText","rwTooltipContent","DEFAULT_EVENT_TYPE","MultiLangSameValueDirective","fieldPath","fieldModel","eventType","ngModelCtrl","off","$viewChangeListeners","setFieldValue","on","$watch","RwLanguagePickerController","formIsValid","languageIndex","getLanguageIndex","RwLanguagePickerComponent","RwLanguageSelectController","lastSelectedLanguage","RwLanguageSelectComponent","RwMultiLanguagePageController","RwMultiLanguagePageComponent","isLanguageSelectAvailable","hideFooter","pageClasses","headerClasses","FileUploadChangeDirective","fileUploadChange","FILE_SIZE_LIMIT","FileUploadController","acceptFile","uploadEnabled","inputFileSizeLimit","parseFloat","pow","fileSizeExceeded","onloadend","fileReaderOnLoadEnd","$evalAsync","onFileChanged","gatherErrors","fileModel","onFileChangeCb","validateMaxFileSize","acceptFileCheckValidation","fileFormatError","validateFileType","validateDimensionsForEntity","validateDimensions","inputFileId","validateBanner","validateThumbnail","validatePoster","FileUploadComponent","fileRequired","fileExtensionError","deleteEnabled","FilePreviewController","trustAsResourceUrl","FilePreviewComponent","elem","$eval","dirtyFormOpts","_options$name","contextClickHandler","browserClickHandler","applyHandlers","ngClick","newValue","removeHandlers","hasNgClick","stateOff","stateChangeStartHandler","blockButton","callbackName","CancelController","formName","onClickHandler","CancelButtonComponent","rwClearFieldDirective","noop","onClear","button","after","rwRequiredOneOfDirective","defaultErrorKey","ngForm","rwRequiredOneOf","rwRequiredOneOfErrorKey","deleteAction","downloadAction","RwDateComponent","fraction","RwCurrencyController","defaultFraction","_rwPhoneController","RwPhoneController","_rwUserClassController","RwUserClassController","_rwCopyrightController","RwCopyrightController","_rwAppVersionController","_appVersion","fetchBeAppVersion","RwAppVersionController","frontendVersion","FE_VERSION","fetchBeAppVersionRequest","fetchBeAppVersionSuccess","fetchBeAppVersionFailure","_rwPrivacyPolicyController","RwPrivacyPolicyController","_rwPrivacyPolicyDialogController","_privacyPolicy","RwPrivacyPolicyDialogController","_rwTermsOfUseController","RwTermsOfUseController","_rwTermsOfUseDialogController","_termsOfUse","downloadTermsOfUse","RwTermsOfUseDialogController","downloadTermsOfUseRequest","downloadTermsOfUseSuccess","downloadTermsOfUseFailure","_rwHomepageLinksController","homePageLink","RwHomepageLinksController","RwButtonComponent","variant","ariaLabel","tabindex","RwIconController","iconSize","iconEffect","effect","iconType","RwIconComponent","iconStart","iconEnd","RwActionsDropdownController","RwActionsDropdownComponent","_rwSocialMedia","downloadPoster","fetchPosterUrl","RwSocialMediaController","isSharingEnable","customNotification","timeOut","serviceType","showNotification","posterUrl","sendSocialShareEvent","open","sendPrintEvent","RwSocialMediaComponent","isDisabled","downloadPosterRequest","downloadPosterSuccess","downloadPosterFailure","fetchPosterUrlRequest","printables","fetchPosterUrlSuccess","fetchPosterUrlFailure","_dashboardHelpers","CUMULATIVE_WINNERS","JACKPOT_AND_DRAWS","setDateFormatAccordingToLocale","queryAccordingToPosterTemplate","wonAmount","getCumulativeTemplateAccordingToPeriodType","getPosterTemplate","RwMultistoreSelectorDialogController","RwMultistoreSelectorDialogComponent","RwMultistoreSelectorController","locations","RwMultistoreSelectorComponent","retailerDetailsFormat","RwRetailerInfoController","_retailer","city","street1","RwRetailerInfoComponent","shortInfo","showDistrictColumn","RwSubordinatesTableController","filterSubordinates","subordinate","headerText","getFirstFieldName","RwSubordinatesTableComponent","RwSubordinatesDropdownController","RwSubordinatesDropdownComponent","RwListItemComponent","noHover","noPadding","RwListComponent","$templateCache","RwTimepickerController","$locale","DATETIME_FORMATS","mediumDate","RwDatepickerComponent","onChange","showMeridian","shortTime","RwTimepickerComponent","RwLocationSelectorDialogController","RwLocationSelectorDialogComponent","RwLocationSelectorController","$document","appendToElement","querySelectorAll","fetchLocations","zipCode","showDropdown","onLocationChange","findSelectedRetailer","RwLocationSelectorComponent","RetailerIdFormat","retailerIdPattern","pattern","LspPercentFilter","POSTFIXES_ENG","NumberPostfix","no","getEnglish","getSpanish","Mask","maskDefinitions","*","mask","maskDef","processRawMask","alphanumericValue","maskValue","characterCount","maskCaretMap","maskPatterns","maskPlaceholder","isOptional","numberOfOptionalCharacters","chr","getPlaceholderChar","minRequiredLength","unmaskedValue","valueMasked","maskCaretMapCopy","lspEmail","EMAIL_REGEXP","$validators","$isEmpty","lspEmails","splitEmails","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","return","lspMatch","lspMatchCaseInsensitive","newVal","oldVal","LspPhoneLengthDirective","lspPhoneLength","lspName","NAME_REGEXP","lspPassword","PASSWORD_REGEXP","RegExp","passwordRequirementPattern","LspFormFieldService","LspFormFieldDirective","modelCtrl","onFocus","onBlur","showValidation","stopImmediatePropagation","$digest","RetailerNumberPatternDirective","retailerNumberPattern","viewValue","SPACE_LEADING_REGEXP","SpaceLeadingPatternDirective","spaceLeadingPattern","COORDS_REGEXP","googleMapsCoords","striptHtml","strippedMaxLength","strippedForm","maxlength","smsNotificationPopupMaxCharCountDisabled","DURATION","LspAlertService","closeButton","tapToDismiss","success","ResponsiveService","variables","mapValues","currentDeviceFlags","deviceChangeSubscribers","checkDevice","newDeviceFlags","isPhone","isTablet","isExtraLarge","innerWidth","isEqual","notifyDeviceChanged","pull","screen-xs-min","screen-xs-max","screen-sm-min","screen-sm-max","screen-md-min","screen-md-max","screen-lg-min","screen-lg-max","screen-gt-lg","DirtyFormService","WidgetService","CKEDITOR","plugins","editor","addRichCombo","panel","css","skin","getPath","multiSelect","el","commit","onClick","setText","insertElement","DIALOG_PARENT","DEFAULT_TOAST_CONFIG","positionClass","DEFAULT_DIALOG_CONFIG","animation","appendTo","windowClass","backdropClass","NOTIFICATION_TYPES","dialog","toast","warning","NotificationService","$uibModal","_termsPageController","_ref$termsPreview","TermsPageController","buttonAction","_termsDialogController","TermsDialogController","RetailerDashboardsSearchPageController","fetchRetailerId","checkAccessToRetailer","representative","RetailerDashboardsSearchPageComponent","RETAILER_DASHBOARD_CONTEXT","RetailerDashboardPageController","hasAccessToSummaryDashboard","hasAccessToInstantDashboard","summaryDashboardLabel","instantsDashboardLabel","showDashboard","RetailerDashboardPageComponent","downloadReportsPack","INVALID_TOKEN","paras","_downloadPageController","_downloadReportPage","DownloadPageController","errorMsg","downloadReportsPackRequest","downloadReportsPackSuccess","downloadReportsPackFailure","USER_ALREADY_EXISTS","INTERNAL_SERVER_ERROR","MULTIPLE_PRIMARY_USERS","PRIMARY_USER_ALREADY_EXISTS","SER_SUSPENDED_OTHER_REASON","22","33","34","36","37","38","39","41","42","43","NOT_A_SECONDARY_USER","RETAILER_DOES_NOT_EXIST_OR_NOT_ACTIVE","48","50","51","53","55","LOCALE_NOT_SUPPORTED","RETAILER_BLOCKED","62","USER_ACTIVATION_ERROR","1000","1004","1005","1006","ICON_IS_IN_USE","MAINTENANCE_CODE","loadWeekdays","loadJurisdictionData","toggleEditMode","pathToEditMode","toggleLanguageSelect","createForm","getInvalidForms","checkValidation","invalidForms","invalid","retValue","DEFAULT_SORT_DIRECTION","NOTIFICATION_CONTEXT","listMultilang","emailList","emailGrid","emailTemplatesList","templateData","rawSmsTypes","userSmsCategories","loginNotificationPopup","smsGrid","smsTemplates","smsList","loadSmsTypes","subscriptions2Object","smsTemplatesList","templateEditable","langKey","smsLoginNotificationTypes","smsGroup","langArray","smsTemplateId","smsTypeTxt","transformSmsTemplate4Multilang","transformMultilangTemplate4Save","updateSmsData4LoginPopup","langObj","stripHtmlFilter","smsCategoryTxt","smsCategoryId","sendSms","subscriptions2Array","innerReduced","subscriptionId","smsTypeCategory","smsTemplateTranslations","smsTemplateDisplayName","smsTypeName","smsTemplateName","multilangTemplate","truncate","smsNotificationPopupMaxCharCount","omission","ManageSmsDialogController","visibleCategories","applyCategories","manageSmsNotificationDialog","FAQ_CONTEXT","defaultPaging","visibilities","faqCategory","faqEntry","loadVisibilityOptionNames","handleRestResponse","fullList","cachedList","loadSortedCategories","resource","loadEntries","getOnlyPopulatedCategories","_list","getCombinedEntriesWithCategories","_categories","combineEntriesWithCategories","catId","getEntriesGroupedById","filterList","phraseLowerCase","categoryNameContainsPhrase","faqCategoryTranslationsDto","faqEntryTranslationsDto","transformedEntry","ordinalNo","modifyDate","getProperOrdinalNo","categoryEntries","getCategoryEntries","filteredCategory","transformedCategory","transformCategoryForCreate","lastIndex","lastCategory","nextOrdinalNo","transformCategoryForUpdate","sourceHasCategory","destNodeModelValue","nodeScope","dest","nodesScope","isCategory","restPromise","destCategories","sourceCategoryId","destCategoryId","$parent","destEntry","destEntries","reorderEntries","reorderCategories","updateAfterOrderChange","catIndex","transformEntriesForOrdinal","entryId","transformCategoriesForOrdinal","transformEntryForOrderialUpdate","decodedLogin","decodedPassword","loadSecurityQuestions","filterPacks","gameNumbers","ForbiddenComponent","retriveAction","appContext","ImpersonatingBarController","doLoginBack","ImpersonatingBarComponent","versionInfo","_config$homePageLogos","homePageLogos","SideMenuController","logos","logo","downloadWidgetAttachment","SideMenuLoggedinComponent","SideMenuAnonymousComponent","menuItems","SideMenuItemsController","querySelector","hasMiniBar","hasClass","SideMenuItemsComponent","isEmptyRetailerDetails","SideMenuHeaderController","SideMenuHeaderComponent","_banners","_widgets","_state$config$homePag","_state$widgets","widgetMaintenance","_state$banners","HomeController","HomeComponent","_manageConfigurableLinkComponent","_themeComponent","TermsPreviewDialogController","TermsPreviewDialogComponent","TermsConfirmDialogController","TermsConfirmDialogComponent","_termsManagement3","TermsTabController","termsModuleName","findLocaleKey","fieldsKey","copyFields","attachmentsKey","copyAttachments","chekIfAttachmentEmpty","showConfirmationDilog","onSave","TermsTabComponent","_termsManagement","TermsManagementController","TermsManagementComponent","_manageConfigurableLink3","CmsManageConfigurableLinkController","initForm","textMaxLength","CmsManageConfigurableLinkComponent","CmsThemeController","$dirty","CmsThemeComponent","_manageIconsController","_manageIcons2","ManageIconsController","givenErrorCode","givenNotificationCode","notificationMsg","BannersManagementController","allowDuplicates","initBanners","intervalCopy","publishBannerData","saveButtonText","editedBanner","uploadedBanner","BannersManagementComponent","URL_DEFAULT_VALUE","UploadBannerController","uploadBannerUrl","isNew","VLT_GAMES_PERMISSION","CmsGameImagesController","vltGamesPermission","acceptFileFormat","initAcceptFileFormat","acceptFileDimensions","initAcceptFileDimensions","CmsGameImagesComponent","numberOfGameImagesToSave","GamesTabController","_defaultParams2","showInfo","missingImageFilter","getMissingImageOptions","filtersForm","showSuccessCancelNotification","showStartSavingNotification","showSuccessSavingNotification","showErrorSavingNotification","GamesTabComponent","_fileHelpers","GameCardController","click","showFileReadError","fileResult","validateFile","isValidFileDimensions","widthFirst","heightFirst","widthSecond","heightSecond","GameCardComponent","dimensions","isValidDimensions","dimension","validateFileFormat","GameSelectorController","GameSelectorComponent","CmsMediaTemplatesController","hasDashboardSharePrivilege","hasJackpotsNextDrawsPrivilege","hasBigWinnersPrivilege","hasCumulativeWinnersPrivilege","hasAccessToMediaTemplatesPage","CmsMediaTemplatesComponent","_mediaTemplates","TemplateTabController","textAlignmentOptions","getTextAlignmentOptions","cloneEntries","editableEntries","showStartPreviewNotification","hideNotification","showErrorPreviewNotification","TemplateTabComponent","PosterPreviewFormDialogController","isGameNoAvailable","isPosterElementAvailable","isAmountAvailable","isDateAvailable","isRetailerNoAvailable","elementType","posterConfigElements","posterConfigElement","PosterPreviewFormDialogComponent","_loginPopup","CmsLoginPopupManagementController","initPopup","dateRangeError","currentCopy","propertiesCopy","setDate","setTime","timeFromError","timeToError","entriesToSave","propertiesToSave","dateTimeFrom","dateTimeTo","isSecondHandApproval","CmsLoginPopupManagementComponent","fetchLoginPopupRequest","fetchLoginPopupSuccess","fetchLoginPopupFailure","_widgetsManagementComponent","WidgetsEditController","DIRTY_FORM_MANAGEMENT","moreButtonOptions","getMoreLabels","initIcons","initWidget","generateIcons","fetchOnlyApprovedIcons","showAlertSuccess","EditWidgetComponent","$interpolate","dateSet","dateMinLimit","dateMaxLimit","dateMonthTitle","dateYearTitle","buttonNextTitle","buttonPrevTitle","dateDisabledDates","dateSetHidden","dateTyper","dateWeekStartDay","datepickerAppendTo","datepickerToggle","datepickerClass","datepickerShow","theCalendar","pageDatepickers","n","selector","thisInput","prevButton","buttonPrev","nextButton","buttonNext","isMouseOn","isMouseOnInput","datetime","htmlTemplate","toReturn","dateHeader","monthAndYearHeader","generateMonthAndYearHeader","yearsPaginationHeader","generateYearsPaginationHeader","daysColumns","aRow","generateHtmlTemplate","onClickOnWindow","hideCalendar","setDaysInMonth","dateWeekEndDay","limitDate","getDate","firstDayMonthNumber","getDay","lastDayMonthNumber","prevMonthDays","nextMonthDays","howManyNextDays","howManyPreviousDays","monthAlias","validateWeekDay","resetToMinDate","day","resetToMaxDate","setInputValue","isSelectableMinDate","isSelectableMaxDate","modelDate","triggerHandler","classHelper","ele","klass","className","stopBodyScrolling","bool","freezeVp","classList","showCalendar","selectedMonthString","selectedMonth","selectedDay","selectedYear","getMonth","unregisterDataSetWatcher","unregisterDateMinLimitWatcher","unregisterDateMaxLimitWatcher","unregisterDateFormatWatcher","nextMonth","willPrevMonthBeSelectable","prevDay","willNextMonthBeSelectable","prevMonth","selectedMonthHandle","selectedMonthNumber","setNewYear","isSelectableMaxYear","isSelectableMinYear","paginateYears","showYearsPagination","selectToday","setDatepickerDay","isSelectableDate","focus","startingYear","theNewYears","paginationYears","rawDate","dateFormatDefinition","dateSplit","longName","shortName","MONTH","SHORTMONTH","localDateTimestamp","paginationYearsNextDisabled","paginationYearsPrevDisabled","aDate","weekDay","validWeekDay","calendarClicked","startSymbol","endSymbol","daysInString","Uint32Array","mathRand","datepickerID","placeholder","checkVisibility","$formatters","$parsers","NavbarController","unsubscribeStore","readyState","checkWidthAndSetMiniNavBar","unsubscribeDeviceChange","subscribeDeviceChange","addMiniNavbar","removeMiniNavbar","NavbarComponent","TopMenuController","setDynamicLocale","isLocaleChanged","formattedLocale","TopMenuComponent","fetchLotteryTermsDictionaryRequest","fet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mBACAT,KAAKymF,YAAa,EACXzmF,2GALU05L,0rECzErBh8I,EAAAC,QAAA,q6ICAA,IAAY33B,0JAAZnmB,EAAA,yDACAA,EAAA,KAEO,IAAM85L,uCAAqC,kBAChDr3L,KAAM7B,EAAA,eAAY8c,yCAGPq8K,uCAAqC,SAAC1lK,GAAD,OAChD5xB,KAAM7B,EAAA,eAAY+c,uCAClB0W,UAGW2lK,uCAAqC,kBAChDv3L,KAAM7B,EAAA,eAAYgd,yCAGPsW,8BAA8B,iCAAApuB,2RAAA4oB,CAAAC,mBAAAC,KAAM,SAAAC,EAAO3sB,GAAP,IAAAmyB,EAAA,OAAA1F,mBAAAM,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAC,KAAA,EAE7CjtB,EAAStB,EAAA,qCAAAA,IAFoCsuB,EAAAE,KAAA,EAIzBxuB,EAAA,OAAIszB,8BAJqB,OAIvCG,EAJuCnF,EAAAK,KAK7CrtB,EAAStB,EAAA,qCAAAA,CAAmCyzB,IALCnF,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAA+D,GAAA/D,EAAA,SAO7CnY,QAAQD,MAAM,iCAAdoY,EAAA+D,IACA/wB,EAAStB,EAAA,qCAAAA,IARoC,yBAAAsuB,EAAAO,SAAAZ,OAAA3qB,IAAA,UAAN,gBAAAwrB,GAAA,OAAA5pB,EAAA8gB,MAAAzmB,KAAA8D,YAAA","file":"app.js?v=APP_VERSION","sourcesContent":["import _ from 'lodash';\r\nimport restApi from '../modules/app/rest.conf.json';\r\n\r\nclass Dependencies {\r\n constructor() {\r\n this.restSrv = null;\r\n this.rest = null;\r\n }\r\n\r\n setDeps(depsArr) {\r\n Object.keys(depsArr).forEach((key) => {\r\n this[key] = depsArr[key];\r\n });\r\n this.rest = restApi;\r\n }\r\n\r\n updateSession(session) {\r\n this.session = _.cloneDeep(session);\r\n }\r\n}\r\n\r\nexport default new Dependencies();\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/dependencies.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport helpers from 'auth/helpers/menu';\r\nimport { RETAILER_TYPE, CHAIN_SUFFIX } from 'app/validators/roles';\r\n\r\nimport menu from 'app/config/sidemenu';\r\n\r\nconst namespace = 'session';\r\nexport const SET_PAGE_TITLE = `${namespace}_SET_PAGE_TITLE`;\r\nexport const SET_LOCALE = `${namespace}_SET_LOCALE`;\r\nexport const INIT_SESSION = `${namespace}_INIT_SESSION`;\r\nexport const UPDATE_SESSION = `${namespace}_UPDATE_SESSION`;\r\nexport const SET_SIDE_MENU = `${namespace}_SET_SIDE_MENU`;\r\nexport const SET_TOP_MENU = `${namespace}_SET_TOP_MENU`;\r\nexport const SET_ACTIVE_ITEM = `${namespace}_SET_ACTIVE_ITEM`;\r\nexport const SET_ACTIVE_SUBITEM = `${namespace}_SET_ACTIVE_SUBITEM`;\r\nexport const SET_TOKENS = `${namespace}_SET_TOKENS`;\r\nexport const SET_USER_PRIVILEGES = `${namespace}_SET_USER_PRIVILEGES`;\r\nexport const SET_LEARNING_LINK = `${namespace}_SET_LEARNING_LINK`;\r\nexport const SET_ATTEMPTED_ROUTE = `${namespace}_SET_ATTEMPTED_ROUTE`;\r\nexport const SET_RETAILER_GROUPS = `${namespace}_SET_RETAILER_GROUPS`;\r\nexport const SET_OWNER_RETAILER_GROUPS = `${namespace}_SET_OWNER_RETAILER_GROUPS`;\r\nexport const TOGGLE_SUBMENU = 'TOGGLE_SUBMENU';\r\nexport const CLOSE_ALL_SIDEMENU_ITEMS = 'CLOSE_ALL_SIDEMENU_ITEMS';\r\n\r\nexport const saveSession = () => (dispatch, getState) => {\r\n const { session } = getState();\r\n DepsService.$sessionStorage.userSession = _.cloneDeep(session);\r\n return Promise.resolve();\r\n};\r\n\r\nexport const initializeSession = (session) => (dispatch) => {\r\n dispatch({\r\n type: INIT_SESSION,\r\n payload: session,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const applySessionData = (session) => (dispatch) => {\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: session,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const applyTopMenu = (topMenuItems) => (dispatch) => {\r\n dispatch({\r\n type: SET_TOP_MENU,\r\n payload: topMenuItems,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nconst subLevelItems = (items, id) => items.filter((x) => x.id && x.id.indexOf(`${id}.`) !== -1);\r\n\r\nconst hasAtLeastOneSubItemVisible = (items, item) => {\r\n const subItems = subLevelItems(items, item.id);\r\n return subItems.length > 0 && subItems.filter((subItem) => (!subItem.plainLink && subItem.hasAccess) || subItem.plainLink).length > 0;\r\n};\r\n\r\nexport const applySideMenu = (sideMenuItems) => (dispatch) => {\r\n const mainItems = sideMenuItems ? sideMenuItems.filter((x) => !x.id || x.id.indexOf('.') === -1) : [];\r\n\r\n mainItems.forEach((item) => {\r\n item.subItems = subLevelItems(sideMenuItems, item.id);\r\n item.subItems = item.subItems.filter((x) => x.plainLink || x.hasAccess || hasAtLeastOneSubItemVisible(sideMenuItems, x));\r\n });\r\n\r\n dispatch({\r\n type: SET_SIDE_MENU,\r\n payload: mainItems,\r\n });\r\n\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const applyMenu =\r\n (newModel = {}) =>\r\n (dispatch, getState) => {\r\n const {\r\n session,\r\n session: {\r\n role,\r\n retailer: { retailerType, isSuperChain },\r\n },\r\n } = getState();\r\n const roleConfig = DepsService.config.roles[role] || {};\r\n let roleKey;\r\n\r\n if (retailerType === RETAILER_TYPE.CHAIN_HEAD && isSuperChain) {\r\n roleKey = `${role}_${RETAILER_TYPE.CHAIN_HEAD}_${RETAILER_TYPE.SUPER_CHAIN}`;\r\n } else {\r\n roleKey = retailerType ? `${role}_${retailerType}` : role;\r\n }\r\n\r\n const sidemenu = helpers.generateMenu(_.get(menu, `roles[${roleKey}].sidemenu`) || roleConfig.sidemenu, {\r\n training: {\r\n href: session.lotteryLearningLink,\r\n },\r\n branding: {\r\n href: DepsService.config.brandingUrl,\r\n label: DepsService.config.brandingLabel,\r\n },\r\n licensing: {\r\n href: '',\r\n },\r\n });\r\n\r\n const topmenu = helpers.generateTopMenu(_.get(DepsService.config, `roles[${roleKey}].topmenu`) || roleConfig.topmenu);\r\n\r\n dispatch(applyTopMenu(topmenu));\r\n dispatch(applySideMenu(sidemenu));\r\n\r\n return newModel;\r\n };\r\n\r\nexport const toggleSubmenu = ({ id }) => ({\r\n type: TOGGLE_SUBMENU,\r\n id,\r\n});\r\n\r\nexport const closeAllSideMenuItems = () => (dispatch, getState) => {\r\n const { session } = getState();\r\n const { sidemenu } = session;\r\n\r\n const opened = sidemenu.find((item) => item.opened === true);\r\n\r\n if (opened) return dispatch({ type: CLOSE_ALL_SIDEMENU_ITEMS });\r\n};\r\n\r\nexport const setCurrentState = (toState, fromState) => (dispatch, getState) => {\r\n const {\r\n session: { sidemenu },\r\n } = getState();\r\n\r\n function setItemState(reducedItem) {\r\n reducedItem.active = false;\r\n if (toState.startsWith(reducedItem.sref)) {\r\n reducedItem.active = true;\r\n reducedItem.opened = fromState ? reducedItem.opened : !reducedItem.opened;\r\n } else {\r\n reducedItem.opened = fromState ? reducedItem.opened : false;\r\n }\r\n }\r\n\r\n function setSubItemsState(reducedItem) {\r\n if (reducedItem.subItems) {\r\n reducedItem.subItems.forEach((subItem) => {\r\n subItem.active = false;\r\n if (toState.startsWith(subItem.sref)) {\r\n reducedItem.active = true;\r\n reducedItem.opened = fromState ? reducedItem.opened : true;\r\n subItem.active = true;\r\n }\r\n });\r\n }\r\n }\r\n\r\n const reducedItems = sidemenu.reduce((reduced, reducedItem) => {\r\n setItemState(reducedItem);\r\n setSubItemsState(reducedItem);\r\n reduced.push(reducedItem);\r\n return reduced;\r\n }, []);\r\n\r\n dispatch({\r\n type: SET_SIDE_MENU,\r\n payload: reducedItems,\r\n });\r\n};\r\n\r\nexport const changePageTitle = (pageTitle) => (dispatch) => {\r\n dispatch({\r\n type: SET_PAGE_TITLE,\r\n payload: { pageTitle },\r\n });\r\n};\r\n\r\nexport const changeLocale = (locale) => (dispatch) => {\r\n if (locale) {\r\n moment.locale(locale);\r\n DepsService.gettextCatalog.setCurrentLanguage(locale);\r\n DepsService.gettextCatalog.loadRemote(`./languages/${locale}.json`);\r\n\r\n dispatch({\r\n type: SET_LOCALE,\r\n payload: { locale },\r\n });\r\n dispatch(saveSession());\r\n }\r\n};\r\n\r\nexport const setRetailerDashboardType = (retailerDashboardType, sessionId) => (dispatch) => {\r\n const isChainHead = retailerDashboardType === RETAILER_TYPE.CHAIN_HEAD;\r\n const isSuperChain = retailerDashboardType === RETAILER_TYPE.SUPER_CHAIN;\r\n const isIndependent = retailerDashboardType === RETAILER_TYPE.INDEPENDENT;\r\n const isChainSubordinate = retailerDashboardType === RETAILER_TYPE.CHAIN_SUBORDINATE;\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: {\r\n retailerDashboard: {\r\n isChainHead,\r\n isSuperChain,\r\n isIndependent,\r\n isChainSubordinate,\r\n sessionId,\r\n },\r\n },\r\n });\r\n return dispatch(saveSession());\r\n};\r\n\r\nexport const cleartRetailerDashboardType = () => (dispatch) => {\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: {\r\n retailerDashboard: {\r\n isChainHead: false,\r\n isSuperChain: false,\r\n isIndependent: false,\r\n isChainSubordinate: false,\r\n },\r\n },\r\n });\r\n return dispatch(saveSession());\r\n};\r\n\r\nexport const resetSession = () => () => {\r\n initializeSession({ ...DepsService.anonymousPrivileges });\r\n};\r\n\r\nexport const updateAuthHeaders = () => (dispatch, getState) => {\r\n const {\r\n session: {\r\n tokens: {\r\n jwt: { code },\r\n },\r\n },\r\n } = getState();\r\n DepsService.restSrv.HttpService.defaults.headers.common.Authorization = code ? `Bearer ${code}` : null;\r\n};\r\n\r\nexport const applyTokens = (tokens) => (dispatch) => {\r\n if (!tokens) {\r\n return Promise.reject();\r\n }\r\n\r\n const currentTimeStamp = Date.now();\r\n const jwtTokenExpiration = currentTimeStamp + (_.get(tokens, '0.tokenParams.expiresIn') || 0) * 1000;\r\n const refreshTokenExpiration = currentTimeStamp + (_.get(tokens, '1.tokenParams.expiresIn') || 0) * 1000;\r\n const jwtCode = tokens[0].token;\r\n const refreshCode = tokens[1].token;\r\n\r\n const sessionTokens = {\r\n jwt: {\r\n code: jwtCode,\r\n expiringTimestamp: jwtTokenExpiration,\r\n passwordExpired: tokens[0].tokenParams.passwordExpired,\r\n },\r\n refresh: {\r\n code: refreshCode,\r\n expiringTimestamp: refreshTokenExpiration,\r\n },\r\n };\r\n\r\n dispatch({\r\n type: SET_TOKENS,\r\n payload: sessionTokens,\r\n });\r\n\r\n dispatch(updateAuthHeaders());\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setUserPrivileges = (privileges) => (dispatch) => {\r\n dispatch({\r\n type: SET_USER_PRIVILEGES,\r\n payload: privileges,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setGtmsTime = (gtmsTimeUnix) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const newSession = { ...session, gtmsTime: gtmsTimeUnix };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nconst timezoneDiffToSeconds = (timezoneDiff) => ((timezoneDiff * 1) / 100) * 3600;\r\n\r\nconst calculateLotteryTime = (serverTime, serverTimezoneDiff, lotteryTimezoneDiff) => {\r\n const serverTimezoneDiffSeconds = timezoneDiffToSeconds(serverTimezoneDiff);\r\n const lotteryTimezoneDiffSeconds = timezoneDiffToSeconds(lotteryTimezoneDiff);\r\n const serverTimeInUTC = serverTime - serverTimezoneDiffSeconds;\r\n const lotteryTimeWithTimezone = serverTimeInUTC + lotteryTimezoneDiffSeconds;\r\n return lotteryTimeWithTimezone;\r\n};\r\n\r\nexport const setServerTime = (serverTime, serverTimezoneDiff, lotteryTimezoneDiff, salesPeriodTime) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const serverTimestamp = moment.utc(serverTime).unix();\r\n const salesPeriodTimestamp = moment.utc(salesPeriodTime).unix();\r\n\r\n const newSession = {\r\n ...session,\r\n serverTime: serverTimestamp,\r\n serverTimezoneDiff,\r\n salesPeriodTimestamp,\r\n lotteryTime: calculateLotteryTime(serverTimestamp, serverTimezoneDiff, lotteryTimezoneDiff),\r\n lotteryTimezoneDiff,\r\n };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setSuperChainRetailer = (newRetailer) => (dispatch, getState) => {\r\n const {\r\n session: { retailer },\r\n } = getState();\r\n\r\n const newRetailerObj = {\r\n ...retailer,\r\n retailerId: newRetailer.retailerId,\r\n retailerType: newRetailer.retailerType,\r\n isChain: newRetailer.retailerType ? newRetailer.retailerType.indexOf(CHAIN_SUFFIX) !== -1 : false,\r\n isChainHead: newRetailer.retailerType ? newRetailer.retailerType === RETAILER_TYPE.CHAIN_HEAD : false,\r\n isChainSubordinate: newRetailer.retailerType ? newRetailer.retailerType === RETAILER_TYPE.CHAIN_SUBORDINATE : false,\r\n };\r\n\r\n const newSession = {\r\n retailer: newRetailerObj,\r\n };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setStoreProfileRetailer = (isStoreProfile) => (dispatch, getState) => {\r\n const {\r\n session: { retailer },\r\n } = getState();\r\n\r\n const newSession = {\r\n retailer: { ...retailer, isStoreProfile },\r\n };\r\n\r\n dispatch({\r\n type: UPDATE_SESSION,\r\n payload: newSession,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setRetailerGroups = (retailerGroups) => (dispatch) => {\r\n dispatch({\r\n type: SET_RETAILER_GROUPS,\r\n payload: retailerGroups,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setOwnerRetailerGroups = (retailerGroups) => (dispatch) => {\r\n dispatch({\r\n type: SET_OWNER_RETAILER_GROUPS,\r\n payload: retailerGroups,\r\n });\r\n dispatch(saveSession());\r\n};\r\n\r\nexport const setLearningLink = (link) => ({\r\n type: SET_LEARNING_LINK,\r\n payload: link,\r\n});\r\n\r\nexport const setAttemptedRoute = (route) => ({\r\n type: SET_ATTEMPTED_ROUTE,\r\n payload: route,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/actions/session.actions.js","import _ from 'lodash';\r\nimport actionTypes from './action-types';\r\n\r\nconst namespace = 'app';\r\n\r\nexport const CHECK_ACCESS = `${namespace}_CHECK_ACCESS`;\r\n\r\nexport const checkAccess = (permission = '', hasAccess) => (dispatch, getState) => {\r\n const {\r\n app: { validators },\r\n session: { privileges },\r\n } = getState();\r\n if (hasAccess) {\r\n return hasAccess;\r\n }\r\n\r\n const newActionKey = permission.replace(/(-)/g, '.');\r\n const privilege = _.get(privileges, newActionKey);\r\n return !!privilege && (privilege === newActionKey || privilege.id === newActionKey) && dispatch(checkValidators(validators, newActionKey));\r\n};\r\n\r\nexport const checkValidators = (validators, model, actionKey) => (dispatch, getState) => (_.get(validators, actionKey) || []).every((fn) => fn.call(null));\r\n\r\nexport const checkValidatorsLazy = (actionKey) => (dispatch, getState) => {\r\n const {\r\n app: { validators },\r\n } = getState();\r\n return {\r\n check: (model) => checkValidators(validators, model, actionKey),\r\n };\r\n};\r\n\r\nexport const checkAccessLazy = (actionKey) => (dispatch, getState) => {\r\n const {\r\n app: { validators },\r\n } = getState();\r\n return {\r\n check: (model, hasAccess = false) => checkAccess(actionKey, hasAccess),\r\n };\r\n};\r\n\r\nexport const fetchConfigRequest = () => ({\r\n type: actionTypes.FETCH_CONFIG_REQUEST,\r\n});\r\n\r\nexport const fetchConfigSuccess = (config) => ({\r\n type: actionTypes.FETCH_CONFIG_SUCCESS,\r\n config,\r\n});\r\n\r\nexport const fetchConfigFailure = () => ({\r\n type: actionTypes.FETCH_CONFIG_FAILURE,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/app.actions.js","const namespace = 'dirtyForms';\r\n\r\nexport const SET_DIRTY_FORM = `${namespace}_SET_DIRTY_FORM`;\r\nexport const CLEAR_DIRTY_FORM = `${namespace}_CLEAR_DIRTY_FORM`;\r\n\r\nexport const setDirtyForm = (form, value = true) => (dispatch) => {\r\n dispatch({\r\n type: SET_DIRTY_FORM,\r\n payload: {\r\n form,\r\n value,\r\n },\r\n });\r\n};\r\n\r\nexport const clearDirtyForm = () => (dispatch) => {\r\n dispatch({\r\n type: CLEAR_DIRTY_FORM\r\n });\r\n};\r\n\r\nexport const checkDirtyForm = (form) => (dispatch, getState) => {\r\n const { dirtyForms } = getState();\r\n return dirtyForms[form];\r\n};\r\n\r\nexport const isAnyDirtyForm = () => (dispatch, getState) => {\r\n const { dirtyForms } = getState();\r\n return !!Object.entries(dirtyForms).find(entry => entry[1]);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dirty-forms.actions.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport print from 'print-js';\r\nimport { REGISTRATION_TYPE } from 'app/validators/roles';\r\n\r\nconst USER_STATUS_CREATED = 'CREATED';\r\n\r\n// ui helpers\r\nfunction validateField(form, field) {\r\n form[field].$validate();\r\n form[field].$submitted = true;\r\n if (!form[field].$viewValue) {\r\n form[field].$submitted = false;\r\n }\r\n}\r\n\r\nfunction shouldShowValidation(field) {\r\n return ((field.$$parentForm.$submitted || field.$submitted) && field.$pristine) || field.$touched;\r\n}\r\n\r\nfunction compare(fieldName, a, b) {\r\n if (a[fieldName] < b[fieldName]) {\r\n return -1;\r\n }\r\n\r\n if (a[fieldName] > b[fieldName]) {\r\n return 1;\r\n }\r\n\r\n return 0;\r\n}\r\n\r\nfunction b64toBlob(b64Data, contentType = '', sliceSize = 512) {\r\n const byteCharacters = atob(b64Data);\r\n const byteArrays = [];\r\n\r\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\r\n const slice = byteCharacters.slice(offset, offset + sliceSize);\r\n\r\n const byteNumbers = new Array(slice.length);\r\n for (let i = 0; i < slice.length; i++) {\r\n byteNumbers[i] = slice.charCodeAt(i);\r\n }\r\n\r\n const byteArray = new Uint8Array(byteNumbers);\r\n\r\n byteArrays.push(byteArray);\r\n }\r\n\r\n const blob = new Blob(byteArrays, { type: contentType });\r\n return blob;\r\n}\r\n\r\nfunction downloadFile(context, deps, url, attachment, fileParams = {}) {\r\n if (attachment.fileSource) {\r\n const b64Data = attachment.fileSource.split(',');\r\n const blob = b64toBlob(b64Data[1], attachment.fileType);\r\n return window.saveAs(blob, attachment.name);\r\n }\r\n return deps.restSrv\r\n .downloadBlob(context, url, null, {\r\n jurisdictionId: deps.config.jurisdictionId,\r\n contentId: attachment.id,\r\n })\r\n .promise.then((result) => {\r\n const blob = new Blob([result.data], fileParams);\r\n window.saveAs(blob, attachment.name);\r\n });\r\n}\r\n\r\nfunction printElement(elementId) {\r\n print({\r\n printable: elementId,\r\n type: 'html',\r\n documentTitle: '',\r\n ignoreElements: ['action-column'],\r\n });\r\n}\r\n\r\nfunction redirectToFirstPageFromMenu(deps, stateParams = {}, options = {}) {\r\n const { session } = deps.$ngRedux.getState();\r\n const { sidemenu } = session;\r\n\r\n const firstAllowedPageFromMenu = sidemenu.find((menuElement) => menuElement.hasAccess === true);\r\n\r\n deps.$state.go(firstAllowedPageFromMenu.sref, stateParams, options);\r\n}\r\n\r\nfunction redirectToPasswordReset(deps, stateParams = {}, options = {}) {\r\n const title = deps.gettextCatalog.getString('Password reset required!');\r\n const content = deps.gettextCatalog.getString(\r\n 'Your password must be reset, click OK button to be redirected to Create New Password screen.'\r\n );\r\n\r\n stateParams.skipDirtyForms = true;\r\n\r\n return deps.Notifications.showAlert(title, content).result.then(() => deps.$state.go('auth-changePassword', stateParams, options));\r\n}\r\n\r\nfunction redirectToHome(deps, stateParams = {}, options = {}) {\r\n deps.$state.go('home-view', stateParams, options);\r\n}\r\n\r\nfunction redirectAfterLogin(deps, model, attemptedRoute, stateParams = { skipDirtyForms: true }, options = {}) {\r\n const { session } = deps.$ngRedux.getState();\r\n const { loggedIn = false, privileges } = session;\r\n\r\n if (loggedIn && attemptedRoute) {\r\n const redirect = _.get(privileges, attemptedRoute.replace(/(-)/g, '.'));\r\n if (redirect) return deps.$state.go(attemptedRoute, stateParams, options);\r\n }\r\n if (loggedIn) {\r\n return redirectToFirstPageFromMenu(deps, stateParams, options);\r\n }\r\n if (attemptedRoute) {\r\n return deps.$state.go(attemptedRoute, stateParams, options);\r\n }\r\n return redirectToHome(deps, stateParams, options);\r\n}\r\n\r\nfunction getLocales() {\r\n const { config } = DepsService.$ngRedux.getState();\r\n const { locales } = config;\r\n return locales;\r\n}\r\n\r\n/*\r\n * CMS helpers\r\n */\r\nfunction getFieldsFromEntry(entry) {\r\n const locales = getLocales();\r\n const fields = {};\r\n\r\n Object.keys(entry.fields || {}).forEach((key) => {\r\n if (locales.findIndex((locale) => locale.code === key) > -1) {\r\n fields[key] = entry.fields[key].reduce((fieldObj, field) => {\r\n fieldObj[field.id] = field.value;\r\n return fieldObj;\r\n }, {});\r\n }\r\n });\r\n\r\n return fields;\r\n}\r\n\r\nfunction setFieldsToEntry(entry) {\r\n const locales = getLocales();\r\n const fields = {};\r\n\r\n locales.map((locale) => {\r\n if (entry[locale.code]) {\r\n fields[locale.code] = Object.keys(entry[locale.code]).reduce(\r\n (fields, key) =>\r\n fields.concat([\r\n {\r\n id: key,\r\n value: entry[locale.code][key],\r\n },\r\n ]),\r\n [],\r\n entry[locale.code]\r\n );\r\n }\r\n });\r\n return fields;\r\n}\r\n\r\n/*\r\n * END CMS helpers\r\n */\r\n\r\nfunction dragMove(eventObj) {\r\n const scrollMargin = document.getElementById('navbar').offsetHeight;\r\n const below = eventObj.clientY > window.innerHeight - scrollMargin;\r\n const above = eventObj.clientY < scrollMargin;\r\n if (below || above) {\r\n document.getElementById('body').scrollTop += below ? scrollMargin : -scrollMargin;\r\n }\r\n}\r\n\r\nfunction generateUUID() {\r\n const uuid = ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) =>\r\n (c ^ ((window.crypto || window.msCrypto).getRandomValues(new Uint8Array(1))[0] & (15 >> (c / 4)))).toString(16)\r\n );\r\n return uuid;\r\n}\r\n\r\n// get last children\r\nfunction extractDictionaryItem(dictionaryArray, availableStatuses = []) {\r\n return dictionaryArray.reduce((reduced, item) => {\r\n const statusObj = item.typeCodeTexts[0];\r\n const path = _.last(item.path.split('.'));\r\n if (availableStatuses.length === 0 || availableStatuses.indexOf(path) > -1) {\r\n reduced[item.typeCode] = {\r\n path: path.toUpperCase(),\r\n displayText: _.get(statusObj, 'displayText') || '',\r\n };\r\n }\r\n return reduced;\r\n }, {});\r\n}\r\n\r\n// get exact childs from the given dictionary path\r\nfunction extractDictionaryRoot(dictionaryArray, path) {\r\n return dictionaryArray.reduce((reduced, item) => {\r\n const statusObj = item.typeCodeTexts[0];\r\n const splittedLength = item.path.split('.').length;\r\n const pathSplitLength = path.split('.').length + 1;\r\n\r\n if (pathSplitLength === splittedLength) {\r\n reduced[item.typeCode] = {\r\n path: path.toUpperCase(),\r\n displayText: _.get(statusObj, 'displayText') || '',\r\n };\r\n }\r\n return reduced;\r\n }, {});\r\n}\r\n\r\nfunction trimHtml(content, trim = true) {\r\n const div = document.createElement('div');\r\n div.innerHTML = content;\r\n return trim ? div.innerText.trim() : div.innerText;\r\n}\r\n\r\nfunction setHeader(extension) {\r\n switch (extension) {\r\n case 'csv': {\r\n return { Accept: 'text/csv' };\r\n }\r\n case 'xlsx': {\r\n return { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n }\r\n default:\r\n return {};\r\n }\r\n}\r\n\r\nfunction calculateDaysLeftToPercentages(daysLeft, threshold) {\r\n const shouldCalculatePercentages = threshold >= daysLeft && daysLeft >= 0;\r\n const isBondRenewalExceeded = daysLeft <= 0;\r\n\r\n if (shouldCalculatePercentages) {\r\n const percent = ((threshold - daysLeft) / threshold) * 100;\r\n return Math.round(percent);\r\n }\r\n\r\n if (isBondRenewalExceeded) return 100;\r\n\r\n return 0;\r\n}\r\n\r\nfunction canCreateProspective(registrationType, privileges) {\r\n if (privileges.hasOwnProperty(\"create\")){\r\n if (privileges.create.hasOwnProperty(\"prospectiveRetailer\")){\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\n\r\nexport default {\r\n extractDictionaryItem,\r\n extractDictionaryRoot,\r\n validateField,\r\n shouldShowValidation,\r\n compare,\r\n b64toBlob,\r\n printElement,\r\n redirectAfterLogin,\r\n redirectToPasswordReset,\r\n redirectToHome,\r\n redirectToFirstPageFromMenu,\r\n getFieldsFromEntry,\r\n setFieldsToEntry,\r\n dragMove,\r\n downloadFile,\r\n generateUUID,\r\n trimHtml,\r\n setHeader,\r\n calculateDaysLeftToPercentages,\r\n canCreateProspective,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/app-helpers.js","import isObject from 'lodash/isObject';\r\nimport get from 'lodash/get';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope')\r\nclass DashboardWidgetController {\r\n constructor() {\r\n this.isLoading = true;\r\n this.isMaintenance = false;\r\n }\r\n\r\n loadDataAsync(loadDataFunction, transformDataFunction, isEmptyPath) {\r\n this.isLoading = true;\r\n this.$scope.$applyAsync(\r\n loadDataFunction()\r\n .then((data) => {\r\n const checkIfEmpty = (dataToCheck) => {\r\n if (isObject(dataToCheck)) {\r\n if (isEmptyPath) return isEmpty(get(dataToCheck, isEmptyPath));\r\n return isEmpty(dataToCheck);\r\n }\r\n return !dataToCheck;\r\n };\r\n this.isEmpty = checkIfEmpty(data);\r\n this.data = !this.isEmpty && transformDataFunction ? transformDataFunction(data) : data;\r\n })\r\n .catch((error) => {\r\n console.error('WIDGET_LOAD_DATA', error);\r\n this.isMaintenance = true;\r\n })\r\n .finally(() => {\r\n this.isLoading = false;\r\n })\r\n );\r\n }\r\n}\r\n\r\nexport default DashboardWidgetController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/dashboard-widget-controller.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\n\r\nexport const ASC_DESC_MAPPING = {\r\n true: 'asc', // eslint-disable-line quote-props\r\n false: 'desc', // eslint-disable-line quote-props\r\n};\r\n\r\nexport const defaultFilterHandler = (item, filters, key) => {\r\n const filterValue = _.toString(_.get(filters, key)).toLowerCase();\r\n const itemValue = _.toString(_.get(item, key)).toLowerCase();\r\n return !filterValue || itemValue.indexOf(filterValue) > -1;\r\n};\r\n\r\nexport function initGrid(fetchFunction, params = {}) {\r\n const gridModel = initialGridModel(params);\r\n const fetchDataFunc = fetchData.bind(null, fetchFunction, gridModel);\r\n const gotoPageFunc = gotoPage.bind(null, gridModel, fetchDataFunc);\r\n\r\n const gridProto = {\r\n fetchData: fetchDataFunc,\r\n applyFilters: applyFilters.bind(null, gridModel, fetchDataFunc),\r\n sortByColumn: sortByColumn.bind(null, gridModel, fetchDataFunc),\r\n changePageSize: changePageSize.bind(null, gridModel, fetchDataFunc),\r\n gotoPage: gotoPageFunc,\r\n nextPage: nextPage.bind(null, gridModel, gotoPageFunc),\r\n prevPage: prevPage.bind(null, gridModel, gotoPageFunc),\r\n };\r\n\r\n return Object.assign({}, gridProto, gridModel);\r\n}\r\n\r\nfunction initialGridModel(params) {\r\n return {\r\n loaded: false,\r\n pagingModel: {\r\n [DepsService.config.pageNoKey]: params[DepsService.config.pageNoKey] || DepsService.config.defaultPageNo,\r\n [DepsService.config.pageSizeKey]: params[DepsService.config.pageSizeKey] || DepsService.config.defaultPageSize[0],\r\n [DepsService.config.sortColumnKey]: params[DepsService.config.sortColumnKey] || DepsService.config.defaultSortColumnKey,\r\n [DepsService.config.directionKey]: params[DepsService.config.directionKey] === undefined ? DepsService.config.defaultSortDirection : params[DepsService.config.directionKey],\r\n [DepsService.config.filtersKey]: {},\r\n retailerId: params['retailerId'] || void 0,\r\n },\r\n };\r\n}\r\n\r\nfunction fetchData(fetchFunction, gridModel) {\r\n return fetchFunction(gridModel.pagingModel);\r\n}\r\n\r\nfunction gotoPage(gridModel, fetchFunction, page) {\r\n gridModel.pagingModel[DepsService.config.pageNoKey] = Number.isNaN(page) ? 0 : page;\r\n return fetchFunction();\r\n}\r\n\r\nfunction nextPage(gridModel, gotoPageFunc) {\r\n let pageNo = gridModel.pagingModel[DepsService.config.pageNoKey];\r\n return gotoPageFunc(++pageNo);\r\n}\r\n\r\nfunction prevPage(gridModel, gotoPageFunc) {\r\n let pageNo = gridModel.pagingModel[DepsService.config.pageNoKey];\r\n return gotoPageFunc(--pageNo);\r\n}\r\n\r\nfunction setFilters(DepsService, gridModel, model, filters) {\r\n return _.set(model, `${gridModel}.${DepsService.config.filtersKey}`, filters);\r\n}\r\n\r\nfunction removeEmptyFilters(filters = []) {\r\n return Object.keys(filters).reduce((newFilters, key) => {\r\n const value = filters[key];\r\n if (value !== undefined && value !== null && value !== '') {\r\n newFilters[key] = value;\r\n }\r\n return newFilters;\r\n }, {});\r\n}\r\n\r\nfunction applyFilters(gridModel, fetchDataFunc, filters) {\r\n gridModel.pagingModel[DepsService.config.filtersKey] = filters || gridModel.pagingModel[DepsService.config.filtersKey];\r\n gridModel.pagingModel[DepsService.config.filtersKey] = removeEmptyFilters(gridModel.pagingModel[DepsService.config.filtersKey]);\r\n gridModel.pagingModel[DepsService.config.pageNoKey] = 0;\r\n return fetchDataFunc(gridModel);\r\n}\r\n\r\nfunction sortByColumn(gridModel, fetchData, column, direction) {\r\n gridModel.pagingModel[DepsService.config.sortColumnKey] = column;\r\n gridModel.pagingModel[DepsService.config.directionKey] = direction.toString();\r\n return fetchData(gridModel);\r\n}\r\n\r\nfunction changePageSize(gridModel, fetchData, pageSize) {\r\n gridModel.pagingModel[DepsService.config.pageSizeKey] = pageSize;\r\n return fetchData(gridModel);\r\n}\r\n\r\nexport function sortItems(items, column, direction) {\r\n items = items.map((item) => {\r\n item[column + 'toLowerCase'] = _.isString(item[column]) ? item[column].toLowerCase() : item[column];\r\n return item;\r\n });\r\n items = _.orderBy(items, [column + 'toLowerCase'], [direction]);\r\n items = items.map((item) => {\r\n _.unset(item, [column + 'toLowerCase']);\r\n return item;\r\n });\r\n return items;\r\n}\r\n\r\nexport function filterItems(items, filters = {}, customHandlers = {}) {\r\n const filterKeys = Object.keys(filters).filter((item) => filters[item] !== undefined && filters[item] !== null);\r\n return _.cloneDeep(items).filter((item) => filterKeys.every((key) => (customHandlers[key] || defaultFilterHandler)(item, filters, key)));\r\n}\r\n\r\nexport function evalMeta(result) {\r\n return {\r\n count: result.totalElements,\r\n pagesCount: result.totalPages,\r\n page: result.number,\r\n displayedPage: ++result.number,\r\n pageSize: result.size,\r\n hasPreviousPage: result.hasPrevious,\r\n hasNextPage: result.hasNext,\r\n };\r\n}\r\n\r\nexport default {\r\n setFilters,\r\n defaultFilterHandler,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/grid/grid.js","export default {\r\n FETCH_PRICE_POINTS_DICTIONARY_REQUEST: 'FETCH_PRICE_POINTS_DICTIONARY_REQUEST',\r\n FETCH_PRICE_POINTS_DICTIONARY_SUCCESS: 'FETCH_PRICE_POINTS_DICTIONARY_SUCCESS',\r\n FETCH_PRICE_POINTS_DICTIONARY_FAILURE: 'FETCH_PRICE_POINTS_DICTIONARY_FAILURE',\r\n\r\n FETCH_PACK_STATUSES_DICTIONARY_REQUEST: 'FETCH_PACK_STATUSES_DICTIONARY_REQUEST',\r\n FETCH_PACK_STATUSES_DICTIONARY_SUCCESS: 'FETCH_PACK_STATUSES_DICTIONARY_SUCCESS',\r\n FETCH_PACK_STATUSES_DICTIONARY_FAILURE: 'FETCH_PACK_STATUSES_DICTIONARY_FAILURE',\r\n\r\n FETCH_ORDER_STATUSES_DICTIONARY_REQUEST: 'FETCH_ORDER_STATUSES_DICTIONARY_REQUEST',\r\n FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS: 'FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS',\r\n FETCH_ORDER_STATUSES_DICTIONARY_FAILURE: 'FETCH_ORDER_STATUSES_DICTIONARY_FAILURE',\r\n\r\n FETCH_USER_CLASS_DICTIONARY_REQUEST: 'FETCH_USER_CLASS_DICTIONARY_REQUEST',\r\n FETCH_USER_CLASS_DICTIONARY_SUCCESS: 'FETCH_USER_CLASS_DICTIONARY_SUCCESS',\r\n FETCH_USER_CLASS_DICTIONARY_FAILURE: 'FETCH_USER_CLASS_DICTIONARY_FAILURE',\r\n\r\n FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST: 'FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST',\r\n FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS: 'FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS',\r\n FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE: 'FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE',\r\n\r\n FETCH_TIERS_DICTIONARY_REQUEST: 'FETCH_TIERS_DICTIONARY_REQUEST',\r\n FETCH_TIERS_DICTIONARY_SUCCESS: 'FETCH_TIERS_DICTIONARY_SUCCESS',\r\n FETCH_TIERS_DICTIONARY_FAILURE: 'FETCH_TIERS_DICTIONARY_FAILURE',\r\n\r\n FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST: 'FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST',\r\n FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS: 'FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS',\r\n FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE: 'FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE',\r\n\r\n FETCH_INVOICE_DATES_DICTIONARY_REQUEST: 'FETCH_INVOICE_DATES_DICTIONARY_REQUEST',\r\n FETCH_INVOICE_DATES_DICTIONARY_SUCCESS: 'FETCH_INVOICE_DATES_DICTIONARY_SUCCESS',\r\n FETCH_INVOICE_DATES_DICTIONARY_FAILURE: 'FETCH_INVOICE_DATES_DICTIONARY_FAILURE',\r\n\r\n FETCH_USER_TEMPLATES_DICTIONARY_REQUEST: 'FETCH_USER_TEMPLATES_DICTIONARY_REQUEST',\r\n FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS: 'FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS',\r\n FETCH_USER_TEMPLATES_DICTIONARY_FAILURE: 'FETCH_USER_TEMPLATES_DICTIONARY_FAILURE',\r\n\r\n FETCH_OUTLET_TYPES_DICTIONARY_REQUEST: 'FETCH_OUTLET_TYPES_DICTIONARY_REQUEST',\r\n FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS: 'FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS',\r\n FETCH_OUTLET_TYPES_DICTIONARY_FAILURE: 'FETCH_OUTLET_TYPES_DICTIONARY_FAILURE',\r\n\r\n FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST: 'FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST',\r\n FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS: 'FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS',\r\n FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE: 'FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE',\r\n\r\n FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST: 'FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST',\r\n FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS: 'FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS',\r\n FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE: 'FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE',\r\n\r\n FETCH_LOTTERY_TERMS_DICTIONARY_REQUEST: 'FETCH_LOTTERY_TERMS_DICTIONARY_REQUEST',\r\n FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS: 'FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS',\r\n FETCH_LOTTERY_TERMS_DICTIONARY_FAILURE: 'FETCH_LOTTERY_TERMS_DICTIONARY_FAILURE',\r\n\r\n FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST: 'FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST',\r\n FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS: 'FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS',\r\n FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE: 'FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/dictionaries.action-types.js","import { createSelector } from 'reselect';\r\nimport get from 'lodash/get';\r\n\r\nexport const getApplicationName = createSelector(\r\n [(state) => state.session.locale, (state) => state.config.applicationName],\r\n (locale, applicationName) => applicationName[locale]\r\n);\r\n\r\nexport const getOAuthClientId = ({ session }) => session.oAuthClientId;\r\n\r\nexport const getRetailerId = ({ session }) => get(session, 'retailer.retailerId');\r\n\r\nexport const getLicenseId = ({ relicensing }) => get(relicensing, 'licenseForm.arwTermsVersion');\r\n\r\nexport const isSuperChainSelector = ({ session }) =>\r\n get(session, 'retailer.isSuperChain', false) || get(session, 'retailerDashboard.isSuperChain', false);\r\n\r\nexport const isChainHeadSelector = ({ session }) =>\r\n get(session, 'retailer.isChainHead', false) || get(session, 'retailerDashboard.isChainHead', false);\r\n\r\nexport const isChainSubordinateSelector = ({ session }) =>\r\n get(session, 'retailer.isChainSubordinate', false) || get(session, 'retailerDashboard.isChainSubordinate', false);\r\n\r\nexport const isIndependentSelector = ({ session }) =>\r\n get(session, 'retailer.isIndependent', false) || get(session, 'retailerDashboard.isIndependent', false);\r\n\r\nexport const isStoreProfileSelector = ({ session }) => get(session, 'retailer.isStoreProfile', false);\r\n\r\nexport const isRetailerDashboardSelector = ({ retailerDashboards }) => !!retailerDashboards.type;\r\n\r\nconst inboxMessagesSelector = (state) => state.messages.inbox;\r\nconst selectedMessagesListSelector = (state) => state.messages.selectedMessages.selectedMessagesList;\r\n\r\nexport const selectedMessageDetailsSelector = createSelector(\r\n [inboxMessagesSelector, selectedMessagesListSelector],\r\n (inbox, selectedMessagesList) => {\r\n if (selectedMessagesList.length === 0) return null;\r\n const [selectedId] = selectedMessagesList;\r\n\r\n return inbox.find((msg) => msg.userMessageId === selectedId);\r\n }\r\n);\r\n\r\nconst activeAnnouncementsSelector = (state) => state.announcements.active;\r\n\r\nexport const isEmptyActiveAnnouncementsSelector = createSelector(\r\n [activeAnnouncementsSelector],\r\n (announcements) => announcements.length === 0\r\n);\r\n\r\nconst firstNameSelector = (state) => state.session.firstName;\r\nconst lastNameSelector = (state) => state.session.lastName;\r\nconst MAX_WELCOME_LENGTH = 20;\r\n\r\nexport const getDisplayUserNameSelector = createSelector([firstNameSelector, lastNameSelector], (firstName, lastName) => {\r\n // Check if first name and last name exist\r\n if (!firstName || !lastName) {\r\n return null;\r\n }\r\n // For those users whose first and last names together exceed limit of 20 characters, the system shall...\r\n if (firstName.length + lastName.length > MAX_WELCOME_LENGTH) {\r\n // If both first name and last name exceeds our maximum length of 20, names shall be eliminated altogether\r\n if (firstName.length > MAX_WELCOME_LENGTH && lastName.length > MAX_WELCOME_LENGTH) {\r\n return '';\r\n }\r\n // If the last name is the same length as the first name\r\n if (firstName.length === lastName.length) {\r\n return firstName;\r\n }\r\n // If the last name is 1-2 characters shorter than the first name\r\n if (firstName.length - lastName.length >= 1 && firstName.length - lastName.length < 3) {\r\n return firstName;\r\n }\r\n // Where the first name is 3+ characters longer than the last name\r\n if (firstName.length - lastName.length >= 3) {\r\n return `${firstName.charAt(0)}. ${lastName}`;\r\n }\r\n // If the last name is longer than the first name\r\n if (lastName.length > firstName.length) {\r\n return firstName;\r\n }\r\n }\r\n return `${firstName} ${lastName}`;\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/selectors/index.js","export default {\r\n DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST: 'DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST',\r\n DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS: 'DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS',\r\n DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE: 'DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE',\r\n\r\n DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST: 'DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST',\r\n DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS: 'DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS',\r\n DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE: 'DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE',\r\n\r\n FETCH_GAMES_LIST_REQUEST: 'FETCH_GAMES_LIST_REQUEST',\r\n FETCH_GAMES_LIST_SUCCESS: 'FETCH_GAMES_LIST_SUCCESS',\r\n FETCH_GAMES_LIST_FAILURE: 'FETCH_GAMES_LIST_FAILURE',\r\n\r\n FETCH_PACKS_LIST_REQUEST: 'FETCH_PACKS_LIST_REQUEST',\r\n FETCH_PACKS_LIST_SUCCESS: 'FETCH_PACKS_LIST_SUCCESS',\r\n FETCH_PACKS_LIST_FAILURE: 'FETCH_PACKS_LIST_FAILURE',\r\n\r\n FETCH_PACKS_GROSS_VALUE_LIST_REQUEST: 'FETCH_PACKS_GROSS_VALUE_LIST_REQUEST',\r\n FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS: 'FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS',\r\n FETCH_PACKS_GROSS_VALUE_LIST_FAILURE: 'FETCH_PACKS_GROSS_VALUE_LIST_FAILURE',\r\n\r\n FETCH_PACK_DETAILS_REQUEST: 'FETCH_PACK_DETAILS_REQUEST',\r\n FETCH_PACK_DETAILS_SUCCESS: 'FETCH_PACK_DETAILS_SUCCESS',\r\n FETCH_PACK_DETAILS_FAILURE: 'FETCH_PACK_DETAILS_FAILURE',\r\n\r\n FETCH_ORDER_DETAILS_REQUEST: 'FETCH_ORDER_DETAILS_REQUEST',\r\n FETCH_ORDER_DETAILS_SUCCESS: 'FETCH_ORDER_DETAILS_SUCCESS',\r\n FETCH_ORDER_DETAILS_FAILURE: 'FETCH_ORDER_DETAILS_FAILURE',\r\n\r\n FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST: 'FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST',\r\n FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS: 'FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS',\r\n FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE: 'FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE',\r\n\r\n FETCH_LIABILITIES_REQUEST: 'FETCH_LIABILITIES_REQUEST',\r\n FETCH_LIABILITIES_SUCCESS: 'FETCH_LIABILITIES_SUCCESS',\r\n FETCH_LIABILITIES_FAILURE: 'FETCH_LIABILITIES_FAILURE',\r\n\r\n FETCH_ORDER_HISTORY_REQUEST: 'FETCH_ORDER_HISTORY_REQUEST',\r\n FETCH_ORDER_HISTORY_SUCCESS: 'FETCH_ORDER_HISTORY_SUCCESS',\r\n FETCH_ORDER_HISTORY_FAILURE: 'FETCH_ORDER_HISTORY_FAILURE',\r\n\r\n ON_ITEM_LIST_SELECTION: 'ON_ITEM_LIST_SELECTION',\r\n RESET_DETAILS_DIALOG_DATA: 'RESET_DETAILS_DIALOG_DATA',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/action-types.js","const EMPTY_ROLES = [];\r\nconst RETAILER_PRIMARY_ROLE = 'RETAILER_PRIMARY';\r\nconst PRIMARY_USER_ROLES = [RETAILER_PRIMARY_ROLE];\r\nconst SECONDARY_USER_ROLES = ['RETAILER_SECONDARY'];\r\nconst RETAILER_PROSPECTIVE_ROLES = ['RETAILER_PROSPECTIVE'];\r\nconst ADMIN_ROLES = ['ADMIN'];\r\nconst ADMIN_TEMPORARY_ROLES = ['ADMINTemporary'];\r\nconst RETAILER_GROUP_ROLES = ['RETAILER_GROUP'];\r\nconst RETAILER_GROUP_TEMPORARY_ROLES = ['RETAILER_GROUPTemporary'];\r\nconst USER_ROLES = PRIMARY_USER_ROLES.concat(SECONDARY_USER_ROLES, RETAILER_PROSPECTIVE_ROLES, RETAILER_GROUP_ROLES);\r\nconst TEMPORARY_ROLES = ['RETAILER_PRIMARYTemporary', 'RETAILER_GROUPTemporary', 'RETAILER_SECONDARYTemporary', 'ADMINTemporary'];\r\nconst LOGGED_USER_ROLES = ADMIN_ROLES.concat(USER_ROLES);\r\nconst ANONYOUS_ROLE = TEMPORARY_ROLES.concat(['anonymous', 'mock']);\r\nconst ALL_ROLES = ANONYOUS_ROLE.concat(LOGGED_USER_ROLES);\r\nconst ADMIN_WITH_PRIMARY_ROLES = ADMIN_ROLES.concat(PRIMARY_USER_ROLES);\r\nexport const CHAIN_SUFFIX = 'CHAIN_';\r\nexport const RETAILER_TYPE = {\r\n CHAIN_HEAD: 'CHAIN_HEAD',\r\n CHAIN_SUBORDINATE: 'CHAIN_SUBORDINATE',\r\n SUPER_CHAIN: 'SUPER_CHAIN',\r\n INDEPENDENT: 'INDEPENDENT',\r\n PROSPECTIVE: 'PROSPECTIVE',\r\n};\r\nexport const REGISTRATION_TYPE = {\r\n RETAILER_ID: 'RetailerId',\r\n NO_RETAILER_ID: 'NoRetailerId',\r\n};\r\n\r\nexport default {\r\n RETAILER_PRIMARY_ROLE,\r\n EMPTY_ROLES,\r\n PRIMARY_USER_ROLES,\r\n SECONDARY_USER_ROLES,\r\n RETAILER_PROSPECTIVE_ROLES,\r\n ADMIN_ROLES,\r\n ADMIN_TEMPORARY_ROLES,\r\n USER_ROLES,\r\n TEMPORARY_ROLES,\r\n LOGGED_USER_ROLES,\r\n ANONYOUS_ROLE,\r\n ALL_ROLES,\r\n ADMIN_WITH_PRIMARY_ROLES,\r\n RETAILER_GROUP_ROLES,\r\n RETAILER_GROUP_TEMPORARY_ROLES,\r\n RETAILER_TYPE,\r\n CHAIN_SUFFIX,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/validators/roles.js","export const loadingStatusAccordingToReducer = (loadingStatusName = '') => (state = false, action) => {\r\n const { name } = action;\r\n if (name !== loadingStatusName) return state;\r\n\r\n const suffix = action.type.split('_').pop();\r\n\r\n switch (suffix) {\r\n case 'SUCCESS':\r\n case 'FAILURE':\r\n return false;\r\n case 'REQUEST':\r\n return true;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/loading-status/loading-status.js","import get from 'lodash/get';\r\n\r\nclass DefaultDialogController {\r\n constructor() {\r\n const resolve = get(this, '$resolve') || {};\r\n Object.keys(resolve).forEach((key) => {\r\n this[key] = resolve[key];\r\n });\r\n }\r\n\r\n close() {\r\n return this.$dismiss();\r\n }\r\n\r\n confirm(result) {\r\n return this.$close(result);\r\n }\r\n}\r\n\r\nexport default DefaultDialogController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/notifications/default-dialog-controller.js","export default {\r\n FETCH_CONFIG_REQUEST: 'FETCH_CONFIG_REQUEST',\r\n FETCH_CONFIG_SUCCESS: 'FETCH_CONFIG_SUCCESS',\r\n FETCH_CONFIG_FAILURE: 'FETCH_CONFIG_FAILURE',\r\n\r\n SAVE_THEME_REQUEST: 'SAVE_THEME_REQUEST',\r\n SAVE_THEME_SUCCESS: 'SAVE_THEME_SUCCESS',\r\n SAVE_THEME_FAILURE: 'SAVE_THEME_FAILURE',\r\n\r\n SET_CURRENT_THEME_SUCCESS: 'SET_CURRENT_THEME_SUCCESS',\r\n UPDATE_THEME_COLOR_SUCCESS: 'UPDATE_THEME_COLOR_SUCCESS',\r\n\r\n FETCH_BANNERS_REQUEST: 'FETCH_BANNERS_REQUEST',\r\n FETCH_BANNERS_SUCCESS: 'FETCH_BANNERS_SUCCESS',\r\n FETCH_BANNERS_FAILURE: 'FETCH_BANNERS_FAILURE',\r\n\r\n FETCH_LOGIN_POPUP_REQUEST: 'FETCH_LOGIN_POPUP_REQUEST',\r\n FETCH_LOGIN_POPUP_SUCCESS: 'FETCH_LOGIN_POPUP_SUCCESS',\r\n FETCH_LOGIN_POPUP_FAILURE: 'FETCH_LOGIN_POPUP_FAILURE',\r\n\r\n FETCH_CMS_TERMS_OF_USE_REQUEST: 'FETCH_CMS_TERMS_OF_USE_REQUEST',\r\n FETCH_CMS_TERMS_OF_USE_FAILURE: 'FETCH_CMS_TERMS_OF_USE_FAILURE',\r\n FETCH_CMS_TERMS_OF_USE_SUCCESS: 'FETCH_CMS_TERMS_OF_USE_SUCCESS',\r\n\r\n FETCH_CMS_PRIVACY_POLICY_REQUEST: 'FETCH_CMS_PRIVACY_POLICY_REQUEST',\r\n FETCH_CMS_PRIVACY_POLICY_FAILURE: 'FETCH_CMS_PRIVACY_POLICY_FAILURE',\r\n FETCH_CMS_PRIVACY_POLICY_SUCCESS: 'FETCH_CMS_PRIVACY_POLICY_SUCCESS',\r\n\r\n CLEAR_CMS_TERMS: 'CLEAR_CMS_TERMS',\r\n\r\n FETCH_WIDGETS_REQUEST: 'FETCH_WIDGETS_REQUEST',\r\n FETCH_WIDGETS_SUCCESS: 'FETCH_WIDGETS_SUCCESS',\r\n FETCH_WIDGETS_FAILURE: 'FETCH_WIDGETS_FAILURE',\r\n CANCEL_WIDGETS_CHANGES: 'CANCEL_WIDGETS_CHANGES',\r\n DELETE_WIDGET: 'DELETE_WIDGET',\r\n UPDATE_WIDGET: 'UPDATE_WIDGET',\r\n ADD_WIDGET: 'ADD_WIDGET',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/action-types.js","import _ from 'lodash';\r\nimport angular from 'angular';\r\nimport { sha256 } from 'js-sha256';\r\nimport * as api from 'lsp/lsp.api';\r\n\r\nfunction createNgFactory(FactoryClass) {\r\n return (FactoryClass.$inject || []).concat((...args) => new FactoryClass(...args));\r\n}\r\n\r\nfunction pageHeader(menu, key, value) {\r\n const obj = _.find(menu, [key, value]);\r\n return obj ? obj.title || obj.label : '';\r\n}\r\n\r\nfunction jsonObjectParameter(filterName) {\r\n return {\r\n name: filterName,\r\n decode(val) {\r\n return val ? JSON.parse(val) : {};\r\n },\r\n encode(val) {\r\n return JSON.stringify(val);\r\n },\r\n equals(a, b) {\r\n return this.is(a) && this.is(b) && a.fileType === b.fileType;\r\n },\r\n is(val) {\r\n return angular.isObject(val);\r\n },\r\n };\r\n}\r\n\r\nfunction randomString(len, charSet) {\r\n charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\r\n let randomString = '';\r\n for (let i = 0; i < len; i++) {\r\n const randomPoz = Math.floor(Math.random() * charSet.length);\r\n randomString += charSet.substring(randomPoz, randomPoz + 1);\r\n }\r\n return randomString;\r\n}\r\n\r\nfunction getHashes(code, salts) {\r\n if (!code) return;\r\n const codeBytes = [];\r\n for (let i = 0; i < code.length; i++) {\r\n codeBytes.push(code.charCodeAt(i));\r\n }\r\n\r\n if (salts) {\r\n return salts.map((salt) => {\r\n const bytes = [];\r\n for (let c = 0; c < salt.length; c += 2) {\r\n bytes.push(parseInt(salt.substr(c, 2), 16));\r\n }\r\n return sha256(codeBytes.concat(bytes));\r\n });\r\n } else {\r\n return [code];\r\n }\r\n}\r\n\r\nfunction redirectToLSP(redirectionUrlType, adminId, alertId = null) {\r\n api.fetchRedirectDetails(redirectionUrlType, adminId, alertId).then((results) => {\r\n if (results.redirectDto.tokenType === 'JWT') {\r\n const form = window.document.createElement('form');\r\n form.method = 'POST';\r\n form.target = '_blank';\r\n form.action = results.baseUrl;\r\n for (let prop in results.redirectDto) {\r\n const input = window.document.createElement('input');\r\n input.type = 'hidden';\r\n input.name = prop;\r\n input.value = results.redirectDto[prop];\r\n form.append(input);\r\n }\r\n window.document.body.appendChild(form);\r\n form.submit();\r\n }\r\n });\r\n}\r\n\r\nexport default {\r\n createNgFactory,\r\n pageHeader,\r\n jsonObjectParameter,\r\n randomString,\r\n getHashes,\r\n redirectToLSP,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/lsp-utils-service.js","const FETCH_MESSAGES_LIST_REQUEST = 'FETCH_MESSAGES_LIST_REQUEST';\r\nconst FETCH_MESSAGES_LIST_FAILURE = 'FETCH_MESSAGES_LIST_FAILURE';\r\nconst FETCH_MESSAGES_LIST_SUCCESS = 'FETCH_MESSAGES_LIST_SUCCESS';\r\n\r\nconst FETCH_MESSAGE_REQUEST = 'FETCH_MESSAGE_REQUEST';\r\nconst FETCH_MESSAGE_FAILURE = 'FETCH_MESSAGE_FAILURE';\r\nconst FETCH_MESSAGE_SUCCESS = 'FETCH_MESSAGE_SUCCESS';\r\n\r\nconst FETCH_UNREAD_MESSAGES_COUNT_REQUEST = 'FETCH_UNREAD_MESSAGES_COUNT_REQUEST';\r\nconst FETCH_UNREAD_MESSAGES_COUNT_FAILURE = 'FETCH_UNREAD_MESSAGES_COUNT_FAILURE';\r\nconst FETCH_UNREAD_MESSAGES_COUNT_SUCCESS = 'FETCH_UNREAD_MESSAGES_COUNT_SUCCESS';\r\n\r\nconst DELETE_MESSAGES_REQUEST = 'DELETE_MESSAGES_REQUEST';\r\nconst DELETE_MESSAGES_FAILURE = 'DELETE_MESSAGES_FAILURE';\r\nconst DELETE_MESSAGES_SUCCESS = 'DELETE_MESSAGES_SUCCESS';\r\n\r\nconst DELETE_MESSAGE_REQUEST = 'DELETE_MESSAGE_REQUEST';\r\nconst DELETE_MESSAGE_FAILURE = 'DELETE_MESSAGE_FAILURE';\r\nconst DELETE_MESSAGE_SUCCESS = 'DELETE_MESSAGE_SUCCESS';\r\n\r\nconst DELETE_SENT_MESSAGES_REQUEST = 'DELETE_SENT_MESSAGES_REQUEST';\r\nconst DELETE_SENT_MESSAGES_FAILURE = 'DELETE_SENT_MESSAGES_FAILURE';\r\nconst DELETE_SENT_MESSAGES_SUCCESS = 'DELETE_SENT_MESSAGES_SUCCESS';\r\n\r\nconst DELETE_SENT_MESSAGE_REQUEST = 'DELETE_SENT_MESSAGE_REQUEST';\r\nconst DELETE_SENT_MESSAGE_FAILURE = 'DELETE_SENT_MESSAGE_FAILURE';\r\nconst DELETE_SENT_MESSAGE_SUCCESS = 'DELETE_SENT_MESSAGE_SUCCESS';\r\n\r\nconst MARK_MESSAGE_AS_UNREAD_REQUEST = 'MARK_MESSAGE_AS_UNREAD_REQUEST';\r\nconst MARK_MESSAGE_AS_UNREAD_FAILURE = 'MARK_MESSAGE_AS_UNREAD_FAILURE';\r\nconst MARK_MESSAGE_AS_UNREAD_SUCCESS = 'MARK_MESSAGE_AS_UNREAD_SUCCESS';\r\n\r\nconst MARK_MESSAGE_AS_READ_REQUEST = 'MARK_MESSAGE_AS_READ_REQUEST';\r\nconst MARK_MESSAGE_AS_READ_FAILURE = 'MARK_MESSAGE_AS_READ_FAILURE';\r\nconst MARK_MESSAGE_AS_READ_SUCCESS = 'MARK_MESSAGE_AS_READ_SUCCESS';\r\n\r\nconst FETCH_SENT_MESSAGES_LIST_REQUEST = 'FETCH_SENT_MESSAGES_LIST_REQUEST';\r\nconst FETCH_SENT_MESSAGES_LIST_FAILURE = 'FETCH_SENT_MESSAGES_LIST_FAILURE';\r\nconst FETCH_SENT_MESSAGES_LIST_SUCCESS = 'FETCH_SENT_MESSAGES_LIST_SUCCESS';\r\n\r\nconst FETCH_RECIPIENTS_REQUEST = 'FETCH_RECIPIENTS_REQUEST';\r\nconst FETCH_RECIPIENTS_FAILURE = 'FETCH_RECIPIENTS_FAILURE';\r\nconst FETCH_RECIPIENTS_SUCCESS = 'FETCH_RECIPIENTS_SUCCESS';\r\n\r\nconst REPLY_MESSAGE_REQUEST = 'REPLY_MESSAGE_REQUEST';\r\nconst REPLY_MESSAGE_FAILURE = 'REPLY_MESSAGE_FAILURE';\r\nconst REPLY_MESSAGE_SUCCESS = 'REPLY_MESSAGE_SUCCESS';\r\n\r\nconst ADD_MESSAGE_TO_SELECTED = 'ADD_MESSAGE_TO_SELECTED';\r\nconst DELETE_MESSAGE_FROM_SELECTED = 'DELETE_MESSAGE_FROM_SELECTED';\r\nconst TOGGLE_SELECT_ALL_MESSAGES_POINTER = 'TOGGLE_SELECT_ALL_MESSAGES_POINTER';\r\nconst SET_SELECT_ALL_MESSAGES_POINTER = 'SET_SELECT_ALL_MESSAGES_POINTER';\r\nconst CLEAR_SELECTED_MESSAGES_LIST = 'CLEAR_SELECTED_MESSAGES_LIST';\r\nconst CLEAR_SELECTED_MESSAGE = 'CLEAR_SELECTED_MESSAGE';\r\nconst RESET_INBOX = 'RESET_INBOX';\r\n\r\nexport default {\r\n FETCH_MESSAGES_LIST_REQUEST,\r\n FETCH_MESSAGES_LIST_SUCCESS,\r\n FETCH_MESSAGES_LIST_FAILURE,\r\n FETCH_MESSAGE_REQUEST,\r\n FETCH_MESSAGE_SUCCESS,\r\n FETCH_MESSAGE_FAILURE,\r\n FETCH_UNREAD_MESSAGES_COUNT_REQUEST,\r\n FETCH_UNREAD_MESSAGES_COUNT_SUCCESS,\r\n FETCH_UNREAD_MESSAGES_COUNT_FAILURE,\r\n DELETE_MESSAGES_REQUEST,\r\n DELETE_MESSAGES_SUCCESS,\r\n DELETE_MESSAGES_FAILURE,\r\n DELETE_MESSAGE_REQUEST,\r\n DELETE_MESSAGE_SUCCESS,\r\n DELETE_MESSAGE_FAILURE,\r\n DELETE_SENT_MESSAGES_REQUEST,\r\n DELETE_SENT_MESSAGES_SUCCESS,\r\n DELETE_SENT_MESSAGES_FAILURE,\r\n DELETE_SENT_MESSAGE_REQUEST,\r\n DELETE_SENT_MESSAGE_SUCCESS,\r\n DELETE_SENT_MESSAGE_FAILURE,\r\n MARK_MESSAGE_AS_UNREAD_REQUEST,\r\n MARK_MESSAGE_AS_UNREAD_FAILURE,\r\n MARK_MESSAGE_AS_UNREAD_SUCCESS,\r\n MARK_MESSAGE_AS_READ_REQUEST,\r\n MARK_MESSAGE_AS_READ_FAILURE,\r\n MARK_MESSAGE_AS_READ_SUCCESS,\r\n FETCH_SENT_MESSAGES_LIST_REQUEST,\r\n FETCH_SENT_MESSAGES_LIST_SUCCESS,\r\n FETCH_SENT_MESSAGES_LIST_FAILURE,\r\n FETCH_RECIPIENTS_REQUEST,\r\n FETCH_RECIPIENTS_SUCCESS,\r\n FETCH_RECIPIENTS_FAILURE,\r\n REPLY_MESSAGE_REQUEST,\r\n REPLY_MESSAGE_FAILURE,\r\n REPLY_MESSAGE_SUCCESS,\r\n ADD_MESSAGE_TO_SELECTED,\r\n DELETE_MESSAGE_FROM_SELECTED,\r\n TOGGLE_SELECT_ALL_MESSAGES_POINTER,\r\n SET_SELECT_ALL_MESSAGES_POINTER,\r\n CLEAR_SELECTED_MESSAGES_LIST,\r\n CLEAR_SELECTED_MESSAGE,\r\n RESET_INBOX,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/action-types.js","import moment from 'moment';\r\n\r\nimport DepsService from 'services/dependencies';\r\nimport _ from 'lodash';\r\n\r\nconst CONTEXT = 'dictionaries';\r\nconst INVOICE_DATE_FORMAT = 'YYYY-MM-DD';\r\n\r\n// Helpers\r\nexport const lowerCase = (string) => {\r\n if (!string) return null;\r\n\r\n return _.lowerCase(string);\r\n};\r\n\r\nexport const transformTemplatesDTO = (templates) => {\r\n let dictionaryDTO = {};\r\n\r\n templates.forEach((template) => {\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [template.id]: {\r\n ...template.translations,\r\n },\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const transformDictionaryDTO = (data) => {\r\n let dictionaryDTO = {};\r\n\r\n data.forEach((item) => {\r\n const key = item.stage || item.typeCode || item.key;\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [key]: {\r\n ...item,\r\n },\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const calculateRange = (date) => {\r\n const startDate = DepsService.$filter('date')(date.periodStartDate, 'shortDate');\r\n const endDate = DepsService.$filter('date')(date.periodEndDate, 'shortDate');\r\n\r\n return `${startDate} - ${endDate}`;\r\n};\r\n\r\nexport const calculateInvoicesDatesRange = (dates) =>\r\n dates.map((date) => ({\r\n id: moment(date.periodEndDate).format(INVOICE_DATE_FORMAT),\r\n value: calculateRange(date),\r\n }));\r\n\r\nexport const transformInvoiceDates = (dates) => {\r\n const DATE_FORMAT = 'YYYY-MM-DD';\r\n let transformedDates = {};\r\n\r\n dates.forEach((date) => {\r\n const fromDate = moment(date).subtract(6, 'd').format(DATE_FORMAT);\r\n const toDate = moment(date).format(DATE_FORMAT);\r\n\r\n transformedDates = {\r\n ...transformedDates,\r\n [toDate]: `${fromDate} - ${toDate}`,\r\n };\r\n });\r\n\r\n return transformedDates;\r\n};\r\n\r\nexport const transformOutletTypesDTO = (data) => {\r\n let dictionaryDTO = {};\r\n\r\n data.forEach((item) => {\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [item.code]: item.displayName,\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const transformActivityEvents = (events) => _.groupBy(events, 'category');\r\n\r\nexport const transformLotteryTermsDTO = (data) => {\r\n let dictionaryDTO = {};\r\n\r\n data.forEach(({ locale, key, ...term }) => {\r\n dictionaryDTO = {\r\n ...dictionaryDTO,\r\n [locale]: {\r\n ...dictionaryDTO[locale],\r\n [key]: {\r\n ...term,\r\n pluralLowerCase: lowerCase(term.plural),\r\n singularLowerCase: lowerCase(term.singular),\r\n },\r\n },\r\n };\r\n });\r\n\r\n return dictionaryDTO;\r\n};\r\n\r\nexport const fetchPricePointsDictionary = async ({ locale }) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.pricePoints;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\r\nexport const fetchPackStatusesDictionary = async ({ locale }) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.packStatuses;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\r\nexport const fetchOrderStatusesDictionary = async ({ locale }) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.orderStatuses;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\r\nexport const fetchUserClassDictionary = async ({ locale }) => {\r\n const urlParams = { name: 'user-class' };\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const result = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return result.values;\r\n};\r\n\r\nexport const fetchReportCategoriesDictionary = async ({ locale }) => {\r\n const urlParams = { name: 'report-category' };\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const result = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return result.values;\r\n};\r\n\r\nexport const fetchTiersDictionary = async (locale) => {\r\n const { url } = DepsService.rest.dashboard.cumulative.tierTypes;\r\n const queryParams = { locale };\r\n const urlParams = {};\r\n\r\n return await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchInquiryReasonsDictionary = async (locale) => {\r\n const { url } = DepsService.rest.contact.inquiryReasons;\r\n const queryParams = { locale };\r\n const urlParams = {};\r\n const path = 'contact.inquiryReasons';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchInvoiceDatesDictionary = async (retailerId) => {\r\n const { url } = DepsService.rest.dashboard.cumulative.invoiceDates;\r\n const queryParams = { retailerId };\r\n const urlParams = {};\r\n\r\n const dates = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return calculateInvoicesDatesRange(dates);\r\n};\r\n\r\nexport const fetchActivityEventsDictionary = async (locale) => {\r\n const urlParams = { name: 'activity-report-type' };\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const events = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformActivityEvents(events);\r\n};\r\n\r\nexport const fetchUserTemplatesDictionary = async (viewType) => {\r\n let url;\r\n switch (viewType) {\r\n case 'all':\r\n url = DepsService.rest.account.templates.url;\r\n break;\r\n case 'lotteryView':\r\n url = DepsService.rest.privileges.ADMIN.templates.url;\r\n break;\r\n case 'RETAILER_PRIMARY':\r\n url = DepsService.rest.privileges.RETAILER_PRIMARY.templates.url;\r\n break;\r\n case 'RETAILER_SECONDARY':\r\n default:\r\n url = DepsService.rest.privileges.RETAILER_SECONDARY.templates.url;\r\n break;\r\n }\r\n\r\n const urlParams = {};\r\n const queryParams = {};\r\n\r\n const templates = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformTemplatesDTO(templates);\r\n};\r\n\r\nexport const fetchOutletTypesDictionary = async (locale) => {\r\n const urlParams = {};\r\n const queryParams = { locale };\r\n\r\n const { url } = DepsService.rest.dictionary.outletTypes;\r\n\r\n const outletTypes = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformOutletTypesDTO(outletTypes);\r\n};\r\n\r\nexport const fetchSftpAuthenticationTypesDictionary = async () => {\r\n const urlParams = { name: 'authentication-types' };\r\n const queryParams = {};\r\n\r\n const { url } = DepsService.rest.dictionary.names;\r\n\r\n const result = await DepsService.restSrv.listCached(CONTEXT, url, queryParams, urlParams);\r\n\r\n return result.values;\r\n};\r\n\r\nexport const fetchLotteryTermsDictionary = async () => {\r\n const { url } = DepsService.rest.dictionary.lotteryTerms;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n const terms = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformLotteryTermsDTO(terms);\r\n};\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionary = async (locale) => {\r\n const urlParams = { locale };\r\n const queryParams = {};\r\n\r\n const { url } = DepsService.rest.privileges.displayTypes;\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return transformDictionaryDTO(response);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/dictionaries.api.js","export default {\r\n SET_ACTIVE_TAB: 'SET_ACTIVE_TAB',\r\n SET_SORTING_FUNCTION: 'SET_SORTING_FUNCTION',\r\n SET_SELECTED_LANGUAGE: 'SET_SELECTED_LANGUAGE',\r\n\r\n DOWNLOAD_POSTER_REQUEST: 'DOWNLOAD_POSTER_REQUEST',\r\n DOWNLOAD_POSTER_SUCCESS: 'DOWNLOAD_POSTER_SUCCESS',\r\n DOWNLOAD_POSTER_FAILURE: 'DOWNLOAD_POSTER_FAILURE',\r\n\r\n FETCH_POSTER_URL_REQUEST: 'FETCH_POSTER_URL_REQUEST',\r\n FETCH_POSTER_URL_SUCCESS: 'FETCH_POSTER_URL_SUCCESS',\r\n FETCH_POSTER_URL_FAILURE: 'FETCH_POSTER_URL_FAILURE',\r\n\r\n FETCH_RETAILER_DETAILS_REQUEST: 'FETCH_RETAILER_DETAILS_REQUEST',\r\n FETCH_RETAILER_DETAILS_SUCCESS: 'FETCH_RETAILER_DETAILS_SUCCESS',\r\n FETCH_RETAILER_DETAILS_FAILURE: 'FETCH_RETAILER_DETAILS_FAILURE',\r\n CLEAR_RETAILER_DETAILS: 'CLEAR_RETAILER_DETAILS',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/action-types.js","import actionTypes from '../action-types';\r\n\r\nexport const setActiveTab = (tab = '', name) => ({\r\n type: actionTypes.SET_ACTIVE_TAB,\r\n tab,\r\n name,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/active-tab/active-tab.actions.js","import moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'manage-inventory';\r\n\r\n// Helpers\r\n\r\nconst setUrl = (tabId) => {\r\n switch (tabId) {\r\n case 'packs': {\r\n return DepsService.rest.inventory.packs.list.url;\r\n }\r\n case 'games': {\r\n return DepsService.rest.inventory.games.list.url;\r\n }\r\n case 'inventoryHistory': {\r\n return DepsService.rest.inventory.history.list.url;\r\n }\r\n case 'orderHistory': {\r\n return DepsService.rest.inventory.ordersHistory.list.url;\r\n }\r\n case 'liability': {\r\n return DepsService.rest.inventory.liability.list.url;\r\n }\r\n case 'pack': {\r\n return DepsService.rest.history.inventoryHistory.details.url;\r\n }\r\n case 'order': {\r\n return DepsService.rest.inventory.orderHistory.details.url;\r\n }\r\n default:\r\n return '';\r\n }\r\n};\r\n\r\nexport const getOrderDetailsFromPack = (pack) => {\r\n const { orderNumber, prefixedTrackingNumber, orderIssuedDate, orderType, orderConfirmedDate, grossValue, manifestNumber } = pack;\r\n return {\r\n orderNumber,\r\n prefixedTrackingNumber,\r\n orderIssuedDate,\r\n orderType,\r\n orderConfirmedDate,\r\n grossValue,\r\n manifestNumber,\r\n };\r\n};\r\n\r\nexport const downloadManageInventoryReportByTab = (config) => {\r\n const { retailerId, filters, tabId, ...params } = config;\r\n\r\n const url = setUrl(tabId);\r\n const queryParams = {\r\n ...filters,\r\n ...params,\r\n };\r\n const urlParams = { retailerId };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n if (url) return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n\r\n // eslint-disable-next-line no-console\r\n console.error(`MANAGE_INVENTORY_EXPORTS - cannot find URL: ${url} for given tab: ${tabId}`);\r\n};\r\n\r\nexport const downloadManageInventoryDetailedReportByTab = (config) => {\r\n const { tabId, orderId, ...params } = config;\r\n\r\n const url = setUrl(tabId);\r\n const queryParams = {\r\n ...params,\r\n };\r\n const urlParams = { orderId };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n if (url) return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n\r\n // eslint-disable-next-line no-console\r\n console.error(`MANAGE_INVENTORY_EXPORTS - cannot find URL: ${url} for given tab: ${tabId}`);\r\n};\r\n\r\nexport const fetchGamesList = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.inventory.games.list;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchPacksGrossValue = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.inventory.packs.grossValue;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchPacksList = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.inventory.packs.list;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchPackDetails = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const { url } = DepsService.rest.history.inventoryHistory.details;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchOrderDetails = async ({ orderId, ...config }) => {\r\n const { url } = DepsService.rest.inventory.orderHistory.details;\r\n const queryParams = { ...config };\r\n const urlParams = { orderId };\r\n\r\n const packs = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n const orderDetails = getOrderDetailsFromPack(packs[0]);\r\n\r\n return {\r\n ...orderDetails,\r\n packs,\r\n };\r\n};\r\n\r\nexport const fetchInstantGamesTransitionsHistory = (config) => {\r\n const { retailerId, ...params } = config;\r\n\r\n const startDate = params.filters.startDate ? moment(params.filters.startDate).format('YYYY-MM-DD') : null;\r\n const endDate = params.filters.endDate ? moment(params.filters.endDate).format('YYYY-MM-DD') : null;\r\n\r\n const { url } = DepsService.rest.inventory.history.list;\r\n const queryParams = {\r\n ...params,\r\n filters: {\r\n ...params.filters,\r\n startDate,\r\n endDate,\r\n },\r\n };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchLiabilities = ({ retailerId, ...queryParams }) => {\r\n const { url } = DepsService.rest.inventory.liability.list;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchOrderHistoryList = ({ retailerId, ...queryParams }) => {\r\n const { url } = DepsService.rest.inventory.ordersHistory.list;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/resources/manage-inventory.api.js","import * as api from 'app/resources/game-images.api';\r\n\r\nexport const INSTANT_GAME_TYPE = 'scratch';\r\nexport const DRAW_GAME_TYPE = 'online';\r\nexport const VLT_GAME_TYPE = 'vlt-games';\r\n\r\nconst FETCH_GAME_IMAGES_REQUEST = 'FETCH_GAME_IMAGES_REQUEST';\r\nconst FETCH_GAME_IMAGES_SUCCESS = 'FETCH_GAME_IMAGES_SUCCESS';\r\nconst FETCH_GAME_IMAGES_FAILURE = 'FETCH_GAME_IMAGES_FAILURE';\r\nconst CLEAR_GAME_IMAGES = 'CLEAR_GAME_IMAGES';\r\nconst UPDATE_GAME_IMAGES = 'UPDATE_GAME_IMAGES';\r\nconst UPDATE_GAME_IMAGES_REQUEST = 'UPDATE_GAME_IMAGES_REQUEST';\r\nconst UPDATE_GAME_IMAGES_SUCCESS = 'UPDATE_GAME_IMAGES_SUCCESS';\r\nconst UPDATE_GAME_IMAGES_FAILURE = 'UPDATE_GAME_IMAGES_FAILURE';\r\n\r\nexport const fetchGameImagesRequest = () => ({\r\n type: FETCH_GAME_IMAGES_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchGameImagesSuccess = (games, pagination) => ({\r\n type: FETCH_GAME_IMAGES_SUCCESS,\r\n isLoading: false,\r\n games,\r\n pagination,\r\n});\r\n\r\nexport const fetchGameImagesFailure = () => ({\r\n type: FETCH_GAME_IMAGES_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchGameImages = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchGameImagesRequest());\r\n const { filters: { type } } = params;\r\n const { content, ...pagination } = await api.fetchGameImages(type, params);\r\n dispatch(fetchGameImagesSuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_GAME_IMAGES', error);\r\n dispatch(fetchGameImagesFailure());\r\n }\r\n};\r\nexport const updateGameImage = (gameImage) => ({\r\n type: UPDATE_GAME_IMAGES,\r\n gameImage,\r\n});\r\n\r\nexport const clearGameImages = () => ({\r\n type: CLEAR_GAME_IMAGES,\r\n});\r\n\r\nexport const updateGameImagesRequest = () => ({\r\n type: UPDATE_GAME_IMAGES_REQUEST,\r\n isSaving: true,\r\n});\r\n\r\nexport const updateGameImagesSuccess = (game) => ({\r\n type: UPDATE_GAME_IMAGES_SUCCESS,\r\n isSaving: false,\r\n game,\r\n});\r\n\r\nexport const updateGameImagesFailure = () => ({\r\n type: UPDATE_GAME_IMAGES_FAILURE,\r\n isSaving: false,\r\n});\r\n\r\nexport const updateGameImages = (gameType, gameImage) => async (dispatch) => {\r\n try {\r\n dispatch(updateGameImagesRequest());\r\n const { result } = await api.updateGameImages(gameType, gameImage.gameId, gameImage.image);\r\n dispatch(updateGameImagesSuccess(result));\r\n } catch (error) {\r\n console.error('UPDATE_GAME_IMAGES', error);\r\n dispatch(updateGameImagesFailure());\r\n }\r\n};\r\n\r\nexport default {\r\n FETCH_GAME_IMAGES_REQUEST,\r\n FETCH_GAME_IMAGES_SUCCESS,\r\n FETCH_GAME_IMAGES_FAILURE,\r\n UPDATE_GAME_IMAGES,\r\n CLEAR_GAME_IMAGES,\r\n UPDATE_GAME_IMAGES_REQUEST,\r\n UPDATE_GAME_IMAGES_SUCCESS,\r\n UPDATE_GAME_IMAGES_FAILURE,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/game-images.actions.js","import DepsService from 'services/dependencies';\r\nimport utils from 'utils/lsp-utils-service';\r\nimport _ from 'lodash';\r\n\r\nconst USER_CONTEXT = 'user';\r\nconst USER_APP_CONTEXT = 'app';\r\n\r\nexport const getUsers = (parameters) => {\r\n const { url } = DepsService.rest.user.users;\r\n const queryParams = { ...parameters };\r\n if (_.get(parameters, 'filters.mobilePhone')) {\r\n queryParams.filters.mobilePhone = parameters.filters.mobilePhone.replace(/[^\\d]/g, ''); // todo is this necessary?\r\n }\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => {\r\n (result.content || []).forEach((user) => {\r\n user.name = `${user.contact.lastName} ${user.contact.firstName}`;\r\n });\r\n return result;\r\n });\r\n};\r\n\r\nexport function downloadUsersWithGroups(fileType, pagingModel) {\r\n const { url } = DepsService.rest.user.users[fileType];\r\n const queryParams = {\r\n groupMember: true,\r\n 'page-number': pagingModel.pageNumber,\r\n 'page-size': pagingModel.pageSize,\r\n sortProperty: pagingModel.sortProperty,\r\n ascending: pagingModel.ascending,\r\n ...pagingModel.filters,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.downloadBlob(USER_CONTEXT, url, queryParams, urlParams);\r\n}\r\n\r\nexport const getAvailableMembers = ({ userId, ...params }) => {\r\n const { url } = DepsService.rest.user.users.availableMembers;\r\n const queryParams = params;\r\n const urlParams = {\r\n userId,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => result);\r\n};\r\n\r\nexport const getAvailableAdminMembers = (parameters) => {\r\n const { url } = DepsService.rest.user.users;\r\n const queryParams = parameters;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => result);\r\n};\r\n\r\nconst loadUserByParams = (url, urlParams) => {\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams).then((result) => result);\r\n};\r\n\r\nexport const loadUserByLogin = (userLogin) => {\r\n const { url } = DepsService.rest.account.entryByLogin;\r\n const queryParams = { login: userLogin };\r\n\r\n return loadUserByParams(url, queryParams);\r\n};\r\n\r\nexport const loadUserById = (id) => {\r\n const { url } = DepsService.rest.account.self.data;\r\n const queryParams = { id };\r\n\r\n return loadUserByParams(url, queryParams);\r\n};\r\n\r\nexport const saveUserData = (data) => {\r\n const { url } = DepsService.rest.account.self.update;\r\n\r\n return DepsService.restSrv.update(USER_CONTEXT, url, data);\r\n};\r\n\r\nexport const saveUserLocale = (id, locale) =>\r\n loadUserById(id).then((result) => {\r\n saveUserData({\r\n locale,\r\n firstName: result.contact.firstName,\r\n lastName: result.contact.lastName,\r\n email: result.contact.emailAddress,\r\n mobilePhone: result.contact.mobilePhone,\r\n contactPhone: result.contact.contactPhone,\r\n securityQuestions: result.securityQuestions,\r\n ownerUserId: result.ownerUserId,\r\n });\r\n });\r\n\r\nexport const getPasswordResetQuestions = (username) => {\r\n const { url } = DepsService.rest.user.securityQuestions;\r\n const queryParams = { username };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams).then((result) => result);\r\n};\r\n\r\nexport const forceResetAccountPassword = (username) => {\r\n const { url } = DepsService.rest.forcePasswordReset;\r\n const queryParams = { username };\r\n\r\n return DepsService.restSrv.create(USER_CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const resetAccountPassword = (username, questionsAndAnswers) => {\r\n const { url } = DepsService.rest.passwordReset;\r\n const { questions, answers } = questionsAndAnswers;\r\n const challenges = answers.reduce((reduced, item, key) => {\r\n reduced.push({\r\n questionId: questions[key].code,\r\n answer: answers[key],\r\n });\r\n return reduced;\r\n }, []);\r\n const queryParams = {\r\n username,\r\n challenges,\r\n };\r\n\r\n return DepsService.restSrv.create(USER_CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchSelfRegistrationSettings = (retailerId) => {\r\n const { url } = DepsService.rest.user.retailerSettings.validate;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchTrustedDevices = () => {\r\n const { url } = DepsService.rest.auth.twoFactor.trustedDevicesList;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const deleteTrustedDevice = (uuid) => {\r\n const { url } = DepsService.rest.auth.twoFactor.deleteDevice;\r\n const queryParams = { uuid };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.remove(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const saveSelfRegistrationSettings = (selfRegistrationEnabled, retailerId) => {\r\n const { url } = DepsService.rest.retailer.saveSubordinateData;\r\n const queryParams = { selfRegistrationEnabled };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.update(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUserSecurityQuestions = (userId) => {\r\n const { url } = DepsService.rest.challenges;\r\n const queryParams = {};\r\n const urlParams = { userId };\r\n\r\n return DepsService.restSrv.list(USER_APP_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const validateExistingInfo = (data) => {\r\n const { url } = DepsService.rest.account.validate;\r\n const queryParams = {\r\n data\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const createUser = (user, locale, retailerDisplayNumber) => {\r\n const { url } = DepsService.rest.account.create;\r\n\r\n const queryParams = {\r\n ...user,\r\n username: user.contact.emailAddress,\r\n userClass: user.userClass.id,\r\n retailerType: user.userClass.type,\r\n };\r\n\r\n if (!user.primaryRetailer && user.userClass.type === 'INDEPENDENT') {\r\n queryParams.primaryRetailer = { retailerDisplayNumber };\r\n }\r\n const urlParams = { locale };\r\n\r\n return DepsService.restSrv.create(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerDetails = (retailerId) => {\r\n const { url } = DepsService.rest.user.retailerSettings.selfRegistration;\r\n const queryParams = {};\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerDetailsForSecondary = (retailerId, isSecondary) => {\r\n const { url } = DepsService.rest.user.retailerSettings.secondaryValidation;\r\n const queryParams = {};\r\n const urlParams = {\r\n retailerId,\r\n isSecondary,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUsersReportingTo = (userId) => {\r\n const { url } = DepsService.rest.user.reportTo;\r\n const queryParams = {};\r\n const urlParams = {\r\n userId,\r\n };\r\n\r\n return DepsService.restSrv.list(USER_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/resources/user.api.js","import DepsService from 'services/dependencies';\r\nimport { SELECTED_USERS } from 'message/components/create-message/create-message-component';\r\n\r\nconst CONTEXT = 'message';\r\n\r\nexport const fetchMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.user.inbox;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchUserSentMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.user.sent;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchMessage = async (id) => {\r\n const { url } = DepsService.rest.message.user.content;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUnreadMessagesCount = async () => {\r\n const { url } = DepsService.rest.message.user.count;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url);\r\n};\r\n\r\nexport const deleteReceivedMessages = async (data) => {\r\n const { url } = DepsService.rest.message.delete.received;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams, { data });\r\n};\r\n\r\nexport const deleteSentMessages = async (data) => {\r\n const { url } = DepsService.rest.message.delete.sent;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams, { data });\r\n};\r\n\r\nexport const markMessageAsUnread = async (id) => {\r\n const { url } = DepsService.rest.message.user.markAsUnread;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const markMessageAsRead = async (id) => {\r\n const { url } = DepsService.rest.message.user.markAsRead;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchSentMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.admin.sent;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchSentMessage = async (id) => {\r\n const { url } = DepsService.rest.message.admin.content;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchAdministratorsSentMessagesList = async (queryParams) => {\r\n const { url } = DepsService.rest.message.admin.sentByAll;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const fetchRecipients = async ({ filters, ...params }) => {\r\n const { url } = DepsService.rest.message.admin.recipients;\r\n const { sentMessageId, ...requestFilters } = filters;\r\n const queryParams = { ...params, ...requestFilters };\r\n const urlParams = { id: sentMessageId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const createMessageLimitToRetailers = async (message) => {\r\n const { url } = DepsService.rest.message.admin.createLimitToRetailers;\r\n return DepsService.restSrv.create(CONTEXT, url, message);\r\n};\r\n\r\nexport const createMessage = async (message) => {\r\n const { url } = DepsService.rest.message.admin.create;\r\n return DepsService.restSrv.create(CONTEXT, url, message);\r\n};\r\n\r\nexport const replyMessage = async (message) => {\r\n const { url } = DepsService.rest.message.reply;\r\n\r\n const payload = {\r\n recipientCategoryCode: SELECTED_USERS,\r\n ...message,\r\n };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, payload);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/resources/message.api.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const downloadManageInventoryReportByTabRequest = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_REQUEST,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryReportByTabSuccess = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_SUCCESS,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryReportByTabFailure = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE_FAILURE,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryReportByTab = (config) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerIdFromStore = config.filters ? config.filters.retailerId : null;\r\n const retailerId = retailerIdFromStore || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(downloadManageInventoryReportByTabRequest(config.tabId));\r\n\r\n dispatch(downloadManageInventoryReportByTabSuccess(config.tabId));\r\n return api.downloadManageInventoryReportByTab(requestParams);\r\n } catch (error) {\r\n console.error('DOWNLOAD_MANAGE_INVENTORY_REPORT_BY_TYPE', error);\r\n dispatch(downloadManageInventoryReportByTabFailure(config.tabId));\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/download-report-by-tab.actions.js","export default {\r\n FETCH_PRIVILEGE_TEMPLATES_REQUEST: 'FETCH_PRIVILEGE_TEMPLATES_REQUEST',\r\n FETCH_PRIVILEGE_TEMPLATES_SUCCESS: 'FETCH_PRIVILEGE_TEMPLATES_SUCCESS',\r\n FETCH_PRIVILEGE_TEMPLATES_FAILURE: 'FETCH_PRIVILEGE_TEMPLATES_FAILURE',\r\n\r\n CREATE_PRIVILEGE_TEMPLATE_REQUEST: 'CREATE_PRIVILEGE_TEMPLATE_REQUEST',\r\n CREATE_PRIVILEGE_TEMPLATE_SUCCESS: 'CREATE_PRIVILEGE_TEMPLATE_SUCCESS',\r\n CREATE_PRIVILEGE_TEMPLATE_FAILURE: 'CREATE_PRIVILEGE_TEMPLATE_FAILURE',\r\n\r\n UPDATE_PRIVILEGE_TEMPLATE_REQUEST: 'UPDATE_PRIVILEGE_TEMPLATE_REQUEST',\r\n UPDATE_PRIVILEGE_TEMPLATE_SUCCESS: 'UPDATE_PRIVILEGE_TEMPLATE_SUCCESS',\r\n UPDATE_PRIVILEGE_TEMPLATE_FAILURE: 'UPDATE_PRIVILEGE_TEMPLATE_FAILURE',\r\n\r\n DELETE_PRIVILEGE_TEMPLATE_REQUEST: 'DELETE_PRIVILEGE_TEMPLATE_REQUEST',\r\n DELETE_PRIVILEGE_TEMPLATE_SUCCESS: 'DELETE_PRIVILEGE_TEMPLATE_SUCCESS',\r\n DELETE_PRIVILEGE_TEMPLATE_FAILURE: 'DELETE_PRIVILEGE_TEMPLATE_FAILURE',\r\n\r\n SELECT_PRIVILEGE_TEMPLATE: 'SELECT_PRIVILEGE_TEMPLATE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/action-types.js","export default {\r\n FETCH_ANNOUNCEMENTS_REQUEST: 'FETCH_ANNOUNCEMENTS_REQUEST',\r\n FETCH_ANNOUNCEMENTS_SUCCESS: 'FETCH_ANNOUNCEMENTS_SUCCESS',\r\n FETCH_ANNOUNCEMENTS_FAILURE: 'FETCH_ANNOUNCEMENTS_FAILURE',\r\n\r\n TOGGLE_PIN_ANNOUNCEMENTS: 'TOGGLE_PIN_ANNOUNCEMENTS',\r\n\r\n DELETE_ACTIVE_ANNOUNCEMENT: 'DELETE_ACTIVE_ANNOUNCEMENT',\r\n DELETE_ARCHIVED_ANNOUNCEMENT: 'DELETE_ARCHIVED_ANNOUNCEMENT',\r\n DELETE_SCHEDULED_ANNOUNCEMENT: 'DELETE_SCHEDULED_ANNOUNCEMENT',\r\n\r\n ADD_ACTIVE_ANNOUNCEMENT: 'ADD_ACTIVE_ANNOUNCEMENT',\r\n ADD_ARCHIVED_ANNOUNCEMENT: 'ADD_ARCHIVED_ANNOUNCEMENT',\r\n ADD_SCHEDULED_ANNOUNCEMENT: 'ADD_SCHEDULED_ANNOUNCEMENT',\r\n\r\n UPDATE_ANNOUNCEMENTS_REQUEST: 'UPDATE_ANNOUNCEMENTS_REQUEST',\r\n UPDATE_ANNOUNCEMENTS_SUCCESS: 'UPDATE_ANNOUNCEMENTS_SUCCESS',\r\n UPDATE_ANNOUNCEMENTS_FAILURE: 'UPDATE_ANNOUNCEMENTS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/announcements/action-types.js","import moment from 'moment';\r\nimport orderBy from 'lodash/orderBy';\r\nimport get from 'lodash/get';\r\n\r\nconst DATE_FORMAT = 'MM/DD/YYYY';\r\n\r\nconst getFormattedLotteryDate = (lotteryTime) => moment.unix(lotteryTime).utc().format(DATE_FORMAT);\r\n\r\nexport const getTimestampDate = (formattedDate) => (formattedDate ? moment.utc(formattedDate).format('x') : undefined);\r\n\r\nexport const getFormattedDate = (timestampInMilliseconds) =>\r\n timestampInMilliseconds ? moment.utc(timestampInMilliseconds).format(DATE_FORMAT) : undefined;\r\n\r\nexport const isActiveAnnouncement = (announcement, lotteryTime) => {\r\n const date = getFormattedLotteryDate(lotteryTime);\r\n const publishFrom = getFormattedDate(announcement.publishFrom);\r\n const publishTo = getFormattedDate(announcement.publishTo);\r\n return moment(date).isBetween(publishFrom, publishTo, 'day', '[]');\r\n};\r\n\r\nexport const isArchivedAnnouncement = (announcement, lotteryTime) => {\r\n const date = getFormattedLotteryDate(lotteryTime);\r\n const publishTo = getFormattedDate(announcement.publishTo);\r\n return moment(date).isAfter(publishTo, 'day');\r\n};\r\n\r\nexport const isScheduledAnnouncement = (announcement, lotteryTime) => {\r\n const date = getFormattedLotteryDate(lotteryTime);\r\n const publishFrom = getFormattedDate(announcement.publishFrom);\r\n return moment(date).isBefore(publishFrom, 'day');\r\n};\r\n\r\nconst orderAnnouncements = (announcements, locale) =>\r\n orderBy(announcements, [(item) => (get(item, `fields.${locale}.pinned`) ? 0 : 1), 'publishFrom', 'id'], ['asc', 'desc', 'desc']);\r\n\r\nexport const getActiveAnnouncements = (announcements, lotteryTime, locale) => {\r\n const activeAnnouncement = announcements.filter((item) => isActiveAnnouncement(item, lotteryTime));\r\n return orderAnnouncements(activeAnnouncement, locale);\r\n};\r\n\r\nexport const getArchivedAnnouncements = (announcements, lotteryTime, locale) => {\r\n const archivedAnnouncement = announcements.filter((item) => isArchivedAnnouncement(item, lotteryTime));\r\n return orderAnnouncements(archivedAnnouncement, locale);\r\n};\r\n\r\nexport const getScheduledAnnouncements = (announcements, lotteryTime, locale) => {\r\n const scheduledAnnouncement = announcements.filter((item) => isScheduledAnnouncement(item, lotteryTime));\r\n return orderAnnouncements(scheduledAnnouncement, locale);\r\n};\r\n\r\nconst togglePinValue = (items, index, locale) => {\r\n items[index].fields[locale.code].pinned = !items[index].fields[locale.code].pinned;\r\n};\r\n\r\nexport const togglePinAnnouncement = (announcements, index, locale, locales) => {\r\n locales.forEach((localeItem) => togglePinValue(announcements, index, localeItem));\r\n return orderAnnouncements(announcements, locale);\r\n};\r\n\r\nexport const deleteAnnouncement = (announcements, index) => {\r\n announcements.splice(index, 1);\r\n return announcements;\r\n};\r\n\r\nexport const addAnnouncement = (announcements, announcement, locale) => {\r\n announcement = {\r\n ...announcement,\r\n publishFrom: parseInt(getTimestampDate(announcement.publishFrom), 10),\r\n publishTo: parseInt(getTimestampDate(announcement.publishTo), 10),\r\n };\r\n const newAnnouncements = [announcement, ...announcements];\r\n return orderAnnouncements(newAnnouncements, locale);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/utils.js","export default {\r\n FETCH_NET_SALES_SUMMARY_REQUEST: 'FETCH_NET_SALES_SUMMARY_REQUEST',\r\n FETCH_NET_SALES_SUMMARY_SUCCESS: 'FETCH_NET_SALES_SUMMARY_SUCCESS',\r\n FETCH_NET_SALES_SUMMARY_FAILURE: 'FETCH_NET_SALES_SUMMARY_FAILURE',\r\n\r\n FETCH_NET_SALES_DETAILS_REQUEST: 'FETCH_NET_SALES_DETAILS_REQUEST',\r\n FETCH_NET_SALES_DETAILS_SUCCESS: 'FETCH_NET_SALES_DETAILS_SUCCESS',\r\n FETCH_NET_SALES_DETAILS_FAILURE: 'FETCH_NET_SALES_DETAILS_FAILURE',\r\n\r\n DOWNLOAD_NET_SALES_REPORT_REQUEST: 'DOWNLOAD_NET_SALES_REPORT_REQUEST',\r\n DOWNLOAD_NET_SALES_REPORT_SUCCESS: 'DOWNLOAD_NET_SALES_REPORT_SUCCESS',\r\n DOWNLOAD_NET_SALES_REPORT_FAILURE: 'DOWNLOAD_NET_SALES_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/net-sales/action-types.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst namespace = 'dictionaries';\r\n\r\nexport const SET_DICT_BY_NAME = `${namespace}_SET_DICT_BY_NAME`;\r\nconst DICT_REPORT_CATEGORY_KEY = 'report-category';\r\nconst CONTEXT = 'privilegeTemplates';\r\n\r\nconst PACK_STATUS = 'PACK_STATUS';\r\n\r\nexport const getUserTemplates = (userClass) => (dispatch, getState) => {\r\n const {\r\n session: { locale },\r\n } = getState();\r\n let url;\r\n switch (userClass) {\r\n case 'ADMIN':\r\n url = DepsService.rest.privileges.ADMIN.templates.url;\r\n break;\r\n case 'RETAILER_PRIMARY':\r\n url = DepsService.rest.privileges.RETAILER_PRIMARY.templates.url;\r\n break;\r\n case 'RETAILER_SECONDARY':\r\n url = DepsService.rest.privileges.RETAILER_SECONDARY.templates.url;\r\n break;\r\n case 'RETAILER_PROSPECTIVE':\r\n url = DepsService.rest.privileges.RETAILER_PROSPECTIVE.templates.url;\r\n break;\r\n }\r\n\r\n return DepsService.restSrv.list(CONTEXT, url).then((result) => {\r\n const items = result.map((item) => {\r\n item.displayName = _.capitalize(_.get(item, `translations[${locale}].name`));\r\n item.name = _.get(item, `translations[${locale}].name`);\r\n return item;\r\n });\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'userTemplates',\r\n items,\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const getUserClasses = () => (dispatch, getState) => {\r\n const {\r\n dictionaries: { userClasses },\r\n } = getState();\r\n\r\n if (Object.keys(userClasses || {}).length) {\r\n return Promise.resolve(userClasses);\r\n }\r\n\r\n return DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, null, { name: 'user-class' }).then((result) => {\r\n const keys = Object.keys(result.values || {});\r\n const items = keys.reduce((prev, current) => {\r\n prev[current] = {\r\n id: current,\r\n label: result.values[current],\r\n };\r\n\r\n return prev;\r\n }, {});\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'userClasses',\r\n items,\r\n },\r\n });\r\n return items;\r\n });\r\n};\r\n\r\nexport const getRetailerGroupUserClasses = () => (dispatch, getState) => {\r\n const {\r\n dictionaries: { retailerGroupUserClasses },\r\n } = getState();\r\n\r\n if (Object.keys(retailerGroupUserClasses || {}).length) {\r\n return Promise.resolve(retailerGroupUserClasses);\r\n }\r\n\r\n return DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, null, { name: 'user-class' }).then((result) => {\r\n const keys = Object.keys(result.values || {}).filter((key) => key !== 'ADMIN');\r\n const items = keys.reduce((prev, current) => {\r\n prev[current] = {\r\n id: current,\r\n label: result.values[current],\r\n };\r\n\r\n return prev;\r\n }, {});\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupUserClasses',\r\n items,\r\n },\r\n });\r\n return items;\r\n });\r\n};\r\n\r\nexport const getJobSchedulingStatuses = () => (dispatch) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.dictionary.names.url, null, { name: 'batch-statuses' }).then((result) => {\r\n const keys = Object.keys(result.values || {});\r\n const items = keys.map((key) => ({\r\n id: key,\r\n label: result.values[key],\r\n }));\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'jobSchedulingStatuses',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadReportNames = (category) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n locale,\r\n retailer: { retailerType },\r\n },\r\n } = getState();\r\n\r\n return DepsService.restSrv\r\n .list(undefined, DepsService.rest.reports.names.url, {\r\n locale: '*',\r\n retailerType,\r\n category,\r\n })\r\n .then((results) => {\r\n results.categoryList.map((category) => {\r\n category.fileTypeTranslationsDto = category.fileTypeTranslationsDto.reduce((reduced, current) => {\r\n reduced[current.locale] = current;\r\n return reduced;\r\n }, {});\r\n });\r\n\r\n results.categoryList = _.orderBy(results.categoryList, [`.fileTypeTranslationsDto[${locale}].fileDisplayNm`], ['asc']);\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'reportNames',\r\n items: results.categoryList,\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadReportCategories = () => (dispatch) =>\r\n DepsService.restSrv\r\n .list(undefined, DepsService.rest.dictionary.names.url, { locale: '*' }, { name: DICT_REPORT_CATEGORY_KEY })\r\n .then((results) => {\r\n const items = Object.keys(results.values).map((key) => ({\r\n name: results.values[key],\r\n id: key,\r\n }));\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'reportCategories',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadReportExtensions = () => (dispatch) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.reports.extension.url).then((items) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'reportExtensions',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadTransformationTypes = () => (dispatch) =>\r\n DepsService.restSrv.list(null, DepsService.rest.account.report.transformation.types.url).then((items) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'transformationTypes',\r\n items,\r\n },\r\n });\r\n });\r\n\r\nexport const loadIpsStatus = () => (dispatch, getState) => {\r\n const {\r\n session: { locale },\r\n } = getState();\r\n return DepsService.restSrv\r\n .listCached(null, DepsService.session.rest.inventory.dictionaries.url, {\r\n locale: locale || '*',\r\n typeCategory: PACK_STATUS,\r\n })\r\n .then((data) => {\r\n const items = data.reduce((prev, current) => {\r\n prev[current.typeCode] = {\r\n displayText: current.typeDesc,\r\n };\r\n return prev;\r\n }, {});\r\n\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'ipsStatuses',\r\n items,\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupsCreateChannels = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.create-channel' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupsCreateChannels',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupTypes = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.group-type' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupTypes',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupSubTypes = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.group-sub-type' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupSubTypes',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\r\nexport const loadRetailerGroupStatuses = () => (dispatch) => {\r\n const { url } = DepsService.session.rest.navigator.typecodes;\r\n return DepsService.restSrv.listCached(null, url, { category: 'rs.reporting-group.status' }).then((data) => {\r\n dispatch({\r\n type: SET_DICT_BY_NAME,\r\n payload: {\r\n name: 'retailerGroupStatuses',\r\n items: appHelpers.extractDictionaryItem(data),\r\n },\r\n });\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'privilegeTemplates';\r\n\r\nconst fetchPrivileges = (userClass, retailerType) => {\r\n const urlParams = { userClass };\r\n const queryParams = retailerType ? { retailerType } : null;\r\n\r\n const { url } = DepsService.rest.privileges.dynamic;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchPrivilegeTemplates = (userClass, retailerType) => {\r\n const urlParams = { userClass };\r\n const queryParams = retailerType ? { retailerType } : null;\r\n\r\n const { url } = DepsService.rest.privileges.roles.list;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst createPrivilegeTemplate = ({ userClass, translations, privileges }) => {\r\n const urlParams = { userClass };\r\n const date = new Date().getTime();\r\n const payload = {\r\n privileges,\r\n translations,\r\n creationDatetime: date,\r\n modificationDatetime: date,\r\n };\r\n\r\n const { url } = DepsService.rest.privileges.roles.create;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\nconst deletePrivilegeTemplate = (id) => {\r\n const urlParams = { id };\r\n\r\n const { url } = DepsService.rest.privileges.roles.delete;\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams);\r\n};\r\n\r\nconst updatePrivilegeTemplate = ({ id, ...data }) => {\r\n const urlParams = { id };\r\n const payload = { ...data };\r\n\r\n const { url } = DepsService.rest.privileges.roles.update;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchPrivilegeTemplates,\r\n createPrivilegeTemplate,\r\n deletePrivilegeTemplate,\r\n updatePrivilegeTemplate,\r\n fetchPrivileges,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/resources/privilege-templates.api.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'selfRegistration';\r\n\r\nexport const fetchOwnerValidationMethod = (retailerType, outletTypeId, locale = '*') => {\r\n const { url } = DepsService.rest.dictionary.ownerValidationMethod;\r\n const queryParams = { retailerType, outletTypeId, locale };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const validateOwnerData = (params) => {\r\n const { url } = DepsService.rest.selfRegistration.validateOwner;\r\n const queryParams = { ...params };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const validateProspectiveData = (pin, captchaToken) => {\r\n const { url } = DepsService.rest.selfRegistration.validateProspective;\r\n const queryParams = { pin };\r\n const urlParams = { captchaToken };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchOwnerData = (ownerUrlParams, captchaToken) => {\r\n const { url } = DepsService.rest.selfRegistration.owner;\r\n const queryParams = { ownerUrlParams, captchaToken };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerDetails = (retailerId, captchaToken) => {\r\n const { url } = DepsService.rest.user.retailerSettings.selfRegistration;\r\n const queryParams = { captchaToken };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const createAccount = (queryParams, urlParams) => {\r\n const { url } = DepsService.rest.account.primaryEntries;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst transformUserData = ({\r\n firstName,\r\n lastName,\r\n contactPhone,\r\n mobilePhone,\r\n emailAddress,\r\n password,\r\n businessPhone,\r\n questionA,\r\n answerA,\r\n questionB,\r\n answerB,\r\n}) => ({\r\n firstName,\r\n lastName,\r\n contactPhone,\r\n mobilePhone,\r\n emailAddress,\r\n password,\r\n businessPhone,\r\n challenges: [\r\n {\r\n questionId: questionA,\r\n answer: answerA,\r\n },\r\n {\r\n questionId: questionB,\r\n answer: answerB,\r\n },\r\n ],\r\n});\r\n\r\nexport const confirmRegistration = async (userData) => {\r\n const { url } = DepsService.rest.account.confirmRegistration;\r\n const data = transformUserData(userData);\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, data);\r\n};\r\n\r\nexport const activateAccount = async (token) => {\r\n const { url } = DepsService.rest.selfRegistration.activation;\r\n const queryParams = {\r\n };\r\n const urlParams = {\r\n token\r\n };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/resources/registration.api.js","import actionTypes from './action-types';\r\n\r\nexport const onItemListSelection = ({\r\n gameNumber,\r\n packNo,\r\n portionNumber,\r\n orderId = undefined,\r\n retailerId = undefined,\r\n retailerNumber = undefined,\r\n}) => {\r\n return {\r\n type: actionTypes.ON_ITEM_LIST_SELECTION,\r\n selection: {\r\n gameNumber,\r\n packNo: packNo ? packNo.split(' ')[0] : undefined,\r\n portionNumber,\r\n orderId,\r\n retailerId,\r\n retailerNumber,\r\n },\r\n };\r\n};\r\n\r\nexport const resetDetailsDialogData = () => {\r\n return {\r\n type: actionTypes.RESET_DETAILS_DIALOG_DATA,\r\n };\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/manage-inventory.actions.js","export default {\r\n FETCH_OWNER_VALIDATION_METHOD_REQUEST: 'FETCH_OWNER_VALIDATION_METHOD_REQUEST',\r\n FETCH_OWNER_VALIDATION_METHOD_SUCCESS: 'FETCH_OWNER_VALIDATION_METHOD_SUCCESS',\r\n FETCH_OWNER_VALIDATION_METHOD_FAILURE: 'FETCH_OWNER_VALIDATION_METHOD_FAILURE',\r\n\r\n VALIDATE_OWNER_DATA_REQUEST: 'VALIDATE_OWNER_DATA_REQUEST',\r\n VALIDATE_OWNER_DATA_SUCCESS: 'VALIDATE_OWNER_DATA_SUCCESS',\r\n VALIDATE_OWNER_DATA_FAILURE: 'VALIDATE_OWNER_DATA_FAILURE',\r\n\r\n REGISTRATION_FETCH_RETAILER_DETAILS_REQUEST: 'REGISTRATION_FETCH_RETAILER_DETAILS_REQUEST',\r\n REGISTRATION_FETCH_RETAILER_DETAILS_SUCCESS: 'REGISTRATION_FETCH_RETAILER_DETAILS_SUCCESS',\r\n REGISTRATION_FETCH_RETAILER_DETAILS_FAILURE: 'REGISTRATION_FETCH_RETAILER_DETAILS_FAILURE',\r\n\r\n REGISTRATION_UPDATE_RETAILER_DETAILS: 'REGISTRATION_UPDATE_RETAILER_DETAILS',\r\n REGISTRATION_CLEAR_RETAILER_DETAILS: 'REGISTRATION_CLEAR_RETAILER_DETAILS',\r\n\r\n CREATE_ACCOUNT_REQUEST: 'CREATE_ACCOUNT_REQUEST',\r\n CREATE_ACCOUNT_SUCCESS: 'CREATE_ACCOUNT_SUCCESS',\r\n CREATE_ACCOUNT_FAILURE: 'CREATE_ACCOUNT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/action-types.js","export default {\r\n FETCH_EFT_HISTORY_REQUEST: 'FETCH_EFT_HISTORY_REQUEST',\r\n FETCH_EFT_HISTORY_SUCCESS: 'FETCH_EFT_HISTORY_SUCCESS',\r\n FETCH_EFT_HISTORY_FAILURE: 'FETCH_EFT_HISTORY_FAILURE',\r\n\r\n FETCH_EFT_EXTENSIONS_REQUEST: 'FETCH_EFT_EXTENSIONS_REQUEST',\r\n FETCH_EFT_EXTENSIONS_SUCCESS: 'FETCH_EFT_EXTENSIONS_SUCCESS',\r\n FETCH_EFT_EXTENSIONS_FAILURE: 'FETCH_EFT_EXTENSIONS_FAILURE',\r\n\r\n FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST: 'FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST',\r\n FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS: 'FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS',\r\n FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE: 'FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE',\r\n\r\n DOWNLOAD_EFT_INVOICE_REQUEST: 'DOWNLOAD_EFT_INVOICE_REQUEST',\r\n DOWNLOAD_EFT_INVOICE_SUCCESS: 'DOWNLOAD_EFT_INVOICE_SUCCESS',\r\n DOWNLOAD_EFT_INVOICE_FAILURE: 'DOWNLOAD_EFT_INVOICE_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/eft-history/action-types.js","import groupBy from 'lodash/groupBy';\r\nimport isEqual from 'lodash/isEqual';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/contact.api';\r\n\r\nexport const fetchLotteryContactsRequest = () => ({\r\n type: actionTypes.FETCH_LOTTERY_CONTACTS_REQUEST,\r\n name: 'lotteryLoadingStatus',\r\n});\r\n\r\nexport const fetchLotteryContactsFailure = () => ({\r\n type: actionTypes.FETCH_LOTTERY_CONTACTS_FAILURE,\r\n name: 'lotteryLoadingStatus',\r\n});\r\n\r\nexport const fetchLotteryContactsSuccess = (contact) => ({\r\n type: actionTypes.FETCH_LOTTERY_CONTACTS_SUCCESS,\r\n contact,\r\n name: 'lotteryLoadingStatus',\r\n});\r\n\r\nexport const fetchLotteryContacts =\r\n (home = false) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n const params = {\r\n home,\r\n jurisdictionId,\r\n secondHandApproval,\r\n };\r\n\r\n dispatch(fetchLotteryContactsRequest());\r\n const contact = await api.fetchLotteryContacts(params);\r\n dispatch(fetchLotteryContactsSuccess(contact));\r\n } catch (error) {\r\n dispatch(fetchLotteryContactsFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_LOTTERY_CONTACTS', error);\r\n }\r\n };\r\n\r\nexport const discardLotteryContactsChangesRequest = () => ({\r\n type: actionTypes.DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST,\r\n});\r\n\r\nexport const discardLotteryContactsChangesFailure = () => ({\r\n type: actionTypes.DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE,\r\n});\r\n\r\nexport const discardLotteryContactsChangesSuccess = () => ({\r\n type: actionTypes.DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS,\r\n});\r\n\r\nexport const discardLotteryContactsChanges = () => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId } = config;\r\n\r\n dispatch(discardLotteryContactsChangesRequest());\r\n await api.discardLotteryContactsChanges(jurisdictionId);\r\n dispatch(discardLotteryContactsChangesSuccess());\r\n } catch (error) {\r\n dispatch(discardLotteryContactsChangesFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('DISCARD_LOTTERY_CONTACTS_CHANGES', error);\r\n }\r\n};\r\n\r\nexport const publishLotteryContactsChangesRequest = () => ({\r\n type: actionTypes.PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST,\r\n});\r\n\r\nexport const publishLotteryContactsChangesFailure = () => ({\r\n type: actionTypes.PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE,\r\n});\r\n\r\nexport const publishLotteryContactsChangesSuccess = () => ({\r\n type: actionTypes.PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS,\r\n});\r\n\r\nexport const publishLotteryContactsChanges = () => async (dispatch, getState) => {\r\n try {\r\n const { config, contact } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n const {\r\n lottery: { contactList },\r\n } = contact;\r\n\r\n const params = {\r\n jurisdictionId,\r\n secondHandApproval,\r\n contactList,\r\n };\r\n\r\n dispatch(publishLotteryContactsChangesRequest());\r\n await api.publishLotteryContactsChanges(params);\r\n dispatch(publishLotteryContactsChangesSuccess());\r\n } catch (error) {\r\n dispatch(publishLotteryContactsChangesFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('PUBLISH_LOTTERY_CONTACTS_CHANGES', error);\r\n }\r\n};\r\n\r\nexport const fetchInquiryContactsRequest = () => ({\r\n type: actionTypes.FETCH_INQUIRY_CONTACTS_REQUEST,\r\n name: 'inquiryLoadingStatus',\r\n});\r\n\r\nexport const fetchInquiryContactsFailure = () => ({\r\n type: actionTypes.FETCH_INQUIRY_CONTACTS_FAILURE,\r\n name: 'inquiryLoadingStatus',\r\n});\r\n\r\nexport const fetchInquiryContactsSuccess = (items) => ({\r\n type: actionTypes.FETCH_INQUIRY_CONTACTS_SUCCESS,\r\n items,\r\n name: 'inquiryLoadingStatus',\r\n});\r\n\r\nexport const fetchInquiryContacts = (parameters) => async (dispatch) => {\r\n try {\r\n dispatch(fetchInquiryContactsRequest());\r\n const queryParams = {\r\n ...parameters,\r\n pageNumber: 0,\r\n pageSize: 0,\r\n };\r\n const response = await api.fetchInquiryContacts(queryParams);\r\n const items = groupBy(response, 'locale');\r\n dispatch(fetchInquiryContactsSuccess(items));\r\n } catch (error) {\r\n dispatch(fetchInquiryContactsFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_LOTTERY_CONTACTS', error);\r\n }\r\n};\r\n\r\nexport const updateInquiryContact = () => (dispatch, getState) => {\r\n const { contact, config } = getState();\r\n const { locales } = config;\r\n const {\r\n inquiry: { items, itemsCopy },\r\n } = contact;\r\n const requests = [];\r\n\r\n locales.forEach((locale) => {\r\n // eslint-disable-next-line array-callback-return\r\n items[locale.code].map((inquiryContact, index) => {\r\n if (!isEqual(inquiryContact, itemsCopy[locale.code][index])) {\r\n const params = {};\r\n const { contactEmail, availableForUser, availableForAnonymous } = inquiryContact;\r\n params[locale.code] = { contactEmail, availableForUser, availableForAnonymous };\r\n requests.push(api.updateInquiryContact(params, inquiryContact));\r\n }\r\n });\r\n });\r\n\r\n return Promise.all(requests);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/actions/contact.actions.js","import tinycolor from 'tinycolor2';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nimport DepsService from 'services/dependencies';\r\nimport * as api from 'app/resources/theme.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const categories = [\r\n {\r\n id: 1,\r\n name: () => DepsService.gettextCatalog.getString('Colors'),\r\n },\r\n {\r\n id: 2,\r\n name: () => DepsService.gettextCatalog.getString('Background'),\r\n },\r\n {\r\n id: 3,\r\n name: () => DepsService.gettextCatalog.getString('Typography'),\r\n },\r\n {\r\n id: 4,\r\n name: () => DepsService.gettextCatalog.getString('Actions'),\r\n },\r\n {\r\n id: 5,\r\n name: () => DepsService.gettextCatalog.getString('Charts'),\r\n },\r\n {\r\n id: 6,\r\n name: () => DepsService.gettextCatalog.getString('Divider'),\r\n },\r\n];\r\n\r\nexport const productTheme = [\r\n {\r\n id: '--primary-color',\r\n categoryId: 1,\r\n value: '#1971b6',\r\n name: 'primary',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--secondary-color',\r\n categoryId: 1,\r\n value: '#14599a',\r\n name: 'secondary',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--error-color',\r\n categoryId: 1,\r\n value: '#e02010',\r\n name: 'error',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--warning-color',\r\n categoryId: 1,\r\n value: '#f39f2b',\r\n name: 'warning',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--info-color',\r\n categoryId: 1,\r\n value: '#2fa2ff',\r\n name: 'info',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--success-color',\r\n categoryId: 1,\r\n value: '#0b8043',\r\n name: 'success',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--background-color',\r\n categoryId: 2,\r\n value: '#f0f5f8',\r\n name: 'background',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--background-paper-color',\r\n categoryId: 2,\r\n value: '#ffffff',\r\n name: 'background paper',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--primary-text-color',\r\n categoryId: 3,\r\n value: '#4d4d4d',\r\n name: 'primary text',\r\n complementaryColors: true,\r\n },\r\n {\r\n id: '--action-disabled-color',\r\n categoryId: 4,\r\n value: '#5b616b',\r\n name: 'disabled',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--action-disabled-background-color',\r\n categoryId: 4,\r\n value: '#f1f1f1',\r\n name: 'disabled background',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-1',\r\n categoryId: 5,\r\n value: '#673ab7',\r\n name: 'color 1',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-2',\r\n categoryId: 5,\r\n value: '#e91e63',\r\n name: 'color 2',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-3',\r\n categoryId: 5,\r\n value: '#9c27b0',\r\n name: 'color 3',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-4',\r\n categoryId: 5,\r\n value: '#f44336',\r\n name: 'color 4',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-5',\r\n categoryId: 5,\r\n value: '#2196f3',\r\n name: 'color 5',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-6',\r\n categoryId: 5,\r\n value: '#00bcd4',\r\n name: 'color 6',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-7',\r\n categoryId: 5,\r\n value: '#2f9687',\r\n name: 'color 7',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-8',\r\n categoryId: 5,\r\n value: '#4caf50',\r\n name: 'color 8',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-9',\r\n categoryId: 5,\r\n value: '#cddc39',\r\n name: 'color 9',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-10',\r\n categoryId: 5,\r\n value: '#ffc107',\r\n name: 'color 10',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-11',\r\n categoryId: 5,\r\n value: '#ffe722',\r\n name: 'color 11',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--chart-color-12',\r\n categoryId: 5,\r\n value: '#795548',\r\n name: 'color 12',\r\n complementaryColors: false,\r\n },\r\n {\r\n id: '--divider-color',\r\n categoryId: 6,\r\n value: '#cccccc',\r\n name: 'divider',\r\n complementaryColors: false,\r\n },\r\n];\r\n\r\nexport const getChartColors = (theme) => theme.reduce((colorsArr, color) => {\r\n if (color.id.includes('--chart-color')) {\r\n return [...colorsArr, color.value];\r\n }\r\n\r\n return colorsArr;\r\n}, []);\r\n\r\nconst setColor = ({ id, value, complementaryColors }) => {\r\n const root = window.document.documentElement;\r\n const color = new tinycolor(value).toHsl();\r\n if (complementaryColors) {\r\n const hue = Math.round(color.h);\r\n const saturation = Math.round(color.s * 100);\r\n const lightness = Math.round(color.l * 100);\r\n\r\n root.style.setProperty(`${id}-h`, hue);\r\n root.style.setProperty(`${id}-s`, saturation);\r\n root.style.setProperty(`${id}-l`, lightness);\r\n\r\n root.style.setProperty(`${id}-lighter`, `hsl(${hue}, ${saturation}%, ${lightness + 15}%)`);\r\n root.style.setProperty(`${id}-darker`, `hsl(${hue}, ${saturation}%, ${lightness - 10}%)`);\r\n }\r\n root.style.setProperty(id, value);\r\n};\r\n\r\nexport const setCurrentThemeSuccess = (theme) => ({\r\n type: actionTypes.SET_CURRENT_THEME_SUCCESS,\r\n theme,\r\n});\r\n\r\nexport const updateThemeColorSuccess = (color) => ({\r\n type: actionTypes.UPDATE_THEME_COLOR_SUCCESS,\r\n color,\r\n});\r\n\r\nexport const setTheme = () => (dispatch, getState) => {\r\n const { config } = getState();\r\n const { colors: lotteryTheme } = config;\r\n const currentTheme = (!isEmpty(lotteryTheme) && JSON.parse(lotteryTheme)) || productTheme;\r\n\r\n currentTheme.forEach((color) => setColor(color));\r\n\r\n dispatch(setCurrentThemeSuccess(cloneDeep(currentTheme)));\r\n};\r\n\r\nexport const restoreTheme = () => (dispatch) => {\r\n dispatch(setCurrentThemeSuccess(cloneDeep(productTheme)));\r\n\r\n productTheme.forEach((color) => setColor(color));\r\n};\r\n\r\nexport const updateThemeColor = (color) => (dispatch) => {\r\n setColor(color);\r\n dispatch(updateThemeColorSuccess(color));\r\n};\r\n\r\nexport const saveThemeRequest = () => ({\r\n type: actionTypes.SAVE_THEME_REQUEST,\r\n error: false,\r\n});\r\n\r\nexport const saveThemeSuccess = () => ({\r\n type: actionTypes.SAVE_THEME_SUCCESS,\r\n});\r\n\r\nexport const saveThemeFailure = () => ({\r\n type: actionTypes.SAVE_THEME_FAILURE,\r\n error: true,\r\n});\r\n\r\nexport const saveTheme = () => async (dispatch, getState) => {\r\n try {\r\n const { theme } = getState();\r\n dispatch(saveThemeRequest());\r\n await api.saveTheme(theme.colors);\r\n\r\n dispatch(saveThemeSuccess());\r\n } catch (error) {\r\n dispatch(saveThemeFailure());\r\n console.error('SAVE_THEME', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/theme.actions.js","export default {\r\n ACTIVE: 'active',\r\n ARCHIVED: 'archived',\r\n SCHEDULED: 'scheduled',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/announcements/announcement-types.js","import actionTypes from '../action-types';\r\n\r\nexport const setSelectedLanguage = (selectedLanguage = '') => ({\r\n type: actionTypes.SET_SELECTED_LANGUAGE,\r\n selectedLanguage,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/selected-language/selected-language.actions.js","export default {\r\n FETCH_SFTP_LIST_REQUEST: 'FETCH_SFTP_LIST_REQUEST',\r\n FETCH_SFTP_LIST_SUCCESS: 'FETCH_SFTP_LIST_SUCCESS',\r\n FETCH_SFTP_LIST_FAILURE: 'FETCH_SFTP_LIST_FAILURE',\r\n\r\n DELETE_SFTP_BY_ID_REQUEST: 'DELETE_SFTP_BY_ID_REQUEST',\r\n DELETE_SFTP_BY_ID_SUCCESS: 'DELETE_SFTP_BY_ID_SUCCESS',\r\n DELETE_SFTP_BY_ID_FAILURE: 'DELETE_SFTP_BY_ID_FAILURE',\r\n\r\n FETCH_SFTP_BY_ID_REQUEST: 'FETCH_SFTP_BY_ID_REQUEST',\r\n FETCH_SFTP_BY_ID_SUCCESS: 'FETCH_SFTP_BY_ID_SUCCESS',\r\n FETCH_SFTP_BY_ID_FAILURE: 'FETCH_SFTP_BY_ID_FAILURE',\r\n\r\n UPDATE_SFTP_BY_ID_REQUEST: 'UPDATE_SFTP_BY_ID_REQUEST',\r\n UPDATE_SFTP_BY_ID_SUCCESS: 'UPDATE_SFTP_BY_ID_SUCCESS',\r\n UPDATE_SFTP_BY_ID_FAILURE: 'UPDATE_SFTP_BY_ID_FAILURE',\r\n\r\n CREATE_SFTP_REQUEST: 'CREATE_SFTP_REQUEST',\r\n CREATE_SFTP_SUCCESS: 'CREATE_SFTP_SUCCESS',\r\n CREATE_SFTP_FAILURE: 'CREATE_SFTP_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/actions/action-types.js","export default {\r\n FETCH_BOND_RENEWAL_REQUEST: 'FETCH_BOND_RENEWAL_REQUEST',\r\n FETCH_BOND_RENEWAL_SUCCESS: 'FETCH_BOND_RENEWAL_SUCCESS',\r\n FETCH_BOND_RENEWAL_FAILURE: 'FETCH_BOND_RENEWAL_FAILURE',\r\n\r\n DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST: 'DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST',\r\n DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS: 'DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS',\r\n DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE: 'DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/bond-renewal/action-types.js","export default {\r\n FETCH_SITE_OPERATIONAL_STATUS_REQUEST: 'FETCH_SITE_OPERATIONAL_STATUS_REQUEST',\r\n FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: 'FETCH_SITE_OPERATIONAL_STATUS_SUCCESS',\r\n FETCH_SITE_OPERATIONAL_STATUS_FAILURE: 'FETCH_SITE_OPERATIONAL_STATUS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-operational-status/action-types.js","export default {\r\n FETCH_SUBORDINATE_LIST_REQUEST: 'FETCH_SUBORDINATE_LIST_REQUEST',\r\n FETCH_SUBORDINATE_LIST_SUCCESS: 'FETCH_SUBORDINATE_LIST_SUCCESS',\r\n FETCH_SUBORDINATE_LIST_FAILURE: 'FETCH_SUBORDINATE_LIST_FAILURE',\r\n\r\n SELECT_RETAILER: 'SELECT_RETAILER',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/actions/action-types.js","export default {\r\n FETCH_TERMS_OF_USE_REQUEST: 'FETCH_TERMS_OF_USE_REQUEST',\r\n FETCH_TERMS_OF_USE_SUCCESS: 'FETCH_TERMS_OF_USE_SUCCESS',\r\n FETCH_TERMS_OF_USE_FAILURE: 'FETCH_TERMS_OF_USE_FAILURE',\r\n\r\n DOWNLOAD_TERMS_OF_USE_REQUEST: 'DOWNLOAD_TERMS_OF_USE_REQUEST',\r\n DOWNLOAD_TERMS_OF_USE_SUCCESS: 'DOWNLOAD_TERMS_OF_USE_SUCCESS',\r\n DOWNLOAD_TERMS_OF_USE_FAILURE: 'DOWNLOAD_TERMS_OF_USE_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/actions/terms-of-use.action-types.js","const namespace = 'retailer_dashboards';\r\nexport const SET_TYPE = `${namespace}_SET_TYPE`;\r\nexport const SET_SUBTYPE = `${namespace}_SET_SUBTYPE`;\r\nexport const CLEAR_RETAILER_DASHBOARDS = `${namespace}_CLEAR_RETAILER_DASHBOARDS`;\r\n\r\nexport const setType = (type) => ({\r\n type: SET_TYPE,\r\n payload: type,\r\n});\r\n\r\nexport const setSubType = (subtype) => ({\r\n type: SET_SUBTYPE,\r\n payload: subtype,\r\n});\r\n\r\nexport const setDashboardSubtype = (subtype) => (dispatch) => {\r\n dispatch(setSubType(subtype));\r\n};\r\n\r\nexport const clearRetailerDashboards = () => ({\r\n type: CLEAR_RETAILER_DASHBOARDS,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-dashboards/actions/retailer-dashboards.actions.js","import _ from 'lodash';\r\n\r\nimport * as api from '../resources/manage-icons.api';\r\n\r\nconst FETCH_ICONS_REQUEST = 'FETCH_ICONS_REQUEST';\r\nconst FETCH_ICONS_SUCCESS = 'FETCH_ICONS_SUCCESS';\r\nconst FETCH_ICONS_FAILURE = 'FETCH_ICONS_FAILURE';\r\n\r\nexport const fetchIconsRequest = () => ({\r\n type: FETCH_ICONS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchIconsSuccess = ({ entries, versionType }) => ({\r\n type: FETCH_ICONS_SUCCESS,\r\n isLoading: false,\r\n entries,\r\n versionType,\r\n});\r\n\r\nexport const fetchIconsFailure = () => ({\r\n type: FETCH_ICONS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchIcons = (approved = false) => (dispatch, getState) => {\r\n const state = getState();\r\n const { jurisdiction } = state.session;\r\n const { notification, error } = state.manageIcons;\r\n\r\n const config = {\r\n jurisdiction,\r\n approved,\r\n };\r\n\r\n dispatch(fetchIconsRequest());\r\n\r\n if (notification !== '' && error !== '') dispatch(clearNotifications());\r\n\r\n return api\r\n .fetchIcons(config)\r\n .then(({ entries, versionType }) => dispatch(fetchIconsSuccess({ entries, versionType })))\r\n .catch(() => dispatch(fetchIconsFailure()));\r\n};\r\n\r\nconst UPLOAD_ICON_REQUEST = 'UPLOAD_ICON_REQUEST';\r\nconst UPLOAD_ICON_SUCCESS = 'UPLOAD_ICON_SUCCESS';\r\nconst UPLOAD_ICON_FAILURE = 'UPLOAD_ICON_FAILURE';\r\n\r\nexport const uploadIconRequest = () => ({\r\n type: UPLOAD_ICON_REQUEST,\r\n isFileUploading: true,\r\n});\r\n\r\nexport const uploadIconSuccess = (notification, iconsApprovalStatus) => ({\r\n type: UPLOAD_ICON_SUCCESS,\r\n isFileUploading: false,\r\n notification,\r\n iconsApprovalStatus,\r\n});\r\n\r\nconst uploadIconSuccessAsnc = (notification, iconsApprovalStatus) => (dispatch) => new Promise((resolve) => {\r\n resolve(dispatch(uploadIconSuccess(notification, iconsApprovalStatus)));\r\n});\r\n\r\nexport const uploadIconFailure = () => ({\r\n type: UPLOAD_ICON_FAILURE,\r\n isFileUploading: false,\r\n});\r\n\r\nexport const uploadIcon = () => (dispatch, getState) => {\r\n const state = getState();\r\n const { jurisdiction, privileges } = state.session;\r\n const { secondHandApproval } = state.config;\r\n const { entries } = state.manageIcons;\r\n const { approve } = privileges.cms.widgetsManagement;\r\n const canApprove = approve || !secondHandApproval;\r\n\r\n const config = {\r\n jurisdiction,\r\n entries,\r\n };\r\n\r\n dispatch(uploadIconRequest());\r\n\r\n return api\r\n .uploadIcon(config)\r\n .then(() => {\r\n const notification = canApprove ? api.codes.ICON_PUBLISH_SUCCESS : api.codes.ICON_UPDATE_SUCCESS;\r\n const iconsApprovalStatus = canApprove ? 'APPROVED' : 'DRAFT';\r\n\r\n return dispatch(uploadIconSuccessAsnc(notification, iconsApprovalStatus)).then(() => dispatch(clearNotifications()));\r\n })\r\n .catch(() => {\r\n dispatch(uploadIconFailure());\r\n dispatch(cancelIconsChanges());\r\n });\r\n};\r\n\r\nconst SELECT_ICON_REQUEST = 'SELECT_ICON_REQUEST';\r\nconst SELECT_ICON_SUCCESS = 'SELECT_ICON_SUCCESS';\r\nconst SELECT_ICON_FAILURE = 'SELECT_ICON_FAILURE';\r\n\r\nexport const selectIconRequest = () => ({\r\n type: SELECT_ICON_REQUEST,\r\n startFileSelection: true,\r\n});\r\n\r\nexport const selectIconSuccess = (icon) => ({\r\n type: SELECT_ICON_SUCCESS,\r\n startFileSelection: false,\r\n notification: api.codes.ICON_UPLOAD_SUCCESS,\r\n icon,\r\n});\r\n\r\nexport const selectIconFailure = (error) => ({\r\n type: SELECT_ICON_FAILURE,\r\n startFileSelection: false,\r\n error,\r\n});\r\n\r\nexport const selectIcon = (file, options = {}) => (dispatch) => {\r\n dispatch(selectIconRequest());\r\n dispatch(clearNotifications());\r\n\r\n return fileReader(file, options)\r\n .then((icon) => validateImageRatio(icon))\r\n .then((icon) => {\r\n // The file's result results in a string that cannot be directly decoded as Base64\r\n // https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL\r\n const base64Format = icon.source.replace(`data:${icon.type};base64,`, '');\r\n\r\n return {\r\n title: icon.name,\r\n created: Date.now(),\r\n fields: {\r\n en_US: {\r\n thumbnail: icon.source,\r\n },\r\n },\r\n attachments: {\r\n en_US: [\r\n {\r\n name: icon.name,\r\n mimeType: icon.type,\r\n content: base64Format,\r\n },\r\n ],\r\n },\r\n };\r\n })\r\n .then((icon) => dispatch(selectIconSuccess(icon)))\r\n .catch((error) => {\r\n const isSupportedError = api.errors.find((er) => er.code === error);\r\n if (isSupportedError) {\r\n dispatch(selectIconFailure(error));\r\n }\r\n });\r\n};\r\n\r\nconst DISCARD_CHANGES_REQUEST = 'DISCARD_CHANGES_REQUEST';\r\nconst DISCARD_CHANGES_SUCCESS = 'DISCARD_CHANGES_SUCCESS';\r\nconst DISCARD_CHANGES_FAILURE = 'DISCARD_CHANGES_FAILURE';\r\n\r\nexport const discardIconsRequest = () => ({\r\n type: DISCARD_CHANGES_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const discardIconsSuccess = () => ({\r\n type: DISCARD_CHANGES_SUCCESS,\r\n isLoading: false,\r\n notification: api.codes.ICON_DISCARD_SUCCESS,\r\n});\r\n\r\nexport const discardIconsFailure = () => ({\r\n type: DISCARD_CHANGES_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const discardIcons = () => (dispatch, getState) => {\r\n const state = getState();\r\n const { jurisdiction } = state.session;\r\n\r\n const config = {\r\n jurisdiction,\r\n };\r\n\r\n dispatch(discardIconsRequest());\r\n\r\n return api\r\n .discardIcons(config)\r\n .then(() => {\r\n dispatch(fetchIcons());\r\n return dispatch(discardIconsSuccess());\r\n })\r\n .catch(() => dispatch(discardIconsFailure()));\r\n};\r\n\r\nconst DELETE_ICON = 'DELETE_ICON';\r\n\r\nexport const deleteIconsSuccess = (icon) => ({\r\n type: DELETE_ICON,\r\n notification: api.codes.ICON_DELETE_SUCCESS,\r\n icon,\r\n});\r\n\r\nconst deleteIconAsnc = (icon) => (dispatch) => new Promise((resolve) => {\r\n resolve(dispatch(deleteIconsSuccess(icon)));\r\n});\r\n\r\nexport const deleteIcon = (icon) => (dispatch) => {\r\n dispatch(deleteIconAsnc(icon)).then(() => dispatch(clearNotifications()));\r\n};\r\n\r\nconst CANCEL_CHANGES = 'CANCEL_CHANGES';\r\n\r\nexport const cancelIconsChanges = () => ({\r\n type: CANCEL_CHANGES,\r\n});\r\n\r\nconst CLEAR_NOTIFICATIONS = 'CLEAR_NOTIFICATIONS';\r\n\r\nexport const clearNotifications = () => ({\r\n type: CLEAR_NOTIFICATIONS,\r\n notification: '',\r\n error: '',\r\n});\r\n\r\nexport default {\r\n FETCH_ICONS_REQUEST,\r\n FETCH_ICONS_SUCCESS,\r\n FETCH_ICONS_FAILURE,\r\n UPLOAD_ICON_REQUEST,\r\n UPLOAD_ICON_FAILURE,\r\n UPLOAD_ICON_SUCCESS,\r\n SELECT_ICON_REQUEST,\r\n SELECT_ICON_FAILURE,\r\n SELECT_ICON_SUCCESS,\r\n DISCARD_CHANGES_REQUEST,\r\n DISCARD_CHANGES_SUCCESS,\r\n DISCARD_CHANGES_FAILURE,\r\n DELETE_ICON,\r\n CANCEL_CHANGES,\r\n CLEAR_NOTIFICATIONS,\r\n};\r\n\r\nconst fileReader = (file, options = {}) => {\r\n const fileReader = new FileReader();\r\n\r\n return new Promise((resolve, reject) => {\r\n fileReader.onerror = () => {\r\n fileReader.abort();\r\n reject(api.codes.FILE_ERROR);\r\n };\r\n\r\n fileReader.onload = () => {\r\n const MAX_FILE_SIZE = 300; // KB\r\n const size = Math.round(file.size / 1024);\r\n const resolveObj = {\r\n name: file.name,\r\n type: file.type,\r\n source: fileReader.result,\r\n };\r\n const ext = (`.${_.last(file.name.split('.'))}`).toLowerCase();\r\n\r\n if (size > MAX_FILE_SIZE) reject(api.codes.FILE_SIZE_EXCEEDED);\r\n\r\n if (_.isArray(options.accept) && !options.accept.includes(ext)) reject(api.codes.FILE_EXTENSION_ERROR);\r\n\r\n resolve(resolveObj);\r\n };\r\n\r\n fileReader.readAsDataURL(file);\r\n });\r\n};\r\n\r\nconst validateImageRatio = (file) => {\r\n const img = new Image();\r\n\r\n return new Promise((resolve, reject) => {\r\n img.src = file.source;\r\n\r\n img.onload = () => {\r\n if (img.height > img.width) reject(api.codes.FILE_RATIO_ERROR);\r\n\r\n resolve(file);\r\n };\r\n\r\n img.onerror = () => {\r\n reject(api.codes.FILE_ERROR);\r\n };\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/manage-icons.actions.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchUnreadMessagesCountRequest = () => ({\r\n type: actionTypes.FETCH_UNREAD_MESSAGES_COUNT_REQUEST,\r\n});\r\n\r\nexport const fetchUnreadMessagesCountFailure = () => ({\r\n type: actionTypes.FETCH_UNREAD_MESSAGES_COUNT_FAILURE,\r\n});\r\n\r\nexport const fetchUnreadMessagesCountSuccess = (count) => ({\r\n type: actionTypes.FETCH_UNREAD_MESSAGES_COUNT_SUCCESS,\r\n count,\r\n});\r\n\r\nexport const fetchUnreadMessagesCount = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchUnreadMessagesCountRequest());\r\n const count = await api.fetchUnreadMessagesCount();\r\n\r\n dispatch(fetchUnreadMessagesCountSuccess(count));\r\n } catch (error) {\r\n dispatch(fetchUnreadMessagesCountFailure(error));\r\n console.error('FETCH_UNREAD_MESSAGES', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/unread-count.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionarySuccess = (displayTypes) => ({\r\n type: actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS,\r\n displayTypes,\r\n});\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchPrivilegeDisplayTypesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchPrivilegeDisplayTypesDictionaryRequest());\r\n const displayTypes = await api.fetchPrivilegeDisplayTypesDictionary(locale);\r\n dispatch(fetchPrivilegeDisplayTypesDictionarySuccess(displayTypes));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_PRIVILEGE_DISPLAY_TYPES', error);\r\n dispatch(fetchPrivilegeDisplayTypesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/privilege-display-types-dictionary.actions.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchLicenseRenewal } from 'dashboard/actions/license-renewal/license-renewal.actions';\r\nimport { isChainHeadSelector } from 'selectors';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './license-renewal-widget.html';\r\nimport lspUtilsService from 'utils/lsp-utils-service';\r\n\r\nexport const LICENSE_RENEWAL_SERVICE = 'licenseRenewalService';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, config, licenseRenewal } = state;\r\n const { retailerDashboard, retailer, multistore, role, adminId } = session;\r\n const { licenseRenewalContactUrl, licenseRenewalEnabled } = config;\r\n const { retailers, isLoading } = licenseRenewal;\r\n\r\n const isChainHead = isChainHeadSelector(state);\r\n\r\n return {\r\n retailer,\r\n multistore,\r\n role,\r\n retailerDashboard,\r\n licenseRenewalContactUrl,\r\n retailers,\r\n isLoading,\r\n isChainHead,\r\n licenseRenewalEnabled,\r\n adminId,\r\n isEmpty: retailers.length === 0,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchLicenseRenewal,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass LicenceRenewalWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isRenewalLinkVisible =\r\n this.checkAccess(LICENSE_RENEWAL_SERVICE) &&\r\n (!this.multistore ||\r\n (this.multistore && this.retailer.licensingAccess && this.role === 'RETAILER_SECONDARY') ||\r\n (this.multistore && this.role === 'RETAILER_PRIMARY'));\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n if (this.licenseRenewalEnabled) {\r\n this.$scope.$applyAsync(this.fetchLicenseRenewal(retailerId));\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n redirectToLSP() {\r\n lspUtilsService.redirectToLSP('Licensing', this.adminId); \r\n }\r\n}\r\n\r\nexport default class LicenceRenewalWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = LicenceRenewalWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-component.js","import actionTypes from 'registration/actions/action-types';\r\nimport * as api from 'registration/resources/registration.api';\r\n\r\nexport const INDEPENDENT_TYPE = 'independent';\r\nexport const CHAIN_HEAD_TYPE = 'chain_head';\r\nexport const CHAIN_SUBORDINATE_TYPE = 'chain_subordinate';\r\nexport const SUPER_CHAIN_TYPE = 'super_chain';\r\nexport const PROSPECTIVE_TYPE = 'prospective';\r\n\r\nconst canSelfRegister = (retailer, retailerType, checkPrimaryUser = false) => {\r\n const canSelfRegister = retailer && retailer.active && retailer.retailerType.toLocaleLowerCase() === retailerType;\r\n if (checkPrimaryUser) {\r\n return canSelfRegister && !retailer.hasPrimaryUser;\r\n }\r\n return canSelfRegister;\r\n};\r\n\r\nexport const fetchRetailerDetailsRequest = () => ({\r\n type: actionTypes.REGISTRATION_FETCH_RETAILER_DETAILS_REQUEST,\r\n error: false,\r\n});\r\n\r\nexport const fetchRetailerDetailsSuccess = (retailer) => ({\r\n type: actionTypes.REGISTRATION_FETCH_RETAILER_DETAILS_SUCCESS,\r\n retailer,\r\n});\r\n\r\nexport const fetchRetailerDetailsFailure = () => ({\r\n type: actionTypes.REGISTRATION_FETCH_RETAILER_DETAILS_FAILURE,\r\n error: true,\r\n});\r\n\r\nexport const fetchRetailerDetails =\r\n ({ retailerId, captchaToken }) =>\r\n async (dispatch) => {\r\n try {\r\n dispatch(fetchRetailerDetailsRequest());\r\n const retailer = await api.fetchRetailerDetails(retailerId, captchaToken);\r\n retailer.retailerId = retailerId;\r\n retailer.canSelfRegisterIndependent = canSelfRegister(retailer, INDEPENDENT_TYPE);\r\n retailer.canSelfRegisterSuperChain = canSelfRegister(retailer, SUPER_CHAIN_TYPE);\r\n retailer.canSelfRegisterChainHead = canSelfRegister(retailer, CHAIN_HEAD_TYPE, true);\r\n retailer.canSelfRegisterChainSubordinate = canSelfRegister(retailer, CHAIN_SUBORDINATE_TYPE, true);\r\n retailer.canSelfRegister =\r\n retailer.canSelfRegisterIndependent ||\r\n retailer.canSelfRegisterSuperChain ||\r\n retailer.canSelfRegisterChainHead ||\r\n retailer.canSelfRegisterChainSubordinate;\r\n dispatch(fetchRetailerDetailsSuccess(retailer));\r\n } catch (error) {\r\n console.error('FETCH_RETAILER_DETAILS_FAILURE', error);\r\n dispatch(fetchRetailerDetailsFailure());\r\n }\r\n };\r\n\r\nexport const setRetailerDetails = (retailer) => (dispatch) => {\r\n dispatch(fetchRetailerDetailsSuccess(retailer));\r\n};\r\n\r\nexport const clearRetailerDetails = () => (dispatch) => {\r\n dispatch({\r\n type: actionTypes.REGISTRATION_CLEAR_RETAILER_DETAILS,\r\n });\r\n};\r\n\r\nexport const updateRetailerDetails = (retailer) => (dispatch) => {\r\n dispatch({\r\n type: actionTypes.REGISTRATION_UPDATE_RETAILER_DETAILS,\r\n retailer,\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/fetch-retailer-details.actions.js","import api from '../resources/subordinate-list.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSubordinateListRequest = () => ({\r\n type: actionTypes.FETCH_SUBORDINATE_LIST_REQUEST,\r\n name: 'subordinateListLoadingStatus',\r\n});\r\n\r\nexport const fetchSubordinateListSuccess = (list, pagination) => ({\r\n type: actionTypes.FETCH_SUBORDINATE_LIST_SUCCESS,\r\n list,\r\n pagination,\r\n name: 'subordinateListLoadingStatus',\r\n});\r\n\r\nexport const fetchSubordinateListFailure = () => ({\r\n type: actionTypes.FETCH_SUBORDINATE_LIST_FAILURE,\r\n name: 'subordinateListLoadingStatus',\r\n});\r\n\r\nexport const fetchSubordinateList = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = params.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...params,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchSubordinateListRequest());\r\n\r\n const { content: list, ...pagination } = await api.fetchSubordinateList(requestParams);\r\n dispatch(fetchSubordinateListSuccess(list, pagination));\r\n } catch (error) {\r\n console.error('FETCH_SUBORDINATE_LIST', error);\r\n dispatch(fetchSubordinateListFailure());\r\n }\r\n};\r\n\r\nexport const selectRetailer = (retailer) => ({\r\n type: actionTypes.SELECT_RETAILER,\r\n retailer,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/actions/subordinate-list.actions.js","import * as api from 'dashboard/resources/announcements.api';\r\nimport { isActiveAnnouncement, isArchivedAnnouncement, isScheduledAnnouncement } from 'dashboard/reducers/announcements/utils';\r\nimport isEqual from 'lodash/isEqual';\r\n\r\nimport announcementTypes from './announcement-types';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchAnnouncementsRequest = () => ({\r\n type: actionTypes.FETCH_ANNOUNCEMENTS_REQUEST,\r\n name: 'announcementsStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchAnnouncementsSuccess = ({ draft, items }, locale, lotteryTime) => ({\r\n type: actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS,\r\n name: 'announcementsStatusLoadingStatus',\r\n draft,\r\n items,\r\n locale,\r\n lotteryTime,\r\n});\r\n\r\nexport const fetchAnnouncementsFailure = () => ({\r\n type: actionTypes.FETCH_ANNOUNCEMENTS_FAILURE,\r\n name: 'announcementsStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchAnnouncements =\r\n (dashboard = false) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { config, session } = getState();\r\n const { locale, lotteryTime } = session;\r\n const { secondHandApproval, jurisdictionId } = config;\r\n const showOnlyPublishedWidgets = dashboard || !secondHandApproval;\r\n\r\n dispatch(fetchAnnouncementsRequest());\r\n const result = await api.fetchAnnouncements(showOnlyPublishedWidgets, jurisdictionId);\r\n dispatch(fetchAnnouncementsSuccess(result, locale, lotteryTime));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_ANNOUNCEMENTS', error);\r\n dispatch(fetchAnnouncementsFailure());\r\n }\r\n };\r\n\r\nexport const togglePinAnnouncements = (index) => (dispatch, getState) => {\r\n const { session, config } = getState();\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n dispatch({\r\n type: actionTypes.TOGGLE_PIN_ANNOUNCEMENTS,\r\n index,\r\n locale,\r\n locales,\r\n });\r\n};\r\n\r\nexport const deleteActiveAnnouncement = (index) => ({\r\n type: actionTypes.DELETE_ACTIVE_ANNOUNCEMENT,\r\n index,\r\n});\r\n\r\nexport const deleteArchivedAnnouncement = (index) => ({\r\n type: actionTypes.DELETE_ARCHIVED_ANNOUNCEMENT,\r\n index,\r\n});\r\n\r\nexport const deleteScheduledAnnouncement = (index) => ({\r\n type: actionTypes.DELETE_SCHEDULED_ANNOUNCEMENT,\r\n index,\r\n});\r\n\r\nexport const deleteAnnouncement = (index, type) => (dispatch) => {\r\n switch (type) {\r\n case announcementTypes.ACTIVE:\r\n dispatch(deleteActiveAnnouncement(index));\r\n break;\r\n case announcementTypes.ARCHIVED:\r\n dispatch(deleteArchivedAnnouncement(index));\r\n break;\r\n case announcementTypes.SCHEDULED:\r\n dispatch(deleteScheduledAnnouncement(index));\r\n break;\r\n default:\r\n // eslint-disable-next-line no-console\r\n console.error('UNKNOWN ANNOUNCEMENT TYPE');\r\n }\r\n};\r\n\r\nexport const addActiveAnnouncement = (announcement, locale) => ({\r\n type: actionTypes.ADD_ACTIVE_ANNOUNCEMENT,\r\n announcement,\r\n locale,\r\n});\r\n\r\nexport const addArchivedAnnouncement = (announcement, locale) => ({\r\n type: actionTypes.ADD_ARCHIVED_ANNOUNCEMENT,\r\n announcement,\r\n locale,\r\n});\r\n\r\nexport const addScheduledAnnouncement = (announcement, locale) => ({\r\n type: actionTypes.ADD_SCHEDULED_ANNOUNCEMENT,\r\n announcement,\r\n locale,\r\n});\r\n\r\nexport const addAnnouncement = (announcement) => (dispatch, getState) => {\r\n const { session } = getState();\r\n const { lotteryTime, locale } = session;\r\n\r\n if (isActiveAnnouncement(announcement, lotteryTime)) {\r\n dispatch(addActiveAnnouncement(announcement, locale));\r\n } else if (isArchivedAnnouncement(announcement, lotteryTime)) {\r\n dispatch(addArchivedAnnouncement(announcement, locale));\r\n } else if (isScheduledAnnouncement(announcement, lotteryTime)) {\r\n dispatch(addScheduledAnnouncement(announcement, locale));\r\n }\r\n};\r\n\r\nexport const updateAnnouncementsRequest = () => ({\r\n type: actionTypes.UPDATE_ANNOUNCEMENTS_REQUEST,\r\n});\r\n\r\nexport const updateAnnouncementsSuccess = () => ({\r\n type: actionTypes.UPDATE_ANNOUNCEMENTS_SUCCESS,\r\n});\r\n\r\nexport const updateAnnouncementsFailure = () => ({\r\n type: actionTypes.UPDATE_ANNOUNCEMENTS_FAILURE,\r\n});\r\n\r\nconst getModifiedAnnouncements = (announcements, announcementsToUpdate, locale) => {\r\n // Find deleted announcements\r\n const deletedAnnoucments = announcements.filter(\r\n (announcement) => !announcementsToUpdate.find((announcementToUpdate) => announcementToUpdate.id === announcement.id)\r\n );\r\n\r\n // Find new aannouncements\r\n const newAnnouncements = announcementsToUpdate.filter((announcementToUpdate) => !announcementToUpdate.id);\r\n\r\n // Find updated announcements\r\n const updatedAnnouncements = announcementsToUpdate.filter((announcementToUpdate) =>\r\n announcements.find((announcement) => announcement.id === announcementToUpdate.id && !isEqual(announcementToUpdate, announcement))\r\n );\r\n\r\n return [...updatedAnnouncements, ...deletedAnnoucments, ...newAnnouncements].map((announcement) => announcement.fields[locale].title);\r\n};\r\n\r\nexport const updateAnnouncements = () => async (dispatch, getState) => {\r\n try {\r\n const { session, config, announcements } = getState();\r\n const { locale } = session;\r\n const { locales, secondHandApproval, jurisdictionId } = config;\r\n const { active, scheduled, archived } = announcements;\r\n const announcementsToUpdate = [...active, ...scheduled, ...archived];\r\n const modified = getModifiedAnnouncements(announcements.items, announcementsToUpdate, locale);\r\n\r\n dispatch(updateAnnouncementsRequest());\r\n await api.updateAnnouncements(announcementsToUpdate, modified, locales, secondHandApproval, jurisdictionId);\r\n dispatch(updateAnnouncementsSuccess());\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('UPDATE_ANNOUNCEMENTS', error);\r\n dispatch(updateAnnouncementsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/announcements/announcements.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'user';\r\n\r\nexport const fetchLinkedRetailers = async (queryParams) => {\r\n const { url } = DepsService.rest.account.linkedRetailers.get;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const updateLinkedRetailers = (data) => {\r\n const { url } = DepsService.rest.account.linkedRetailers.update;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, data);\r\n};\r\n\r\nexport const deleteLinkedRetailers = (data) => {\r\n const { url } = DepsService.rest.account.linkedRetailers.update;\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, null, { data });\r\n};\r\n\r\nexport const hasLinkedRetailers = async () => {\r\n const { content } = await fetchLinkedRetailers({\r\n isLinkedRetailers: true,\r\n pageNumber: 0,\r\n pageSize: 2,\r\n });\r\n return content && content.length > 1;\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/resources/linked-retailers.api.js","import api from 'utils/resources/utils.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchRetailerDetailsRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_REQUEST,\r\n});\r\n\r\nexport const fetchRetailerDetailsSuccess = (details) => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_SUCCESS,\r\n details,\r\n});\r\n\r\nexport const fetchRetailerDetailsFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_DETAILS_FAILURE,\r\n});\r\n\r\nexport const fetchRetailerDetails =\r\n (retailerId = null) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const id = retailerId || session.retailer.retailerId;\r\n if (!id) return;\r\n dispatch(fetchRetailerDetailsRequest());\r\n\r\n const details = await api.fetchRetailerDetails(id);\r\n\r\n dispatch(fetchRetailerDetailsSuccess(details));\r\n } catch (error) {\r\n console.error('FETCH_RETAILER_DETAILS', error);\r\n dispatch(fetchRetailerDetailsFailure());\r\n }\r\n };\r\n\r\nexport const clearRetailerDetails = () => ({\r\n type: actionTypes.CLEAR_RETAILER_DETAILS,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/utils.actions.js","import _ from 'lodash';\r\n\r\nconst ASC_DESC_MAPPING = {\r\n true: 'asc', // eslint-disable-line quote-props\r\n false: 'desc', // eslint-disable-line quote-props\r\n};\r\n\r\nconst defaultFilterHandler = (item, filters, key) => {\r\n const filterValue = _.toString(_.get(filters, key)).toLowerCase();\r\n const itemValue = _.toString(_.get(item, key)).toLowerCase();\r\n return !filterValue || itemValue.indexOf(filterValue) > -1;\r\n};\r\n\r\nfunction applyGrid(deps, fetchFunction, gridId, params = {}) {\r\n return _.flow([\r\n obj => _.set(obj, 'fetchData', fetchData.bind(null, fetchFunction, gridId)),\r\n obj => _.set(obj, 'applyFilters', applyFilters.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'sortByColumn', sortByColumn.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'changePageSize', changePageSize.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'gotoPage', gotoPage.bind(null, deps, gridId)),\r\n obj => _.set(obj, 'nextPage', nextPage.bind(null, obj.gotoPage, deps, gridId)),\r\n obj => _.set(obj, 'prevPage', prevPage.bind(null, obj.gotoPage, deps, gridId)),\r\n obj => _.merge(obj, initialGridModel(deps, params))\r\n ])({});\r\n}\r\n\r\nfunction initialGridModel(deps, params) {\r\n return {\r\n loaded: false,\r\n data: [],\r\n meta: {},\r\n pagingModel: {\r\n [deps.config.pageNoKey]: params[deps.config.pageNoKey] || deps.config.defaultPageNo,\r\n [deps.config.pageSizeKey]: params[deps.config.pageSizeKey] || deps.config.defaultPageSize[0],\r\n [deps.config.sortColumnKey]: params[deps.config.sortColumnKey] || deps.config.defaultSortColumnKey,\r\n [deps.config.directionKey]: params[deps.config.directionKey] === undefined ? deps.config.defaultSortDirection : params[deps.config.directionKey],\r\n [deps.config.filtersKey]: {},\r\n },\r\n };\r\n}\r\n\r\nfunction fetchData(fetchFunction, gridId, model) {\r\n const gridModel = _.get(model, gridId);\r\n return fetchFunction(model, gridModel.pagingModel).then((result) => {\r\n const newGridModel = _.merge(gridModel, {\r\n meta: evalMeta(result),\r\n loaded: true,\r\n });\r\n newGridModel.data = result.content || result;\r\n return _.set(model, gridId, newGridModel);\r\n });\r\n}\r\n\r\nfunction gotoPage(deps, gridId, model, page) {\r\n return _.get(model, gridId).fetchData(\r\n _.set(\r\n model,\r\n `${gridId}.pagingModel.${deps.config.pageNoKey}`,\r\n Number.isNaN(page) ? 0 : page\r\n )\r\n );\r\n}\r\n\r\nfunction nextPage(gotoPageFunc, deps, gridId, model) {\r\n let pageNo = _.get(model, `${gridId}.pagingModel.${deps.config.pageNoKey}`);\r\n return gotoPageFunc(model, ++pageNo);\r\n}\r\n\r\nfunction prevPage(gotoPageFunc, deps, gridId, model) {\r\n let pageNo = _.get(model, `${gridId}.pagingModel.${deps.config.pageNoKey}`);\r\n return gotoPageFunc(model, --pageNo);\r\n}\r\n\r\nfunction setFilters(deps, gridId, model, filters) {\r\n return _.set(model, `${gridId}.pagingModel.${deps.config.filtersKey}`, filters);\r\n}\r\n\r\nfunction applyFilters(deps, gridId, model, filters) {\r\n return _.get(model, gridId).fetchData(\r\n _.set(\r\n _.set(model, `${gridId}.pagingModel.${deps.config.pageNoKey}`, 0),\r\n `${gridId}.pagingModel.${deps.config.filtersKey}`,\r\n removeEmptyFilters(filters)\r\n )\r\n );\r\n}\r\n\r\nfunction removeEmptyFilters(filters = []) {\r\n return Object.keys(filters).reduce((newFilters, key) => {\r\n const value = filters[key];\r\n if (value) {\r\n newFilters[key] = value;\r\n }\r\n return newFilters;\r\n }, {});\r\n}\r\n\r\nfunction sortByColumn(deps, gridId, model, column, direction) {\r\n return _.get(model, gridId).fetchData(\r\n _.flow([\r\n obj => _.set(obj, `${gridId}.pagingModel.${deps.config.sortColumnKey}`, column),\r\n obj => _.set(obj, `${gridId}.pagingModel.${deps.config.directionKey}`, direction.toString())\r\n ])(model)\r\n );\r\n}\r\n\r\nfunction changePageSize(deps, gridId, model, pageSize) {\r\n return _.get(model, gridId).fetchData(_.set(model, `${gridId}.pagingModel.${deps.config.pageSizeKey}`, pageSize));\r\n}\r\n\r\nfunction sortItems(items, column, direction) {\r\n return _.orderBy(items, [column], [direction]);\r\n}\r\n\r\nfunction filterItems(items, filters = {}, customHandlers = {}) {\r\n const filterKeys = Object.keys(filters).filter((item) => filters[item] !== undefined && filters[item] !== null);\r\n return _.cloneDeep(items).filter((item) => filterKeys.every((key) => (customHandlers[key] || defaultFilterHandler)(item, filters, key)));\r\n}\r\n\r\nfunction evalMeta(result) {\r\n return {\r\n count: result.totalElements,\r\n pagesCount: result.totalPages,\r\n page: result.number,\r\n displayedPage: ++result.number,\r\n pageSize: result.size,\r\n hasPreviousPage: result.hasPrevious,\r\n hasNextPage: result.hasNext,\r\n };\r\n}\r\n\r\nexport default {\r\n applyGrid,\r\n sortItems,\r\n filterItems,\r\n setFilters,\r\n defaultFilterHandler,\r\n ASC_DESC_MAPPING,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/lsp-grid/grid.js","module.exports = {\"jurisdiction\":{\"details\":{\"url\":\"api/configuration/jurisdiction\"},\"get\":{\"url\":\"api/rest/user/self/jurisdiction/{id}\"}},\"navigator\":{\"typecodes\":{\"url\":\"api/system/typecodes\"}},\"theme\":{\"url\":\"api/theme\"},\"cms\":{\"sms-policy\":{\"first\":{\"url\":\"api/configuration/sms-policy\"},\"second\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/sms-policy\"}},\"privacy-policy\":{\"first\":{\"url\":\"api/configuration/privacy-policy\"},\"second\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/privacy-policy\"}},\"widgets\":{\"first\":{\"url\":\"api/configuration/widgets\"},\"second\":{\"url\":\"api/configuration/widgets\"},\"discard\":{\"url\":\"api/configuration/widgets/discard\"},\"download\":{\"url\":\"api/content/widget/{contentId}\"}},\"carousel\":{\"first\":{\"url\":\"api/configuration/carousel\"},\"second\":{\"url\":\"api/configuration/carousel\"},\"discard\":{\"url\":\"api/configuration/carousel/discard\"}},\"login-popup\":{\"first\":{\"url\":\"api/system/login-popup\"},\"second\":{\"url\":\"api/system/login-popup\"},\"discard\":{\"url\":\"api/system/login-popup/discard\"}},\"contacts\":{\"first\":{\"url\":\"api/contact/contacts\"},\"second\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/contacts\"}},\"announcements\":{\"first\":{\"url\":\"api/system/announcements\"},\"second\":{\"url\":\"api/system/announcements/{jurisdictionId}\"},\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/announcements/snapshots/discard\"}},\"terms\":{\"view\":{\"first\":{\"url\":\"api/configuration/terms-of-use\"},\"second\":{\"url\":\"api/configuration/terms-of-use\"}},\"update\":{\"first\":{\"url\":\"api/configuration/terms-of-use\"},\"second\":{\"url\":\"api/configuration/terms-of-use\"}},\"currentVersion\":{\"url\":\"api/configuration/terms-of-use/current-version\"},\"versionDetails\":{\"url\":\"api/configuration/terms-of-use/version/{version}\"},\"allVersions\":{\"url\":\"api/configuration/terms-of-use/version\"},\"download\":{\"url\":\"api/content/widget/{contentId}\"}},\"termsOfUse\":{\"discard\":{\"url\":\"api/configuration/terms-of-use/snapshots/discard\"}},\"privacyPolicy\":{\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/privacy-policy/snapshots/discard\"}},\"smsPolicy\":{\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/sms-policy/snapshots/discard\"}},\"content\":{\"update\":{\"url\":\"api/jurisdiction/{jurisdictionId}/content/{contentId}\"},\"view\":{\"url\":\"api/jurisdiction/{jurisdictionId}/content/{contentId}\"}},\"icons\":{\"get\":{\"first\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"},\"second\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"}},\"put\":{\"first\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"},\"second\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons\"}},\"discard\":{\"url\":\"api/admin/jurisdiction/{jurisdictionId}/spaces/icons/snapshots/discard\"}},\"configurableLink\":{\"url\":\"api/admin/configurable-link/update\"},\"gameImages\":{\"get\":{\"url\":\"api/game/{type}\"},\"update\":{\"url\":\"api/game/{gameType}/image/{gameId}\"}},\"mediaTemplate\":{\"get\":{\"url\":\"api/poster/{posterName}\"},\"update\":{\"url\":\"api/poster/update\"},\"preview\":{\"url\":\"api/poster/preview\"},\"fonts\":{\"url\":\"api/poster/fonts\"}}},\"dictionary\":{\"names\":{\"url\":\"api/user/dictionary/name/{name}\"},\"smsTypes\":{\"url\":\"api/user/sms/sms-types/{locale}\"},\"mobilePhoneCarrier\":{\"url\":\"api/SelfRegistration/carriers\"},\"ownerValidationMethod\":{\"url\":\"api/SelfRegistration/owner-validation-methods\"},\"pricePoints\":{\"url\":\"api/game/price-points\"},\"packStatuses\":{\"url\":\"api/game/pack/statuses\"},\"orderStatuses\":{\"url\":\"api/game/order/statuses\"},\"outletTypes\":{\"url\":\"api/system/outlet-types\"},\"lotteryTerms\":{\"url\":\"api/configuration/terms\"}},\"configuration\":{\"internal\":{\"version\":{\"url\":\"api/rest/internal/configuration/version\"},\"locale\":{\"url\":\"api/rest/internal/configuration/locale\"},\"jurisdiction\":{\"url\":\"api/rest/internal/configuration/jurisdiction\"}},\"version\":{\"url\":\"api/configuration/version\"},\"security\":{\"questions\":{\"url\":\"api/SelfRegistration/questions\"}},\"passwordPolicy\":{\"url\":\"api/configuration/password-policy\"},\"site\":{\"url\":\"api/configuration/site\"},\"pi\":{\"version\":{\"url\":\"api/pi/configuration/version\"}},\"frontend\":{\"url\":\"api/configuration\"}},\"oauth\":{\"login\":{\"url\":\"api/authorization/login?accept-terms-and-conditions={acceptTerms}®istration-form={registrationForm}\"},\"loginAs\":{\"url\":\"api/authorization/login-as\"},\"loginBack\":{\"url\":\"api/authorization/login-back-to-impersonating-user\"},\"logout\":{\"url\":\"api/authorization/refresh/access\"},\"tokens\":{\"url\":\"api/authorization/refresh\"}},\"auth\":{\"remindUsername\":{\"url\":\"api/user/forgotten-username\"},\"resetPassword\":{\"url\":\"api/Authorization/password/reset\"},\"changePassword\":{\"url\":\"api/user/update-password\"},\"securityQuestions\":{\"url\":\"api/challenges/questions\"},\"twoFactor\":{\"setup\":{\"url\":\"api/two-factor/setup\"},\"confirm\":{\"url\":\"api/two-factor/confirm\"},\"trustedDevicesList\":{\"url\":\"api/two-factor/devices-list\"},\"deleteDevice\":{\"url\":\"api/two-factor/device-delete\"}}},\"account\":{\"linkedRetailers\":{\"get\":{\"url\":\"api/user/retailers\"},\"update\":{\"url\":\"api/admin/secondary-user/retailers\"}},\"passwordReset\":{\"url\":\"api/Authorization/password/reset\"},\"data\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]},\"confirmRegistration\":{\"url\":\"api/user/data/complete\"},\"primaryEntries\":{\"url\":\"api/SelfRegistration/register\"},\"prospectRegistration\":{\"url\":\"api/rest/user/self/register/prospect\"},\"report\":{\"report\":{\"subscriptions\":{\"url\":\"api/reports/subscription/report\"}},\"email\":{\"subscriptions\":{\"url\":\"api/reports/subscription/email\"}},\"sftp\":{\"subscriptions\":{\"url\":\"api/reports/subscription/sftp\"}},\"transformation\":{\"types\":{\"url\":\"api/reports/transformation-types\",\"altUrls\":[{\"value\":\"api/reports/transformation-types\",\"done\":false},{\"value\":\"api/rest/user/self/report/transformation-types\",\"done\":false}]}}},\"securityQuestions\":{\"url\":\"api/challenges/questions\"},\"entries\":{\"url\":\"api/user/multistore\",\"altUrls\":[{\"value\":\"api/user/multistore\",\"done\":false},{\"value\":\"api/users/{userId}/subordinates\",\"done\":false}]},\"roles\":{\"url\":\"api/System/roles\"},\"templates\":{\"url\":\"api/role\"},\"validate\":{\"url\":\"api/admin/user/validate-existing-info\"},\"create\":{\"url\":\"api/admin/user\",\"altUrls\":[{\"value\":\"api/admin/user\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]},\"promote\":{\"url\":\"api/admin/user/{promotedId}/promotion/{downgradedId}\"},\"update\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]},\"entryById\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}/data\",\"done\":false}]},\"self\":{\"data\":{\"url\":\"api/user/details/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}/data\",\"done\":false}]},\"update\":{\"url\":\"api/user/data\",\"altUrls\":[{\"value\":\"api/user/data\",\"done\":false},{\"value\":\"api/rest/user/self/data\",\"done\":false}]}},\"delete\":{\"url\":\"api/admin/user/{id}\",\"altUrls\":[{\"value\":\"api/admin/user/{id}\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}\",\"done\":false}]},\"activate\":{\"url\":\"api/admin/user/{id}/activation\"},\"suspend\":{\"url\":\"api/admin/user/{id}/state/suspension\"},\"completeRegistration\":{\"url\":\"api/admin/user/{id}/state/activation\"},\"resendActivationEmail\":{\"url\":\"api/admin/user/{id}/activation/resend\",\"altUrls\":[{\"value\":\"api/admin/user/{id}/activation/resend\",\"done\":false},{\"value\":\"api/rest/user/subordinate/{id}/notification/email/activation/resend\",\"done\":false}]},\"entryByLogin\":{\"url\":\"api/user/details\"},\"privileges\":{\"url\":\"api/user/privileges/{userId}\"}},\"login\":{\"loadData\":{\"url\":\"api/rest/login/news\"}},\"locale\":{\"change\":{\"url\":\"api/users/{userId}/locale\"}},\"server\":{\"time\":{\"url\":\"api/system/primary\"}},\"contact\":{\"inquiryReasons\":{\"url\":\"api/contact/inquiry-reason\"},\"send\":{\"url\":\"api/user/contact/send\"},\"sendAnonymous\":{\"url\":\"api/user/contact/send/anonymous\"},\"inquiryContacts\":{\"url\":\"api/admin/inquiry\"},\"inquiryContact\":{\"email\":{\"url\":\"api/admin/inquiry/{id}/email\"}},\"discard\":{\"url\":\"api/rest/admin/jurisdiction/{jurisdictionId}/spaces/contacts/snapshots/discard\"}},\"documents\":{\"types\":{\"url\":\"api/document/types\"},\"create\":{\"url\":\"api/document/documents\"},\"list\":{\"url\":\"api/document/documents\",\"altUrls\":[{\"value\":\"api/document/documents\",\"done\":false},{\"value\":\"api/document/documents\",\"done\":false}]},\"update\":{\"url\":\"api/document/documents/{id}\"},\"remove\":{\"url\":\"api/document/documents/{id}\"},\"category\":{\"create\":{\"url\":\"api/document/category\"},\"remove\":{\"url\":\"api/document/category/{id}\"},\"update\":{\"url\":\"api/document/category/{id}\"}},\"tag\":{\"remove\":{\"url\":\"api/document/documents/tags/{tag}\"}},\"download\":{\"url\":\"api/document/documents/content\",\"altUrls\":[{\"value\":\"api/document/documents/content\",\"done\":false},{\"value\":\"api/document/documents/content\",\"done\":false}]},\"prefetch\":{\"url\":\"api/document/documents/content/{id}\"},\"categories\":{\"url\":\"api/document/categories\"},\"tagsList\":{\"url\":\"api/document/tags\"},\"newLabel\":{\"url\":\"api/user/documents/new-label\"}},\"emailNotifications\":{\"templates\":{\"url\":\"api/admin/notification-template\"},\"template\":{\"update\":{\"url\":\"api/admin/notification-template/{id}\"},\"get\":{\"url\":\"api/admin/notification-template/{id}\"}}},\"report\":{\"user\":{\"url\":\"api/rest/admin/report/user/list\"},\"userCSV\":{\"url\":\"api/rest/admin/report/user/list/csv\"},\"userPDF\":{\"url\":\"api/rest/admin/report/user/list/pdf\"},\"activity\":{\"url\":\"api/admin/report/user/activity\"},\"activityCSV\":{\"url\":\"api/rest/admin/report/user/activity/csv\"},\"activityPDF\":{\"url\":\"api/rest/admin/report/user/activity/pdf\"},\"security\":{\"url\":\"api/rest/admin/report/user/security\"},\"securityCSV\":{\"url\":\"api/rest/admin/report/user/security/csv\"},\"securityPDF\":{\"url\":\"api/rest/admin/report/user/security/pdf\"},\"unsubscribe\":{\"url\":\"api/reports/unsubscribe\"}},\"smsNotifications\":{\"templates\":{\"url\":\"api/admin/sms-types\"},\"template\":{\"update\":{\"url\":\"api/admin/sms-template/{templateId}\"},\"get\":{\"url\":\"api/admin/sms-template/{templateId}\"}}},\"smsNotification\":{\"types\":{\"url\":\"api/admin/sms-types\"}},\"faq\":{\"admin\":{\"categories\":{\"url\":\"api/faq/category\"},\"entries\":{\"url\":\"api/faq/entries\"}},\"category\":{\"url\":\"api/faq/category/{id}\"},\"entry\":{\"url\":\"api/faq/entry/{id}\"},\"categoryOrdinal\":{\"url\":\"api/faq/category/order\"},\"entryOrdinal\":{\"url\":\"api/faq/entry/order\"},\"user\":{\"categories\":{\"url\":\"api/faq/category\"},\"entries\":{\"url\":\"api/faq/entries\",\"altUrls\":[{\"value\":\"api/faq/entries\",\"done\":false},{\"value\":\"api/faq/entries/anonymous\",\"done\":false}]}},\"dictionary\":{\"visibility\":{\"url\":\"api/faq/faq-visibility\"},\"role\":{\"url\":\"api/rest/user/self/dictionary/role\"},\"weekday\":{\"url\":\"api/rest/user/self/dictionary/weekday\"}}},\"jobs\":{\"update\":{\"url\":\"api/rest/admin/batch/trigger/{id}\"},\"entries\":{\"url\":\"api/rest/admin/batch/trigger\"},\"history\":{\"url\":\"api/rest/admin/batch/status\"}},\"message\":{\"reply\":{\"url\":\"api/user/message/reply-to\"},\"admin\":{\"sent\":{\"url\":\"api/admin/user/messages/sent-items\"},\"sentByAll\":{\"url\":\"api/admin/user/messages/administrators-sent-items\"},\"recipients\":{\"url\":\"api/admin/user/message/{id}\"},\"create\":{\"url\":\"api/admin/user/message/send-out\"},\"createLimitToRetailers\":{\"url\":\"api/admin/user/message/send-out-limited-scope\"},\"content\":{\"url\":\"api/admin/user/message/{id}/content\"}},\"user\":{\"inbox\":{\"url\":\"api/user/message\"},\"sent\":{\"url\":\"api/user/message/sent-items\"},\"count\":{\"url\":\"api/user/message/count\"},\"markAsRead\":{\"url\":\"api/user/message/{id}/state/read\"},\"markAsUnread\":{\"url\":\"api/user/message/{id}/state/unread\"},\"content\":{\"url\":\"api/user/message/{id}/content\"}},\"delete\":{\"received\":{\"url\":\"api/user/received/messages\"},\"sent\":{\"url\":\"api/user/sent/messages\"}}},\"multiStore\":{\"shortRetailerInfo\":{\"url\":\"api/retailer/{retailerId}\"},\"add\":{\"url\":\"api/rest/user/multi-store/claim-new-store\"},\"select\":{\"url\":\"api/user/retailer/primary\"},\"list\":{\"url\":\"api/rest/user/multi-store/stores-list\"}},\"privileges\":{\"dynamic\":{\"url\":\"api/role/privileges/{userClass}\"},\"session\":{\"user\":{\"calculate\":{\"url\":\"api/user/session-privileges\"}}},\"RETAILER_SECONDARY\":{\"templates\":{\"url\":\"api/role/all/retailer_secondary\"},\"template\":{\"create\":{\"url\":\"api/role/retailer_secondary\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"},\"get\":{\"url\":\"api/role/{templateId}\"}}},\"RETAILER_PROSPECTIVE\":{\"templates\":{\"url\":\"api/role/all/retailer_prospective\"},\"template\":{\"create\":{\"url\":\"api/role/retailer_prospective\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"},\"get\":{\"url\":\"api/role/{templateId}\"}}},\"RETAILER_PRIMARY\":{\"templates\":{\"url\":\"api/role/all/retailer_primary\"},\"template\":{\"create\":{\"url\":\"api/role\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"},\"get\":{\"url\":\"api/role/{templateId}\"}}},\"ADMIN\":{\"templates\":{\"url\":\"api/role/all/admin\"},\"template\":{\"create\":{\"url\":\"api/role/admin\"},\"get\":{\"url\":\"api/role/{templateId}\"},\"update\":{\"url\":\"api/role/{templateId}\"},\"remove\":{\"url\":\"api/role/{templateId}\"}}},\"RETAILER_GROUP\":{\"template\":{\"get\":{\"url\":\"api/templates/{templateId}\"}}},\"displayTypes\":{\"url\":\"api/Dictionaries/display-types/{locale}\"},\"roles\":{\"get\":{\"url\":\"api/System/roles\"},\"list\":{\"url\":\"api/role/all/{userClass}\"},\"create\":{\"url\":\"api/role/{userClass}\"},\"update\":{\"url\":\"api/role/{id}\"},\"delete\":{\"url\":\"api/role/{id}\"}}},\"selfRegistration\":{\"retailerValidation\":{\"url\":\"api/retailers/by-retailer-id/{retailerId}\"},\"security\":{\"url\":\"api/rest/user/self/security-questions/{id}\"},\"validateOwner\":{\"url\":\"api/SelfRegistration/validate/owner\"},\"validateProspective\":{\"url\":\"api/SelfRegistration/validate/prospective\"},\"owner\":{\"url\":\"api/SelfRegistration/owner\"},\"activation\":{\"url\":\"api/user/activation\"}},\"storeProfiles\":{\"retailer\":{\"url\":\"api/retailers/by-retailer-id/{retailerId}\"},\"list\":{\"url\":\"api/retailers\"}},\"sftp\":{\"admin\":{\"configuration\":{\"url\":\"api/reports/retailer/sftp\"},\"retailer\":{\"configuration\":{\"url\":\"api/reports/retailer/{configId}/sftp\"}}}},\"retailerGroup\":{\"url\":\"api/rest/retailer-reporting-group\",\"search\":{\"url\":\"api/reporting-groups/arw-view\"},\"validateRetailers\":{\"url\":\"api/reporting-groups/validate-retailers\"},\"availableRetailers\":{\"forIndependent\":{\"url\":\"api/owners/arw/{ownerId}/retailers\"},\"forChainHead\":{\"url\":\"api/retailers/arw/{ownerId}/subordinates\"}},\"byUser\":{\"url\":\"api/retailer-groups/by-user/{id}/ids\"}},\"reports\":{\"download\":{\"url\":\"api/reports/{id}/download\"},\"group\":{\"trigger\":{\"url\":\"api/rest/admin/retailer-group/report/{id}?transformation-type={transformationType}\"},\"download\":{\"url\":\"api/rest/admin/retailer-group/report/{id}/download?transformation-type={transformationType}\"}},\"formats\":{\"url\":\"api/reports/manage/transformations\"},\"details\":{\"reportType\":{\"url\":\"api/rest/admin/report/manage/report/{fileTypeId}\"},\"restore\":{\"url\":\"api/rest/admin/report/manage/report/{fileTypeId}/default\"}},\"names\":{\"url\":\"api/reports/report-name\"},\"entries\":{\"url\":\"api/reports/retailer\",\"altUrls\":[{\"value\":\"api/reports/retailer/{retailerId}/report\",\"done\":false},{\"value\":\"api/rest/user/self/report\",\"done\":false}]},\"extension\":{\"url\":\"api/reports/transformation-types\"},\"eft\":{\"downloadRetailerInvoice\":{\"url\":\"api/reports/WEEKLY_RETAILER_INVOICE/download\"},\"extensions\":{\"url\":\"api/reports/file-type/WEEKLY_RETAILER_INVOICE\"},\"date\":{\"url\":\"api/dashboard/eft-detail-date/{retailerId}\"}},\"terminal\":{\"url\":\"api/este/reports/retailer/{retailerId}/report/sales\"},\"zip\":{\"subscriptions\":{\"url\":\"api/reports/subscription/{token}\"}}},\"user\":{\"securityQuestions\":{\"url\":\"api/challenges/questions\"},\"retailerSettings\":{\"validate\":{\"url\":\"api/SelfRegistration/validate/id/{retailerId}\"},\"selfRegistration\":{\"url\":\"api/SelfRegistration/validate/{retailerId}\"},\"secondaryValidation\":{\"url\":\"api/admin/validate/{retailerId}/{isSecondary}\"},\"get\":{\"url\":\"api/retailer/{retailerId}\"},\"update\":{\"url\":\"api/retailer/{retailerId}\"}},\"userListDownload\":{\"url\":\"api/rest/user/multi-store/stores-list/{type}\"},\"users\":{\"url\":\"api/user/multistore\"},\"reportTo\":{\"url\":\"api/user/{userId}/retailers/report-to\"}},\"security\":{\"questions\":{\"url\":\"api/SelfRegistration/questions?locale={locale}\"}},\"inventory\":{\"download\":{\"xls\":{\"url\":\"api/rest/user/self/dashboard/widget/{reportId}/xls\"}},\"sendMail\":{\"xls\":{\"url\":\"api/rest/user/self/dashboard/widget/{reportId}/xls/mail\"}},\"details\":{\"url\":\"api/instants/inventory/history/{unit-oid}\"},\"history\":{\"list\":{\"url\":\"api/game/pack/history/{retailerId}\"}},\"searchByPack\":{\"url\":\"api/instants/inventory-units/retailer/{retailerId}?pack-oid={unit-oid}\"},\"packs\":{\"list\":{\"url\":\"api/dashboard/manage-inventory/packs/{retailerId}\"},\"grossValue\":{\"url\":\"api/dashboard/manage-inventory/packs/gross-value/{retailerId}\"},\"statusChange\":{\"url\":\"api/instants/inventory-units/retailer/{retailerId}/batch-status-change\"},\"update\":{\"url\":\"api/rest/user/inventory/packs-update\"}},\"games\":{\"list\":{\"url\":\"api/dashboard/manage-inventory/games/{retailerId}\"}},\"liability\":{\"list\":{\"url\":\"api/dashboard/manage-inventory/liability/{retailerId}\"}},\"subordinates\":{\"list\":{\"url\":\"api/dashboard/retailer/{retailerId}/subordinates\"}},\"ordersHistory\":{\"list\":{\"url\":\"api/game/orders/{retailerId}\"}},\"orderHistory\":{\"detailsDownload\":{\"url\":\"api/game/order/report\"},\"details\":{\"url\":\"api/game/order/{orderId}/packs\"},\"packs\":{\"url\":\"api/dashboard/manage-inventory/orders/retailer/{retailerId}/packs\"}},\"retailers\":{\"data\":{\"url\":\"api/retailers/arw\"}},\"dictionaries\":{\"url\":\"api/dashboard/type-code\"},\"este\":{\"status\":{\"url\":\"api/system/primary\"}}},\"history\":{\"inventoryHistory\":{\"details\":{\"url\":\"api/game/pack\"}}},\"dashboard\":{\"data\":{\"url\":\"api/dashboard/users/{userId}\"},\"save\":{\"url\":\"api/dashboard/dashboard-save/{dashboardId}\"},\"layouts\":{\"url\":\"api/rest/user/dashboard/layouts\"},\"defaults\":{\"url\":\"api/dashboard/dashboard-template-configuration/{type}\"},\"cumulative\":{\"tierTypes\":{\"url\":\"api/dashboard/mid-tier-validations/tier-number\"},\"invoiceDates\":{\"url\":\"api/dashboard/invoice-dates\"}}},\"widgets\":{\"gamesEnding\":{\"url\":\"api/dashboard/games-ending/{retailerId}\"},\"topVltGames\":{\"url\":\"api/dashboard/top-vlt-games/{retailerId}\"},\"siteFinancialStatus\":{\"url\":\"api/dashboard/site-financial-status/{retailerId}\"},\"siteOperationalStatus\":{\"url\":\"api/dashboard/site-operation-status/{retailerId}\"},\"tickets\":{\"url\":\"api/dashboard/tickets/{retailerId}\"},\"configurableLink\":{\"url\":\"api/dashboard/configurable-link\"},\"common\":{\"url\":\"api/rest/user/self/dashboard/widget/{type}\"},\"chainRanks\":{\"url\":\"api/dashboard/chain-ranks/{retailerId}\"},\"earnings\":{\"url\":\"api/dashboard/earnings-summary/{retailerId}\"},\"netEarnings\":{\"url\":\"api/dashboard/net-earnings/{retailerId}\"},\"earningsHistory\":{\"url\":\"api/dashboard/earnings-history\"},\"bigWinnersHistory\":{\"url\":\"api/dashboard/winner-history/retailer/{retailerId}\"},\"netSalesDetails\":{\"url\":\"api/dashboard/net-sales-details/{retailerId}\"},\"eft\":{\"url\":\"api/dashboard/eft-summary/{retailerId}\"},\"eftHistory\":{\"url\":\"api/dashboard/eft-detail/{retailerId}\"},\"netSales\":{\"url\":\"api/dashboard/net-sales-summary/{retailerId}\"},\"cummulativeWinners\":{\"url\":\"api/dashboard/cumulative-winners/{retailerId}\"},\"cumulativeHistory\":{\"url\":\"api/dashboard/mid-tier-validations/retailer/{retailerId}\"},\"alerts\":{\"list\":{\"url\":\"api/alert/dashboard-alerts/{retailerId}?locale={locale}\"},\"details\":{\"url\":\"api/alert/alert-detail/{retailerId}\"},\"hide\":{\"url\":\"api/alert/alert-dismiss/{retailerId}\"},\"dismiss\":{\"url\":\"api/alert/alert-dismiss-for-user/{id}\"},\"userAlertDetails\":{\"url\":\"api/alert/user-alert-detail/\"}},\"jackpotsAndDraws\":{\"url\":\"api/game/draws\"},\"instant\":{\"instantTicketSales\":{\"url\":\"api/dashboard/instant-ticket-sales/retailer/{retailerId}\"},\"actualAndProjectedSettlements\":{\"url\":\"api/dashboard/actual-projected-settlement/retailer/{retailerId}\"},\"mySlowMovingGames\":{\"url\":\"api/dashboard/games/slow-moving/retailer/{retailerId}\"},\"myCurrentLiability\":{\"url\":\"api/dashboard/my-current-liability/retailer/{retailerId}\"},\"gamesComing\":{\"url\":\"api/dashboard/games/coming\"},\"gamesLaunched\":{\"url\":\"api/dashboard/games/launched\"},\"myNetSalesPerformance\":{\"url\":\"api/dashboard/my-net-sales-performance/retailer/{retailerId}\"},\"salesCategories\":{\"url\":\"api/system/sales-categories\"},\"myNetSalesTranslations\":{\"url\":\"api/configuration/my-net-sales-translations\"},\"retailerDistanceCount\":{\"url\":\"api/dashboard/retailer-distance-count/retailer/{retailerId}\"},\"lastYearSales\":{\"url\":\"api/dashboard/instant-ticket-sales-last-year/retailer/{retailerId}\"},\"thisYearSales\":{\"url\":\"api/dashboard/instant-ticket-sales-this-year-avg/retailer/{retailerId}\"},\"myPricePointMix\":{\"url\":\"api/dashboard/price-point-mix/retailer/{retailerId}\"},\"top10\":{\"url\":\"api/dashboard/top-10-rankings/retailer/{retailerId}\"},\"topSellersByPrice\":{\"url\":\"api/dashboard/top-selling-by-price/retailer/{retailerId}\"},\"settlements\":{\"report\":{\"url\":\"api/instants/weekly-history/{retailerId}/last-week-liability\"},\"downloadReport\":{\"url\":\"api/dashboard/actual-projected-settlement-details/retailer/{retailerId}\"}},\"lvm\":{\"downloadReport\":{\"url\":\"api/rest/user/self/dashboard/widget/lvm13Weeks/xls\"}}},\"terminals\":{\"details\":{\"url\":\"api/terminals?retailer-id={retailerId}\"},\"templates\":{\"url\":\"api/templates/terminal\"}},\"licenseRenewal\":{\"url\":\"api/retailer/{retailerId}/renewals\"},\"licenseRenewalForm\":{\"url\":\"api/system/renewal-form-link/{retailerId}\"},\"lotteryRepresentatives\":{\"url\":\"api/retailer/{retailerId}\"},\"bigWinners\":{\"url\":\"api/dashboard/big-winners/{retailerId}\"},\"bigWinnersScratch\":{\"url\":\"api/dashboard/big-winners-scratch/{retailerId}\"},\"bigWinnersOnline\":{\"url\":\"api/dashboard/big-winners-online/{retailerId}\"},\"bondRenewal\":{\"url\":\"api/retailer/{retailerId}/bond-dates\"},\"lvmSales\":{\"url\":\"api/dashboard/lvm-trend-summary/{retailerId}\"},\"lvmSalesHistory\":{\"url\":\"api/dashboard/lvm-trend-history/{retailerId}\"}},\"gameImage\":{\"gameLogo\":{\"url\":\"/gameImage.gameLogo\"}},\"accounts\":{\"lotteryRep\":{\"entries\":{\"url\":\"api/user/multistore\"},\"downloadReport\":{\"url\":\"api/rest/admin/user/multistore/{type}\"}},\"downloadReport\":{\"url\":\"api/user/multistore-export\"}},\"passwordResetQuestions\":{\"url\":\"api/rest/admin/user/{email}/security-question\"},\"passwordReset\":{\"url\":\"api/admin/password/reset/qa\",\"altUrls\":[{\"value\":\"api/admin/password/reset/qa\",\"done\":false},{\"value\":\"api/rest/user/password/reset/qa\",\"done\":false}]},\"forcePasswordReset\":{\"url\":\"api/admin/password/manual\",\"altUrls\":[{\"value\":\"api/admin/password/manual\",\"done\":false},{\"value\":\"api/rest/user/force-password-reset\",\"done\":false}]},\"elearningLink\":{\"get\":{\"url\":\"api/user/elearning/link\"}},\"challenges\":{\"url\":\"api/challenges/{userId}\"},\"retailer\":{\"subordinateData\":{\"url\":\"api/retailer/{retailerId}\"},\"saveSubordinateData\":{\"url\":\"api/retailer/settings/{retailerId}\"}},\"captcha\":{\"siteKey\":{\"url\":\"api/system/captcha/sitekey\"}},\"poster\":{\"download\":{\"url\":\"api/poster/print/{templateId}\"},\"get\":{\"url\":\"api/poster/social/{templateId}\"}},\"chat\":{\"token\":{\"url\":\"api/rest/user/self/chat-token\"}},\"retailerDashboard\":{\"retailerId\":{\"url\":\"api/retailer/number/{retailerDisplayNumber}\"}},\"config\":{\"frontend\":{\"url\":\"api/configuration\"}},\"appVersion\":{\"frontend\":{\"url\":\"version.json\"},\"backend\":{\"url\":\"api/system/assembly-version\"}},\"anonymous\":{\"privileges\":{\"url\":\"api/configuration/templates/anonymous\"}},\"lsp\":{\"redirect\":{\"url\":\"api/lsp/redirect\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/app/rest.conf.json\n// module id = 218\n// module chunks = 0","export default {\r\n FETCH_LOTTERY_CONTACTS_REQUEST: 'FETCH_LOTTERY_CONTACTS_REQUEST',\r\n FETCH_LOTTERY_CONTACTS_SUCCESS: 'FETCH_LOTTERY_CONTACTS_SUCCESS',\r\n FETCH_LOTTERY_CONTACTS_FAILURE: 'FETCH_LOTTERY_CONTACTS_FAILURE',\r\n\r\n DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST: 'DISCARD_LOTTERY_CONTACTS_CHANGES_REQUEST',\r\n DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS: 'DISCARD_LOTTERY_CONTACTS_CHANGES_SUCCESS',\r\n DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE: 'DISCARD_LOTTERY_CONTACTS_CHANGES_FAILURE',\r\n\r\n PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST: 'PUBLISH_LOTTERY_CONTACTS_CHANGES_REQUEST',\r\n PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS: 'PUBLISH_LOTTERY_CONTACTS_CHANGES_SUCCESS',\r\n PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE: 'PUBLISH_LOTTERY_CONTACTS_CHANGES_FAILURE',\r\n\r\n FETCH_INQUIRY_CONTACTS_REQUEST: 'FETCH_INQUIRY_CONTACTS_REQUEST',\r\n FETCH_INQUIRY_CONTACTS_SUCCESS: 'FETCH_INQUIRY_CONTACTS_SUCCESS',\r\n FETCH_INQUIRY_CONTACTS_FAILURE: 'FETCH_INQUIRY_CONTACTS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/actions/action-types.js","export default {\r\n FETCH_NEW_LABEL_STATUS_REQUEST: 'FETCH_NEW_LABEL_STATUS_REQUEST',\r\n FETCH_NEW_LABEL_STATUS_SUCCESS: 'FETCH_NEW_LABEL_STATUS_SUCCESS',\r\n FETCH_NEW_LABEL_STATUS_FAILURE: 'FETCH_NEW_LABEL_STATUS_FAILURE',\r\n\r\n SET_NEW_LABEL_STATUS_REQUEST: 'SET_NEW_LABEL_STATUS_REQUEST',\r\n SET_NEW_LABEL_STATUS_SUCCESS: 'SET_NEW_LABEL_STATUS_SUCCESS',\r\n SET_NEW_LABEL_STATUS_FAILURE: 'SET_NEW_LABEL_STATUS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/action-types.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport { evalMeta } from 'utils/grid/grid';\r\nimport {\r\n getEmailListForRetailer,\r\n getReportListForRetailer,\r\n getSftpListForRetailer,\r\n saveEmailListForRetailer,\r\n saveReportListForRetailer,\r\n saveSftpListForRetailer,\r\n} from 'report-subscriptions/resources/report-subscriptions-api';\r\n\r\n/* Redux */\r\nconst namespace = 'reportSubscriptionsPage';\r\nexport const SET_REPORTS = `${namespace}_SET_REPORTS`;\r\nexport const SET_EMAILS = `${namespace}_SET_EMAILS`;\r\nexport const SET_RECIPIENTS_EMAIL = `${namespace}_SET_RECIPIENTS_EMAIL`;\r\nexport const SET_SFTP = `${namespace}_SET_SFTP`;\r\nexport const SET_SUBSCRIPTIONS_REPORTS = `${namespace}_SET_SUBSCRIPTIONS_REPORTS`;\r\nexport const SET_SUBSCRIPTIONS_EMAIL = `${namespace}_SET_SUBSCRIPTIONS_EMAIL`;\r\nexport const SET_SUBSCRIPTIONS_SFTP = `${namespace}_SET_SUBSCRIPTIONS_SFTP`;\r\nexport const SET_IS_LOADING_REPORTS = `${namespace}_SET_IS_LOADING_REPORTS`;\r\nexport const SET_IS_LOADING_EMAIL = `${namespace}_SET_IS_LOADING_EMAIL`;\r\nexport const SET_IS_LOADING_SFTP = `${namespace}_SET_IS_LOADING_SFTP`;\r\n\r\n/* consts */\r\nconst REPORT_SUBSCRIPTIONS_CONTEXT = 'sftp';\r\nexport const SUBSCRIPTION_TYPE_RETAILER = 'RETAILER';\r\nexport const SUBSCRIPTION_TYPE_GROUP = 'GROUP';\r\n\r\nconst createObjectByFileTypeId = (array) =>\r\n array.reduce((reduced, item) => {\r\n // eslint-disable-next-line no-param-reassign\r\n item.transformations = item.transformations.reduce((newTransformations, transform) => {\r\n // eslint-disable-next-line no-param-reassign\r\n newTransformations[transform.transformType] = transform;\r\n return newTransformations;\r\n }, {});\r\n // eslint-disable-next-line no-param-reassign\r\n reduced[item.fileTypeId] = item;\r\n return reduced;\r\n }, {});\r\n\r\nconst applySubscriptionData = (data) => ({\r\n gridData: _.cloneDeep(data.subscriptions || data),\r\n subscriptions: createObjectByFileTypeId(data.subscriptions || data),\r\n recipients: data.externalEmails || [],\r\n});\r\n\r\nexport const loadReportList = (retailerIdParam, retailerTypeParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession, retailerType: retailerTypeSession },\r\n },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n const retailerType = retailerTypeParam || retailerTypeSession;\r\n const promise = getReportListForRetailer(retailerId, retailerType);\r\n\r\n dispatch({\r\n type: SET_IS_LOADING_REPORTS,\r\n });\r\n\r\n return promise.then((result) => {\r\n const newData = applySubscriptionData(result);\r\n dispatch({\r\n type: SET_REPORTS,\r\n payload: {\r\n items: newData.gridData,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n\r\n dispatch({\r\n type: SET_SUBSCRIPTIONS_REPORTS,\r\n payload: newData.subscriptions,\r\n });\r\n });\r\n};\r\n\r\nexport const loadEmailList = (retailerIdParam, retailerTypeParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession, retailerType: retailerTypeSession },\r\n },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n const retailerType = retailerTypeParam || retailerTypeSession;\r\n const promise = getEmailListForRetailer(retailerId, retailerType);\r\n\r\n dispatch({\r\n type: SET_IS_LOADING_EMAIL,\r\n });\r\n\r\n return promise.then((result) => {\r\n const newData = applySubscriptionData(result);\r\n dispatch({\r\n type: SET_EMAILS,\r\n payload: {\r\n items: newData.gridData,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n\r\n dispatch({\r\n type: SET_SUBSCRIPTIONS_EMAIL,\r\n payload: newData.subscriptions,\r\n });\r\n\r\n dispatch({\r\n type: SET_RECIPIENTS_EMAIL,\r\n payload: newData.recipients,\r\n });\r\n });\r\n};\r\n\r\nexport const loadSftpList = (retailerIdParam, retailerTypeParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession, retailerType: retailerTypeSession },\r\n },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n const retailerType = retailerTypeParam || retailerTypeSession;\r\n const promise = getSftpListForRetailer(retailerId, retailerType);\r\n\r\n dispatch({\r\n type: SET_IS_LOADING_SFTP,\r\n });\r\n\r\n return promise.then((result) => {\r\n const newData = applySubscriptionData(result);\r\n\r\n dispatch({\r\n type: SET_SFTP,\r\n payload: {\r\n items: newData.gridData,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n\r\n dispatch({\r\n type: SET_SUBSCRIPTIONS_SFTP,\r\n payload: newData.subscriptions,\r\n });\r\n });\r\n};\r\n\r\nexport const saveReportList = (retailerIdParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession },\r\n },\r\n reportSubscriptionsPage: { subscriptionsReports },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n return saveReportListForRetailer(retailerId, subscriptionsReports);\r\n};\r\n\r\nexport const saveEmailList = (retailerIdParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession },\r\n },\r\n reportSubscriptionsPage: { subscriptionsEmail, recipients },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n return saveEmailListForRetailer(retailerId, subscriptionsEmail, recipients);\r\n};\r\n\r\nexport const saveSftpList = (retailerIdParam) => (dispatch, getState) => {\r\n const {\r\n session: {\r\n retailer: { retailerId: retailerIdSession },\r\n },\r\n reportSubscriptionsPage: { subscriptionsSftp },\r\n } = getState();\r\n const retailerId = retailerIdParam || retailerIdSession;\r\n return saveSftpListForRetailer(retailerId, subscriptionsSftp);\r\n};\r\n\r\nexport const applyRecipient = (recipient) => (dispatch, getState) => {\r\n const {\r\n reportSubscriptionsPage: { recipients },\r\n } = getState();\r\n\r\n dispatch({\r\n type: SET_RECIPIENTS_EMAIL,\r\n payload: _.uniq(recipients.concat(recipient)),\r\n });\r\n};\r\n\r\nexport const removeRecipient = (recipient) => (dispatch, getState) => {\r\n const {\r\n reportSubscriptionsPage: { recipients },\r\n } = getState();\r\n\r\n dispatch({\r\n type: SET_RECIPIENTS_EMAIL,\r\n payload: recipients.filter((oldRecipient) => oldRecipient !== recipient),\r\n });\r\n};\r\n\r\nexport const unsubscribeUser = (token) => () =>\r\n DepsService.restSrv.create(REPORT_SUBSCRIPTIONS_CONTEXT, DepsService.rest.report.unsubscribe.url, {\r\n token,\r\n });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/actions/report-subscriptions-page.actions.js","export default {\r\n FETCH_RETAILER_REPORTS_REQUEST: 'FETCH_RETAILER_REPORTS_REQUEST',\r\n FETCH_RETAILER_REPORTS_SUCCESS: 'FETCH_RETAILER_REPORTS_SUCCESS',\r\n FETCH_RETAILER_REPORTS_FAILURE: 'FETCH_RETAILER_REPORTS_FAILURE',\r\n\r\n CLEAR_RETAILER_REPORTS: 'CLEAR_RETAILER_REPORTS',\r\n\r\n DOWNLOAD_RETAILER_REPORT_REQUEST: 'DOWNLOAD_RETAILER_REPORT_REQUEST',\r\n DOWNLOAD_RETAILER_REPORT_SUCCESS: 'DOWNLOAD_RETAILER_REPORT_SUCCESS',\r\n DOWNLOAD_RETAILER_REPORT_FAILURE: 'DOWNLOAD_RETAILER_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/actions/action-types.js","export default {\r\n FETCH_USER_ACTIVITY_REPORTS_REQUEST: 'FETCH_USER_ACTIVITY_REPORTS_REQUEST',\r\n FETCH_USER_ACTIVITY_REPORTS_SUCCESS: 'FETCH_USER_ACTIVITY_REPORTS_SUCCESS',\r\n FETCH_USER_ACTIVITY_REPORTS_FAILURE: 'FETCH_USER_ACTIVITY_REPORTS_FAILURE',\r\n\r\n DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST: 'DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST',\r\n DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS: 'DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS',\r\n DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE: 'DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/actions/action-types.js","export default {\r\n FETCH_BIG_WINNERS_HISTORY_REQUEST: 'FETCH_BIG_WINNERS_HISTORY_REQUEST',\r\n FETCH_BIG_WINNERS_HISTORY_SUCCESS: 'FETCH_BIG_WINNERS_HISTORY_SUCCESS',\r\n FETCH_BIG_WINNERS_HISTORY_FAILURE: 'FETCH_BIG_WINNERS_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST: 'DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE: 'DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/big-winners/action-types.js","export default {\r\n FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST: 'FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST',\r\n FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS: 'FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS',\r\n FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE: 'FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST: 'DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE: 'DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/cumulative-winners/action-types.js","export default {\r\n FETCH_LINKED_RETAILERS_REQUEST: 'FETCH_LINKED_RETAILERS_REQUEST',\r\n FETCH_LINKED_RETAILERS_SUCCESS: 'FETCH_LINKED_RETAILERS_SUCCESS',\r\n FETCH_LINKED_RETAILERS_FAILURE: 'FETCH_LINKED_RETAILERS_FAILURE',\r\n\r\n UPDATE_LINKED_RETAILERS_REQUEST: 'UPDATE_LINKED_RETAILERS_REQUEST',\r\n UPDATE_LINKED_RETAILERS_SUCCESS: 'UPDATE_LINKED_RETAILERS_SUCCESS',\r\n UPDATE_LINKED_RETAILERS_FAILURE: 'UPDATE_LINKED_RETAILERS_FAILURE',\r\n\r\n DELETE_LINKED_RETAILERS_REQUEST: 'DELETE_LINKED_RETAILERS_REQUEST',\r\n DELETE_LINKED_RETAILERS_SUCCESS: 'DELETE_LINKED_RETAILERS_SUCCESS',\r\n DELETE_LINKED_RETAILERS_FAILURE: 'DELETE_LINKED_RETAILERS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/linked-retailers.action-types.js","export default {\r\n FETCH_PRIVACY_POLICY_REQUEST: 'FETCH_PRIVACY_POLICY_REQUEST',\r\n FETCH_PRIVACY_POLICY_SUCCESS: 'FETCH_PRIVACY_POLICY_SUCCESS',\r\n FETCH_PRIVACY_POLICY_FAILURE: 'FETCH_PRIVACY_POLICY_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/actions/privacy-policy.action-types.js","import * as api from '../resources/manage-configurable-link.api';\r\n\r\nconst FETCH_CONFIGURABLE_LINK_REQUEST = 'FETCH_CONFIGURABLE_LINK_REQUEST';\r\nconst FETCH_CONFIGURABLE_LINK_SUCCESS = 'FETCH_CONFIGURABLE_LINK_SUCCESS';\r\nconst FETCH_CONFIGURABLE_LINK_FAILURE = 'FETCH_CONFIGURABLE_LINK_FAILURE';\r\nconst UPDATE_CONFIGURABLE_LINK_REQUEST = 'UPDATE_CONFIGURABLE_LINK_REQUEST';\r\nconst UPDATE_CONFIGURABLE_LINK_SUCCESS = 'UPDATE_CONFIGURABLE_LINK_SUCCESS';\r\nconst UPDATE_CONFIGURABLE_LINK_FAILURE = 'UPDATE_CONFIGURABLE_LINK_FAILURE';\r\n\r\nexport const fetchConfigurableLinkRequest = () => ({\r\n type: FETCH_CONFIGURABLE_LINK_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchConfigurableLinkSuccess = (entries) => ({\r\n type: FETCH_CONFIGURABLE_LINK_SUCCESS,\r\n isLoading: false,\r\n entries,\r\n});\r\n\r\nexport const fetchConfigurableLinkFailure = () => ({\r\n type: FETCH_CONFIGURABLE_LINK_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchConfigurableLink = (locale) => async (dispatch) => {\r\n try {\r\n dispatch(fetchConfigurableLinkRequest());\r\n const entries = await api.fetchConfigurableLink(locale);\r\n if (entries) dispatch(fetchConfigurableLinkSuccess(entries));\r\n } catch (error) {\r\n console.error('FETCH_CONFIGURABLE_LINK', error);\r\n dispatch(fetchConfigurableLinkFailure());\r\n }\r\n};\r\n\r\nexport const updateConfigurableLinkRequest = () => ({\r\n type: UPDATE_CONFIGURABLE_LINK_REQUEST,\r\n});\r\n\r\nexport const updateConfigurableLinkSuccess = () => ({\r\n type: UPDATE_CONFIGURABLE_LINK_SUCCESS,\r\n});\r\n\r\nexport const updateConfigurableLinkFailure = () => ({\r\n type: UPDATE_CONFIGURABLE_LINK_FAILURE,\r\n});\r\n\r\nexport const updateConfigurableLink = (entries) => async (dispatch) => {\r\n try {\r\n dispatch(updateConfigurableLinkRequest());\r\n await api.updateConfigurableLink(entries);\r\n dispatch(updateConfigurableLinkSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_CONFIGURABLE_LINK', error);\r\n dispatch(updateConfigurableLinkFailure());\r\n }\r\n};\r\n\r\nexport default {\r\n FETCH_CONFIGURABLE_LINK_REQUEST,\r\n FETCH_CONFIGURABLE_LINK_SUCCESS,\r\n FETCH_CONFIGURABLE_LINK_FAILURE,\r\n UPDATE_CONFIGURABLE_LINK_REQUEST,\r\n UPDATE_CONFIGURABLE_LINK_SUCCESS,\r\n UPDATE_CONFIGURABLE_LINK_FAILURE,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/manage-configurable-link.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'documents';\r\n\r\nexport const fetchNewLabelStatus = () => {\r\n const { url } = DepsService.rest.documents.newLabel;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const setNewLabelStatus = () => {\r\n const { url } = DepsService.rest.documents.newLabel;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const prefetchDocument = (id) => {\r\n const { url } = DepsService.rest.documents.prefetch;\r\n const queryParams = {};\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/resources/documents.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport moment from 'moment';\r\n\r\nconst CONTEXT = 'cms';\r\n\r\nconst getUrl = (secondHandApproval) => {\r\n if (secondHandApproval) return DepsService.rest.cms['login-popup'].second.url;\r\n return DepsService.rest.cms['login-popup'].first.url;\r\n};\r\n\r\nexport const fetchPopup = async (secondHandApproval, jurisdictionId) => {\r\n const url = getUrl(secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst getDateTime = (date, time) =>\r\n moment(date * 1)\r\n .utc()\r\n .hour(moment(time, 'HH:mm').get('hour'))\r\n .minute(moment(time, 'HH:mm').get('minute'));\r\n\r\nexport const fetchPopupOnLogin = async (jurisdictionId, session) => {\r\n const { entries, properties } = await fetchPopup(false, jurisdictionId);\r\n const [popup] = entries;\r\n\r\n const popupFields = appHelpers.getFieldsFromEntry(popup);\r\n\r\n if (popup.createdBy === session.emailAddress) {\r\n return '';\r\n }\r\n if (popupFields && properties && properties.type === 'enabled') {\r\n return popupFields[session.locale].content;\r\n }\r\n if (popupFields && properties && properties.type === 'range') {\r\n const now = moment.unix(session.lotteryTime).utc();\r\n const dateFrom = getDateTime(properties.dateFrom, properties.timeFrom);\r\n const dateTo = getDateTime(properties.dateTo, properties.timeTo);\r\n\r\n if (now.isBetween(dateFrom, dateTo, 'minute', '[]')) {\r\n return popupFields[session.locale].content;\r\n }\r\n }\r\n return '';\r\n};\r\n\r\nexport const publishPopup = async (secondHandApproval, jurisdictionId, entries, properties) => {\r\n const url = getUrl(secondHandApproval);\r\n const queryParams = { entries, properties };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const discardPopup = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms['login-popup'].discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/login-popup.api.js","import { clearSelectedMessagesList } from 'message/actions/selected-messages.actions';\r\nimport messageHelpers from '../message-helpers';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchMessagesListRequest = () => ({\r\n type: actionTypes.FETCH_MESSAGES_LIST_REQUEST,\r\n name: 'inboxLoadingStatus',\r\n});\r\n\r\nexport const fetchMessagesListFailure = () => ({\r\n type: actionTypes.FETCH_MESSAGES_LIST_FAILURE,\r\n name: 'inboxLoadingStatus',\r\n});\r\n\r\nexport const fetchMessagesListSuccess = (messages, pagination = {}) => ({\r\n type: actionTypes.FETCH_MESSAGES_LIST_SUCCESS,\r\n messages: messages.map((message) => {\r\n const content = messageHelpers.getShortenMessage(message.content);\r\n\r\n return {\r\n ...message,\r\n content,\r\n };\r\n }),\r\n pagination,\r\n name: 'inboxLoadingStatus',\r\n});\r\n\r\nexport const fetchMessagesList =\r\n ({ setPagination = true, ...params }) =>\r\n async (dispatch, getStore) => {\r\n try {\r\n const store = getStore();\r\n const { messages } = store;\r\n const { hasAllMessagesSelected } = messages.selectedMessages;\r\n\r\n if (hasAllMessagesSelected) dispatch(clearSelectedMessagesList());\r\n\r\n dispatch(fetchMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchMessagesList(params);\r\n\r\n if (setPagination) {\r\n dispatch(fetchMessagesListSuccess(content, pagination));\r\n } else {\r\n dispatch(fetchMessagesListSuccess(content));\r\n }\r\n } catch (error) {\r\n dispatch(fetchMessagesListFailure());\r\n console.error('FETCH_MESSAGES_LIST', error);\r\n }\r\n };\r\n\r\nexport const deleteMessagesRequest = () => ({\r\n type: actionTypes.DELETE_MESSAGES_REQUEST,\r\n});\r\n\r\nexport const deleteMessagesFailure = () => ({\r\n type: actionTypes.DELETE_MESSAGES_FAILURE,\r\n});\r\n\r\nexport const deleteMessagesSuccess = (selectedMessagesList, messages) => ({\r\n type: actionTypes.DELETE_MESSAGES_SUCCESS,\r\n selectedMessagesList,\r\n messages,\r\n});\r\n\r\nexport const deleteMessages = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { inbox: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n dispatch(deleteMessagesRequest());\r\n await api.deleteReceivedMessages(selectedMessagesList);\r\n dispatch(deleteMessagesSuccess(selectedMessagesList, entries));\r\n dispatch(clearSelectedMessagesList());\r\n } catch (error) {\r\n dispatch(deleteMessagesFailure());\r\n console.error('DELETE_MESSAGES', error);\r\n }\r\n};\r\n\r\nexport const deleteMessageRequest = () => ({\r\n type: actionTypes.DELETE_MESSAGE_REQUEST,\r\n});\r\n\r\nexport const deleteMessageFailure = () => ({\r\n type: actionTypes.DELETE_MESSAGE_FAILURE,\r\n});\r\n\r\nexport const deleteMessageSuccess = () => ({\r\n type: actionTypes.DELETE_MESSAGE_SUCCESS,\r\n});\r\n\r\nexport const deleteMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deleteMessageRequest());\r\n await api.deleteReceivedMessages([id]);\r\n dispatch(deleteMessageSuccess());\r\n } catch (error) {\r\n dispatch(deleteMessageFailure());\r\n console.error('DELETE_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const markMessageAsUnreadRequest = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_UNREAD_REQUEST,\r\n});\r\n\r\nexport const markMessageAsUnreadFailure = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_UNREAD_FAILURE,\r\n});\r\n\r\nexport const markMessageAsUnreadSuccess = (selectedMessagesList, messages) => ({\r\n type: actionTypes.MARK_MESSAGE_AS_UNREAD_SUCCESS,\r\n selectedMessagesList,\r\n messages,\r\n});\r\n\r\nexport const markMessageAsUnread = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { inbox: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n const requests = selectedMessagesList.reduce((reguests, id) => [...reguests, ...[api.markMessageAsUnread(id)]], []);\r\n dispatch(markMessageAsUnreadRequest());\r\n await Promise.all(requests);\r\n dispatch(markMessageAsUnreadSuccess(selectedMessagesList, entries));\r\n } catch (error) {\r\n dispatch(markMessageAsUnreadFailure());\r\n console.error('MARK_MESSAGE_AS_UNREAD', error);\r\n }\r\n};\r\n\r\nexport const markMessageAsReadRequest = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_READ_REQUEST,\r\n});\r\n\r\nexport const markMessageAsReadFailure = () => ({\r\n type: actionTypes.MARK_MESSAGE_AS_READ_FAILURE,\r\n});\r\n\r\nexport const markMessageAsReadSuccess = (selectedMessagesList, messages) => ({\r\n type: actionTypes.MARK_MESSAGE_AS_READ_SUCCESS,\r\n selectedMessagesList,\r\n messages,\r\n});\r\n\r\nexport const markMessageAsRead = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { inbox: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n const requests = selectedMessagesList.reduce((reguests, id) => [...reguests, ...[api.markMessageAsRead(id)]], []);\r\n dispatch(markMessageAsReadRequest());\r\n await Promise.all(requests);\r\n dispatch(markMessageAsReadSuccess(selectedMessagesList, entries));\r\n } catch (error) {\r\n dispatch(markMessageAsReadFailure());\r\n console.error('MARK_MESSAGE_AS_READ', error);\r\n }\r\n};\r\n\r\nexport const resetInbox = () => ({\r\n type: actionTypes.RESET_INBOX,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/inbox.actions.js","import actionTypes from 'message/actions/action-types';\r\n\r\nexport const clearSelectedMessagesList = () => ({\r\n type: actionTypes.CLEAR_SELECTED_MESSAGES_LIST,\r\n});\r\n\r\nexport const setSelectAllPointerStatus = (hasAllMessagesSelected) => ({\r\n type: actionTypes.SET_SELECT_ALL_MESSAGES_POINTER,\r\n hasAllMessagesSelected,\r\n});\r\n\r\nexport const addSelectedMessage = (selectedId) => ({\r\n type: actionTypes.ADD_MESSAGE_TO_SELECTED,\r\n selectedId,\r\n});\r\n\r\nexport const removeSelectedMessage = (selectedId) => ({\r\n type: actionTypes.DELETE_MESSAGE_FROM_SELECTED,\r\n selectedId,\r\n});\r\n\r\nexport const onMessageSelection = (selectedId) => (dispatch, getStore) => {\r\n const { messages } = getStore();\r\n const { selectedMessagesList } = messages.selectedMessages;\r\n\r\n const isAlreadySelected = selectedMessagesList.includes(selectedId);\r\n\r\n if (!isAlreadySelected) {\r\n dispatch(addSelectedMessage(selectedId));\r\n }\r\n\r\n if (isAlreadySelected) {\r\n dispatch(removeSelectedMessage(selectedId));\r\n }\r\n};\r\n\r\nexport const toggleSelectAllMessagesPointer = (messagesList) => ({\r\n type: actionTypes.TOGGLE_SELECT_ALL_MESSAGES_POINTER,\r\n messagesList,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/selected-messages.actions.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchMessageRequest = () => ({\r\n type: actionTypes.FETCH_MESSAGE_REQUEST,\r\n name: 'messageDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchMessageFailure = () => ({\r\n type: actionTypes.FETCH_MESSAGE_FAILURE,\r\n name: 'messageDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchMessageSuccess = (message) => ({\r\n type: actionTypes.FETCH_MESSAGE_SUCCESS,\r\n name: 'messageDetailsLoadingStatus',\r\n message,\r\n});\r\n\r\nexport const fetchMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMessageRequest());\r\n const message = await api.fetchMessage(id);\r\n\r\n dispatch(fetchMessageSuccess(message));\r\n } catch (error) {\r\n dispatch(fetchMessageFailure());\r\n console.error('FETCH_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const fetchSentMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMessageRequest());\r\n const message = await api.fetchSentMessage(id);\r\n dispatch(fetchMessageSuccess(message));\r\n } catch (error) {\r\n dispatch(fetchMessageFailure());\r\n console.error('FETCH_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const fetchSentMessageDetails = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMessageRequest());\r\n const message = await api.fetchSentMessageDetails(id);\r\n\r\n dispatch(fetchMessageSuccess(message));\r\n } catch (error) {\r\n dispatch(fetchMessageFailure());\r\n console.error('FETCH_MESSAGE', error);\r\n }\r\n};\r\n\r\nexport const clearSelectedMessage = () => ({\r\n type: actionTypes.CLEAR_SELECTED_MESSAGE,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/message-details.actions.js","export default {\r\n INBOX: 'INBOX',\r\n SENT: 'SENT',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-tab/tabs.js","import _ from 'lodash';\r\n\r\nfunction transformPrivileges(privileges, field = 'id') {\r\n return _.orderBy(privileges, ['id'], ['asc']).reduce((reduced, privilege) => _.set(reduced, privilege[field], privilege), {});\r\n}\r\n\r\nfunction createTree(privileges, field = 'displayPath') {\r\n const pathsArray = _.orderBy(privileges, ['displayPath'], ['asc']).map((privilege) => privilege[field].split('.'));\r\n const root = {};\r\n let node;\r\n let next;\r\n\r\n pathsArray.map((paths) => {\r\n const pathsString = paths.join('.');\r\n let tempPathsArray = [];\r\n const foundPrivilege = privileges.find((privilege) => privilege[field] === pathsString);\r\n\r\n node = root;\r\n\r\n paths.map((path) => {\r\n tempPathsArray = tempPathsArray.concat(path);\r\n\r\n if (!node.privileges) {\r\n node.privileges = {};\r\n }\r\n\r\n next = node.privileges[path];\r\n\r\n if (!next) {\r\n const tempPathsString = tempPathsArray.join('.');\r\n\r\n next =\r\n tempPathsString === pathsString\r\n ? (node.privileges[path] = {\r\n name: foundPrivilege.name,\r\n id: foundPrivilege.id,\r\n description: foundPrivilege.description,\r\n path: tempPathsString,\r\n displayPath: foundPrivilege.displayPath,\r\n checked: false,\r\n })\r\n : (node.privileges[path] = {\r\n name: path,\r\n path: tempPathsString,\r\n checked: false,\r\n });\r\n }\r\n node = next;\r\n return path;\r\n });\r\n return paths;\r\n });\r\n\r\n return root;\r\n}\r\n\r\nexport default {\r\n transformPrivileges,\r\n createTree,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/logic/helpers.js","import angular from 'angular';\r\nimport SecurityComponent from 'security/components/security/security-component';\r\nimport SecurityQuestionsComponent from 'security/components/security-questions/security-questions-component';\r\n\r\nexport default angular\r\n .module('security', ['rw-captcha'])\r\n .component('security', new SecurityComponent())\r\n .component('securityQuestions', new SecurityQuestionsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/security-module.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'earnings';\r\n\r\nexport const fetchEarnings = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.earnings;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.earnings';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchNetEarnings = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.netEarnings;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.earnings';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/earnings.api.js","export default {\r\n WTD: 'WTD',\r\n MTD: 'MTD',\r\n QTD: 'QTD',\r\n YTD: 'YTD',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/tabs.js","export const INSTANT_GAME_TYPE = 'S';\r\nexport const DRAW_GAME_TYPE = 'O';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/config/gametype.js","import get from 'lodash/get';\r\nimport DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nexport const PRICES_PAID_WTD_ID = 'cumulativeWinnersAwarenessWeek';\r\nexport const PRICES_PAID_MTD_ID = 'cumulativeWinnersAwarenessMonth';\r\nexport const PRICES_PAID_YTD_ID = 'cumulativeWinnersAwarenessYear';\r\nexport const BIG_WINNERS_ONLINE_ID = 'bigWinnerAwareness_Online';\r\nexport const BIG_WINNERS_SCRATCH_ID = 'bigWinnerAwareness_Scratch';\r\nexport const BIG_WINNERS_ID = 'bigWinnerAwareness';\r\nexport const JACKPOT_ID = 'jackpotAwareness';\r\n\r\nfunction downloadHistoryReport(restSrv, model, source, format, filters, retailerNumber = null) {\r\n let gridModel = {};\r\n if (source === 'cumulative') {\r\n gridModel = get(model, 'cumulativeHistory.grid') || {};\r\n } else if (source === 'netSales') {\r\n gridModel = get(model, 'netSalesHistory.grid') || {};\r\n }\r\n const retailerId = retailerNumber || get(model, 'session.retailer.retailerId', '');\r\n const locale = get(model, 'session.locale') || '';\r\n const url = get(model, 'session.rest.widgets.cumulativeHistory.url') || '';\r\n\r\n const queryParams = {\r\n ...gridModel.pagingModel,\r\n ...filters.filters,\r\n ...{ locale },\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n const headers = appHelpers.setHeader(format);\r\n\r\n return restSrv.downloadBlob(undefined, url, queryParams, urlParams, headers);\r\n}\r\n\r\nfunction getAlertDetails(config, gettextCatalog, type, totalCount, retailerId = null) {\r\n const { dictionary, contact, session } = DepsService.$ngRedux.getState();\r\n const { defaultContactPhone: phoneNumber } = contact.lottery;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n const { packStatuses, orderStatuses } = dictionary;\r\n const pack = terms.PACK.singular;\r\n const packs = terms.PACK.plural;\r\n const lowerCasePack = terms.PACK.singularLowerCase;\r\n const lowerCasePacks = terms.PACK.pluralLowerCase;\r\n\r\n const alertsCollection = {\r\n ArwNewGameNotActivatedAlert: {\r\n /// {{ status }} is a definition describing particular pack status.\r\n title: gettextCatalog.getString('New Game(s) Not {{ status }}', {\r\n status: packStatuses.A.typeDesc,\r\n }),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('You have not yet displayed one or more new games.'),\r\n /// {{ status }} is a definition describing particular pack status.\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores in your chain have not yet {{ status }} and displayed new games.', {\r\n totalCount,\r\n status: packStatuses.A.typeDesc,\r\n }),\r\n },\r\n /// {{ status }} is a definition describing particular pack status.\r\n modalTitle: gettextCatalog.getString('New Game(s) Not {{ status }}', {\r\n status: packStatuses.A.typeDesc,\r\n }),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString('Please put the following games out for sale:'),\r\n /// {{ status }} is a definition describing particular pack status.\r\n CHAIN_HEAD: gettextCatalog.getString('The following stores have not yet {{ status }} the recently launched games listed below.', {\r\n status: packStatuses.A.typeDesc,\r\n }),\r\n },\r\n },\r\n ArwNewGameNotOnDisplayAlert: {\r\n title: gettextCatalog.getString('New Game(s) Selling Out'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you are selling out or have sold out of new game(s) on display.'),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Based on cashing activity, {{ totalCount }} stores appear to have sold out of new games on display.',\r\n { totalCount }\r\n ),\r\n },\r\n modalTitle: gettextCatalog.getString('New Game(s) Selling Out'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of our newest game(s). Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following stores appear to have sold out of our newest games. Please notify them to check their inventory. Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwNewGameNeedToBeReorderedAlert: {\r\n title: gettextCatalog.getString('New Game(s) Need to Be Reordered'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you appear to be out of stock on one or more new games.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Based on cashing activity, {{ totalCount }} stores appear to be out of stock of new games.', {\r\n totalCount,\r\n }),\r\n },\r\n modalTitle: gettextCatalog.getString('New Game(s) Need to Be Reordered '),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of one or more of our newest game(s). Please call {{ phoneNumber }} to replenish your stock.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Some of your stores appear to have sold out of our newest games. Please notify them to check their inventory and call {{ phoneNumber }} to replenish their stock of these new games.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwUnconfirmedOrdersAlert: {\r\n /// {{ status }} is a definition describing particular order status.\r\n title: gettextCatalog.getString('Not {{ status }} Order(s)', {\r\n status: orderStatuses.C.typeDesc,\r\n }),\r\n subtitle: {\r\n /// {{ status }} is a definition describing particular order status.\r\n DEFAULT: gettextCatalog.getString('Not {{ status }} orders have been identified for your location.', {\r\n status: orderStatuses.C.typeDesc,\r\n }),\r\n /// {{ status }} is a definition describing particular order status.\r\n CHAIN_HEAD: gettextCatalog.getString('Not {{ status }} orders have been identified for {{ totalCount }} stores in your chain.', {\r\n totalCount,\r\n status: orderStatuses.C.typeDesc,\r\n }),\r\n },\r\n /// {{ status }} is a definition describing particular order status.\r\n modalTitle: gettextCatalog.getString('Not {{ status }} Order(s)', {\r\n status: orderStatuses.C.typeDesc,\r\n }),\r\n modalSubtitle: {\r\n /// {{ status }} is a definition describing particular order status.\r\n DEFAULT: gettextCatalog.getString(\r\n 'Not {{ status }} orders have been identified for your location. ' +\r\n 'Please confirm the order if you have received it. ' +\r\n 'If you do not receive this order or the contents do not match this list, please call {{ phoneNumber }}.',\r\n {\r\n phoneNumber,\r\n status: orderStatuses.C.typeDesc,\r\n }\r\n ),\r\n /// {{ status }} is a definition describing particular order status.\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following locations have orders that have not been {{ status }} <3 or more> days after they shipped. ' +\r\n 'Please notify these locations either to confirm receipt of their orders or, ' +\r\n 'if the order was not received or the contents do not match this list, to call {{ phoneNumber }}.',\r\n {\r\n phoneNumber,\r\n status: orderStatuses.C.typeDesc.toLowerCase(),\r\n }\r\n ),\r\n },\r\n },\r\n ArwExpiringGamesAlert: {\r\n title: gettextCatalog.getString('Game End'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('You have stock of games that are due to expire in less than <30> days.'),\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores have stock of games that are due to expire in less than <30> days.', {\r\n totalCount,\r\n }),\r\n },\r\n modalTitle: gettextCatalog.getString('Game End'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'The following games are ending soon. Please prepare to end sales and return any inventory of the games below to the Lottery.'\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following games are ending soon. Please notify your stores to prepare to end sales and return any inventory of the games below to the Lottery.'\r\n ),\r\n },\r\n },\r\n ArwLVMBinNotSellingAlert: {\r\n title: gettextCatalog.getString('LVM Bin Not Selling'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('One or more bins in your LVM is either sold out or experiencing an error.'),\r\n },\r\n modalTitle: gettextCatalog.getString('LVM Bin Not Selling'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'One of the bins in your vending machine is not dispensing tickets. Please restock or reload the tickets for this bin as soon as possible to avoid lost sales.'\r\n ),\r\n },\r\n },\r\n ArwKeyGamesNeedToBeReorderedAlert: {\r\n title: gettextCatalog.getString('Key Game(s) Need to Be Reordered'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you appear to be out of stock on one or more key games.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Based on cashing activity, {{ totalCount }} stores appear to be out of stock of key games.', {\r\n totalCount,\r\n }),\r\n },\r\n modalTitle: gettextCatalog.getString('Key Game(s) Need to Be Reordered'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of one or more key Lottery game(s). Please call {{ phoneNumber }} to replenish your stock.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Some of your stores appear to have sold out of key Lottery games. Please notify them to check their inventory and call {{ phoneNumber }} to replenish their stock of these key games.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert: {\r\n title: gettextCatalog.getString('Key Game(s) Selling Out'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Based on cashing activity, you are selling out or have sold out of key game(s) on display.'),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'Based on cashing activity, {{ totalCount }} stores appear to have sold out of key games on display.',\r\n { totalCount }\r\n ),\r\n },\r\n modalTitle: gettextCatalog.getString('Key Game(s) Selling Out'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(\r\n 'Check your inventory on display. You may have sold out of some key Lottery game(s). Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following stores appear to have sold out of key Lottery games. Please notify them to check their inventory. Please contact {{ phoneNumber }} for additional information.',\r\n { phoneNumber }\r\n ),\r\n },\r\n },\r\n ArwMandatoryReturnAlert: {\r\n title: gettextCatalog.getString('Mandatory Return'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('You have stock of games that must be returned immediately.'),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n '{{ totalCount }} stores have stock of games that must be removed from display and returned.',\r\n { totalCount }\r\n ),\r\n },\r\n modalTitle: gettextCatalog.getString('Mandatory Return'),\r\n modalSubtitle: {\r\n /// {{ pack }} and {{ lowerCasePacks }} are Lottery terms using to determine Packs.\r\n DEFAULT: gettextCatalog.getString(\r\n 'The following game(s) may no longer be sold and must be returned to the Lottery. Please remove from display immediately. When all {{ lowerCasePacks }} of game(s) listed are removed from display, select “{{ pack }} Removed” button to hide this Alert.',\r\n { pack: packs, lowerCasePacks }\r\n ),\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following game(s) may no longer be sold and must be returned to the Lottery. Please notify your stores to remove from display immediately.'\r\n ),\r\n },\r\n },\r\n ArwLicenseRenewalAlert: {\r\n title: gettextCatalog.getString('Your license will expire soon'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Your license will expire soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores have license expiring soon.', { totalCount }),\r\n },\r\n modalTitle: gettextCatalog.getString('Your license will expire soon'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString(''),\r\n CHAIN_HEAD: gettextCatalog.getString('The following stores appear to have License expiring soon.', { totalCount }),\r\n },\r\n },\r\n ArwBondRenewalAlert: {\r\n title: gettextCatalog.getString('Your bond(s) will expire soon'),\r\n subtitle: {\r\n DEFAULT: gettextCatalog.getString('Your bond(s) will expire soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores bond(s) expiring soon.', { totalCount }),\r\n },\r\n modalTitle: gettextCatalog.getString('Your bond(s) will expire soon'),\r\n modalSubtitle: {\r\n DEFAULT: gettextCatalog.getString('The following stores appear to have Bond(s) expiring soon'),\r\n },\r\n },\r\n ArwAutoActivatedConfirmedAlert: {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n title: gettextCatalog.getString('Your {{ pack }}(s) was auto-activated', { pack: lowerCasePack }),\r\n subtitle: {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n DEFAULT: gettextCatalog.getString('Your {{ pack }}(s) was auto-activated', { pack: lowerCasePack }),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n CHAIN_HEAD: gettextCatalog.getString('{{ totalCount }} stores have {{ pack }}(s) auto-activated.', {\r\n totalCount,\r\n pack: lowerCasePack,\r\n }),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n STORE_PROFILE: gettextCatalog.getString('{{ totalCount }} stores have {{ pack }}(s) auto-activated.', {\r\n totalCount,\r\n pack: lowerCasePack,\r\n }),\r\n },\r\n /// {{ packs }} is Lottery term using to determine Pack.\r\n modalTitle: gettextCatalog.getString('{{ packs }} Auto-Activated', { packs }),\r\n modalSubtitle: {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n DEFAULT: gettextCatalog.getString(\r\n 'The following {{ pack }} were auto-activated {{ numberOfDays }} days after they were confirmed.',\r\n { numberOfDays: DepsService.config.ArwAutoActivatedConfirmedAlert.numberOfDays, pack: lowerCasePacks }\r\n ),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n CHAIN_HEAD: gettextCatalog.getString(\r\n 'The following stores have {{ pack }} that have been auto-activated {{ numberOfDays }} days after they were confirmed.',\r\n { numberOfDays: DepsService.config.ArwAutoActivatedConfirmedAlert.numberOfDays, pack: lowerCasePack }\r\n ),\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n STORE_PROFILE: gettextCatalog.getString(\r\n 'The following {{ pack }} have been auto-activated due to them being in confirmed status for {{ numberOfDays }} days.',\r\n { numberOfDays: DepsService.config.ArwAutoActivatedConfirmedAlert.numberOfDays, pack: lowerCasePack }\r\n ),\r\n },\r\n },\r\n };\r\n\r\n const emptyAlert = {\r\n title: gettextCatalog.getString('Will be implemented soon.'),\r\n subtitle: {\r\n INDEPENDENT: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_SUBORDINATE: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Will be implemented soon.'),\r\n STORE_PROFILE: gettextCatalog.getString('Will be implemented soon.'),\r\n },\r\n modalTitle: gettextCatalog.getString('Will be implemented soon.'),\r\n modalSubtitle: {\r\n INDEPENDENT: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_SUBORDINATE: gettextCatalog.getString('Will be implemented soon.'),\r\n CHAIN_HEAD: gettextCatalog.getString('Will be implemented soon.'),\r\n STORE_PROFILE: gettextCatalog.getString('Will be implemented soon.'),\r\n },\r\n };\r\n\r\n const gridHeadersData = {\r\n ArwNewGameNotActivatedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Launch'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwNewGameNotOnDisplayAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Launch'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwNewGameNeedToBeReorderedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Launch'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwUnconfirmedOrdersAlert: [\r\n {\r\n text: gettextCatalog.getString('Order Contents'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack, {{ status }} is a definition describing particular pack status.\r\n text: gettextCatalog.getString('{{ pack }} {{ status }}', { pack: packs, status: packStatuses.I.typeDesc }),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwExpiringGamesAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('% Validated'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Game End Date'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwLVMBinNotSellingAlert: [\r\n {\r\n text: gettextCatalog.getString('LVM ID'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Bin Number'),\r\n },\r\n ],\r\n ArwKeyGamesNeedToBeReorderedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwKeyGamesOnDisplaySellingOutOrSoldOutAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwMandatoryReturnAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price Point'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwLicenseRenewalAlert: [\r\n {\r\n text: gettextCatalog.getString('License renewal date'),\r\n },\r\n {\r\n text: gettextCatalog.getString('License renewal days left'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwBondRenewalAlert: [\r\n {\r\n text: gettextCatalog.getString('Bond(s) Expiring date'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Bond(s) Expiring days left'),\r\n classes: 'text-right',\r\n },\r\n ],\r\n ArwAutoActivatedConfirmedAlert: [\r\n {\r\n text: gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: gettextCatalog.getString('Game No.'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: gettextCatalog.getString('{{ pack }} No.', { pack }),\r\n classes: 'text-right',\r\n },\r\n {\r\n text: gettextCatalog.getString('Price'),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ status }} is a definition describing particular pack status.\r\n text: gettextCatalog.getString('{{ status }}', { status: packStatuses.C.typeDesc }),\r\n classes: 'text-right',\r\n },\r\n {\r\n /// {{ status }} is a definition describing particular pack status.\r\n text: gettextCatalog.getString('{{ status }}', { status: packStatuses.A.typeDesc }),\r\n classes: 'text-right',\r\n },\r\n ],\r\n };\r\n\r\n let retailerType = '';\r\n if (get(session, 'retailer.isIndependent') || get(session, 'retailerDashboard.isIndependent')) {\r\n retailerType = 'INDEPENDENT';\r\n } else if (get(session, 'retailer.isChainSubordinate') || get(session, 'retailerDashboard.isChainSubordinate')) {\r\n retailerType = 'CHAIN_SUBORDINATE';\r\n } else if (get(session, 'retailer.isChainHead') || get(session, 'retailerDashboard.isChainHead')) {\r\n retailerType = 'CHAIN_HEAD';\r\n } else if (retailerId !== get(session, 'retailer.retailerId')) {\r\n retailerType = 'STORE_PROFILE';\r\n }\r\n\r\n const alertDetails = get(alertsCollection, type) || emptyAlert;\r\n\r\n Object.assign(alertDetails || {}, {\r\n subtitle: get(alertDetails, `subtitle.${retailerType}`, alertDetails.subtitle.DEFAULT),\r\n modalSubtitle: get(alertDetails, `modalSubtitle.${retailerType}`, alertDetails.modalSubtitle.DEFAULT),\r\n });\r\n\r\n return {\r\n gridHeaders: gridHeadersData[type],\r\n details: alertDetails,\r\n };\r\n}\r\n\r\nexport default {\r\n downloadHistoryReport,\r\n getAlertDetails,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/dashboard-helpers.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport get from 'lodash/get';\r\nimport { getTimestampDate } from 'dashboard/reducers/announcements/utils';\r\n\r\nconst DRAFT = 'DRAFT';\r\nconst CONTEXT = 'cms';\r\n\r\nconst widgetsFields2Object = (response) =>\r\n response.entries.map((entry) => {\r\n const fields = appHelpers.getFieldsFromEntry(entry);\r\n return {\r\n ...entry,\r\n fields,\r\n };\r\n });\r\n\r\nconst getAnnouncementsUrl = (showOnlyPublishedWidgets) => {\r\n if (showOnlyPublishedWidgets) return DepsService.rest.cms.announcements.first.url;\r\n return DepsService.rest.cms.announcements.second.url;\r\n};\r\n\r\nexport const fetchAnnouncements = async (showOnlyPublishedWidgets, jurisdictionId) => {\r\n const url = getAnnouncementsUrl(showOnlyPublishedWidgets);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n const result = {\r\n draft: response.versionType === DRAFT,\r\n items: widgetsFields2Object(response),\r\n };\r\n return result;\r\n};\r\n\r\nexport const discardChanges = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms.announcements.discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadAttachment = async (jurisdictionId, attachment) => {\r\n const { url } = DepsService.rest.cms.widgets.download;\r\n const queryParams = {};\r\n const urlParams = {\r\n jurisdictionId,\r\n contentId: attachment.id,\r\n };\r\n\r\n if (attachment.fileSource) {\r\n const b64Data = attachment.fileSource.split(',');\r\n const blob = appHelpers.b64toBlob(b64Data[1], attachment.fileType);\r\n return window.saveAs(blob, attachment.name);\r\n }\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams).promise.then((result) => {\r\n const blob = new Blob([result.data], {});\r\n window.saveAs(blob, attachment.name);\r\n });\r\n};\r\n\r\nconst transformAnnouncements = (newAnnouncements, locales) =>\r\n newAnnouncements.reduce((announcements, announcement) => {\r\n const data = {\r\n fields: appHelpers.setFieldsToEntry(announcement.fields),\r\n title: 'announcements',\r\n };\r\n if (announcement.publishFrom) {\r\n data.publishFrom = getTimestampDate(announcement.publishFrom);\r\n }\r\n if (announcement.publishTo) {\r\n data.publishTo = getTimestampDate(announcement.publishTo);\r\n }\r\n if (announcement.attachments) {\r\n data.attachments = announcement.attachments;\r\n locales.map((locale) => {\r\n const attachment = get(announcement.attachments, `${locale.code}[0]`);\r\n if (attachment && !attachment.id) {\r\n data.attachments[locale.code] = [\r\n {\r\n name: attachment.name,\r\n content: attachment.fileSource.split(',')[1],\r\n },\r\n ];\r\n }\r\n if (!attachment) {\r\n data.attachments[locale.code] = undefined;\r\n }\r\n });\r\n }\r\n return announcements.concat(data);\r\n }, []);\r\n\r\nexport const updateAnnouncements = async (newAnnouncements, modified, locales, secondHandApproval, jurisdictionId) => {\r\n const url = getAnnouncementsUrl(!secondHandApproval);\r\n const entries = transformAnnouncements(newAnnouncements, locales);\r\n const queryParams = { entries, modified };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/announcements.api.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport find from 'lodash/find';\r\nimport DepsService from 'services/dependencies';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/dashboard.api';\r\n\r\nexport const fetchDashboardRequest = () => ({\r\n type: actionTypes.FETCH_DASHBOARD_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchDashboardSuccess = (current, toSave) => ({\r\n type: actionTypes.FETCH_DASHBOARD_SUCCESS,\r\n isLoading: false,\r\n toSave,\r\n current,\r\n});\r\n\r\nexport const fetchDashboardFailure = () => ({\r\n type: actionTypes.FETCH_DASHBOARD_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const setDashboardLayouts = (layouts) => ({\r\n type: actionTypes.SET_DASHBOARD_LAYOUTS,\r\n layouts,\r\n});\r\n\r\nexport const fetchDashboard = (retailerType, dashboardSubtype) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const userId = session.id;\r\n\r\n dispatch(fetchDashboardRequest());\r\n\r\n const dashboardData = await api.fetchDashboard(userId);\r\n const dashboard = cloneDeep(find(dashboardData, { type: retailerType })) || dashboardData[0];\r\n const current = find(dashboard.subtypes, { name: dashboardSubtype });\r\n\r\n dispatch(fetchDashboardSuccess(current, dashboard));\r\n const layouts = DepsService.config.layoutsConfig;\r\n dispatch(setDashboardLayouts(layouts));\r\n } catch (error) {\r\n console.error('FETCH_DASHBOARD', error);\r\n dispatch(fetchDashboardFailure());\r\n }\r\n};\r\n\r\nexport const restoreDefaults = (retailerType, dashboardSubtype) => async (dispatch, getState) => {\r\n try {\r\n const {\r\n dashboard: { toSave },\r\n } = getState();\r\n dispatch(fetchDashboardRequest());\r\n\r\n const dashboard = await api.fetchDefaultDashboard(retailerType);\r\n const current = find(dashboard.subtypes, { name: dashboardSubtype });\r\n dashboard.id = toSave.id;\r\n dashboard.userId = toSave.userId;\r\n dashboard.retailerId = toSave.retailerId;\r\n\r\n dispatch(fetchDashboardSuccess(current, dashboard));\r\n } catch (error) {\r\n console.error('FETCH_DEFAULT_DASHBOARD', error);\r\n dispatch(fetchDashboardFailure());\r\n }\r\n};\r\n\r\nexport const setDashboardEditMode = (isEditMode) => ({\r\n type: actionTypes.SET_DASHBOARD_EDIT_MODE,\r\n isEditMode,\r\n});\r\n\r\nexport const setDashboardCopy = (copy) => ({\r\n type: actionTypes.SET_DASHBOARD_COPY,\r\n copy,\r\n});\r\n\r\nexport const setDashboardCurrent = (current) => ({\r\n type: actionTypes.SET_DASHBOARD_CURRENT,\r\n isLoading: false,\r\n current,\r\n});\r\n\r\nexport const setEditMode = (isEditMode, isSave) => (dispatch, getState) => {\r\n const {\r\n dashboard: { current, copy },\r\n } = getState();\r\n dispatch(setDashboardEditMode(isEditMode));\r\n\r\n if (isEditMode) {\r\n dispatch(setDashboardCopy(cloneDeep(current)));\r\n } else if (isSave) {\r\n dispatch(setDashboardCurrent(cloneDeep(current)));\r\n } else {\r\n dispatch(setDashboardCurrent(cloneDeep(copy)));\r\n }\r\n};\r\n\r\nexport const saveDashboardRequest = () => ({\r\n type: actionTypes.SAVE_DASHBOARD_REQUEST,\r\n});\r\n\r\nexport const saveDashboardSuccess = () => ({\r\n type: actionTypes.SAVE_DASHBOARD_SUCCESS,\r\n});\r\n\r\nexport const saveDashboardFailure = () => ({\r\n type: actionTypes.SAVE_DASHBOARD_FAILURE,\r\n});\r\n\r\nexport const saveDashboard = (dashboardData) => async (dispatch, getState) => {\r\n try {\r\n if (!dashboardData) {\r\n return;\r\n }\r\n const { dashboard } = getState();\r\n const dashboardToSave = cloneDeep(dashboard.toSave);\r\n const foundSubtypeIndex = dashboardToSave.subtypes.findIndex((subtype) => subtype.name === dashboardData.name);\r\n dashboardToSave.subtypes[foundSubtypeIndex] = dashboardData;\r\n\r\n dispatch(saveDashboardRequest());\r\n await api.updateDashboard(dashboardToSave);\r\n dispatch(saveDashboardSuccess());\r\n } catch (error) {\r\n console.error('SAVE_DASHBOARD', error);\r\n dispatch(saveDashboardFailure());\r\n }\r\n};\r\n\r\nfunction getVisibleWidgets(dashboard) {\r\n const visibleWidgets = [];\r\n dashboard.rows.forEach((row) => {\r\n row.columns.forEach((column) => {\r\n column.widgets.forEach((widget) => {\r\n if (!find(() => widget.type, visibleWidgets)) {\r\n visibleWidgets.push(widget.type);\r\n }\r\n });\r\n });\r\n });\r\n return visibleWidgets;\r\n}\r\n\r\nfunction getAvailableWidgets(retailer, dashboard, visibleWidgets) {\r\n const availableWidgets = DepsService.config.availableWidgets[retailer][dashboard.name];\r\n return availableWidgets.filter((widget) => !visibleWidgets.find((item) => item === widget.type));\r\n}\r\n\r\nfunction getAuthorizedWidgets(availableWidgets, session) {\r\n return availableWidgets.filter((widget) =>\r\n DepsService.config.widgets.find((item) => DepsService.checkAccess({ session }, item.permission) && widget.type === item.type)\r\n );\r\n}\r\n\r\nexport const setDashboardWidgetsList = (widgets) => ({\r\n type: actionTypes.SET_DASHBOARD_WIDGETS_LIST,\r\n widgets,\r\n});\r\n\r\nexport const getWidgetsList = (retailerType) => (dispatch, getState) => {\r\n const { session, dashboard } = getState();\r\n const currentDashboard = dashboard.current;\r\n const newDashboard = cloneDeep(currentDashboard);\r\n const retailer = retailerType.toUpperCase() || session.retailer.retailerType.toUpperCase();\r\n\r\n const visibleWidgets = getVisibleWidgets(newDashboard);\r\n const availableWidgets = getAvailableWidgets(retailer, newDashboard, visibleWidgets);\r\n const widgets = getAuthorizedWidgets(availableWidgets, session);\r\n\r\n dispatch(setDashboardWidgetsList(widgets));\r\n};\r\n\r\nexport const addWidget =\r\n ({ type }) =>\r\n (dispatch, getState) => {\r\n const { dashboard } = getState();\r\n const currentDashboard = dashboard.current;\r\n const newDashboard = cloneDeep(currentDashboard);\r\n const { widgets } = dashboard;\r\n\r\n newDashboard.rows[0].columns[0].widgets.unshift({\r\n name: type,\r\n type,\r\n isEditable: true,\r\n isRemovable: true,\r\n });\r\n const newWidgets = widgets.filter((widgetItem) => widgetItem.type !== type);\r\n dispatch(setDashboardCurrent(newDashboard));\r\n dispatch(setDashboardWidgetsList(newWidgets));\r\n };\r\n\r\nexport const deleteWidget =\r\n ({ type }) =>\r\n (dispatch, getState) => {\r\n const { dashboard } = getState();\r\n const currentDashboard = dashboard.current;\r\n const newDashboard = cloneDeep(currentDashboard);\r\n\r\n newDashboard.rows = newDashboard.rows.reduce((reduced, row) => {\r\n row.columns.forEach((column) => {\r\n column.widgets = column.widgets.filter((widget) => widget.type !== type);\r\n });\r\n reduced.push(row);\r\n return reduced;\r\n }, []);\r\n\r\n dispatch(setDashboardCurrent(newDashboard));\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/dashboard.actions.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport restApi from 'app/rest.conf.json';\r\nimport {\r\n applySessionData as applySessionDataRedux,\r\n changeLocale as changeLocaleRedux,\r\n initializeSession as initializeSessionRedux,\r\n resetSession as resetSessionRedux,\r\n setAttemptedRoute,\r\n updateAuthHeaders,\r\n} from 'auth/actions/session.actions';\r\n\r\nconst TEMPORARY_SUFFIX = 'Temporary';\r\nconst STATUS_CREATED = 'CREATED';\r\nconst CHAIN_SUFFIX = 'CHAIN_';\r\nconst CHAIN_HEAD = 'CHAIN_HEAD';\r\nconst CHAIN_SUBORDINATE = 'CHAIN_SUBORDINATE';\r\nconst SUPER_CHAIN = 'SUPER_CHAIN';\r\nconst INDEPENDENT = 'INDEPENDENT';\r\n\r\nfunction initializeSession(deps, model, session = {}, privileges = {}) {\r\n const nonLoggedRole = window.devMode ? deps.config.mock : deps.config.anonymous;\r\n const { baseUrl, oAuthClientId, siteId, jurisdictionId, defaultLocale } = deps.config;\r\n\r\n const defaultSession = {\r\n baseUrl,\r\n oAuthClientId,\r\n siteId,\r\n privileges,\r\n rest: restApi,\r\n role: nonLoggedRole,\r\n locale: defaultLocale,\r\n jurisdiction: jurisdictionId,\r\n loggedIn: false,\r\n passwordReset: false,\r\n tokens: {},\r\n retailer: {},\r\n firstName: '',\r\n lastName: '',\r\n contactPhone: '',\r\n emailAddress: '',\r\n };\r\n\r\n const newSession = Object.keys(session).length > 0 ? Object.assign(session, { baseUrl }) : defaultSession;\r\n delete newSession.sidemenu;\r\n delete newSession.topmenu;\r\n delete newSession.pageTitle;\r\n model.session = newSession;\r\n\r\n DepsService.$ngRedux.dispatch(initializeSessionRedux(newSession));\r\n\r\n if (Object.keys(newSession.tokens).length > 0) {\r\n DepsService.$ngRedux.dispatch(updateAuthHeaders(newSession.tokens));\r\n }\r\n\r\n DepsService.updateSession(newSession);\r\n // TODO be remove\r\n return model;\r\n}\r\n\r\nfunction applySessionData(params) {\r\n const {\r\n model,\r\n user,\r\n user: { status, contact, userClass: role, retailerGroups },\r\n config: { defaultLocale, anonymous },\r\n loginAs,\r\n impersonatingDisplayName,\r\n adminId = null,\r\n } = params;\r\n\r\n const {\r\n id,\r\n lotteryRepId,\r\n siteId,\r\n forcePasswordChange = false,\r\n locale = defaultLocale,\r\n retailers,\r\n primaryRetailer,\r\n independentOwnerId,\r\n lotteryRepresentatives,\r\n } = user;\r\n\r\n const retailer = primaryRetailer ? _.find(retailers, { retailerId: primaryRetailer.retailerId }) || _.head(retailers) || {} : {};\r\n\r\n const { firstName, lastName, contactPhone, mobilePhone, emailAddress } = contact;\r\n\r\n function getRetailer() {\r\n return Object.assign(retailer, {\r\n isChain: retailer.retailerType ? retailer.retailerType.indexOf(CHAIN_SUFFIX) !== -1 : false,\r\n isChainHead: retailer.retailerType ? retailer.retailerType === CHAIN_HEAD : false,\r\n isChainSubordinate: retailer.retailerType ? retailer.retailerType === CHAIN_SUBORDINATE : false,\r\n isSuperChain: retailer.retailerType ? retailer.retailerType === SUPER_CHAIN : false,\r\n isIndependent: retailer.retailerType ? retailer.retailerType === INDEPENDENT : false,\r\n });\r\n }\r\n\r\n function getLoggedIn() {\r\n return loginAs ? true : role !== anonymous && !forcePasswordChange;\r\n }\r\n\r\n function getMultistore() {\r\n return retailers.length > 1 && retailer.retailerType !== SUPER_CHAIN;\r\n }\r\n\r\n const session = {\r\n firstName,\r\n lastName,\r\n contactPhone,\r\n mobilePhone,\r\n emailAddress,\r\n role,\r\n id,\r\n lotteryRepId,\r\n independentOwnerId,\r\n jurisdiction: siteId,\r\n passwordReset: forcePasswordChange,\r\n temporaryUser: status.status === STATUS_CREATED,\r\n status,\r\n rest: restApi,\r\n locale,\r\n retailer: getRetailer(),\r\n retailerGroups,\r\n ownerRetailerGroups: undefined,\r\n isAdmin: role.indexOf('ADMIN') > -1,\r\n isRetailerGroup: role.indexOf('RETAILER_GROUP') > -1,\r\n retailers,\r\n lotteryRepresentatives,\r\n loginAs,\r\n adminId,\r\n impersonatingDisplayName,\r\n loggedIn: getLoggedIn(),\r\n multistore: getMultistore(),\r\n retailerDashboard: void 0,\r\n };\r\n\r\n if (!loginAs && (status.status === STATUS_CREATED || forcePasswordChange)) {\r\n session.role += TEMPORARY_SUFFIX;\r\n }\r\n\r\n function getRetailersIds() {\r\n return session.retailer.isChainHead || session.retailer.isSuperChain\r\n ? retailers.map((r) => r.retailerId).join(',')\r\n : retailer.retailerId;\r\n }\r\n\r\n session.retailersIds = getRetailersIds();\r\n\r\n Object.assign(model, { session: Object.assign(model.session, session) });\r\n\r\n DepsService.$ngRedux.dispatch(applySessionDataRedux(session));\r\n // update rest in deps service\r\n DepsService.updateSession(session);\r\n\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction changeLocale(deps, model, locale) {\r\n DepsService.$ngRedux.dispatch(changeLocaleRedux(locale));\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction saveSession(sessionStorage, model) {\r\n DepsService.$ngRedux.dispatch(applySessionDataRedux(model.session));\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction resetSession(deps, model) {\r\n DepsService.$ngRedux.dispatch(setAttemptedRoute(''));\r\n DepsService.$ngRedux.dispatch(resetSessionRedux());\r\n model = initializeSession(deps, model, {}, deps.anonymousPrivileges);\r\n return Promise.resolve(model);\r\n}\r\n\r\nfunction setRetailer(retailer) {\r\n DepsService.model.session.retailer = retailer;\r\n DepsService.model.session.retailersIds = DepsService.session.retailer.isChainHead\r\n ? DepsService.model.session.retailers.map((r) => r.retailerId).join(',')\r\n : retailer.retailerId;\r\n DepsService.$ngRedux.dispatch(\r\n applySessionDataRedux({\r\n retailer,\r\n retailersIds: DepsService.model.session.retailersIds,\r\n })\r\n );\r\n return Promise.resolve();\r\n}\r\n\r\nfunction updateSession(deps, model, newSession) {\r\n model.session = Object.assign(model.session, newSession);\r\n DepsService.$ngRedux.dispatch(applySessionDataRedux(newSession));\r\n}\r\n\r\nexport default {\r\n applySessionData,\r\n saveSession,\r\n updateSession,\r\n resetSession,\r\n initializeSession,\r\n setRetailer,\r\n changeLocale,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/logic/session.js","function checkFormValidation(form) {\r\n form.$setSubmitted();\r\n return form.$valid;\r\n}\r\n\r\nexport default {\r\n checkFormValidation,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/multilanguage/helpers/multilanguage-helpers.js","import appHelpers from 'app/app-helpers';\r\n\r\nclass StripHtml {\r\n constructor() {\r\n return (input) => {\r\n if (typeof input !== 'string') {\r\n return '';\r\n }\r\n const normalizedText = input.replace(/(\\r\\n|\\n|\\r)/gm, '').replace(/ /gi, ' ');\r\n return appHelpers.trimHtml(normalizedText, false).replace(/^([\\t\\r\\n]*)$/, '');\r\n };\r\n }\r\n}\r\n\r\nexport default StripHtml;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/lsp-filters/strip-html-filter.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\n\r\nimport { setUserPrivileges } from 'auth/actions/session.actions';\r\nimport helpers from './helpers';\r\n\r\nconst PRIVILGES_CONTEXT = 'privilegeTemplates';\r\n\r\nfunction initializeModel(deps, model) {\r\n return _.merge(model, {\r\n privileges: {},\r\n privilegesArray: [],\r\n hiddenPrivileges: {},\r\n hiddenPrivilegesArray: [],\r\n privilegeTemplates: {\r\n lotteryView: {\r\n presets: [],\r\n currentPreset: null,\r\n currentPresetOriginalPrivileges: null,\r\n isCurrentPresetDirty: false,\r\n displayTypes: [],\r\n languageValidation: {},\r\n },\r\n retailerView: {\r\n presets: [],\r\n currentPreset: null,\r\n currentPresetOriginalPrivileges: null,\r\n isCurrentPresetDirty: false,\r\n displayTypes: [],\r\n languageValidation: {},\r\n },\r\n roles: {\r\n selectedRole: {},\r\n currentRole: {},\r\n PrivilegeTemplatesList: [],\r\n isCurrentRoleDirty: false,\r\n },\r\n rolesDialog: {\r\n languageValidation: {},\r\n },\r\n retailerViewDialog: {\r\n languageValidation: {},\r\n },\r\n lotteryViewDialog: {\r\n languageValidation: {},\r\n },\r\n },\r\n });\r\n}\r\n\r\nfunction loadPrivileges(deps, model, userClass, retailerType) {\r\n const queryParams = retailerType ? { retailerType } : null;\r\n return deps.restSrv\r\n .list(PRIVILGES_CONTEXT, model.session.rest.privileges.dynamic.url, queryParams, { userClass })\r\n .then((privileges) =>\r\n _.flow([\r\n (obj) => _.set(obj, 'privilegesArray', privileges),\r\n (obj) => _.set(obj, 'privileges', helpers.createTree(privileges, 'displayPath')),\r\n ])(model)\r\n );\r\n}\r\n\r\nfunction loadUserSessionPrivileges(deps, model) {\r\n return deps.restSrv.list(PRIVILGES_CONTEXT, model.session.rest.privileges.session.user.calculate.url, null, null).then((privileges) => {\r\n const privs = _.merge(helpers.transformPrivileges(privileges), deps.config.defaultLoggedInPrivileges);\r\n DepsService.$ngRedux.dispatch(setUserPrivileges(privs));\r\n return _.set(model, 'session.privileges', privs);\r\n });\r\n}\r\n\r\nfunction loadPreset(deps, model, presetId, role) {\r\n return deps.restSrv.list(PRIVILGES_CONTEXT, model.session.rest.privileges[role].template.get.url, null, {\r\n templateId: presetId,\r\n });\r\n}\r\n\r\n// Edit Account functions\r\nfunction resetCurrentPreset(deps, model, role) {\r\n const templateId = model.user.editAccount.currentUserPreset.id;\r\n return deps.restSrv\r\n .list(PRIVILGES_CONTEXT, model.session.rest.privileges[role].template.get.url, null, {\r\n templateId,\r\n })\r\n .then((response) => {\r\n model.user.editAccount.currentUserPreset = { ...model.user.editAccount.currentUserPreset, privileges: response.privileges };\r\n return model;\r\n });\r\n}\r\n\r\nexport default {\r\n initializeModel,\r\n loadPrivileges,\r\n loadUserSessionPrivileges,\r\n resetCurrentPreset,\r\n loadPreset,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/logic/privilege-templates.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport * as api from '../resources/widgets.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const addWidget = (widget) => ({\r\n type: actionTypes.ADD_WIDGET,\r\n widget,\r\n});\r\n\r\nexport const updateWidget = (index, widget) => ({\r\n type: actionTypes.UPDATE_WIDGET,\r\n index,\r\n widget,\r\n});\r\n\r\nexport const deleteWidget = (index) => ({\r\n type: actionTypes.DELETE_WIDGET,\r\n index,\r\n});\r\n\r\nexport const cancelWidgetsChanges = () => async (dispatch, getState) => {\r\n const { widgets } = getState();\r\n const { items } = widgets;\r\n const copyItems = cloneDeep(items);\r\n dispatch({\r\n type: actionTypes.CANCEL_WIDGETS_CHANGES,\r\n copyItems,\r\n });\r\n};\r\n\r\nexport const fetchWidgetsRequest = () => ({\r\n type: actionTypes.FETCH_WIDGETS_REQUEST,\r\n name: 'widgetsLoadingStatus',\r\n});\r\n\r\nexport const fetchWidgetsSuccess = (home, { draft, items }) => ({\r\n type: actionTypes.FETCH_WIDGETS_SUCCESS,\r\n home,\r\n draft,\r\n items,\r\n name: 'widgetsLoadingStatus',\r\n});\r\n\r\nexport const fetchWidgetsFailure = () => ({\r\n type: actionTypes.FETCH_WIDGETS_FAILURE,\r\n name: 'widgetsLoadingStatus',\r\n});\r\n\r\nexport const fetchWidgets =\r\n (home = false) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n const showOnlyPublishedWidgets = home || !secondHandApproval;\r\n const params = {\r\n showOnlyPublishedWidgets,\r\n jurisdictionId,\r\n };\r\n\r\n dispatch(fetchWidgetsRequest());\r\n const result = await api.fetchWidgets(params);\r\n dispatch(fetchWidgetsSuccess(home, result));\r\n } catch (error) {\r\n dispatch(fetchWidgetsFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_WIDGETS', error);\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/widgets.actions.js","import appHelpers from 'app/app-helpers';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst DRAFT = 'DRAFT';\r\nconst CONTEXT = 'cms';\r\n\r\nconst widgetsFields2Object = (response) =>\r\n response.entries.map((entry) => {\r\n const fields = appHelpers.getFieldsFromEntry(entry);\r\n return {\r\n ...entry,\r\n fields,\r\n };\r\n });\r\n\r\nconst entriesTransformation = (locales, widgets) =>\r\n widgets.reduce((entries, widget) => {\r\n const data = {\r\n fields: appHelpers.setFieldsToEntry(widget.fields),\r\n id: widget.id,\r\n title: 'widget',\r\n };\r\n if (widget.attachments) {\r\n data.attachments = widget.attachments;\r\n // eslint-disable-next-line array-callback-return\r\n locales.map((locale) => {\r\n if (widget.attachments[locale.code] && !widget.attachments[locale.code][0].id) {\r\n data.attachments[locale.code] = [\r\n {\r\n name: widget.attachments[locale.code][0].name,\r\n content: widget.attachments[locale.code][0].fileSource.split(',')[1],\r\n },\r\n ];\r\n }\r\n });\r\n }\r\n return entries.concat(data);\r\n }, []);\r\n\r\nconst getWidgetsUrl = (showOnlyPublishedWidgets) => {\r\n if (showOnlyPublishedWidgets) return DepsService.rest.cms.widgets.first.url;\r\n return DepsService.rest.cms.widgets.second.url;\r\n};\r\n\r\nexport const fetchWidgets = async ({ showOnlyPublishedWidgets, jurisdictionId }) => {\r\n const url = getWidgetsUrl(showOnlyPublishedWidgets);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n const result = {\r\n draft: response.versionType === DRAFT,\r\n items: widgetsFields2Object(response),\r\n };\r\n return result;\r\n};\r\n\r\nexport const downloadAttachment = (attachment) => {\r\n const { url } = DepsService.rest.cms.widgets.download;\r\n\r\n return appHelpers.downloadFile(CONTEXT, DepsService, url, attachment);\r\n};\r\n\r\nexport const publishWidgets = async (secondHandApproval, jurisdictionId, locales, widgets) => {\r\n const url = getWidgetsUrl(false);\r\n const entries = entriesTransformation(locales, widgets);\r\n const queryParams = {\r\n entries,\r\n };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const discardWidgetsChanges = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms.widgets.discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/widgets.api.js","window.devMode = false\nimport angular from 'angular';\nimport _ from 'lodash/fp';\nimport config from 'lspConfig';\nimport restApi from 'app/rest.conf.json';\nimport 'ngStorage';\nimport 'angular-aria';\nimport 'angular-messages';\nimport 'angular-animate';\nimport 'angular-gettext';\nimport 'angular-ui-router';\nimport 'angular-sanitize';\nimport 'angular-ckeditor-legacy';\nimport 'angular-ui-mask';\nimport 'angular-toastr';\nimport 'angular-material';\nimport 'angular-dynamic-locale';\nimport 'loading-bar';\nimport 'ui-select';\nimport 'angular-nvd3';\nimport moment from 'moment';\nimport dropdown from 'angular-ui-bootstrap/src/dropdown';\nimport dialog from 'angular-ui-bootstrap/src/modal';\nimport ngRedux from 'ng-redux';\nimport thunk from 'redux-thunk';\nimport 'api-check';\nimport { getRetailerId, isStoreProfileSelector, isRetailerDashboardSelector } from 'selectors/index';\n\n// reducers\nimport reducers from '../reducers.js';\n\n// dependencies\nimport dependenciesService from 'services/dependencies';\n\nimport 'auth/auth-module';\nimport 'contact/contact-module';\nimport 'documents/documents-component';\nimport 'email-notification-templates/email-notification-templates-component';\nimport 'sms/sms-component';\nimport 'faq/faq-component';\nimport 'message/message-component';\nimport 'privilege-templates/privilege-templates-component';\nimport 'registration/registration-module';\nimport 'report-subscriptions/report-subscriptions-module';\nimport 'retailer-reports/retailer-reports-module';\nimport 'admin-reports/admin-reports-module';\nimport 'security/security-module';\nimport 'store-profiles/store-profiles-component';\nimport 'manage-inventory/manage-inventory-component';\nimport 'dashboard/dashboard-module';\nimport 'user/user-module';\nimport 'utils/utils-component';\nimport 'terms-preview/terms-preview-module';\nimport 'retailer-dashboards/retailer-dashboards-module';\nimport 'download-report-page/download-report-page-module';\nimport 'app/app-component';\n\nimport './config/errorcodes.conf';\nimport appLogic from './logic/app';\nimport sessionLogic from 'auth/logic/session';\nimport auth from 'auth/logic/auth';\nimport contact from 'contact/logic/contact';\n\nimport emailNotificationTemplates from 'email-notification-templates/logic/email-notification-templates';\nimport sms from 'sms/logic/sms';\nimport faq from 'faq/logic/faq';\n\nimport privilegeTemplates from 'privilege-templates/logic/privilege-templates';\nimport registration from 'registration/logic/registration';\n\nimport retailerReports from 'retailer-reports/logic/retailer-reports';\nimport adminReports from 'admin-reports/logic/admin-reports';\nimport security from 'security/logic/security';\n\nimport manageInventory from 'manage-inventory/logic/manage-inventory';\nimport dashboard from 'dashboard/logic/dashboard';\nimport user from 'user/logic/user';\nimport utils from 'utils/logic/utils';\n\n\n\n\n\nimport authValidators from 'auth/validators/action-validators'\nimport contactValidators from 'contact/validators/action-validators'\n\nimport emailNotificationTemplatesValidators from 'email-notification-templates/validators/action-validators'\nimport smsValidators from 'sms/validators/action-validators'\nimport faqValidators from 'faq/validators/action-validators'\n\nimport privilegeTemplatesValidators from 'privilege-templates/validators/action-validators'\nimport registrationValidators from 'registration/validators/action-validators'\n\nimport retailerReportsValidators from 'retailer-reports/validators/action-validators'\nimport adminReportsValidators from 'admin-reports/validators/action-validators'\nimport securityValidators from 'security/validators/action-validators'\n\nimport manageInventoryValidators from 'manage-inventory/validators/action-validators'\nimport dashboardValidators from 'dashboard/validators/action-validators'\nimport userValidators from 'user/validators/action-validators'\nimport utilsValidators from 'utils/validators/action-validators'\n\n\n\n\n\nimport ForbiddenComponent from './components/forbidden/forbidden-component';\nimport { dispatch, checkAccess, checkAccessLazy, checkValidators, checkValidatorsLazy } from 'rw-redux/action-dispatcher';\nimport validators from './validators/action-validators';\nimport appHelpers from './app-helpers';\nimport template from './app.html';\nimport systemUnavailableTemplate from './views/system-unavailable.html';\n\nimport './components/impersonating-bar/impersonating-bar-component';\nimport './components/side-menu/side-menu-component';\nimport './components/home/home-component';\nimport 'utils/datepicker/angular-datepicker';\n\nimport NavbarModule from './components/navbar/navbar-module';\nimport TopMenuModule from './components/top-menu/top-menu-module';\n\nimport { applyMenu } from 'auth/actions/session.actions';\nimport { fetchLotteryContacts } from 'contact/actions/contact.actions';\nimport { fetchNewLabelStatus } from 'documents/actions/fetch-new-label-status.actions';\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\nimport { fetchLotteryTermsDictionary } from 'app/actions/dictionaries/lottery-terms-dictionary.actions';\nimport { setTheme, restoreTheme } from 'app/actions/theme.actions';\nimport { clearRetailerDashboards } from 'retailer-dashboards/actions/retailer-dashboards.actions';\n\n@Inject('appFactory', '$state', 'Responsive')\nclass AppController {\n $onInit() {\n window.addEventListener('unhandledrejection', this.unhandledRejection);\n window.addEventListener('rejectionhandled', this.rejectionHandler);\n }\n\n $onDestroy() {\n window.removeEventListener('unhandledrejection', this.unhandledRejection);\n window.removeEventListener('rejectionhandled', this.rejectionHandler);\n }\n\n unhandledRejection(e) {\n e.preventDefault();\n }\n\n rejectionHandler(e) {\n e.preventDefault();\n }\n}\n\n@Inject(\n '$timeout',\n '$sessionStorage',\n '$state',\n 'RestWrapperService',\n 'gettextCatalog',\n 'ErrorService',\n 'ErrorNotificationService',\n 'AlertService',\n 'Notifications',\n '$filter',\n '$ngRedux',\n 'tmhDynamicLocale',\n)\nclass AppFactory {\n constructor() {\n Object.assign(this, {\n deps: {\n $timeout: this.$timeout,\n $sessionStorage: this.$sessionStorage,\n $state: this.$state,\n $filter: this.$filter,\n restSrv: this.RestWrapperService,\n gettextCatalog: this.gettextCatalog,\n ErrorService: this.ErrorService,\n ErrorNotificationService: this.ErrorNotificationService,\n AlertService: this.AlertService,\n Notifications: this.Notifications,\n config,\n\t\trestApi,\n init: this.init.bind(this),\n initNgServices: this.initNgServices.bind(this),\n checkAndSetMaintenance: appLogic.checkAndSetMaintenance,\n $ngRedux: this.$ngRedux,\n },\n validators,\n uiHelpers: {\n showDialog: this.Notifications.showSimpleDialog.bind(Notifications),\n showComplexDialog: this.Notifications.showComplexDialog.bind(Notifications),\n showAlert: this.Notifications.showAlert.bind(Notifications),\n validateField: appHelpers.validateField.bind(null),\n shouldShowValidation: appHelpers.shouldShowValidation.bind(null),\n printElement: appHelpers.printElement.bind(null),\n saveSession: sessionLogic.saveSession.bind(null, $sessionStorage),\n redirectAfterLogin: appHelpers.redirectAfterLogin.bind(null),\n },\n });\n\n this.validators = _.merge(this.validators, authValidators);\n\t\tthis.validators = _.merge(this.validators, contactValidators);\n\t\t\nthis.validators = _.merge(this.validators, emailNotificationTemplatesValidators);\n\t\tthis.validators = _.merge(this.validators, smsValidators);\n\t\tthis.validators = _.merge(this.validators, faqValidators);\n\t\t\nthis.validators = _.merge(this.validators, privilegeTemplatesValidators);\n\t\tthis.validators = _.merge(this.validators, registrationValidators);\n\t\t\nthis.validators = _.merge(this.validators, retailerReportsValidators);\n\t\tthis.validators = _.merge(this.validators, adminReportsValidators);\n\t\tthis.validators = _.merge(this.validators, securityValidators);\n\t\t\nthis.validators = _.merge(this.validators, manageInventoryValidators);\n\t\tthis.validators = _.merge(this.validators, dashboardValidators);\n\t\tthis.validators = _.merge(this.validators, userValidators);\n\t\tthis.validators = _.merge(this.validators, utilsValidators);\n\t\t\n\n\n\n }\n\n initNgServices() {\n this.deps.ErrorService.initialize(this.deps.config);\n this.deps.ErrorNotificationService.initialize(this.deps.config);\n this.deps.restSrv.HttpService.resetReauthQueue();\n }\n\n initActions() {\n this.actions = {\n app: this.bindActions(appLogic, 'app'),\n };\n\n this.actions['auth'] = this.bindActions(auth, 'auth');\n\t\tthis.actions['contact'] = this.bindActions(contact, 'contact');\n\t\t\nthis.actions['emailNotificationTemplates'] = this.bindActions(emailNotificationTemplates, 'emailNotificationTemplates');\n\t\tthis.actions['sms'] = this.bindActions(sms, 'sms');\n\t\tthis.actions['faq'] = this.bindActions(faq, 'faq');\n\t\t\nthis.actions['privilegeTemplates'] = this.bindActions(privilegeTemplates, 'privilegeTemplates');\n\t\tthis.actions['registration'] = this.bindActions(registration, 'registration');\n\t\t\nthis.actions['retailerReports'] = this.bindActions(retailerReports, 'retailerReports');\n\t\tthis.actions['adminReports'] = this.bindActions(adminReports, 'adminReports');\n\t\tthis.actions['security'] = this.bindActions(security, 'security');\n\t\t\nthis.actions['manageInventory'] = this.bindActions(manageInventory, 'manageInventory');\n\t\tthis.actions['dashboard'] = this.bindActions(dashboard, 'dashboard');\n\t\tthis.actions['user'] = this.bindActions(user, 'user');\n\t\tthis.actions['utils'] = this.bindActions(utils, 'utils');\n\t\t\n\n\n\n }\n\n bindActions(module, moduleName) {\n return Object.keys(module).reduce((reduced, functionName) => {\n if (typeof module[functionName] === 'function') {\n reduced[functionName] = module[functionName].bind(null, this.deps);\n }\n return reduced;\n }, {});\n }\n\n initModel(moduleLogic) {\n return (moduleLogic.initializeModel || (() => this.model))(this.deps, this.model);\n }\n\n initData() {\n return this.dispatch('app.loadDictionaries', true).run();\n }\n\n init() {\n return appLogic\n .loadFeConfig(this.deps)\n .then((newConfig) => {\n this.deps.$ngRedux.dispatch(setTheme());\n this.model = {\n dictionary: {\n statusChangeReasons: {},\n },\n session: {},\n };\n\n this.deps.config = _.merge(this.deps.config, newConfig);\n this.deps.config.ssnLength = _.get('[0]', this.deps.config.ssnRegex.match(/\\d+/));\n\n this.model = this.initModel(auth);\n\t\tthis.model = this.initModel(contact);\n\t\t\nthis.model = this.initModel(emailNotificationTemplates);\n\t\tthis.model = this.initModel(sms);\n\t\tthis.model = this.initModel(faq);\n\t\t\nthis.model = this.initModel(privilegeTemplates);\n\t\tthis.model = this.initModel(registration);\n\t\t\nthis.model = this.initModel(retailerReports);\n\t\tthis.model = this.initModel(adminReports);\n\t\tthis.model = this.initModel(security);\n\t\t\nthis.model = this.initModel(manageInventory);\n\t\tthis.model = this.initModel(dashboard);\n\t\tthis.model = this.initModel(user);\n\t\tthis.model = this.initModel(utils);\n\t\t\n\n\n\n\n this.model = this.initModel(appLogic);\n this.deps.checkAccess = checkAccess.bind(this, this.validators);\n this.deps.checkAccessLazy = checkAccessLazy.bind(this, this.validators);\n this.deps.checkValidatorsLazy = checkValidatorsLazy.bind(this, this.validators);\n\n // cg busy promise\n\n this.busy = Promise.resolve(this.model);\n this.checkValidators = checkValidators.bind(this, this.validators);\n this.checkAccess = checkAccess.bind(this, this.validators);\n this.checkAccessLazy = checkAccessLazy.bind(this, this.validators);\n this.checkValidatorsLazy = checkValidatorsLazy.bind(this, this.validators);\n this.dispatch = dispatch.bind(this, this.deps.$timeout, this.validators);\n this.initNgServices();\n this.initActions();\n\n this.deps.model = this.model;\n dependenciesService.setDeps(this.deps);\n\n // TODO - change second auth.initializeSession method to something more intuitive\n return this.dispatch('auth.initializeSession', true)\n .run(this.deps.$sessionStorage.userSession, {})\n .then(() => this.deps.restSrv.list(undefined, restApi.anonymous.privileges.url, null, null, 'anonymous.privileges'))\n .then((template) => template.privileges.reduce((reduced, privilege) => _.set(privilege, privilege, reduced), {}))\n .then((anonymousPrivileges) => {\n this.anonymousPrivileges = this.deps.anonymousPrivileges = anonymousPrivileges;\n return this.dispatch('auth.updateSession', !this.model.session.loggedIn).run({ privileges: this.anonymousPrivileges });\n })\n .then(() => {\n this.$ngRedux.dispatch(changeLocale(this.model.session.locale));\n if (this.model.session.loggedIn) {\n return Promise.all([\n this.$ngRedux.dispatch(fetchNewLabelStatus()),\n this.$ngRedux.dispatch(fetchUnreadMessagesCount()),\n user.loadLotteryLearningLink(this.deps.restSrv, { model: this.model })\n ]);\n }\n return Promise.resolve();\n })\n .then(() => this.$ngRedux.dispatch(fetchLotteryTermsDictionary()))\n .then(() => this.$ngRedux.dispatch(applyMenu()))\n .then(() => this.$ngRedux.dispatch(fetchLotteryContacts(true)))\n .then(() => this.dispatch('app.loadJurisdictionData', true).run())\n .then(() => this.dispatch('contact.loadDefaultContact', true).run())\n .then(() => this.dispatch('auth.getServerTime', true).run())\n .then(() => this.initData())\n .catch((err) => console.error(err));\n })\n .catch((err) => {\n console.error(err);\n throw new Error(err);\n });\n }\n}\n\nclass AppComponent {\n constructor() {\n this.controller = AppController;\n this.controllerAs = 'appCtrl';\n this.template = template;\n this.bindings = {\n api: '<',\n };\n return this;\n }\n}\n\nconst PASSWORD_RESET_STATE = 'changePasswd';\n\nimport { setCurrentState, setAttemptedRoute, setStoreProfileRetailer, cleartRetailerDashboardType, changeLocale } from 'auth/actions/session.actions';\nimport { fetchRetailerDetails } from 'utils/actions/utils.actions';\n\n\nexport default angular\n .module('app', [\n // vendor modules\n 'ngMessages',\n 'ngMaterial',\n 'ngAria',\n 'ngStorage',\n 'gettext',\n 'ui.router',\n 'ngSanitize',\n 'ngMessages',\n 'ngAnimate',\n 'toastr',\n 'ckeditor',\n 'impersonating-bar',\n 'side-menu',\n NavbarModule.name,\n TopMenuModule.name,\n 'home',\n 'app-errorcodes',\n 'ui.mask',\n '720kb.datepicker',\n 'angular-loading-bar',\n dropdown,\n dialog,\n 'ui.select',\n 'ngRedux',\n 'nvd3',\n 'tmh.dynamicLocale',\n 'auth',\n\t'contact',\n\t'documents',\n\t'email-notification-templates',\n\t'sms',\n\t'faq',\n\t'message',\n\t'privilege-templates',\n\t'registration',\n\t'report-subscriptions',\n\t'retailer-reports',\n\t'admin-reports',\n\t'security',\n\t'store-profiles',\n\t'manage-inventory',\n\t'dashboard',\n\t'user',\n\t'utils',\n\t'terms-preview',\n\t'retailer-dashboards',\n\t'download-report-page',\n\t'app',\n\t\n ])\n .component('app', new AppComponent())\n .component('forbidden', new ForbiddenComponent())\n .factory('appFactory', (AppFactory.$inject || []).concat((...args) => new AppFactory(...args)))\n .run([\n '$rootScope',\n '$sessionStorage',\n '$state',\n 'RwAnalyticsService',\n 'uiMaskConfig',\n '$timeout',\n '$ngRedux',\n '$uibModalStack',\n 'gettextCatalog',\n '$location',\n 'tmhDynamicLocale',\n function($rootScope, $sessionStorage, $state, RwAnalyticsService, uiMaskConfig, $timeout, $ngRedux, $uibModalStack, gettextCatalog, $location, tmhDynamicLocale) {\n function hideMenu() {\n angular.element(document).find('body').removeClass('is-sidenav-hidden');\n }\n function hideModal(event, redirect) {\n const modal = $uibModalStack.getTop();\n if (modal) {\n event.preventDefault();\n modal.key.dismiss();\n redirect = false;\n }\n return redirect;\n }\n function handlePasswordExpired(toState, event) {\n const passwordExpired = $sessionStorage.userSession ? _.get('passwordExpired', $sessionStorage.userSession.tokens.jwt) : false;\n if (passwordExpired !== 'true' && toState.name === 'auth-changePassword') {\n event.preventDefault();\n $state.go('home-view');\n }\n }\n\n $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams, options) {\n const privileges = _.get('privileges', $sessionStorage.userSession);\n const redirectTo = _.get('redirectTo', toState);\n const withoutPerms = _.get('withoutPerms', toState);\n let redirect = !_.get(_.get('name', toState).replace(/(-)/g, '.'), privileges) || redirectTo === PASSWORD_RESET_STATE;\n\n hideMenu();\n redirect = hideModal(event, redirect);\n handlePasswordExpired(toState, event);\n\n if (redirect && !withoutPerms) {\n const notAttemptedRoutes = [\n 'user-logout',\n 'system-unavailable',\n 'permissions-denied',\n 'registration-complete',\n 'registration-secondaryUser',\n 'registration-primary',\n 'registration-chainRegistrationDisabled',\n 'registration-confirmation',\n 'registration-primaryConfirm'\n ];\n if (!notAttemptedRoutes.includes(toState.name)) {\n $ngRedux.dispatch(setAttemptedRoute(toState.name));\n }\n return redirectTo ? $state.go(redirectTo, $state.get(redirectTo).params) && event.preventDefault() : false;\n }\n });\n\n $rootScope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams, options) {\n RwAnalyticsService.sendPageview();\n $ngRedux.dispatch(setCurrentState(toState.name, fromState.name));\n $state.previous = fromState;\n const state = $ngRedux.getState();\n const { session: { locale, pageTitle } } = state;\n const { config: { applicationName } } = state;\n $rootScope.title = pageTitle ? `${applicationName[locale]} - ${pageTitle}` : applicationName[locale];\n\n if ($location.$$search.productTheme) $ngRedux.dispatch(restoreTheme());\n\n });\n\n uiMaskConfig.clearOnBlur = false;\n\n if($location.$$search.missing) gettextCatalog.debug = true;\n },\n ])\n .config([\n '$mdAriaProvider',\n '$compileProvider',\n '$urlRouterProvider',\n '$locationProvider',\n '$stateProvider',\n 'uiMask.ConfigProvider',\n '$httpProvider',\n '$ngReduxProvider',\n '$ariaProvider',\n 'tmhDynamicLocaleProvider',\n function configure($mdAriaProvider, $compileProvider, $urlRouterProvider, $locationProvider, $stateProvider, uiMaskConfigProvider, $httpProvider, $ngReduxProvider, $ariaProvider, tmhDynamicLocaleProvider) {\n $mdAriaProvider.disableWarnings();\n $compileProvider.debugInfoEnabled(location.hostname === 'localhost');\n $compileProvider.aHrefSanitizationWhitelist(/^\\s*(https?|local|data|http|mailto|tel):/);\n $urlRouterProvider.otherwise('/home');\n $locationProvider.html5Mode(false);\n $locationProvider.hashPrefix('');\n uiMaskConfigProvider.allowInvalidValue(true);\n\n $ariaProvider.config({\n ariaInvalid: false\n });\n\n tmhDynamicLocaleProvider.localeLocationPattern('external/angular-i18n/angular-locale_{{locale}}.js');\n\n const middleware = [thunk];\n\n const enhancers = [];\n if (window.__REDUX_DEVTOOLS_EXTENSION__) {\n enhancers.push(window.__REDUX_DEVTOOLS_EXTENSION__());\n }\n\n $ngReduxProvider.createStoreWith(reducers, middleware, enhancers);\n\n $stateProvider\n .state('arw', {\n template: '',\n abstract: true,\n resolve: {\n appApi: [\n 'appFactory',\n '$rootScope',\n '$ngRedux',\n (appFactory, $rootScope, $ngRedux) =>\n appFactory\n .init()\n .then(() => {\n $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams, options) {\n const state = $ngRedux.getState();\n const isStoreProfileSaved = isStoreProfileSelector(state);\n const retailerIdFromSession = getRetailerId(state);\n const isRetailerDashboards = isRetailerDashboardSelector(state);\n const retailerNoFromParams = fromParams.retailerNo;\n const retailerNoToParams = toParams.retailerNo;\n const isRetailerFromStateDifferentThatRetailerFromSession = (retailerNoToParams * 1) !== retailerIdFromSession;\n const isStoreProfile = retailerNoToParams && retailerIdFromSession && isRetailerFromStateDifferentThatRetailerFromSession;\n\n if (isRetailerDashboards && retailerNoFromParams && !retailerNoToParams) {\n $ngRedux.dispatch(clearRetailerDashboards());\n $ngRedux.dispatch(cleartRetailerDashboardType());\n } else if (isStoreProfile) {\n $ngRedux.dispatch(fetchRetailerDetails(retailerNoToParams * 1));\n $ngRedux.dispatch(setStoreProfileRetailer(true));\n } else if (isStoreProfileSaved && retailerNoFromParams) {\n $ngRedux.dispatch(fetchRetailerDetails());\n $ngRedux.dispatch(setStoreProfileRetailer(false));\n }\n });\n\n return {\n impersonatingBar : {\n loginBack: appFactory.dispatch('auth.loginBack', true),\n redirectAfterLogin: appFactory.uiHelpers.redirectAfterLogin.bind(null, appFactory.deps)\n },\n sideMenu: {\n config: appFactory.deps.config,\n loginForm: {\n config: appFactory.deps.config,\n login: appFactory.dispatch('auth.login', true),\n },\n },\n };\n })\n .catch((err) => console.error(err)),\n ],\n },\n })\n .state('permissions-denied', {\n parent: 'arw',\n url: '/forbidden',\n template: '',\n })\n .state('system-unavailable', {\n params: {\n hideMenu: true,\n },\n url: '/system-unavailable',\n template: systemUnavailableTemplate,\n });\n },\n ]);\n\nangular.element(document).ready(() => {\n angular.bootstrap(document.documentElement, ['app'], {\n strictDi: true\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/app-component.js","import appConfig from 'app/app.conf.json';\r\n\r\nexport default appConfig;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lsp-config/lsp-config.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport { evalMeta } from 'utils/grid/grid';\r\n\r\nconst namespace = 'documents';\r\nconst DOCUMENTS_CONTEXT = 'documents';\r\nconst docDateFormat = 'M/D/YYYY';\r\n\r\nexport const SET_CATEGORIES = `${namespace}_SET_CATEGORIES`;\r\nexport const SET_FILES = `${namespace}_SET_FILES`;\r\nexport const SET_TAGS = `${namespace}_SET_TAGS`;\r\nexport const SET_IS_LOADING = `${namespace}_SET_IS_LOADING`;\r\n\r\nconst DEFAULT_MIME_TYPE = 'text/plain';\r\n\r\n/* files */\r\nexport const getDocuments = (parameters) => (dispatch) => {\r\n dispatch({\r\n type: SET_IS_LOADING,\r\n payload: true,\r\n });\r\n\r\n return DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.list.url, parameters).then((result) => {\r\n const documents = dispatch(prepareDocumentsForUI(result.content || []));\r\n\r\n dispatch({\r\n type: SET_FILES,\r\n payload: {\r\n documents,\r\n meta: evalMeta(result),\r\n },\r\n });\r\n });\r\n};\r\n\r\nconst prepareDocumentsForUI = (documentList) => (dispatch, getState) => {\r\n const {\r\n session: { isAdmin },\r\n documents: { categories },\r\n } = getState();\r\n\r\n const mapFileTypeToFileExtension = (fileType) => {\r\n switch (fileType) {\r\n case 'vnd.openxmlformats-officedocument.spreadsheetml.sheet':\r\n return 'xlsx';\r\n case 'vnd.openxmlformats-officedocument.wordprocessingml.document':\r\n return 'doc';\r\n case 'plain':\r\n return 'txt';\r\n default:\r\n return fileType;\r\n }\r\n };\r\n\r\n return documentList.map((document) => {\r\n const category = _.find(categories, { documentTypeId: document.type.documentTypeId });\r\n const mimeType = document.mimeType;\r\n const publishingStartDate = moment\r\n .unix(document.publishingStartDate / 1000)\r\n .utc()\r\n .format(docDateFormat);\r\n const documentNameSplitted = document.name.split('.');\r\n const fileType = mimeType ? mimeType.split('/')[1] : DEFAULT_MIME_TYPE;\r\n const type = `.${documentNameSplitted[documentNameSplitted.length - 1].toLowerCase()}`;\r\n const gridDownloadData = {\r\n id: document.id,\r\n fileName: document.guiName,\r\n title: document.guiName,\r\n customFileName: _.get(document.name.split('.'), '[0]'),\r\n extension: mapFileTypeToFileExtension(fileType),\r\n };\r\n\r\n return {\r\n id: document.id,\r\n title: document.guiName,\r\n categoryId: document.type.documentTypeId,\r\n thumbnail: document.thumbnail,\r\n tags: document.tags ? document.tags : [],\r\n dateTimestamp: document.creationDate,\r\n dateCreated: publishingStartDate || '',\r\n fileName: document.guiName,\r\n name: document.name,\r\n type,\r\n fileType,\r\n category,\r\n locale: document.locale,\r\n publishingStartDate,\r\n publishingEndDate: document.publishingEndDate\r\n ? moment\r\n .unix(document.publishingEndDate / 1000)\r\n .utc()\r\n .format(docDateFormat)\r\n : '',\r\n publishingIsActive: isAdmin ? checkPublishingIsActive(document.publishingStartDate, document.publishingEndDate) : undefined,\r\n gridDownloadData,\r\n };\r\n });\r\n};\r\n\r\nexport const saveDocument = (document) => () => DepsService.restSrv.update(DOCUMENTS_CONTEXT, DepsService.rest.documents.update.url, transformDocumentForUpdate(document), { id: document.id });\r\n\r\nconst transformDocumentForUpdate = (document) => {\r\n const thumbnailSource = _.get(document, 'thumbnailData[0].fileSource');\r\n let thumbnailToSend = thumbnailSource ? thumbnailSource.split(',')[1] : undefined;\r\n if (document.thumbnailData === null) {\r\n thumbnailToSend = '';\r\n }\r\n\r\n return {\r\n id: document.id,\r\n name: document.fileName,\r\n guiName: document.title,\r\n mimeType: document.fileType,\r\n tags: document.tags,\r\n type: {\r\n documentTypeId: document.categoryId,\r\n },\r\n locale: document.locale,\r\n thumbnail: thumbnailToSend,\r\n publishingStartDate: moment.utc(document.publishingStartDate).format('x'),\r\n publishingEndDate: document.publishingEndDate ? moment.utc(document.publishingEndDate).format('x') : undefined,\r\n };\r\n};\r\n\r\nexport const uploadDocument = (document) => () => DepsService.restSrv.create(DOCUMENTS_CONTEXT, DepsService.rest.documents.create.url, transformDocumentForCreation(document));\r\n\r\nconst transformDocumentForCreation = (documentToTransform) => {\r\n const document = Object.assign({}, documentToTransform.formData);\r\n const thumbnailSource = _.get(documentToTransform, 'thumbnailData[0].fileSource');\r\n const fileData = _.get(documentToTransform, 'fileData[0]');\r\n\r\n return {\r\n name: fileData.name || '',\r\n guiName: document.name,\r\n source: fileData.fileSource ? fileData.fileSource.split(',')[1] : '',\r\n tags: document.tags ? document.tags : [],\r\n mimeType: fileData.fileType || DEFAULT_MIME_TYPE,\r\n thumbnail: thumbnailSource ? thumbnailSource.split(',')[1] : '',\r\n type: {\r\n documentTypeId: document.categoryId,\r\n },\r\n locale: document.locale,\r\n publishingStartDate: document.publishingStartDate,\r\n publishingEndDate: document.publishingEndDate ? document.publishingEndDate : undefined,\r\n };\r\n};\r\n\r\nconst checkPublishingIsActive = (publishingStartDate, publishingEndDate) => {\r\n if (!publishingStartDate) return false;\r\n\r\n const startDate = moment.unix(publishingStartDate / 1000);\r\n if (!publishingEndDate) return moment.unix(DepsService.config.serverTime).isAfter(startDate);\r\n\r\n const endDate = moment.unix(publishingEndDate / 1000);\r\n return moment.unix(DepsService.config.serverTime).isBetween(startDate, endDate, 'days', '[]');\r\n};\r\n\r\nexport const removeDocument = (document) => () => DepsService.restSrv.remove(DOCUMENTS_CONTEXT, DepsService.rest.documents.remove.url, { id: document.id }, { data: { name: document.title } });\r\n\r\nexport const downloadDocument = (document) => () => DepsService.restSrv.downloadBlob(DOCUMENTS_CONTEXT, `${DepsService.rest.documents.download.url}/${document.id}`);\r\n\r\n/* categories */\r\nexport const getCategories = () => (dispatch) =>\r\n DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.categories.url, { locale: '*' }).then((categories) => {\r\n dispatch({\r\n type: SET_CATEGORIES,\r\n payload: categories,\r\n });\r\n });\r\n\r\nexport const createCategory = (category) => (dispatch) => DepsService.restSrv.create(DOCUMENTS_CONTEXT, DepsService.rest.documents.category.create.url, category).then(() => dispatch(getCategories()));\r\n\r\nexport const updateCategory = (category) => (dispatch) =>\r\n DepsService.restSrv\r\n .update(DOCUMENTS_CONTEXT, DepsService.rest.documents.category.update.url, category, {\r\n id: category.documentTypeId,\r\n })\r\n .then(() => dispatch(getCategories()));\r\n\r\nexport const removeCategory = (category) => (dispatch) => DepsService.restSrv.remove(DOCUMENTS_CONTEXT, DepsService.rest.documents.category.remove.url, { id: category.documentTypeId }).then(() => dispatch(getCategories()));\r\n\r\n/* tags */\r\nexport const getTags = () => (dispatch) =>\r\n DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.tagsList.url).then((tags) => {\r\n dispatch({\r\n type: SET_TAGS,\r\n payload: tags.tags,\r\n });\r\n });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/documents.actions.js","export default {\r\n FETCH_DASHBOARD_REQUEST: 'FETCH_DASHBOARD_REQUEST',\r\n FETCH_DASHBOARD_SUCCESS: 'FETCH_DASHBOARD_SUCCESS',\r\n FETCH_DASHBOARD_FAILURE: 'FETCH_DASHBOARD_FAILURE',\r\n\r\n SET_DASHBOARD_LAYOUTS: 'SET_DASHBOARD_LAYOUTS',\r\n SET_DASHBOARD_EDIT_MODE: 'SET_DASHBOARD_EDIT_MODE',\r\n SET_DASHBOARD_COPY: 'SET_DASHBOARD_COPY',\r\n SET_DASHBOARD_CURRENT: 'SET_DASHBOARD_CURRENT',\r\n SET_DASHBOARD_WIDGETS_LIST: 'SET_DASHBOARD_WIDGETS_LIST',\r\n\r\n SAVE_DASHBOARD_REQUEST: 'SAVE_DASHBOARD_REQUEST',\r\n SAVE_DASHBOARD_SUCCESS: 'SAVE_DASHBOARD_SUCCESS',\r\n SAVE_DASHBOARD_FAILURE: 'SAVE_DASHBOARD_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/action-types.js","export default {\r\n FETCH_EARNINGS_HISTORY_REQUEST: 'FETCH_EARNINGS_HISTORY_REQUEST',\r\n FETCH_EARNINGS_HISTORY_SUCCESS: 'FETCH_EARNINGS_HISTORY_SUCCESS',\r\n FETCH_EARNINGS_HISTORY_FAILURE: 'FETCH_EARNINGS_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST: 'DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE: 'DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/earnings-history/action-types.js","export default {\r\n FETCH_LICENSE_RENEWAL_REQUEST: 'FETCH_LICENSE_RENEWAL_REQUEST',\r\n FETCH_LICENSE_RENEWAL_SUCCESS: 'FETCH_LICENSE_RENEWAL_SUCCESS',\r\n FETCH_LICENSE_RENEWAL_FAILURE: 'FETCH_LICENSE_RENEWAL_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/license-renewal/action-types.js","export default {\r\n FETCH_LVM_SALES_REQUEST: 'FETCH_LVM_SALES_REQUEST',\r\n FETCH_LVM_SALES_SUCCESS: 'FETCH_LVM_SALES_SUCCESS',\r\n FETCH_LVM_SALES_FAILURE: 'FETCH_LVM_SALES_FAILURE',\r\n\r\n FETCH_LVM_SALES_HISTORY_REQUEST: 'FETCH_LVM_SALES_HISTORY_REQUEST',\r\n FETCH_LVM_SALES_HISTORY_SUCCESS: 'FETCH_LVM_SALES_HISTORY_SUCCESS',\r\n FETCH_LVM_SALES_HISTORY_FAILURE: 'FETCH_LVM_SALES_HISTORY_FAILURE',\r\n\r\n DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST: 'DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST',\r\n DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS: 'DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS',\r\n DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE: 'DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/lvm-sales-history/action-types.js","export default {\r\n FETCH_SITE_FINANCIAL_STATUS_REQUEST: 'FETCH_SITE_FINANCIAL_STATUS_REQUEST',\r\n FETCH_SITE_FINANCIAL_STATUS_SUCCESS: 'FETCH_SITE_FINANCIAL_STATUS_SUCCESS',\r\n FETCH_SITE_FINANCIAL_STATUS_FAILURE: 'FETCH_SITE_FINANCIAL_STATUS_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-financial-status/action-types.js","export default {\r\n FETCH_TRUSTED_DEVICES_REQUEST: 'FETCH_TRUSTED_DEVICES_REQUEST',\r\n FETCH_TRUSTED_DEVICES_SUCCESS: 'FETCH_TRUSTED_DEVICES_SUCCESS',\r\n FETCH_TRUSTED_DEVICES_FAILURE: 'FETCH_TRUSTED_DEVICES_FAILURE',\r\n\r\n DELETE_TRUSTED_DEVICE_REQUEST: 'DELETE_TRUSTED_DEVICE_REQUEST',\r\n DELETE_TRUSTED_DEVICE_SUCCESS: 'DELETE_TRUSTED_DEVICE_SUCCESS',\r\n DELETE_TRUSTED_DEVICE_FAILURE: 'DELETE_TRUSTED_DEVICE_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/trusted-devices.action-types.js","const FETCH_USERS_REQUEST = 'FETCH_USERS_REQUEST';\r\nconst FETCH_USERS_SUCCESS = 'FETCH_USERS_SUCCESS';\r\nconst FETCH_USERS_FAILURE = 'FETCH_USERS_FAILURE';\r\n\r\nconst DOWNLOAD_USERS_REPORT_REQUEST = 'DOWNLOAD_USERS_REPORT_REQUEST';\r\nconst DOWNLOAD_USERS_REPORT_SUCCESS = 'DOWNLOAD_USERS_REPORT_SUCCESS';\r\nconst DOWNLOAD_USERS_REPORT_FAILURE = 'DOWNLOAD_USERS_REPORT_FAILURE';\r\n\r\nexport default {\r\n FETCH_USERS_REQUEST,\r\n FETCH_USERS_FAILURE,\r\n FETCH_USERS_SUCCESS,\r\n DOWNLOAD_USERS_REPORT_REQUEST,\r\n DOWNLOAD_USERS_REPORT_FAILURE,\r\n DOWNLOAD_USERS_REPORT_SUCCESS,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/users.action-types.js","export default {\r\n FETCH_BE_APP_VERSION_REQUEST: 'FETCH_BE_APP_VERSION_REQUEST',\r\n FETCH_BE_APP_VERSION_SUCCESS: 'FETCH_BE_APP_VERSION_SUCCESS',\r\n FETCH_BE_APP_VERSION_FAILURE: 'FETCH_BE_APP_VERSION_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-app-version/actions/app-version.action-types.js","import manageInventoryActions from 'manage-inventory/actions/action-types';\r\nimport subordinateListActions from 'utils/rw-subordinates/actions/action-types';\r\nimport messagesActions from 'message/actions/action-types';\r\nimport sftpActions from 'report-subscriptions/actions/action-types';\r\nimport gameImagesActions from 'app/actions/game-images.actions';\r\nimport bigWinnersActions from 'dashboard/actions/big-winners/action-types';\r\nimport cumulativeWinnersActions from 'dashboard/actions/cumulative-winners/action-types';\r\nimport eftHistoryActions from 'dashboard/actions/eft-history/action-types';\r\nimport linkedRetailersActions from 'user/actions/linked-retailers.action-types';\r\nimport retailerReportsActions from 'retailer-reports/actions/action-types';\r\nimport adminReportsActions from 'admin-reports/actions/action-types';\r\n\r\nexport const createPaginationObject = (pagination) => {\r\n if (!pagination) return {};\r\n\r\n const { totalElements, totalPages, number, size, hasPrevious, hasNext } = pagination;\r\n const calculatePageNumber = (pageNumber) => pageNumber + 1;\r\n\r\n return {\r\n count: totalElements,\r\n pagesCount: totalPages,\r\n page: number,\r\n displayedPage: calculatePageNumber(number),\r\n pageSize: size,\r\n hasPreviousPage: hasPrevious,\r\n hasNextPage: hasNext,\r\n };\r\n};\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case manageInventoryActions.FETCH_GAMES_LIST_SUCCESS:\r\n case manageInventoryActions.FETCH_PACKS_LIST_SUCCESS:\r\n case manageInventoryActions.FETCH_LIABILITIES_SUCCESS:\r\n case manageInventoryActions.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS:\r\n case manageInventoryActions.FETCH_ORDER_HISTORY_SUCCESS:\r\n case subordinateListActions.FETCH_SUBORDINATE_LIST_SUCCESS:\r\n case messagesActions.FETCH_MESSAGES_LIST_SUCCESS:\r\n case messagesActions.FETCH_SENT_MESSAGES_LIST_SUCCESS:\r\n case messagesActions.FETCH_RECIPIENTS_SUCCESS:\r\n case sftpActions.FETCH_SFTP_LIST_SUCCESS:\r\n case gameImagesActions.FETCH_GAME_IMAGES_SUCCESS:\r\n case bigWinnersActions.FETCH_BIG_WINNERS_HISTORY_SUCCESS:\r\n case cumulativeWinnersActions.FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS:\r\n case eftHistoryActions.FETCH_EFT_HISTORY_SUCCESS:\r\n case linkedRetailersActions.FETCH_LINKED_RETAILERS_SUCCESS:\r\n case retailerReportsActions.FETCH_RETAILER_REPORTS_SUCCESS:\r\n case adminReportsActions.FETCH_USER_ACTIVITY_REPORTS_SUCCESS: {\r\n return createPaginationObject(action.pagination);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/pagination/pagination.js","import DepsService from 'services/dependencies';\r\n\r\nconst NAMESPACE = 'terms-page_';\r\nexport const RECEIVE_TERMS = `${NAMESPACE}RECEIVE_TERMS`;\r\nexport const RECEIVE_TERM_BY_ID = `${NAMESPACE}RECEIVE_TERM_BY_ID`;\r\nexport const REQUEST_TERM_BY_ID = `${NAMESPACE}REQUEST_TERM_BY_ID`;\r\nexport const REQUEST_TERMS_HISTORY = `${NAMESPACE}REQUEST_TERMS_HISTORY`;\r\n\r\nconst requestTerms = () => {\r\n return {\r\n type: REQUEST_TERMS_HISTORY,\r\n };\r\n};\r\n\r\nconst requestTermById = () => {\r\n return {\r\n type: REQUEST_TERM_BY_ID,\r\n };\r\n};\r\n\r\nexport const receiveTerms = (payload) => {\r\n return {\r\n type: RECEIVE_TERMS,\r\n list: payload,\r\n };\r\n};\r\n\r\nexport const receiveTermById = (payload) => {\r\n return {\r\n type: RECEIVE_TERM_BY_ID,\r\n selectedTerm: payload,\r\n };\r\n};\r\n\r\nexport const fetchTerms = () => {\r\n return (dispatch) => {\r\n const getAllTermsURL = DepsService.rest.cms.terms.allVersions.url;\r\n const jurisdictionId = DepsService.model.session.jurisdiction;\r\n\r\n dispatch(requestTerms());\r\n return DepsService.restSrv\r\n .get('app', getAllTermsURL, null, { jurisdictionId })\r\n .then((response) => dispatch(receiveTerms(response)));\r\n };\r\n};\r\n\r\nexport const fetchTermByID = (version) => {\r\n return (dispatch) => {\r\n const getTermByIdURL = DepsService.rest.cms.terms.versionDetails.url;\r\n const jurisdictionId = DepsService.model.session.jurisdiction;\r\n\r\n dispatch(requestTermById());\r\n return DepsService.restSrv\r\n .get('app', getTermByIdURL, null, { jurisdictionId, version })\r\n .then((response) => dispatch(receiveTermById(response)));\r\n };\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/terms-preview/actions/terms-preview.actions.js","export default {\r\n DOWNLOAD_REPORTS_PACK_REQUEST: 'DOWNLOAD_REPORTS_PACK_REQUEST',\r\n DOWNLOAD_REPORTS_PACK_SUCCESS: 'DOWNLOAD_REPORTS_PACK_SUCCESS',\r\n DOWNLOAD_REPORTS_PACK_FAILURE: 'DOWNLOAD_REPORTS_PACK_FAILURE',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/download-report-page/actions/action-types.js","import _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\n\r\nfunction canLoginAs(model) {\r\n const role = _.get(model, 'session.role');\r\n return model.user.editAccount.isAccountActive && roles.ADMIN_ROLES.indexOf(role) >= 0;\r\n}\r\n\r\nconst validators = {\r\n 'auth.loginAs': [canLoginAs],\r\n};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/validators/action-validators.js","import _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\n\r\nconst CREATED_STATUS = 'CREATED';\r\nconst ACTIVE_STATUS = 'ACTIVE';\r\n\r\nconst STATUS_SUSPENDED_REASONS = ['SUSPENDED_PASSWORD_EXPIRED', 'SUSPENDED_EXCEEDED_MAX_LOGIN_ATTEMPTS', 'SUSPENDED_EXCEEDED_MAX_ANSWERS_ATTEMPTS', 'RESTRICTED_USER'];\r\n\r\nfunction checkIfNotSuspended(model) {\r\n const statusReason = _.get(model.user.editAccount, 'status.statusReason');\r\n return STATUS_SUSPENDED_REASONS.indexOf(statusReason) === -1;\r\n}\r\n\r\nfunction canUpdateUserStatus(model) {\r\n return !checkIfCreated(model);\r\n}\r\n\r\nfunction shouldProvideRetailerId(model) {\r\n const role = _.get(model, 'session.role');\r\n return role && roles.ADMIN_ROLES.indexOf(role) !== -1;\r\n}\r\n\r\nfunction isModelUserPrimary(model) {\r\n const role = _.get(model.user, 'editAccount.userClass');\r\n return role && roles.PRIMARY_USER_ROLES.indexOf(role) !== -1;\r\n}\r\n\r\nfunction checkIfSelfRegistered(model) {\r\n const { selfRegistered } = model.user.editAccount;\r\n return selfRegistered === true;\r\n}\r\n\r\nfunction checkIfNotActive(model) {\r\n return !checkIfActive(model);\r\n}\r\n\r\nfunction checkIfActive(model) {\r\n return checkIfStatus(model, ACTIVE_STATUS);\r\n}\r\n\r\nfunction checkIfCreated(model) {\r\n return checkIfStatus(model, CREATED_STATUS);\r\n}\r\n\r\nfunction checkIfStatus(model, status) {\r\n return _.get(model.user.editAccount, 'status.status') === status;\r\n}\r\n\r\nfunction canShowRetailerFields(model) {\r\n return !!model.user.editAccount.retailerId;\r\n}\r\n\r\nfunction canUpdatePrivileges(model) {\r\n const role = _.get(model.user, 'editAccount.userClass');\r\n const userId = _.get(model.user, 'editAccount.id');\r\n return (roles.ADMIN_ROLES.indexOf(role) !== -1 || roles.SECONDARY_USER_ROLES.indexOf(role) !== -1) && userId !== model.session.id;\r\n}\r\n\r\nconst validators = {\r\n 'user.shouldProvideRetailerId': [shouldProvideRetailerId],\r\n 'user.canResendActivationEmail': [checkIfCreated],\r\n 'user.canCompleteRegistration': [isModelUserPrimary, checkIfNotActive],\r\n 'user.canChangePrimaryUser': [isModelUserPrimary],\r\n 'user.authenticateUser': [isModelUserPrimary, checkIfCreated, checkIfSelfRegistered],\r\n 'user.canShowRetailerFields': [canShowRetailerFields],\r\n 'user.accountInactive': [checkIfNotActive],\r\n 'user.isUserNotSuspended': [checkIfNotSuspended],\r\n 'user.canUpdateUserStatus': [canUpdateUserStatus],\r\n 'user.canUpdatePrivileges': [canUpdatePrivileges],\r\n};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/validators/action-validators.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'app';\r\nconst FILE_ERROR = 'FILE_ERROR';\r\nconst FILE_RATIO_ERROR = 'FILE_RATIO_ERROR';\r\nconst FILE_EXTENSION_ERROR = 'FILE_EXTENSION_ERROR';\r\nconst FILE_SIZE_EXCEEDED = 'FILE_SIZE_EXCEEDED';\r\nconst ICON_UPDATE_SUCCESS = 'ICON_UPDATE_SUCCESS';\r\nconst ICON_PUBLISH_SUCCESS = 'ICON_PUBLISH_SUCCESS';\r\nconst ICON_DISCARD_SUCCESS = 'ICON_DISCARD_SUCCESS';\r\nconst ICON_UPLOAD_SUCCESS = 'ICON_UPLOAD_SUCCESS';\r\nconst ICON_DELETE_SUCCESS = 'ICON_DELETE_SUCCESS';\r\n\r\nexport const fetchIcons = (config) => {\r\n const { jurisdiction: jurisdictionId, approved } = config;\r\n\r\n const requestParams = approved ? { versionType: 'APPROVED' } : {};\r\n\r\n const url = DepsService.config.secondHandApproval\r\n ? DepsService.rest.cms.icons.get.second.url\r\n : DepsService.rest.cms.icons.get.first.url;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, requestParams, { jurisdictionId });\r\n};\r\n\r\nexport const uploadIcon = (config) => {\r\n const { jurisdiction: jurisdictionId, entries } = config;\r\n\r\n const url = DepsService.config.secondHandApproval\r\n ? DepsService.rest.cms.icons.put.second.url\r\n : DepsService.rest.cms.icons.put.first.url;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, { entries }, { jurisdictionId });\r\n};\r\n\r\nexport const discardIcons = (config) => {\r\n const { jurisdiction: jurisdictionId } = config;\r\n\r\n const { url } = DepsService.rest.cms.icons.discard;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, null, { jurisdictionId });\r\n};\r\n\r\nexport const errors = [\r\n { code: FILE_ERROR, text: () => DepsService.gettextCatalog.getString('Something went wrong during file processing. Please try again or change the file.') },\r\n { code: FILE_SIZE_EXCEEDED, text: () => DepsService.gettextCatalog.getString('File size exceeded. Max size 300 KB') },\r\n { code: FILE_EXTENSION_ERROR, text: () => DepsService.gettextCatalog.getString('File extension is invalid') },\r\n { code: FILE_RATIO_ERROR, text: () => DepsService.gettextCatalog.getString('Image width must be larger than its height') },\r\n];\r\n\r\nexport const notifications = [\r\n { code: ICON_UPDATE_SUCCESS, text: () => DepsService.gettextCatalog.getString('Changes have been submitted for approval') },\r\n { code: ICON_PUBLISH_SUCCESS, text: () => DepsService.gettextCatalog.getString('Changes have been published') },\r\n { code: ICON_DISCARD_SUCCESS, text: () => DepsService.gettextCatalog.getString('Changes have been discarded') },\r\n { code: ICON_UPLOAD_SUCCESS, text: () => DepsService.gettextCatalog.getString('Icon has been uploaded') },\r\n { code: ICON_DELETE_SUCCESS, text: () => DepsService.gettextCatalog.getString('Icon has been deleted') },\r\n];\r\n\r\nexport const codes = {\r\n FILE_ERROR,\r\n FILE_SIZE_EXCEEDED,\r\n FILE_EXTENSION_ERROR,\r\n FILE_RATIO_ERROR,\r\n ICON_UPDATE_SUCCESS,\r\n ICON_PUBLISH_SUCCESS,\r\n ICON_DISCARD_SUCCESS,\r\n ICON_UPLOAD_SUCCESS,\r\n ICON_DELETE_SUCCESS,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/manage-icons.api.js","import * as api from '../resources/media-templates.api';\r\n\r\nconst PERCENT_MULTIPLIER = 100;\r\n\r\nconst FETCH_MEDIA_TEMPLATE_REQUEST = 'FETCH_MEDIA_TEMPLATE_REQUEST';\r\nconst FETCH_MEDIA_TEMPLATE_SUCCESS = 'FETCH_MEDIA_TEMPLATE_SUCCESS';\r\nconst FETCH_MEDIA_TEMPLATE_FAILURE = 'FETCH_MEDIA_TEMPLATE_FAILURE';\r\nconst FETCH_FONTS_REQUEST = 'FETCH_FONTS_REQUEST';\r\nconst FETCH_FONTS_SUCCESS = 'FETCH_FONTS_SUCCESS';\r\nconst FETCH_FONTS_FAILURE = 'FETCH_FONTS_FAILURE';\r\nconst UPDATE_MEDIA_TEMPLATE_REQUEST = 'UPDATE_MEDIA_TEMPLATE_REQUEST';\r\nconst UPDATE_MEDIA_TEMPLATE_SUCCESS = 'UPDATE_MEDIA_TEMPLATE_SUCCESS';\r\nconst UPDATE_MEDIA_TEMPLATE_FAILURE = 'UPDATE_MEDIA_TEMPLATE_FAILURE';\r\nconst PREVIEW_MEDIA_TEMPLATE_REQUEST = 'PREVIEW_MEDIA_TEMPLATE_REQUEST';\r\nconst PREVIEW_MEDIA_TEMPLATE_SUCCESS = 'PREVIEW_MEDIA_TEMPLATE_SUCCESS';\r\nconst PREVIEW_MEDIA_TEMPLATE_FAILURE = 'PREVIEW_MEDIA_TEMPLATE_FAILURE';\r\n\r\nexport const fetchMediaTemplateRequest = () => ({\r\n type: FETCH_MEDIA_TEMPLATE_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchMediaTemplateSuccess = (entries) => ({\r\n type: FETCH_MEDIA_TEMPLATE_SUCCESS,\r\n isLoading: false,\r\n entries,\r\n});\r\n\r\nexport const fetchMediaTemplateFailure = () => ({\r\n type: FETCH_MEDIA_TEMPLATE_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchMediaTemplate = (posterName) => async (dispatch) => {\r\n try {\r\n dispatch(fetchMediaTemplateRequest());\r\n const entries = await api.fetchMediaTemplate(posterName);\r\n transformEntriesForUI(entries);\r\n dispatch(fetchMediaTemplateSuccess(entries));\r\n } catch (error) {\r\n console.error('FETCH_MEDIA_TEMPLATE', error);\r\n dispatch(fetchMediaTemplateFailure());\r\n }\r\n};\r\n\r\nexport const fetchFontsRequest = () => ({\r\n type: FETCH_FONTS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchFontsSuccess = (fonts) => ({\r\n type: FETCH_FONTS_SUCCESS,\r\n isLoading: false,\r\n fonts,\r\n});\r\n\r\nexport const fetchFontsFailure = () => ({\r\n type: FETCH_FONTS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchFonts = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchFontsRequest());\r\n const fonts = await api.fetchFonts();\r\n dispatch(fetchFontsSuccess(fonts));\r\n } catch (error) {\r\n console.error('FETCH_FONTS', error);\r\n dispatch(fetchFontsFailure());\r\n }\r\n};\r\n\r\nexport const transformEntriesForUI = (entries) => entries.map((entry) => transformEntryForUI(entry));\r\n\r\nconst transformEntryForUI = (entry) => {\r\n entry.scale *= PERCENT_MULTIPLIER;\r\n return entry;\r\n};\r\n\r\nexport const updateMediaTemplateRequest = () => ({\r\n type: UPDATE_MEDIA_TEMPLATE_REQUEST,\r\n isSaving: true,\r\n});\r\n\r\nexport const updateMediaTemplateSuccess = () => ({\r\n type: UPDATE_MEDIA_TEMPLATE_SUCCESS,\r\n isSaving: false,\r\n error: false,\r\n});\r\n\r\nexport const updateMediaTemplateFailure = () => ({\r\n type: UPDATE_MEDIA_TEMPLATE_FAILURE,\r\n isSaving: false,\r\n error: true,\r\n});\r\n\r\nexport const updateMediaTemplate = (entries) => async (dispatch) => {\r\n try {\r\n dispatch(updateMediaTemplateRequest());\r\n transformEntriesForSave(entries);\r\n await api.updateMediaTemplate(entries);\r\n dispatch(updateMediaTemplateSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_MEDIA_TEMPLATE', error);\r\n dispatch(updateMediaTemplateFailure());\r\n }\r\n};\r\n\r\nexport const previewMediaTemplateRequest = () => ({\r\n type: PREVIEW_MEDIA_TEMPLATE_REQUEST,\r\n isPreviewing: true,\r\n});\r\n\r\nexport const previewMediaTemplateSuccess = () => ({\r\n type: PREVIEW_MEDIA_TEMPLATE_SUCCESS,\r\n isPreviewing: false,\r\n error: false,\r\n});\r\n\r\nexport const previewMediaTemplateFailure = () => ({\r\n type: PREVIEW_MEDIA_TEMPLATE_FAILURE,\r\n isPreviewing: false,\r\n error: true,\r\n});\r\n\r\nexport const previewMediaTemplate = (posterConfig, posterParams) => async (dispatch) => {\r\n try {\r\n dispatch(previewMediaTemplateRequest());\r\n transformEntryForSave(posterConfig);\r\n const previewData = {\r\n posterConfig,\r\n posterParams,\r\n };\r\n const data = await api.previewMediaTemplate(previewData);\r\n\r\n const file = new Blob([data], { type: 'application/pdf' });\r\n window.saveAs(file, 'preview.pdf');\r\n\r\n dispatch(previewMediaTemplateSuccess());\r\n } catch (error) {\r\n console.error('PREVIEW_MEDIA_TEMPLATE', error);\r\n dispatch(previewMediaTemplateFailure());\r\n }\r\n};\r\n\r\nexport const transformEntriesForSave = (entries) => entries.map((entry) => transformEntryForSave(entry));\r\n\r\nconst transformEntryForSave = (entry) => {\r\n entry.scale /= PERCENT_MULTIPLIER;\r\n if (entry.image && entry.image.length > 0) {\r\n const image = entry.image.pop();\r\n if (image.fileSource) {\r\n entry.imageFile = image.fileSource;\r\n entry.imageUrl = null;\r\n }\r\n } else {\r\n entry.imageFile = null;\r\n entry.imageUrl = null;\r\n }\r\n delete entry.image;\r\n return entry;\r\n};\r\n\r\nexport default {\r\n FETCH_MEDIA_TEMPLATE_REQUEST,\r\n FETCH_MEDIA_TEMPLATE_SUCCESS,\r\n FETCH_MEDIA_TEMPLATE_FAILURE,\r\n FETCH_FONTS_REQUEST,\r\n FETCH_FONTS_SUCCESS,\r\n FETCH_FONTS_FAILURE,\r\n UPDATE_MEDIA_TEMPLATE_REQUEST,\r\n UPDATE_MEDIA_TEMPLATE_SUCCESS,\r\n UPDATE_MEDIA_TEMPLATE_FAILURE,\r\n PREVIEW_MEDIA_TEMPLATE_REQUEST,\r\n PREVIEW_MEDIA_TEMPLATE_SUCCESS,\r\n PREVIEW_MEDIA_TEMPLATE_FAILURE,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/media-templates.actions.js","import angular from 'angular';\r\nimport AuthRoutingModule from './auth-routing-module';\r\nimport ResetAccountPasswordModule from './components/reset-account-password/reset-account-password-module';\r\nimport ForgotPasswordModule from './components/forgot-password/forgot-password-module';\r\nimport TwoFactorModule from './components/two-factor/two-factor-module';\r\nimport './config/errorcodes.conf';\r\nimport './components/forgot-username/forgot-username-component';\r\nimport './components/change-password/change-password-component';\r\nimport './components/login-form/login-form-component';\r\n\r\nexport default angular.module('auth', [\r\n AuthRoutingModule.name,\r\n ResetAccountPasswordModule.name,\r\n ForgotPasswordModule.name,\r\n TwoFactorModule.name,\r\n 'auth-errorcodes',\r\n 'forgot-password',\r\n 'forgot-username',\r\n 'security',\r\n 'change-password',\r\n 'user',\r\n 'login-form',\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/auth-module.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'forgotPassword';\r\n\r\nconst fetchSecurityQuestionsByUserName = async (username, captchaToken) => {\r\n const { url } = DepsService.rest.auth.securityQuestions;\r\n const queryParams = { username, captchaToken };\r\n const urlParams = {};\r\n\r\n const { questions } = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n\r\n return questions;\r\n};\r\n\r\nconst resetPassword = async (data) => {\r\n const { url } = DepsService.rest.auth.resetPassword;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, data);\r\n};\r\n\r\nfunction changePassword(newPassword, refreshToken) {\r\n const { url } = DepsService.rest.auth.changePassword;\r\n const requestBody = {\r\n newPassword,\r\n refreshToken,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, requestBody, urlParams);\r\n}\r\n\r\nexport default {\r\n resetPassword,\r\n fetchSecurityQuestionsByUserName,\r\n changePassword,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/resources/forgot-password.api.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'twoFactor';\r\n\r\nexport const fetchTwoFactorSetup = () => {\r\n const { url } = DepsService.rest.auth.twoFactor.setup;\r\n\r\n return DepsService.restSrv.get(CONTEXT, url);\r\n};\r\n\r\nexport const confirmTwoFactorCode = (queryParams) => {\r\n const { url } = DepsService.rest.auth.twoFactor.confirm;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/resources/two-factor.api.js","module.exports = \"
\\r\\n

{{$ctrl.title}}

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/views/alert-modal.html\n// module id = 542\n// module chunks = 0","import * as api from '../resources/documents.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchNewLabelStatusRequest = () => ({\r\n type: actionTypes.FETCH_NEW_LABEL_STATUS_REQUEST,\r\n});\r\n\r\nexport const fetchNewLabelStatusSuccess = (status) => ({\r\n type: actionTypes.FETCH_NEW_LABEL_STATUS_SUCCESS,\r\n status,\r\n});\r\n\r\nexport const fetchNewLabelStatusFailure = () => ({\r\n type: actionTypes.FETCH_NEW_LABEL_STATUS_FAILURE,\r\n});\r\n\r\nexport const fetchNewLabelStatus = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchNewLabelStatusRequest());\r\n\r\n const status = await api.fetchNewLabelStatus();\r\n dispatch(fetchNewLabelStatusSuccess(status));\r\n } catch (error) {\r\n console.error('FETCH_NEW_LABEL_STATUS', error);\r\n dispatch(fetchNewLabelStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/fetch-new-label-status.actions.js","import uniqBy from 'lodash/uniqBy';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\n\r\nfunction saveContact(groups, newContact, exists = true, categoryChanged = false) {\r\n if (categoryChanged) {\r\n exists = false;\r\n }\r\n const newGroups = groups.map((category) => {\r\n category.entries = (\r\n categoryChanged\r\n ? category.entries.filter((contact) => !!newContact.id && contact.id !== newContact.id)\r\n : category.entries.map((contact) => (!!newContact.id && contact.id === newContact.id ? newContact : contact))\r\n ).concat(!exists && category.name === newContact.fields[Object.keys(newContact.fields)[0]].category ? [newContact] : []);\r\n return category;\r\n });\r\n return newGroups;\r\n}\r\n\r\nfunction removeContact(groups, removedContact, removedIndex) {\r\n return groups.map((category) => {\r\n category.entries = category.entries.filter(\r\n (contact, index) => (!!removedContact.id && contact.id !== removedContact.id) || removedIndex !== index\r\n );\r\n return category;\r\n });\r\n}\r\n\r\nfunction removeCategory(groups, removedCategory) {\r\n return groups.filter((category) => category.name !== removedCategory.name);\r\n}\r\n\r\nfunction saveCategory(groups, newCategory, oldCategoryName) {\r\n return uniqBy(\r\n groups\r\n .map((category) => {\r\n if (oldCategoryName === category.name) {\r\n category = newCategory;\r\n category.entries = category.entries.map((entry) => {\r\n entry.fields.category = category.name;\r\n return entry;\r\n });\r\n }\r\n return category;\r\n })\r\n .concat(\r\n !oldCategoryName\r\n ? [\r\n {\r\n name: Math.floor(Date.now() / 1000).toString(),\r\n fields: cloneDeep(newCategory.fields),\r\n entries: [],\r\n properties: {\r\n editable: true,\r\n },\r\n },\r\n ]\r\n : []\r\n ),\r\n 'name'\r\n );\r\n}\r\n\r\nexport default {\r\n saveContact,\r\n saveCategory,\r\n removeCategory,\r\n removeContact,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/helpers/contact-helpers.js","import _ from 'lodash';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'appFactory', '$timeout', 'Notifications', 'gettextCatalog')\r\nclass EditCategoryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.language = this.language || this.selectedLanguage || this.locale;\r\n if (_.get(this, 'category.name')) {\r\n this.oldCategoryName = this.category.name;\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n if (this.verifyOtherLanguages()) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n return;\r\n }\r\n this.confirm({ category: this.category, oldCategoryName: this.oldCategoryName });\r\n }\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.language = locale;\r\n }\r\n\r\n verifyOtherLanguages() {\r\n let otherLanguageError = false;\r\n this.locales.forEach((locale) => {\r\n if (!_.get(this, `category.fields[${locale.code}].description`)) {\r\n otherLanguageError = true;\r\n }\r\n });\r\n return otherLanguageError;\r\n }\r\n}\r\n\r\nexport default EditCategoryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog-controller.js","module.exports = \"
\\r\\n

\\r\\n {{ $ctrl.title }}\\r\\n 1\\\" />\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category name required\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/manage-contact/edit-category-dialog/edit-category-dialog.html\n// module id = 549\n// module chunks = 0","import _ from 'lodash';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nfunction remove(array, index) {\r\n array.splice(index, 1);\r\n return array;\r\n}\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { phoneExtRegex, phoneMask, phoneLength, locales } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n phoneExtRegex,\r\n phoneMask,\r\n phoneLength,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'appFactory', '$timeout', 'Notifications', 'gettextCatalog')\r\nclass EditContactController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.language = this.language || this.selectedLanguage || this.locale;\r\n this.categoryChanged = false;\r\n this.oldCategory = this.contact.fields[this.language].category;\r\n this.setDefaultTemporaryPhone();\r\n this.setDefaultTemporaryEmail();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n setDefaultTemporaryPhone() {\r\n this.temporaryPhone = {\r\n phone: '',\r\n ext: '',\r\n };\r\n this.temporaryPhoneAddClicked = false;\r\n }\r\n\r\n setDefaultTemporaryEmail() {\r\n this.temporaryEmail = {\r\n email: '',\r\n };\r\n this.temporaryEmailAddClicked = false;\r\n }\r\n\r\n onCategoryChange(newCategory) {\r\n this.categoryChanged = this.oldCategory !== newCategory;\r\n }\r\n\r\n addPhone() {\r\n if (this.temporaryPhone.phone === '') {\r\n return;\r\n }\r\n if (!_.isEmpty(this.temporaryPhoneForm.$error)) {\r\n this.temporaryPhoneAddClicked = true;\r\n return;\r\n }\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].phone = this.contact.fields[locale.code].phone.concat(this.temporaryPhone);\r\n });\r\n this.setDefaultTemporaryPhone();\r\n }\r\n\r\n removePhone(index) {\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].phone = remove(this.contact.fields[locale.code].phone, index);\r\n });\r\n }\r\n\r\n addEmail() {\r\n if (this.temporaryEmail.email === '') {\r\n return;\r\n }\r\n if (!_.isEmpty(this.temporaryEmailForm.$error)) {\r\n this.temporaryEmailAddClicked = true;\r\n return;\r\n }\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].email = this.contact.fields[locale.code].email.concat(this.temporaryEmail);\r\n });\r\n this.setDefaultTemporaryEmail();\r\n }\r\n\r\n removeEmail(index) {\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].email = remove(this.contact.fields[locale.code].email, index);\r\n });\r\n }\r\n\r\n submit() {\r\n this.temporaryPhoneAddClicked = true;\r\n this.temporaryEmailAddClicked = true;\r\n\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n if (this.verifyOtherLanguages()) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n return;\r\n }\r\n this.cleanContactAndEmail();\r\n this.confirm({ contact: this.contact, categoryChanged: this.categoryChanged });\r\n }\r\n }\r\n\r\n cleanContactAndEmail() {\r\n this.locales.forEach((locale) => {\r\n this.contact.fields[locale.code].phone = this.contact.fields[locale.code].phone.filter(\r\n (phone) => phone.phone !== '' || phone.ext !== ''\r\n );\r\n\r\n this.contact.fields[locale.code].email = this.contact.fields[locale.code].email.filter((email) => email.email !== '');\r\n });\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.language = locale;\r\n }\r\n\r\n verifyOtherLanguages() {\r\n let otherLanguageError = false;\r\n this.locales.forEach((locale) => {\r\n if (!_.get(this, `contact.fields[${locale.code}].category`) || !_.get(this, `contact.fields[${locale.code}].name`)) {\r\n otherLanguageError = true;\r\n }\r\n });\r\n return otherLanguageError;\r\n }\r\n}\r\n\r\nexport default EditContactController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog-controller.js","module.exports = \"
\\r\\n

\\r\\n {{ $ctrl.title }}\\r\\n 1\\\" />\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Category\\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{ category.fields[$ctrl.language].description }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select category.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter name/title.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide {{ $ctrl.phoneLength }}-digit phone number.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide correct phone extension.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide {{ $ctrl.phoneLength }}-digit phone number.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please provide correct phone extension.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter the email address.\\r\\n
\\r\\n
Email format is incorrect.\\r\\n
\\r\\n
Email address is too long.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter the email address.\\r\\n
\\r\\n
Email format is incorrect.\\r\\n
\\r\\n
Email address is too long.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter valid google maps coordinates\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/manage-contact/edit-contact-dialog/edit-contact-dialog.html\n// module id = 551\n// module chunks = 0","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport StringMask from 'string-mask';\r\nimport get from 'lodash/get';\r\nimport set from 'lodash/set';\r\n\r\nconst LOTTERY_CONTACT_CONTEXT = 'contact';\r\nconst INQUIRY_CONTACT_CONTEXT = 'inquiryContacts';\r\n\r\nconst DRAFT = 'DRAFT';\r\nconst DEFAULT_CONTACT = {\r\n phone: '',\r\n ext: '',\r\n};\r\n\r\nconst contactFields2Object = (contactList) => {\r\n // eslint-disable-next-line no-param-reassign\r\n contactList.groups = contactList.groups.map((group) => {\r\n // eslint-disable-next-line no-param-reassign\r\n group.entries = group.entries.map((entry) => set(entry, 'fields', appHelpers.getFieldsFromEntry(entry)));\r\n return group;\r\n });\r\n return contactList;\r\n};\r\n\r\nconst contactFields2Array = (contactList) => {\r\n // eslint-disable-next-line no-param-reassign\r\n contactList.groups = contactList.groups.map((group) => {\r\n // eslint-disable-next-line no-param-reassign\r\n group.entries = group.entries.map((entry) => set(entry, 'fields', appHelpers.setFieldsToEntry(entry.fields)));\r\n return group;\r\n });\r\n return contactList;\r\n};\r\n\r\nconst extractDefaultContactPhone = (contactList) => {\r\n const formatter = new StringMask(DepsService.config.phoneMaskExt);\r\n const phone = get(contactList, 'properties.phone', DEFAULT_CONTACT.phone);\r\n const ext = get(contactList, 'properties.ext', DEFAULT_CONTACT.ext);\r\n return ext ? `${formatter.apply(phone)} (${ext})` : formatter.apply(phone);\r\n};\r\n\r\nconst getLotteryContactsUrl = (home, secondHandApproval) => {\r\n if (!home && secondHandApproval) return DepsService.rest.cms.contacts.second.url;\r\n return DepsService.rest.cms.contacts.first.url;\r\n};\r\n\r\nexport const fetchLotteryContacts = async ({ home, secondHandApproval, jurisdictionId }) => {\r\n const url = getLotteryContactsUrl(home, secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n const path = 'cms.contacts';\r\n\r\n const response = await DepsService.restSrv.list(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams, path);\r\n const contact = {\r\n draft: response.versionType === DRAFT,\r\n contactList: contactFields2Object(response),\r\n defaultContactPhone: extractDefaultContactPhone(response),\r\n };\r\n return contact;\r\n};\r\n\r\nexport const discardLotteryContactsChanges = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.contact.discard;\r\n const queryParams = {};\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.update(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n return response;\r\n};\r\n\r\nexport const publishLotteryContactsChanges = async ({ secondHandApproval, jurisdictionId, contactList }) => {\r\n const url = getLotteryContactsUrl(false, secondHandApproval);\r\n const queryParams = contactFields2Array(contactList);\r\n const urlParams = { jurisdictionId };\r\n\r\n const response = await DepsService.restSrv.update(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n return response;\r\n};\r\n\r\nexport const fetchInquiryContacts = async (queryParams) => {\r\n const { url } = DepsService.rest.contact.inquiryContacts;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(INQUIRY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateInquiryContact = async (queryParams, urlParams) => {\r\n const { url } = DepsService.rest.contact.inquiryContact.email;\r\n\r\n return DepsService.restSrv.update(INQUIRY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const sendContact = async (contactUsModel, isLoggedIn) => {\r\n if (isLoggedIn) {\r\n const { url } = DepsService.rest.contact.send;\r\n const { ...queryParams } = contactUsModel;\r\n\r\n return DepsService.restSrv.create(LOTTERY_CONTACT_CONTEXT, url, queryParams);\r\n }\r\n else { \r\n const { url } = DepsService.rest.contact.sendAnonymous;\r\n const { captchaToken, ...queryParams } = contactUsModel;\r\n const urlParams = captchaToken ? { captchaToken } : {};\r\n\r\n return DepsService.restSrv.create(LOTTERY_CONTACT_CONTEXT, url, queryParams, urlParams);\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/resources/contact.api.js","export default {\r\n LOTTERY_CONTACT_INFO: 'LOTTERY_CONTACT_INFO',\r\n CONTACT_THE_LOTTERY: 'CONTACT_THE_LOTTERY',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-us/tabs.js","import _ from 'lodash';\r\nimport template from './email-notification-template-update.html';\r\n\r\nconst UNLIMITED = -1;\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass EmailNotificationsTemplateUpdateController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.formModel = null;\r\n this.loaded = false;\r\n }\r\n\r\n $onInit(templatesKey = 'template') {\r\n this.onLanguageSelect(this.locale);\r\n this.validationRules = this.api.config.validationRules.emailNotificationTemplate;\r\n this.templateId = parseInt(this.$state.params.templateId, 10);\r\n this.templateName = this.$state.params.templateName;\r\n if (this.templateId) {\r\n this.api.fetchTemplate.run(this.templateId).then((model) => {\r\n this.formModel = _.clone(model.notificationTemplates[templatesKey][this.templateId] || null);\r\n this.loaded = true;\r\n });\r\n }\r\n }\r\n\r\n $postLink() {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form);\r\n }\r\n\r\n submitForm() {\r\n this.api.validateForm.run(this.namespace, this.moduleName).then(() => {\r\n this.api.updateTemplate\r\n .run(this.templateId, this.formModel)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Template saved successfully')))\r\n .then(() =>\r\n this.$state.go('emailNotificationsTemplates-view', {\r\n tabId: this.activeTabId,\r\n skipDirtyForms: true,\r\n })\r\n );\r\n });\r\n }\r\n\r\n prepareOptions() {\r\n return {\r\n ...this.api.config.ckeditor,\r\n extraPlugins: 'autogrow,emailVariables,wordcount,notification',\r\n emailVariables: this.formModel.params,\r\n wordcount: {\r\n showParagraphs: false,\r\n showWordCount: false,\r\n showCharCount: true,\r\n countSpacesAsChars: true,\r\n countHTML: true,\r\n maxWordCount: UNLIMITED,\r\n maxCharCount: this.api.config.validationRules.emailNotificationTemplate.body.length,\r\n },\r\n };\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport { EmailNotificationsTemplateUpdateController };\r\n\r\nexport default class EmailNotificationsTemplateUpdateComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EmailNotificationsTemplateUpdateController;\r\n this.bindings = {\r\n appCtrl: '<',\r\n model: '<',\r\n namespace: '@',\r\n moduleName: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/update/email-notification-template-update-component.js","import template from './tab-content.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass TabContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n // TODO: fix language select\r\n }\r\n}\r\n\r\nexport default class TabContentComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = TabContentController;\r\n this.bindings = {\r\n templates: '<',\r\n loaded: '<',\r\n model: '<',\r\n api: '<',\r\n namespace: '<',\r\n moduleName: '@',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content-component.js","import template from './tab-header.html';\r\n\r\nexport default class TabHeaderComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = () => {};\r\n this.bindings = {\r\n isActive: '<',\r\n onSelect: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header-component.js","import _ from 'lodash';\r\nimport template from './template.html';\r\n\r\nclass EditController {\r\n onChange() {\r\n this.smsTemplate = this.smsTypes[this.multilangLocale].filter((type) => this.smsType === type.smsTypeId);\r\n\r\n this.onUpdate({\r\n smsEnabled: this.smsEnabled,\r\n smsType: this.smsType,\r\n smsTemplate: _.get(this.smsTemplate, '[0].smsTemplateId'),\r\n });\r\n }\r\n\r\n isChecked(smsType, index) {\r\n return smsType === this.smsType ? true : index === 0;\r\n }\r\n}\r\n\r\nexport default class EditComponent {\r\n constructor() {\r\n this.controller = EditController;\r\n this.template = template;\r\n this.bindings = {\r\n multilangLocale: '<',\r\n smsTypes: '<',\r\n smsEnabled: '<',\r\n smsType: '<',\r\n model: '<',\r\n availableLanguages: '<',\r\n onUpdate: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/component.js","module.exports = \"
\\r\\n

\\r\\n {{$ctrl.title}}\\r\\n 1\\\" />\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category name required\\r\\n
\\r\\n
\\r\\n Category name could not exceed 255 characters\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-category-dialog/faq-category-dialog-template.html\n// module id = 563\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n return {\r\n locale,\r\n locales,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'appFactory', '$timeout')\r\nclass FaqCategoryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n this.$timeout(() => {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form, !(this.category && this.category.id));\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n this.confirm(this.category);\r\n }\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.appFactory.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport default FaqCategoryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-category-dialog/faq-category-dialog-controller.js","module.exports = \"
\\r\\n

\\r\\n {{$ctrl.title}}\\r\\n 1\\\">\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Question as you want it to appear in the FAQ.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Category*\\r\\n \\r\\n \\r\\n {{option.faqCategoryTranslationsDto[$ctrl.appFactory.model.faq.faqEntry.language].name}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select Category.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Visibility*\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select Visibility.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n Please enter an Answer.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-template.html\n// module id = 565\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n\r\n return {\r\n locale,\r\n locales,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'appFactory', '$timeout')\r\nclass FaqEntryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n this.$timeout(() => {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form, !(this.entry && this.entry.id));\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n prepareOptions() {\r\n return { ...this.api.config.ckeditor, ...this.api.config.faq.ckeditor };\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n if (this.form.$valid) {\r\n this.saveEntry.run(this.entry).then(() => this.confirm());\r\n }\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.appFactory.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport default FaqEntryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-entry-dialog/faq-entry-dialog-controller.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nfunction getShortenMessage(message) {\r\n const { config } = DepsService.$ngRedux.getState();\r\n const { messageMaxPreviewTextLength } = config;\r\n const messageText = appHelpers.trimHtml(message);\r\n\r\n if (messageText.length > messageMaxPreviewTextLength) {\r\n return `${messageText.substr(0, messageMaxPreviewTextLength)}...`;\r\n }\r\n return messageText;\r\n}\r\n\r\nexport default {\r\n getShortenMessage,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-helpers.js","import isEmpty from 'lodash/isEmpty';\r\nimport get from 'lodash/get';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchLotteryContacts, fetchInquiryContacts } from 'contact/actions/contact.actions';\r\nimport template from './create-message.html';\r\nimport * as api from '../../resources/message.api';\r\n\r\nconst DIRTY_FORM = 'createMessage';\r\nconst SELECTED_RETAILERS = 'SelectedRetailers';\r\nconst UNTRACKED = 'Untracked';\r\nexport const SELECTED_USERS = 'SelectedUsers';\r\n\r\nconst mapStateToThis = ({ session, config, contact }) => {\r\n const { locale, emailAddress } = session;\r\n const { recipientCategories, ckeditor } = config;\r\n const ckeditorCreateMessage = {\r\n extraPlugins: 'wordcount',\r\n wordcount: {\r\n showParagraphs: false,\r\n showWordCount: false,\r\n showCharCount: true,\r\n countSpacesAsChars: true,\r\n countHTML: true,\r\n maxCharCount: 1024,\r\n },\r\n };\r\n const ckeditorConfig = { ...ckeditor, ...ckeditorCreateMessage };\r\n\r\n return {\r\n locale,\r\n emailAddress,\r\n recipientCategories: recipientCategories.filter((recipientCategory) => recipientCategory.categoryCode !== UNTRACKED),\r\n ckeditorConfig,\r\n contact,\r\n };\r\n};\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n checkAccess,\r\n fetchLotteryContacts,\r\n fetchInquiryContacts,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications', 'messageDefinitionService')\r\nclass CreateMessageController {\r\n constructor() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.canCreateMessage = this.checkAccess('message.create');\r\n this.canCreateMessageLimitToRetailers = this.checkAccess('message.create.limitToRetailers');\r\n this.newMessageModel = {\r\n replyEmailAddress: this.emailAddress,\r\n recipients: [],\r\n retailerIds: [],\r\n allowReply: false,\r\n };\r\n await this.fetchContacts();\r\n this.setReplyEmailList();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async fetchContacts() {\r\n await Promise.all([this.fetchLotteryContacts(), this.fetchInquiryContacts()]);\r\n }\r\n\r\n setReplyEmailList() {\r\n const contactsEmailList = this.getEmailListFromContacts();\r\n contactsEmailList.add(this.emailAddress);\r\n this.replyEmailList = Array.from(contactsEmailList);\r\n }\r\n\r\n getEmailListFromContacts() {\r\n const replyEmailList = new Set();\r\n get(this.contact, `inquiry.items[${this.locale}]`, []).forEach(({ contactEmail }) => {\r\n if (contactEmail) replyEmailList.add(contactEmail);\r\n });\r\n get(this.contact, 'lottery.contactList.groups', []).forEach((group) => {\r\n get(group, 'entries', []).forEach((entry) => {\r\n get(entry, `fields[${this.locale}].email`, []).forEach(({ email }) => {\r\n if (email) replyEmailList.add(email);\r\n });\r\n });\r\n });\r\n\r\n return replyEmailList;\r\n }\r\n\r\n onChangeRecipientCategory() {\r\n this.newMessageModel.recipients = [];\r\n this.newMessageModel.retailerIds = [];\r\n }\r\n\r\n onChangeAllowReply() {\r\n this.newMessageModel.replyEmailAddress = this.newMessageModel.allowReply ? this.newMessageModel.replyEmailAddress : this.emailAddress;\r\n }\r\n\r\n isEmailRequired() {\r\n return this.newMessageModel.recipients.length === 0;\r\n }\r\n\r\n isRecipientTypeByRetailer() {\r\n return this.newMessageModel.recipientCategoryCode === SELECTED_RETAILERS;\r\n }\r\n\r\n isRecipientTypeManual() {\r\n return this.newMessageModel.recipientCategoryCode === SELECTED_USERS;\r\n }\r\n\r\n addRetailerId() {\r\n this.checkDuplicateRetailerId();\r\n if (!this.newMessageModel.retailer || this.form.retailer.$invalid) {\r\n return;\r\n }\r\n this.newMessageModel.retailerIds = this.newMessageModel.retailerIds.concat(this.newMessageModel.retailer);\r\n this.newMessageModel.retailer = '';\r\n this.form.retailer.$setPristine();\r\n this.form.retailer.$setUntouched();\r\n }\r\n\r\n checkDuplicateRetailerId() {\r\n const isDuplicate = this.newMessageModel.retailerIds.indexOf(this.newMessageModel.retailer) >= 0;\r\n this.form.retailer.$setValidity('duplicate', !isDuplicate);\r\n }\r\n\r\n removeRetailerId(index) {\r\n this.newMessageModel.retailerIds.splice(index, 1);\r\n }\r\n\r\n addRecipient() {\r\n this.showEmailValidationErrors = true;\r\n this.checkDuplicateEmail();\r\n if (!this.newMessageModel.email || this.form.email.$invalid) {\r\n return;\r\n }\r\n this.newMessageModel.recipients = this.newMessageModel.recipients.concat(this.newMessageModel.email);\r\n this.newMessageModel.email = '';\r\n this.showEmailValidationErrors = false;\r\n }\r\n\r\n checkDuplicateEmail() {\r\n const isDuplicate = this.newMessageModel.recipients.indexOf(this.newMessageModel.email) >= 0;\r\n this.form.email.$setValidity('duplicate', !isDuplicate);\r\n }\r\n\r\n removeRecipient(index) {\r\n this.newMessageModel.recipients.splice(index, 1);\r\n }\r\n\r\n showEmptyRecipientsInfo(info) {\r\n this.Notifications.alertWarning(info);\r\n }\r\n\r\n submitForm(form) {\r\n let message = {\r\n replyEmailAddress: this.newMessageModel.replyEmailAddress,\r\n [this.newMessageModel.recipientCategoryCode]: 1,\r\n recipientCategoryCode: this.newMessageModel.recipientCategoryCode,\r\n subject: this.newMessageModel.subject,\r\n content: this.newMessageModel.content,\r\n allowReply: this.newMessageModel.allowReply,\r\n };\r\n let sendMessagePromise;\r\n\r\n form.$setSubmitted();\r\n if (form.$invalid || this.isContentEmpty()) {\r\n return;\r\n }\r\n\r\n // eslint-disable-next-line default-case\r\n switch (this.newMessageModel.recipientCategoryCode) {\r\n case SELECTED_USERS:\r\n if (isEmpty(this.newMessageModel.recipients)) {\r\n this.showEmptyRecipientsInfo(this.messageDefinitionService.get('NO_RECIPIENTS', 'desc'));\r\n return;\r\n }\r\n message = {\r\n ...message,\r\n recipientLogins: this.newMessageModel.recipients,\r\n };\r\n break;\r\n case SELECTED_RETAILERS:\r\n if (isEmpty(this.newMessageModel.retailerIds)) {\r\n this.showEmptyRecipientsInfo(this.messageDefinitionService.get('NO_RETAILER', 'desc'));\r\n return;\r\n }\r\n message = {\r\n ...message,\r\n recipientIds: this.newMessageModel.retailerIds,\r\n };\r\n break;\r\n }\r\n\r\n if (this.canCreateMessageLimitToRetailers) {\r\n sendMessagePromise = api.createMessageLimitToRetailers(message);\r\n } else if (this.canCreateMessage) {\r\n sendMessagePromise = api.createMessage(message);\r\n }\r\n\r\n sendMessagePromise\r\n .then(() => {\r\n this.setDirtyForm(DIRTY_FORM, false);\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSG_SENT', 'desc'));\r\n })\r\n .then(() => {\r\n this.$state.go('message.list', { skipDirtyForms: true });\r\n });\r\n }\r\n\r\n isContentEmpty() {\r\n return this.newMessageModel.content === '';\r\n }\r\n\r\n cancelForm() {\r\n this.$state.go('message.list');\r\n }\r\n}\r\n\r\nexport default class CreateMessageComponent {\r\n constructor() {\r\n this.controller = CreateMessageController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/create-message/create-message-component.js","import messageHelpers from '../message-helpers';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchSentMessagesListRequest = () => ({\r\n type: actionTypes.FETCH_SENT_MESSAGES_LIST_REQUEST,\r\n name: 'sentLoadingStatus',\r\n});\r\n\r\nexport const fetchSentMessagesListFailure = () => ({\r\n type: actionTypes.FETCH_SENT_MESSAGES_LIST_FAILURE,\r\n name: 'sentLoadingStatus',\r\n});\r\n\r\nexport const fetchSentMessagesListSuccess = (messages, pagination) => ({\r\n type: actionTypes.FETCH_SENT_MESSAGES_LIST_SUCCESS,\r\n messages: messages.map((message) => {\r\n const content = messageHelpers.getShortenMessage(message.content);\r\n\r\n return {\r\n ...message,\r\n content,\r\n };\r\n }),\r\n pagination,\r\n name: 'sentLoadingStatus',\r\n});\r\n\r\nexport const fetchSentMessagesList = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSentMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchSentMessagesList(params);\r\n dispatch(fetchSentMessagesListSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchSentMessagesListFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_SENT_MESSAGES_LIST', error);\r\n }\r\n};\r\n\r\nexport const fetchAdministratorsSentMessagesList = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSentMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchAdministratorsSentMessagesList(params);\r\n dispatch(fetchSentMessagesListSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchSentMessagesListFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_SENT_MESSAGES_LIST', error);\r\n }\r\n};\r\n\r\nexport const fetchUserSentMessagesList = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSentMessagesListRequest());\r\n const { content, ...pagination } = await api.fetchUserSentMessagesList(params);\r\n dispatch(fetchSentMessagesListSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchSentMessagesListFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_SENT_MESSAGES_LIST', error);\r\n }\r\n};\r\n\r\nexport const deleteSentMessagesRequest = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGES_REQUEST,\r\n});\r\n\r\nexport const deleteSentMessagesFailure = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGES_FAILURE,\r\n});\r\n\r\nexport const deleteSentMessagesSuccess = (messages) => ({\r\n type: actionTypes.DELETE_SENT_MESSAGES_SUCCESS,\r\n messages,\r\n});\r\n\r\nexport const deleteSentMessages = () => async (dispatch, getStore) => {\r\n try {\r\n const { messages } = getStore();\r\n const { sent: entries, selectedMessages } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n\r\n dispatch(deleteSentMessagesRequest());\r\n await api.deleteSentMessages(selectedMessagesList);\r\n dispatch(deleteSentMessagesSuccess(entries));\r\n } catch (error) {\r\n dispatch(deleteSentMessagesFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_SENT_MESSAGES', error);\r\n }\r\n};\r\n\r\nexport const deleteSentMessageRequest = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGE_REQUEST,\r\n});\r\n\r\nexport const deleteSentMessageFailure = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGE_FAILURE,\r\n});\r\n\r\nexport const deleteSentMessageSuccess = () => ({\r\n type: actionTypes.DELETE_SENT_MESSAGE_SUCCESS,\r\n});\r\n\r\nexport const deleteSentMessage = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deleteSentMessageRequest());\r\n await api.deleteSentMessages([id]);\r\n dispatch(deleteSentMessageSuccess());\r\n } catch (error) {\r\n dispatch(deleteSentMessageFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_SENT_MESSAGE', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/sent.actions.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPrivilegeTemplatesRequest = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_TEMPLATES_REQUEST,\r\n});\r\n\r\nexport const fetchPrivilegeTemplatesSuccess = (list) => ({\r\n type: actionTypes.FETCH_PRIVILEGE_TEMPLATES_SUCCESS,\r\n list,\r\n});\r\n\r\nexport const fetchPrivilegeTemplatesFailure = () => ({\r\n type: actionTypes.FETCH_PRIVILEGE_TEMPLATES_FAILURE,\r\n});\r\n\r\nexport const fetchPrivilegeTemplates = (userClass, retailerType) => async (dispatch) => {\r\n try {\r\n dispatch(fetchPrivilegeTemplatesRequest());\r\n\r\n const list = await api.fetchPrivilegeTemplates(userClass, retailerType);\r\n dispatch(fetchPrivilegeTemplatesSuccess(list));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_PRIVILEGE_TEMPLATES', error);\r\n dispatch(fetchPrivilegeTemplatesFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/fetch-privilege-templates.actions.js","import actionTypes from 'registration/actions/action-types';\r\nimport utils from 'utils/lsp-utils-service';\r\nimport * as api from 'registration/resources/registration.api';\r\n\r\nexport const validateOwnerDataRequest = () => ({\r\n type: actionTypes.VALIDATE_OWNER_DATA_REQUEST,\r\n});\r\n\r\nexport const validateOwnerDataSuccess = (ownerData) => ({\r\n type: actionTypes.VALIDATE_OWNER_DATA_SUCCESS,\r\n ownerData,\r\n});\r\n\r\nexport const validateOwnerDataFailure = () => ({\r\n type: actionTypes.VALIDATE_OWNER_DATA_FAILURE,\r\n});\r\n\r\nexport const validateOwnerData = (form, retailerType) => async (dispatch, getState) => {\r\n try {\r\n const { registration } = getState();\r\n let { retailerId, salts } = registration.retailer;\r\n if (retailerType === 'PROSPECTIVE') {\r\n retailerId = null;\r\n salts = null;\r\n }\r\n\r\n const { emailAddress: email, firstName, lastName, userValidation = '' } = form;\r\n\r\n const hashedPins = userValidation !== '' ? utils.getHashes(userValidation, salts) : null;\r\n\r\n dispatch(validateOwnerDataRequest());\r\n\r\n const params = {\r\n retailerId,\r\n firstName,\r\n lastName,\r\n email,\r\n hashedPins,\r\n retailerType,\r\n };\r\n\r\n const ownerData = await api.validateOwnerData(params);\r\n\r\n dispatch(validateOwnerDataSuccess(ownerData));\r\n } catch (error) {\r\n console.error('VALIDATE_OWNER_DATA_FAILURE', error);\r\n dispatch(validateOwnerDataFailure());\r\n }\r\n};\r\n\r\nexport const validateProspectiveData = (form) => async (dispatch) => {\r\n try {\r\n const { userValidation: pin, captchaToken } = form;\r\n dispatch(validateOwnerDataRequest());\r\n const ownerData = await api.validateProspectiveData(pin, captchaToken);\r\n dispatch(validateOwnerDataSuccess(ownerData));\r\n } catch (error) {\r\n console.error('VALIDATE_PROSPECTIVE_DATA_FAILURE', error);\r\n dispatch(validateOwnerDataFailure());\r\n }\r\n};\r\n\r\nexport const fetchOwnerData = (form) => async (dispatch) => {\r\n try {\r\n const { userValidation: ownerUrlParams, captchaToken } = form;\r\n dispatch(validateOwnerDataRequest());\r\n const ownerData = await api.fetchOwnerData(ownerUrlParams, captchaToken);\r\n dispatch(validateOwnerDataSuccess(ownerData));\r\n } catch (error) {\r\n console.error('VALIDATE_OWNER_DATA_FAILURE', error);\r\n dispatch(validateOwnerDataFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/validate-owner-data.actions.js","import * as api from 'registration/resources/registration.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchOwnerValidationMethodRequest = () => ({\r\n type: actionTypes.FETCH_OWNER_VALIDATION_METHOD_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchOwnerValidationMethodSuccess = (ownerValidationMethod) => ({\r\n type: actionTypes.FETCH_OWNER_VALIDATION_METHOD_SUCCESS,\r\n isLoading: false,\r\n ownerValidationMethod,\r\n});\r\n\r\nexport const fetchOwnerValidationMethodFailure = () => ({\r\n type: actionTypes.FETCH_OWNER_VALIDATION_METHOD_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchOwnerValidationMethod =\r\n (retailerType, outletTypeId, locale = '*') =>\r\n async (dispatch) => {\r\n try {\r\n dispatch(fetchOwnerValidationMethodRequest());\r\n const { values } = await api.fetchOwnerValidationMethod(retailerType, outletTypeId, locale);\r\n dispatch(fetchOwnerValidationMethodSuccess(values));\r\n } catch (error) {\r\n console.error('FETCH_OWNER_VALIDATION_METHOD', error);\r\n dispatch(fetchOwnerValidationMethodFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/fetch-owner-validation.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'forgotPassword';\r\n\r\nexport const fetchSecurityQuestions = async () => {\r\n const { url } = DepsService.rest.security.questions;\r\n const queryParams = { };\r\n const urlParams = { locale: '*' };\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams );\r\n};\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/resources/security.api.js","import * as api from '../resources/sftp.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSftpListRequest = () => ({\r\n type: actionTypes.FETCH_SFTP_LIST_REQUEST,\r\n name: 'sftpListLoadingStatus',\r\n});\r\n\r\nexport const fetchSftpListSuccess = (sftpList, pagination) => ({\r\n type: actionTypes.FETCH_SFTP_LIST_SUCCESS,\r\n name: 'sftpListLoadingStatus',\r\n sftpList,\r\n pagination,\r\n});\r\n\r\nexport const fetchSftpListFailure = () => ({\r\n type: actionTypes.FETCH_SFTP_LIST_FAILURE,\r\n name: 'sftpListLoadingStatus',\r\n});\r\n\r\nexport const fetchSftpList = (requestParams) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSftpListRequest());\r\n\r\n const { content, ...pagination } = await api.fetchSftpList(requestParams);\r\n dispatch(fetchSftpListSuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_SFTP_LIST', error);\r\n dispatch(fetchSftpListFailure());\r\n }\r\n};\r\n\r\nexport const deleteSftpByIdRequest = () => ({\r\n type: actionTypes.DELETE_SFTP_BY_ID_REQUEST,\r\n});\r\n\r\nexport const deleteSftpByIdSuccess = () => ({\r\n type: actionTypes.DELETE_SFTP_BY_ID_SUCCESS,\r\n});\r\n\r\nexport const deleteSftpByIdFailure = () => ({\r\n type: actionTypes.DELETE_SFTP_BY_ID_FAILURE,\r\n});\r\n\r\nexport const deleteSftpById = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deleteSftpByIdRequest());\r\n\r\n await api.deleteSftpById(id);\r\n\r\n dispatch(deleteSftpByIdSuccess());\r\n } catch (error) {\r\n console.error('DELETE_SFTP_BY_ID', error);\r\n dispatch(deleteSftpByIdFailure());\r\n }\r\n};\r\n\r\nexport const fetchSftpByIdRequest = () => ({\r\n type: actionTypes.FETCH_SFTP_BY_ID_REQUEST,\r\n});\r\n\r\nexport const fetchSftpByIdSuccess = (sftp) => ({\r\n type: actionTypes.FETCH_SFTP_BY_ID_SUCCESS,\r\n sftp,\r\n});\r\n\r\nexport const fetchSftpByIdFailure = () => ({\r\n type: actionTypes.FETCH_SFTP_BY_ID_FAILURE,\r\n});\r\n\r\nexport const fetchSftpById = (id) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSftpByIdRequest());\r\n\r\n const sftp = await api.fetchSftpById(id);\r\n\r\n dispatch(fetchSftpByIdSuccess(sftp));\r\n } catch (error) {\r\n console.error('FETCH_SFTP_BY_ID', error);\r\n dispatch(fetchSftpByIdFailure());\r\n }\r\n};\r\n\r\nexport const updateSftpByIdRequest = () => ({\r\n type: actionTypes.UPDATE_SFTP_BY_ID_REQUEST,\r\n});\r\n\r\nexport const updateSftpByIdSuccess = () => ({\r\n type: actionTypes.UPDATE_SFTP_BY_ID_SUCCESS,\r\n});\r\n\r\nexport const updateSftpByIdFailure = () => ({\r\n type: actionTypes.UPDATE_SFTP_BY_ID_FAILURE,\r\n});\r\n\r\nexport const updateSftpById = (configuration) => async (dispatch) => {\r\n try {\r\n dispatch(updateSftpByIdRequest());\r\n\r\n await api.updateSftpById(configuration);\r\n\r\n dispatch(updateSftpByIdSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_SFTP_BY_ID', error);\r\n dispatch(updateSftpByIdFailure());\r\n }\r\n};\r\n\r\nexport const createSftpRequest = () => ({\r\n type: actionTypes.CREATE_SFTP_REQUEST,\r\n});\r\n\r\nexport const createSftpSuccess = () => ({\r\n type: actionTypes.CREATE_SFTP_SUCCESS,\r\n});\r\n\r\nexport const createSftpFailure = () => ({\r\n type: actionTypes.CREATE_SFTP_FAILURE,\r\n});\r\n\r\nexport const createSftp = (configuration) => async (dispatch) => {\r\n try {\r\n dispatch(createSftpRequest());\r\n\r\n await api.createSftp(configuration);\r\n\r\n dispatch(createSftpSuccess());\r\n } catch (error) {\r\n console.error('CREATE_SFTP', error);\r\n dispatch(createSftpFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/actions/sftp.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'sftp';\r\n\r\nexport const fetchSftpList = async (params) => {\r\n const url = DepsService.rest.sftp.admin.configuration.url;\r\n const queryParams = { ...params };\r\n const urlParams = {};\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return response;\r\n};\r\n\r\nexport const deleteSftpById = async (id) => {\r\n const url = DepsService.rest.sftp.admin.retailer.configuration.url;\r\n const requestPayload = { configId: id };\r\n\r\n return await DepsService.restSrv.remove(CONTEXT, url, requestPayload);\r\n};\r\n\r\nexport const fetchSftpById = async (id) => {\r\n const url = DepsService.rest.sftp.admin.retailer.configuration.url;\r\n const queryParams = {};\r\n const urlParams = { configId: id };\r\n\r\n const sftp = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n\r\n return sftp;\r\n};\r\n\r\nexport const updateSftpById = async ({ id, ...sftp }) => {\r\n const url = DepsService.rest.sftp.admin.retailer.configuration.url;\r\n const urlParams = { configId: id };\r\n const requestPayload = { id, ...sftp };\r\n\r\n return await DepsService.restSrv.update(CONTEXT, url, requestPayload, urlParams);\r\n};\r\n\r\nexport const createSftp = async (sftp) => {\r\n const url = DepsService.rest.sftp.admin.configuration.url;\r\n const requestPayload = { ...sftp.configuration };\r\n\r\n return await DepsService.restSrv.create(CONTEXT, url, requestPayload);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/resources/sftp.api.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchSftpAuthenticationTypesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchSftpAuthenticationTypesDictionarySuccess = (types) => ({\r\n type: actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS,\r\n types,\r\n});\r\n\r\nexport const fetchSftpAuthenticationTypesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchSftpAuthenticationTypesDictionary = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchSftpAuthenticationTypesDictionaryRequest());\r\n const types = await api.fetchSftpAuthenticationTypesDictionary();\r\n dispatch(fetchSftpAuthenticationTypesDictionarySuccess(types));\r\n } catch (error) {\r\n console.error('FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY', error);\r\n dispatch(fetchSftpAuthenticationTypesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/sftp-authentication-types.actions.js","import angular from 'angular';\r\nimport RetailerReportsPageComponent from './retailer-reports-page-component';\r\n\r\nexport default angular.module('retailer-reports-page', []).component('retailerReportsPage', new RetailerReportsPageComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-module.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchUserClassDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_USER_CLASS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchUserClassDictionarySuccess = (userClass) => ({\r\n type: actionTypes.FETCH_USER_CLASS_DICTIONARY_SUCCESS,\r\n userClass,\r\n});\r\n\r\nexport const fetchUserClassDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_USER_CLASS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchUserClassDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchUserClassDictionaryRequest());\r\n\r\n const result = await api.fetchUserClassDictionary({ locale });\r\n dispatch(fetchUserClassDictionarySuccess(result));\r\n } catch (error) {\r\n console.error('USER_CLASS_DICTIONARY', error);\r\n dispatch(fetchUserClassDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/user-class-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchOrderStatusesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchOrderStatusesDictionarySuccess = (orderStatuses) => ({\r\n type: actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS,\r\n orderStatuses,\r\n});\r\n\r\nexport const fetchOrderStatusesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchOrderStatusesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchOrderStatusesDictionaryRequest());\r\n\r\n const orderStatuses = await api.fetchOrderStatusesDictionary({ locale });\r\n dispatch(fetchOrderStatusesDictionarySuccess(orderStatuses));\r\n } catch (error) {\r\n console.error('ORDER_STATUSES_DICTIONARY', error);\r\n dispatch(fetchOrderStatusesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/order-statuses-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchPackStatusesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_PACK_STATUSES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchPackStatusesDictionarySuccess = (packStatuses) => ({\r\n type: actionTypes.FETCH_PACK_STATUSES_DICTIONARY_SUCCESS,\r\n packStatuses,\r\n});\r\n\r\nexport const fetchPackStatusesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_PACK_STATUSES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchPackStatusesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchPackStatusesDictionaryRequest());\r\n\r\n const packStatuses = await api.fetchPackStatusesDictionary({ locale });\r\n dispatch(fetchPackStatusesDictionarySuccess(packStatuses));\r\n } catch (error) {\r\n console.error('PACKS_STATUSES_DICTIONARY', error);\r\n dispatch(fetchPackStatusesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/pack-statuses-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchPricePointsDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_PRICE_POINTS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchPricePointsDictionarySuccess = (pricePoints) => ({\r\n type: actionTypes.FETCH_PRICE_POINTS_DICTIONARY_SUCCESS,\r\n pricePoints,\r\n});\r\n\r\nexport const fetchPricePointsDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_PRICE_POINTS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchPricePointsDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchPricePointsDictionaryRequest());\r\n\r\n const pricePoints = await api.fetchPricePointsDictionary({ locale });\r\n dispatch(fetchPricePointsDictionarySuccess(pricePoints));\r\n } catch (error) {\r\n console.error('PRICE_POINTS_DICTIONARY', error);\r\n dispatch(fetchPricePointsDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/price-points-dictionary.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchInstantGamesTransitionsHistoryRequest = () => ({\r\n type: actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchInstantGamesTransitionsHistorySuccess = (history, pagination) => ({\r\n type: actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n history,\r\n pagination,\r\n});\r\n\r\nexport const fetchInstantGamesTransitionsHistoryFailure = () => ({\r\n type: actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchInstantGamesTransitionsHistory = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchInstantGamesTransitionsHistoryRequest());\r\n\r\n const { content, ...pagination } = await api.fetchInstantGamesTransitionsHistory(requestParams);\r\n dispatch(fetchInstantGamesTransitionsHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY', error);\r\n dispatch(fetchInstantGamesTransitionsHistoryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-instant-games-transitions-history.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchOrderHistoryListRequest = () => ({\r\n type: actionTypes.FETCH_ORDER_HISTORY_REQUEST,\r\n name: 'orderHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderHistoryListSuccess = (orderHistory, pagination) => ({\r\n type: actionTypes.FETCH_ORDER_HISTORY_SUCCESS,\r\n name: 'orderHistoryLoadingStatus',\r\n orderHistory,\r\n pagination,\r\n});\r\n\r\nexport const fetchOrderHistoryListFailure = () => ({\r\n type: actionTypes.FETCH_ORDER_HISTORY_FAILURE,\r\n name: 'orderHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderHistoryList =\r\n (requestPayload = {}) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = requestPayload.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...requestPayload,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchOrderHistoryListRequest());\r\n\r\n const { content, ...pagination } = await api.fetchOrderHistoryList(requestParams);\r\n dispatch(fetchOrderHistoryListSuccess(content, pagination));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_ORDER_HISTORY', error);\r\n dispatch(fetchOrderHistoryListFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-order-history-list.actions.js","import api from 'dashboard/resources/site-financial-status.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSiteFinancialStatusRequest = () => ({\r\n type: actionTypes.FETCH_SITE_FINANCIAL_STATUS_REQUEST,\r\n name: 'siteFinancialStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteFinancialStatusSuccess = (data) => ({\r\n type: actionTypes.FETCH_SITE_FINANCIAL_STATUS_SUCCESS,\r\n name: 'siteFinancialStatusLoadingStatus',\r\n data,\r\n});\r\n\r\nexport const fetchSiteFinancialStatusFailure = () => ({\r\n type: actionTypes.FETCH_SITE_FINANCIAL_STATUS_FAILURE,\r\n name: 'siteFinancialStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteFinancialStatus = (retailerId) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSiteFinancialStatusRequest());\r\n const data = await api.fetchSiteFinancialStatus(retailerId);\r\n dispatch(fetchSiteFinancialStatusSuccess(data));\r\n } catch (error) {\r\n console.error('FETCH_SITE_FINANCIAL_STATUS', error);\r\n dispatch(fetchSiteFinancialStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-financial-status/site-financial-status.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'subordinateList';\r\n\r\nconst fetchSubordinateList = async ({ retailerId, ...queryParams }) => {\r\n const { url } = DepsService.rest.inventory.subordinates.list;\r\n const urlParams = { retailerId };\r\n\r\n const { content, ...pagination } = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return {\r\n content,\r\n ...pagination,\r\n };\r\n};\r\n\r\nexport default {\r\n fetchSubordinateList,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/resources/subordinate-list.api.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchInvoiceDatesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_INVOICE_DATES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchInvoiceDatesDictionarySuccess = (dates) => ({\r\n type: actionTypes.FETCH_INVOICE_DATES_DICTIONARY_SUCCESS,\r\n dates,\r\n});\r\n\r\nexport const fetchInvoiceDatesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_INVOICE_DATES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchInvoiceDatesDictionary = (retailerId) => async (dispatch) => {\r\n try {\r\n dispatch(fetchInvoiceDatesDictionaryRequest());\r\n const dates = await api.fetchInvoiceDatesDictionary(retailerId);\r\n dispatch(fetchInvoiceDatesDictionarySuccess(dates));\r\n } catch (error) {\r\n console.error('FETCH_INVOICE_DATES_DICTIONARY', error);\r\n dispatch(fetchInvoiceDatesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/invoice-dates-dictionary.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchEftAmount = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.eft;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.eft';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/eft-amount.api.js","import * as api from 'dashboard/resources/net-sales.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchNetSalesSummaryRequest = () => ({\r\n type: actionTypes.FETCH_NET_SALES_SUMMARY_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchNetSalesSummarySuccess = (netSalesSummary) => ({\r\n type: actionTypes.FETCH_NET_SALES_SUMMARY_SUCCESS,\r\n netSalesSummary,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesSummaryFailure = () => ({\r\n type: actionTypes.FETCH_NET_SALES_SUMMARY_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesSummary = (retailerNo) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = retailerNo || session.retailer.retailerId;\r\n\r\n dispatch(fetchNetSalesSummaryRequest());\r\n\r\n const netSalesSummary = await api.fetchNetSalesSummary({ retailerId });\r\n dispatch(fetchNetSalesSummarySuccess(netSalesSummary));\r\n } catch (error) {\r\n console.error('NET_SALES_SUMMARY', error);\r\n dispatch(fetchNetSalesSummaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/net-sales/net-sales-summary.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport tabs from 'dashboard/components/dashboard-widget/net-sales/tabs';\r\n\r\nconst CONTEXT = 'net-sales';\r\nconst { WTD, MTD, QTD, YTD } = tabs;\r\n\r\nexport const fetchNetSalesSummary = async (config) => {\r\n const { retailerId } = config;\r\n\r\n const url = DepsService.rest.widgets.netSales.url;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return netSalesSummaryDataTransformation(response);\r\n};\r\n\r\nexport const fetchNetSalesDetails = async (config) => {\r\n const { retailerId } = config;\r\n\r\n const url = DepsService.rest.widgets.netSalesDetails.url;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const response = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return netSalesDetailsDataTransformation(response);\r\n};\r\n\r\nexport const downloadNetSalesHistoryReport = (config) => {\r\n const { periodType, retailerId, extension } = config;\r\n\r\n const url = DepsService.rest.widgets.netSalesDetails.url;\r\n const queryParams = { periodType };\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\r\nexport const netSalesSummaryDataTransformation = (data) => {\r\n let netSalesSummary = {};\r\n\r\n data.forEach((item) => {\r\n netSalesSummary = {\r\n ...netSalesSummary,\r\n [item.periodType]: {\r\n title: getSummaryDataDescription(item.periodType),\r\n ...item,\r\n },\r\n };\r\n });\r\n\r\n return netSalesSummary;\r\n};\r\n\r\nexport const netSalesDetailsDataTransformation = (data) => {\r\n const drawProductType = 1;\r\n const instantProductType = 2;\r\n let instantGames = {};\r\n let drawGames = {};\r\n\r\n data.forEach(({ periodType, productType, ...game }) => {\r\n const isInstantGame = productType === instantProductType || game.gameName === 'eInstant';\r\n const isDrawGame = productType === drawProductType && game.gameName !== 'eInstant';\r\n\r\n if (isInstantGame) {\r\n const instantGamesArr = instantGames[periodType] || [];\r\n instantGames = {\r\n ...instantGames,\r\n [periodType]: [...instantGamesArr, ...[game]],\r\n };\r\n }\r\n\r\n if (isDrawGame) {\r\n const drawGamesArr = drawGames[periodType] || [];\r\n drawGames = {\r\n ...drawGames,\r\n [periodType]: [...drawGamesArr, ...[game]],\r\n };\r\n }\r\n });\r\n\r\n return {\r\n instantGames,\r\n drawGames,\r\n };\r\n};\r\n\r\nconst getSummaryDataDescription = (periodType) => {\r\n switch (periodType) {\r\n case WTD:\r\n return DepsService.gettextCatalog.getString('Week to Date Net Sales');\r\n case MTD:\r\n return DepsService.gettextCatalog.getString('Month to Date Net Sales');\r\n case QTD:\r\n return DepsService.gettextCatalog.getString('Quarter to Date Net Sales');\r\n case YTD:\r\n return DepsService.gettextCatalog.getString('Year to Date Net Sales');\r\n default:\r\n return '';\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/net-sales.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport { INSTANT_GAME_TYPE, DRAW_GAME_TYPE } from 'app/config/gametype';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst getBigWinnersUrl = (gameType) => {\r\n switch (gameType) {\r\n case INSTANT_GAME_TYPE: {\r\n return DepsService.rest.widgets.bigWinnersScratch.url;\r\n }\r\n case DRAW_GAME_TYPE: {\r\n return DepsService.rest.widgets.bigWinnersOnline.url;\r\n }\r\n default:\r\n return DepsService.rest.widgets.bigWinners.url;\r\n }\r\n};\r\n\r\nexport const fetchBigWinners = (retailerId, gameType) => {\r\n const url = getBigWinnersUrl(gameType);\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.bigWinners';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchBigWinnersHistory = (queryParams, retailerId) => {\r\n const { url } = DepsService.rest.widgets.bigWinnersHistory;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadBigWinnersHistoryReport = (queryParams, retailerId, extension) => {\r\n const { url } = DepsService.rest.widgets.bigWinnersHistory;\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/big-winners.api.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchCumulativeWinners = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.cummulativeWinners;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.cummulativeWinners';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchCumulativeWinnersHistory = (queryParams, retailerId) => {\r\n const { url } = DepsService.rest.widgets.cumulativeHistory;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadCumulativeWinnersHistoryReport = (queryParams, retailerId, extension) => {\r\n const { url } = DepsService.rest.widgets.cumulativeHistory;\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/cumulative-winners.api.js","import * as api from 'dashboard/resources/lvm-sales-history.api';\r\nimport sortBy from 'lodash/sortBy';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchLvmSalesHistoryRequest = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_HISTORY_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchLvmSalesHistorySuccess = (data) => ({\r\n type: actionTypes.FETCH_LVM_SALES_HISTORY_SUCCESS,\r\n isLoading: false,\r\n data,\r\n});\r\n\r\nexport const fetchLvmSalesHistoryFailure = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_HISTORY_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const groupByGames = (data) => {\r\n const drawProductType = 1;\r\n const instantProductType = 2;\r\n const getGameItem = (item, totalPropertyName) => ({\r\n gameName: item.gameName,\r\n netSalesDelta: item.netSalesDelta,\r\n netSales: item.netSales,\r\n displayOrder: item.displayOrder,\r\n [totalPropertyName]: item[totalPropertyName],\r\n });\r\n const pushGame = (game, terminal) => {\r\n if (game.productType === drawProductType) {\r\n terminal.drawGames.push(getGameItem(game, 'drawTotal'));\r\n } else if (game.productType === instantProductType) {\r\n terminal.instantGames.push(getGameItem(game, 'instantTotal'));\r\n }\r\n };\r\n const isTheSameTerminal = (last, current) => last\r\n && last.periodType === current.periodType\r\n && last.terminalKey === current.terminalKey;\r\n\r\n data = sortBy(data, ['periodType', 'terminalKey', 'productType', 'gameName']).reduce((terminals, currentTerminal) => {\r\n const lastTerminal = terminals[terminals.length - 1];\r\n if (isTheSameTerminal(lastTerminal, currentTerminal)) {\r\n const game = currentTerminal;\r\n pushGame(game, lastTerminal);\r\n } else {\r\n const game = currentTerminal;\r\n game.isExpanded = false;\r\n game.drawGames = [];\r\n game.instantGames = [];\r\n pushGame(game, currentTerminal);\r\n terminals.push(currentTerminal);\r\n }\r\n return terminals;\r\n }, []);\r\n return data;\r\n};\r\n\r\nexport const fetchLvmSalesHistory = (periodType, id = null) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchLvmSalesHistoryRequest());\r\n const data = await api.fetchLvmSalesHistory(periodType, retailerId);\r\n const groupedData = groupByGames(data);\r\n dispatch(fetchLvmSalesHistorySuccess(groupedData));\r\n } catch (error) {\r\n console.error('LVM_SALES_HISTORY', error);\r\n dispatch(fetchLvmSalesHistoryFailure());\r\n }\r\n};\r\n\r\nexport const fetchLvmSalesRequest = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchLvmSalesSuccess = (total) => ({\r\n type: actionTypes.FETCH_LVM_SALES_SUCCESS,\r\n isLoading: false,\r\n total,\r\n});\r\n\r\nexport const fetchLvmSalesFailure = () => ({\r\n type: actionTypes.FETCH_LVM_SALES_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchLvmSales = (id = null) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchLvmSalesRequest());\r\n const total = await api.fetchLvmSales(retailerId);\r\n dispatch(fetchLvmSalesSuccess(total));\r\n } catch (error) {\r\n console.error('LVM_SALES', error);\r\n dispatch(fetchLvmSalesFailure());\r\n }\r\n};\r\n\r\nexport const downloadLvmSalesHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_LVM_SALES_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadLvmSalesHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_LVM_SALES_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadLvmSalesHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_LVM_SALES_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadLvmSalesHistoryReport = (extension, periodType, id = null) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(downloadLvmSalesHistoryReportRequest());\r\n dispatch(downloadLvmSalesHistoryReportSuccess());\r\n return api.downloadLvmSalesHistoryReport(extension, periodType, retailerId);\r\n } catch (error) {\r\n console.error('DOWNLOAD_LVM_SALES_HISTORY_REPORT', error);\r\n dispatch(downloadLvmSalesHistoryReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/lvm-sales-history/lvm-sales-history.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchAlerts = (retailerId, locale) => {\r\n const { url } = DepsService.rest.widgets.alerts.list;\r\n const queryParams = {};\r\n const urlParams = { retailerId, locale };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerAlertDetails = (retailerId, alertId, locale, setRead) => {\r\n const { url } = DepsService.rest.widgets.alerts.details;\r\n const queryParams = {\r\n setRead,\r\n locale,\r\n alertId,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchUserAlertDetails = (alertId, locale, setRead) => {\r\n const { url } = DepsService.rest.widgets.alerts.userAlertDetails;\r\n const queryParams = {\r\n setRead,\r\n locale,\r\n alertId,\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams);\r\n};\r\n\r\nexport const dismissAlert = (retailerId, alertId) => {\r\n const { url } = DepsService.rest.widgets.alerts.hide;\r\n const queryParams = {\r\n alertId,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const deleteAlert = (id) => {\r\n const { url } = DepsService.rest.widgets.alerts.dismiss;\r\n const urlParams = {\r\n id,\r\n };\r\n\r\n return DepsService.restSrv.remove(CONTEXT, url, urlParams);\r\n};\r\n\r\nexport const downloadAlertReport = (retailerId, alertId) => {\r\n const { url } = DepsService.rest.widgets.alerts.details;\r\n const queryParams = {\r\n alertId,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/alerts.api.js","import angular from 'angular';\r\n\r\nimport RwEditorComponent from './rw-editor-component';\r\n\r\nexport default angular\r\n .module('rw-editor', [])\r\n .component('rwEditor', new RwEditorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-editor/rw-editor-module.js","import angular from 'angular';\r\nimport { UserGroupMembershipsController } from './user-group-memberships-controller';\r\nimport userGroupMembershipsComponent from './user-group-memberships-component';\r\n\r\nexport default angular\r\n .module('userGroupMemberships', [])\r\n .controller('UserGroupMembershipsController', UserGroupMembershipsController)\r\n .component('userGroupMemberships', userGroupMembershipsComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/group-memberships/user-group-memberships-module.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'user';\r\n\r\nconst fetchUsersRelatedToRetailer = ({ userId, currentRetailer, ...params }) => {\r\n const { url } = DepsService.rest.account.entries;\r\n const queryParams = { ...params, currentRetailer };\r\n const urlParams = { userId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchAllUsers = (requestParams) => {\r\n const { url } = DepsService.rest.accounts.lotteryRep.entries;\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, requestParams);\r\n};\r\n\r\nexport const fetchUsers = ({ userId, currentRetailer, ...params }) => {\r\n if (userId) {\r\n return fetchUsersRelatedToRetailer({ userId, currentRetailer, ...params });\r\n }\r\n return fetchAllUsers({ ...params });\r\n};\r\n\r\nexport const bulkUpdate = async (params) => {\r\n const { url } = DepsService.rest.users.bulkUpdate;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, params);\r\n};\r\n\r\nexport const createUser = (user) => {\r\n const { url } = DepsService.rest.account.create;\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, user);\r\n};\r\n\r\nexport const downloadUsersReport = ({ lotteryRepId, extension, ...queryParams }) => {\r\n const { url } = DepsService.rest.accounts.downloadReport;\r\n const urlParams = { };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/resources/users.api.js","import angular from 'angular';\r\nimport { RetailerGroupsExistingUserFieldController } from './retailer-groups-existing-user-field-controller';\r\nimport retailerGroupsExistingUserFieldComponent from './retailer-groups-existing-user-field-component';\r\nimport './retailer-groups-existing-user-field.scss';\r\n\r\nexport default angular.module('retailerGroupUserField', [])\r\n .controller('RetailerGroupsExistingUserField', RetailerGroupsExistingUserFieldController)\r\n .component('retailerGroupsExistingUserField', retailerGroupsExistingUserFieldComponent)\r\n;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-module.js","import * as api from '../resources/linked-retailers.api';\r\nimport actionTypes from './linked-retailers.action-types';\r\n\r\nexport const fetchLinkedRetailersRequest = () => ({\r\n type: actionTypes.FETCH_LINKED_RETAILERS_REQUEST,\r\n name: 'linkedRetailersLoadingStatus',\r\n});\r\n\r\nexport const fetchLinkedRetailersSuccess = (list, pagination) => ({\r\n type: actionTypes.FETCH_LINKED_RETAILERS_SUCCESS,\r\n list,\r\n pagination,\r\n name: 'linkedRetailersLoadingStatus',\r\n});\r\n\r\nexport const fetchLinkedRetailersFailure = () => ({\r\n type: actionTypes.FETCH_LINKED_RETAILERS_FAILURE,\r\n name: 'linkedRetailersLoadingStatus',\r\n});\r\n\r\nexport const fetchLinkedRetailers = (requestParams) => async (dispatch) => {\r\n try {\r\n dispatch(fetchLinkedRetailersRequest());\r\n const { content: list, ...pagination } = await api.fetchLinkedRetailers(requestParams);\r\n dispatch(fetchLinkedRetailersSuccess(list, pagination));\r\n } catch (error) {\r\n console.error('FETCH_LINKED_RETAILERS', error);\r\n dispatch(fetchLinkedRetailersFailure());\r\n }\r\n};\r\n\r\nexport const updateLinkedRetailersRequest = () => ({\r\n type: actionTypes.UPDATE_LINKED_RETAILERS_REQUEST,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const updateLinkedRetailersSuccess = () => ({\r\n type: actionTypes.UPDATE_LINKED_RETAILERS_SUCCESS,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const updateLinkedRetailersFailure = () => ({\r\n type: actionTypes.UPDATE_LINKED_RETAILERS_FAILURE,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const updateLinkedRetailers = (data) => async (dispatch) => {\r\n try {\r\n dispatch(updateLinkedRetailersRequest());\r\n await api.updateLinkedRetailers(data);\r\n dispatch(updateLinkedRetailersSuccess());\r\n } catch (error) {\r\n console.error('UPDATE_LINKED_RETAILERS', error);\r\n dispatch(updateLinkedRetailersFailure());\r\n }\r\n};\r\n\r\nexport const deleteLinkedRetailersRequest = () => ({\r\n type: actionTypes.DELETE_LINKED_RETAILERS_REQUEST,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const deleteLinkedRetailersSuccess = () => ({\r\n type: actionTypes.DELETE_LINKED_RETAILERS_SUCCESS,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const deleteLinkedRetailersFailure = () => ({\r\n type: actionTypes.DELETE_LINKED_RETAILERS_FAILURE,\r\n name: 'linkedRetailersSavingStatus',\r\n});\r\n\r\nexport const deleteLinkedRetailers = (data) => async (dispatch) => {\r\n try {\r\n dispatch(deleteLinkedRetailersRequest());\r\n await api.deleteLinkedRetailers(data);\r\n dispatch(deleteLinkedRetailersSuccess());\r\n } catch (error) {\r\n console.error('DELETE_LINKED_RETAILERS', error);\r\n dispatch(deleteLinkedRetailersFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/linked-retailers.actions.js","import tableTemplate from './table.html';\r\nimport { setSortingFunction } from 'utils/actions/table-sorting/table-sorting.actions';\r\n\r\nconst SORT_DIRECTION = {\r\n asc: 'true',\r\n desc: 'false',\r\n};\r\n\r\nconst mapStateToThis = ({ ui }) => {\r\n const { sortingFunction } = ui;\r\n return {\r\n sortingFunction,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setSortingFunction,\r\n};\r\n\r\n@Inject('gettextCatalog', '$ngRedux')\r\nexport class TableController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit(){\r\n if (this.defaultSortColumn) {\r\n this.setSortingFunction({\r\n [this.defaultSortColumn]: this.defaultSortDirection || SORT_DIRECTION.asc,\r\n });\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class TableComponent {\r\n constructor() {\r\n this.bindings = {\r\n defaultSortDirection: '@',\r\n defaultSortColumn: '@?',\r\n hasData: '=',\r\n noDataText: '=?',\r\n loaded: '<',\r\n };\r\n this.transclude = true;\r\n this.template = tableTemplate;\r\n this.controller = TableController;\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/grid/table-component.js","import actionTypes from '../action-types';\r\n\r\nexport const setSortingFunction = (sortingFunction) => ({\r\n type: actionTypes.SET_SORTING_FUNCTION,\r\n sortingFunction,\r\n});\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/actions/table-sorting/table-sorting.actions.js","module.exports = \"
\\r\\n

\\r\\n \\r\\n You have unsaved changes\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n Are you sure you want to navigate away from this page?\\r\\n \\r\\n

\\r\\n

\\r\\n \\r\\n Unsaved changes will be lost.\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Leave this Page\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Stay on this Page\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/utils/dirty-form/views/confirm-dialog.html\n// module id = 606\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n \\r\\n You have unsaved changes\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n Are you sure you want to cancel changes?\\r\\n \\r\\n

\\r\\n

\\r\\n \\r\\n Unsaved changes will be lost.\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/utils/dirty-form/views/unsaved-changes-cancel-dialog.html\n// module id = 607\n// module chunks = 0","import angular from 'angular';\r\nimport RwCardComponent from './rw-card-component';\r\n\r\nexport default angular\r\n .module('rw-card', [])\r\n .component('rwCard', RwCardComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-card/rw-card-module.js","import capitalize from 'lodash/capitalize';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'multistore';\r\n\r\nexport const fetchRetailerDetails = async (retailerId) => {\r\n const { url } = DepsService.rest.multiStore.shortRetailerInfo;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const { retailer } = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n return retailer;\r\n};\r\n\r\nconst changeLocation = (retailerId, userId) => {\r\n const { url } = DepsService.rest.multiStore.select;\r\n const queryParams = { userId };\r\n const payload = { retailerId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, queryParams);\r\n};\r\n\r\nexport default {\r\n fetchRetailerDetails,\r\n changeLocation,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/resources/utils.api.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport user from 'user/logic/user';\r\nimport privileges from 'privilege-templates/logic/privilege-templates';\r\n\r\nimport { applyMenu, applyTokens, setGtmsTime } from 'auth/actions/session.actions';\r\nimport sessionModule from './session';\r\n\r\nconst LOGOUT_CODE = 'USER_LOGOUT';\r\n\r\nconst CONTEXT = 'auth';\r\nconst FORGOT_PASSOWRD_CONTEXT = 'forgotPassword';\r\nconst FORGOT_USERNAME_CONTEXT = 'forgotUsername';\r\n\r\nfunction initializeModel(deps, model) {\r\n return _.merge(model, {\r\n credentials: {},\r\n forgotPassword: {},\r\n });\r\n}\r\n\r\nfunction getServerTime(deps, model) {\r\n if (!_.get(model, 'session.loggedIn')) {\r\n return Promise.resolve(model);\r\n }\r\n return deps.restSrv\r\n .list(CONTEXT, model.session.rest.server.time.url, null, null, 'server.time')\r\n .then((result) => {\r\n const gtmsTime = _.get(result, 'gtmsTime');\r\n const gtmsTimeUnix = moment.utc(gtmsTime).unix();\r\n deps.config.serverTime = gtmsTimeUnix;\r\n deps.$ngRedux.dispatch(setGtmsTime(gtmsTimeUnix));\r\n return Promise.resolve(model);\r\n })\r\n .catch(() => {\r\n deps.config.serverTime = moment().unix();\r\n return Promise.resolve(model);\r\n });\r\n}\r\n\r\nasync function loginByRest(...args) {\r\n let [\r\n deps,\r\n model,\r\n credentials,\r\n restUrl,\r\n acceptTerms,\r\n registrationForm = false,\r\n loginAs = false,\r\n tokens,\r\n impersonatingDisplayName,\r\n adminId,\r\n ] = args;\r\n const state = deps.$ngRedux.getState();\r\n const { session } = state;\r\n const { restSrv } = deps;\r\n if (!tokens) {\r\n let queryParams;\r\n let urlParams;\r\n if (loginAs) {\r\n queryParams = {\r\n userId: credentials.userId,\r\n token: session.tokens.refresh.code,\r\n };\r\n } else {\r\n queryParams = {\r\n resourceOwnerCredentials: {\r\n username: credentials.email,\r\n password: credentials.password,\r\n },\r\n clientId: session.oAuthClientId,\r\n siteId: session.siteId,\r\n };\r\n urlParams = {\r\n acceptTerms,\r\n registrationForm,\r\n };\r\n }\r\n tokens = await restSrv.create(CONTEXT, restUrl, queryParams, urlParams);\r\n }\r\n\r\n const [jwtToken] = tokens;\r\n deps.$ngRedux.dispatch(applyTokens(tokens));\r\n if (_.get(jwtToken, 'tokenParams.passwordExpired') === 'true') return Promise.resolve(model);\r\n\r\n return user\r\n .loadUserByLogin(restSrv, credentials.email, model)\r\n .then(user.loadLotteryLearningLink.bind(null, restSrv))\r\n .then((params) => sessionModule.applySessionData(_.merge(params, { config: deps.config, loginAs, adminId, impersonatingDisplayName })))\r\n .then(privileges.loadUserSessionPrivileges.bind(null, deps))\r\n .then((newModel) => deps.$ngRedux.dispatch(applyMenu(newModel)))\r\n .then((newModel) => {\r\n if (session.locale !== newModel.session.locale) sessionModule.changeLocale(deps, newModel, newModel.session.locale);\r\n return newModel;\r\n })\r\n .then((newModel) => {\r\n newModel.credentials = {};\r\n return newModel;\r\n })\r\n .then((newModel) => {\r\n deps.initNgServices(newModel);\r\n return newModel;\r\n })\r\n .then((newModel) => getServerTime(deps, newModel));\r\n}\r\n\r\nfunction login(...args) {\r\n const [deps, model, credentials, acceptTerms, registrationForm = false, tokens] = args;\r\n const restUrl = model.session.rest.oauth.login.url;\r\n const loginAs = false;\r\n return loginByRest(deps, model, credentials, restUrl, acceptTerms, registrationForm, loginAs, tokens);\r\n}\r\n\r\nfunction loginBack(...args) {\r\n const [deps, model] = args;\r\n const restUrl = model.session.rest.oauth.loginBack.url;\r\n const acceptTerms = true;\r\n const registrationForm = false;\r\n const loginAs = true;\r\n const adminId = null;\r\n return loginByRest(deps, model, {}, restUrl, acceptTerms, registrationForm, loginAs, adminId);\r\n}\r\n\r\nfunction removeTokens(deps, model) {\r\n if (\r\n deps.$sessionStorage &&\r\n deps.$sessionStorage.userSession &&\r\n deps.$sessionStorage.userSession.tokens &&\r\n !_.isEmpty(deps.$sessionStorage.userSession.tokens)\r\n ) {\r\n deps.restSrv.remove(CONTEXT, model.session.rest.oauth.logout.url).catch(() => {});\r\n }\r\n return Promise.resolve();\r\n}\r\n\r\nfunction logout(deps, model, registrationConfirm) {\r\n return removeTokens(deps, model)\r\n .then(() => sessionModule.resetSession(deps, model))\r\n .then(() => deps.init())\r\n .then((newModel) => {\r\n sessionStorage.clear();\r\n deps.$state.go('home-view', {\r\n reload: true,\r\n registrationConfirm,\r\n });\r\n return newModel;\r\n });\r\n}\r\n\r\nfunction resetPassword(deps, model, answerObj) {\r\n return deps.restSrv.create(FORGOT_PASSOWRD_CONTEXT, model.session.rest.auth.resetPassword.url, answerObj);\r\n}\r\n\r\nfunction remindUsername(deps, model, formModel) {\r\n const { url } = model.session.rest.auth.remindUsername;\r\n const { captchaToken, phone } = formModel;\r\n const queryParams = { phoneNumber: phone };\r\n const urlParams = { captchaToken };\r\n\r\n return deps.restSrv.create(FORGOT_USERNAME_CONTEXT, url, queryParams, urlParams).catch((e) => {\r\n throw e;\r\n });\r\n}\r\n\r\nexport default {\r\n initializeModel,\r\n login,\r\n loginByRest,\r\n loginBack,\r\n logout,\r\n resetPassword,\r\n remindUsername,\r\n changeLocale: sessionModule.changeLocale,\r\n resetSession: sessionModule.resetSession,\r\n initializeSession: sessionModule.initializeSession,\r\n updateSession: sessionModule.updateSession,\r\n // applyMenu: sessionModule.applyMenu,\r\n getServerTime,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/logic/auth.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport grid from 'utils/lsp-grid/grid';\r\nimport utils from 'utils/lsp-utils-service';\r\nimport privileges from 'privilege-templates/logic/privilege-templates';\r\nimport { getUserClasses } from 'app/actions/dictionaries.actions';\r\nimport { setLearningLink } from 'auth/actions/session.actions';\r\nimport { fetchPrivilegeDisplayTypesDictionary } from 'app/actions/dictionaries/privilege-display-types-dictionary.actions';\r\n\r\nconst DEFAULT_SORT_COLUMN = 'id';\r\nconst NA_VALUE = 'n/a';\r\nconst STATUS_ACTIVE = 'ACTIVE';\r\nconst STATUS_INACTIVE = 'INACTIVE';\r\n\r\nconst ACTIVE = 'ACTIVE';\r\nconst RETAILER_ROLES = ['RETAILER_PRIMARY', 'RETAILER_SECONDARY'];\r\n\r\nconst APP_CONTEXT = 'app';\r\nconst USER_CONTEXT = 'user';\r\n\r\n// model initialization\r\nfunction initializeModel(deps, model) {\r\n return _.merge(model, {\r\n user: {\r\n grid: grid.applyGrid(deps, userList.bind(null, deps), 'user.grid', {\r\n [deps.config.sortColumnKey]: DEFAULT_SORT_COLUMN,\r\n [deps.config.pageSizeKey]: deps.config.defaultPageSize[2],\r\n }),\r\n myAccount: {},\r\n editAccount: {},\r\n editAccountCopy: {},\r\n changePrimaryUser: grid.applyGrid(deps, getUsers.bind(null, deps), 'user.changePrimaryUser', {\r\n [deps.config.pageSizeKey]: deps.config.defaultPageSize[2],\r\n }),\r\n retailerSettings: {},\r\n },\r\n });\r\n}\r\n\r\nfunction registerRestSrvContext(deps) {\r\n deps.restSrv = deps.restSrv.factory('user', deps);\r\n return deps;\r\n}\r\n\r\n// dictionaries initialization\r\nfunction loadDictionaries(deps, model) {\r\n model.dictionary.userStatuses = deps.config.dictionaries.usrAccStatuses;\r\n model.dictionary.retailerStatuses = deps.config.dictionaries.usrRetailerStatuses;\r\n model.dictionary.generic_bool = deps.config.dictionaries.generic_bool;\r\n\r\n return Promise.all([\r\n loadTemplates(deps, model),\r\n loadActivateReasons(deps, model),\r\n loadSuspendReasons(deps, model),\r\n loadRetailerStatuses(deps, model),\r\n DepsService.$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary()),\r\n ]).then((models) => models.reduce((reduced, newModel) => _.merge(reduced, newModel), model));\r\n}\r\n\r\n// actions\r\nfunction userList(deps, model, parameters) {\r\n let newResult = {};\r\n const urlParameters = {\r\n userId: RETAILER_ROLES.indexOf(model.session.role) !== -1 ? model.session.id : null,\r\n };\r\n const url = model.session.lotteryRepId ? model.session.rest.accounts.lotteryRep.entries.url : model.session.rest.account.entries.url;\r\n\r\n return deps.restSrv.list(USER_CONTEXT, url, parameters, urlParameters).then((result) => {\r\n newResult = _.cloneDeep(result);\r\n newResult.content = result.content.map((user) => {\r\n const retailerId = _.get(user, 'primaryRetailer.retailerId');\r\n return _.flow([\r\n (user) => {\r\n const foundedTemplate = model.dictionary.templates.find((item) => item.id === user.templateId);\r\n user.employeeTemplate = foundedTemplate ? foundedTemplate.translations[model.session.locale].name : NA_VALUE;\r\n return user;\r\n },\r\n (user) => _.set(user, 'repeatId', `${retailerId}${user.id}`),\r\n (user) => _.set(user, 'name', `${user.contact.firstName} ${user.contact.lastName}`),\r\n (user) => _.set(user, 'primaryRetailerId', retailerId || NA_VALUE),\r\n (user) => _.set(user, 'isActive', user.status && user.status.status === ACTIVE),\r\n ])(user);\r\n });\r\n return newResult;\r\n });\r\n}\r\n\r\nfunction loadRoles(deps, model) {\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.roles.url).then((result) => {\r\n model.dictionary.roles = result.map((item) =>\r\n _.flow(\r\n _.set('displayName', _.capitalize(_.get(item, 'translations[${model.session.locale}].name'))),\r\n _.set('name', _.get(item, 'translations[${model.session.locale}].name'))\r\n )(item)\r\n );\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadTemplates(deps, model) {\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.templates.url).then((result) => {\r\n model.dictionary.templates = result.map((item) =>\r\n _.flow([\r\n (item) => _.set(item, 'displayName', _.capitalize(_.get(item, 'translations[${model.session.locale}].name'))),\r\n (item) => _.set(item, 'name', _.get(item, 'translations[${model.session.locale}].name')),\r\n ])(item)\r\n );\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadUserByParams(restSrv, url, params, model) {\r\n return restSrv.list(USER_CONTEXT, url, null, params).then((user) =>\r\n Promise.resolve({\r\n model,\r\n user,\r\n })\r\n );\r\n}\r\n\r\nfunction loadRetailerStatuses(deps, model) {\r\n return deps.restSrv\r\n .listCached(USER_CONTEXT, model.session.rest.navigator.typecodes.url, {\r\n category: 'rs.retailer.status',\r\n })\r\n .then((result) => {\r\n model.dictionary.retailerLocationStatuses = result;\r\n return model;\r\n });\r\n}\r\n\r\nfunction createUser(deps, model, user) {\r\n const {\r\n session: { locale },\r\n } = deps.$ngRedux.getState();\r\n const userClass = _.cloneDeep(user.userClass);\r\n const primaryRetailer = _.cloneDeep(user.primaryRetailer);\r\n user.username = user.contact.emailAddress;\r\n user.userClass = user.userClass.id;\r\n\r\n if (!user.primaryRetailer && userClass.type === 'INDEPENDENT') {\r\n user.primaryRetailer = { retailerDisplayNumber: model.session.retailer.retailerDisplayNumber };\r\n }\r\n\r\n if (user.primaryRetailer && user.primaryRetailer.owner) {\r\n const salts = model.user.editAccount.retailer ? model.user.editAccount.retailer.salts : null;\r\n user.primaryRetailer.hashedPins = utils.getHashes(user.primaryRetailer.owner, salts);\r\n\r\n delete user.primaryRetailer.owner;\r\n }\r\n const queryParams = { locale };\r\n\r\n return deps.restSrv\r\n .create(USER_CONTEXT, model.session.rest.account.create.url, user, queryParams)\r\n .then(() => model)\r\n .catch((err) => {\r\n user.userClass = userClass;\r\n user.primaryRetailer = primaryRetailer;\r\n throw err;\r\n });\r\n}\r\n\r\nfunction loadUserByLogin(restSrv, userLogin, model) {\r\n return loadUserByParams(restSrv, model.session.rest.account.entryByLogin.url, { login: userLogin }, model);\r\n}\r\n\r\nfunction loadUserById(deps, model, id) {\r\n return loadUserByParams(deps.restSrv, model.session.rest.account.self.data.url, { id }, model);\r\n}\r\n\r\n// change primary user\r\nfunction getUsers(deps, model, parameters) {\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.entries.url, parameters);\r\n}\r\n\r\nfunction promoteToPrimary(deps, model, promotedId, downgradedId) {\r\n return deps.restSrv.update(USER_CONTEXT, model.session.rest.account.promote.url, null, {\r\n promotedId,\r\n downgradedId,\r\n });\r\n}\r\n\r\n// edit account\r\nfunction loadUser(deps, model, id, retailerId) {\r\n return deps.restSrv\r\n .list(USER_CONTEXT, model.session.rest.account.entryById.url, null, { id })\r\n .then((response) => decorateUserModel(deps, response, model))\r\n .then((newModel) => loadAssignedUser(deps, newModel, newModel.user.editAccount.ownerUserId))\r\n .then((newModel) => privileges.loadPrivileges(deps, newModel, newModel.user.editAccount.userClass))\r\n .then((newModel) => loadUserRetailer(deps, newModel, retailerId))\r\n .then((newModel) => decorateUserPrivileges(newModel))\r\n .then((newModel) => loadUserPresetName(deps, newModel))\r\n .then((newModel) => {\r\n newModel.user.editAccountCopy = _.cloneDeep(newModel.user.editAccount);\r\n return newModel;\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n });\r\n}\r\n\r\nfunction loadAssignedUser(deps, model, id) {\r\n if (!id || id === NA_VALUE) {\r\n return model;\r\n }\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.account.entryById.url, null, { id }).then((response) => {\r\n model.user.editAccount.assignedUser = {\r\n name: `${response.contact.lastName} ${response.contact.firstName}`,\r\n };\r\n return model;\r\n });\r\n}\r\n\r\nasync function decorateUserModel(deps, userModel, model) {\r\n const newUserModel = _.cloneDeep(userModel);\r\n\r\n const { status } = newUserModel.status;\r\n const availableStatuses = deps.config.dictionaries.usrAccStatusesDisplay;\r\n const userClasses = await deps.$ngRedux.dispatch(getUserClasses());\r\n\r\n const userClassLabel = _.find(\r\n userClasses,\r\n (userClass) => userClass.id === newUserModel.userClass || userClass.label === newUserModel.userClass\r\n );\r\n const userAccessLabel = _.find(availableStatuses, (availableStatus) => availableStatus.id === status || availableStatus.label === status);\r\n newUserModel.userClassLabel = userClassLabel ? userClassLabel.label : NA_VALUE;\r\n newUserModel.userAccessLabel = userAccessLabel ? userAccessLabel.label : NA_VALUE;\r\n newUserModel.hasMultipleStores = newUserModel.retailers.length > 1;\r\n newUserModel.retailerId = _.get(newUserModel, 'retailers[0].retailerId');\r\n newUserModel.primaryRetailerId = _.get(newUserModel, 'primaryRetailer.retailerId');\r\n newUserModel.createdLabel = newUserModel.adminCreated\r\n ? deps.gettextCatalog.getString('Administrator')\r\n : deps.gettextCatalog.getString('User');\r\n\r\n model.user.editAccount = newUserModel;\r\n return model;\r\n}\r\n\r\nfunction decorateUserPrivileges(model) {\r\n const userPresetPrivileges = model.user.editAccount.privileges\r\n .filter((userPrivilege) => model.privilegesArray.find((priv) => priv.id === userPrivilege.id))\r\n .map((p) => p.id);\r\n const { templateId } = model.user.editAccount;\r\n model.user.editAccount.currentUserPreset = {\r\n id: templateId,\r\n privileges: userPresetPrivileges,\r\n };\r\n return model;\r\n}\r\n\r\nfunction loadUserRetailer(deps, model, retailerId) {\r\n if (!retailerId) {\r\n retailerId = _.get(model.user.editAccount, 'primaryRetailer.retailerId');\r\n }\r\n if (!retailerId || retailerId === NA_VALUE) {\r\n return model;\r\n }\r\n\r\n const url = _.get(model, 'session.rest.retailer.subordinateData.url');\r\n return deps.restSrv.list(USER_CONTEXT, url, null, { retailerId }).then((retailer) => {\r\n const status = _.find(model.dictionary.retailerStatuses, { id: retailer.statusCode }) || '';\r\n retailer.statusLabel = status.label || '';\r\n model.user.editAccount.retailer = retailer;\r\n model.user.editAccount.retailerId = retailer.retailerId;\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadUserPresetName(deps, model) {\r\n const templateId = _.get(model.user.editAccount, 'templateId');\r\n if (!templateId) {\r\n return model;\r\n }\r\n\r\n return privileges.loadPreset(deps, model, templateId, model.user.editAccount.userClass).then((p) => {\r\n model.user.editAccount.currentUserPreset.name = p.translations;\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadActivateReasons(deps, model) {\r\n return deps.restSrv\r\n .listCached(USER_CONTEXT, model.session.rest.dictionary.names.url, null, {\r\n name: 'activate-reasons',\r\n })\r\n .then((activateReasons) => {\r\n model.dictionary.statusChangeReasons[STATUS_ACTIVE] = Object.keys(activateReasons.values).map((key) => ({\r\n id: key,\r\n label: activateReasons.values[key],\r\n }));\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadSuspendReasons(deps, model) {\r\n return deps.restSrv\r\n .listCached(USER_CONTEXT, model.session.rest.dictionary.names.url, null, {\r\n name: 'suspend-reasons',\r\n })\r\n .then((suspendReasons) => {\r\n model.dictionary.statusChangeReasons[STATUS_INACTIVE] = Object.keys(suspendReasons.values).map((key) => ({\r\n id: key,\r\n label: suspendReasons.values[key],\r\n }));\r\n return model;\r\n });\r\n}\r\n\r\nfunction extractPersonalDataFromUser(user) {\r\n return {\r\n firstName: user.contact.firstName,\r\n lastName: user.contact.lastName,\r\n contactPhone: user.contact.contactPhone,\r\n mobilePhone: user.contact.mobilePhone,\r\n email: user.username,\r\n roleId: user.role ? user.role.id : user.roleId,\r\n lotteryRepId: user.lotteryRepId,\r\n securityQuestions: [],\r\n };\r\n}\r\n\r\nfunction updatePersonalData(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.update.url, extractPersonalDataFromUser(user), {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction updateSubordinateUser(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.entryById.url, extractPersonalDataFromUser(user), {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id, user.retailerId));\r\n}\r\n\r\nfunction extractSuspendDataFromUser(user) {\r\n return {\r\n emailAddress: user.emailAddress,\r\n reasonKey: user.reasonKey || 'NOT_APPLICABLE',\r\n otherReasonText: user.otherReasonText,\r\n };\r\n}\r\n\r\nfunction activate(deps, model, user) {\r\n const data = extractSuspendDataFromUser(user);\r\n return deps.restSrv\r\n .create(USER_CONTEXT, model.session.rest.account.activate.url, data, {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction suspend(deps, model, user) {\r\n const data = extractSuspendDataFromUser(user);\r\n return deps.restSrv\r\n .create(USER_CONTEXT, model.session.rest.account.suspend.url, data, {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction updateUserPrivileges(deps, model, user) {\r\n const templateId = _.get(user, 'currentUserPreset.id');\r\n const privileges = user.privilegeIds.filter((privilegeName) => model.privilegesArray.find((priv) => priv.id === privilegeName));\r\n\r\n return deps.restSrv\r\n .update(\r\n USER_CONTEXT,\r\n model.session.rest.account.privileges.url,\r\n { templateId, privileges },\r\n {\r\n userId: user.id,\r\n }\r\n )\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction completeRegistration(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.completeRegistration.url, user, {\r\n id: user.id,\r\n })\r\n .then(() => {\r\n deps.AlertService.doAlertSuccess(deps.gettextCatalog.getString('Account registration completed successfully'));\r\n return loadUser(deps, model, user.id);\r\n });\r\n}\r\n\r\nfunction canResendActivationEmail(deps, model, user) {\r\n return deps.restSrv.create(USER_CONTEXT, model.session.rest.account.resendActivationEmail.url, null, {\r\n id: user.id,\r\n });\r\n}\r\n\r\nfunction deleteUser(deps, model) {\r\n return deps.restSrv\r\n .remove(USER_CONTEXT, model.session.rest.account.delete.url, { id: model.user.editAccount.id }, null)\r\n .then(() => model);\r\n}\r\n\r\nfunction authenticateUser(deps, model, user) {\r\n return deps.restSrv\r\n .update(USER_CONTEXT, model.session.rest.account.completeRegistration.url, null, {\r\n id: user.id,\r\n })\r\n .then(() => loadUser(deps, model, user.id));\r\n}\r\n\r\nfunction loadLotteryLearningLink(restSrv, params) {\r\n return restSrv.list(APP_CONTEXT, params.model.session.rest.elearningLink.get.url).then((result) => {\r\n const link = _.get(result, 'link');\r\n if (_.get(params, 'user') && link) {\r\n params.user.lotteryLearningLink = link;\r\n }\r\n if (_.get(params, 'model.session') && link) {\r\n params.model.session.lotteryLearningLink = link;\r\n }\r\n if (link) {\r\n DepsService.$ngRedux.dispatch(setLearningLink(link));\r\n }\r\n return params;\r\n });\r\n}\r\n\r\nfunction getRetailerDetails(deps, model, retailerId) {\r\n return deps.restSrv\r\n .list(USER_CONTEXT, model.session.rest.user.retailerSettings.selfRegistration.url, null, {\r\n retailerId,\r\n })\r\n .then((retailer) => {\r\n model.user.editAccount.retailer = retailer;\r\n return model;\r\n });\r\n}\r\n\r\nfunction getRetailerDetailsForSecondary(deps, model, retailerId, isSecondary) {\r\n return deps.restSrv\r\n .list(USER_CONTEXT, model.session.rest.user.retailerSettings.secondaryValidation.url, null, {\r\n retailerId,\r\n isSecondary,\r\n })\r\n .then((retailer) => {\r\n model.user.editAccount.retailer = retailer;\r\n return model;\r\n });\r\n}\r\n\r\nfunction loadUserReportTo(deps, model) {\r\n const userId = model.session.id;\r\n\r\n return deps.restSrv.list(USER_CONTEXT, model.session.rest.user.reportTo.url, null, {\r\n userId,\r\n });\r\n}\r\n\r\nexport default {\r\n initializeModel,\r\n loadDictionaries,\r\n userList,\r\n loadUserByLogin,\r\n loadUserById,\r\n createUser,\r\n getUsers,\r\n promoteToPrimary,\r\n loadUser,\r\n loadAssignedUser,\r\n authenticateUser,\r\n deleteUser,\r\n updatePersonalData,\r\n updateSubordinateUser,\r\n updateUserPrivileges,\r\n activate,\r\n suspend,\r\n completeRegistration,\r\n canResendActivationEmail,\r\n loadLotteryLearningLink,\r\n registerRestSrvContext,\r\n getRetailerDetails,\r\n getRetailerDetailsForSecondary,\r\n loadRoles,\r\n loadUserReportTo,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/logic/user.js","import * as api from '../resources/banners.api';\r\nimport actionTypes from './action-types';\r\n\r\n\r\nexport const fetchBannersRequest = () => ({\r\n type: actionTypes.FETCH_BANNERS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchBannersSuccess = (result, locales) => ({\r\n type: actionTypes.FETCH_BANNERS_SUCCESS,\r\n result,\r\n locales,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBannersFailure = () => ({\r\n type: actionTypes.FETCH_BANNERS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBanners = (home = false) => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { locales, secondHandApproval, jurisdictionId } = config;\r\n\r\n dispatch(fetchBannersRequest());\r\n const result = await api.fetchBanners(secondHandApproval, jurisdictionId, home);\r\n dispatch(fetchBannersSuccess(result, locales));\r\n } catch (error) {\r\n console.error('FETCH_BANNERS', error);\r\n dispatch(fetchBannersFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/banners.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'cms';\r\n\r\nexport const entriesTransformation = (banners) => {\r\n let entries = [];\r\n Object.keys(banners).forEach((locale) => {\r\n entries = entries.concat(\r\n banners[locale].reduce(\r\n (reqData, banner) => reqData.concat({\r\n fields: appHelpers.setFieldsToEntry({\r\n [locale]: banner,\r\n }),\r\n title: 'banner',\r\n locale,\r\n id: banner.id,\r\n }),\r\n [],\r\n ),\r\n );\r\n });\r\n\r\n return entries;\r\n};\r\n\r\nexport const fetchBanners = async (secondHandApproval, jurisdictionId, home = false) => {\r\n const url = secondHandApproval && !home\r\n ? DepsService.rest.cms.carousel.second.url\r\n : DepsService.rest.cms.carousel.first.url;\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const discardBanners = async (jurisdictionId) => {\r\n const { url } = DepsService.rest.cms.carousel.discard;\r\n const queryParams = { };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const publishBanners = async (secondHandApproval, jurisdictionId, banners, interval) => {\r\n const url = secondHandApproval\r\n ? DepsService.rest.cms.carousel.second.url\r\n : DepsService.rest.cms.carousel.first.url;\r\n const entries = entriesTransformation(banners);\r\n const queryParams = {\r\n entries,\r\n properties: {\r\n interval,\r\n },\r\n };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/banners.api.js","\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'cms';\r\n\r\nconst getTermsOfUseUrl = (secondHandApproval) => {\r\n if (secondHandApproval) return DepsService.rest.cms.terms.view.second.url;\r\n return DepsService.rest.cms.terms.view.first.url;\r\n};\r\n\r\nconst getPrivacyPolicyeUrl = (secondHandApproval) => {\r\n if (secondHandApproval) return DepsService.rest.cms['privacy-policy'].second.url;\r\n return DepsService.rest.cms['privacy-policy'].first.url;\r\n};\r\n\r\nconst transformAttachments = (attachments) => {\r\n const localeKey = Object.keys(attachments);\r\n const payload = {};\r\n\r\n localeKey.forEach((locale) => {\r\n if (attachments[locale]) {\r\n payload[locale] = [{\r\n name: attachments[locale][0].name,\r\n id: attachments[locale][0].id,\r\n content: attachments[locale][0].fileSource,\r\n }];\r\n }\r\n });\r\n\r\n return payload;\r\n};\r\n\r\nconst fetchTermsOfUse = ({ secondHandApproval, jurisdictionId }) => {\r\n const url = getTermsOfUseUrl(secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchPrivacyPolicy = ({ secondHandApproval, jurisdictionId }) => {\r\n const url = getPrivacyPolicyeUrl(secondHandApproval);\r\n const queryParams = { locale: '*' };\r\n const urlParams = { jurisdictionId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst savePrivacyPolicy = ({ fields, attachments, jurisdictionId }) => {\r\n const { url } = DepsService.rest.cms['privacy-policy'].first;\r\n const payload = {\r\n jurisdictionId,\r\n entries: [\r\n {\r\n fields,\r\n attachments,\r\n },\r\n ],\r\n };\r\n\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\nconst saveTermsOfUse = ({ fields, attachments, title }) => {\r\n const { url } = DepsService.rest.cms.terms.update.first;\r\n const payload = {\r\n title,\r\n fields,\r\n attachments: transformAttachments(attachments),\r\n };\r\n\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, payload, urlParams);\r\n};\r\n\r\n// eslint-disable-next-line consistent-return\r\nconst saveTerms = ({ termsType, ...payload }) => {\r\n switch (termsType) {\r\n case 'privacyPolicy':\r\n return savePrivacyPolicy(payload);\r\n case 'termsOfUse':\r\n return saveTermsOfUse(payload);\r\n default:\r\n // eslint-disable-next-line no-console\r\n console.error('CMS_TERMS_MANAGMENT', `Cannot match terms type to: ${termsType}`);\r\n }\r\n};\r\n\r\nconst downloadTerms = async (contentId, name) => {\r\n const { url } = DepsService.rest.cms.terms.download;\r\n const queryParams = {};\r\n const urlParams = { contentId };\r\n\r\n const reports = await DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n\r\n const result = await reports.promise;\r\n\r\n window.saveAs(result.data, name);\r\n};\r\n\r\nexport default {\r\n fetchTermsOfUse,\r\n fetchPrivacyPolicy,\r\n saveTerms,\r\n downloadTerms,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/terms-management.api.js","import actionTypes from 'app/actions/action-types';\r\nimport api from 'app/resources/terms-management.api';\r\n\r\nexport const fetchTermsOfUseRequest = () => ({\r\n type: actionTypes.FETCH_CMS_TERMS_OF_USE_REQUEST,\r\n});\r\n\r\nexport const fetchTermsOfUseFailure = () => ({\r\n type: actionTypes.FETCH_CMS_TERMS_OF_USE_FAILURE,\r\n});\r\n\r\nexport const fetchTermsOfUseSuccess = (response) => ({\r\n type: actionTypes.FETCH_CMS_TERMS_OF_USE_SUCCESS,\r\n response,\r\n});\r\n\r\nexport const fetchTermsOfUse = () => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n\r\n const params = {\r\n jurisdictionId,\r\n secondHandApproval,\r\n };\r\n\r\n dispatch(fetchTermsOfUseRequest());\r\n const response = await api.fetchTermsOfUse(params);\r\n dispatch(fetchTermsOfUseSuccess(response));\r\n } catch (error) {\r\n dispatch(fetchTermsOfUseFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_CMS_TERMS_OF_USE', error);\r\n }\r\n};\r\n\r\nexport const fetchPrivacyPolicyRequest = () => ({\r\n type: actionTypes.FETCH_CMS_PRIVACY_POLICY_REQUEST,\r\n});\r\n\r\nexport const fetchPrivacyPolicyFailure = () => ({\r\n type: actionTypes.FETCH_CMS_PRIVACY_POLICY_FAILURE,\r\n});\r\n\r\nexport const fetchPrivacyPolicySuccess = (response) => ({\r\n type: actionTypes.FETCH_CMS_PRIVACY_POLICY_SUCCESS,\r\n response,\r\n});\r\n\r\nexport const fetchPrivacyPolicy = () => async (dispatch, getState) => {\r\n try {\r\n const { config } = getState();\r\n const { jurisdictionId, secondHandApproval } = config;\r\n\r\n const params = {\r\n jurisdictionId,\r\n secondHandApproval,\r\n };\r\n\r\n dispatch(fetchPrivacyPolicyRequest());\r\n const { entries } = await api.fetchPrivacyPolicy(params);\r\n dispatch(fetchPrivacyPolicySuccess(entries[0]));\r\n } catch (error) {\r\n dispatch(fetchPrivacyPolicyFailure());\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_CMS_PRIVACY_POLICY', error);\r\n }\r\n};\r\n\r\nexport const clearCmsTerms = () => ({\r\n type: actionTypes.CLEAR_CMS_TERMS,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/terms-management.actions.js","import isEmpty from 'lodash/isEmpty';\r\nimport appHelpers from 'app/app-helpers';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { cancelIconsChanges, discardIcons, fetchIcons, uploadIcon } from 'app/actions/manage-icons.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from 'app/components/home/management/components/widgets/widgets-management.html';\r\nimport * as apiWidgets from 'app/resources/widgets.api';\r\nimport { cancelWidgetsChanges, deleteWidget, fetchWidgets } from 'app/actions/widgets.actions';\r\n\r\nconst SECOND_HAND_PERMISSION = 'cms.widgetsManagement.approve';\r\nconst ICONS_MANAGEMENT_PERMISSION = 'cms.iconsManagement';\r\nexport const DIRTY_FORM = 'widgetsManagement';\r\n\r\nconst mapStateToThis = ({ session, config, ui, manageIcons, widgets, dirtyForms }) => {\r\n const { locale } = session;\r\n const { locales, urlPattern, urlPatternError, maxWidgetsNumber, secondHandApproval, jurisdictionId } = config;\r\n const { selectedLanguage } = ui;\r\n const { iconsApprovalStatus, entries, error, notification, isFileUploading } = manageIcons;\r\n const { copyItems, draft, isLoading } = widgets;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n iconsApprovalStatus,\r\n entries,\r\n error,\r\n notification,\r\n isFileUploading,\r\n dirtyForm: dirtyForms[DIRTY_FORM],\r\n urlPattern,\r\n urlPatternError,\r\n maxWidgetsNumber,\r\n secondHandApproval,\r\n jurisdictionId,\r\n copyItems,\r\n draft,\r\n isLoading,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n uploadIcon,\r\n fetchIcons,\r\n cancelIconsChanges,\r\n discardIcons,\r\n fetchWidgets,\r\n cancelWidgetsChanges,\r\n deleteWidget,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', '$sce', 'gettextCatalog', 'DirtyForm', 'Notifications')\r\nclass WidgetsManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.activeTabIdx = 'widgets';\r\n this.secondHandApprovalActive = this.checkAccess(SECOND_HAND_PERMISSION);\r\n this.iconsManagement = this.checkAccess(ICONS_MANAGEMENT_PERMISSION);\r\n this.asSortableOptions = {\r\n dragMove: appHelpers.dragMove,\r\n orderChanged: () => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n },\r\n };\r\n if (!this.$state.params.skipReloadData || isEmpty(this.copyItems)) {\r\n await this.initWidgets();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initWidgets() {\r\n await this.fetchWidgets();\r\n this.setWidgetEntries(this.locale);\r\n }\r\n\r\n setWidgetEntries(locale) {\r\n const key = Object.keys(this.copyItems).find((localeKey) => localeKey === locale);\r\n if (!key) {\r\n this.copyItems[locale] = {};\r\n }\r\n }\r\n\r\n onTabSelect(tabId) {\r\n this.DirtyForm.check(this.DIRTY_FORM, (dirty) => {\r\n if (dirty) {\r\n if (tabId === 'widgets') {\r\n this.cancelIconsChanges();\r\n } else if (tabId === 'icons') {\r\n this.cancelWidgetsChanges();\r\n }\r\n }\r\n this.activeTabIdx = tabId;\r\n });\r\n }\r\n\r\n discardWidgetsChanges() {\r\n return apiWidgets\r\n .discardWidgetsChanges(this.jurisdictionId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been discarded')))\r\n .then(() => this.initWidgets())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n onCancelWidgetsChanges() {\r\n this.cancelWidgetsChanges();\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n }\r\n\r\n discardIconsChanges() {\r\n return this.discardIcons().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n onDeleteWidget(index) {\r\n this.deleteWidget(index);\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n publishWidgetsChanges() {\r\n return apiWidgets\r\n .publishWidgets(this.secondHandApproval, this.jurisdictionId, this.locales, this.copyItems)\r\n .then(() => this.Notifications.alertSuccess(this.getSuccessText()))\r\n .then(() => this.initWidgets())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n publishIconsChanges() {\r\n return this.uploadIcon().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n getSuccessText() {\r\n return this.secondHandApprovalActive || !this.secondHandApproval\r\n ? this.gettextCatalog.getString('Changes have been published')\r\n : this.gettextCatalog.getString('Changes have been submitted for approval');\r\n }\r\n\r\n // eslint-disable-next-line class-methods-use-this\r\n onDownloadWidgetAttachment(widget) {\r\n return apiWidgets.downloadAttachment(widget);\r\n }\r\n\r\n isSubmitForApprovalAvailable() {\r\n return this.dirtyForm && this.secondHandApproval && !this.secondHandApprovalActive;\r\n }\r\n\r\n isDiscardWidgetsChangesAvailable() {\r\n return this.secondHandApproval && this.secondHandApprovalActive && this.draft;\r\n }\r\n\r\n isPublishWidgetsAvailable() {\r\n return (\r\n (!this.secondHandApproval && this.dirtyForm) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.draft) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.dirtyForm)\r\n );\r\n }\r\n\r\n isDiscardIconsChangesAvailable() {\r\n return this.secondHandApproval && this.secondHandApprovalActive && this.iconsApprovalStatus === 'DRAFT';\r\n }\r\n\r\n isPublishIconsAvailable() {\r\n return (\r\n (!this.secondHandApproval && this.dirtyForm) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.iconsApprovalStatus === 'DRAFT') ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.dirtyForm)\r\n );\r\n }\r\n}\r\n\r\nexport default class WidgetsManagementComponent {\r\n constructor() {\r\n this.controller = WidgetsManagementController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/components/home/management/components/widgets/widgets-management-component.js","module.exports = {\"roles\":{\"ADMIN\":{\"retailerType\":\"ADMIN\",\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"4\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"6\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"7\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"8\":{\"id\":\"messages\",\"label\":{\"en_US\":\"Messages\",\"es_US\":\"Mensajes\",\"cs_CZ\":\"Zprávy\"},\"iconClass\":\"fa-envelope\",\"sref\":\"message.list\",\"e2eId\":\"message.list\"},\"9\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"anonymous\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"3\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"4\":{\"id\":\"login\",\"label\":{\"en_US\":\"Login\",\"es_US\":\"Login\",\"cs_CZ\":\"Přihlášení\"},\"iconClass\":\"fa-sign-in\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_PRIMARY_CHAIN_HEAD\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"10\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"11\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"12\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"13\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_PRIMARY_INDEPENDENT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"12\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY_INDEPENDENT\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY_CHAIN_HEAD\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_PRIMARY_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_SECONDARY_CHAIN_HEAD_SUPER_CHAIN\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"3\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_GROUP\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"RETAILER_PROSPECTIVE\":{\"topmenu\":{\"1\":{\"id\":\"lang\",\"label\":{\"en_US\":\"Change language\",\"es_US\":\"Change language\",\"cs_CZ\":\"Změna jazyka\"}},\"2\":{\"id\":\"logout\",\"label\":{\"en_US\":\"Logout\",\"es_US\":\"Salir\",\"cs_CZ\":\"Odhlášení\"},\"iconClass\":\"fa-signOut\",\"sref\":\"auth-logout\",\"e2eId\":\"auth-logout\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"},\"7\":{\"id\":\"welcome\",\"label\":{\"en_US\":\"Welcome\",\"es_US\":\"Bienvenido\",\"cs_CZ\":\"Vítejte\"}},\"9\":{\"id\":\"dropdown\",\"label\":{\"en_US\":\"Settings\",\"es_US\":\"Settings\",\"cs_CZ\":\"Nastavení\"},\"e2eId\":\"topmenu-dropdown\"},\"10\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-user\",\"e2eId\":\"faq-user\"},\"11\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"}}},\"mock\":{\"topmenu\":{\"9\":{\"id\":\"account\",\"label\":{\"en_US\":\"My Account\",\"es_US\":\"Mi Cuenta\",\"cs_CZ\":\"Můj účet\"},\"sref\":\"user-myAccount\",\"e2eId\":\"user-myAccount\"},\"10\":{\"id\":\"login\",\"label\":{\"en_US\":\"Login\",\"es_US\":\"Login\",\"cs_CZ\":\"Přihlášení\"},\"iconClass\":\"fa-sign-in\"}}},\"RETAILER_PRIMARYTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_SECONDARYTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_GROUPTemporary\":{\"topmenu\":{\"1\":{\"id\":\"faq\",\"label\":{\"en_US\":\"FAQ\",\"es_US\":\"Preguntas frecuentes\",\"cs_CZ\":\"FAQ\"},\"iconClass\":\"fa-question\",\"sref\":\"faq-view\",\"e2eId\":\"faq-view\"},\"5\":{\"id\":\"contact\",\"label\":{\"en_US\":\"Contact Us\",\"es_US\":\"Contáctanos\",\"cs_CZ\":\"Kontaktujte nás\"},\"iconClass\":\"fa-phone\",\"sref\":\"contact-view\",\"href\":\"#/contact-us\",\"e2eId\":\"contact-view\"}}},\"RETAILER_PRIMARY\":{\"topmenu\":{\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}},\"RETAILER_SECONDARY\":{\"topmenu\":{\"12\":{\"id\":\"retailerSettings\",\"label\":{\"en_US\":\"Retailer Settings\",\"es_US\":\"Configuración de Minorista\",\"cs_CZ\":\"Nastavení Partnera\"},\"sref\":\"retailer-settings\",\"e2eId\":\"retailer-settings\"}}}},\"dictionaries\":{\"access\":{\"true\":{\"label\":\"Active\"},\"false\":{\"label\":\"Inactive\"}},\"userRole4SmsReport\":{\"RETAILER_PRIMARY\":{\"id\":\"RETAILER_PRIMARY\",\"label\":\"Retailer Primary\"},\"RETAILER_SECONDARY\":{\"id\":\"RETAILER_SECONDARY\",\"label\":\"Retailer Secondary\"}},\"employeeRole\":{\"CLERK\":{\"id\":\"CLERK\",\"label\":\"Clerk\"},\"MANAGER\":{\"id\":\"MANAGER\",\"label\":\"Manager\"}},\"usrRetailerStatuses\":[{\"id\":1,\"label\":\"Inactive\"},{\"id\":2,\"label\":\"Active\"},{\"id\":3,\"label\":\"Terminated\"},{\"id\":4,\"label\":\"Deleted\"},{\"id\":5,\"label\":\"Pending\"},{\"id\":6,\"label\":\"Approved\"},{\"id\":7,\"label\":\"Cancelled\"}],\"usrAccStatusesDisplay\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"},{\"id\":\"REGISTRATION_IN_PROGRESS\",\"label\":\"Registration in progress\"},{\"id\":\"REGISTERED\",\"label\":\"Registered, not authenticated\"},{\"id\":\"REGISTRATION_COMPLETED\",\"label\":\"Registration completed, not authenticated\"},{\"id\":\"SUSPENDED\",\"label\":\"Suspended\"},{\"id\":\"CREATED\",\"label\":\"Created\"}],\"usrAccStatuses\":{\"ADMIN\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"}],\"RETAILER_PRIMARY\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"}],\"LOTTERY_STAFF\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"},{\"id\":\"REGISTRATION_IN_PROGRESS\",\"label\":\"Registration in progress\"},{\"id\":\"REGISTERED\",\"label\":\"Registered, not authenticated\"},{\"id\":\"REGISTRATION_COMPLETED\",\"label\":\"Registration completed, not authenticated\"}],\"RETAILER_SECONDARY\":[{\"id\":\"ACTIVE\",\"label\":\"Active\"},{\"id\":\"INACTIVE\",\"label\":\"Inactive\"},{\"id\":\"REGISTRATION_IN_PROGRESS\",\"label\":\"Registration in progress\"},{\"id\":\"REGISTERED\",\"label\":\"Registered, not authenticated\"},{\"id\":\"REGISTRATION_COMPLETED\",\"label\":\"Registration completed, not authenticated\"}]},\"userStatusReasons\":[{\"id\":-1,\"label\":\"Not applicable\"},{\"id\":0,\"label\":\"Suspended service\"},{\"id\":1,\"label\":\"Suspended security violation\"},{\"id\":2,\"label\":\"Suspended financial\"},{\"id\":3,\"label\":\"Suspended exceeded max login attempts\"},{\"id\":4,\"label\":\"Suspended locked\"},{\"id\":5,\"label\":\"Suspended password expired\"},{\"id\":6,\"label\":\"Suspended other\"},{\"id\":7,\"label\":\"Suspended exceeded max answers attempts\"},{\"id\":10,\"label\":\"Inactive removal by death\"},{\"id\":11,\"label\":\"Inactive voluntary withdrawal\"},{\"id\":12,\"label\":\"Inactive no longer associated with retailer\"},{\"id\":13,\"label\":\"Inactive security violation\"},{\"id\":14,\"label\":\"Inactive other\"},{\"id\":15,\"label\":\"Parent account terminated\"},{\"id\":16,\"label\":\"Parent account activated\"},{\"id\":18,\"label\":\"Activate suspended service\"},{\"id\":20,\"label\":\"Primary suspended service\"},{\"id\":22,\"label\":\"Restricted system user\"},{\"id\":24,\"label\":\"Lottery requested suspension\"},{\"id\":26,\"label\":\"User no longer restricted\"},{\"id\":28,\"label\":\"Lottery requested reinstatement\"},{\"id\":30,\"label\":\"Activated other\"},{\"id\":31,\"label\":\"Fraudulent activity\"},{\"id\":32,\"label\":\"Change ownership\"},{\"id\":33,\"label\":\"Change employment position\"},{\"id\":34,\"label\":\"Inactivated in error\"},{\"id\":35,\"label\":\"Investigation successfully\"},{\"id\":36,\"label\":\"Other\"}],\"user_status_reasons_active\":[{\"id\":26,\"label\":\"User no longer restricted\"},{\"id\":28,\"label\":\"Lottery requested reinstatement\"},{\"id\":30,\"label\":\"Other\"}],\"user_status_reasons_suspended\":[{\"id\":22,\"label\":\"Restricted system user\"},{\"id\":24,\"label\":\"Lottery requested suspension\"},{\"id\":30,\"label\":\"Other\"}],\"generic_bool\":[{\"id\":true,\"label\":\"YES\"},{\"id\":false,\"label\":\"NO\"}]},\"training\":{\"index\":{\"default\":13,\"RETAILER_PRIMARY_CHAIN_HEAD\":7,\"RETAILER_SECONDARY_CHAIN_HEAD\":6,\"RETAILER_PRIMARY_INDEPENDENT\":6,\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":6,\"RETAILER_SECONDARY_INDEPENDENT\":5,\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":5,\"RETAILER_GROUP\":5,\"RETAILER_PRIMARY_SUPER_CHAIN\":6,\"RETAILER_SECONDARY_SUPER_CHAIN\":6,\"RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN\":6},\"config\":{\"id\":\"training\",\"label\":{\"en_US\":\"Training\",\"es_US\":\"Entrenamiento\",\"cs_CZ\":\"Školení\"},\"iconClass\":\"fa-graduation-cap\",\"e2eId\":\"training\",\"plainLink\":true,\"target\":\"_blank\"},\"roles\":[\"RETAILER_PRIMARY_INDEPENDENT\",\"RETAILER_PRIMARY_CHAIN_HEAD\",\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\",\"RETAILER_SECONDARY_INDEPENDENT\",\"RETAILER_SECONDARY_CHAIN_HEAD\",\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\",\"RETAILER_GROUP\",\"RETAILER_PRIMARY_SUPER_CHAIN\",\"RETAILER_SECONDARY_SUPER_CHAIN\",\"RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN\"]},\"branding\":{\"index\":{\"default\":14,\"RETAILER_PRIMARY_CHAIN_HEAD\":8,\"RETAILER_SECONDARY_CHAIN_HEAD\":7,\"RETAILER_PRIMARY_INDEPENDENT\":7,\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\":7,\"RETAILER_SECONDARY_INDEPENDENT\":6,\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\":6},\"config\":{\"id\":\"branding\",\"label\":{\"en_US\":\"Brand Guide\",\"es_US\":\"Brand Guide\",\"cs_CZ\":\"Průvodce značkou\"},\"iconClass\":\"fa-bullseye\",\"e2eId\":\"branding\",\"plainLink\":true,\"target\":\"_blank\"},\"roles\":[\"RETAILER_PRIMARY_INDEPENDENT\",\"RETAILER_PRIMARY_CHAIN_HEAD\",\"RETAILER_PRIMARY_CHAIN_SUBORDINATE\",\"RETAILER_SECONDARY_INDEPENDENT\",\"RETAILER_SECONDARY_CHAIN_HEAD\",\"RETAILER_SECONDARY_CHAIN_SUBORDINATE\"]},\"cms\":{\"index\":{\"default\":4},\"config\":{\"id\":\"cms\",\"label\":{\"en_US\":\"Manage Content\",\"es_US\":\"Administrar contenido\",\"cs_CZ\":\"Správa obsahu\"},\"e2eId\":\"manage-content\",\"iconClass\":\"fa-folder-open\"},\"roles\":[\"ADMIN\"]},\"cms-bannersManagement\":{\"index\":{\"default\":\"4.0\"},\"config\":{\"id\":\"cms.bannersManagement\",\"label\":{\"en_US\":\"Home Page Banners\",\"es_US\":\"Banner página principal\",\"cs_CZ\":\"Bannery na domovské stránce\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-bannersManagement\",\"e2eId\":\"cms-bannersManagement\"},\"roles\":[\"ADMIN\"]},\"cms-widgetsManagement\":{\"index\":{\"default\":\"4.1\"},\"config\":{\"id\":\"cms.widgetsManagement\",\"label\":{\"en_US\":\"Home Page Widgets\",\"es_US\":\"Widgets página principal\",\"cs_CZ\":\"Widgety na domovské stránce\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-widgetsManagement\",\"e2eId\":\"cms-widgetsManagement\"},\"roles\":[\"ADMIN\"]},\"cms-termsOfUseManagement\":{\"index\":{\"default\":\"4.2\"},\"config\":{\"id\":\"cms.termsOfUseManagement\",\"label\":{\"en_US\":\"Legal Policies\",\"es_US\":\"Politicas Legales\",\"cs_CZ\":\"Právní zásady\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-termsOfUseManagement\",\"e2eId\":\"cms-termsOfUseManagement\"},\"roles\":[\"ADMIN\"]},\"cms-loginPopupManagement\":{\"index\":{\"default\":\"4.3\"},\"config\":{\"id\":\"cms.loginPopupManagement\",\"label\":{\"en_US\":\"Login Notification\",\"es_US\":\"Notificación de inicio de sesión\",\"cs_CZ\":\"Oznámení o přihlášení\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-loginPopupManagement\",\"e2eId\":\"cms-loginPopupManagement\"},\"roles\":[\"ADMIN\"]},\"cms-manageConfigurableLink\":{\"index\":{\"default\":\"4.4\"},\"config\":{\"id\":\"cms.manageConfigurableLink\",\"label\":{\"en_US\":\"Manage Configurable Link\",\"es_US\":\"Gestión de enlaces configurables\",\"cs_CZ\":\"Správa konfigurovatelného odkazu\"},\"iconClass\":\"fa-folder\",\"sref\":\"cms-manageConfigurableLink\",\"e2eId\":\"cms-manageConfigurableLink\"},\"roles\":[\"ADMIN\"]},\"igtLogoPrefix\":\"${env.arw.igtLogoPrefix}\",\"fileSizeLimit\":50000000,\"baseUrl\":\"${env.arw.baseUrl}\",\"restApi\":\"${env.arw.restApi}\",\"oAuthClientId\":\"${env.arw.oAuthClientId}\",\"analytics\":{\"containers\":{\"main\":\"${env.arw.analyticsContainers}\"},\"trackers\":{\"trackExceptions\":true}},\"partnerId\":1,\"defaultDashboard\":\"summary\",\"refreshMenuStates\":[\"login.email\",\"home\"],\"defaultPageSize\":[10,25,50,100],\"defaultPageNo\":0,\"defaultSortDirection\":true,\"dateFormatShort\":\"l\",\"dateFormat\":\"ll\",\"dateFormatFull\":\"lll\",\"dateFormatWithTime\":\"l HH:mm\",\"pageNoKey\":\"pageNumber\",\"pageSizeKey\":\"pageSize\",\"sortColumnKey\":\"sortProperty\",\"directionKey\":\"ascending\",\"filtersKey\":\"filters\",\"userType\":\"user\",\"activityType\":\"activity\",\"securityType\":\"security\",\"jobSchedulingType\":\"jobScheduling\",\"jobHistoryType\":\"jobHistory\",\"accountsAdminType\":\"accountsAdmin\",\"accountsSimpleType\":\"accountsSimple\",\"anonymous\":\"anonymous\",\"mock\":\"mock\",\"copyrightYear\":\"2017\",\"carriers\":{\"lowCost\":false,\"standard\":true},\"naValue\":\"n/a\",\"defaultLoggedInPrivileges\":{\"app\":{\"postLoginDictionaries\":{},\"previewTermsOfUse\":{},\"getContent\":{}},\"auth\":{\"resetSession\":{}}},\"phoneMask\":\"999-999-9999\",\"phoneMaskExt\":\"000-000-0000 000\",\"phoneExtRegex\":\"\\\\d{1,3}\",\"maxWidgetsNumber\":12,\"maxBannersNumber\":10,\"widgetTitleMaxLength\":200,\"widgetSubtitleMaxLength\":400,\"homepageComplaint\":{\"filePath\":\"./images/playresponsibly_logo.jpg\"},\"homepageLogos\":[{\"imagePath\":\"./images/playresponsibly_logo.jpg\",\"redirectUrl\":\"http://www.google.pl\",\"enabled\":true,\"loggedIn\":false},{\"imagePath\":\"./images/playresponsibly_logo.jpg\",\"redirectUrl\":\"http://www.google.pl\",\"enabled\":true,\"loggedIn\":false},{\"imagePath\":\"./images/wla_logo.png\",\"redirectUrl\":\"http://www.onet.pl\",\"enabled\":true,\"loggedIn\":false},{\"imagePath\":\"./images/playresponsibly_logo.jpg\",\"redirectUrl\":\"http://www.google.pl\",\"enabled\":true,\"loggedIn\":true},{\"imagePath\":\"./images/wla_logo.png\",\"redirectUrl\":\"http://www.onet.pl\",\"enabled\":true,\"loggedIn\":true}],\"urlPattern\":\"(http|https)://[\\\\w-]+(\\\\.[\\\\w-]+)+([\\\\w.,@?^=%&:/~+#-]*[\\\\w@?^=%&/~+#-])\",\"urlPatternError\":{\"en_US\":\"Link Button to a URL must start with 'http://' or 'https://' prefix. Must contain at least one '.' (dot) character, apart from the ':' and '/' characters, can contain only alphabetic characters and digits. Other special characters and whitespaces are not allowed.\",\"es_US\":\"Link Button to a URL must start with 'http://' or 'https://' prefix. Must contain at least one '.' (dot) character, apart from the ':' and '/' characters, can contain only alphabetic characters and digits. Other special characters and whitespaces are not allowed.\"},\"ssnRegex\":\"^(\\\\d{4})$\",\"brandingUrl\":\"\",\"brandingLabel\":{\"en_US\":\"Brand Guide\",\"es_US\":\"Brand Guide\"},\"maxFirstNameLength\":60,\"maxLastNameLength\":60,\"maxEmailLength\":120,\"googleMapsUrl\":\"https://www.google.com/maps/\",\"documents\":{\"keywordMaxLength\":25},\"validationRules\":{\"emailNotificationTemplate\":{\"subject\":{\"length\":128},\"body\":{\"length\":512}}},\"faq\":{\"ckeditor\":{\"toolbarGroups\":[{\"name\":\"tools\",\"groups\":[\"tools\"]},{\"name\":\"clipboard\",\"groups\":[\"clipboard\",\"undo\"]},{\"name\":\"editing\",\"groups\":[\"find\",\"selection\",\"spellchecker\",\"editing\"]},{\"name\":\"links\",\"groups\":[\"links\"]},{\"name\":\"forms\",\"groups\":[\"forms\",\"document\",\"doctools\"]},{\"name\":\"document\",\"groups\":[\"mode\",\"document\",\"doctools\"]},\"/\",{\"name\":\"basicstyles\",\"groups\":[\"basicstyles\",\"cleanup\"]},{\"name\":\"paragraph\",\"groups\":[\"list\",\"indent\",\"blocks\",\"align\",\"bidi\",\"paragraph\"]},{\"name\":\"styles\",\"groups\":[\"styles\"]},{\"name\":\"colors\",\"groups\":[\"colors\"]},{\"name\":\"others\",\"groups\":[\"others\"]}]}},\"privilegesCustomization\":true,\"tableConfig\":{\"storeProfiles\":\"storeNumber,displayNumber,businessName,street1,zipCode,corporateAccountRegionCode\",\"subordinatesList\":\"storeNumber,displayNumber,corporateAccountRegionCode,businessName,street1,zipCode\",\"inventoryHistoryChain\":\"storeNum,retailerId,gameName,gameNumber,packNo,packGrossValue,status,orderType\",\"inventoryHistoryIndependent\":\"gameName,gameNumber,packNo,pieceValue,packGrossValue,status,issuedDate,orderType,confirmedDate,activatedDate,settledDate\",\"orderHistoryChain\":\"storeNum,retailerId,orderNumber,statusDesc,orderIssuedDate,orderConfirmedDate,orderType,prefixedTrackingNumber,detailGrossValue\",\"orderHistoryIndependent\":\"orderNumber,statusDesc,orderIssuedDate,orderConfirmedDate,orderType,prefixedTrackingNumber,detailGrossValue\",\"cumulativeHistory\":\"gameName,type,winningAmount,validationDate,ticketNumber\",\"earningsHistory\":\"source,instantGames,drawGames,total\",\"bigWinnersHistory\":\"gameName,wonAmount,drawDate,storeNum,retailerId,retailerName\",\"lvmSalesHistory\":\"terminalKey,oosfactor,estLostSales,drawTotal,instantTotal,total\"},\"availableWidgets\":{\"SUPER_CHAIN\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"RETAILER_PROSPECTIVE\":{\"summary\":[{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"Messages\",\"type\":\"messages\"}]},\"STORE_PROFILE\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"Actual and Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Store Sales Rank\",\"type\":\"store-sales-rank\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"},{\"name\":\"Bond Renewal\",\"type\":\"bond-renewal\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"INDEPENDENT\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Bond Renewal\",\"type\":\"bond-renewal\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Your Lottery Representatives\",\"type\":\"lottery-representatives\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"CHAIN_HEAD\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Bond Renewal\",\"type\":\"bond-renewal\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Chain Sales Rank - Last 13 Weeks\",\"type\":\"chain-sales-rank\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]},\"CHAIN_SUBORDINATE\":{\"summary\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"Top 5 VLT Games\",\"type\":\"top-vlt-games\"},{\"name\":\"Site Operational Status\",\"type\":\"site-operational-status\"},{\"name\":\"Tickets\",\"type\":\"tickets\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-summary\"},{\"name\":\"License Renewal\",\"type\":\"license-renewal\"},{\"name\":\"Earnings\",\"type\":\"earnings\"},{\"name\":\"Net Earnings\",\"type\":\"net-earnings\"},{\"name\":\"Net Sales\",\"type\":\"net-sales\"},{\"name\":\"Messages\",\"type\":\"messages\"},{\"name\":\"EFT Amount\",\"type\":\"eft-amount\"},{\"name\":\"Prizes Paid\",\"type\":\"cumulative-winners\"},{\"name\":\"Jackpots & Next Draws\",\"type\":\"jackpots-next-draws\"},{\"name\":\"You Sold Big Winners!\",\"type\":\"big-winners\"},{\"name\":\"You Sold Big Winners! - Draw Games\",\"type\":\"big-winners-draw\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Your Lottery Representatives\",\"type\":\"lottery-representatives\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Store Sales Rank\",\"type\":\"store-sales-rank\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"LVM Sales\",\"type\":\"lvm-sales\"},{\"name\":\"Site Financial Status\",\"type\":\"site-financial-status\"},{\"name\":\"My Net Sales Performance\",\"type\":\"my-net-sales-performance\"}],\"instant\":[{\"name\":\"Games Ending\",\"type\":\"games-ending\"},{\"name\":\"You Sold Big Winners! - Instant Games\",\"type\":\"big-winners-instant\"},{\"name\":\"Configurable Link\",\"type\":\"configurable-link-instant\"},{\"name\":\"Top-Selling Games\",\"type\":\"top-selling-games\"},{\"name\":\"My Price Point Mix\",\"type\":\"my-price-point-mix\"},{\"name\":\"View Inventory\",\"type\":\"view-full-game-inventory\"},{\"name\":\"My Slow-Moving Games\",\"type\":\"my-slow-moving-games\"},{\"name\":\"New Games\",\"type\":\"new-games\"},{\"name\":\"Actual / Projected Settlements\",\"type\":\"actual-and-projected-settlements\"},{\"name\":\"Current Liability\",\"type\":\"current-instant-game-liability\"},{\"name\":\"My Instant Ticket Sales\",\"type\":\"my-instant-ticket-sales\"}]}},\"invoiceDays\":52,\"widgetConfig\":{\"bondRenewal\":\"retailerId,storeId\"},\"widgetsDataJackpotsAndDraws\":\"Lotto,Numbers,Take Five,All or Nothing,Powerball,Win 4,Mega Millions,Quick Draw,G1X2,Raffle,Pick 10,Addon,pwrb,Keno\",\"colorScale\":{\"CHAIN_HEAD\":\"#03A9F4\",\"CHAIN_SUBORDINATE\":\"#03A9F4\",\"INDEPENDENT\":\"#F7971D\"},\"layoutsConfig\":{\"6-6\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"}]}]},\"4-8\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"}]}]},\"4-4-4\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]}]},\"12/4-4-4\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]}]},\"4-4-4/12/4-8\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"}]}]},\"12/6-6\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"}]}]},\"12/6-6/12\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-6 col-md-6 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"}]}]},\"8-4/4-4-4\":{\"rows\":[{\"columns\":[{\"classes\":\"col-lg-8 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]},{\"columns\":[{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"},{\"classes\":\"col-lg-4 col-md-6 col-sm-12 col-xs-12\"}]}]}},\"jackpotsAndDrawsEstimatedCashValueLabel\":\"Cash Value\",\"jackpotsAndDrawsEstimatedCashValueVisible\":true,\"validatedPackPercent\":75,\"instantWidgetsValidationThreshold\":50,\"instantWidgetsStaleGames\":30,\"instantWidgets\":{\"daysToLaunch\":14,\"specifiedDate\":true,\"daysAfterLaunch\":14,\"newGameDays\":30,\"retailersInZipCodeThreshold\":5},\"ArwAutoActivatedConfirmedAlert\":{\"numberOfDays\":120},\"announcements\":{\"titleMaxLength\":150},\"shareTemplates\":{\"CUMMULATIVE_WINNERS\":{\"INDEPENDENT\":{\"en_US\":\"We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! @LOCATION_NAME, LOCATION_CITY. We’re a #LuckyLotteryLocation. Come Play!\",\"es_US\":\"ES We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! @LOCATION_NAME, LOCATION_CITY. We’re a #LuckyLotteryLocation. Come Play!\"},\"CHAIN_HEAD\":{\"en_US\":\"We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! We’re a #LuckyLotteryLocation. Come Play!\",\"es_US\":\"ES We’ve sold GAME_WON of winning lottery tickets so far this TIMEFRAME! We’re a #LuckyLotteryLocation. Come Play!\"}},\"BIG_WINNERS\":{\"INDEPENDENT\":{\"instant\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nClaimed on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nClaimed on: DRAWN_DATE\\nCome Play!\"},\"draw\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nDrawn on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nDrawn on: DRAWN_DATE\\nCome Play!\"}},\"CHAIN_HEAD\":{\"instant\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nClaimed on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nClaimed on: DRAWN_DATE\\nCome Play!\"},\"draw\":{\"en_US\":\"We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nDrawn on: DRAWN_DATE\\nCome Play!\",\"es_US\":\"ES We sold a big GAME_NAME winner! Congratulations to our customer who won:\\nGAME_WON\\nSold by #STORE ADDRESS, CITY, STATE POSTAL\\nDrawn on: DRAWN_DATE\\nCome Play!\"}}},\"JACKPOTS\":{\"INDEPENDENT\":{\"en_US\":\"Big jackpot coming up! Don’t miss out – get your tickets soon. #HASHTAG_NAME\\nGAME_NAME JACKPOT\\nGAME_AMOUNT\",\"es_US\":\"ES Big jackpot coming up! Don’t miss out – get your tickets soon. #HASHTAG_NAME\\nGAME_NAME JACKPOT\\nGAME_AMOUNT\"}}},\"bigWinnersOnlinePosterDateText\":{\"en_US\":\"WINNING DATE\",\"es_US\":\"WINNING DATE\"},\"bigWinnersInstantPosterDateText\":{\"en_US\":\"SOLD ON\",\"es_US\":\"SOLD ON\"},\"widgets\":[{\"type\":\"games-ending\",\"permission\":\"dashboard.widget.gamesEnding\",\"component\":\"\"},{\"type\":\"top-vlt-games\",\"permission\":\"dashboard.widget.topVltGames\",\"component\":\"\"},{\"type\":\"site-financial-status\",\"permission\":\"dashboard.widget.siteFinancialStatus\",\"component\":\"\"},{\"type\":\"site-operational-status\",\"permission\":\"dashboard.widget.siteOperationalStatus\",\"component\":\"\"},{\"type\":\"tickets\",\"permission\":\"dashboard.widget.tickets\",\"component\":\"\"},{\"type\":\"configurable-link-summary\",\"permission\":\"dashboard.widget.configurableLink.summary\",\"component\":\"\"},{\"type\":\"configurable-link-instant\",\"permission\":\"dashboard.widget.configurableLink.instant\",\"component\":\"\"},{\"type\":\"earnings\",\"permission\":\"dashboard.widget.earnings\",\"component\":\"\"},{\"type\":\"net-earnings\",\"permission\":\"dashboard.widget.netEarnings\",\"component\":\"\"},{\"type\":\"eft-amount\",\"permission\":\"dashboard.widget.eftAmount\",\"component\":\"\"},{\"type\":\"jackpots-next-draws\",\"permission\":\"dashboard.widget.jackpotsNextDraws\",\"component\":\"\"},{\"type\":\"net-sales\",\"permission\":\"dashboard.widget.netSales\",\"component\":\"\"},{\"type\":\"big-winners\",\"permission\":\"dashboard.widget.bigWinners\",\"component\":\"\"},{\"type\":\"big-winners-instant\",\"permission\":\"dashboard.widget.bigWinnersInstant\",\"component\":\"\"},{\"type\":\"big-winners-draw\",\"permission\":\"dashboard.widget.bigWinnersDraw\",\"component\":\"\"},{\"type\":\"cumulative-winners\",\"permission\":\"dashboard.widget.cumulativeWinners\",\"component\":\"\"},{\"type\":\"current-instant-game-liability\",\"permission\":\"dashboard.widget.currentInstantGameLiability\",\"component\":\"\"},{\"type\":\"actual-and-projected-settlements\",\"permission\":\"dashboard.widget.actualAndProjectedSettlements\",\"component\":\"\"},{\"type\":\"new-games\",\"permission\":\"dashboard.widget.newGames\",\"component\":\"\"},{\"type\":\"my-slow-moving-games\",\"permission\":\"dashboard.widget.mySlowMovingGames\",\"component\":\"\"},{\"type\":\"my-price-point-mix\",\"permission\":\"dashboard.widget.myPricePointMix\",\"component\":\"\"},{\"type\":\"my-net-sales-performance\",\"permission\":\"dashboard.widget.myNetSalesPerformance\",\"component\":\"\"},{\"type\":\"view-full-game-inventory\",\"permission\":\"dashboard.widget.gameInventory\",\"component\":\"\"},{\"type\":\"top-selling-games\",\"permission\":\"dashboard.widget.topSellingGames\",\"component\":\"\"},{\"type\":\"messages\",\"permission\":\"dashboard.widget.messages\",\"component\":\"\"},{\"type\":\"lottery-representatives\",\"permission\":\"dashboard.widget.lotteryRepresentatives\",\"component\":\"\"},{\"type\":\"self-service-out-of-stock\",\"permission\":\"dashboard.widget.selfServiceOutOfStock\",\"component\":\"\"},{\"type\":\"license-renewal\",\"permission\":\"dashboard.widget.licenseRenewal\",\"component\":\"\"},{\"type\":\"bond-renewal\",\"permission\":\"dashboard.widget.bondRenewal\",\"component\":\"\"},{\"type\":\"selling-terminals\",\"permission\":\"dashboard.widget.sellingTerminals\",\"component\":\"\"},{\"type\":\"chain-sales-rank\",\"permission\":\"dashboard.widget.chainSalesRank\",\"component\":\"\"},{\"type\":\"store-sales-rank\",\"permission\":\"dashboard.widget.storeSalesRank\",\"component\":\"\"},{\"type\":\"end-of-game\",\"permission\":\"dashboard.widget.endOfGame\",\"component\":\"\"},{\"type\":\"lvm-sales\",\"permission\":\"dashboard.widget.lvmSales\",\"component\":\"\"},{\"type\":\"my-instant-ticket-sales\",\"permission\":\"dashboard.widget.myInstantTicketSales\",\"component\":\"\"}],\"ckeditor\":{\"language\":\"en\",\"allowedContent\":true,\"entities\":false,\"uiColor\":\"#FAFAFA\",\"extraPlugins\":\"autogrow,colorbutton,panelbutton\",\"autoGrow_minHeight\":250,\"autoGrow_maxHeight\":1250,\"autoGrow_onStartup\":true,\"autoGrow_bottomSpace\":25,\"toolbarGroups\":[{\"name\":\"tools\",\"groups\":[\"tools\"]},{\"name\":\"clipboard\",\"groups\":[\"clipboard\",\"undo\"]},{\"name\":\"editing\",\"groups\":[\"find\",\"selection\",\"spellchecker\",\"editing\"]},{\"name\":\"links\",\"groups\":[\"links\"]},{\"name\":\"insert\",\"groups\":[\"insert\"]},{\"name\":\"forms\",\"groups\":[\"forms\"]},{\"name\":\"document\",\"groups\":[\"mode\",\"document\",\"doctools\"]},{\"name\":\"basicstyles\",\"groups\":[\"basicstyles\",\"cleanup\"]},{\"name\":\"paragraph\",\"groups\":[\"list\",\"indent\",\"blocks\",\"align\",\"bidi\",\"paragraph\"]},{\"name\":\"styles\",\"groups\":[\"styles\"]},{\"name\":\"colors\",\"groups\":[\"colors\"]},{\"name\":\"others\",\"groups\":[\"others\"]}],\"removeButtons\":\"Subscript,Superscript,Cut,PasteText,Unlink,Anchor,SpecialChar,Maximize,Strike,Indent,Outdent,Blockquote,BGColor,Styles\",\"image_previewText\":\" \"},\"passwordErrorText\":{\"en_US\":\"Password must be more than 6 and less than 32 characters and include at least one number, at least one uppercase letter, at least one lowercase letter and at least one special character.\",\"es_US\":\"La contraseña debe ser mayor que 6 y menor que 32 caracteres e incluir al menos un número, al menos una letra en mayúsculas, al menos una letra en minúsculas y al menos un carácter especial.\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/app/app.conf.json\n// module id = 826\n// module chunks = 0","module.exports = d3;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"d3\"\n// module id = 852\n// module chunks = 0","import { combineReducers } from 'redux';\nimport auth from 'auth/reducers/auth.reducer';\nimport session from 'auth/reducers/session.reducer';\nimport contact from 'contact/reducers/contact.reducer';\nimport documents from 'documents/reducers/documents.reducer';\nimport emailNotificationTemplates from 'email-notification-templates/reducers/email-notification-templates.reducer';\nimport faq from 'faq/reducers/faq.reducer';\nimport messages from 'message/reducers/messages.reducer';\nimport privilegeTemplates from 'privilege-templates/reducers/privilege-templates.reducer';\nimport registration from 'registration/reducers/registration.reducer';\nimport reportSubscriptionsPage from 'report-subscriptions/reducers/report-subscriptions-page.reducer';\nimport sftp from 'report-subscriptions/reducers/sftp.reducer';\nimport retailerReports from 'retailer-reports/reducers/retailer-reports.reducer';\nimport adminReports from 'admin-reports/reducers/admin-reports.reducer';\nimport security from 'security/reducers/security.reducer';\nimport manageInventory from 'manage-inventory/reducers/manage-inventory.reducer';\nimport announcements from 'dashboard/reducers/announcements.reducer';\nimport bigWinners from 'dashboard/reducers/big-winners.reducer';\nimport bondRenewal from 'dashboard/reducers/bond-renewal.reducer';\nimport cumulativeWinners from 'dashboard/reducers/cumulative-winners.reducer';\nimport dashboard from 'dashboard/reducers/dashboard.reducer';\nimport earningsHistory from 'dashboard/reducers/earnings-history.reducer';\nimport eftHistory from 'dashboard/reducers/eft-history.reducer';\nimport licenseRenewal from 'dashboard/reducers/license-renewal.reducer';\nimport lvmSalesHistory from 'dashboard/reducers/lvm-sales-history.reducer';\nimport netSales from 'dashboard/reducers/net-sales.reducer';\nimport siteFinancialStatus from 'dashboard/reducers/site-financial-status.reducer';\nimport siteOperationalStatus from 'dashboard/reducers/site-operational-status.reducer';\nimport linkedRetailers from 'user/reducers/linked-retailers.reducer';\nimport trustedDevices from 'user/reducers/trusted-devices.reducer';\nimport user from 'user/reducers/user.reducer';\nimport users from 'user/reducers/users.reducer';\nimport backendVersion from 'utils/reducers/backend-version.reducer';\nimport poster from 'utils/reducers/poster.reducer';\nimport privacyPolicy from 'utils/reducers/privacy-policy.reducer';\nimport retailerDetails from 'utils/reducers/retailer-details.reducer';\nimport subordinateList from 'utils/reducers/subordinate-list.reducer';\nimport termsOfUse from 'utils/reducers/terms-of-use.reducer';\nimport ui from 'utils/reducers/ui.reducer';\nimport utils from 'utils/reducers/utils.reducer';\nimport termsPreview from 'terms-preview/reducers/terms-preview.reducer';\nimport retailerDashboards from 'retailer-dashboards/reducers/retailer-dashboards.reducer';\nimport downloadReportPage from 'download-report-page/reducers/download-report-page.reducer';\nimport app from 'app/reducers/app.reducer';\nimport banners from 'app/reducers/banners.reducer';\nimport config from 'app/reducers/config.reducer';\nimport dictionaries from 'app/reducers/dictionaries.reducer';\nimport dictionary from 'app/reducers/dictionary.reducer';\nimport dirtyForms from 'app/reducers/dirty-forms.reducer';\nimport gameImages from 'app/reducers/game-images.reducer';\nimport home from 'app/reducers/home.reducer';\nimport loginPopup from 'app/reducers/login-popup.reducer';\nimport manageConfigurableLink from 'app/reducers/manage-configurable-link.reducer';\nimport manageIcons from 'app/reducers/manage-icons.reducer';\nimport mediaTemplates from 'app/reducers/media-templates.reducer';\nimport termsManagement from 'app/reducers/terms-management.reducer';\nimport theme from 'app/reducers/theme.reducer';\nimport widgets from 'app/reducers/widgets.reducer';\n\n\nexport default combineReducers({\n auth,\n\tsession,\n\tcontact,\n\tdocuments,\n\temailNotificationTemplates,\n\tfaq,\n\tmessages,\n\tprivilegeTemplates,\n\tregistration,\n\treportSubscriptionsPage,\n\tsftp,\n\tretailerReports,\n\tadminReports,\n\tsecurity,\n\tmanageInventory,\n\tannouncements,\n\tbigWinners,\n\tbondRenewal,\n\tcumulativeWinners,\n\tdashboard,\n\tearningsHistory,\n\teftHistory,\n\tlicenseRenewal,\n\tlvmSalesHistory,\n\tnetSales,\n\tsiteFinancialStatus,\n\tsiteOperationalStatus,\n\tlinkedRetailers,\n\ttrustedDevices,\n\tuser,\n\tusers,\n\tbackendVersion,\n\tposter,\n\tprivacyPolicy,\n\tretailerDetails,\n\tsubordinateList,\n\ttermsOfUse,\n\tui,\n\tutils,\n\ttermsPreview,\n\tretailerDashboards,\n\tdownloadReportPage,\n\tapp,\n\tbanners,\n\tconfig,\n\tdictionaries,\n\tdictionary,\n\tdirtyForms,\n\tgameImages,\n\thome,\n\tloginPopup,\n\tmanageConfigurableLink,\n\tmanageIcons,\n\tmediaTemplates,\n\ttermsManagement,\n\ttheme,\n\twidgets,\n\t\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/reducers.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/reducers/auth.reducer.js","import {\r\n INIT_SESSION,\r\n SET_ATTEMPTED_ROUTE,\r\n SET_LEARNING_LINK,\r\n SET_LOCALE,\r\n SET_OWNER_RETAILER_GROUPS,\r\n SET_RETAILER_GROUPS,\r\n SET_SIDE_MENU,\r\n SET_TOKENS,\r\n SET_TOP_MENU,\r\n SET_USER_PRIVILEGES,\r\n UPDATE_SESSION,\r\n TOGGLE_SUBMENU,\r\n CLOSE_ALL_SIDEMENU_ITEMS,\r\n SET_PAGE_TITLE,\r\n} from '../actions/session.actions';\r\n\r\nexport const initialState = {\r\n tokens: {},\r\n rest: [],\r\n role: null,\r\n oAuthClientId: null,\r\n siteId: null,\r\n loggedIn: false,\r\n retailer: {},\r\n passwordReset: false,\r\n jurisdiction: null,\r\n privileges: [],\r\n locale: 'en_US',\r\n sidemenu: [],\r\n topmenu: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_PAGE_TITLE:\r\n return { ...state, pageTitle: action.payload.pageTitle };\r\n case SET_LOCALE:\r\n return { ...state, locale: action.payload.locale };\r\n case INIT_SESSION:\r\n return { ...state, ...action.payload };\r\n case UPDATE_SESSION:\r\n return { ...state, ...action.payload };\r\n case SET_SIDE_MENU:\r\n return { ...state, sidemenu: action.payload };\r\n case SET_TOP_MENU:\r\n return { ...state, topmenu: action.payload };\r\n case SET_TOKENS:\r\n return { ...state, tokens: action.payload };\r\n case SET_USER_PRIVILEGES:\r\n return { ...state, privileges: action.payload };\r\n case SET_LEARNING_LINK:\r\n return { ...state, lotteryLearningLink: action.payload };\r\n case SET_ATTEMPTED_ROUTE:\r\n return { ...state, attemptedRoute: action.payload };\r\n case SET_RETAILER_GROUPS:\r\n return { ...state, retailerGroups: action.payload };\r\n case SET_OWNER_RETAILER_GROUPS:\r\n return { ...state, ownerRetailerGroups: action.payload };\r\n case CLOSE_ALL_SIDEMENU_ITEMS:\r\n return {\r\n ...state,\r\n sidemenu: state.sidemenu.map((item) => {\r\n if (item.opened) {\r\n return {\r\n ...item,\r\n opened: false,\r\n };\r\n }\r\n\r\n return item;\r\n }),\r\n };\r\n case TOGGLE_SUBMENU:\r\n return {\r\n ...state,\r\n sidemenu: state.sidemenu.map((item) => {\r\n if (item.id === action.id) {\r\n return {\r\n ...item,\r\n opened: !item.opened,\r\n };\r\n }\r\n\r\n return {\r\n ...item,\r\n opened: false,\r\n };\r\n }),\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/reducers/session.reducer.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\n\r\nfunction generateMenu(menuData = {}, parameters = {}) {\r\n const { config } = DepsService.$ngRedux.getState();\r\n const { gameImagesEditable } = config;\r\n const numericAscendingCompareFn = (a, b) => a - b;\r\n return Object.keys(menuData)\r\n .sort(numericAscendingCompareFn)\r\n .map((key) => {\r\n let item = _.cloneDeep(menuData[key]);\r\n const label = _.get(item, `label`) || DepsService.gettextCatalog.getString('MISSING_MENU_ITEM_TRANSLATION');\r\n item = _.flow([\r\n (item) => _.set(item, 'label', label),\r\n (item) => {\r\n if (item.sref === 'cms-gameImages' && !gameImagesEditable) {\r\n return _.set(item, 'hasAccess', false);\r\n }\r\n\r\n return _.set(item, 'hasAccess', DepsService.$ngRedux.dispatch(checkAccess(item.sref)));\r\n },\r\n ])(item);\r\n return _.merge(\r\n {\r\n index: key,\r\n },\r\n _.merge(item, parameters[item.id], {})\r\n );\r\n });\r\n}\r\n\r\nfunction generateTopMenu(menuData = {}) {\r\n return Object.keys(menuData).reduce((reduced, index) => {\r\n const item = _.cloneDeep(menuData[index]);\r\n item.label = item.label || '';\r\n item.title = item.title ? item.title : undefined;\r\n item.hasAccess = DepsService.$ngRedux.dispatch(checkAccess(item.sref));\r\n reduced[item.id] = item;\r\n return reduced;\r\n }, {});\r\n}\r\n\r\nexport default {\r\n generateMenu,\r\n generateTopMenu,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/helpers/menu.js","import DepsService from 'services/dependencies';\r\n\r\nconst LABELS = {\r\n MANAGE_USERS: () => DepsService.gettextCatalog.getString('Manage Users'),\r\n SITE_ACTIVITY_LOG: () => DepsService.gettextCatalog.getString('Site Activity Log'),\r\n REPORTS: () => DepsService.gettextCatalog.getString('Reports'),\r\n RETAILER_DASHBOARDS: () => DepsService.gettextCatalog.getString('Retailer Dashboards'),\r\n MANAGE_CONTENT: () => DepsService.gettextCatalog.getString('Manage Content'),\r\n MANAGE_ROLES: () => DepsService.gettextCatalog.getString('Manage Roles'),\r\n HOME_PAGE_BANNERS: () => DepsService.gettextCatalog.getString('Home Page Banners'),\r\n HOME_PAGE_WIDGETS: () => DepsService.gettextCatalog.getString('Home Page Widgets'),\r\n LEGAL_POLICIES: () => DepsService.gettextCatalog.getString('Legal Policies'),\r\n LOGIN_NOTIFICATION: () => DepsService.gettextCatalog.getString('Login Notification'),\r\n LOTTERY_CONTACTS: () => DepsService.gettextCatalog.getString('Lottery Contacts'),\r\n INQUIRY_CONTACTS: () => DepsService.gettextCatalog.getString('Inquiry Contacts'),\r\n DOCUMENTS_LIBRARY: () => DepsService.gettextCatalog.getString('Documents Library'),\r\n NOTIFICATION_TEMPLATES: () => DepsService.gettextCatalog.getString('Notification Templates'),\r\n MANAGE_FAQ: () => DepsService.gettextCatalog.getString('Manage FAQs'),\r\n MANAGE_CONFIGURABLE_LINK: () => DepsService.gettextCatalog.getString('Manage Configurable Link'),\r\n RETAILER_ROLES_SECONDARY: () => DepsService.gettextCatalog.getString('Secondary Retailer Roles'),\r\n RETAILER_ROLES_PROSPECTIVE: () => DepsService.gettextCatalog.getString('Prospective Retailer Roles'),\r\n RETAILER_ROLES_PRIMARY: () => DepsService.gettextCatalog.getString('Primary Retailer Roles'),\r\n ADMIN_ROLES: () => DepsService.gettextCatalog.getString('Admin Roles'),\r\n SFTP_CONFIGURATION: () => DepsService.gettextCatalog.getString('SFTP Configuration'),\r\n REPORT_FORMATS: () => DepsService.gettextCatalog.getString('Report Formats'),\r\n LOTTERY_ANNOUNCEMENTS: () => DepsService.gettextCatalog.getString('Lottery Announcements'),\r\n SUMMARY_DASHBOARD: () => DepsService.gettextCatalog.getString('Summary Dashboard'),\r\n INSTANTS_DASHBOARD: () => {\r\n const { dictionary, session } = DepsService.$ngRedux.getState();\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n return DepsService.gettextCatalog.getString('{{ instant }} Dashboard', { instant: terms.INSTANT.plural });\r\n },\r\n STORE_PROFILES: () => DepsService.gettextCatalog.getString('Store Profiles'),\r\n TRAINING: () => DepsService.gettextCatalog.getString('Training'),\r\n BRAND_GUIDE: () => DepsService.gettextCatalog.getString('Brand Guide'),\r\n COLOR_PALETTE: () => DepsService.gettextCatalog.getString('Color Palette'),\r\n GAME_IMAGES: () => DepsService.gettextCatalog.getString('Game Images'),\r\n MEDIA_TEMPLATES: () => DepsService.gettextCatalog.getString('Media Templates'),\r\n LICENSING: () => {\r\n const { dictionary, session } = DepsService.$ngRedux.getState();\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return terms.LICENSING.singular;\r\n },\r\n};\r\n\r\nexport default {\r\n roles: {\r\n ADMIN: {\r\n retailerType: 'ADMIN',\r\n sidemenu: {\r\n 0: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 1: {\r\n label: LABELS.SITE_ACTIVITY_LOG,\r\n icon: 'fa-book',\r\n sref: 'retailerReports-admin',\r\n },\r\n 2: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 3: {\r\n label: LABELS.RETAILER_DASHBOARDS,\r\n icon: 'fa-tachometer',\r\n sref: 'retailerWidgets-view',\r\n },\r\n 4: {\r\n id: 'cms',\r\n label: LABELS.MANAGE_CONTENT,\r\n icon: 'fa-folder-open',\r\n },\r\n '4.0': {\r\n id: 'cms.bannersManagement',\r\n label: LABELS.HOME_PAGE_BANNERS,\r\n icon: 'fa-folder',\r\n sref: 'cms-bannersManagement',\r\n },\r\n 4.1: {\r\n id: 'cms.widgetsManagement',\r\n label: LABELS.HOME_PAGE_WIDGETS,\r\n icon: 'fa-folder',\r\n sref: 'cms-widgetsManagement',\r\n },\r\n 4.2: {\r\n id: 'cms.termsOfUseManagement',\r\n label: LABELS.LEGAL_POLICIES,\r\n icon: 'fa-folder',\r\n sref: 'cms-termsOfUseManagement',\r\n },\r\n 4.3: {\r\n id: 'cms.loginPopupManagement',\r\n label: LABELS.LOGIN_NOTIFICATION,\r\n icon: 'fa-folder',\r\n sref: 'cms-loginPopupManagement',\r\n },\r\n 4.4: {\r\n id: 'cms.reportFormatsManagement',\r\n label: LABELS.REPORT_FORMATS,\r\n icon: 'fa-folder',\r\n sref: 'retailerReports-manageFormats',\r\n },\r\n 4.5: {\r\n id: 'cms.contactManagement',\r\n label: LABELS.LOTTERY_CONTACTS,\r\n icon: 'fa-folder',\r\n sref: 'contact-manage',\r\n },\r\n 4.6: {\r\n id: 'cms.inquiryReasonManagement',\r\n label: LABELS.INQUIRY_CONTACTS,\r\n icon: 'fa-folder',\r\n sref: 'cms-inquiryReasonManagement',\r\n },\r\n 4.7: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n id: 'cms.documents',\r\n },\r\n 4.8: {\r\n label: LABELS.NOTIFICATION_TEMPLATES,\r\n icon: 'fa-bell',\r\n sref: 'emailNotificationsTemplates-view',\r\n id: 'cms.emailNotificationsTemplates',\r\n },\r\n 4.9: {\r\n label: LABELS.MANAGE_FAQ,\r\n icon: 'fa-folder-open',\r\n sref: 'faq-admin',\r\n id: 'cms.faq',\r\n },\r\n '4.10': {\r\n id: 'cms.announcementsManagement',\r\n label: LABELS.LOTTERY_ANNOUNCEMENTS,\r\n icon: 'fa-folder',\r\n sref: 'cms-newsManagement',\r\n },\r\n 4.11: {\r\n id: 'cms.manageConfigurableLink',\r\n label: LABELS.MANAGE_CONFIGURABLE_LINK,\r\n icon: 'fa-folder',\r\n sref: 'cms-manageConfigurableLink',\r\n },\r\n 4.12: {\r\n id: 'cms.manageTheme',\r\n label: LABELS.COLOR_PALETTE,\r\n icon: 'fa-folder',\r\n sref: 'cms-manageTheme',\r\n },\r\n 4.13: {\r\n id: 'cms.gameImages',\r\n label: LABELS.GAME_IMAGES,\r\n icon: 'fa-folder',\r\n sref: 'cms-gameImages',\r\n },\r\n 4.14: {\r\n id: 'cms.mediaTemplates',\r\n label: LABELS.MEDIA_TEMPLATES,\r\n sref: 'cms-mediaTemplates',\r\n },\r\n 5: {\r\n id: 'privileges',\r\n label: LABELS.MANAGE_ROLES,\r\n icon: 'fa-key',\r\n },\r\n '5.0': {\r\n id: 'privileges.retailerPrimary',\r\n label: LABELS.RETAILER_ROLES_PRIMARY,\r\n sref: 'privilegeTemplates-retailerViewPrimary',\r\n },\r\n 5.1: {\r\n id: 'privileges.retailerSecondary',\r\n label: LABELS.RETAILER_ROLES_SECONDARY,\r\n sref: 'privilegeTemplates-retailerViewSecondary',\r\n },\r\n 5.2: {\r\n id: 'privileges.retailerProspective',\r\n label: LABELS.RETAILER_ROLES_PROSPECTIVE,\r\n sref: 'privilegeTemplates-retailerViewProspective',\r\n },\r\n 5.3: {\r\n id: 'privileges.lottery',\r\n label: LABELS.ADMIN_ROLES,\r\n sref: 'privilegeTemplates-lotteryView',\r\n },\r\n 6: {\r\n label: LABELS.SFTP_CONFIGURATION,\r\n icon: 'fa-hdd-o',\r\n sref: 'sftp-view',\r\n },\r\n 7: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_INDEPENDENT: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 8: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_CHAIN_HEAD: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 4: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 5: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 6: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 7: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 8: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 9: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_CHAIN_SUBORDINATE: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 8: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PRIMARY_CHAIN_HEAD_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 8: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 9: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_INDEPENDENT: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 6: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 8: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_CHAIN_HEAD: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 4: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 5: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 8: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 9: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_CHAIN_SUBORDINATE: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 6: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 8: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.MANAGE_USERS,\r\n icon: 'fa-users',\r\n sref: 'user-manageUsers',\r\n },\r\n 6: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 7: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_SECONDARY_CHAIN_HEAD_SUPER_CHAIN: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n label: LABELS.STORE_PROFILES,\r\n icon: 'fa-bank',\r\n sref: 'storeProfiles-view',\r\n },\r\n 6: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_GROUP: {\r\n sidemenu: {\r\n 3: {\r\n label: LABELS.REPORTS,\r\n icon: 'fa-bar-chart',\r\n sref: 'retailerReports-view',\r\n },\r\n 4: {\r\n label: LABELS.DOCUMENTS_LIBRARY,\r\n sref: 'documents-view',\r\n icon: 'fa-file',\r\n },\r\n 5: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n RETAILER_PROSPECTIVE: {\r\n sidemenu: {\r\n 1: {\r\n label: LABELS.SUMMARY_DASHBOARD,\r\n icon: 'fa-tachometer',\r\n sref: 'dashboard-summary',\r\n },\r\n 2: {\r\n label: LABELS.INSTANTS_DASHBOARD,\r\n icon: 'fa-calculator',\r\n sref: 'dashboard-instant',\r\n },\r\n 3: {\r\n id: 'training',\r\n label: LABELS.TRAINING,\r\n icon: 'fa-graduation-cap',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 4: {\r\n id: 'branding',\r\n label: LABELS.BRAND_GUIDE,\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n 5: {\r\n id: 'licensing',\r\n label: LABELS.LICENSING,\r\n sref: 'licenseRenewalService',\r\n icon: 'fa-bullseye',\r\n plainLink: true,\r\n target: '_blank',\r\n },\r\n },\r\n },\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/config/sidemenu.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport lottery from './lottery';\r\nimport inquiry from './inquiry';\r\n\r\nconst contact = combineReducers({\r\n lottery,\r\n inquiry,\r\n lotteryLoadingStatus: loadingStatusAccordingToReducer('lotteryLoadingStatus'),\r\n inquiryLoadingStatus: loadingStatusAccordingToReducer('inquiryLoadingStatus'),\r\n});\r\n\r\nexport default contact;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/reducers/contact.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n draft: false,\r\n defaultContactPhone: '',\r\n contactList: {},\r\n isMaintenance: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LOTTERY_CONTACTS_SUCCESS:\r\n return { ...state, ...action.contact };\r\n case actionTypes.FETCH_LOTTERY_CONTACTS_FAILURE:\r\n return { ...state, isMaintenance: true };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/reducers/lottery.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n items: [],\r\n itemsCopy: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INQUIRY_CONTACTS_SUCCESS: {\r\n return {\r\n ...state,\r\n items: cloneDeep(action.items || []),\r\n itemsCopy: cloneDeep(action.items || []),\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/reducers/inquiry.js","import actionTypes from '../actions/action-types';\r\nimport { SET_CATEGORIES, SET_FILES, SET_IS_LOADING, SET_TAGS } from '../actions/documents.actions';\r\n\r\nconst initialState = {\r\n newLabel: false,\r\n categories: [],\r\n files: [],\r\n tags: [],\r\n isLoading: false,\r\n meta: {},\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_CATEGORIES:\r\n return Object.assign({}, state, {\r\n categories: action.payload,\r\n });\r\n case actionTypes.FETCH_NEW_LABEL_STATUS_SUCCESS:\r\n case actionTypes.SET_NEW_LABEL_STATUS_SUCCESS:\r\n return {\r\n ...state,\r\n newLabel: action.status,\r\n };\r\n case SET_TAGS:\r\n return Object.assign({}, state, {\r\n tags: action.payload,\r\n });\r\n case SET_FILES: {\r\n return Object.assign({}, state, {\r\n files: action.payload.documents || [],\r\n meta: action.payload.meta || {},\r\n isLoading: false,\r\n });\r\n }\r\n case SET_IS_LOADING:\r\n return Object.assign({}, state, {\r\n isLoading: action.payload,\r\n });\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/reducers/documents.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/reducers/email-notification-templates.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/reducers/faq.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport selectedMessages from './selected-messages';\r\nimport sent from './sent';\r\nimport inbox from './inbox';\r\nimport unreadCount from './unread-count';\r\nimport messageDetails from './message-details';\r\nimport recipients from './recipients';\r\n\r\nconst messages = combineReducers({\r\n selectedMessages,\r\n inbox,\r\n sent,\r\n unreadCount,\r\n recipients,\r\n inboxLoadingStatus: loadingStatusAccordingToReducer('inboxLoadingStatus'),\r\n sentLoadingStatus: loadingStatusAccordingToReducer('sentLoadingStatus'),\r\n recipientsLoadingStatus: loadingStatusAccordingToReducer('recipientsLoadingStatus'),\r\n messageDetailsLoadingStatus: loadingStatusAccordingToReducer('messageDetailsLoadingStatus'),\r\n selectedMessage: messageDetails,\r\n});\r\n\r\nexport default messages;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/messages.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n selectedMessagesList: [],\r\n hasAllMessagesSelected: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.ADD_MESSAGE_TO_SELECTED: {\r\n return {\r\n ...state,\r\n selectedMessagesList: [...state.selectedMessagesList, ...[action.selectedId]],\r\n };\r\n }\r\n case actionTypes.DELETE_MESSAGE_FROM_SELECTED: {\r\n return {\r\n ...state,\r\n selectedMessagesList: state.selectedMessagesList.filter((id) => id !== action.selectedId),\r\n hasAllMessagesSelected: false,\r\n };\r\n }\r\n case actionTypes.TOGGLE_SELECT_ALL_MESSAGES_POINTER: {\r\n let selectedMessagesList = [];\r\n if (!state.hasAllMessagesSelected) {\r\n selectedMessagesList = [...action.messagesList];\r\n }\r\n\r\n return {\r\n ...state,\r\n selectedMessagesList,\r\n hasAllMessagesSelected: !state.hasAllMessagesSelected,\r\n };\r\n }\r\n case actionTypes.SET_SELECT_ALL_MESSAGES_POINTER: {\r\n return {\r\n ...state,\r\n hasAllMessagesSelected: action.hasAllMessagesSelected,\r\n };\r\n }\r\n case actionTypes.CLEAR_SELECTED_MESSAGES_LIST:\r\n case actionTypes.RESET_INBOX: {\r\n return {\r\n ...state,\r\n selectedMessagesList: [],\r\n hasAllMessagesSelected: false,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/selected-messages.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SENT_MESSAGES_LIST_SUCCESS: {\r\n return [...action.messages];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/sent.js","import actionTypes from '../actions/action-types';\r\n\r\nconst changeMessageReadStatus = (action, status) =>\r\n action.messages.map((message) => {\r\n const isSelected = action.selectedMessagesList.includes(message.userMessageId);\r\n if (isSelected) return { ...message, isRead: status };\r\n return { ...message };\r\n });\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_MESSAGES_LIST_SUCCESS: {\r\n return [...action.messages];\r\n }\r\n case actionTypes.DELETE_MESSAGES_SUCCESS: {\r\n return action.messages.filter(({ userMessageId }) => {\r\n const isSelected = action.selectedMessagesList.includes(userMessageId);\r\n\r\n return !isSelected;\r\n });\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_UNREAD_SUCCESS: {\r\n return changeMessageReadStatus(action, false);\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_READ_SUCCESS: {\r\n return changeMessageReadStatus(action, true);\r\n }\r\n case actionTypes.RESET_INBOX: {\r\n return [];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/inbox.js","import actionTypes from '../actions/action-types';\r\n\r\nconst unreadMessageCount = ({ messages, selectedMessagesList }, isReadStatus) => {\r\n return messages.filter((message) => {\r\n const isIncluded = selectedMessagesList.includes(message.userMessageId);\r\n\r\n return isIncluded && message.isRead === isReadStatus;\r\n }).length;\r\n};\r\n\r\nexport default (state = 0, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_UNREAD_MESSAGES_COUNT_SUCCESS: {\r\n return action.count;\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_READ_SUCCESS:\r\n case actionTypes.DELETE_MESSAGES_SUCCESS: {\r\n return state - unreadMessageCount(action, false);\r\n }\r\n case actionTypes.MARK_MESSAGE_AS_UNREAD_SUCCESS: {\r\n return state + unreadMessageCount(action, true);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/unread-count.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_MESSAGE_SUCCESS: {\r\n return { ...action.message };\r\n }\r\n case actionTypes.CLEAR_SELECTED_MESSAGE: {\r\n return {};\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/message-details.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RECIPIENTS_SUCCESS: {\r\n return [...action.recipients];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/reducers/recipients.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n entities: {},\r\n ids: [],\r\n selectedId: null,\r\n isPrivilegeTemplatesListLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVILEGE_TEMPLATES_REQUEST:\r\n return {\r\n ...state,\r\n isPrivilegeTemplatesListLoading: true,\r\n };\r\n\r\n case actionTypes.FETCH_PRIVILEGE_TEMPLATES_FAILURE:\r\n return {\r\n ...state,\r\n isPrivilegeTemplatesListLoading: false,\r\n };\r\n\r\n case actionTypes.FETCH_PRIVILEGE_TEMPLATES_SUCCESS:\r\n // eslint-disable-next-line no-case-declarations\r\n const entities = {};\r\n\r\n action.list.forEach((template) => {\r\n entities[template.id] = template;\r\n });\r\n\r\n return {\r\n entities,\r\n ids: Object.keys(entities),\r\n selectedId: Object.keys(entities)[0],\r\n isPrivilegeTemplatesListLoading: false,\r\n };\r\n\r\n case actionTypes.CREATE_PRIVILEGE_TEMPLATE_SUCCESS:\r\n // eslint-disable-next-line no-case-declarations\r\n const entitiesAfterCreate = {\r\n [action.template.id]: { ...action.template },\r\n ...state.entities,\r\n };\r\n\r\n return {\r\n ...state,\r\n entities: entitiesAfterCreate,\r\n ids: Object.keys(entitiesAfterCreate),\r\n };\r\n\r\n case actionTypes.UPDATE_PRIVILEGE_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n entities: {\r\n ...state.entities,\r\n [action.template.id]: { ...action.template },\r\n },\r\n };\r\n\r\n case actionTypes.SELECT_PRIVILEGE_TEMPLATE:\r\n return {\r\n ...state,\r\n selectedId: action.id,\r\n };\r\n\r\n case actionTypes.DELETE_PRIVILEGE_TEMPLATE_SUCCESS:\r\n // eslint-disable-next-line no-case-declarations\r\n const entitiesAfterDelete = { ...state.entities };\r\n\r\n Object.keys(entitiesAfterDelete).forEach((id) => {\r\n if (id === action.id) {\r\n delete entitiesAfterDelete[action.id];\r\n }\r\n });\r\n\r\n return {\r\n entities: entitiesAfterDelete,\r\n ids: state.ids.filter((id) => id !== action.id),\r\n selectedId: Object.keys(entitiesAfterDelete)[0],\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/reducers/privilege-templates.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n isLoading: false,\r\n ownerValidationMethod: {},\r\n ownerData: {},\r\n retailer: {},\r\n created: false,\r\n error: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_OWNER_VALIDATION_METHOD_REQUEST:\r\n case actionTypes.FETCH_OWNER_VALIDATION_METHOD_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_OWNER_VALIDATION_METHOD_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n ownerValidationMethod: action.ownerValidationMethod,\r\n };\r\n case actionTypes.VALIDATE_OWNER_DATA_SUCCESS:\r\n return {\r\n ...state,\r\n ownerData: { ...action.ownerData },\r\n };\r\n case actionTypes.REGISTRATION_FETCH_RETAILER_DETAILS_SUCCESS:\r\n return {\r\n ...state,\r\n retailer: action.retailer,\r\n };\r\n case actionTypes.REGISTRATION_UPDATE_RETAILER_DETAILS:\r\n return {\r\n ...state,\r\n retailer: { ...state.retailer, ...action.retailer },\r\n };\r\n case actionTypes.REGISTRATION_FETCH_RETAILER_DETAILS_FAILURE:\r\n case actionTypes.REGISTRATION_FETCH_RETAILER_DETAILS_REQUEST:\r\n return {\r\n ...state,\r\n error: action.error,\r\n };\r\n case actionTypes.REGISTRATION_CLEAR_RETAILER_DETAILS:\r\n return {\r\n ...state,\r\n retailer: {},\r\n ownerData: {},\r\n };\r\n case actionTypes.CREATE_ACCOUNT_REQUEST:\r\n case actionTypes.CREATE_ACCOUNT_FAILURE:\r\n return {\r\n ...state,\r\n created: false,\r\n };\r\n case actionTypes.CREATE_ACCOUNT_SUCCESS:\r\n return {\r\n ...state,\r\n created: true,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/reducers/registration.reducer.js","import {\r\n SET_EMAILS,\r\n SET_IS_LOADING_EMAIL,\r\n SET_IS_LOADING_REPORTS,\r\n SET_IS_LOADING_SFTP,\r\n SET_RECIPIENTS_EMAIL,\r\n SET_REPORTS,\r\n SET_SFTP,\r\n SET_SUBSCRIPTIONS_EMAIL,\r\n SET_SUBSCRIPTIONS_REPORTS,\r\n SET_SUBSCRIPTIONS_SFTP,\r\n} from '../actions/report-subscriptions-page.actions';\r\n\r\nconst initialState = {\r\n itemsReports: [],\r\n isLoadingReports: false,\r\n metaReports: {},\r\n\r\n itemsEmail: [],\r\n isLoadingEmail: false,\r\n metaEmail: {},\r\n\r\n itemsSftp: [],\r\n isLoadingSftp: false,\r\n metaSftp: {},\r\n\r\n recipients: [],\r\n subscriptionsSftp: [],\r\n subscriptionsReports: [],\r\n subscriptionsEmail: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n const update = (newState) => ({ ...state, ...newState });\r\n\r\n switch (action.type) {\r\n case SET_REPORTS: {\r\n return update({\r\n itemsReports: action.payload.items || [],\r\n metaReports: action.payload.meta || {},\r\n isLoadingReports: false,\r\n });\r\n }\r\n case SET_EMAILS: {\r\n return update({\r\n itemsEmail: action.payload.items || [],\r\n metaEmail: action.payload.meta || {},\r\n isLoadingEmail: false,\r\n });\r\n }\r\n case SET_SFTP: {\r\n return update({\r\n itemsSftp: action.payload.items || [],\r\n metaSftp: action.payload.meta || {},\r\n isLoadingSftp: false,\r\n });\r\n }\r\n case SET_SUBSCRIPTIONS_REPORTS: {\r\n return update({\r\n subscriptionsReports: action.payload,\r\n });\r\n }\r\n case SET_SUBSCRIPTIONS_EMAIL: {\r\n return update({\r\n subscriptionsEmail: action.payload,\r\n });\r\n }\r\n case SET_SUBSCRIPTIONS_SFTP: {\r\n return update({\r\n subscriptionsSftp: action.payload,\r\n });\r\n }\r\n case SET_RECIPIENTS_EMAIL: {\r\n return update({\r\n recipients: action.payload,\r\n });\r\n }\r\n case SET_IS_LOADING_REPORTS: {\r\n return update({\r\n isLoadingReports: true,\r\n });\r\n }\r\n case SET_IS_LOADING_EMAIL: {\r\n return update({\r\n isLoadingEmail: true,\r\n });\r\n }\r\n case SET_IS_LOADING_SFTP: {\r\n return update({\r\n isLoadingSftp: true,\r\n });\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/report-subscriptions-page.reducer.js","import map from 'lodash/map';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst createArrayFromSubscriptions = (subscriptions) =>\r\n map(subscriptions, (subscription) => {\r\n subscription.transformations = Object.keys(subscription.transformations).reduce((newTransformations, key) => {\r\n newTransformations = newTransformations.concat([subscription.transformations[key]]);\r\n return newTransformations;\r\n }, []);\r\n return subscription;\r\n });\r\n\r\nexport const getEmailListForRetailer = (retailerId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.email.subscriptions.url, {\r\n retailerId,\r\n retailerType,\r\n });\r\n\r\nexport const getReportListForRetailer = (retailerId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.report.subscriptions.url, {\r\n retailerId,\r\n retailerType,\r\n });\r\n\r\nexport const saveReportListForRetailer = (retailerId, subscriptionsReports) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.report.subscriptions.url, {\r\n retailerId,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsReports)),\r\n });\r\n\r\nexport const saveEmailListForRetailer = (retailerId, subscriptionsEmail, externalEmails) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.email.subscriptions.url, {\r\n retailerId,\r\n externalEmails,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsEmail)),\r\n });\r\n\r\nexport const getSftpListForRetailer = (retailerId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n retailerId,\r\n retailerType,\r\n });\r\n\r\nexport const getSftpListForGroup = (groupId, retailerType) =>\r\n DepsService.restSrv.list(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n groupId,\r\n retailerType,\r\n });\r\n\r\nexport const saveSftpListForRetailer = (retailerId, subscriptionsSftp) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n retailerId,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsSftp)),\r\n });\r\n\r\nexport const saveSftpListForGroup = (groupId, subscriptionsSftp) =>\r\n DepsService.restSrv.create(undefined, DepsService.rest.account.report.sftp.subscriptions.url, {\r\n groupId,\r\n subscriptions: createArrayFromSubscriptions(cloneDeep(subscriptionsSftp)),\r\n });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/resources/report-subscriptions-api.js","import { combineReducers } from 'redux';\r\n\r\nimport list from './sftp/sftp-list';\r\nimport selectedEntry from './sftp/selected-sftp-entry';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\nconst sftp = combineReducers({\r\n list,\r\n selectedEntry,\r\n isLoading: loadingStatusAccordingToReducer('sftpListLoadingStatus'),\r\n});\r\n\r\nexport default sftp;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/sftp.reducer.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SFTP_LIST_SUCCESS:\r\n return [...action.sftpList]\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/sftp/sftp-list.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SFTP_BY_ID_SUCCESS:\r\n return { ...action.sftp };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/reducers/sftp/selected-sftp-entry.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './items';\r\n\r\nconst retailerReports = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('retailerReportsLoadingStatus'),\r\n});\r\n\r\nexport default retailerReports;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/reducers/retailer-reports.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RETAILER_REPORTS_SUCCESS:\r\n return [...action.items];\r\n case actionTypes.CLEAR_RETAILER_REPORTS:\r\n return [];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/reducers/items.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './items';\r\n\r\nconst adminReports = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('userActivityReportsLoadingStatus'),\r\n});\r\n\r\nexport default adminReports;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/reducers/admin-reports.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USER_ACTIVITY_REPORTS_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/reducers/items.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/reducers/security.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport games from './games';\r\nimport packs from './packs';\r\nimport userSelection from './user-selection';\r\nimport packDetails from './pack-details';\r\nimport orderDetails from './order-details';\r\nimport liabilities from './liabilities';\r\nimport packGrossValue from './packs-gross-value';\r\nimport orderHistory from './order-history';\r\n\r\nimport instantGamesTransitionsHistory from './instant-games-transitions-history';\r\n\r\nconst manageInventory = combineReducers({\r\n games,\r\n packs,\r\n instantGamesTransitionsHistory,\r\n userSelection,\r\n packDetails,\r\n orderDetails,\r\n liabilities,\r\n packGrossValue,\r\n orderHistory,\r\n isLoading: loadingStatusAccordingToReducer('manageInventoryLoadingStatus'),\r\n packDetailsLoadingStatus: loadingStatusAccordingToReducer('packDetailsLoadingStatus'),\r\n orderDetailsLoadingStatus: loadingStatusAccordingToReducer('orderDetailsLoadingStatus'),\r\n orderHistoryLoadingStatus: loadingStatusAccordingToReducer('orderHistoryLoadingStatus'),\r\n});\r\n\r\nexport default manageInventory;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/manage-inventory.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_GAMES_LIST_SUCCESS:\r\n return [...action.games];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/games.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACKS_LIST_SUCCESS:\r\n return [...action.packs];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/packs.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.ON_ITEM_LIST_SELECTION:\r\n return { ...action.selection };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/user-selection.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACK_DETAILS_SUCCESS:\r\n return { ...action.packDetails };\r\n case actionTypes.RESET_DETAILS_DIALOG_DATA:\r\n return {};\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/pack-details.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ORDER_DETAILS_SUCCESS:\r\n return { ...action.orderDetails };\r\n\r\n case actionTypes.RESET_DETAILS_DIALOG_DATA:\r\n return {};\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/order-details.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LIABILITIES_SUCCESS:\r\n return [...action.liabilities];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/liabilities.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = 0, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS:\r\n return action.packsGrossValue;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/packs-gross-value.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ORDER_HISTORY_SUCCESS:\r\n return [...action.orderHistory];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/order-history.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INSTANT_GAMES_TRANSITIONS_HISTORY_SUCCESS:\r\n return [...action.history];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/reducers/instant-games-transitions-history.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './announcements/items';\r\nimport active from './announcements/active';\r\nimport archived from './announcements/archived';\r\nimport scheduled from './announcements/scheduled';\r\nimport draft from './announcements/draft';\r\n\r\nconst announcements = combineReducers({\r\n items,\r\n active,\r\n archived,\r\n scheduled,\r\n draft,\r\n isLoading: loadingStatusAccordingToReducer('announcementsStatusLoadingStatus'),\r\n});\r\n\r\nexport default announcements;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements.reducer.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/items.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\nimport { addAnnouncement, deleteAnnouncement, getActiveAnnouncements, togglePinAnnouncement } from 'dashboard/reducers/announcements/utils';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return getActiveAnnouncements([...action.items], action.lotteryTime, action.locale);\r\n case actionTypes.TOGGLE_PIN_ANNOUNCEMENTS:\r\n return togglePinAnnouncement([...state], action.index, action.locale, action.locales);\r\n case actionTypes.DELETE_ACTIVE_ANNOUNCEMENT:\r\n return deleteAnnouncement([...state], action.index);\r\n case actionTypes.ADD_ACTIVE_ANNOUNCEMENT:\r\n return addAnnouncement([...state], action.announcement, action.locale);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/active.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\nimport { addAnnouncement, deleteAnnouncement, getArchivedAnnouncements } from 'dashboard/reducers/announcements/utils';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return getArchivedAnnouncements([...action.items], action.lotteryTime, action.locale);\r\n case actionTypes.DELETE_ARCHIVED_ANNOUNCEMENT:\r\n return deleteAnnouncement([...state], action.index);\r\n case actionTypes.ADD_ARCHIVED_ANNOUNCEMENT:\r\n return addAnnouncement([...state], action.announcement, action.locale);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/archived.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\nimport { addAnnouncement, deleteAnnouncement, getScheduledAnnouncements } from 'dashboard/reducers/announcements/utils';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return getScheduledAnnouncements([...action.items], action.lotteryTime, action.locale);\r\n case actionTypes.DELETE_SCHEDULED_ANNOUNCEMENT:\r\n return deleteAnnouncement([...state], action.index);\r\n case actionTypes.ADD_SCHEDULED_ANNOUNCEMENT:\r\n return addAnnouncement([...state], action.announcement, action.locale);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/scheduled.js","import actionTypes from 'dashboard/actions/announcements/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ANNOUNCEMENTS_SUCCESS:\r\n return action.draft;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/announcements/draft.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './big-winners/items';\r\n\r\nconst bigWinners = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('bigWinnersStatusLoadingStatus'),\r\n});\r\n\r\nexport default bigWinners;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/big-winners.reducer.js","import actionTypes from 'dashboard/actions/big-winners/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BIG_WINNERS_HISTORY_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/big-winners/items.js","import { combineReducers } from 'redux';\r\nimport stores from './bond-renewal/stores';\r\nimport storesCount from './bond-renewal/stores-count';\r\nimport isLoading from './bond-renewal/loading-status';\r\n\r\nconst bondRenewal = combineReducers({\r\n stores,\r\n storesCount,\r\n isLoading,\r\n});\r\n\r\nexport default bondRenewal;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal.reducer.js","import actionTypes from 'dashboard/actions/bond-renewal/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BOND_RENEWAL_SUCCESS:\r\n return { ...action.stores };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal/stores.js","import actionTypes from 'dashboard/actions/bond-renewal/action-types';\r\n\r\nexport default (state = 0, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BOND_RENEWAL_SUCCESS: {\r\n return action.storeCount;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal/stores-count.js","import actionTypes from 'dashboard/actions/bond-renewal/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BOND_RENEWAL_REQUEST:\r\n case actionTypes.FETCH_BOND_RENEWAL_FAILURE:\r\n case actionTypes.FETCH_BOND_RENEWAL_SUCCESS: {\r\n return action.isLoading;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/bond-renewal/loading-status.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './cumulative-winners/items';\r\n\r\nconst cumulativeWinners = combineReducers({\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('cumulativeWinnersStatusLoadingStatus'),\r\n});\r\n\r\nexport default cumulativeWinners;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/cumulative-winners.reducer.js","import actionTypes from 'dashboard/actions/cumulative-winners/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/cumulative-winners/items.js","import actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n current: {},\r\n toSave: {},\r\n copy: {},\r\n layouts: [],\r\n isEditMode: false,\r\n widgets: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_DASHBOARD_REQUEST:\r\n case actionTypes.FETCH_DASHBOARD_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_DASHBOARD_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: action.current || {},\r\n toSave: action.toSave || {},\r\n };\r\n case actionTypes.SET_DASHBOARD_CURRENT:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: action.current || {},\r\n };\r\n case actionTypes.SET_DASHBOARD_LAYOUTS:\r\n return {\r\n ...state,\r\n layouts: action.layouts || [],\r\n };\r\n case actionTypes.SET_DASHBOARD_EDIT_MODE:\r\n return {\r\n ...state,\r\n isEditMode: action.isEditMode || false,\r\n };\r\n case actionTypes.SET_DASHBOARD_COPY:\r\n return {\r\n ...state,\r\n copy: action.copy || {},\r\n };\r\n case actionTypes.SET_DASHBOARD_WIDGETS_LIST:\r\n return {\r\n ...state,\r\n widgets: action.widgets || [],\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/dashboard.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport data from './earnings-history/earnings-history';\r\n\r\nconst earningsHistory = combineReducers({\r\n data,\r\n isLoading: loadingStatusAccordingToReducer('earningsHistoryLoadingStatus'),\r\n});\r\n\r\nexport default earningsHistory;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/earnings-history.reducer.js","import actionTypes from 'dashboard/actions/earnings-history/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_EARNINGS_HISTORY_SUCCESS:\r\n return [...action.data];\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/earnings-history/earnings-history.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport extensions from './eft-history/extensions';\r\nimport date from './eft-history/date';\r\nimport items from './eft-history/items';\r\n\r\nconst eftHistory = combineReducers({\r\n extensions,\r\n date,\r\n items,\r\n isLoading: loadingStatusAccordingToReducer('eftHistoryStatusLoadingStatus'),\r\n});\r\n\r\nexport default eftHistory;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history.reducer.js","import actionTypes from 'dashboard/actions/eft-history/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_EFT_EXTENSIONS_SUCCESS:\r\n return [...action.extensions];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history/extensions.js","import actionTypes from 'dashboard/actions/eft-history/action-types';\r\n\r\nexport default (state = null, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS:\r\n return action.date;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history/date.js","import actionTypes from 'dashboard/actions/eft-history/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_EFT_HISTORY_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/eft-history/items.js","import { combineReducers } from 'redux';\r\nimport retailers from './license-renewal/retailers';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\n\r\nconst licenseRenewal = combineReducers({\r\n retailers,\r\n isLoading: loadingStatusAccordingToReducer('licenseRenewalLoadingStatus'),\r\n});\r\n\r\nexport default licenseRenewal;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/license-renewal.reducer.js","import actionTypes from 'dashboard/actions/license-renewal/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LICENSE_RENEWAL_SUCCESS: {\r\n return [...action.data];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/license-renewal/retailers.js","import actionTypes from '../actions/lvm-sales-history/action-types';\r\n\r\nconst initialState = {\r\n data: [],\r\n isLoading: false,\r\n total: [],\r\n};\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LVM_SALES_HISTORY_REQUEST:\r\n case actionTypes.FETCH_LVM_SALES_HISTORY_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_LVM_SALES_HISTORY_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n data: action.data,\r\n };\r\n case actionTypes.FETCH_LVM_SALES_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n total: action.total,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/lvm-sales-history.reducer.js","import { combineReducers } from 'redux';\r\nimport netSalesSummary from './net-sales/net-sales-summary';\r\nimport isLoading from './net-sales/loading-status';\r\nimport instantGames from './net-sales/instant-games';\r\nimport drawGames from './net-sales/draw-games';\r\n\r\nconst netSales = combineReducers({\r\n netSalesSummary,\r\n isLoading,\r\n instantGames,\r\n drawGames,\r\n});\r\n\r\nexport default netSales;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales.reducer.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_SUCCESS:\r\n return { ...action.netSalesSummary };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/net-sales-summary.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_REQUEST:\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_FAILURE:\r\n case actionTypes.FETCH_NET_SALES_SUMMARY_SUCCESS:\r\n case actionTypes.FETCH_NET_SALES_DETAILS_REQUEST:\r\n case actionTypes.FETCH_NET_SALES_DETAILS_FAILURE:\r\n case actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS: {\r\n return action.isLoading;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/loading-status.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS:\r\n return { ...action.netSalesDetails.instantGames };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/instant-games.js","import actionTypes from 'dashboard/actions/net-sales/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS:\r\n return { ...action.netSalesDetails.drawGames };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/net-sales/draw-games.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport data from './site-financial-status/site-financial-status';\r\n\r\nconst siteFinancialStatus = combineReducers({\r\n data,\r\n isLoading: loadingStatusAccordingToReducer('siteFinancialStatusLoadingStatus'),\r\n\r\n});\r\n\r\nexport default siteFinancialStatus;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-financial-status.reducer.js","import actionTypes from 'dashboard/actions/site-financial-status/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SITE_FINANCIAL_STATUS_SUCCESS:\r\n return { ...action.data };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-financial-status/site-financial-status.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport retailers from './site-operational-status/retailers';\r\nimport isEmpty from './site-operational-status/isSiteOperationalStatusEmpty';\r\n\r\n\r\nconst siteOperationalStatus = combineReducers({\r\n retailers,\r\n isEmpty,\r\n isLoading: loadingStatusAccordingToReducer('siteOperationalStatusLoadingStatus'),\r\n\r\n});\r\n\r\nexport default siteOperationalStatus;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-operational-status.reducer.js","import actionTypes from 'dashboard/actions/site-operational-status/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: {\r\n return [...action.retailers];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-operational-status/retailers.js","import isEmpty from 'lodash/isEmpty';\r\nimport actionTypes from 'dashboard/actions/site-operational-status/action-types';\r\n\r\nexport default (state = true, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: {\r\n return isEmpty(action.retailers);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/reducers/site-operational-status/isSiteOperationalStatusEmpty.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport list from './linked-retailers/list';\r\n\r\nconst linkedRetailers = combineReducers({\r\n list,\r\n isSaving: loadingStatusAccordingToReducer('linkedRetailersSavingStatus'),\r\n isLoading: loadingStatusAccordingToReducer('linkedRetailersLoadingStatus'),\r\n});\r\n\r\nexport default linkedRetailers;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/linked-retailers.reducer.js","import actionTypes from 'user/actions/linked-retailers.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LINKED_RETAILERS_SUCCESS:\r\n return [...action.list];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/linked-retailers/list.js","import actionTypes from 'user/actions/trusted-devices.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TRUSTED_DEVICES_SUCCESS:\r\n return [...action.devices];\r\n case actionTypes.DELETE_TRUSTED_DEVICE_SUCCESS:\r\n return state.filter((device) => device.uuid !== action.uuid);\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/trusted-devices.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/user.reducer.js","import actionTypes from '../actions/users.action-types';\r\n\r\nexport const initialState = {\r\n items: [],\r\n isLoading: false,\r\n pagination: {},\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USERS_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n pagination: { ...action.pagination },\r\n items: [...action.content],\r\n };\r\n case actionTypes.FETCH_USERS_REQUEST:\r\n case actionTypes.FETCH_USERS_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/reducers/users.reducer.js","import backendVersion from '../rw-app-version/reducers/backend-app-version';\r\n\r\nexport default backendVersion;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/backend-version.reducer.js","import actionTypes from '../actions/app-version.action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BE_APP_VERSION_SUCCESS:\r\n return action.version;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-app-version/reducers/backend-app-version.js","import { combineReducers } from 'redux';\r\nimport url from './poster/poster-url';\r\n\r\nconst poster = combineReducers({\r\n url,\r\n});\r\n\r\nexport default poster;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/poster.reducer.js","import actionTypes from 'utils/actions/action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_POSTER_URL_SUCCESS: {\r\n return action.url;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/poster/poster-url.js","import privacyPolicy from '../rw-privacy-policy/components/reducers/privacy-policy';\r\n\r\nexport default privacyPolicy;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/privacy-policy.reducer.js","import { combineReducers } from 'redux';\r\nimport content from './privacy-policy-content';\r\nimport hasError from './privacy-policy-error';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\nconst privacyPolicy = combineReducers({\r\n content,\r\n hasError,\r\n isLoading: loadingStatusAccordingToReducer('privacyPolicyLoadingStatus'),\r\n});\r\n\r\nexport default privacyPolicy;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy.js","import actionTypes from '../actions/privacy-policy.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVACY_POLICY_SUCCESS:\r\n return [...action.content];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-content.js","import actionTypes from '../actions/privacy-policy.action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVACY_POLICY_REQUEST:\r\n case actionTypes.FETCH_PRIVACY_POLICY_SUCCESS:\r\n case actionTypes.FETCH_PRIVACY_POLICY_FAILURE:\r\n return action.hasError;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-privacy-policy/components/reducers/privacy-policy-error.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_RETAILER_DETAILS_SUCCESS:\r\n return { ...action.details };\r\n case actionTypes.CLEAR_RETAILER_DETAILS:\r\n return {};\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/retailer-details.reducer.js","import subordinateList from '../rw-subordinates/reducers/subordinate-list-combine';\r\n\r\nexport default subordinateList;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/subordinate-list.reducer.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport list from './subordinate-list';\r\nimport selectedRetailer from './selected-retailer';\r\n\r\n\r\nconst subordinateList = combineReducers({\r\n list,\r\n selectedRetailer,\r\n isLoading: loadingStatusAccordingToReducer('subordinateListLoadingStatus'),\r\n});\r\n\r\nexport default subordinateList;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/reducers/subordinate-list-combine.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SUBORDINATE_LIST_SUCCESS:\r\n return [...action.list];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/reducers/subordinate-list.js","import actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.SELECT_RETAILER:\r\n return { ...action.retailer };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-subordinates/reducers/selected-retailer.js","import termsOfUse from '../rw-terms-of-use/components/reducers/terms-of-use';\r\n\r\nexport default termsOfUse;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/terms-of-use.reducer.js","import { combineReducers } from 'redux';\r\nimport content from './terms-of-use-content';\r\nimport hasError from './terms-of-use-error';\r\nimport attachments from './terms-of-use-attachments';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\n\r\nconst termsOfUse = combineReducers({\r\n content,\r\n hasError,\r\n attachments,\r\n isLoading: loadingStatusAccordingToReducer('termsOfUseLoadingStatus'),\r\n});\r\n\r\nexport default termsOfUse;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use.js","import actionTypes from '../actions/terms-of-use.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TERMS_OF_USE_SUCCESS:\r\n return { ...action.content.fields };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-content.js","import actionTypes from '../actions/terms-of-use.action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TERMS_OF_USE_REQUEST:\r\n case actionTypes.FETCH_TERMS_OF_USE_SUCCESS:\r\n case actionTypes.FETCH_TERMS_OF_USE_FAILURE:\r\n return action.hasError;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-error.js","import actionTypes from '../actions/terms-of-use.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TERMS_OF_USE_SUCCESS:\r\n return { ...action.content.attachments };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-terms-of-use/components/reducers/terms-of-use-attachments.js","import { combineReducers } from 'redux';\r\nimport activeTab from './active-tab/active-tab';\r\nimport selectedLanguage from './selected-language/selected-language';\r\nimport pagination from './pagination/pagination';\r\nimport sosPagination from './pagination/sosPagination';\r\nimport sortingFunction from './sorting-function/sorting-function';\r\nimport error from './error/error';\r\nimport { createNamedReducer } from './createNamedReducer';\r\n\r\nconst ui = combineReducers({\r\n activeTab: createNamedReducer(activeTab, 'activeTab'),\r\n detailsDialogActiveTab: createNamedReducer(activeTab, 'detailsDialogActiveTab'),\r\n endingGamesActiveTab: createNamedReducer(activeTab, 'endingGamesActiveTab'),\r\n selectedLanguage,\r\n pagination,\r\n sosPagination,\r\n sortingFunction,\r\n error,\r\n});\r\n\r\nexport default ui;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/ui.reducer.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_ACTIVE_TAB: {\r\n return action.tab;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/active-tab/active-tab.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = '', action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_SELECTED_LANGUAGE: {\r\n return action.selectedLanguage;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/selected-language/selected-language.js","import DepsService from 'services/dependencies';\r\nimport {\r\n INSTANT_GAME_TYPE,\r\n DRAW_GAME_TYPE,\r\n VLT_GAME_TYPE,\r\n} from '../actions/game-images.actions';\r\n\r\nconst CONTEXT = 'game-images';\r\n\r\nexport const getGameType = (type) => {\r\n switch (type) {\r\n case INSTANT_GAME_TYPE:\r\n return 'S';\r\n case DRAW_GAME_TYPE:\r\n return 'O';\r\n case VLT_GAME_TYPE:\r\n return 'V';\r\n default:\r\n return 'V';\r\n }\r\n};\r\n\r\nexport const fetchGameImages = async (type, params) => {\r\n const { url } = DepsService.rest.cms.gameImages.get;\r\n const queryParams = { ...params };\r\n const urlParams = { type };\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateGameImages = async (type, gameId, image) => {\r\n const { url } = DepsService.rest.cms.gameImages.update;\r\n const queryParams = { image };\r\n const gameType = getGameType(type);\r\n const urlParams = { gameType, gameId };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/game-images.api.js","import siteOperationalStatusActions from 'dashboard/actions/site-operational-status/action-types';\r\nimport { createPaginationObject } from 'utils/reducers/pagination/pagination';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case siteOperationalStatusActions.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS: {\r\n return createPaginationObject(action.pagination);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/pagination/sosPagination.js","import actionTypes from '../../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_SORTING_FUNCTION:\r\n return action.sortingFunction;\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/sorting-function/sorting-function.js","import utilsActions from 'utils/actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case utilsActions.DOWNLOAD_POSTER_REQUEST:\r\n case utilsActions.FETCH_POSTER_URL_REQUEST:\r\n case utilsActions.DOWNLOAD_POSTER_FAILURE:\r\n case utilsActions.FETCH_POSTER_URL_FAILURE: {\r\n return {\r\n ...state,\r\n ...action.error,\r\n };\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/error/error.js","export function createNamedReducer(reducerFunction, reducerName) {\r\n return (state, action) => {\r\n const { name } = action;\r\n const isInitializationCall = state === undefined;\r\n if (name !== reducerName && !isInitializationCall) return state;\r\n\r\n return reducerFunction(state, action);\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/reducers/createNamedReducer.js","import { RECEIVE_TERM_BY_ID, RECEIVE_TERMS } from '../actions/terms-preview.actions';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case RECEIVE_TERM_BY_ID:\r\n return {\r\n ...state,\r\n selectedTerm: { ...action.selectedTerm },\r\n };\r\n case RECEIVE_TERMS:\r\n return {\r\n list: [...action.list.reverse()],\r\n ...state,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/terms-preview/reducers/terms-preview.reducer.js","import { SET_SUBTYPE, SET_TYPE, CLEAR_RETAILER_DASHBOARDS } from '../actions/retailer-dashboards.actions';\r\n\r\nconst initialState = {\r\n type: '',\r\n subtype: 'summary',\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_TYPE: {\r\n return { ...state, type: action.payload, subtype: 'summary' };\r\n }\r\n case SET_SUBTYPE: {\r\n return { ...state, subtype: action.payload };\r\n }\r\n case CLEAR_RETAILER_DASHBOARDS: {\r\n return initialState;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-dashboards/reducers/retailer-dashboards.reducer.js","import actionTypes from '../actions/action-types';\r\n\r\nexport const initialState = {\r\n isLoading: false,\r\n error: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.DOWNLOAD_REPORTS_PACK_REQUEST:\r\n case actionTypes.DOWNLOAD_REPORTS_PACK_SUCCESS:\r\n case actionTypes.DOWNLOAD_REPORTS_PACK_FAILURE:\r\n return {\r\n isLoading: action.isLoading,\r\n error: action.error,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/download-report-page/reducers/download-report-page.reducer.js","import _ from 'lodash';\r\n\r\nimport authValidators from 'auth/validators/action-validators';\r\nimport contactValidators from 'contact/validators/action-validators';\r\nimport documentsValidators from 'documents/validators/action-validators';\r\nimport emailNotificationTemplatesValidators from 'email-notification-templates/validators/action-validators';\r\nimport smsValidators from 'sms/validators/action-validators';\r\nimport faqValidators from 'faq/validators/action-validators';\r\nimport privilegeTemplatesValidators from 'privilege-templates/validators/action-validators';\r\nimport registrationValidators from 'registration/validators/action-validators';\r\nimport reportSubscriptionsValidators from 'report-subscriptions/validators/action-validators';\r\nimport retailerReportsValidators from 'retailer-reports/validators/action-validators';\r\nimport securityValidators from 'security/validators/action-validators';\r\nimport storeProfilesValidators from 'store-profiles/validators/action-validators';\r\nimport manageInventoryValidators from 'manage-inventory/validators/action-validators';\r\nimport dashboardValidators from 'dashboard/validators/action-validators';\r\nimport userValidators from 'user/validators/action-validators';\r\n\r\nconst initialState = {\r\n validators: _.merge(\r\n authValidators,\r\n contactValidators,\r\n documentsValidators,\r\n emailNotificationTemplatesValidators,\r\n smsValidators,\r\n faqValidators,\r\n privilegeTemplatesValidators,\r\n registrationValidators,\r\n reportSubscriptionsValidators,\r\n retailerReportsValidators,\r\n securityValidators,\r\n storeProfilesValidators,\r\n manageInventoryValidators,\r\n dashboardValidators,\r\n userValidators,\r\n userValidators,\r\n ),\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/app.reducer.js","import _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\n\r\nfunction canEditDocuments(model) {\r\n const userRole = _.get(model, 'session.role');\r\n return roles.ADMIN_ROLES.indexOf(userRole) >= 0;\r\n}\r\n\r\nfunction canShowHeader(model) {\r\n const userRole = _.get(model, 'session.role');\r\n return roles.ADMIN_ROLES.indexOf(userRole) >= 0;\r\n}\r\n\r\nconst permissions = {\r\n 'documents.editDocuments': [canEditDocuments],\r\n 'documents.showHeader': [canShowHeader],\r\n};\r\n\r\nexport default permissions;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/validators/action-validators.js","const validators = {};\r\n\r\nexport default validators;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/store-profiles/validators/action-validators.js","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n items: {},\r\n interval: 3000,\r\n draft: false,\r\n isLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_BANNERS_REQUEST:\r\n case actionTypes.FETCH_BANNERS_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n items: {},\r\n };\r\n case actionTypes.FETCH_BANNERS_SUCCESS: {\r\n const items = _.groupBy(action.result.entries, 'locale');\r\n action.locales.forEach((locale) => {\r\n items[locale.code] = items[locale.code]\r\n ? items[locale.code].reduce((bannerArr, entry) => {\r\n const fields = appHelpers.getFieldsFromEntry(entry)[entry.locale];\r\n return bannerArr.concat({ ...fields, id: entry.id });\r\n }, [])\r\n : [];\r\n });\r\n const { interval } = action.result.properties;\r\n const draft = action.result.versionType === 'DRAFT';\r\n\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n items: { ...items },\r\n interval,\r\n draft,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/banners.reducer.js","import _ from 'lodash';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CONFIG_SUCCESS: {\r\n return _.cloneDeep(action.config);\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/config.reducer.js","import { SET_DICT_BY_NAME } from '../actions/dictionaries.actions';\r\n\r\nconst initialState = {\r\n userTemplates: [],\r\n userClasses: {},\r\n reportName: [],\r\n reportNames: [],\r\n reportCategories: [],\r\n transformationTypes: [],\r\n reportExtensions: [],\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_DICT_BY_NAME: {\r\n return { ...state, [action.payload.name]: action.payload.items };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries.reducer.js","import { combineReducers } from 'redux';\r\nimport pricePoints from './dictionaries/price-point-dictionary';\r\nimport packStatuses from './dictionaries/pack-statuses-dictionary';\r\nimport orderStatuses from './dictionaries/order-statuses-dictionary';\r\nimport userClass from './dictionaries/user-class-dictionary';\r\nimport reportCategories from './dictionaries/report-categories-dictionary';\r\nimport tiers from './dictionaries/tiers-dictionary';\r\nimport terms from './dictionaries/lottery-terms-dictionary';\r\nimport privilegeDisplayTypes from './dictionaries/privilege-display-types-dictionary';\r\nimport inquiryReasons from './dictionaries/inquiry-reasons-dictionary';\r\n\r\nimport invoiceDates from './dictionaries/invoice-dates-dictionary';\r\nimport userTemplates from './dictionaries/user-templates-dictionary';\r\nimport outletTypes from './dictionaries/outlet-types-dictionary';\r\nimport sftpAuthenticationTypes from './dictionaries/sftp-authentication-types';\r\nimport activityEvents from './dictionaries/activity-events-dictionary';\r\n\r\nconst dictionary = combineReducers({\r\n pricePoints,\r\n packStatuses,\r\n orderStatuses,\r\n userClass,\r\n reportCategories,\r\n tiers,\r\n invoiceDates,\r\n userTemplates,\r\n outletTypes,\r\n sftpAuthenticationTypes,\r\n activityEvents,\r\n terms,\r\n privilegeDisplayTypes,\r\n inquiryReasons,\r\n});\r\n\r\nexport default dictionary;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionary.reducer.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRICE_POINTS_DICTIONARY_SUCCESS:\r\n return { ...action.pricePoints };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/price-point-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PACK_STATUSES_DICTIONARY_SUCCESS:\r\n return { ...action.packStatuses };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/pack-statuses-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ORDER_STATUSES_DICTIONARY_SUCCESS:\r\n return { ...action.orderStatuses };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/order-statuses-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USER_CLASS_DICTIONARY_SUCCESS:\r\n return { ...action.userClass };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/user-class-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS:\r\n return { ...action.categories };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/report-categories-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_TIERS_DICTIONARY_SUCCESS: {\r\n return { ...action.dictionary };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/tiers-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LOTTERY_TERMS_DICTIONARY_SUCCESS:\r\n return { ...action.terms };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/lottery-terms-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_PRIVILEGE_DISPLAY_TYPES_DICTIONARY_SUCCESS: {\r\n return { ...action.displayTypes };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/privilege-display-types-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS: {\r\n return [...action.dictionary];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/inquiry-reasons-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_INVOICE_DATES_DICTIONARY_SUCCESS: {\r\n return [ ...action.dates ];\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/invoice-dates-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS:\r\n return { ...action.templates };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/user-templates-dictionary.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS:\r\n return { ...action.outletTypes };\r\n default:\r\n return state;\r\n }\r\n};\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/outlet-types-dictionary.js","import actionTypes from 'app/actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_SFTP_AUTHENTICATION_TYPES_DICTIONARY_SUCCESS: {\r\n return { ...action.types };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/sftp-authentication-types.js","import actionTypes from '../../actions/dictionaries/dictionaries.action-types';\r\n\r\nexport default (state = {}, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS:\r\n return { ...action.activityEvents };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dictionaries/activity-events-dictionary.js","import { CLEAR_DIRTY_FORM, SET_DIRTY_FORM } from '../actions/dirty-forms.actions';\r\n\r\nconst initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case CLEAR_DIRTY_FORM:\r\n return { ...initialState };\r\n case SET_DIRTY_FORM: {\r\n return { ...state, [action.payload.form]: action.payload.value };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/dirty-forms.reducer.js","import actionTypes from '../actions/game-images.actions';\r\n\r\nconst initialState = {\r\n games: [],\r\n newImages: [],\r\n isLoading: false,\r\n isSaving: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_GAME_IMAGES_REQUEST:\r\n case actionTypes.FETCH_GAME_IMAGES_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n games: [],\r\n };\r\n case actionTypes.FETCH_GAME_IMAGES_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n games: [...action.games],\r\n };\r\n case actionTypes.UPDATE_GAME_IMAGES:\r\n const image = state.newImages.find((game) => game.gameId === action.gameImage.gameId);\r\n\r\n if (image) {\r\n const newImages = state.newImages.map((image) => {\r\n if (image.gameId === action.gameImage.gameId) {\r\n return { ...action.gameImage };\r\n }\r\n return image;\r\n });\r\n\r\n return {\r\n ...state,\r\n newImages,\r\n };\r\n }\r\n return {\r\n ...state,\r\n newImages: [...state.newImages, action.gameImage],\r\n };\r\n case actionTypes.CLEAR_GAME_IMAGES:\r\n return {\r\n ...state,\r\n newImages: [],\r\n };\r\n case actionTypes.UPDATE_GAME_IMAGES_REQUEST:\r\n case actionTypes.UPDATE_GAME_IMAGES_FAILURE:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n };\r\n case actionTypes.UPDATE_GAME_IMAGES_SUCCESS:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n newImages: state.newImages.filter((newImage) => newImage.gameId !== action.game.id),\r\n games: state.games.map((game) => {\r\n if (game.id !== action.game.id) {\r\n return game;\r\n }\r\n return {\r\n ...game,\r\n imageURL: action.game.imageURL,\r\n };\r\n }),\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/game-images.reducer.js","const initialState = {};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/home.reducer.js","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n current: {},\r\n draft: false,\r\n properties: {},\r\n isLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_LOGIN_POPUP_REQUEST:\r\n case actionTypes.FETCH_LOGIN_POPUP_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: {},\r\n };\r\n case actionTypes.FETCH_LOGIN_POPUP_SUCCESS: {\r\n const popups = action.result.entries.reduce((popupArr, entry) => {\r\n const newEntry = _.cloneDeep(entry);\r\n newEntry.fields = appHelpers.getFieldsFromEntry(entry);\r\n return popupArr.concat(newEntry);\r\n }, []);\r\n const draft = action.result.versionType === 'DRAFT';\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n current: popups[0] || {},\r\n draft,\r\n properties: { ...action.result.properties },\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/login-popup.reducer.js","import actionTypes from '../actions/manage-configurable-link.actions';\r\n\r\nconst initialState = {\r\n entries: [],\r\n isLoading: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CONFIGURABLE_LINK_REQUEST:\r\n case actionTypes.FETCH_CONFIGURABLE_LINK_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_CONFIGURABLE_LINK_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n entries: [...action.entries],\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/manage-configurable-link.reducer.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'manage-configurable-link';\r\n\r\nexport const fetchConfigurableLink = async (locale) => {\r\n const url = DepsService.rest.widgets.configurableLink.url;\r\n const urlParams = { };\r\n const queryParams = { locale };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateConfigurableLink = async (entries) => {\r\n const url = DepsService.rest.cms.configurableLink.url;\r\n const data = { entries };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, data);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/manage-configurable-link.api.js","import actionTypes from '../actions/manage-icons.actions';\r\n\r\nconst initialState = {\r\n entries: [],\r\n entriesDeleted: [],\r\n isLoading: false,\r\n iconsApprovalStatus: null,\r\n error: '',\r\n notification: '',\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ICONS_REQUEST:\r\n case actionTypes.FETCH_ICONS_FAILURE:\r\n case actionTypes.DISCARD_CHANGES_FAILURE:\r\n case actionTypes.DISCARD_CHANGES_REQUEST:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.DISCARD_CHANGES_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n notification: action.notification,\r\n };\r\n case actionTypes.FETCH_ICONS_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n entries: [...action.entries],\r\n iconsApprovalStatus: action.versionType,\r\n };\r\n case actionTypes.UPLOAD_ICON_REQUEST:\r\n case actionTypes.UPLOAD_ICON_FAILURE:\r\n return {\r\n ...state,\r\n isFileUploading: action.isFileUploading,\r\n };\r\n case actionTypes.UPLOAD_ICON_SUCCESS:\r\n return {\r\n ...state,\r\n isFileUploading: action.isFileUploading,\r\n notification: action.notification,\r\n iconsApprovalStatus: action.iconsApprovalStatus,\r\n };\r\n case actionTypes.SELECT_ICON_REQUEST: {\r\n return {\r\n ...state,\r\n startFileSelection: action.startFileSelection,\r\n };\r\n }\r\n case actionTypes.SELECT_ICON_FAILURE:\r\n return {\r\n ...state,\r\n startFileSelection: action.startFileSelection,\r\n error: action.error,\r\n };\r\n case actionTypes.SELECT_ICON_SUCCESS:\r\n return {\r\n ...state,\r\n startFileSelection: action.startFileSelection,\r\n notification: action.notification,\r\n entries: [...[action.icon], ...state.entries],\r\n };\r\n\r\n case actionTypes.DELETE_ICON:\r\n return {\r\n ...state,\r\n notification: action.notification,\r\n entries: state.entries.filter((icon) => icon !== action.icon),\r\n entriesDeleted: [...[action.icon], ...state.entriesDeleted],\r\n };\r\n case actionTypes.CANCEL_CHANGES:\r\n return {\r\n ...state,\r\n entries: [\r\n ...state.entries.filter((icon) => icon.id !== undefined),\r\n ...state.entriesDeleted,\r\n ],\r\n entriesDeleted: initialState.entriesDeleted,\r\n };\r\n case actionTypes.CLEAR_NOTIFICATIONS:\r\n return {\r\n ...state,\r\n error: action.error,\r\n notification: action.notification,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/manage-icons.reducer.js","import actionTypes from '../actions/media-templates.actions';\r\n\r\nconst initialState = {\r\n entries: [],\r\n fonts: [],\r\n isLoading: false,\r\n isSaving: false,\r\n error: false,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_MEDIA_TEMPLATE_REQUEST:\r\n case actionTypes.FETCH_MEDIA_TEMPLATE_FAILURE:\r\n case actionTypes.FETCH_FONTS_REQUEST:\r\n case actionTypes.FETCH_FONTS_FAILURE:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n };\r\n case actionTypes.FETCH_MEDIA_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n entries: [...action.entries],\r\n };\r\n case actionTypes.FETCH_FONTS_SUCCESS:\r\n return {\r\n ...state,\r\n isLoading: action.isLoading,\r\n fonts: [...action.fonts],\r\n };\r\n case actionTypes.UPDATE_MEDIA_TEMPLATE_REQUEST:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n };\r\n case actionTypes.UPDATE_MEDIA_TEMPLATE_FAILURE:\r\n case actionTypes.UPDATE_MEDIA_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n isSaving: action.isSaving,\r\n error: action.error,\r\n };\r\n case actionTypes.PREVIEW_MEDIA_TEMPLATE_REQUEST:\r\n return {\r\n ...state,\r\n isPreviewing: action.isPreviewing,\r\n };\r\n case actionTypes.PREVIEW_MEDIA_TEMPLATE_FAILURE:\r\n case actionTypes.PREVIEW_MEDIA_TEMPLATE_SUCCESS:\r\n return {\r\n ...state,\r\n isPreviewing: action.isPreviewing,\r\n error: action.error,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/media-templates.reducer.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'media-templates';\r\n\r\nexport const fetchMediaTemplate = async (posterName) => {\r\n const url = DepsService.rest.cms.mediaTemplate.get.url;\r\n const urlParams = { posterName };\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateMediaTemplate = async (data) => {\r\n const url = DepsService.rest.cms.mediaTemplate.update.url;\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, data);\r\n};\r\n\r\nexport const previewMediaTemplate = async (previewData) => {\r\n const url = DepsService.rest.cms.mediaTemplate.preview.url;\r\n const urlParams = {};\r\n const headers = {\r\n responseType: 'arraybuffer',\r\n };\r\n\r\n return DepsService.restSrv.create(CONTEXT, url, previewData, urlParams, headers);\r\n};\r\n\r\nexport const fetchFonts= async () => {\r\n const url = DepsService.rest.cms.mediaTemplate.fonts.url;\r\n const urlParams = {};\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/media-templates.api.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport actionTypes from '../actions/action-types';\r\n\r\nconst initialState = {\r\n fields: {},\r\n attachments: {},\r\n title: '',\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_CMS_TERMS_OF_USE_SUCCESS:\r\n case actionTypes.FETCH_CMS_PRIVACY_POLICY_SUCCESS: {\r\n return {\r\n fields: cloneDeep(action.response.fields),\r\n attachments: cloneDeep(action.response.attachments),\r\n title: action.response.title,\r\n };\r\n }\r\n case actionTypes.CLEAR_CMS_TERMS: {\r\n return initialState;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/terms-management.reducer.js","import { combineReducers } from 'redux';\r\n\r\nimport colors from './theme/colors';\r\nimport error from './theme/error';\r\n\r\nconst theme = combineReducers({\r\n colors,\r\n error,\r\n});\r\n\r\nexport default theme;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/theme.reducer.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.SET_CURRENT_THEME_SUCCESS: {\r\n return [...action.theme];\r\n }\r\n case actionTypes.UPDATE_THEME_COLOR_SUCCESS: {\r\n return state.map((color) => {\r\n if (color.id === action.color.id) {\r\n return {\r\n ...action.color,\r\n };\r\n }\r\n\r\n return color;\r\n });\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/theme/colors.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.SAVE_THEME_FAILURE:\r\n case actionTypes.SAVE_THEME_REQUEST: {\r\n return action.error;\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/theme/error.js","import { combineReducers } from 'redux';\r\nimport { loadingStatusAccordingToReducer } from 'utils/reducers/loading-status/loading-status';\r\nimport items from './widgets/items';\r\nimport copyItems from './widgets/copy-items';\r\nimport draft from './widgets/draft';\r\nimport isMaintenance from './widgets/is-maintenance';\r\n\r\nconst widgets = combineReducers({\r\n items,\r\n copyItems,\r\n draft,\r\n isMaintenance,\r\n isLoading: loadingStatusAccordingToReducer('widgetsLoadingStatus'),\r\n});\r\n\r\nexport default widgets;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets.reducer.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return [...action.items];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/items.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = [], action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return action.home ? [] : cloneDeep(action.items);\r\n case actionTypes.CANCEL_WIDGETS_CHANGES:\r\n return [...action.copyItems];\r\n case actionTypes.ADD_WIDGET:\r\n return [...state, action.widget];\r\n case actionTypes.UPDATE_WIDGET:\r\n return state.map((item, index) => (index === action.index ? { ...item, ...action.widget } : item));\r\n case actionTypes.DELETE_WIDGET:\r\n return [...state.slice(0, action.index), ...state.slice(action.index + 1)];\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/copy-items.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return action.draft;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/draft.js","import actionTypes from 'app/actions/action-types';\r\n\r\nexport default (state = false, action) => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_WIDGETS_SUCCESS:\r\n return false;\r\n case actionTypes.FETCH_WIDGETS_FAILURE:\r\n return true;\r\n default:\r\n return state;\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/reducers/widgets/is-maintenance.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('auth-routing', []).config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider\r\n .state('auth-changePassword', {\r\n parent: 'arw',\r\n url: '/change-password',\r\n template: ``,\r\n params: {\r\n skipDirtyForms: false,\r\n email: null,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Change Password')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n resetSession: appFactory.dispatch('auth.resetSession', true),\r\n validateField: appFactory.uiHelpers.validateField,\r\n }),\r\n ],\r\n },\r\n })\r\n .state('auth-resetPassword', {\r\n parent: 'arw',\r\n url: '/forgot-passwd',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Forgot Password')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('auth-forgotUsername', {\r\n parent: 'arw',\r\n url: '/forgot-username',\r\n template: `\r\n `,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Forgot Email')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n remindUsername: appFactory.dispatch('auth.remindUsername', true),\r\n }),\r\n ],\r\n },\r\n })\r\n .state('user-logout', {\r\n parent: 'arw',\r\n url: '/logout',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n ($ngRedux) => {\r\n $ngRedux.dispatch(changePageTitle(null));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n logout: [\r\n 'appFactory',\r\n '$state',\r\n 'toastr',\r\n (appFactory, $state, toastr) => {\r\n toastr.clear();\r\n const registrationConfirm = $state.current.name === 'registration-complete';\r\n return appFactory.dispatch('auth.logout', true).run(registrationConfirm);\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/auth-routing-module.js","import angular from 'angular';\r\nimport resetAccountPasswordRouting from './reset-account-password-routing-module';\r\nimport ResetAccountPasswordComponent from './components/reset-account-password/reset-account-password-component';\r\nimport ResetPasswordButtonComponent from './components/reset-password-button/reset-password-button-component';\r\n\r\nexport default angular\r\n .module('reset-account-password', [resetAccountPasswordRouting.name])\r\n .component('resetAccountPassword', new ResetAccountPasswordComponent())\r\n .component('resetPasswordButton', new ResetPasswordButtonComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/reset-account-password-module.js","import angular from 'angular';\r\n\r\nexport default angular.module('reset-account-password-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('user-resetAccountPassword', {\r\n parent: 'arw',\r\n url: '/reset-account-password/{userId:[0-9]*}',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/reset-account-password-routing-module.js","import _ from 'lodash';\r\nimport {\r\n loadUserById,\r\n getPasswordResetQuestions,\r\n resetAccountPassword,\r\n forceResetAccountPassword,\r\n} from 'user/resources/user.api';\r\nimport resetAccountPasswordTemplate from './reset-account-password.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', 'gettextCatalog', 'Notifications')\r\nclass ResetAccountPasswordController {\r\n constructor() {\r\n this.userId = this.$state.params.userId;\r\n }\r\n\r\n $onInit() {\r\n if (this.userId) {\r\n loadUserById(this.userId)\r\n .then((user) => {\r\n this.username = user.username;\r\n return getPasswordResetQuestions(this.username)\r\n .then((result) => {\r\n this.passwordResetQuestions = result.questions;\r\n this.questionsAndAnswers = {\r\n questions: _.clone(result.questions),\r\n answers: _.map(result.questions, () => ''),\r\n };\r\n });\r\n });\r\n } else {\r\n this.$state.go('user-manageUsers', { skipDirtyForms: true });\r\n }\r\n }\r\n\r\n forceSubmitForm() {\r\n forceResetAccountPassword(this.username)\r\n .then(() => this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Force Password Reset Success!'),\r\n ).result)\r\n .then(() => this.cancelForm());\r\n }\r\n\r\n submitForm(form) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n const questionsAndAnswers = this.evalResetData();\r\n\r\n resetAccountPassword(this.username, questionsAndAnswers)\r\n .then(() => this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Password Reset Success!'),\r\n ).result)\r\n .then(() => {\r\n form.$setPristine();\r\n return this.cancelForm();\r\n });\r\n }\r\n\r\n evalResetData() {\r\n const questionsAndAnswers = {\r\n questions: [],\r\n answers: [],\r\n };\r\n\r\n if (this.questionsAndAnswers.answers[0]) {\r\n questionsAndAnswers.questions.push(this.questionsAndAnswers.questions[0]);\r\n questionsAndAnswers.answers.push(this.questionsAndAnswers.answers[0]);\r\n }\r\n if (this.questionsAndAnswers.answers[1]) {\r\n questionsAndAnswers.questions.push(this.questionsAndAnswers.questions[1]);\r\n questionsAndAnswers.answers.push(this.questionsAndAnswers.answers[1]);\r\n }\r\n return questionsAndAnswers;\r\n }\r\n\r\n cancelForm() {\r\n this.$state.go('user-viewAccountDetails', { id: this.userId });\r\n }\r\n}\r\n\r\nexport default class ResetAccountPasswordComponent {\r\n constructor() {\r\n this.template = resetAccountPasswordTemplate;\r\n this.controller = ResetAccountPasswordController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = undefined;\r\n\r\nexport const fetchRedirectDetails = (type, adminId, alertId) => {\r\n const { url } = DepsService.rest.lsp.redirect;\r\n const queryParams = { type, adminId, alertId };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/lsp/lsp.api.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n You should only reset a user’s password if they have explicitly requested it, and only if they are able to answer one of the following security questions. If a user is unable to answer a security question, you have the option to force reset their password. Only do this if you are sure that the person requesting the reset is the registered user. Upon successful password reset, the system shall email the user a temporary password.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Security answer.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Security answer\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Force Password Reset\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/reset-account-password/components/reset-account-password/reset-account-password.html\n// module id = 1174\n// module chunks = 0","import { forceResetAccountPassword } from 'user/resources/user.api';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport resetPasswordButtonTemplate from './reset-password-button.html';\r\nimport resetPasswordDialogTemplate from './reset-password-confirm-dialog.html';\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass ResetPasswordButtonController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(null, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.canUseResetForm = this.checkAccess('user.canUseResetForm');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n resetPassword() {\r\n return this.canUseResetForm ? this.onShowResetPasswordConfirm() : this.forceSubmitForm();\r\n }\r\n\r\n forceSubmitForm() {\r\n forceResetAccountPassword(this.username)\r\n .then(() => this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Force Password Reset Success!'),\r\n ).result)\r\n .then(() => this.cancelForm());\r\n }\r\n\r\n onShowResetPasswordConfirm() {\r\n return this.Notifications.showComplexDialog({\r\n template: resetPasswordDialogTemplate,\r\n resolve: {\r\n username: () => this.username,\r\n },\r\n }).result.then(() => {\r\n this.$state.go('user-resetAccountPassword', {\r\n userId: this.userId,\r\n skipDirtyForms: true,\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport default class ResetPasswordButtonComponent {\r\n constructor() {\r\n this.template = resetPasswordButtonTemplate;\r\n this.controller = ResetPasswordButtonController;\r\n this.bindings = {\r\n username: '<',\r\n userId: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button-component.js","module.exports = \"\\r\\n \\r\\n Reset password\\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-button.html\n// module id = 1176\n// module chunks = 0","module.exports = \"
\\r\\n

Reset password

\\r\\n
\\r\\n
\\r\\n

\\r\\n Are you sure you want to reset {{ $ctrl.username }}’s password?\\r\\n

\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/reset-account-password/components/reset-password-button/reset-password-confirm-dialog.html\n// module id = 1177\n// module chunks = 0","import angular from 'angular';\r\nimport ForgotPasswordComponent from './forgot-password-component';\r\n\r\nexport default angular\r\n .module('forgot-password', [])\r\n .component('forgotPassword', new ForgotPasswordComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/forgot-password/forgot-password-module.js","import isEmpty from 'lodash/isEmpty';\r\n\r\nimport api from 'auth/resources/forgot-password.api';\r\n\r\nimport successModalTpl from './views/success-confirm-modal.html';\r\nimport forgotPassTpl from './forgot-password.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', 'gettextCatalog', 'Notifications')\r\nclass ForgotPasswdController {\r\n $onInit() {\r\n this.securityQuestions = null;\r\n this.securityAnswers = null;\r\n }\r\n\r\n redirect() {\r\n this.$state.go('home-view');\r\n }\r\n\r\n async applyEmail(passwordResetForm) {\r\n passwordResetForm.$setSubmitted();\r\n\r\n if (passwordResetForm.$invalid) return;\r\n\r\n const securityQuestions = await api.fetchSecurityQuestionsByUserName(this.email, this.captchaToken);\r\n\r\n if (isEmpty(securityQuestions)) {\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Unable to Reset Password'),\r\n this.gettextCatalog.getString('Sorry, you cannot reset your password because your registration has not been completed. Please follow instructions sent in authentication email to finish registration.'),\r\n ).result;\r\n\r\n this.redirect();\r\n } else {\r\n this.securityQuestions = securityQuestions;\r\n }\r\n }\r\n\r\n cancelResetPasswd() {\r\n this.redirect();\r\n }\r\n\r\n onQuestionChange(form) {\r\n form.$setPristine();\r\n form.$setUntouched();\r\n this.securityAnswer = '';\r\n this.attemptsLeft = null;\r\n }\r\n\r\n\r\n async forgotPassword(passwordResetForm) {\r\n try {\r\n this.attemptsLeft = null;\r\n const data = {\r\n username: this.email,\r\n challenges: [\r\n {\r\n questionId: this.securityQuestion,\r\n answer: this.securityAnswer,\r\n },\r\n ],\r\n };\r\n\r\n\r\n passwordResetForm.$setSubmitted();\r\n\r\n if (passwordResetForm.$invalid) return;\r\n\r\n await api.resetPassword(data);\r\n\r\n await this.Notifications.showComplexDialog({\r\n template: successModalTpl,\r\n }).result;\r\n\r\n this.redirect();\r\n } catch ({ data = {} }) {\r\n const { errors } = data;\r\n const [error] = errors;\r\n\r\n this.attemptsLeft = error.params.ATTEMPTS_LEFT;\r\n }\r\n }\r\n}\r\n\r\nexport default class ForgotPasswordComponent {\r\n constructor() {\r\n this.template = forgotPassTpl;\r\n this.controller = ForgotPasswdController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/forgot-password/forgot-password-component.js","module.exports = \"
\\r\\n

Success!

\\r\\n
\\r\\n
\\r\\n
\\r\\n We have emailed you a temporary password. You will be prompted to change it the next time you log in.\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-password/views/success-confirm-modal.html\n// module id = 1180\n// module chunks = 0","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Forgot Password\\r\\n \\r\\n
\\r\\n

\\r\\n \\r\\n Enter the email address associated with your account.\\r\\n \\r\\n

\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Please enter the email address you used to sign up.\\r\\n \\r\\n\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Forgot Password\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Select Security Question\\r\\n \\r\\n \\r\\n \\r\\n {{ question.question }}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Please select Security Question.\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Field is required.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Your answer does not match the answer you provided previously Please try again or select a different question ({{ $ctrl.attemptsLeft }} attempts remaining).\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-password/forgot-password.html\n// module id = 1181\n// module chunks = 0","import angular from 'angular';\r\nimport SetupTwoFactorDialogComponent from './components/setup-two-factor-dialog/setup-two-factor-dialog-component';\r\nimport ConfirmTwoFactorDialogComponent from './components/confirm-two-factor-dialog/confirm-two-factor-dialog-component';\r\n\r\nexport default angular\r\n .module('two-factor', [])\r\n .component('setupTwoFactorDialog', new SetupTwoFactorDialogComponent())\r\n .component('confirmTwoFactorDialog', new ConfirmTwoFactorDialogComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/two-factor/two-factor-module.js","import QRCode from 'qrcode';\r\nimport * as api from 'auth/resources/two-factor.api';\r\nimport { getApplicationName } from 'selectors';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { confirmTwoFactorCode } from 'auth/resources/two-factor.api';\r\nimport template from './setup-two-factor-dialog.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const applicationName = getApplicationName(state);\r\n\r\n return {\r\n applicationName,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SetupTwoFactorDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n async $onInit() {\r\n const response = await api.fetchTwoFactorSetup();\r\n this.secret = response.secret;\r\n this.imageQR = await QRCode.toDataURL(this.generateURI());\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n generateURI() {\r\n const username = encodeURIComponent(this.resolve.credentials.username);\r\n const issuer = encodeURIComponent(this.applicationName);\r\n return `otpauth://totp/${issuer}:${username}?secret=${this.secret}&issuer=${issuer}`;\r\n }\r\n\r\n async confirm() {\r\n try {\r\n const params = {\r\n resourceOwnerCredentials: this.resolve.credentials,\r\n secret: this.secret,\r\n code: this.code,\r\n remember: true,\r\n };\r\n const tokens = await api.confirmTwoFactorCode(params);\r\n this.close({ $value: tokens });\r\n } catch (error) {\r\n console.error(error);\r\n this.showErrorCode = true;\r\n }\r\n }\r\n}\r\nexport default class SetupTwoFactorDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SetupTwoFactorDialogController;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog-component.js","module.exports = \"
\\r\\n

\\r\\n \\r\\n Set up Authenticator App\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n \\r\\n Step 1\\r\\n \\r\\n \\r\\n \\r\\n Visit the App Store to get an authenticator app like Google Authenticator or Microsoft Authenticator,\\r\\n then follow the app`s instructions to set up an account with them.\\r\\n \\r\\n

\\r\\n

\\r\\n \\r\\n \\r\\n Step 2\\r\\n \\r\\n \\r\\n \\r\\n Use your authenticator app to scan the barcode below or enter manually secret code.\\r\\n \\r\\n

\\r\\n
\\r\\n \\\"{{\\r\\n
\\r\\n
\\r\\n
Secret Code: {{ ::$ctrl.secret }}
\\r\\n
\\r\\n\\r\\n

\\r\\n \\r\\n \\r\\n Step 3\\r\\n \\r\\n \\r\\n \\r\\n Enter 6-digit code to confirm setup\\r\\n \\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n The code is invalid\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/two-factor/components/setup-two-factor-dialog/setup-two-factor-dialog.html\n// module id = 1206\n// module chunks = 0","import get from 'lodash/get';\r\nimport * as api from 'auth/resources/two-factor.api';\r\nimport template from './confirm-two-factor-dialog.html';\r\n\r\nclass ConfirmTwoFactorDialogController {\r\n async confirm() {\r\n try {\r\n const params = {\r\n resourceOwnerCredentials: this.resolve.credentials,\r\n code: this.code,\r\n remember: this.remember || false,\r\n };\r\n const tokens = await api.confirmTwoFactorCode(params);\r\n this.close({ $value: tokens });\r\n } catch (error) {\r\n console.error(error);\r\n this.showErrorCode = true;\r\n const errorCode = get(error, 'data.errors[0].code');\r\n if (['ACCOUNT_LOCKED', '2FA_CODE_BLOCKED'].includes(errorCode)) {\r\n this.close({ $value: error });\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport default class ConfirmTwoFactorDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ConfirmTwoFactorDialogController;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog-component.js","module.exports = \"
\\r\\n

\\r\\n \\r\\n Two-factor authentication\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n Please enter the code generated by your mobile Authenticator app\\r\\n \\r\\n

\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n The code is invalid\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/two-factor/components/confirm-two-factor-dialog/confirm-two-factor-dialog.html\n// module id = 1208\n// module chunks = 0","import angular from 'angular';\r\nimport get from 'lodash/get';\r\nimport merge from 'lodash/merge';\r\nimport accountBlockedTpl from 'auth/components/login-form/views/account-blocked-modal.html';\r\nimport accountBlockedCtrl from 'auth/components/login-form/account-blocked-modal';\r\nimport alertModalTpl from '../views/alert-modal.html';\r\n\r\nexport default angular.module('auth-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = merge(appFactory.deps.config.errorCodes, {\r\n auth: {\r\n '-1': (params) => ({\r\n body: gettextCatalog.getString('Unexpected server error. Please try again later or call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n PASSWORD_ALREADY_USED: () => ({\r\n title: gettextCatalog.getString('Cannot reuse password'),\r\n body: gettextCatalog.getString(\"Cannot reuse old password. Last 3 passwords mustn't repeat.\"),\r\n template: alertModalTpl,\r\n }),\r\n ACCOUNT_NOT_FOUND: () => ({ title: gettextCatalog.getString('Account not found. Please contact the Lottery.') }),\r\n INVALID_USER_STATUS: () => ({ title: gettextCatalog.getString('Incorrect operation. Please contact the Lottery.') }),\r\n USER_NOT_FOUND: () => ({ title: gettextCatalog.getString('User not found.') }),\r\n BAD_CREDENTIALS: () => ({ title: gettextCatalog.getString('Incorrect credentials. Please try again.') }),\r\n USER_ALREADY_ACTIVATED: () => ({\r\n title: gettextCatalog.getString('User Account is already activated. Please login with your credentials.'),\r\n }),\r\n '2FA_NO_DEVICES': (params) => ({\r\n component: 'setupTwoFactorDialog',\r\n backdrop: 'static',\r\n size: 'lg',\r\n resolve: {\r\n credentials: () => get(params, 'payload.resourceOwnerCredentials', { username: '' }),\r\n },\r\n }),\r\n '2FA_NO_TRUSTED': (params) => ({\r\n component: 'confirmTwoFactorDialog',\r\n backdrop: 'static',\r\n resolve: {\r\n credentials: () => get(params, 'payload.resourceOwnerCredentials', { username: '' }),\r\n },\r\n }),\r\n ACCOUNT_SUSPENDED_MAX_LOGIN_FAILED: (params) => ({\r\n title: gettextCatalog.getString('Account suspended!'),\r\n body: gettextCatalog.getString(\r\n 'Account has been suspended due to exceeded number of failed login attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n template: alertModalTpl,\r\n }),\r\n ACCOUNT_SUSPENDED: (params) => ({\r\n title: gettextCatalog.getString('Account has been suspended. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n ACCOUNT_LOCKED: (params) => ({\r\n template: accountBlockedTpl,\r\n controller: accountBlockedCtrl,\r\n resolve: {\r\n model: () => appFactory.model,\r\n },\r\n }),\r\n USER_NOT_REGISTERED: () => ({\r\n title: gettextCatalog.getString(\r\n 'You have not completed registration. Please use link sent in the e-mail while registering to complete the process.'\r\n ),\r\n }),\r\n MAX_CHALLENGE_ANSWER_EXCEEDED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Sorry, you have exceeded the maximum number of Forgot Password attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n WRONG_CHALLENGE_ANSWER: () => ({\r\n title: gettextCatalog.getString(\r\n 'Your answer does not match the answer you provided previously Please try again or select a different question.'\r\n ),\r\n }),\r\n NON_UNIQUE_USER_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Phone number was provided by more than one user. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n BAD_CREDENTIALS_LAST_TRY: () => ({ title: gettextCatalog.getString('Incorrect credentials. Last attempt left.') }),\r\n USER_ACCESS_NOT_ALLOWED: () => ({ title: gettextCatalog.getString('User is not allowed to access this application.') }),\r\n NOT_ASSIGNED_LOTTERY_REPRESENTATIVE: () => ({\r\n title: gettextCatalog.getString(\r\n 'You are not allowed to perform this action as this user does not belong to one of your Retailers.'\r\n ),\r\n }),\r\n USER_DID_NOT_ACCEPT_TERMS_OF_USE: () => ({\r\n component: 'rwTermsOfUseDialog',\r\n }),\r\n RETAILER_ACCESS_NOT_ALLOWED: (params) => ({\r\n title: gettextCatalog.getString('Retailer access not allowed. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n ACCOUNT_NOT_ACTIVE: (params) => ({\r\n title: gettextCatalog.getString('Account is not {{ active }}. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n active: params.terms.ACTIVE.singular,\r\n }),\r\n }),\r\n CAPTCHA_NOT_FOUND: () => ({ title: gettextCatalog.getString('Captcha not found. Please reload captcha.') }),\r\n },\r\n forgotPassword: {\r\n PASSWORD_ALREADY_USED: () => ({\r\n title: gettextCatalog.getString('Cannot reuse password'),\r\n body: gettextCatalog.getString(\"Cannot reuse old password. Last 3 passwords mustn't repeat.\"),\r\n template: alertModalTpl,\r\n }),\r\n USER_NOT_FOUND: () => ({\r\n title: gettextCatalog.getString(\r\n 'Email not recognized. Please make sure you entered it correctly or Sign Up if you have not registered.'\r\n ),\r\n }),\r\n ACCOUNT_LOCKED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Sorry, you cannot reset your password because your account is suspended. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n MAX_CHALLENGE_ANSWER_EXCEEDED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'You have exceeded the maximum number of forgot password attempts. Please wait 30 minutes and try again. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n WRONG_CHALLENGE_ANSWER: () => ({\r\n title: gettextCatalog.getString(\r\n 'Your answer does not match the answer you provided previously Please try again or select a different question.'\r\n ),\r\n }),\r\n USER_NOT_REGISTERED: () => ({\r\n title: gettextCatalog.getString(\r\n 'You have not completed registration. Please use link sent in the e-mail while registering to complete the process.'\r\n ),\r\n }),\r\n },\r\n forgotUsername: {\r\n USER_NOT_FOUND: () => ({\r\n title: gettextCatalog.getString(\r\n 'Phone number was not found. Please enter mobile phone number that you provided upon registration or in Retailer Wizard’s account settings.'\r\n ),\r\n }),\r\n NON_UNIQUE_USER_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Phone number was provided by more than one user. Please call {{ contactPhone }} for assistance',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n },\r\n twoFactor: {\r\n '2FA_CODE_BLOCKED': (params) => ({\r\n title: gettextCatalog.getString('Account suspended!'),\r\n body: gettextCatalog.getString(\r\n 'Account has been suspended due to exceeded number of failed login attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n template: alertModalTpl,\r\n }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/config/errorcodes.conf.js","module.exports = \"
\\r\\n

\\r\\n Account Locked\\r\\n

\\r\\n
\\r\\n
\\r\\n You have exceeded the maximum number of login attempts.
Please wait 30 minutes for your account to unlock.
Alternatively, you may contact us to have your password reset.\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/account-blocked-modal.html\n// module id = 1220\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\n@Inject('$state', '$timeout')\r\nclass AccountBlockedDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n }\r\n\r\n onContactUsHandle() {\r\n this.close();\r\n this.$timeout(() => {\r\n this.$state.go('contact-view');\r\n }, 100);\r\n }\r\n}\r\n\r\nexport default AccountBlockedDialogController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/login-form/account-blocked-modal.js","import angular from 'angular';\r\nimport forgotUsernameTpl from './forgot-username.html';\r\nimport forgotUsernameModalTpl from './views/forgot-username-modal.html';\r\n\r\nconst mapStateToThis = ({ config, contact }) => {\r\n const { phoneMask, phoneLength } = config;\r\n const {\r\n lottery: { defaultContactPhone },\r\n } = contact;\r\n\r\n return {\r\n phoneMask,\r\n phoneLength,\r\n defaultContactPhone,\r\n };\r\n};\r\n\r\n@Inject('$ngRedux', 'Notifications', '$state')\r\nclass ForgotUsernameController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.initializeConfiguration();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n initializeConfiguration() {\r\n this.formModel = {};\r\n }\r\n\r\n forgotUsernameHandler(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) return;\r\n\r\n this.api.remindUsername\r\n .run(this.formModel)\r\n .then(() =>\r\n this.Notifications.showComplexDialog({\r\n template: forgotUsernameModalTpl,\r\n }).result.then(() => {\r\n this.$state.go('home-view');\r\n })\r\n )\r\n .catch(() => {\r\n this.formModel = {};\r\n this.$state.reload();\r\n });\r\n }\r\n}\r\n\r\nclass ForgotUsernameComponent {\r\n constructor() {\r\n this.template = forgotUsernameTpl;\r\n this.controller = ForgotUsernameController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular.module('forgot-username', []).component('forgotUsername', new ForgotUsernameComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/forgot-username/forgot-username-component.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
Forgot Email
\\r\\n

\\r\\n \\r\\n Please provide mobile phone number or contact the lottery at {{ phone }}\\r\\n \\r\\n

\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Please provide mobile phone number.\\r\\n \\r\\n \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-username/forgot-username.html\n// module id = 1223\n// module chunks = 0","module.exports = \"
\\r\\n

Success!

\\r\\n
\\r\\n
\\r\\n

\\r\\n Your Username was sent to your mobile phone via SMS\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/forgot-username/views/forgot-username-modal.html\n// module id = 1224\n// module chunks = 0","import angular from 'angular';\r\nimport api from 'auth/resources/forgot-password.api';\r\nimport changePasswordTpl from './change-password.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale, tokens } = session;\r\n\r\n return {\r\n locale,\r\n tokens,\r\n };\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications')\r\nclass ChangePasswordController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.formModel = {};\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async changePassword(form) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n await api.changePassword(this.formModel.newPasswd, this.tokens.refresh.code);\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('Password was reset successfully.')\r\n ).result;\r\n await this.api.resetSession.run();\r\n this.$state.go('home-view', null, { reload: true });\r\n }\r\n}\r\n\r\nclass ChangePasswordComponent {\r\n constructor() {\r\n this.template = changePasswordTpl;\r\n this.controller = ChangePasswordController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular.module('change-password', []).component('changePassword', new ChangePasswordComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/change-password/change-password-component.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n

Create New Password

\\r\\n

{{$ctrl.api.config.passwordErrorText[$ctrl.locale]}}

\\r\\n
\\r\\n
\\r\\n \\r\\n {{$ctrl.changePasswordForm}}\\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your new password.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please see password requirements above.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please reenter password here.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/change-password/change-password.html\n// module id = 1226\n// module chunks = 0","import get from 'lodash/get';\r\nimport loginHelpers from 'auth/helpers/login';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchNewLabelStatus } from 'documents/actions/fetch-new-label-status.actions';\r\nimport * as api from 'app/resources/login-popup.api';\r\nimport { REGISTRATION_TYPE } from 'app/validators/roles';\r\nimport appHelpers from 'app/app-helpers';\r\nimport formTemplate from './views/login-form.html';\r\nimport formMobileTemplate from './views/login-form-mobile.html';\r\nimport termsOfUseTpl from './views/login-terms-of-use.html';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { jurisdictionId, lspUrlLink, lspUrlLinkText, registrationType } = config;\r\n const showApplyToBeRetailerButton = canApplyToBeRetailer(registrationType, session.privileges);\r\n return {\r\n jurisdictionId,\r\n lspUrlLink,\r\n lspUrlLinkText,\r\n showApplyToBeRetailerButton,\r\n session,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchNewLabelStatus,\r\n};\r\n\r\nvar canApplyToBeRetailer = function (registrationType, privileges) {\r\n if (privileges.user.hasOwnProperty('applyToBecomeProspective') && registrationType === REGISTRATION_TYPE.RETAILER_ID) {\r\n return true;\r\n }\r\n return false;\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications', '$sce', '$localStorage', 'RwAnalyticsService')\r\nclass LoginFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.signUp = this.checkAccess('auth.signUp');\r\n this.forgotUsername = this.checkAccess('auth.forgotUsername');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async loginHandler(form, acceptTerms = false, tokens) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n\r\n try {\r\n const registrationForm = false;\r\n await this.api.login.run(this.model.credentials, acceptTerms, registrationForm, tokens);\r\n this.RwAnalyticsService.sendLoginEvent(this.session);\r\n } catch (error) {\r\n const errorCode = get(error, 'data.errors[0].code') || '';\r\n (get(loginHelpers, `handle${errorCode}`) || loginHelpers.handleDefault)(this, form, error);\r\n return;\r\n }\r\n\r\n if (this.isPasswordExpired()) {\r\n this.redirectToPasswordReset();\r\n return;\r\n }\r\n await this.showPopupInfo();\r\n await this.showNewLabel();\r\n this.redirectAfterLogin();\r\n }\r\n\r\n isPasswordExpired() {\r\n const { tokens } = this.session;\r\n return tokens.jwt.passwordExpired === 'true';\r\n }\r\n\r\n redirectToPasswordReset() {\r\n return appHelpers.redirectToPasswordReset({\r\n $state: this.$state,\r\n Notifications: this.Notifications,\r\n gettextCatalog: this.gettextCatalog,\r\n });\r\n }\r\n\r\n redirectAfterLogin() {\r\n return appHelpers.redirectAfterLogin(\r\n {\r\n $state: this.$state,\r\n Notifications: this.Notifications,\r\n gettextCatalog: this.gettextCatalog,\r\n config: this.api.config,\r\n $ngRedux: this.$ngRedux,\r\n },\r\n this.model,\r\n this.session.attemptedRoute\r\n );\r\n }\r\n\r\n async showNewLabel() {\r\n const hasAccessToDocumentsView = this.checkAccess('documents.view');\r\n if (hasAccessToDocumentsView) await this.fetchNewLabelStatus();\r\n }\r\n\r\n async showPopupInfo() {\r\n const message = await api.fetchPopupOnLogin(this.jurisdictionId, this.session);\r\n const ommitPopupInfo = this.session.passwordReset || this.session.temporaryUser || this.session.isAdmin;\r\n if (!ommitPopupInfo && message) {\r\n const hashMessage = `${this.session.id}-${this.hashCode(message)}`;\r\n if (!this.$localStorage[hashMessage]) {\r\n this.$localStorage[hashMessage] = true;\r\n return this.Notifications.showAlert('', message, { backdrop: 'static' }).result;\r\n }\r\n }\r\n return Promise.resolve();\r\n }\r\n\r\n hashCode(s) {\r\n return s.split('').reduce((a, b) => {\r\n a = (a << 5) - a + b.charCodeAt(0);\r\n return a & a;\r\n }, 0);\r\n }\r\n\r\n showTermsOfUse() {\r\n this.Notifications.showComplexDialog({\r\n template: termsOfUseTpl,\r\n resolve: {\r\n config: () => this.config,\r\n $sce: () => this.$sce,\r\n model: () => this.model,\r\n api: () => this.api,\r\n },\r\n });\r\n }\r\n}\r\n\r\nclass LoginFormComponent {\r\n constructor() {\r\n this.controller = LoginFormController;\r\n this.template = formTemplate;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n forgotUsername: '<',\r\n config: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nclass LoginFormMobileComponent {\r\n constructor() {\r\n this.controller = LoginFormController;\r\n this.template = formMobileTemplate;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n forgotUsername: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nangular\r\n .module('login-form', [])\r\n .component('loginForm', new LoginFormComponent())\r\n .component('loginFormMobile', new LoginFormMobileComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/components/login-form/login-form-component.js","function handleUSER_DID_NOT_ACCEPT_TERMS_OF_USE(context, form) {\r\n // eslint-disable-line camelcase\r\n context.loginHandler(form, true);\r\n}\r\n\r\nfunction handle2FA_NO_DEVICES(context, form, error) {\r\n const { response: tokens } = error;\r\n if (tokens) context.loginHandler(form, true, tokens);\r\n}\r\n\r\nfunction handle2FA_NO_TRUSTED(context, form, error) {\r\n const { response: tokens } = error;\r\n if (tokens) context.loginHandler(form, true, tokens);\r\n}\r\n\r\nfunction handleDefault(context, form) {\r\n form.$setPristine();\r\n return context.$state.go('home-view');\r\n}\r\n\r\nexport default {\r\n handleUSER_DID_NOT_ACCEPT_TERMS_OF_USE,\r\n handle2FA_NO_DEVICES,\r\n handle2FA_NO_TRUSTED,\r\n handleDefault,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/auth/helpers/login.js","module.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter the email address you used to sign up.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your password.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Log In\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Sign Up\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Apply to Be a Retailer\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/login-form.html\n// module id = 1229\n// module chunks = 0","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n Forgot?\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter the email address you used to sign up.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Forgot?\\r\\n \\r\\n
\\r\\n
\\r\\n Please enter your password.\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n Log In\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Sign Up\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Apply to Be a Retailer\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/login-form-mobile.html\n// module id = 1230\n// module chunks = 0","module.exports = \"
\\r\\n

{{$ctrl.config.applicationName}}\\r\\n Terms of Use\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Terms of Use temporarily unavailable due to maintenance. Please check back soon.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download attachment\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/auth/components/login-form/views/login-terms-of-use.html\n// module id = 1231\n// module chunks = 0","import angular from 'angular';\r\nimport contactRoutingModule from './contact-routing-module';\r\nimport contactListModule from './components/contact-list/contact-list-module';\r\nimport inquiryContactListModule from './components/inquiry-contacts-list/inquiry-contacts-list-module';\r\nimport contactUsModule from './components/contact-us/contact-us-module';\r\nimport manageContactModule from './components/manage-contact/manage-contact-module';\r\n\r\nexport default angular.module('contact', [\r\n contactRoutingModule.name,\r\n contactListModule.name,\r\n inquiryContactListModule.name,\r\n contactUsModule.name,\r\n manageContactModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/contact-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('contact-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('contact-view', {\r\n parent: 'arw',\r\n url: '/contact-us?tabId&inquiryReason',\r\n template: ``,\r\n redirectTo: 'contact',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Contact Us')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('contact-manage', {\r\n parent: 'arw',\r\n url: '/manage-contact',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Lottery Contacts')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('cms-inquiryReasonManagement', {\r\n parent: 'arw',\r\n url: '/inquiry-reason-management',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Inquiry Contacts')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/contact-routing-module.js","import angular from 'angular';\r\nimport ContactListComponent from './contact-list-component';\r\n\r\nexport default angular.module('contact-list', ['ui.tree']).component('contactList', new ContactListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-list/contact-list-module.js","import _ from 'lodash';\r\nimport appHelpers from 'app/app-helpers';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport helpers from '../../helpers/contact-helpers';\r\nimport contactListTemplate from './contact-list.html';\r\nimport EditCategoryDialogController from '../manage-contact/edit-category-dialog/edit-category-dialog-controller';\r\nimport editCategoryDialogTemplate from '../manage-contact/edit-category-dialog/edit-category-dialog.html';\r\nimport EditContactDialogController from '../manage-contact/edit-contact-dialog/edit-contact-dialog-controller';\r\nimport editContactDialogTemplate from '../manage-contact/edit-contact-dialog/edit-contact-dialog.html';\r\n\r\nconst DIRTY_FORM = 'contactManagement';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { locale } = session;\r\n const { locales, googleMapsUrl } = config;\r\n\r\n return {\r\n locale,\r\n locales,\r\n googleMapsUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'gettextCatalog')\r\nclass ContactListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onInit() {\r\n this.language = this.language || this.locale;\r\n this.contactDndTree = {\r\n accept: (sourceNodeScope, destNodesScope) => this.accept({ sourceNodeScope, destNodesScope }),\r\n dragMove: appHelpers.dragMove,\r\n orderChanged: () => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n },\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n editContact(contact, exists = true) {\r\n this.locales.map((locale) => {\r\n if (!contact.fields[locale.code]) {\r\n contact.fields[locale.code] = {\r\n phone: [],\r\n email: [],\r\n mapCoordinates: '',\r\n };\r\n }\r\n });\r\n\r\n this.Notifications.showComplexDialog({\r\n template: editContactDialogTemplate,\r\n bindToController: true,\r\n controller: EditContactDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Edit Contact'),\r\n language: () => this.language,\r\n contact: () => _.cloneDeep(contact),\r\n categories: () => this.contactList.groups,\r\n exists: () => exists,\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.saveContact(this.contactList.groups, result.contact, exists, result.categoryChanged);\r\n if (result.contact.id === _.get(this, 'contactList.properties.default')) {\r\n this.updatePhone(result.contact.fields[this.language].phone[0]);\r\n }\r\n });\r\n }\r\n\r\n editCategory(category) {\r\n this.Notifications.showComplexDialog({\r\n template: editCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: EditCategoryDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Edit Category'),\r\n category: () => _.cloneDeep(category),\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.saveCategory(this.contactList.groups, result.category, result.oldCategoryName);\r\n this.categories = this.contactList.groups;\r\n });\r\n }\r\n\r\n parseGoogleMapsUrl(contact) {\r\n if (!contact.fields[this.language]) {\r\n return '';\r\n }\r\n const addressLine1 = _.get(contact.fields, `[${this.language}].addressLine1`) || '';\r\n const addressLine2 = _.get(contact.fields, `[${this.language}].addressLine2`) || '';\r\n const addressLine3 = _.get(contact.fields, `[${this.language}].addressLine3`) || '';\r\n const address = `${addressLine1}${addressLine2 ? `+${addressLine2}` : ''}${addressLine3 ? `+${addressLine3}` : ''}`;\r\n const coords = _.get(contact.fields, `[${this.language}].mapCoordinates`) || '';\r\n\r\n return coords ? `${this.googleMapsUrl}place/${coords}` : `${this.googleMapsUrl}search/${address}`;\r\n }\r\n\r\n removeCategory(category) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.removeCategory(this.contactList.groups, category);\r\n this.categories = this.contactList.groups;\r\n }\r\n\r\n removeContact(contact, index) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = helpers.removeContact(this.contactList.groups, contact, index);\r\n }\r\n\r\n showMarker(contact) {\r\n const address = _.get(contact.fields, `[${this.language}].addressLine1`) || '';\r\n const coords = _.get(contact.fields, `[${this.language}].mapCoordinates`) || '';\r\n return address.length > 1 || coords.length > 1;\r\n }\r\n\r\n updatePhone(phone = {}) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.properties.phone = phone.phone;\r\n this.contactList.properties.ext = phone.ext;\r\n }\r\n}\r\n\r\nexport default class ContactListComponent {\r\n constructor() {\r\n this.template = contactListTemplate;\r\n this.controller = ContactListController;\r\n this.bindings = {\r\n language: '<',\r\n canEdit: '<',\r\n contactList: '<',\r\n accept: '&',\r\n onLanguageSelect: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-list/contact-list-component.js","module.exports = \"
\\r\\n
    \\r\\n\\r\\n
  • \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n {{ group.fields[$ctrl.language].description }}\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
      \\r\\n
    • \\r\\n
      \\r\\n
      \\r\\n \\r\\n\\r\\n \\r\\n
      \\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n
      \\r\\n
      \\r\\n
      Default contact must have phone number defined
      \\r\\n
      \\r\\n
      \\r\\n {{ contact.fields[$ctrl.language].name}}\\r\\n \\r\\n (default)\\r\\n \\r\\n
      \\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n {{ contact.fields[$ctrl.language].addressLine1 }}\\r\\n
      \\r\\n
      \\r\\n {{ contact.fields[$ctrl.language].addressLine2 }}\\r\\n
      \\r\\n
      \\r\\n {{ contact.fields[$ctrl.language].addressLine3 }}\\r\\n
      \\r\\n
      \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n ({{ phone.ext }})\\r\\n \\r\\n
      \\r\\n \\r\\n
    • \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/contact-list/contact-list.html\n// module id = 1243\n// module chunks = 0","import angular from 'angular';\r\nimport InquiryContactsListComponent from './inquiry-contacts-list-component';\r\n\r\nexport default angular.module('inquiry-contacts-list', []).component('inquiryContactsList', new InquiryContactsListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-module.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport forEach from 'lodash/forEach';\r\nimport DepsService from 'services/dependencies';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchInquiryContacts, updateInquiryContact } from 'contact/actions/contact.actions';\r\nimport inquiryContactsListTemplate from './inquiry-contacts-list.html';\r\n\r\nconst DIRTY_FORM = 'inquiryContacts';\r\n\r\nconst mapStateToThis = ({ session, contact }) => {\r\n const { locale } = session;\r\n const { inquiry, inquiryLoadingStatus: isLoading } = contact;\r\n const { items } = inquiry;\r\n\r\n return {\r\n locale,\r\n items,\r\n isLoading,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchInquiryContacts,\r\n updateInquiryContact,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications')\r\nclass InquiryContactsListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n async $onInit() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [DepsService.config.sortColumnKey]: 'id',\r\n [DepsService.config.directionKey]: 'asc',\r\n };\r\n this.gridModel = initGrid(this.fetchInquiryContacts, this.defaultParams);\r\n await this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async search() {\r\n await this.gridModel.applyFilters();\r\n this.copyItems();\r\n this.setEntries(this.locale);\r\n }\r\n\r\n copyItems() {\r\n this.itemsCopy = cloneDeep(this.items);\r\n }\r\n\r\n setEntries(locale) {\r\n this.language = locale;\r\n const key = Object.keys(this.items).find((localeKey) => localeKey === locale);\r\n if (!key) {\r\n this.items[locale] = {};\r\n }\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Inquiry Reason'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Inquiry Contact'),\r\n },\r\n ];\r\n }\r\n\r\n onSubmitInquiryContacts() {\r\n if (this.form.$invalid) return;\r\n\r\n this.ensureAvailabilityIsSameForAllLanguages();\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.form.$setPristine();\r\n\r\n this.updateInquiryContact()\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been saved')))\r\n .then(() => this.search());\r\n }\r\n\r\n onCancel() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.items = cloneDeep(this.itemsCopy);\r\n }\r\n\r\n onAvailabilityChange(inquiryContactData) {\r\n this.applyAvailabilityToOtherLanguages(inquiryContactData);\r\n }\r\n\r\n applyAvailabilityToOtherLanguages(inquiryContactData) {\r\n forEach(this.items, (itemsForLanguage, language) => {\r\n if (language === this.language) return;\r\n const item = itemsForLanguage.find((item) => item.keyVal === inquiryContactData.keyVal);\r\n item.availableForAnonymous = inquiryContactData.availableForAnonymous;\r\n item.availableForUser = inquiryContactData.availableForUser;\r\n });\r\n }\r\n\r\n ensureAvailabilityIsSameForAllLanguages() {\r\n this.items[this.language].forEach((item) => this.applyAvailabilityToOtherLanguages(item));\r\n }\r\n}\r\n\r\nexport default class InquiryContactsListComponent {\r\n constructor() {\r\n this.template = inquiryContactsListTemplate;\r\n this.controller = InquiryContactsListController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list-component.js","module.exports = \"\\r\\n
\\r\\n
Inquiry Contacts
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ inquiryContactData.inquiryTypeReason }}
\\r\\n
\\r\\n Inquiry Contact\\r\\n *\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter contact email.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n At least one option must be checked.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Publish\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/inquiry-contacts-list/inquiry-contacts-list.html\n// module id = 1253\n// module chunks = 0","import angular from 'angular';\r\nimport ContactUsComponent from './contact-us-component';\r\n\r\nexport default angular.module('contact-us', []).component('contactUs', new ContactUsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-us/contact-us-module.js","import find from 'lodash/find';\r\nimport helpers from 'app/app-helpers';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { fetchLotteryContacts } from 'contact/actions/contact.actions';\r\nimport { fetchInquiryReasonsDictionary } from 'app/actions/dictionaries/inquiry-reasons-dictionary.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport * as api from '../../resources/contact.api';\r\nimport contactUsTemplate from './contact-us.html';\r\nimport tabs from './tabs';\r\n\r\nconst MAX_MESSAGE_LENGTH = 512;\r\nconst MAX_INQUIRY_REASON_LENGTH = 255;\r\nconst SEND_CONTACT_PERMISSION = 'contact.sendContact';\r\n\r\nconst mapStateToThisContactUsBase = ({ session, config, retailerDetails, dictionary, contact, ui }) => {\r\n const retailerName = retailerDetails.businessName;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n const { loggedIn, locale, retailer, firstName = '', lastName = '', role = '', contactPhone = '', emailAddress = '' } = session;\r\n const { retailerDisplayNumber, retailerType } = retailer;\r\n const { inquiryReasons } = dictionary;\r\n const { lottery, inquiry } = contact;\r\n const { activeTab } = ui;\r\n const { CONTACT_THE_LOTTERY, LOTTERY_CONTACT_INFO } = tabs;\r\n\r\n return {\r\n loggedIn,\r\n locale,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n retailerDisplayNumber,\r\n retailerType,\r\n firstName,\r\n lastName,\r\n role,\r\n contactPhone,\r\n emailAddress,\r\n retailerName,\r\n inquiryReasons,\r\n lottery,\r\n inquiry,\r\n activeTab,\r\n CONTACT_THE_LOTTERY,\r\n LOTTERY_CONTACT_INFO,\r\n };\r\n};\r\nconst mapDispatchToThis = {\r\n fetchLotteryContacts,\r\n fetchInquiryReasonsDictionary,\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', '$stateParams', 'Notifications')\r\nclass ContactUsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisContactUsBase, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.contactTheLotteryTabActive = this.checkAccess(SEND_CONTACT_PERMISSION);\r\n await Promise.all([this.fetchLotteryContacts(), this.fetchInquiryReasonsDictionary()]);\r\n this.maxMessageLength = MAX_MESSAGE_LENGTH;\r\n this.maxInquiryReason = MAX_INQUIRY_REASON_LENGTH;\r\n this.initInquiryReasonsList();\r\n this.initActiveTab();\r\n this.initContactUsModel();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n initInquiryReasonsList() {\r\n this.inquiryReasonsList = this.loggedIn\r\n ? this.inquiryReasons.filter(({ availableForUser }) => availableForUser)\r\n : this.inquiryReasons.filter(({ availableForAnonymous }) => availableForAnonymous);\r\n }\r\n\r\n initActiveTab() {\r\n if (this.$stateParams.tabId) {\r\n this.setActiveTab(this.$stateParams.tabId, 'activeTab');\r\n } else {\r\n this.setActiveTab(this.LOTTERY_CONTACT_INFO, 'activeTab');\r\n }\r\n }\r\n\r\n initContactUsModel() {\r\n this.contactUsModel = {\r\n firstName: this.firstName,\r\n lastName: this.lastName,\r\n retailerNumber: this.retailerDisplayNumber,\r\n retailerName: this.retailerName,\r\n outletType: this.retailerType,\r\n roleType: this.role,\r\n email: this.emailAddress,\r\n phone: this.contactPhone,\r\n inquiryReasonKey: this.$stateParams.inquiryReason || '',\r\n };\r\n }\r\n\r\n submit() {\r\n if (this.pendingRequest) {\r\n return;\r\n }\r\n\r\n this.contactUsForm.$setSubmitted();\r\n if (this.contactUsForm.$invalid) {\r\n return;\r\n }\r\n\r\n this.pendingRequest = true;\r\n this.contactUsModel.locale = this.locale;\r\n\r\n api\r\n .sendContact(this.contactUsModel, this.loggedIn)\r\n .then(\r\n () =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString(\r\n 'Thank you for contacting us. We will direct your inquiry to the right person on your Lottery team, who will respond to you as soon as possible.'\r\n )\r\n ).result\r\n )\r\n .then(() => {\r\n this.pendingRequest = false;\r\n if (this.loggedIn) {\r\n helpers.redirectToFirstPageFromMenu({ $state: this.$state });\r\n } else {\r\n helpers.redirectToHome({ $state: this.$state });\r\n }\r\n });\r\n }\r\n\r\n customReasonChosen() {\r\n if (!this.contactUsModel) {\r\n return false;\r\n }\r\n const chosenReasonId = this.contactUsModel.inquiryReasonKey;\r\n if (chosenReasonId) {\r\n const item = find(this.inquiryReasons, ['reasonKey', chosenReasonId]);\r\n return item && item.custom;\r\n }\r\n return false;\r\n }\r\n}\r\n\r\nexport default class ContactUsComponent {\r\n constructor() {\r\n this.template = contactUsTemplate;\r\n this.controller = ContactUsController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/contact-us/contact-us-component.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchInquiryReasonsDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchInquiryReasonsDictionarySuccess = (dictionary) => ({\r\n type: actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_SUCCESS,\r\n dictionary,\r\n});\r\n\r\nexport const fetchInquiryReasonsDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_INQUIRY_REASONS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchInquiryReasonsDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchInquiryReasonsDictionaryRequest());\r\n const dictionary = await api.fetchInquiryReasonsDictionary(locale);\r\n dispatch(fetchInquiryReasonsDictionarySuccess(dictionary));\r\n } catch (error) {\r\n console.error('FETCH_INQUIRY_REASONS_DICTIONARY', error);\r\n dispatch(fetchInquiryReasonsDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/inquiry-reasons-dictionary.actions.js","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Contact info temporarily unavailable due to maintenance. Please check back soon.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

\\r\\n Please fill out this form to drop us a line. The more details you provide, the better we will be able to direct your inquiry.\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n First name shouldn’t be longer than {{ maxFirstNameLength }} characters.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your First Name.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Last name shouldn’t be longer than {{ maxLastNameLength }} characters.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your Last Name.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email shouldn’t be longer than {{ maxEmailLength }} characters.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your Email.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email format is incorrect.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Email address is too long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please provide {{ phoneLength }}-digit phone number.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n The captcha you entered is incorrect.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Inquiry Reason\\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{ inquiryReason.label }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please select Inquiry Reason.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter Inquiry Reason.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Inquiry Reason should be maximum {{ maxInquiryReason }} chars long.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Please enter your Message.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/contact-us/contact-us.html\n// module id = 1262\n// module chunks = 0","import angular from 'angular';\r\nimport ManageContactComponent from './manage-contact-component';\r\n\r\nexport default angular.module('manage-contact', []).component('manageContact', new ManageContactComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/manage-contact-module.js","import _ from 'lodash';\r\nimport find from 'lodash/find';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport contactHelpers from 'contact/helpers/contact-helpers';\r\nimport helpers from 'app/app-helpers';\r\nimport { discardLotteryContactsChanges, fetchLotteryContacts, publishLotteryContactsChanges } from 'contact/actions/contact.actions';\r\nimport EditCategoryDialogController from './edit-category-dialog/edit-category-dialog-controller';\r\nimport editContactDialogTemplate from './edit-contact-dialog/edit-contact-dialog.html';\r\nimport EditContactDialogController from './edit-contact-dialog/edit-contact-dialog-controller';\r\nimport editCategoryDialogTemplate from './edit-category-dialog/edit-category-dialog.html';\r\nimport manageContactTemplate from './manage-contact.html';\r\n\r\nconst mapStateToThisContactManagement = ({ session, config, contact }) => {\r\n const { locale } = session;\r\n const { locales, secondHandApproval } = config;\r\n const {\r\n lottery: { contactList },\r\n } = contact;\r\n\r\n return {\r\n locale,\r\n session,\r\n locales,\r\n secondHandApproval,\r\n contactList,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n checkAccess,\r\n fetchLotteryContacts,\r\n discardLotteryContactsChanges,\r\n publishLotteryContactsChanges,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications', 'Responsive')\r\nclass ContactManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisContactManagement, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n this.DIRTY_FORM = 'contactManagement';\r\n this.secondHandApprovalActive = this.checkAccess('contact.manage.approve');\r\n await this.fetchLotteryContacts();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n cancel() {\r\n return this.fetchLotteryContacts();\r\n }\r\n\r\n discardChanges() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n return this.discardLotteryContactsChanges()\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been discarded')))\r\n .then(() => this.fetchLotteryContacts());\r\n }\r\n\r\n addCategory() {\r\n this.Notifications.showComplexDialog({\r\n template: editCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: EditCategoryDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('New Category'),\r\n category: () => ({\r\n fields: {},\r\n }),\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = contactHelpers.saveCategory(this.contactList.groups, result.category, false);\r\n });\r\n }\r\n\r\n addContact() {\r\n const exists = false;\r\n const contact = {\r\n id: helpers.generateUUID(),\r\n fields: {},\r\n };\r\n\r\n this.locales.map((locale) => {\r\n contact.fields[locale.code] = {\r\n phone: [],\r\n email: [],\r\n mapCoordinates: '',\r\n };\r\n });\r\n\r\n this.Notifications.showComplexDialog({\r\n template: editContactDialogTemplate,\r\n bindToController: true,\r\n controller: EditContactDialogController,\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('New Contact'),\r\n contact: () => contact,\r\n categories: () => this.contactList.groups,\r\n exists: () => exists,\r\n },\r\n }).result.then((result) => {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.contactList.groups = contactHelpers.saveContact(this.contactList.groups, result.contact, exists, result.categoryChanged);\r\n });\r\n }\r\n\r\n publish() {\r\n if (!_.get(this, 'contactList.properties.phone')) {\r\n this.Notifications.alertWarning(\r\n this.gettextCatalog.getString('Default contact with valid phone number must be selected before publishing.')\r\n );\r\n return;\r\n }\r\n this.publishLotteryContactsChanges()\r\n .then(() => this.Notifications.alertSuccess(this.getSuccessText()))\r\n .then(() => this.fetchLotteryContacts())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n getSuccessText() {\r\n return this.secondHandApprovalActive || !this.secondHandApproval\r\n ? this.gettextCatalog.getString('Changes have been published')\r\n : this.gettextCatalog.getString('Changes have been submitted for approval');\r\n }\r\n\r\n // eslint-disable-next-line class-methods-use-this\r\n onAccept(sourceNodeScope, destNodesScope) {\r\n return !!find(destNodesScope.modelValue, ['name', sourceNodeScope.itemScope.modelValue.name]);\r\n }\r\n\r\n onDropped() {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.language = locale;\r\n }\r\n}\r\n\r\nexport default class ManageContactComponent {\r\n constructor() {\r\n this.controller = ContactManagementController;\r\n this.template = manageContactTemplate;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/contact/components/manage-contact/manage-contact-component.js","module.exports = \"\\r\\n
\\r\\n
\\r\\n \\r\\n New Category\\r\\n \\r\\n \\r\\n New Contact\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n Changes have been made that require secondary approval. These changes will not take effect until approved by an administrator.\\r\\n \\r\\n \\r\\n There are changes pending approval in this section. It is advised that you review all content before publishing.\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Discard Changes\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n Publish\\r\\n \\r\\n\\r\\n \\r\\n Submit for Approval\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/contact/components/manage-contact/manage-contact.html\n// module id = 1265\n// module chunks = 0","import angular from 'angular';\r\nimport moment from 'moment';\r\nimport _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\n\r\nimport './config/errorcodes.conf';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { setNewLabelStatus } from 'documents/actions/set-new-label-status.actions';\r\nimport * as api from 'documents/resources/documents.api';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport DocumentsFilterComponent from './components/documents-filter/documents-filter-component';\r\nimport removeDocumentConfirmTemplate from './views/document-delete-confirm.html';\r\nimport editDocumentModalTemplate from './views/edit-document-modal.html';\r\nimport previewDocumentDialogTemplate from './views/preview-document-dialog.html';\r\nimport categoryDialogTemplate from './components/documents-management/category-dialog/category-dialog.html';\r\nimport uploadFormModalTemplate from './components/documents-management/upload-form-modal/upload-form-modal.html';\r\nimport UploadFormModalController from './components/documents-management/upload-form-modal/upload-form-modal-controller';\r\nimport CategoryDialogController from './components/documents-management/category-dialog/category-dialog-controller';\r\n\r\nimport documentsTemplate from './documents.html';\r\n\r\nimport {\r\n createCategory,\r\n downloadDocument,\r\n getCategories,\r\n getDocuments,\r\n getTags,\r\n removeCategory,\r\n removeDocument,\r\n saveDocument,\r\n updateCategory,\r\n uploadDocument,\r\n} from './actions/documents.actions';\r\n\r\nconst { tableView, gridView, fileFormats } = getConsts();\r\n\r\nclass DocumentEditController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n }\r\n\r\n addTag(tag) {\r\n if (!tag) {\r\n return;\r\n }\r\n\r\n if (!tag || tag.length > this.keywordMaxLength) {\r\n return this.editForm.keywords.$setValidity('keyword-max-length', false);\r\n }\r\n\r\n this.documentTmp.tags = this.documentTmp.tags.concat(tag);\r\n this.tagName = null;\r\n }\r\n\r\n removeTag(index) {\r\n this.documentTmp.tags.splice(index, 1);\r\n }\r\n}\r\n\r\nconst defaultSort = 'Publish Date (descending)';\r\n\r\nconst mapStateToThis = ({ session, config, documents }) => {\r\n const { locale, isAdmin } = session;\r\n const { locales } = config;\r\n const { newLabel, categories, files, isLoading, meta } = documents;\r\n\r\n return {\r\n session,\r\n locale,\r\n locales,\r\n newLabel,\r\n categories,\r\n isLoading,\r\n meta,\r\n isAdmin,\r\n documents: files,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setNewLabelStatus,\r\n getDocuments,\r\n getTags,\r\n removeDocument,\r\n downloadDocument,\r\n getCategories,\r\n createCategory,\r\n updateCategory,\r\n removeCategory,\r\n checkAccess,\r\n saveDocument,\r\n uploadDocument,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$window', '$ngRedux', '$state', 'gettextCatalog', 'Notifications', 'Responsive', 'RwAnalyticsService')\r\nclass DocumentsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n // check access permissions\r\n this.canEditDocuments = this.checkAccess('documents.editDocuments');\r\n this.canUploadDocument = this.checkAccess('documents.uploadDocument');\r\n\r\n this.dropdownType = 'label';\r\n this.currentView = this.Responsive.isMobile ? tableView : gridView;\r\n this.views = this.getViews();\r\n this.pageHeader = this.gettextCatalog.getString('Documents');\r\n this.gridHeader = this.gettextCatalog.getString('Documents');\r\n this.uploadFormHeader = this.gettextCatalog.getString('Upload Document');\r\n this.headers = this.getColumnHeaders()[`admin_${this.canEditDocuments}`];\r\n this.sortByOptions = this.getSortByOptions();\r\n this.sortBy = defaultSort;\r\n this.setDefaultPreview();\r\n\r\n this.defaultParams = {\r\n [DepsService.config.sortColumnKey]: 'publishingStartDate',\r\n [DepsService.config.directionKey]: 'desc',\r\n [DepsService.config.pageSizeKey]: DepsService.config.defaultPageSize[2],\r\n };\r\n\r\n this.defaultFilters = {\r\n tag: [],\r\n locale: [this.locale],\r\n };\r\n\r\n this.gridModel = initGrid(this.getDocuments, this.defaultParams);\r\n this.gridModel.pagingModel.filters = _.cloneDeep(this.defaultFilters);\r\n\r\n Promise.all([this.getCategories(), this.getTags()]).then(() => {\r\n this.search();\r\n });\r\n\r\n if (this.newLabel) {\r\n this.setNewLabelStatus();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n $onChanges(changes) {\r\n if (!this.Responsive.isDesktop) {\r\n this.currentView = tableView;\r\n }\r\n }\r\n\r\n clearFilters() {\r\n this.gridModel = initGrid(this.getDocuments, this.defaultParams);\r\n this.gridModel.pagingModel.filters = _.cloneDeep(this.defaultFilters);\r\n this.search();\r\n }\r\n\r\n getColumnHeaders() {\r\n return {\r\n admin_false: [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'guiName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Category'),\r\n field: 'documentCategory.translations.name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Published'),\r\n field: 'publishingStartDate',\r\n sortable: true,\r\n },\r\n null,\r\n {\r\n text: this.gettextCatalog.getString('File'),\r\n field: 'name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Type'),\r\n field: 'extension',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Actions'),\r\n },\r\n ],\r\n admin_true: [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'guiName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Category'),\r\n field: 'documentCategory.translations.name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Published'),\r\n field: 'publishingStartDate',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Expires'),\r\n field: 'publishingEndDate',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('File'),\r\n field: 'name',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Type'),\r\n field: 'extension',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Actions'),\r\n },\r\n ],\r\n };\r\n }\r\n\r\n getSortByOptions() {\r\n return [\r\n {\r\n label: this.gettextCatalog.getString('Name (A-Z)'),\r\n column: 'guiName',\r\n ascending: 'true',\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Name (Z-A)'),\r\n column: 'guiName',\r\n ascending: 'false',\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Publish Date (ascending)'),\r\n column: 'publishingStartDate',\r\n ascending: 'true',\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Publish Date (descending)'),\r\n column: 'publishingStartDate',\r\n ascending: 'false',\r\n },\r\n ];\r\n }\r\n\r\n setDefaultPreview() {\r\n this.preview = {\r\n previewMode: false,\r\n previewData: {},\r\n };\r\n }\r\n\r\n getViews() {\r\n return [\r\n {\r\n name: this.gettextCatalog.getString('Grid'),\r\n id: 'grid',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('List'),\r\n id: 'table',\r\n },\r\n ];\r\n }\r\n\r\n setViewActive(view) {\r\n this.currentView = view === gridView ? gridView : tableView;\r\n }\r\n\r\n isViewActive(view) {\r\n return this.currentView === view;\r\n }\r\n\r\n isGridViewActive() {\r\n return this.currentView === gridView;\r\n }\r\n\r\n isTableViewActive() {\r\n return this.currentView === tableView;\r\n }\r\n\r\n getGridIconClass(document) {\r\n return fileFormats[document.type] ? fileFormats[document.type].icon : 'fa-file';\r\n }\r\n\r\n checkIfAllowPreview(document) {\r\n return fileFormats[document.type] ? fileFormats[document.type].allowPreview : false;\r\n }\r\n\r\n sortCategories() {\r\n return (category) => _.get(category, `translations[${this.locale}].name`);\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n onSaveDocument(document, documentUpdated, form) {\r\n form.$setSubmitted();\r\n this.validateDates(documentUpdated);\r\n\r\n if (form.$valid && !this.dateError) {\r\n form.$setPristine();\r\n form.$setUntouched();\r\n\r\n const data = { ...document, ...documentUpdated };\r\n\r\n // check if tag was deleted\r\n const deletedTag = this.checkIfTagDeleted(document, documentUpdated);\r\n\r\n this.saveDocument(data)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Document saved successfully.')))\r\n .then(() => this.confirm())\r\n .then(() => (deletedTag ? (this.filters.tag = []) : null));\r\n }\r\n }\r\n\r\n checkIfTagDeleted(document, documentUpdated) {\r\n const documentTags = document.tags;\r\n const documentUpdatedTags = documentUpdated.tags;\r\n\r\n const intersection = _.intersection(documentTags, documentUpdatedTags);\r\n return intersection.length !== documentTags.length;\r\n }\r\n\r\n onRemoveDocument(document) {\r\n this.Notifications.showComplexDialog({\r\n template: removeDocumentConfirmTemplate,\r\n }).result.then((result) => {\r\n if (result) {\r\n this.removeDocument(document)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Document removed successfully.')))\r\n .then(() => this.search());\r\n }\r\n });\r\n }\r\n\r\n onUploadDocument(document) {\r\n return this.uploadDocument(document)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Document uploaded successfully')))\r\n .catch(() => this.Notifications.alertError(this.gettextCatalog.getString('Error while uploading document')));\r\n }\r\n\r\n onDownloadDocument(document) {\r\n this.RwAnalyticsService.sendDownloadDocumentEvent(document);\r\n return this.downloadDocument(document);\r\n }\r\n\r\n onRemoveCategory(category) {\r\n return this.removeCategory(category).then(() =>\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Category removed successfully'))\r\n );\r\n }\r\n\r\n openEditDocumentDialog(doc, categories) {\r\n const documentTmp = {\r\n title: doc.title,\r\n categoryId: doc.categoryId ? doc.categoryId.toString() : null,\r\n tags: _.cloneDeep(doc.tags),\r\n locale: doc.locale,\r\n publishingStartDate: doc.publishingStartDate,\r\n publishingEndDate: doc.publishingEndDate ? doc.publishingEndDate : undefined,\r\n thumbnailData: doc.thumbnail ? [{ name: 'thumbnail' }] : undefined,\r\n };\r\n\r\n const { getTags } = this;\r\n const { search } = this;\r\n\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n template: editDocumentModalTemplate,\r\n controller: DocumentEditController,\r\n resolve: {\r\n doc: () => doc,\r\n config: () => this.api.config,\r\n serverTime: () => this.api.config.serverTime,\r\n documentTmp: () => documentTmp,\r\n categories: () => this.categories,\r\n locales: () => this.locales,\r\n locale: () => this.locale,\r\n keywordMaxLength: () => this.api.config.documents.keywordMaxLength,\r\n sortCategories: () => this.sortCategories(),\r\n onSaveDocument: () => this.onSaveDocument,\r\n validateDates: () => this.validateDates,\r\n saveDocument: () => this.saveDocument,\r\n filters: () => this.gridModel.pagingModel.filters,\r\n checkIfTagDeleted: () => this.checkIfTagDeleted,\r\n filter: () => this.search,\r\n Notifications: () => this.Notifications,\r\n gettextCatalog: () => this.gettextCatalog,\r\n },\r\n }).result.then(() => {\r\n this.getTags();\r\n this.getDocuments(this.gridModel.pagingModel);\r\n });\r\n }\r\n\r\n validateDates(document) {\r\n if (!document.publishingEndDate) {\r\n this.dateError = false;\r\n return;\r\n }\r\n\r\n const dateFrom = moment(document.publishingStartDate);\r\n const dateTo = moment(document.publishingEndDate);\r\n\r\n if (dateFrom.isAfter(dateTo, 'day')) {\r\n this.dateError = true;\r\n } else {\r\n this.dateError = false;\r\n }\r\n }\r\n\r\n async showDocumentPreview(file) {\r\n try {\r\n await api.prefetchDocument(file.id).promise.then((result) => {\r\n const type = file.fileType;\r\n const blob = type === 'pdf' ? new Blob([result.data], { type: 'application/pdf' }) : new Blob([result.data]);\r\n const url = (this.$window.URL || this.$window.webkitURL).createObjectURL(blob);\r\n return this.openPreview(url, type);\r\n });\r\n } catch (error) {\r\n console.error('DOCUMENTS_COMPONENT', error);\r\n }\r\n }\r\n\r\n openPreview(url, type) {\r\n this.Notifications.showComplexDialog({\r\n template: previewDocumentDialogTemplate,\r\n size: 'xl',\r\n resolve: {\r\n url: () => url,\r\n type: () => type,\r\n },\r\n });\r\n }\r\n\r\n openUploadFilesDialog() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n template: uploadFormModalTemplate,\r\n bindToController: true,\r\n controller: UploadFormModalController,\r\n resolve: {\r\n serverTime: () => this.api.config.serverTime,\r\n keywordMaxLength: () => this.api.config.documents.keywordMaxLength,\r\n locales: () => this.locales,\r\n locale: () => this.locale,\r\n categories: () => this.categories,\r\n jurisdictionId: () => this.jurisdictionId,\r\n sortCategories: () => this.sortCategories(),\r\n },\r\n }).result.then((document) => {\r\n this.onUploadDocument(document.document).then(() => {\r\n this.getTags();\r\n this.getDocuments(this.gridModel.pagingModel);\r\n });\r\n });\r\n }\r\n\r\n openCreateCategoryDialog() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n size: null,\r\n template: categoryDialogTemplate,\r\n bindToController: true,\r\n controller: CategoryDialogController,\r\n resolve: {\r\n moduleName: () => 'categoryManagement',\r\n namespace: () => 'documents',\r\n api: () => this.api.categoryDialogApi,\r\n category: () => ({\r\n translations: {},\r\n jurisdictionId: this.jurisdictionId,\r\n }),\r\n },\r\n }).result.then((category) => {\r\n this.createCategory(category);\r\n });\r\n }\r\n\r\n openEditCategoryDialog(category) {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n size: null,\r\n template: categoryDialogTemplate,\r\n bindToController: true,\r\n controller: CategoryDialogController,\r\n resolve: {\r\n moduleName: () => 'categoryManagement',\r\n namespace: () => 'documents',\r\n edit: () => true,\r\n api: () => this.api.categoryDialogApi,\r\n category: () => ({\r\n documentTypeId: category.documentTypeId,\r\n translations: category.translations,\r\n jurisdictionId: this.jurisdictionId,\r\n }),\r\n },\r\n }).result.then((category) => {\r\n this.updateCategory(category);\r\n });\r\n }\r\n}\r\n\r\nclass DocumentsComponent {\r\n constructor() {\r\n this.template = documentsTemplate;\r\n this.controller = DocumentsController;\r\n this.bindings = {\r\n appCtrl: '<',\r\n model: '<',\r\n namespace: '@',\r\n moduleName: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nfunction getConsts() {\r\n const gridView = 'grid';\r\n const tableView = 'table';\r\n const fileFormats = {\r\n '.csv': {\r\n icon: 'fa-file-excel-o',\r\n allowPreview: false,\r\n },\r\n '.xls': {\r\n icon: 'fa-file-excel-o',\r\n allowPreview: false,\r\n },\r\n '.xlsx': {\r\n icon: 'fa-file-excel-o',\r\n allowPreview: false,\r\n },\r\n '.rar': {\r\n icon: 'fa-file-archive-o',\r\n allowPreview: false,\r\n },\r\n '.zip': {\r\n icon: 'fa-file-archive-o',\r\n allowPreview: false,\r\n },\r\n '.pdf': {\r\n icon: 'fa-file-pdf-o',\r\n allowPreview: true,\r\n previewType: 'pdf',\r\n },\r\n '.txt': {\r\n icon: 'fa-file-text-o',\r\n allowPreview: false,\r\n },\r\n '.doc': {\r\n icon: 'fa-file-word-o',\r\n allowPreview: false,\r\n },\r\n '.docx': {\r\n icon: 'fa-file-word-o',\r\n allowPreview: false,\r\n },\r\n '.jpg': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.jpeg': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.gif': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.png': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.bmp': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.tiff': {\r\n icon: 'fa-file-image-o',\r\n allowPreview: true,\r\n previewType: 'image',\r\n },\r\n '.aac': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.ogg': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.wma': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.flac': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.mp3': {\r\n icon: 'fa-file-audio-o',\r\n allowPreview: false,\r\n },\r\n '.mp4': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.mpg': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.mpeg': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.avi': {\r\n icon: 'fa-file-video-o',\r\n allowPreview: false,\r\n },\r\n '.ppt': {\r\n icon: 'fa-file-powerpoint-o',\r\n allowPreview: false,\r\n },\r\n '.pptx': {\r\n icon: 'fa-file-powerpoint-o',\r\n allowPreview: false,\r\n },\r\n };\r\n return { tableView, gridView, fileFormats };\r\n}\r\n\r\nfunction getDocumentsStateObject() {\r\n return {\r\n parent: 'arw',\r\n url: '/documents',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Documents Library')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('documents.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n categoryDialogApi: {\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n setLanguageValidation: appFactory.actions.app.setLanguageValidation,\r\n },\r\n })),\r\n ],\r\n },\r\n };\r\n}\r\n\r\nexport default angular\r\n .module('documents', ['documents-errorcodes'])\r\n .component('documents', new DocumentsComponent())\r\n .component('documentsFilter', new DocumentsFilterComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('documents-view', getDocumentsStateObject());\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/documents-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('documents-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n documents: {\r\n DOCUMENT_CATEGORY_IS_IN_USE: () => ({ title: gettextCatalog.getString('Category has documents. You cannot delete a category that has documents.') }),\r\n DOCUMENT_ALREADY_EXISTS: () => ({ title: gettextCatalog.getString('Document already exists.') }),\r\n CANNOT_BE_EMPTY: () => ({ title: gettextCatalog.getString('Document cannot be empty.') }),\r\n CATEGORY_EXIST: () => ({ title: gettextCatalog.getString('Category with this name already exists.') }),\r\n DOCUMENT_TYPE_NOT_ALLOWED: () => ({ title: gettextCatalog.getString('Not allowed document type.') }),\r\n INVALID_SIZE: () => ({ title: gettextCatalog.getString('Size must be between 0 and 255 characters.') }),\r\n INVALID_DOCUMENT_NAME_SIZE: () => ({ title: gettextCatalog.getString('Document name must be between 0 and 255 characters.') }),\r\n INVALID_THUMBNAIL_FORMAT: () => ({ title: gettextCatalog.getString('File must be an image in JPEG / JPG or PNG format.') }),\r\n INVALID_THUMBNAIL_SIZE: () => ({ title: gettextCatalog.getString('Maximum thumbnail size is 256KB.') }),\r\n INVALID_THUMBNAIL: () => ({ title: gettextCatalog.getString('Maximum thumbnail size is 256KB.') }),\r\n INVALID_THUMBNAIL_DIMENSIONS: () => ({ title: gettextCatalog.getString('Thumbnail image must be between 300x300px and 500x500px.') }),\r\n INVALID_FILE_SIZE: () => ({ title: gettextCatalog.getString('File size must be below 50 MB\".') }),\r\n TAG_NOT_FOUND: () => ({ title: gettextCatalog.getString('Tag not found.') }),\r\n TAG_NOT_UNIQUE: () => ({ title: gettextCatalog.getString('Tags must be unique.') }),\r\n DOCUMENT_NOT_FOUND: () => ({ title: gettextCatalog.getString('Document not found.') }),\r\n CATEGORY_NOT_FOUND: () => ({ title: gettextCatalog.getString('Category not found.') }),\r\n INVALID_CONTENT_SIZE: () => ({ title: gettextCatalog.getString('The maximum file size must be up to 50 MB.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/config/errorcodes.conf.js","import * as api from '../resources/documents.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const setNewLabelStatusRequest = () => ({\r\n type: actionTypes.SET_NEW_LABEL_STATUS_REQUEST,\r\n});\r\n\r\nexport const setNewLabelStatusSuccess = (status) => ({\r\n type: actionTypes.SET_NEW_LABEL_STATUS_SUCCESS,\r\n status,\r\n});\r\n\r\nexport const setNewLabelStatusFailure = () => ({\r\n type: actionTypes.SET_NEW_LABEL_STATUS_FAILURE,\r\n});\r\n\r\nexport const setNewLabelStatus = () => async (dispatch) => {\r\n try {\r\n dispatch(setNewLabelStatusRequest());\r\n\r\n await api.setNewLabelStatus();\r\n dispatch(setNewLabelStatusSuccess(false));\r\n } catch (error) {\r\n console.error('SET_NEW_LABEL_STATUS', error);\r\n dispatch(setNewLabelStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/actions/set-new-label-status.actions.js","import _ from 'lodash';\r\nimport DepsService from 'services/dependencies';\r\nimport template from './documents-filter.html';\r\nimport removeCategoryConfirmTemplate from './views/category-delete-confirm.html';\r\n\r\nconst DOCUMENTS_CONTEXT = 'documents';\r\n\r\nconst mapStateToThis = ({ session, config, documents }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n const { categories, tags } = documents;\r\n\r\n return {\r\n locale,\r\n locales,\r\n categories,\r\n tags,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', 'Notifications', 'Responsive', '$mdSelect')\r\nclass DocumentsFilterController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.jurisdictionId = this.config.jurisdictionId;\r\n // this.folders = this.getFolders();\r\n\r\n DepsService.restSrv.list(DOCUMENTS_CONTEXT, DepsService.rest.documents.types.url, { locale: this.locale }).then((result) => {\r\n this.folders = result;\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getFolders() {\r\n return [\r\n {\r\n name: this.gettextCatalog.getString('Document'),\r\n fileType: 'document',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('Audio'),\r\n fileType: 'audio',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('Image'),\r\n fileType: 'image',\r\n },\r\n {\r\n name: this.gettextCatalog.getString('Video'),\r\n fileType: 'video',\r\n },\r\n ];\r\n }\r\n\r\n onOpenCategoryDialog(category, $event) {\r\n $event.stopPropagation();\r\n\r\n // TODO bad fix for material\r\n this.$mdSelect.hide();\r\n\r\n return this.openEditCategoryDialog({ category });\r\n }\r\n\r\n removeCategory(category, $event) {\r\n $event.stopPropagation();\r\n\r\n // TODO bad fix for material\r\n this.$mdSelect.hide();\r\n\r\n this.Notifications.showComplexDialog({\r\n template: removeCategoryConfirmTemplate,\r\n }).result.then((result) => {\r\n if (result) {\r\n this.onRemoveCategory({ category }).then(() => {\r\n this.clearFiltersAndReload();\r\n });\r\n }\r\n });\r\n }\r\n\r\n sortCategories() {\r\n return (category) => _.get(category, `translations[${this.locale}].name`);\r\n }\r\n}\r\n\r\nexport default class DocumentsFilterComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = DocumentsFilterController;\r\n this.bindings = {\r\n filters: '<',\r\n config: '\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n File Type\\r\\n \\r\\n \\r\\n {{folder.name}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category\\r\\n \\r\\n \\r\\n
\\r\\n {{category.translations[$ctrl.locale].name}}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n File Language\\r\\n \\r\\n \\r\\n {{locale.label}}\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n Tags\\r\\n \\r\\n \\r\\n {{tag}}\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-filter/documents-filter.html\n// module id = 1270\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n \\r\\n Are you sure you want to delete this category?\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-filter/views/category-delete-confirm.html\n// module id = 1271\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n \\r\\n Are you sure you want to delete this file?\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n \\r\\n This action cannot be undone.\\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete\\r\\n \\r\\n \\r\\n
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/views/document-delete-confirm.html\n// module id = 1272\n// module chunks = 0","module.exports = \"
\\r\\n

Edit File

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n File Language*\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{locale.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
Please select language(s).
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter file name.
\\r\\n
\\r\\n
\\r\\n
\\r\\n Category*\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{category.translations[$ctrl.locale].name}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
Please select Category.
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n Maximum allowed keyword length is {{$ctrl.keywordMaxLength}} characters\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ tag }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please enter Publication Date.\\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n Available Until Date cannot be before Publication Date\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/views/edit-document-modal.html\n// module id = 1273\n// module chunks = 0","module.exports = \"
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Close\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/views/preview-document-dialog.html\n// module id = 1274\n// module chunks = 0","module.exports = \"
\\r\\n

\\r\\n New Category\\r\\n Edit Category\\r\\n

\\r\\n 1\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Category name required\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-management/category-dialog/category-dialog.html\n// module id = 1275\n// module chunks = 0","module.exports = \"
\\r\\n

Upload File

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
Please enter file name.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Category*\\r\\n \\r\\n \\r\\n {{category.translations[$ctrl.locale].name}}\\r\\n \\r\\n \\r\\n
\\r\\n
Please select Category.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n File Language*\\r\\n \\r\\n \\r\\n {{locale.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
Please select language(s).\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n Maximum allowed keyword length is {{$ctrl.keywordMaxLength}} characters\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ tag }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Please select Publish On.\\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Until date cannot be before Publish On\\r\\n \\r\\n \\r\\n Dates must be greater than current date\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n Invalid date.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal.html\n// module id = 1276\n// module chunks = 0","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\n\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst defaultDocument = {\r\n formData: {\r\n pageType: null,\r\n jurisdictionId: null,\r\n tags: [],\r\n },\r\n};\r\n\r\n@Inject('$mdSelect', 'Responsive')\r\nclass UploadFormModalController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.document = this.initializeDocument(_.cloneDeep(defaultDocument));\r\n }\r\n\r\n sortCategories() {\r\n return (category) => _.get(category, `translations[${this.locale}].name`);\r\n }\r\n\r\n initializeDocument(document) {\r\n document.formData.pageType = this.documentType;\r\n document.formData.jurisdictionId = this.jurisdictionId;\r\n document.formData.publishingStartDate = moment.unix(this.serverTime);\r\n return document;\r\n }\r\n\r\n addTag(tag) {\r\n if (!tag) {\r\n return;\r\n }\r\n\r\n if (!tag || tag.length > this.keywordMaxLength) {\r\n return this.uploadForm.keywords.$setValidity('keyword-max-length', false);\r\n }\r\n\r\n this.document.formData.tags = this.document.formData.tags.concat(tag);\r\n this.tagName = null;\r\n }\r\n\r\n removeTag(index) {\r\n this.document.formData.tags.splice(index, 1);\r\n }\r\n\r\n validateDates(document) {\r\n this.dateError1 = false;\r\n const dateFrom = moment(document.formData.publishingStartDate);\r\n const dateTo = moment(document.formData.publishingEndDate);\r\n const today = moment.unix(DepsService.config.serverTime);\r\n if (document.formData.publishingEndDate) {\r\n this.dateError1 = !dateFrom.isBefore(dateTo, 'day');\r\n }\r\n this.dateError2 = dateFrom.isBefore(today, 'day');\r\n }\r\n\r\n upload(uploadForm) {\r\n this.document = this.handleCategory(_.cloneDeep(this.document.formData));\r\n uploadForm.$setSubmitted();\r\n this.validateDates(this.document);\r\n\r\n const document = _.cloneDeep(this.document);\r\n document.formData.publishingStartDate = moment(document.formData.publishingStartDate).format('YYYY-MM-DD');\r\n document.formData.publishingEndDate = document.formData.publishingEndDate ? moment(document.formData.publishingEndDate).format('YYYY-MM-DD') : null;\r\n\r\n if (uploadForm.$valid && !this.dateError1 && !this.dateError2 && !this.fileErrors) {\r\n this.confirm({\r\n document: _.cloneDeep(document),\r\n });\r\n uploadForm.$setPristine();\r\n uploadForm.$setUntouched();\r\n }\r\n }\r\n\r\n handleCategory(formData) {\r\n if (_.findIndex(this.categories, { documentTypeId: formData.categoryId * 1 }) === -1) {\r\n this.document.formData = this.removeCategoryFromList(formData, formData.categoryId);\r\n }\r\n return this.document;\r\n }\r\n\r\n removeCategoryFromList(formData, categoryId) {\r\n return _.omit(formData, (value) => value === categoryId);\r\n }\r\n}\r\n\r\nexport default UploadFormModalController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/components/documents-management/upload-form-modal/upload-form-modal-controller.js","import { isEmpty, get } from 'lodash';\r\n\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nconst MAX_NAME_LENGTH = 255;\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { locales } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'appFactory', '$timeout', 'Notifications')\r\nclass CategoryController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.$timeout(() => {\r\n this.api.initializeForm.run(this.namespace, this.moduleName, this.form, get(this, 'category.documentTypeId'));\r\n });\r\n this.maxNameLength = MAX_NAME_LENGTH;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n const hasEmptyTranslation = this.locales.some(\r\n (locale) => isEmpty(this.category.translations[locale.code]) || isEmpty(this.category.translations[locale.code].name)\r\n );\r\n\r\n if (hasEmptyTranslation && this.locales.length > 1) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n } else if (!hasEmptyTranslation) {\r\n this.confirm(this.category);\r\n }\r\n }\r\n}\r\n\r\nexport default CategoryController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/documents/components/documents-management/category-dialog/category-dialog-controller.js","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n Sort\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n New Category\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Upload File\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n View\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n Sorry, no results were found.\\r\\n
\\r\\n\\r\\n
\\r\\n Loading...\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n Preview\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ document.title }}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n {{ document.type }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ document.dateCreated }}\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.title }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Preview\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Edit\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Delete\\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ ::document.category.translations[$ctrl.locale].name }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{::document.publishingStartDate }}\\r\\n \\r\\n\\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{::document.publishingEndDate }}\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.name }}\\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.type }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ ::document.title }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Preview\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Edit\\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n Delete\\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::document.dateCreated}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ ::document.category.translations[$ctrl.locale].name }}\\r\\n \\r\\n\\r\\n \\r\\n {{ ::document.type }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{::document.publishingStartDate }}\\r\\n \\r\\n\\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/documents/documents.html\n// module id = 1279\n// module chunks = 0","import angular from 'angular';\r\nimport './config/errorcodes.conf';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport template from './email-notification-templates.html';\r\nimport EmailNotificationTemplatesUpdateComponent from './components/update/email-notification-template-update-component';\r\nimport EmailNotificationTabComponent from './components/email-notification-tab/email-notification-tab-component';\r\n\r\nconst DEFAULT_TAB_ID = 'email';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog', '$stateParams')\r\nclass EmailNotificationTemplatesController {\r\n $onInit() {\r\n this.activeTabId = this.$stateParams.tabId || DEFAULT_TAB_ID;\r\n this.onTabSelect(this.activeTabId);\r\n }\r\n\r\n onTabSelect(tabId) {\r\n this.activeTabId = tabId;\r\n this.api[tabId].filter.run();\r\n }\r\n}\r\n\r\nclass EmailNotificationTemplatesComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EmailNotificationTemplatesController;\r\n this.bindings = {\r\n model: '<',\r\n multilangLocale: '<',\r\n namespace: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('email-notification-templates', ['email-notifications-templates-errorcodes', EmailNotificationTabComponent.name])\r\n .component('emailNotificationTemplateUpdate', new EmailNotificationTemplatesUpdateComponent())\r\n .component('emailNotificationTemplates', new EmailNotificationTemplatesComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('emailNotificationsTemplates-view', {\r\n parent: 'arw',\r\n url: '/email-notifications/templates?tabId',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Notification Templates')));\r\n },\r\n ],\r\n },\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n email: {\r\n filter: appFactory.dispatch('notificationTemplates.emailGrid.applyFilters', true),\r\n },\r\n sms: {\r\n filter: appFactory.dispatch('notificationTemplates.smsGrid.applyFilters', true),\r\n },\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n setLanguageValidation: appFactory.actions.app.setLanguageValidation,\r\n }),\r\n ],\r\n },\r\n })\r\n .state('emailNotificationsTemplates-update', {\r\n parent: 'arw',\r\n url: '/email-notifications/templates/:templateId/update/:templateName',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Edit Notification Template')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) => ({\r\n config: appFactory.deps.config,\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n fetchTemplate: appFactory.dispatch('emailNotificationTemplates.fetchTemplate', true),\r\n updateTemplate: appFactory.dispatch('emailNotificationTemplates.updateTemplate', true),\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n }),\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/email-notification-templates-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('email-notifications-templates-errorcodes', []).run([\r\n 'appFactory',\r\n function errorCodes(appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n emailNotificationsTemplates: {},\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/config/errorcodes.conf.js","module.exports = \"\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/email-notification-templates.html\n// module id = 1282\n// module chunks = 0","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.templateName }} -\\r\\n Email\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Subject is required.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter Message.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n No template data.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/components/update/email-notification-template-update.html\n// module id = 1283\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport TabContentComponent from './components/tab-content/tab-content-component';\r\nimport TabHeaderComponent from './components/tab-header/tab-header-component';\r\n\r\nexport default angular\r\n .module('email-notifications-tab', [])\r\n .component('emailNotificationsTabHeader', new TabHeaderComponent())\r\n .component('emailNotificationsTabContent', new TabContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/email-notification-templates/components/email-notification-tab/email-notification-tab-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-content/tab-content.html\n// module id = 1285\n// module chunks = 0","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/email-notification-templates/components/email-notification-tab/components/tab-header/tab-header.html\n// module id = 1286\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport SmsNotificationTemplatesComponent from './components/sms-notification-templates/sms-notification-templates-component';\r\nimport ManageLoginSmsNotificationComponent from './components/manage-login-sms-notification/manage-login-sms-notification-component';\r\nimport ManageSmsNotificationComponent from './components/manage-sms-notification/manage-sms-notification-component';\r\n\r\nexport default angular\r\n .module('sms', [\r\n 'utils',\r\n SmsNotificationTemplatesComponent.name,\r\n ManageLoginSmsNotificationComponent.name,\r\n ManageSmsNotificationComponent.name,\r\n ])\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('sms-update', {\r\n parent: 'arw',\r\n url: '/sms-notifications/templates/:templateId/update/:templateName',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('SMS Notification Templates')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('sms.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n fetchTemplate: appFactory.dispatch('sms.fetchTemplate', true),\r\n updateTemplate: appFactory.dispatch('sms.updateTemplate', true),\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/sms-component.js","import angular from 'angular';\r\nimport SmsNotificationTabComponent from './components/sms-notification-tab/sms-notification-tab-component';\r\nimport SmsNotificationEditComponent from './components/sms-notification-edit/sms-notification-edit-component';\r\n\r\nexport default angular.module('sms-notification-templates', ['email-notification-templates', SmsNotificationTabComponent.name, SmsNotificationEditComponent.name]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/sms-notification-templates-component.js","import angular from 'angular';\r\n\r\nimport TabContentComponent from './components/tab-content/tab-content-component';\r\nimport TabHeaderComponent from './components/tab-header/tab-header-component';\r\n\r\nexport default angular\r\n .module('sms-notifications-tab', ['email-notifications-tab'])\r\n .component('smsNotificationsTabHeader', new TabHeaderComponent())\r\n .component('smsNotificationsTabContent', new TabContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/sms-notification-tab-component.js","import EmailTabContentComponent from 'email-notification-templates/components/email-notification-tab/components/tab-content/tab-content-component';\r\nimport template from './tab-content.html';\r\n\r\nexport default class SmsTabContentComponent extends EmailTabContentComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-content/tab-content.html\n// module id = 1291\n// module chunks = 0","import EmailTabHeaderComponent\r\n from 'email-notification-templates/components/email-notification-tab/components/tab-header/tab-header-component';\r\nimport template from './tab-header.html';\r\n\r\nexport default class SmsTabHeaderComponent extends EmailTabHeaderComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header-component.js","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-tab/components/tab-header/tab-header.html\n// module id = 1293\n// module chunks = 0","import angular from 'angular';\r\nimport EmailNotificationsTemplateUpdateComponent, {\r\n EmailNotificationsTemplateUpdateController,\r\n} from 'email-notification-templates/components/update/email-notification-template-update-component';\r\nimport template from './sms-notification-edit.html';\r\nimport dialogTemplate from './sms-dialog.html';\r\n\r\nconst UNLIMITED = -1;\r\nconst SMS_TEMPLATE_KEY = 'smsTemplate';\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$rootScope', '$state', 'gettextCatalog', 'Notifications')\r\nclass SmsNotificationEditController extends EmailNotificationsTemplateUpdateController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.activeTabId = 'sms';\r\n }\r\n\r\n $onInit() {\r\n super.$onInit(SMS_TEMPLATE_KEY);\r\n this.onLanguageSelect(this.locale);\r\n }\r\n\r\n submitForm() {\r\n this.api.validateForm.run(this.namespace, this.moduleName).then((model) => {\r\n if (!this.formModel[this.model.notificationTemplates.smsTemplate.language].smsTemplateBodyTxt) {\r\n this.Notifications.showComplexDialog({\r\n dialogTemplate,\r\n }).then(() =>\r\n this.api.updateTemplate\r\n .run(this.templateId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Template saved successfully')).result)\r\n .then(() =>\r\n this.$state.go('emailNotificationsTemplates-view', {\r\n tabId: this.activeTabId,\r\n skipDirtyForms: true,\r\n })\r\n )\r\n );\r\n } else {\r\n this.api.updateTemplate\r\n .run(this.templateId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Template saved successfully')).result)\r\n .then(() =>\r\n this.$state.go('emailNotificationsTemplates-view', {\r\n tabId: this.activeTabId,\r\n skipDirtyForms: true,\r\n })\r\n );\r\n }\r\n });\r\n }\r\n\r\n prepareOptions() {\r\n return {\r\n ...this.api.config.ckeditor,\r\n extraPlugins: 'autogrow,emailVariables,wordcount',\r\n removePlugins: 'elementspath,save,font',\r\n emailVariables: this.model.notificationTemplates.smsTemplate.params,\r\n toolbar: [{ name: 'insert', items: ['emailVariables'] }],\r\n wordcount: {\r\n showParagraphs: false,\r\n showWordCount: false,\r\n showCharCount: true,\r\n countSpacesAsChars: true,\r\n countHTML: true,\r\n maxWordCount: UNLIMITED,\r\n maxCharCount: UNLIMITED,\r\n },\r\n };\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nclass SmsNotificationEditComponent extends EmailNotificationsTemplateUpdateComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n this.controller = SmsNotificationEditController;\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular.module('sms-notifications-edit', []).component('smsNotificationEdit', new SmsNotificationEditComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.templateName }} -\\r\\n SMS\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter Message.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n No template data.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-notification-edit.html\n// module id = 1295\n// module chunks = 0","module.exports = \"
    \\r\\n

    Empty message

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n Are you sure you want to save these changes without entering a message?\\r\\n

    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/sms-notification-templates/components/sms-notification-edit/sms-dialog.html\n// module id = 1296\n// module chunks = 0","import angular from 'angular';\r\nimport EditComponent from './components/manage-login-sms-notification-edit/component';\r\nimport ViewComponent from './components/manage-login-sms-notification-view/component';\r\n\r\nexport default angular\r\n .module('manage-login-sms-notifications', [])\r\n .component('manageLoginSmsNotificationEdit', new EditComponent())\r\n .component('manageLoginSmsNotificationView', new ViewComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-login-sms-notification/manage-login-sms-notification-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    Send notification to SMS users\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    SMS Message Type*
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    *Only first 160 characters defined in window will be sent using SMS message.\\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-edit/template.html\n// module id = 1298\n// module chunks = 0","import EditComponent from '../manage-login-sms-notification-edit/component';\r\nimport template from './template.html';\r\n\r\nexport default class ViewComponent extends EditComponent {\r\n constructor() {\r\n super();\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n Send notification to SMS users\\r\\n
    \\r\\n Yes\\r\\n No\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Notification Type\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ type.smsTypeTxt }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-login-sms-notification/components/manage-login-sms-notification-view/template.html\n// module id = 1300\n// module chunks = 0","import angular from 'angular';\r\nimport ManageSmsNotificationViewComponent\r\n from './components/manage-sms-notification-view/manage-sms-notification-view-component';\r\nimport ManageSmsNotificationEditComponent\r\n from './components/manage-sms-notification-edit/manage-sms-notification-edit-component';\r\n\r\nexport default angular\r\n .module('manage-sms-notifications', [])\r\n .component('manageSmsNotificationEdit', new ManageSmsNotificationEditComponent())\r\n .component('manageSmsNotificationView', new ManageSmsNotificationViewComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-sms-notification/manage-sms-notification-component.js","import template from './manage-sms-notification-view.html';\r\n\r\n@Inject('gettextCatalog', 'appFactory')\r\nclass ManageSmsNotificationViewController {\r\n $onChanges(changes) {\r\n this.smsEnabled = !!changes.smsEnabled.currentValue;\r\n }\r\n}\r\n\r\nexport default class ManageSmsNotificationViewComponent {\r\n constructor() {\r\n this.controller = ManageSmsNotificationViewController;\r\n this.template = template;\r\n this.bindings = {\r\n smsEnabled: '<',\r\n showSubscriptionDialog: '&',\r\n isShown: '<',\r\n disabled: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view-component.js","module.exports = \"
    \\r\\n SMS Subscription\\r\\n
    \\r\\n
    \\r\\n  \\r\\n On\\r\\n
    \\r\\n
    \\r\\n  \\r\\n Off\\r\\n
    \\r\\n
    \\r\\n \\r\\n (\\r\\n Show Selected)\\r\\n \\r\\n

    \\r\\n {{ $ctrl.appFactory.deps.config.smsInformation }}\\r\\n

    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-view/manage-sms-notification-view.html\n// module id = 1303\n// module chunks = 0","import template from './manage-sms-notification-edit.html';\r\n\r\n@Inject('Notifications', 'appFactory')\r\nclass ManageSmsNotificationViewController {\r\n $onChanges(changes) {\r\n if (changes.smsEnabled) {\r\n this.smsEnabled = !!this.smsEnabled;\r\n }\r\n }\r\n\r\n applySmsNotifications(data) {\r\n if (data.smsEnabled) {\r\n this.onShowSmsPolicy();\r\n }\r\n this.applyChanges(data);\r\n }\r\n\r\n onShowSubscriptionDialog() {\r\n if (!this.disabled) {\r\n return this.showSubscriptionDialog();\r\n }\r\n }\r\n\r\n onShowSmsPolicy() {\r\n this.showSmsPolicy.run();\r\n }\r\n}\r\n\r\nexport default class ManageSmsNotificationViewComponent {\r\n constructor() {\r\n this.controller = ManageSmsNotificationViewController;\r\n this.template = template;\r\n this.bindings = {\r\n smsEnabled: '<',\r\n disabled: '<',\r\n smsPolicy: '<',\r\n applyChanges: '&',\r\n showSubscriptionDialog: '&',\r\n showSmsPolicy: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit-component.js","module.exports = \"
    \\r\\n \\r\\n Notification Preferences\\r\\n \\r\\n
    \\r\\n SMS Notifications \\r\\n \\r\\n (Customize)\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n  \\r\\n On\\r\\n
    \\r\\n
    \\r\\n  \\r\\n Off\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n SMS Notification Policy\\r\\n \\r\\n

    \\r\\n {{ $ctrl.appFactory.deps.config.smsInformation }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/sms/components/manage-sms-notification/components/manage-sms-notification-edit/manage-sms-notification-edit.html\n// module id = 1305\n// module chunks = 0","import angular from 'angular';\r\nimport 'angular-ui-tree';\r\nimport faqViewTemplate from './faq.html';\r\nimport FaqManagementComponent from './components/faq-management/faq-management-component';\r\nimport FaqCategoryComponent from './components/faq-category/faq-category-component';\r\nimport FaqSearchComponent from './components/faq-search/faq-search-component';\r\nimport './config/errorcodes.conf';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Responsive')\r\nclass FaqViewController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n this.api.loadData.run(this.editMode);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n acceptDndTree(sourceNodeScope, destNodesScope) {\r\n return this.api.accept(sourceNodeScope, destNodesScope);\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nclass FaqViewComponent {\r\n constructor() {\r\n this.template = faqViewTemplate;\r\n this.controller = FaqViewController;\r\n this.bindings = {\r\n appCtrl: '<',\r\n model: '<',\r\n editMode: '<',\r\n moduleName: '@',\r\n namespace: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('faq', ['ui.router', 'ui.tree', 'faq-errorcodes'])\r\n .component('faq', new FaqViewComponent())\r\n .component('faqSearch', new FaqSearchComponent())\r\n .component('faqManagement', new FaqManagementComponent())\r\n .component('faqCategory', new FaqCategoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('faq-view', {\r\n parent: 'arw',\r\n url: '/faq',\r\n restKey: 'user',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Frequently Asked Questions')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('faq.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n search: appFactory.dispatch('faq.search', true),\r\n loadData: appFactory.dispatch('faq.loadData', true),\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('faq-admin', {\r\n parent: 'arw',\r\n url: '/faq-admin',\r\n restKey: 'admin',\r\n template: ` `,\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Frequently Asked Questions')));\r\n },\r\n ],\r\n },\r\n redirectTo: 'permissions-denied',\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('faq.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n accept: appFactory.actions.faq.accept,\r\n dropped: appFactory.dispatch('faq.dropped', true),\r\n loadData: appFactory.dispatch('faq.loadData', true),\r\n saveCategory: appFactory.dispatch('faq.saveCategory', true),\r\n updateCategory: appFactory.dispatch('faq.updateCategory', true),\r\n deleteCategory: appFactory.dispatch('faq.deleteCategory', true),\r\n deleteEntry: appFactory.dispatch('faq.deleteEntry', true),\r\n saveEntry: appFactory.dispatch('faq.saveEntry', true),\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n faqDialogApi: {\r\n config: appFactory.deps.config,\r\n onLanguageSelect: appFactory.dispatch('app.toggleLanguageSelect', true),\r\n initializeForm: appFactory.dispatch('app.initializeForm', true),\r\n validateForm: appFactory.dispatch('app.validateForm', true),\r\n setLanguageValidation: appFactory.actions.app.setLanguageValidation,\r\n },\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n hideSidebar: false,\r\n })\r\n .state('faq-user', {\r\n parent: 'arw',\r\n url: '/faq-user',\r\n restKey: 'user',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Frequently Asked Questions')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('faq.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n search: appFactory.dispatch('faq.search', true),\r\n loadData: appFactory.dispatch('faq.loadData', true),\r\n }))\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n hideSidebar: false,\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/faq-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Here you can create a new FAQ entry or edit or delete existing entries. In order to delete a category, you must first delete or move all of the entries in that category.
    Click and hold on the four-arrows icon to “drag and drop” a category or entry to a new location.\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Can't find the information you're looking for?\\r\\n \\r\\n \\r\\n \\r\\n Contact Us\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n FAQ temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/faq.html\n// module id = 1309\n// module chunks = 0","import faqManagementTemplate from './faq-management.html';\r\nimport faqCategoryDialogTemplate from '../faq-category-dialog/faq-category-dialog-template.html';\r\nimport FaqCategoryDialogController from '../faq-category-dialog/faq-category-dialog-controller';\r\nimport faqEntryDialogTemplate from '../faq-entry-dialog/faq-entry-dialog-template.html';\r\nimport FaqEntryDialogController from '../faq-entry-dialog/faq-entry-dialog-controller';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { locale } = session;\r\n\r\n return {\r\n locale,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'gettextCatalog')\r\nclass FaqManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.onLanguageSelect(this.locale);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n openCategoryDialog() {\r\n this.Notifications.showComplexDialog({\r\n template: faqCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqCategoryDialogController,\r\n size: 'md',\r\n resolve: {\r\n moduleName: () => 'faqCategory',\r\n namespace: () => 'faq',\r\n category: () => {},\r\n title: () => this.gettextCatalog.getString('Add Category'),\r\n api: () => this.api.faqDialogApi,\r\n },\r\n }).result.then((category) => {\r\n this.saveCategory.run(category);\r\n });\r\n }\r\n\r\n openEntryDialog() {\r\n this.Notifications.showComplexDialog({\r\n template: faqEntryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqEntryDialogController,\r\n resolve: {\r\n moduleName: () => 'faqEntry',\r\n namespace: () => 'faq',\r\n entry: () => {},\r\n title: () => this.gettextCatalog.getString('Create Question'),\r\n api: () => this.api.faqDialogApi,\r\n saveEntry: () => this.saveEntry,\r\n },\r\n });\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.model[this.namespace][this.moduleName].language = locale;\r\n }\r\n}\r\n\r\nexport default class FaqManagementComponent {\r\n constructor() {\r\n this.template = faqManagementTemplate;\r\n this.controller = FaqManagementController;\r\n this.bindings = {\r\n saveCategory: '<',\r\n saveEntry: '<',\r\n appCtrl: '<',\r\n model: '<',\r\n api: '<',\r\n namespace: '<',\r\n moduleName: '<',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-management/faq-management-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n New FAQ Entry\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n New Category\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-management/faq-management.html\n// module id = 1311\n// module chunks = 0","import faqCategoryTemplate from './faq-category.html';\r\nimport _ from 'lodash';\r\n\r\nimport faqCategoryDialogTemplate from '../faq-category-dialog/faq-category-dialog-template.html';\r\nimport FaqCategoryDialogController from '../faq-category-dialog/faq-category-dialog-controller';\r\n\r\nimport faqEntryDialogTemplate from '../faq-entry-dialog/faq-entry-dialog-template.html';\r\nimport FaqEntryDialogController from '../faq-entry-dialog/faq-entry-dialog-controller';\r\n\r\n@Inject('$sce', 'Notifications', 'gettextCatalog')\r\nclass FaqCategoryController {\r\n constructor() {\r\n this.faqDndTree = {\r\n accept: (sourceNodeScope, destNodesScope) => this.api.accept(sourceNodeScope, destNodesScope),\r\n dropped: (event) => this.api.dropped.run(event),\r\n };\r\n }\r\n\r\n openCategoryDialog(category) {\r\n this.Notifications.showComplexDialog({\r\n template: faqCategoryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqCategoryDialogController,\r\n resolve: {\r\n moduleName: () => 'faqCategory',\r\n namespace: () => 'faq',\r\n category: () => category,\r\n title: () => this.gettextCatalog.getString('Edit Category'),\r\n api: () => this.api.faqDialogApi,\r\n },\r\n }).result.then((category) => {\r\n this.api.updateCategory.run(category);\r\n });\r\n }\r\n\r\n openEntryDialog(entry) {\r\n this.Notifications.showComplexDialog({\r\n template: faqEntryDialogTemplate,\r\n bindToController: true,\r\n controller: FaqEntryDialogController,\r\n resolve: {\r\n moduleName: () => 'faqEntry',\r\n namespace: () => 'faq',\r\n entry: () => _.cloneDeep(entry),\r\n title: () => this.gettextCatalog.getString('Edit Question'),\r\n api: () => this.api.faqDialogApi,\r\n saveEntry: () => this.api.saveEntry,\r\n },\r\n });\r\n }\r\n\r\n deleteCategoryHandler(category) {\r\n if (!this.hasEntries(category)) {\r\n this.api.deleteCategory.run(category).then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Category has been removed')));\r\n } else {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Category has entries'));\r\n }\r\n }\r\n\r\n hasEntries(category) {\r\n return category.entries.length > 0;\r\n }\r\n\r\n deleteEntryHandler($event, entry) {\r\n this.api.deleteEntry.run(entry).then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Entry has been removed')));\r\n }\r\n\r\n trustAsHtml(string) {\r\n return this.$sce.trustAsHtml(string);\r\n }\r\n}\r\n\r\nexport default class FaqCategoryComponent {\r\n constructor() {\r\n this.template = faqCategoryTemplate;\r\n this.controller = FaqCategoryController;\r\n this.bindings = {\r\n model: '<',\r\n editMode: '<',\r\n api: '<',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-category/faq-category-component.js","module.exports = \"
    \\r\\n
      \\r\\n
    • \\r\\n
      \\r\\n
      \\r\\n {{ category.faqCategoryTranslationsDto[$ctrl.model.faq.faq.language || $ctrl.model.session.locale].name }}\\r\\n
      \\r\\n
      \\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
      \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n
      \\r\\n
      \\r\\n
      \\r\\n
        \\r\\n
      • \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
        \\r\\n
        \\r\\n {{ entry.faqEntryTranslationsDto[$ctrl.model.faq.faq.language || $ctrl.model.session.locale].name }}\\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
        \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
        \\r\\n
      • \\r\\n
      \\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n Sorry, no results were found.\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-category/faq-category.html\n// module id = 1313\n// module chunks = 0","import faqSearchTemplate from './faq-search.html';\r\n\r\n@Inject('Responsive')\r\nclass FaqSearchController {\r\n constructor() {\r\n this.searchPhrase = '';\r\n }\r\n\r\n onChangeHandler() {\r\n this.search({\r\n phrase: this.searchPhrase.toLowerCase(),\r\n });\r\n }\r\n\r\n resetSearch() {\r\n this.searchPhrase = '';\r\n this.onChangeHandler();\r\n }\r\n}\r\n\r\nexport default class FaqSearchComponent {\r\n constructor() {\r\n this.template = faqSearchTemplate;\r\n this.controller = FaqSearchController;\r\n this.bindings = {\r\n search: '&',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/components/faq-search/faq-search-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n Search\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Reset\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/faq/components/faq-search/faq-search.html\n// module id = 1315\n// module chunks = 0","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('faq-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n faq: {\r\n 13: () => ({ title: gettextCatalog.getString('Please select Category.') }),\r\n 14: () => ({ title: gettextCatalog.getString('Category with specified name or ordinal number already exists. Please enter other name.') }),\r\n 15: () => ({ title: gettextCatalog.getString('FAQ entry with specified name or ordinal number already exists. Please enter other name.') }),\r\n 16: () => ({ title: gettextCatalog.getString('Specified FAQ category does not exist.') }),\r\n 17: () => ({ title: gettextCatalog.getString('Specified FAQ category is not empty. You cannot delete FAQ category which contains questions.') }),\r\n FAQ_CATEGORY_ALREADY_EXIST: () => ({ title: gettextCatalog.getString('Category with specified name or ordinal number already exists. Please enter other name.') }),\r\n FAQ_ENTRY_ALREADY_EXIST: () => ({ title: gettextCatalog.getString('FAQ entry with this name or ordinal number already exists.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/faq/config/errorcodes.conf.js","import angular from 'angular';\r\n\r\nimport errorCodes from './config/errorcodes.conf';\r\n\r\nimport messageRouting from './message-routing-module';\r\nimport messagesList from './components/messages-list/messages-list-module';\r\nimport sentMessagesList from './components/sent-messages-list/sent-messages-list-module';\r\nimport sentMessageDetails from './components/sent-message-details/sent-message-details-module';\r\nimport messageDetails from './components/message-details/message-details-module';\r\nimport createMessage from './components/create-message/create-message-module';\r\nimport messagesTab from './components/messages-tab/messages-tab-module';\r\nimport recipientsList from './components/recipients-list/recipients-list-module';\r\nimport replyMessageDialogModule from './components/reply-message-dialog/reply-message-dialog-module';\r\n\r\nimport messageDefinitionService from './message-definition-service';\r\n\r\nexport default angular\r\n .module('message', [\r\n errorCodes.name,\r\n replyMessageDialogModule.name,\r\n messageRouting.name,\r\n messagesList.name,\r\n sentMessagesList.name,\r\n sentMessageDetails.name,\r\n messageDetails.name,\r\n createMessage.name,\r\n messagesTab.name,\r\n recipientsList.name,\r\n ])\r\n .service('messageDefinitionService', messageDefinitionService);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('message-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n message: {\r\n 31: () => ({ title: gettextCatalog.getString('Please select Recipients.') }),\r\n 52: () => ({ title: gettextCatalog.getString('Message content is too long.') }),\r\n CANNOT_BE_EMPTY: () => ({ body: gettextCatalog.getString('Message may not be empty') }),\r\n INVALID_SIZE: () => ({ body: gettextCatalog.getString('Message content is too long. Maximum character count is 1024') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/config/errorcodes.conf.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('message-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('message', {\r\n parent: 'arw',\r\n abstract: true,\r\n url: '/messages',\r\n template: '
    ',\r\n })\r\n .state('message.list', {\r\n url: '',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('All Messages')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('message.sent', {\r\n url: '/sent/details/:id',\r\n template: '',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Sent - Message details')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n id: ['$stateParams', ($stateParams) => $stateParams.id],\r\n },\r\n })\r\n .state('message.view', {\r\n url: '/details/:id',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Inbox - Message details')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n id: ['$stateParams', ($stateParams) => $stateParams.id],\r\n },\r\n })\r\n .state('message.create', {\r\n url: '/message-create',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Inbox - Create Message')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-routing-module.js","import angular from 'angular';\r\nimport MessagesListComponent from './messages-list-component';\r\n\r\nexport default angular.module('messages-list', []).component('messagesList', new MessagesListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-list/messages-list-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nimport { fetchMessagesList, markMessageAsUnread, markMessageAsRead, resetInbox, deleteMessages } from 'message/actions/inbox.actions';\r\nimport {\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n} from 'message/actions/selected-messages.actions';\r\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\n\r\nimport { selectedMessageDetailsSelector } from 'selectors/index';\r\n\r\nimport template from './messages-list.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, messages, ui, config } = state;\r\n const { locale } = session;\r\n const { inbox, inboxLoadingStatus: isLoading, selectedMessages } = messages;\r\n const { pagination } = ui;\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey } = config;\r\n const { selectedMessagesList, hasAllMessagesSelected } = selectedMessages;\r\n\r\n return {\r\n locale,\r\n messages: inbox,\r\n isLoading,\r\n pagination,\r\n selectedMessagesList,\r\n hasAllMessagesSelected,\r\n pageSizeKey,\r\n sortColumnKey,\r\n directionKey,\r\n defaultPageSize: defaultPageSizes[2],\r\n selectedMessage: selectedMessageDetailsSelector(state),\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchMessagesList,\r\n deleteMessages,\r\n markMessageAsUnread,\r\n markMessageAsRead,\r\n fetchUnreadMessagesCount,\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n resetInbox,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', '$ngRedux', 'Notifications', 'messageDefinitionService')\r\nclass MessagesListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.canCreateMessage = this.checkAccess('message.create');\r\n\r\n this.fetchUnreadMessagesCount();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'inAppMessage.sendDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSize,\r\n };\r\n this.gridModel = initGrid(this.fetchMessagesList, this.defaultParams);\r\n\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessagesList();\r\n this.resetInbox();\r\n this.unsubscribe();\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteMessages();\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSGS_DELETE', 'desc'));\r\n\r\n this.search();\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.messageDefinitionService.get('FROM', 'desc'),\r\n field: 'inAppMessage.authorName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('SUBJECT_AND_PREVIEW', 'desc'),\r\n field: 'inAppMessage.subject',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('DATE', 'desc'),\r\n field: 'inAppMessage.sendDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n canReply() {\r\n if (isEmpty(this.selectedMessage) || this.selectedMessagesList.length !== 1) return false;\r\n\r\n return this.selectedMessage.allowReply;\r\n }\r\n\r\n replyMessage() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n component: 'replyMessageDialog',\r\n });\r\n }\r\n\r\n viewMessage(id) {\r\n this.$state.go('message.view', { id });\r\n }\r\n\r\n toggleSelectAllMessages() {\r\n const messagesList = this.messages.map(({ userMessageId }) => userMessageId);\r\n this.toggleSelectAllMessagesPointer(messagesList);\r\n }\r\n\r\n selectMessage(id) {\r\n this.onMessageSelection(id);\r\n const hasAllMessagesSelected = this.messages.length === this.selectedMessagesList.length;\r\n this.setSelectAllPointerStatus(hasAllMessagesSelected);\r\n }\r\n\r\n isSelected(id) {\r\n return this.selectedMessagesList.includes(id);\r\n }\r\n}\r\n\r\nexport default class MessagesListComponent {\r\n constructor() {\r\n this.controller = MessagesListController;\r\n this.template = template;\r\n this.transclude = true;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-list/messages-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ email }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n To\\r\\n *\\r\\n \\r\\n \\r\\n Message will be sent only to retailers you have access to.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ recipientCategory.translations[$ctrl.locale] }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Recipients.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please enter Retailer No.\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer No. format is incorrect.\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer No. has already been added.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Add to Retailers\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    0\\\"\\r\\n class=\\\"col-12\\\">\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer }}\\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Email.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect.\\r\\n
    \\r\\n
    \\r\\n This email has already been added.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Add to Recipients\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    0\\\"\\r\\n class=\\\"col-12\\\">\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ recipient }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Subject.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Please enter Message.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Send\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/create-message/create-message.html\n// module id = 1322\n// module chunks = 0","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Reply to a Message\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Mark As Unread\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Mark As Read\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Create Message\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Actions\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n Reply to a Message\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • 0\\\"\\r\\n role=\\\"menuitem\\\">\\r\\n \\r\\n \\r\\n Mark As Unread\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • 0\\\"\\r\\n role=\\\"menuitem\\\">\\r\\n \\r\\n \\r\\n Mark As Read\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • 0\\\"\\r\\n role=\\\"menuitem\\\">\\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n Create Message\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ message.authorName }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Subject:\\r\\n \\r\\n \\r\\n {{ message.subject | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ message.content | stripHtml }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ message.authorName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n Subject:\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ message.content | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/messages-list/messages-list.html\n// module id = 1323\n// module chunks = 0","import angular from 'angular';\r\nimport SentMessagesListComponent from './sent-messages-list-component';\r\n\r\nexport default angular.module('sent-messages-list', []).component('sentMessagesList', new SentMessagesListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-messages-list/sent-messages-list-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport {\r\n fetchSentMessagesList,\r\n fetchAdministratorsSentMessagesList,\r\n fetchUserSentMessagesList,\r\n deleteSentMessages,\r\n} from 'message/actions/sent.actions';\r\nimport {\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n} from 'message/actions/selected-messages.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './sent-messages-list.html';\r\n\r\nconst mapStateToThis = ({ session, messages, ui, config }) => {\r\n const { locale, isAdmin, emailAddress } = session;\r\n const { sent, sentLoadingStatus: isLoading, selectedMessages } = messages;\r\n const { pagination } = ui;\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey } = config;\r\n const { selectedMessagesList, hasAllMessagesSelected } = selectedMessages;\r\n\r\n return {\r\n locale,\r\n emailAddress,\r\n isLoading,\r\n pagination,\r\n selectedMessagesList,\r\n hasAllMessagesSelected,\r\n pageSizeKey,\r\n sortColumnKey,\r\n directionKey,\r\n isAdmin,\r\n messages: sent,\r\n defaultPageSize: defaultPageSizes[2],\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSentMessagesList,\r\n fetchAdministratorsSentMessagesList,\r\n fetchUserSentMessagesList,\r\n checkAccess,\r\n deleteSentMessages,\r\n onMessageSelection,\r\n toggleSelectAllMessagesPointer,\r\n clearSelectedMessagesList,\r\n setSelectAllPointerStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$state', '$ngRedux', 'messageDefinitionService', 'Notifications')\r\nclass SentMessagesListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.canSeeSelfSentItems = this.checkAccess('message.create');\r\n this.canSeeAllSentItems = this.checkAccess('message.sent.viewOtherSentItems');\r\n this.canSeeSendersFilter = this.canSeeSelfSentItems && this.canSeeAllSentItems;\r\n if (this.canSeeSendersFilter) {\r\n this.sentBy = this.messageDefinitionService.get('ALL', 'id');\r\n }\r\n this.headers = this.getHeaders();\r\n this.senders = this.getSenders();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessagesList();\r\n this.unsubscribe();\r\n }\r\n\r\n initGridModel() {\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'inAppMessage.sendDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSize,\r\n };\r\n\r\n switch (true) {\r\n case this.isAdmin === false:\r\n this.gridModel = initGrid(this.fetchUserSentMessagesList, this.defaultParams);\r\n break;\r\n case this.sentBy === this.messageDefinitionService.get('SELF', 'id'):\r\n this.gridModel = initGrid(this.fetchSentMessagesList, this.defaultParams);\r\n break;\r\n case this.sentBy === this.messageDefinitionService.get('ALL', 'id'):\r\n case this.canSeeAllSentItems:\r\n this.gridModel = initGrid(this.fetchAdministratorsSentMessagesList, this.defaultParams);\r\n break;\r\n default:\r\n this.gridModel = initGrid(this.fetchSentMessagesList, this.defaultParams);\r\n }\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteSentMessages();\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSGS_DELETE', 'desc'));\r\n this.search();\r\n }\r\n\r\n search() {\r\n this.initGridModel();\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n this.isAdmin\r\n ? {\r\n text: this.messageDefinitionService.get('AUTHOR', 'desc'),\r\n field: 'inAppMessage.authorName',\r\n sortable: true,\r\n }\r\n : {\r\n text: this.messageDefinitionService.get('RECIPIENT', 'desc'),\r\n field: 'inAppMessage.recipientName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('SUBJECT_AND_PREVIEW', 'desc'),\r\n field: 'inAppMessage.subject',\r\n sortable: true,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('SENT', 'desc'),\r\n field: 'inAppMessage.sendDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n getSenders() {\r\n return [this.messageDefinitionService.get('SELF'), this.messageDefinitionService.get('ALL')];\r\n }\r\n\r\n viewMessage(id) {\r\n this.$state.go('message.sent', { id });\r\n }\r\n\r\n toggleSelectAllMessages() {\r\n const messagesList = this.messages.filter((message) => this.canBeSelected(message.authorName)).map(({ messageId }) => messageId);\r\n this.toggleSelectAllMessagesPointer(messagesList);\r\n }\r\n\r\n selectMessage({ authorName, messageId }) {\r\n if (!this.canBeSelected(authorName)) return;\r\n\r\n this.onMessageSelection(messageId);\r\n const hasAllMessagesSelected =\r\n this.messages.filter((msg) => this.canBeSelected(msg.authorName)).length === this.selectedMessagesList.length;\r\n this.setSelectAllPointerStatus(hasAllMessagesSelected);\r\n }\r\n\r\n isSelected(id) {\r\n return this.selectedMessagesList.includes(id);\r\n }\r\n\r\n canBeSelected(authorName) {\r\n return authorName === this.emailAddress;\r\n }\r\n}\r\n\r\nexport default class SentMessagesListComponent {\r\n constructor() {\r\n this.controller = SentMessagesListController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-messages-list/sent-messages-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ sender.desc }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.isAdmin ? message.authorName : message.recipientName }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Subject:\\r\\n \\r\\n \\r\\n {{ message.subject | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ message.content | stripHtml }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.headers[0].text }}:\\r\\n \\r\\n \\r\\n {{ $ctrl.isAdmin ? message.authorName : message.recipientName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ message.subject | stripHtml }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ message.content | stripHtml }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/sent-messages-list/sent-messages-list.html\n// module id = 1326\n// module chunks = 0","import angular from 'angular';\r\nimport SentMessageDetailsComponent from './sent-message-details-component';\r\n\r\nexport default angular.module('sent-message-details', []).component('sentMessageDetails', new SentMessageDetailsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-message-details/sent-message-details-module.js","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { fetchSentMessage, clearSelectedMessage } from 'message/actions/message-details.actions';\r\nimport { deleteSentMessage } from 'message/actions/sent.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport tabs from '../messages-tab/tabs';\r\nimport template from './sent-message-details.html';\r\n\r\nconst mapStateToThis = ({ messages, session, config }) => {\r\n const { locale, emailAddress } = session;\r\n const { SENT } = tabs;\r\n const { selectedMessage } = messages;\r\n const { recipientCategoryCode } = selectedMessage;\r\n const { recipientCategories } = config;\r\n let recipientCategory = recipientCategories.find((category) => category.categoryCode === recipientCategoryCode);\r\n recipientCategory = recipientCategory ? recipientCategory.translations[locale] : '';\r\n\r\n return {\r\n emailAddress,\r\n SENT,\r\n selectedMessage,\r\n recipientCategory,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSentMessage,\r\n clearSelectedMessage,\r\n deleteSentMessage,\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$sce', '$state', '$ngRedux', 'Notifications', 'messageDefinitionService')\r\nclass SentMessageDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchSentMessage(this.sentMessageId);\r\n this.canDelete = this.selectedMessage.authorName === this.emailAddress;\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessage();\r\n this.unsubscribe();\r\n }\r\n\r\n showRecipientsList() {\r\n this.Notifications.showComplexDialog({\r\n component: 'recipientsList',\r\n resolve: {\r\n sentMessageId: () => this.sentMessageId,\r\n allowReply: () => this.selectedMessage.allowReply,\r\n },\r\n });\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteSentMessage(this.sentMessageId);\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSG_DELETE', 'desc'));\r\n this.goToSentMessages();\r\n }\r\n\r\n goToSentMessages() {\r\n this.setActiveTab(this.SENT, 'activeTab');\r\n this.$state.go('message.list');\r\n }\r\n}\r\n\r\nexport default class SentMessageDetailsComponent {\r\n constructor() {\r\n this.controller = SentMessageDetailsController;\r\n this.template = template;\r\n this.bindings = {\r\n sentMessageId: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/sent-message-details/sent-message-details-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.selectedMessage.subject }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Return to Sent Messages\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ ::$ctrl.selectedMessage.authorName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Recipients:\\r\\n \\r\\n \\r\\n {{ $ctrl.recipientCategory }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Sent:\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/sent-message-details/sent-message-details.html\n// module id = 1329\n// module chunks = 0","import angular from 'angular';\r\nimport MessageDetailsComponent from './message-details-component';\r\n\r\nexport default angular.module('message-details', []).component('messageDetails', new MessageDetailsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/message-details/message-details-module.js","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { fetchMessage, clearSelectedMessage } from 'message/actions/message-details.actions';\r\nimport { deleteMessage } from 'message/actions/inbox.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport tabs from '../messages-tab/tabs';\r\nimport template from './message-details.html';\r\n\r\nconst mapStateToThis = ({ messages }) => {\r\n const { INBOX } = tabs;\r\n const { selectedMessage } = messages;\r\n\r\n return {\r\n INBOX,\r\n selectedMessage,\r\n };\r\n};\r\nconst mapDispatchToThis = {\r\n fetchMessage,\r\n clearSelectedMessage,\r\n deleteMessage,\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$sce', '$state', '$ngRedux', 'Notifications', 'messageDefinitionService')\r\nclass MessageDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.fetchMessage(this.userMessageId);\r\n }\r\n\r\n $onDestroy() {\r\n this.clearSelectedMessage();\r\n this.unsubscribe();\r\n }\r\n\r\n async onDeleteMessage() {\r\n await this.deleteMessage(this.userMessageId);\r\n this.Notifications.alertSuccess(this.messageDefinitionService.get('MSG_DELETE', 'desc'));\r\n this.goToInboxMessages();\r\n }\r\n\r\n goToInboxMessages() {\r\n this.setActiveTab(this.INBOX, 'activeTab');\r\n this.$state.go('message.list');\r\n }\r\n\r\n canReply() {\r\n return this.selectedMessage && this.selectedMessage.allowReply;\r\n }\r\n\r\n replyMessage() {\r\n this.Notifications.showComplexDialog({\r\n backdrop: 'static',\r\n component: 'replyMessageDialog',\r\n });\r\n }\r\n}\r\n\r\nexport default class MessageDetailsComponent {\r\n constructor() {\r\n this.controller = MessageDetailsController;\r\n this.template = template;\r\n this.bindings = {\r\n userMessageId: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/message-details/message-details-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n {{ ::$ctrl.selectedMessage.subject }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Return to Inbox\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Message\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Reply to a Message\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ ::$ctrl.selectedMessage.authorName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Sent:\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/message-details/message-details.html\n// module id = 1332\n// module chunks = 0","import angular from 'angular';\r\nimport CreateMessageComponent from './create-message-component';\r\n\r\nexport default angular.module('create-message', []).component('createMessage', new CreateMessageComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/create-message/create-message-module.js","import angular from 'angular';\r\nimport MessagesTabComponent from './messages-tab-component';\r\n\r\nexport default angular.module('messages-tab', []).component('messagesTab', new MessagesTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-tab/messages-tab-module.js","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './messages-tab.html';\r\nimport tabs from './tabs';\r\n\r\nconst mapStateToThis = ({ session, ui }) => {\r\n const { isAdmin } = session;\r\n const { activeTab } = ui;\r\n const { INBOX, SENT } = tabs;\r\n\r\n return {\r\n activeTab,\r\n isAdmin,\r\n INBOX,\r\n SENT,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass MessagesTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.initActiveTab();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n initActiveTab() {\r\n if (![this.INBOX, this.SENT].includes(this.activeTab)) {\r\n this.setActiveTab(this.INBOX, 'activeTab');\r\n }\r\n }\r\n}\r\n\r\nexport default class MessagesTabComponent {\r\n constructor() {\r\n this.controller = MessagesTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/messages-tab/messages-tab-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/messages-tab/messages-tab.html\n// module id = 1336\n// module chunks = 0","import angular from 'angular';\r\nimport RecipientsListComponent from './recipients-list-component';\r\n\r\nexport default angular.module('recipients-list', []).component('recipientsList', new RecipientsListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/recipients-list/recipients-list-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport { fetchRecipients } from 'message/actions/recipients.actions';\r\nimport template from './recipients-list.html';\r\n\r\nconst mapStateToThis = ({\r\n session, messages, ui, config,\r\n}) => {\r\n const { locale, isAdmin } = session;\r\n const { recipients, recipientsLoadingStatus: isLoading } = messages;\r\n const { pagination } = ui;\r\n const {\r\n defaultPageSizes, sortColumnKey, pageSizeKey, directionKey,\r\n } = config;\r\n\r\n return {\r\n recipients,\r\n locale,\r\n isLoading,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n directionKey,\r\n isAdmin,\r\n defaultPageSize: defaultPageSizes[2],\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchRecipients,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('messageDefinitionService', '$ngRedux')\r\nclass RecipientsListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'userName',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSize,\r\n };\r\n this.gridModel = initGrid(this.fetchRecipients, this.defaultParams);\r\n\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n sentMessageId: this.resolve.sentMessageId,\r\n };\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n getHeaders() {\r\n let headers = [\r\n {\r\n text: this.messageDefinitionService.get('USERNAME', 'desc'),\r\n field: 'userName',\r\n sortable: false,\r\n },\r\n {\r\n text: this.messageDefinitionService.get('READ_STATUS', 'desc'),\r\n field: 'isRead',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.messageDefinitionService.get('READ_DATE', 'desc'),\r\n field: 'readDate',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n if (this.isAdmin) {\r\n headers = [\r\n ...headers,\r\n {\r\n text: this.messageDefinitionService.get('REPLIED_STATUS', 'desc'),\r\n field: 'isReplied',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.messageDefinitionService.get('REPLIED_DATE', 'desc'),\r\n field: 'repliedDate',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n return headers;\r\n }\r\n\r\n isChecked(id) {\r\n return this.selectedMessagesList.includes(id);\r\n }\r\n}\r\n\r\nexport default class RecipientsListComponent {\r\n constructor() {\r\n this.controller = RecipientsListController;\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/recipients-list/recipients-list-component.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const fetchRecipientsRequest = () => ({\r\n type: actionTypes.FETCH_RECIPIENTS_REQUEST,\r\n name: 'recipientsLoadingStatus',\r\n});\r\n\r\nexport const fetchRecipientsFailure = () => ({\r\n type: actionTypes.FETCH_RECIPIENTS_FAILURE,\r\n name: 'recipientsLoadingStatus',\r\n});\r\n\r\nexport const fetchRecipientsSuccess = (recipients, pagination) => ({\r\n type: actionTypes.FETCH_RECIPIENTS_SUCCESS,\r\n recipients,\r\n pagination,\r\n name: 'recipientsLoadingStatus',\r\n});\r\n\r\nexport const fetchRecipients = (params) => async (dispatch) => {\r\n try {\r\n dispatch(fetchRecipientsRequest());\r\n const { content, ...pagination } = await api.fetchRecipients(params);\r\n\r\n dispatch(fetchRecipientsSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchRecipientsFailure(error));\r\n console.error('FETCH_RECIPIENTS', error);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/recipients.actions.js","module.exports = \"
    \\r\\n

    \\r\\n Message Recipients\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ recipient.userName }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n Read\\r\\n
    \\r\\n
    \\r\\n Unread\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n Replied\\r\\n
    \\r\\n
    \\r\\n Unreplied\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ recipient.userName }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Read\\r\\n
    \\r\\n
    \\r\\n Unread\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Replied\\r\\n
    \\r\\n
    \\r\\n Unreplied\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n --\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/recipients-list/recipients-list.html\n// module id = 1340\n// module chunks = 0","import angular from 'angular';\r\nimport ReplyMessageDialogComponent from './reply-message-dialog-component';\r\n\r\nexport default angular.module('reply-message-dialog', []).component('replyMessageDialog', new ReplyMessageDialogComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/reply-message-dialog/reply-message-dialog-module.js","import { fetchMessage, clearSelectedMessage } from 'message/actions/message-details.actions';\r\nimport { replyMessage } from 'message/actions/reply-message.actions';\r\n\r\nimport template from './reply-message-dialog.html';\r\n\r\nconst mapStateToThis = ({ messages, retailerDetails, session }) => {\r\n const { selectedMessage, selectedMessages, messageDetailsLoadingStatus } = messages;\r\n const { selectedMessagesList } = selectedMessages;\r\n const { emailAddress } = session;\r\n\r\n return {\r\n selectedMessagesList,\r\n emailAddress,\r\n isLoading: messageDetailsLoadingStatus,\r\n message: selectedMessage,\r\n retailer: retailerDetails,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchMessage,\r\n clearSelectedMessage,\r\n replyMessage,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$sce')\r\nclass ReplyMessageDialogController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = 'replyToMessage';\r\n }\r\n\r\n $onInit() {\r\n if (!this.message.userMessageId) {\r\n const [userMessageId] = this.selectedMessagesList;\r\n this.fetchMessage(userMessageId);\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n const [userMessageId] = this.selectedMessagesList;\r\n if (userMessageId) {\r\n this.clearSelectedMessage();\r\n }\r\n this.unsubscribe();\r\n }\r\n\r\n async reply() {\r\n const message = {\r\n content: this.content,\r\n replyMessageId: this.message.messageId,\r\n };\r\n\r\n await this.replyMessage(message);\r\n\r\n this.close();\r\n }\r\n}\r\n\r\nexport default class ReplyMessageDialogComponent {\r\n constructor() {\r\n this.controller = ReplyMessageDialogController;\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/components/reply-message-dialog/reply-message-dialog-component.js","import actionTypes from './action-types';\r\nimport * as api from '../resources/message.api';\r\n\r\nexport const replyMessageRequest = () => ({\r\n type: actionTypes.REPLY_MESSAGE_REQUEST,\r\n});\r\n\r\nexport const replyMessageFailure = () => ({\r\n type: actionTypes.REPLY_MESSAGE_FAILURE,\r\n});\r\n\r\nexport const replyMessageSuccess = () => ({\r\n type: actionTypes.REPLY_MESSAGE_SUCCESS,\r\n});\r\n\r\nexport const replyMessage = (message) => async (dispatch) => {\r\n try {\r\n dispatch(replyMessageRequest());\r\n await api.replyMessage(message);\r\n\r\n dispatch(replyMessageSuccess());\r\n } catch (error) {\r\n dispatch(replyMessageFailure());\r\n throw new Error(`REPLY_MESSAGE: ${error}`);\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/actions/reply-message.actions.js","module.exports = \"
    \\r\\n

    \\r\\n \\r\\n Re: {{ $ctrl.message.subject | stripHtml }}\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n Subject:\\r\\n {{ $ctrl.message.subject | stripHtml }}\\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n From:\\r\\n {{ $ctrl.message.authorName }}\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Reply\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/message/components/reply-message-dialog/reply-message-dialog.html\n// module id = 1344\n// module chunks = 0","// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog')\r\nclass MessageDefinitionService {\r\n constructor() {\r\n this.definitions = {\r\n SELF: {\r\n id: 'SELF',\r\n desc: this.gettextCatalog.getString('Self'),\r\n },\r\n ALL: {\r\n id: 'ALL',\r\n desc: this.gettextCatalog.getString('All'),\r\n },\r\n SENT: {\r\n id: 'SENT',\r\n desc: this.gettextCatalog.getString('Sent'),\r\n },\r\n SUBJECT_AND_PREVIEW: {\r\n id: 'SUBJECT_AND_PREVIEW',\r\n desc: this.gettextCatalog.getString('Subject & Preview'),\r\n },\r\n AUTHOR: {\r\n id: 'AUTHOR',\r\n desc: this.gettextCatalog.getString('Author'),\r\n },\r\n RECIPIENT: {\r\n id: 'RECIPIENT',\r\n desc: this.gettextCatalog.getString('Recipient'),\r\n },\r\n FROM: {\r\n id: 'FROM',\r\n desc: this.gettextCatalog.getString('From'),\r\n },\r\n DATE: {\r\n id: 'DATE',\r\n desc: this.gettextCatalog.getString('Date'),\r\n },\r\n USERNAME: {\r\n desc: this.gettextCatalog.getString('Username'),\r\n },\r\n READ_DATE: {\r\n desc: this.gettextCatalog.getString('Read date'),\r\n },\r\n READ_STATUS: {\r\n desc: this.gettextCatalog.getString('Read status'),\r\n },\r\n REPLIED_DATE: {\r\n desc: this.gettextCatalog.getString('Replied date'),\r\n },\r\n REPLIED_STATUS: {\r\n desc: this.gettextCatalog.getString('Replied status'),\r\n },\r\n NO_RECIPIENTS: {\r\n desc: this.gettextCatalog.getString('You must add at least one recipient'),\r\n },\r\n NO_RETAILER: {\r\n desc: this.gettextCatalog.getString('You must add at least one retailer number'),\r\n },\r\n MSG_SENT: {\r\n desc: this.gettextCatalog.getString('The message has been sent successfully.'),\r\n },\r\n MSG_DELETE: {\r\n desc: this.gettextCatalog.getString('The message has been successfully deleted.'),\r\n },\r\n MSGS_DELETE: {\r\n desc: this.gettextCatalog.getString('The selected messages have been successfully deleted.'),\r\n },\r\n };\r\n }\r\n\r\n get(key, property = null) {\r\n try {\r\n if (property) return this.definitions[key][property];\r\n\r\n return this.definitions[key];\r\n } catch (error) {\r\n console.log('CAN NOT FIND MESSAGE DEFINITION');\r\n }\r\n }\r\n}\r\n\r\nexport default MessageDefinitionService;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/message/message-definition-service.js","import angular from 'angular';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\n\r\nimport './config/errorcodes.conf';\r\n\r\nimport api from 'privilege-templates/resources/privilege-templates.api';\r\n\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchPrivilegeTemplates } from './actions/fetch-privilege-templates.actions';\r\nimport { deletePrivilegeTemplate } from './actions/delete-privilege-templates.actions';\r\nimport { createPrivilegeTemplate } from './actions/create-privilege-templates.actions';\r\nimport { updatePrivilegeTemplate } from './actions/update-privilege-template.actions';\r\nimport { selectRole } from './actions/privilege-templates.actions';\r\n\r\nimport helpers from './logic/helpers';\r\n\r\nimport privilegeTemplatesRoutingModule from './privilege-templates-routing-module';\r\nimport privilegeListModule from './components/privilege-list/privilege-list-module';\r\nimport privilegeItemModule from './components/privilege-item/privilege-item-module';\r\nimport PrivilegeTemplateFormModule from './components/privilege-template-form/privilege-template-form-module';\r\nimport privilegeTemplatesListModule from './components/privilege-templates-list/privilege-templates-list-module';\r\nimport privilegeTemplatesPermissionPickerModule from './components/privilege-templates-permission-picker/privilege-templates-permission-picker-module';\r\nimport PrivilegeTemplateConfirmationDialogModule from './components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-module';\r\nimport PrivilegeTemplateSaveConfirmationDialogModule from './components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog-module';\r\n\r\nimport template from './privilege-templates.html';\r\n\r\nconst DIRTY_FORM = 'privilegeTemplates';\r\n\r\nconst mapStateToThis = ({ session, privilegeTemplates, ui, dirtyForms }) => {\r\n const { ids, entities, selectedId } = privilegeTemplates;\r\n const { locale } = session;\r\n const { selectedLanguage } = ui;\r\n\r\n const preset = entities[selectedId];\r\n const isDirty = dirtyForms[DIRTY_FORM];\r\n\r\n return {\r\n ids,\r\n locale,\r\n preset,\r\n entities,\r\n selectedId,\r\n selectedLanguage,\r\n isDirty,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n selectRole,\r\n setDirtyForm,\r\n fetchPrivilegeTemplates,\r\n deletePrivilegeTemplate,\r\n createPrivilegeTemplate,\r\n updatePrivilegeTemplate,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications', 'gettextCatalog')\r\nclass PrivilegeTemplatesController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchPrivilegeTemplates(this.userClass);\r\n\r\n this.arePrivilegesLoading = true;\r\n this.privileges = await api.fetchPrivileges(this.userClass);\r\n this.privilegesTree = helpers.createTree(this.privileges, 'displayPath');\r\n this.arePrivilegesLoading = false;\r\n\r\n this.copyPreset();\r\n }\r\n\r\n $onDestroy() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.unsubscribe();\r\n }\r\n\r\n cancel() {\r\n this.form.$setPristine();\r\n\r\n this.privilegesTree = helpers.createTree(this.privileges, 'displayPath');\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n }\r\n\r\n async save() {\r\n this.form.$setPristine();\r\n\r\n if (\r\n this.presetCopy.privileges.includes('licenseRenewalService') &&\r\n !this.presetCopy.privileges.includes('dashboard.widget.licenseRenewal')\r\n ) {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateSaveConfirmationDialog',\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('License Renewal Service has been selected'),\r\n message: () =>\r\n this.gettextCatalog.getString(\r\n 'The Licensing Renewal Widget and alert will not display unless Licensing & Renewals permission is selected. Do you want to continue?'\r\n ),\r\n },\r\n }).result;\r\n\r\n if (!result) {\r\n return;\r\n }\r\n }\r\n\r\n await this.updatePrivilegeTemplate(this.presetCopy);\r\n\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Role saved successfully'));\r\n }\r\n\r\n async handleCreatePrivilegeTemplate() {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateForm',\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Create Role'),\r\n },\r\n }).result;\r\n\r\n if (result) {\r\n const payload = {\r\n translations: result,\r\n userClass: this.userClass,\r\n privileges: [],\r\n };\r\n\r\n this.createPrivilegeTemplate(payload);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Role created successfully'));\r\n }\r\n }\r\n\r\n async handleDuplicatePrivilegeTemplate() {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateForm',\r\n resolve: {\r\n title: () => this.gettextCatalog.getString('Duplicate {{ name }}', { name: this.preset.translations[this.selectedLanguage].name }),\r\n },\r\n }).result;\r\n\r\n if (result) {\r\n const payload = {\r\n translations: result,\r\n userClass: this.userClass,\r\n privileges: [...this.preset.privileges],\r\n };\r\n\r\n this.createPrivilegeTemplate(payload);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Role created successfully'));\r\n }\r\n }\r\n\r\n async handleDeletePrivilegeTemplate() {\r\n const result = await this.Notifications.showComplexDialog({\r\n component: 'privilegeTemplateConfirmationDialog',\r\n }).result;\r\n\r\n if (result) this.deletePrivilegeTemplate(this.selectedId);\r\n }\r\n\r\n onPrivilegeTemplateChange(id) {\r\n this.selectRole(id);\r\n this.cancel();\r\n this.copyPreset();\r\n }\r\n\r\n handleEditPrivilegeTemplate(privileges) {\r\n this.presetCopy = {\r\n ...this.presetCopy,\r\n privileges,\r\n };\r\n }\r\n\r\n copyPreset() {\r\n this.presetCopy = cloneDeep(this.preset);\r\n }\r\n}\r\n\r\nclass PrivilegeTemplatesComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = PrivilegeTemplatesController;\r\n this.bindings = {\r\n userClass: '@',\r\n };\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('privilege-templates', [\r\n 'privilege-templates-errorcodes',\r\n privilegeListModule.name,\r\n privilegeItemModule.name,\r\n PrivilegeTemplateFormModule.name,\r\n privilegeTemplatesListModule.name,\r\n privilegeTemplatesRoutingModule.name,\r\n privilegeTemplatesPermissionPickerModule.name,\r\n PrivilegeTemplateConfirmationDialogModule.name,\r\n PrivilegeTemplateSaveConfirmationDialogModule.name,\r\n ])\r\n .component('privilegeTemplates', new PrivilegeTemplatesComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/privilege-templates-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('privilege-templates-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n privilegeTemplates: {\r\n ACCOUNT_WITH_ROLE_EXISTS: () => ({\r\n title: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.'),\r\n }),\r\n ACCOUNT_HAS_TEMPLATE: () => ({ body: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.') }),\r\n ROLE_HAS_TEMPLATE: () => ({ body: gettextCatalog.getString('Cannot delete role.') }),\r\n ROLE_IS_DEFAULT: () => ({ body: gettextCatalog.getString('Cannot delete default role.') }),\r\n TEMPLATE_NAME_NOT_UNIQUE: () => ({ body: gettextCatalog.getString('Role Name must be unique.') }),\r\n },\r\n roleTemplates: {\r\n ACCOUNT_WITH_ROLE_EXISTS: () => ({\r\n title: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.'),\r\n }),\r\n ACCOUNT_HAS_TEMPLATE: () => ({ body: gettextCatalog.getString('Cannot delete role. There are accounts referencing this role.') }),\r\n ROLE_NAME_NOT_UNIQUE: () => ({ body: gettextCatalog.getString('Role Names must be unique.') }),\r\n ROLE_ALREADY_EXISTS: () => ({ body: gettextCatalog.getString('Role Name must be unique.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/config/errorcodes.conf.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const deletePrivilegeTemplateRequest = () => ({\r\n type: actionTypes.DELETE_PRIVILEGE_TEMPLATE_REQUEST,\r\n});\r\n\r\nexport const deletePrivilegeTemplateSuccess = (id) => ({\r\n type: actionTypes.DELETE_PRIVILEGE_TEMPLATE_SUCCESS,\r\n id,\r\n});\r\n\r\nexport const deletePrivilegeTemplateFailure = () => ({\r\n type: actionTypes.DELETE_PRIVILEGE_TEMPLATE_FAILURE,\r\n});\r\n\r\nexport const deletePrivilegeTemplate = (id) => async (dispatch) => {\r\n try {\r\n dispatch(deletePrivilegeTemplateRequest());\r\n\r\n await api.deletePrivilegeTemplate(id);\r\n dispatch(deletePrivilegeTemplateSuccess(id));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_PRIVILEGE_TEMPLATE', error);\r\n dispatch(deletePrivilegeTemplateFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/delete-privilege-templates.actions.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const createPrivilegeTemplateRequest = () => ({\r\n type: actionTypes.CREATE_PRIVILEGE_TEMPLATE_REQUEST,\r\n});\r\n\r\nexport const createPrivilegeTemplateSuccess = (template) => ({\r\n type: actionTypes.CREATE_PRIVILEGE_TEMPLATE_SUCCESS,\r\n template,\r\n});\r\n\r\nexport const createPrivilegeTemplateFailure = () => ({\r\n type: actionTypes.CREATE_PRIVILEGE_TEMPLATE_FAILURE,\r\n});\r\n\r\nexport const createPrivilegeTemplate = (payload) => async (dispatch) => {\r\n try {\r\n dispatch(createPrivilegeTemplateRequest());\r\n\r\n const template = await api.createPrivilegeTemplate(payload);\r\n dispatch(createPrivilegeTemplateSuccess(template));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('CREATE_PRIVILEGE_TEMPLATE', error);\r\n dispatch(createPrivilegeTemplateFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/create-privilege-templates.actions.js","import api from '../resources/privilege-templates.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const updatePrivilegeTemplateRequest = () => ({\r\n type: actionTypes.UPDATE_PRIVILEGE_TEMPLATE_REQUEST,\r\n});\r\n\r\nexport const updatePrivilegeTemplateSuccess = (template) => ({\r\n type: actionTypes.UPDATE_PRIVILEGE_TEMPLATE_SUCCESS,\r\n template,\r\n});\r\n\r\nexport const updatePrivilegeTemplateFailure = () => ({\r\n type: actionTypes.UPDATE_PRIVILEGE_TEMPLATE_FAILURE,\r\n});\r\n\r\nexport const updatePrivilegeTemplate = (template) => async (dispatch) => {\r\n try {\r\n dispatch(updatePrivilegeTemplateRequest());\r\n\r\n const updatedTemplate = await api.updatePrivilegeTemplate(template);\r\n dispatch(updatePrivilegeTemplateSuccess(updatedTemplate));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('UPDATE_PRIVILEGE_TEMPLATE', error);\r\n dispatch(updatePrivilegeTemplateFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/update-privilege-template.actions.js","import actionTypes from './action-types';\r\n\r\n// eslint-disable-next-line import/prefer-default-export\r\nexport const selectRole = (id) => ({\r\n type: actionTypes.SELECT_PRIVILEGE_TEMPLATE,\r\n id,\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/actions/privilege-templates.actions.js","import angular from 'angular';\r\n\r\nimport { fetchPrivilegeDisplayTypesDictionary } from 'app/actions/dictionaries/privilege-display-types-dictionary.actions';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('privilege-templates-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('privilegeTemplates-lotteryView', {\r\n parent: 'arw',\r\n url: '/privilege-templates-lottery',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Admin Roles')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('privilegeTemplates-retailerViewSecondary', {\r\n parent: 'arw',\r\n url: '/privilege-templates-retailer-secondary',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Secondary Retailer Roles')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('privilegeTemplates-retailerViewProspective', {\r\n parent: 'arw',\r\n url: '/privilege-templates-retailer-prospective',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Prospective Retailer Roles')],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('privilegeTemplates-retailerViewPrimary', {\r\n parent: 'arw',\r\n url: '/privilege-templates-retailer-primary',\r\n restKey: 'privileges',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Primary Retailer Roles')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([$ngRedux.dispatch(fetchPrivilegeDisplayTypesDictionary())])\r\n .then(() => ({}))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/privilege-templates-routing-module.js","import angular from 'angular';\r\n\r\nimport PrivilegeListComponent from './privilege-list-component';\r\n\r\nexport default angular.module('privilege-list', []).component('privilegeList', new PrivilegeListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-list/privilege-list-module.js","import template from './privilege-list.html';\r\n\r\nexport default class PrivilegeListComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n privilege: '<',\r\n privilegeKey: '<',\r\n parents: '<',\r\n root: '<',\r\n toggleAction: '&',\r\n isEditable: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-list/privilege-list-component.js","module.exports = \"\\r\\n
      \\r\\n
    • \\r\\n \\r\\n \\r\\n
    • \\r\\n
    • \\r\\n \\r\\n \\r\\n
    • \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-list/privilege-list.html\n// module id = 1355\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeItemComponent from './privilege-item-component';\r\n\r\nexport default angular.module('privilege-item', []).component('privilegeItem', new PrivilegeItemComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-item/privilege-item-module.js","import { LICENSE_RENEWAL_SERVICE } from 'dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-component';\r\nimport template from './privilege-item.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session }) => {\r\n const { privilegeDisplayTypes } = dictionary;\r\n const { isAdmin } = session;\r\n\r\n return {\r\n privilegeDisplayTypes,\r\n isAdmin,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass PrivilegeItemController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getName() {\r\n return this.privilegeDisplayTypes[this.privilegeKey] ? this.privilegeDisplayTypes[this.privilegeKey].value : this.privilegeKey;\r\n }\r\n\r\n showOnlineLicensingServicesTooltip() {\r\n return !this.isAdmin && this.privilege.name === LICENSE_RENEWAL_SERVICE;\r\n }\r\n}\r\n\r\nexport default class PrivilegeItemComponent {\r\n constructor() {\r\n this.controller = PrivilegeItemController;\r\n this.template = template;\r\n this.bindings = {\r\n privilege: '<',\r\n privilegeKey: '<',\r\n parents: '<',\r\n root: '<',\r\n onToggle: '&',\r\n isEditable: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-item/privilege-item-component.js","import * as api from 'dashboard/resources/license-renewal.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchLicenseRenewalRequest = () => ({\r\n type: actionTypes.FETCH_LICENSE_RENEWAL_REQUEST,\r\n name: 'licenseRenewalLoadingStatus',\r\n});\r\n\r\nexport const fetchLicenseRenewalSuccess = (data) => ({\r\n type: actionTypes.FETCH_LICENSE_RENEWAL_SUCCESS,\r\n name: 'licenseRenewalLoadingStatus',\r\n data,\r\n});\r\n\r\nexport const fetchLicenseRenewalFailure = () => ({\r\n type: actionTypes.FETCH_LICENSE_RENEWAL_FAILURE,\r\n name: 'licenseRenewalLoadingStatus',\r\n});\r\n\r\nexport const fetchLicenseRenewal =\r\n (id = null) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session, config } = getState();\r\n const { licenseRenewalMaxDaysNo } = config;\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchLicenseRenewalRequest());\r\n const data = await api.fetchLicenseRenewal(retailerId, licenseRenewalMaxDaysNo);\r\n dispatch(fetchLicenseRenewalSuccess(data));\r\n } catch (error) {\r\n console.error('LICENSE_RENEWAL', error);\r\n dispatch(fetchLicenseRenewalFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/license-renewal/license-renewal.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\nimport sortBy from 'lodash/sortBy';\r\n\r\nconst CONTEXT = 'licenseRenewal';\r\n\r\nexport const fetchLicenseRenewal = async (retailerId, threshold) => {\r\n const { url } = DepsService.rest.widgets.licenseRenewal;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n const retailers = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n const recalculated = retailers.map((retailer) => ({\r\n ...retailer,\r\n percentExpirationDays: appHelpers.calculateDaysLeftToPercentages(retailer.expirationDays, threshold),\r\n }));\r\n\r\n return sortBy(recalculated, ['expirationDays', 'retailerNumber']);\r\n};\r\n\r\nexport const fetchLicenseRenewalFormLink = async (retailerId) => {\r\n const { url } = DepsService.rest.widgets.licenseRenewalForm;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/license-renewal.api.js","module.exports = \"\\r\\n\\r\\n \\r\\n

    \\r\\n \\r\\n License Renewal\\r\\n \\r\\n\\r\\n \\r\\n Contact the Lottery\\r\\n \\r\\n

    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
      \\r\\n
    • \\r\\n\\r\\n
      \\r\\n \\r\\n \\r\\n
      \\r\\n\\r\\n
      \\r\\n
      \\r\\n \\r\\n Retailer No.\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"retailer.expirationDays\\\"\\r\\n translate-plural=\\\"Exp. in {{$count}} days\\\">\\r\\n {{ $count }} day\\r\\n \\r\\n\\r\\n \\r\\n {{ $count }} day ago\\r\\n \\r\\n
      \\r\\n\\r\\n \\r\\n \\r\\n Renew\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n = 0\\\">\\r\\n Your store is up for license renewal in\\r\\n \\r\\n\\r\\n \\r\\n Your license renewal expired\\r\\n \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"retailer.expirationDays\\\"\\r\\n translate-plural=\\\"{{$count}} days\\\">\\r\\n 1 day\\r\\n \\r\\n\\r\\n \\r\\n 1 day ago\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Renew\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget.html\n// module id = 1361\n// module chunks = 0","module.exports = \"
    \\r\\n \\r\\n {{ $ctrl.getName() }}\\r\\n \\r\\n \\r\\n \\r\\n To manage location access for {{ licenseAccessLabel }}, select the Location Access tab. Note: The Dashboard License & Renewal permission allows the user to view the License Renewal widget without access to License Management\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-item/privilege-item.html\n// module id = 1362\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplateFormComponent from './privilege-template-form-component';\r\n\r\nexport default angular.module('privilege-template-form', []).component('privilegeTemplateForm', new PrivilegeTemplateFormComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-module.js","import template from './privilege-template-form.html';\r\n\r\nconst mapStateToThis = ({ config, ui }) => {\r\n const { selectedLanguage } = ui;\r\n const { locales } = config;\r\n\r\n return {\r\n locales,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass PrivilegeTemplateFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit() {\r\n this.form.$setSubmitted();\r\n\r\n if (this.form.$valid) {\r\n this.close({ $value: this.translations });\r\n }\r\n }\r\n}\r\n\r\nexport default class PrivilegeTemplateFormComponent {\r\n constructor() {\r\n this.controller = PrivilegeTemplateFormController;\r\n this.template = template;\r\n this.bindings = {\r\n close: '&',\r\n resolve: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form-component.js","module.exports = \"
    \\r\\n

    \\r\\n {{ $ctrl.resolve.title }}\\r\\n

    \\r\\n 1\\\">\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please type role name.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-template-form/privilege-template-form.html\n// module id = 1365\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplatesListComponent from './privilege-templates-list-component';\r\n\r\nexport default angular.module('privilege-templates-list', []).component('privilegeTemplatesList', new PrivilegeTemplatesListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-module.js","import template from './privilege-templates-list.html';\r\n\r\nconst mapStateToThis = ({ privilegeTemplates, ui }) => {\r\n const { ids, entities, selectedId, isPrivilegeTemplatesListLoading } = privilegeTemplates;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n ids,\r\n entities,\r\n selectedId,\r\n selectedLanguage,\r\n isPrivilegeTemplatesListLoading,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass PrivilegeTemplatesListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class PrivilegeTemplatesListComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = PrivilegeTemplatesListController;\r\n this.bindings = {\r\n selectPrivilegeTemplate: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.entities[id].translations[$ctrl.selectedLanguage].name }}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-templates-list/privilege-templates-list.html\n// module id = 1368\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplatesPermissionPickerComponent from './privilege-templates-permission-picker-component';\r\n\r\nexport default angular\r\n .module('privilege-templates-permission-picker', [])\r\n .component('privilegeTemplatesPermissionPicker', new PrivilegeTemplatesPermissionPickerComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-module.js","import _ from 'lodash';\r\nimport template from './privilege-templates-permission-picker.html';\r\n\r\nclass PrivilegeTemplatesPermissionPickerController {\r\n $onChanges(changes) {\r\n if (changes.privileges && changes.privileges.currentValue) {\r\n this.permissions = changes.privileges.currentValue;\r\n }\r\n if (this.permissions && Object.keys(this.permissions).length && _.get(this, 'currentPreset.privileges')) {\r\n this.clearTree(this.permissions.privileges);\r\n this.setChecksRecursive();\r\n }\r\n }\r\n\r\n clearTree(privilege) {\r\n Object.keys(privilege).forEach((item) => {\r\n if (Object.prototype.toString.call(privilege[item]) === '[object Object]') {\r\n return this.clearTree(privilege[item]);\r\n }\r\n if (_.get(privilege, 'checked')) {\r\n privilege.checked = false;\r\n }\r\n return null;\r\n });\r\n }\r\n\r\n findObjectByPathAndSetChecks(privilege, path, check) {\r\n Object.keys(privilege).forEach((item) => {\r\n if (Object.prototype.toString.call(privilege[item]) === '[object Object]') {\r\n return this.findObjectByPathAndSetChecks(privilege[item], path, check);\r\n }\r\n if (privilege.id === path || privilege.path === path) {\r\n privilege.checked = check;\r\n }\r\n return null;\r\n });\r\n }\r\n\r\n filterDynamicPrivileges() {\r\n return this.model.filter(\r\n (privilege) => this.currentPreset.privileges.find((privilegeId) => privilegeId === privilege.id) !== undefined\r\n );\r\n }\r\n\r\n setChecksRecursive() {\r\n const currentPrivilegeSet = this.filterDynamicPrivileges();\r\n const { privileges } = this.permissions;\r\n currentPrivilegeSet.map((privilege) => {\r\n this.findObjectByPathAndSetChecks(privileges, privilege.id, true);\r\n let parentsPrivilegePaths = [];\r\n const privilegePathArray = privilege.displayPath.split('.');\r\n return privilegePathArray.map((privilegePath) => {\r\n if (privilegePath) {\r\n parentsPrivilegePaths = parentsPrivilegePaths.concat(privilegePath);\r\n this.findObjectByPathAndSetChecks(privileges, parentsPrivilegePaths.join('.'), true);\r\n }\r\n return privilegePath;\r\n });\r\n });\r\n }\r\n\r\n togglePrivilege(privilege, parents) {\r\n if (parents.length !== 0 && privilege.checked) {\r\n _.flattenDeep(parents).forEach((parent) => {\r\n parent.checked = privilege.checked;\r\n return parent;\r\n });\r\n }\r\n\r\n function markChecks(_privilege, checked) {\r\n _privilege.checked = checked;\r\n if (_privilege.privileges) {\r\n Object.keys(_privilege.privileges).forEach((subPrivilegeName) => {\r\n const subPrivilege = _privilege.privileges[subPrivilegeName];\r\n return markChecks(subPrivilege, checked);\r\n });\r\n }\r\n }\r\n\r\n markChecks(privilege, privilege.checked);\r\n\r\n this.editPresetPrivileges({ privileges: this.getPrivilegesArrayRecursive() });\r\n }\r\n\r\n getPrivilegesArrayRecursive() {\r\n const { privileges } = this.permissions;\r\n const checkedPrivilegesArray = [];\r\n\r\n function getCheckedPrivileges(_privilege, _checkedPrivilegesArray) {\r\n Object.keys(_privilege).forEach((item) => {\r\n if (_privilege.id && _privilege.checked && _checkedPrivilegesArray.indexOf(_privilege.id) === -1) {\r\n _checkedPrivilegesArray.push(_privilege.id);\r\n }\r\n if (Object.prototype.toString.call(_privilege[item]) === '[object Object]') {\r\n getCheckedPrivileges(_privilege[item], _checkedPrivilegesArray);\r\n }\r\n return item;\r\n });\r\n }\r\n\r\n getCheckedPrivileges(privileges, checkedPrivilegesArray);\r\n\r\n return checkedPrivilegesArray;\r\n }\r\n}\r\n\r\nexport default class PrivilegeTemplatesPermissionPickerComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = PrivilegeTemplatesPermissionPickerController;\r\n this.bindings = {\r\n model: '<',\r\n privileges: '<',\r\n isEditable: '<',\r\n currentPreset: '<',\r\n editPresetPrivileges: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-templates-permission-picker/privilege-templates-permission-picker.html\n// module id = 1371\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplateConfirmationDialog from './privilege-template-confirmation-dialog-component';\r\n\r\nexport default angular\r\n .module('privilege-template-confirmation-dialog', [])\r\n .component('privilegeTemplateConfirmationDialog', new PrivilegeTemplateConfirmationDialog());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-module.js","import template from './privilege-template-confirmation-dialog.html';\r\n\r\nexport default class PrivilegeTemplateConfirmationDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog-component.js","module.exports = \"
    \\r\\n

    \\r\\n \\r\\n Are you sure you want to delete this role?\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n This action cannot be undone.\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-template-confirmation-dialog/privilege-template-confirmation-dialog.html\n// module id = 1374\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport PrivilegeTemplateSaveConfirmationDialogComponent from './privilege-template-save-confirmation-dialog-component';\r\n\r\nexport default angular\r\n .module('privilege-template-save-confirmation-dialog', [])\r\n .component('privilegeTemplateSaveConfirmationDialog', new PrivilegeTemplateSaveConfirmationDialogComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog-module.js","import template from './privilege-template-save-confirmation-dialog.html';\r\n\r\nexport default class PrivilegeTemplateSaveConfirmationDialogComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/privilege-templates/components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog-component.js","module.exports = \"
    \\r\\n

    \\r\\n {{ $ctrl.resolve.title }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.resolve.message }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Continue\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/components/privilege-template-save-confirmation-dialog/privilege-template-save-confirmation-dialog.html\n// module id = 1377\n// module chunks = 0","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n New Role\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Delete Role\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Duplicate\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Roles\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Enable / Disable Permissions\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/privilege-templates/privilege-templates.html\n// module id = 1378\n// module chunks = 0","import angular from 'angular';\r\nimport registrationErrorCodesModule from 'registration/config/errorcodes.conf';\r\nimport registrationSelfModule from 'registration/components/self-registration/self-registration-module';\r\nimport registrationCompleteModule from 'registration/components/complete-registration/complete-registration-module';\r\nimport registrationRoutingModule from 'registration/registration-routing-module';\r\nimport securityModule from 'security/security-module';\r\n\r\nexport default angular.module('registration', [\r\n securityModule.name,\r\n registrationErrorCodesModule.name,\r\n registrationSelfModule.name,\r\n registrationCompleteModule.name,\r\n registrationRoutingModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/registration-module.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('registration-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n selfRegistration: {\r\n PRIMARY_ALREADY_REGISTERED: () => ({ title: gettextCatalog.getString('Primary User for this Retailer is already registered.') }),\r\n PASSWORD_REQUIRMENTS_NOT_MET: () => ({ title: gettextCatalog.getString('Password requirements not met.') }),\r\n USER_ALREADY_EXISTS_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User with this e-mail address is already registered. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n MULTIPLE_PRIMARY_USER_WITH_SAME_OWNER_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User for that Owner already exists, please use another ({{ ownerValidationMethod }}) sequence.',\r\n { ownerValidationMethod: params.ownerValidationMethod }\r\n ),\r\n }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n RETAILER_NOT_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Retailer is not {{ active }} or does not exist in Retail Management. Please contact Administrator.',\r\n { active: params.terms.ACTIVE.singular }\r\n ),\r\n }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n USER_ALREADY_ACTIVE_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString('User is already {{ active }}.', { active: params.terms.ACTIVE.singular }),\r\n }),\r\n IDENTIFICATION_NOT_VALID: () => ({ title: gettextCatalog.getString('Unable to register subordinate user for this chain head.') }),\r\n CAPTCHA_NOT_FOUND: () => ({ title: gettextCatalog.getString('Captcha not found. Please reload captcha.') }),\r\n NOT_AUTHORIZED: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User access not allowed due to retailer status. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n USER_WITH_GIVEN_PHONE_ALREADY_EXISTS: () => ({\r\n title: gettextCatalog.getString(\r\n \"The mobile number you provided is connected to another user's account. Please enter a different mobile number.\"\r\n ),\r\n }),\r\n USER_WITH_GIVEN_OWNER_ALREADY_EXISTS: () => ({\r\n title: gettextCatalog.getString(\r\n \"The owner you provided is connected to another user's account. Please enter a different pii data.\"\r\n ),\r\n }),\r\n },\r\n completeRegistration: {\r\n 1001: () => ({\r\n title: gettextCatalog.getString(\r\n 'User already registered. Do not use confirmation link again - it will block Your account otherwise.'\r\n ),\r\n }),\r\n 1002: () => ({\r\n title: gettextCatalog.getString(\r\n 'User already registered. Do not use confirmation link again - it will block Your account otherwise.'\r\n ),\r\n }),\r\n 1003: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Account has been suspended due to exceeded number of failed login attempts. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n RETAILER_ACCESS_NOT_ALLOWED: (params) => ({\r\n title: gettextCatalog.getString('Retailer access not allowed. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/config/errorcodes.conf.js","import angular from 'angular';\r\nimport SelfRegistrationPiiComponent from 'registration/components/self-registration/pii/pii-component';\r\nimport SelfRegistrationComponent from './self-registration/self-registration-component';\r\nimport SelfRegistrationRetailerComponent from './retailer/retailer-component';\r\nimport SelfRegistrationConfirmComponent from './confirm-registration/confirm-registration-component';\r\nimport SelfRegistrationConfirmationComponent from './confirmation-registration/confirmation-registration-component';\r\nimport SelfRegistrationDisabledComponent from './registration-disabled/registration-disabled-component';\r\nimport SelfRegistrationPersonalInformationComponent from './personal-information/personal-information-component';\r\n\r\nexport default angular\r\n .module('self-registration', [])\r\n .component('selfRegistration', new SelfRegistrationComponent())\r\n .component('selfRegistrationRetailer', new SelfRegistrationRetailerComponent())\r\n .component('selfRegistrationPii', new SelfRegistrationPiiComponent())\r\n .component('selfRegistrationPersonalInformation', new SelfRegistrationPersonalInformationComponent())\r\n .component('selfRegistrationConfirm', new SelfRegistrationConfirmComponent())\r\n .component('selfRegistrationConfirmation', new SelfRegistrationConfirmationComponent())\r\n .component('selfRegistrationDisabled', new SelfRegistrationDisabledComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/self-registration-module.js","import { validateOwnerData, fetchOwnerData, validateProspectiveData } from 'registration/actions/validate-owner-data.actions';\r\nimport { fetchOwnerValidationMethod } from 'registration/actions/fetch-owner-validation.actions';\r\nimport moment from 'moment/moment';\r\nimport { updateRetailerDetails } from 'registration/actions/fetch-retailer-details.actions';\r\nimport template from './pii.html';\r\n\r\nconst mapStateToThis = ({ session, registration, config }) => {\r\n const { locale } = session;\r\n const { ownerData, ownerValidationMethod, retailer } = registration;\r\n const {\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n retailerManagerApiDateFormat,\r\n userValidationDateFormat,\r\n } = config;\r\n\r\n const ownerValidationMethods = ownerValidationMethod[locale] ? ownerValidationMethod[locale] : [];\r\n const hasOwnerValidationMethods = ownerValidationMethods && ownerValidationMethods.length !== 0;\r\n\r\n return {\r\n ownerValidationMethods,\r\n hasOwnerValidationMethods,\r\n retailer,\r\n ownerData,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n retailerManagerApiDateFormat,\r\n userValidationDateFormat,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchOwnerValidationMethod,\r\n fetchOwnerData,\r\n validateOwnerData,\r\n validateProspectiveData,\r\n updateRetailerDetails,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications', 'gettextCatalog', '$scope')\r\nclass SelfRegistrationPiiController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.showCaptcha = true;\r\n this.$scope.$on('validatePII', () => this.validateOwner(this.form));\r\n await this.fetchOwnerValidationMethod(this.retailerType || this.retailer.retailerType, this.retailer.outletTypeId);\r\n this.pinLabel = this.ownerValidationMethods.map((ownerValidationMethod) => ownerValidationMethod.label).join(', ');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n validatePiiField(form) {\r\n if (!this.showButton) {\r\n this.validateOwner(form);\r\n } else {\r\n this.showCaptcha = true;\r\n }\r\n }\r\n\r\n async validatePiiForm(form) {\r\n this.form.$setSubmitted();\r\n\r\n if (\r\n (this.form.captchaToken && this.form.captchaToken.$invalid) ||\r\n (this.form.userValidation1 && this.form.userValidation1.$invalid) ||\r\n (this.form.userValidation2 && this.form.userValidation2.$invalid) ||\r\n (this.form.userValidation3 && this.form.userValidation3.$invalid)\r\n ) {\r\n return;\r\n }\r\n\r\n const isFormValid = this.isProspective ? await this.isProspectiveFormValid(form) : await this.isOwnerFormValid(form);\r\n\r\n if (isFormValid) {\r\n this.showCaptcha = false;\r\n this.form.$setPristine();\r\n this.updateRetailerDetails({ canSelfRegister: true });\r\n }\r\n }\r\n\r\n async isOwnerFormValid(form) {\r\n await this.fetchOwner(form);\r\n\r\n if (!this.ownerData.allow) {\r\n return false;\r\n }\r\n if (this.ownerData.exist) {\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('The user already exists'),\r\n this.gettextCatalog.getString('The e-mail address is associated with an existing user. Please log in.')\r\n ).result;\r\n this.$state.go('home-view');\r\n return false;\r\n }\r\n\r\n if (!this.ownerData.owner) {\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('No owner found'),\r\n this.gettextCatalog.getString('No owner found matching personal information. Prospective Retailer account will be created.')\r\n ).result;\r\n } else if (this.ownerData.owner && this.ownerData.isProspective) {\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('No active retailers found'),\r\n this.gettextCatalog.getString('No active retailers found for the entered data. A Prospective Retailer account will be created.')\r\n ).result;\r\n } else {\r\n this.formModel.firstName = this.ownerData.owner.firstName;\r\n this.formModel.lastName = this.ownerData.owner.lastName;\r\n this.formModel.emailAddress = this.ownerData.owner.emailAddress;\r\n this.formModel.confirmEmail = this.ownerData.owner.emailAddress;\r\n this.formModel.mobilePhone = this.ownerData.owner.mobilePhone;\r\n this.formModel.businessPhone = this.ownerData.owner.workPhone;\r\n }\r\n return true;\r\n }\r\n\r\n async isProspectiveFormValid(form) {\r\n await this.validateProspective(form);\r\n return this.ownerData.validPin;\r\n }\r\n\r\n async validateOwner(form) {\r\n const {\r\n userValidation1 = { $modelValue: '' },\r\n userValidation2 = { $modelValue: '' },\r\n userValidation3 = { $modelValue: '' },\r\n } = this.form;\r\n\r\n const userValidation1Value =\r\n userValidation1.$modelValue instanceof Date\r\n ? moment(userValidation1.$modelValue).utc().format(this.userValidationDateFormat)\r\n : userValidation1.$modelValue || '';\r\n const userValidation2Value =\r\n userValidation2.$modelValue instanceof Date\r\n ? moment(userValidation2.$modelValue).utc().format(this.userValidationDateFormat)\r\n : userValidation2.$modelValue || '';\r\n const userValidation3Value =\r\n userValidation3.$modelValue instanceof Date\r\n ? moment(userValidation3.$modelValue).utc().format(this.userValidationDateFormat)\r\n : userValidation3.$modelValue || '';\r\n\r\n this.formModel.userValidation = userValidation1Value + userValidation2Value + userValidation3Value;\r\n\r\n if (\r\n (form.userValidation1 && form.userValidation1.$invalid) ||\r\n (form.userValidation2 && form.userValidation2.$invalid) ||\r\n (form.userValidation3 && form.userValidation3.$invalid)\r\n ) {\r\n return;\r\n }\r\n\r\n this.isLoading = true;\r\n form.userValidation.$setValidity('isLoading', false);\r\n await this.validateOwnerData(this.formModel, this.retailerType);\r\n this.isLoading = false;\r\n form.userValidation.$setValidity('isLoading', true);\r\n\r\n form.userValidation.$setValidity('blocked', !this.ownerData.blocked);\r\n form.userValidation.$setValidity('validPin', this.ownerData.validPin);\r\n form.userValidation.$setValidity('isPinUsed', !this.ownerData.isPinUsed);\r\n form.userValidation.$setValidity('pinIsValidForRetailerType', this.ownerData.pinIsValidForRetailerType);\r\n form.userValidation.$setValidity('noRetailerIdProvided', !this.ownerData.noRetailerIdProvided);\r\n }\r\n\r\n async validateProspective(form) {\r\n const {\r\n userValidation1 = { $modelValue: '' },\r\n userValidation2 = { $modelValue: '' },\r\n userValidation3 = { $modelValue: '' },\r\n } = this.form;\r\n\r\n const userValidation1Value =\r\n userValidation1.$modelValue instanceof Date\r\n ? moment(userValidation1.$modelValue).utc().format(this.userValidationDateFormat)\r\n : userValidation1.$modelValue || '';\r\n const userValidation2Value =\r\n userValidation2.$modelValue instanceof Date\r\n ? moment(userValidation2.$modelValue).utc().format(this.userValidationDateFormat)\r\n : userValidation2.$modelValue || '';\r\n const userValidation3Value =\r\n userValidation3.$modelValue instanceof Date\r\n ? moment(userValidation3.$modelValue).utc().format(this.userValidationDateFormat)\r\n : userValidation3.$modelValue || '';\r\n\r\n this.formModel.userValidation = userValidation1Value + userValidation2Value + userValidation3Value;\r\n\r\n if (\r\n (form.userValidation1 && form.userValidation1.$invalid) ||\r\n (form.userValidation2 && form.userValidation2.$invalid) ||\r\n (form.userValidation3 && form.userValidation3.$invalid)\r\n ) {\r\n return;\r\n }\r\n\r\n this.isLoading = true;\r\n form.userValidation.$setValidity('isLoading', false);\r\n await this.validateProspectiveData(this.formModel);\r\n this.isLoading = false;\r\n form.userValidation.$setValidity('isLoading', true);\r\n form.userValidation.$setValidity('validPin', this.ownerData.validPin);\r\n }\r\n\r\n async fetchOwner(form) {\r\n const {\r\n userValidation1 = { $modelValue: '' },\r\n userValidation2 = { $modelValue: '' },\r\n userValidation3 = { $modelValue: '' },\r\n } = this.form;\r\n\r\n const userValidation1Value =\r\n userValidation1.$modelValue instanceof Date\r\n ? moment(userValidation1.$modelValue).utc().format(this.retailerManagerApiDateFormat)\r\n : userValidation1.$modelValue || '';\r\n const userValidation2Value =\r\n userValidation2.$modelValue instanceof Date\r\n ? moment(userValidation2.$modelValue).utc().format(this.retailerManagerApiDateFormat)\r\n : userValidation2.$modelValue || '';\r\n const userValidation3Value =\r\n userValidation3.$modelValue instanceof Date\r\n ? moment(userValidation3.$modelValue).utc().format(this.retailerManagerApiDateFormat)\r\n : userValidation3.$modelValue || '';\r\n\r\n let ownerUrlParams = '';\r\n this.ownerValidationMethods.forEach((validationMethod) => {\r\n // eslint-disable-next-line no-eval\r\n ownerUrlParams = `${ownerUrlParams + validationMethod.id}=${eval(`userValidation${validationMethod.ordinal}Value`)}&`;\r\n });\r\n\r\n this.formModel.userValidation = ownerUrlParams;\r\n\r\n if (\r\n (form.userValidation1 && form.userValidation1.$invalid) ||\r\n (form.userValidation2 && form.userValidation2.$invalid) ||\r\n (form.userValidation3 && form.userValidation3.$invalid)\r\n ) {\r\n return;\r\n }\r\n\r\n this.isLoading = true;\r\n form.userValidation.$setValidity('isLoading', false);\r\n await this.fetchOwnerData(this.formModel);\r\n form.userValidation.$setValidity('isLoading', true);\r\n this.isLoading = false;\r\n\r\n form.userValidation.$setValidity('allow', this.ownerData.allow);\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationPiiComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationPiiController;\r\n this.bindings = {\r\n form: '=',\r\n formModel: '=',\r\n showButton: '<',\r\n isProspective: '<',\r\n retailerType: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/pii/pii-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter {{ ownerValidationMethod.label }}.\\r\\n
    \\r\\n
    \\r\\n {{ ownerValidationMethod.error }}\\r\\n
    \\r\\n
    \\r\\n {{ ownerValidationMethod.error }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n Checking...\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n No user found with the given information.\\r\\n
    \\r\\n
    \\r\\n Sorry, registration has been locked for security reasons. Please wait 30 minutes and try again.\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Sorry, {{ $ctrl.pinLabel }} does not match an Owner.\\r\\n \\r\\n \\r\\n -1\\\">\\r\\n \\r\\n Sorry, {{ $ctrl.pinLabel }} does not match Retailer Number. Attempts left:\\r\\n \\r\\n {{$ctrl.ownerData.leftAttempts}}\\r\\n \\r\\n
    \\r\\n
    \\r\\n User for the owner is already registered. Please log in.\\r\\n
    \\r\\n
    \\r\\n The information provided for this user does not match the selected retailer type to be created.\\r\\n
    \\r\\n
    \\r\\n No retailer number was provided, please provide a retailer to validate ownership.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n The information provided matches a retailer in our system, please sign up or contact us.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/pii/pii.html\n// module id = 1383\n// module chunks = 0","import _ from 'lodash';\r\nimport { clearRetailerDetails, setRetailerDetails } from 'registration/actions/fetch-retailer-details.actions';\r\nimport { createAccount } from 'registration/actions/create-account.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { REGISTRATION_TYPE, RETAILER_TYPE } from 'app/validators/roles';\r\nimport reviewTemplate from './review-dialog.html';\r\nimport template from './self-registration.html';\r\n\r\nconst mapStateToThis = ({ session, config, registration }) => {\r\n const { registrationType } = config;\r\n const { retailer, created } = registration;\r\n\r\n return {\r\n registrationType,\r\n session,\r\n retailer,\r\n created,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n clearRetailerDetails,\r\n setRetailerDetails,\r\n createAccount,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications')\r\nclass SelfRegistrationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.clearRegistrationFormRef = this.clearRegistrationForm.bind(this);\r\n this.clearRegistrationFormWithRetailerRef = this.clearRegistrationFormWithRetailer.bind(this);\r\n this.registrationFormModel = {};\r\n this.clearRegistrationFormWithRetailer();\r\n this.showPii = this.isNoRetailerIdRegistrationType() || this.isProspective;\r\n this.showRetailerNo = this.isRetailerIdRegistrationType() && !this.isProspective;\r\n\r\n if (this.isProspective) {\r\n const retailer = { retailerType: RETAILER_TYPE.PROSPECTIVE, canSelfRegister: false, canSelfRegisterProspective: true };\r\n this.setRetailerDetails(retailer);\r\n } else if (!this.checkAccess('registration.primary')) {\r\n this.$state.go('home-view');\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.clearRegistrationFormWithRetailer();\r\n this.unsubscribe();\r\n }\r\n\r\n clearRegistrationForm() {\r\n this.registrationFormModel = {};\r\n }\r\n\r\n clearRegistrationFormWithRetailer() {\r\n this.clearRegistrationForm();\r\n this.clearRetailerDetails();\r\n }\r\n\r\n onSubmitRegistrationForm($event, $formCtrl) {\r\n $event.stopPropagation();\r\n $event.preventDefault();\r\n\r\n const resp = this.evalRegistrationForm($formCtrl);\r\n return resp;\r\n }\r\n\r\n evalRegistrationForm($formCtrl) {\r\n $formCtrl.$setSubmitted();\r\n $formCtrl.phone.$setTouched();\r\n $formCtrl.userPasswordConfirm.$validate();\r\n $formCtrl.confirmEmail.$validate();\r\n\r\n if ($formCtrl.$invalid) {\r\n return;\r\n }\r\n\r\n this.showReviewDialog().then(() => this.addAccount());\r\n }\r\n\r\n async addAccount() {\r\n await this.createAccount(this.registrationFormModel);\r\n if (this.created) {\r\n this.$state.go('registration-confirmation');\r\n }\r\n }\r\n\r\n showReviewDialog() {\r\n const data = _.cloneDeep(this.registrationFormModel);\r\n\r\n return this.Notifications.showComplexDialog({\r\n template: reviewTemplate,\r\n bindToController: true,\r\n resolve: {\r\n retailer: () => this.retailer,\r\n data: () => data,\r\n },\r\n }).result;\r\n }\r\n\r\n isRetailerIdRegistrationType() {\r\n return this.registrationType === REGISTRATION_TYPE.RETAILER_ID;\r\n }\r\n\r\n isNoRetailerIdRegistrationType() {\r\n return this.registrationType === REGISTRATION_TYPE.NO_RETAILER_ID;\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationController;\r\n this.bindings = {\r\n isProspective: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/self-registration/self-registration-component.js","import utils from 'utils/lsp-utils-service';\r\nimport * as api from 'registration/resources/registration.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const mapSecurityQuestionsToArray = (questionA, questionB, answerA, answerB) => [\r\n {\r\n questionId: questionA,\r\n answer: answerA,\r\n },\r\n {\r\n questionId: questionB,\r\n answer: answerB,\r\n },\r\n];\r\n\r\nexport const createUserDTO = (retailer, form, locale) => {\r\n const { retailerId, salts } = retailer;\r\n const { emailAddress, firstName, lastName, userValidation, questionA, questionB, answerA, answerB, ...requestData } = form;\r\n\r\n const hashedPins = userValidation !== '' ? utils.getHashes(userValidation, salts) : null;\r\n const pin = !hashedPins ? userValidation : undefined;\r\n\r\n const challenges = mapSecurityQuestionsToArray(questionA, questionB, answerA, answerB);\r\n\r\n const userValidationDto = {\r\n firstName,\r\n lastName,\r\n retailerId,\r\n email: emailAddress,\r\n hashedPins,\r\n pin,\r\n };\r\n\r\n return {\r\n userValidation: userValidationDto,\r\n firstName,\r\n lastName,\r\n emailAddress,\r\n challenges,\r\n locale,\r\n ...requestData,\r\n };\r\n};\r\n\r\nexport const createAccountRequest = () => ({\r\n type: actionTypes.CREATE_ACCOUNT_REQUEST,\r\n});\r\n\r\nexport const createAccountSuccess = () => ({\r\n type: actionTypes.CREATE_ACCOUNT_SUCCESS,\r\n});\r\n\r\nexport const createAccountFailure = () => ({\r\n type: actionTypes.CREATE_ACCOUNT_FAILURE,\r\n});\r\n\r\nexport const createAccount = (form) => async (dispatch, getState) => {\r\n try {\r\n const { registration, session } = getState();\r\n const { locale } = session;\r\n const { token } = form;\r\n const { retailer } = registration;\r\n const urlParams = { token };\r\n const user = createUserDTO(retailer, form, locale);\r\n dispatch(createAccountRequest());\r\n await api.createAccount(user, urlParams);\r\n dispatch(createAccountSuccess());\r\n } catch (error) {\r\n console.error('CREATE_ACCOUNT_FAILURE', error);\r\n dispatch(createAccountFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/actions/create-account.actions.js","module.exports = \"
    \\r\\n

    \\r\\n Review Your Information\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Name\\r\\n \\r\\n

    {{ $ctrl.data.firstName }} {{ $ctrl.data.lastName }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer Number\\r\\n \\r\\n

    \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Email Address\\r\\n \\r\\n

    {{ $ctrl.data.emailAddress }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Mobile Phone\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Business Phone\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Role\\r\\n \\r\\n

    {{ $ctrl.data.role }}

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Back\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/self-registration/review-dialog.html\n// module id = 1386\n// module chunks = 0","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n To sign up, you will first need to enter your PII information. If you have any questions,\\r\\n please contact us.\\r\\n \\r\\n *\\r\\n \\r\\n Indicates a required field\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n PII\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Personal Information\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/self-registration/self-registration.html\n// module id = 1387\n// module chunks = 0","import {\r\n INDEPENDENT_TYPE,\r\n CHAIN_SUBORDINATE_TYPE,\r\n fetchRetailerDetails,\r\n clearRetailerDetails,\r\n PROSPECTIVE_TYPE,\r\n} from 'registration/actions/fetch-retailer-details.actions';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport template from './retailer.html';\r\n\r\nconst mapStateToThis = ({ registration, contact }) => {\r\n const { retailer, error } = registration;\r\n const { defaultContactPhone } = contact.lottery;\r\n\r\n return {\r\n retailer,\r\n defaultContactPhone,\r\n error,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchRetailerDetails,\r\n clearRetailerDetails,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass SelfRegistrationRetailerController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.showSubmitButton = true;\r\n }\r\n\r\n $onDestroy() {\r\n this.clearRetailerDetails();\r\n this.unsubscribe();\r\n }\r\n\r\n async submit(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) return;\r\n\r\n this.showSubmitButton = false;\r\n await this.fetchRetailerDetails(this.formModel);\r\n this.showSubmitButton = true;\r\n\r\n if (this.error) {\r\n this.showSubmitButton = false;\r\n this.$state.reload();\r\n }\r\n this.checkRetailerDetails();\r\n }\r\n\r\n checkRetailerDetails() {\r\n if (!isEmpty(this.retailer)) {\r\n const retailerType = this.retailer.retailerType.toLowerCase();\r\n const canSelfRegister = !!this.retailer.canSelfRegister;\r\n const { active } = this.retailer;\r\n const { hasPrimaryUser } = this.retailer;\r\n\r\n if (canSelfRegister === false && retailerType === CHAIN_SUBORDINATE_TYPE) {\r\n this.chainRegistrationDisabled();\r\n } else if (active === false) {\r\n this.errorAccountIsNotActive();\r\n } else if (hasPrimaryUser === true && retailerType !== INDEPENDENT_TYPE) {\r\n this.errorPrimaryUserIsAlreadyRegistered();\r\n }\r\n }\r\n }\r\n\r\n chainRegistrationDisabled() {\r\n this.clearRetailerDetails();\r\n this.$state.go('registration-chainRegistrationDisabled');\r\n }\r\n\r\n async errorAccountIsNotActive() {\r\n this.clearRetailerDetails();\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Retailer account is not active.'),\r\n this.gettextCatalog.getString('Retailer account is not active. Please contact the Lottery at {{ contactPhone }}.', {\r\n contactPhone: this.defaultContactPhone,\r\n })\r\n ).result;\r\n this.showSubmitButton = false;\r\n this.$state.reload();\r\n }\r\n\r\n async errorPrimaryUserIsAlreadyRegistered() {\r\n this.clearRetailerDetails();\r\n await this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Primary user is already registered'),\r\n this.gettextCatalog.getString('Primary User for this Retailer is already registered.')\r\n ).result;\r\n this.showSubmitButton = false;\r\n this.$state.reload();\r\n }\r\n\r\n showProspectiveForm() {\r\n this.retailer.canSelfRegisterProspective = true;\r\n this.retailer.retailerType = PROSPECTIVE_TYPE;\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationRetailerComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationRetailerController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/retailer/retailer-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n To sign up, you will first need to enter your Retailer Number, which can be found on any terminal report, or\\r\\n your Chain ID. If you have any questions,\\r\\n please contact us.\\r\\n \\r\\n *\\r\\n \\r\\n Indicates a required field\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Retailer Location\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please enter Retailer Number or Lottery Chain ID.\\r\\n \\r\\n \\r\\n Retailer No invalid format.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Captcha is required.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/retailer/retailer.html\n// module id = 1389\n// module chunks = 0","import * as api from 'registration/resources/registration.api';\r\nimport template from './confirm-registration.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$stateParams')\r\nclass SelfRegistrationConfirmController {\r\n async $onInit() {\r\n this.loaded = false;\r\n this.response = await api.activateAccount(this.$stateParams.token);\r\n this.loaded = true;\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationConfirmComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationConfirmController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/confirm-registration/confirm-registration-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Success!\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n You have successfully activated your account, please log in.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Activation failed\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n User Account is already activated, please login with your credentials.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Activation failed\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Link is corrupted.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/confirm-registration/confirm-registration.html\n// module id = 1391\n// module chunks = 0","import template from './confirmation-registration.html';\r\n\r\nexport default class SelfRegistrationConfirmationComponent {\r\n constructor() {\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Registration Successful!\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n We have sent a confirmation to the email address you provided. Please follow the link to verify your account and log in to your customized homepage.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/confirmation-registration/confirmation-registration.html\n// module id = 1393\n// module chunks = 0","import template from './registration-disabled.html';\r\n\r\nexport default class SelfRegistrationDisabledComponent {\r\n constructor() {\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/registration-disabled/registration-disabled-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Self Registration is Disabled\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n Your chain's administrator has disabled registration. Please contact them to have an account set up for you.\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/registration-disabled/registration-disabled.html\n// module id = 1395\n// module chunks = 0","import { validateOwnerData } from 'registration/actions/validate-owner-data.actions';\r\nimport { fetchOwnerValidationMethod } from 'registration/actions/fetch-owner-validation.actions';\r\nimport template from './personal-information.html';\r\n\r\nconst mapStateToThis = ({ session, registration, config }) => {\r\n const { locale } = session;\r\n const { ownerData, ownerValidationMethod, retailer } = registration;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n\r\n const ownerValidationMethods = ownerValidationMethod[locale] ? ownerValidationMethod[locale] : [];\r\n const hasOwnerValidationMethods = ownerValidationMethods && ownerValidationMethods.length !== 0;\r\n\r\n return {\r\n ownerValidationMethods,\r\n hasOwnerValidationMethods,\r\n retailer,\r\n ownerData,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchOwnerValidationMethod,\r\n validateOwnerData,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'Responsive')\r\nclass SelfRegistrationPersonalInformationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchOwnerValidationMethod(null, this.retailer.outletTypeId);\r\n this.shouldValidateEmail = !!(\r\n !this.hasOwnerValidationMethods &&\r\n (this.retailer.canSelfRegisterChainHead || this.retailer.canSelfRegisterSuperChain)\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n validateEmail(form) {\r\n if (this.shouldValidateEmail) {\r\n const { email } = form;\r\n\r\n if (email.$pristine) {\r\n return;\r\n }\r\n\r\n this.validateOwner(form);\r\n }\r\n }\r\n\r\n async validateOwner(form) {\r\n this.isLoading = true;\r\n await this.validateOwnerData(this.formModel);\r\n this.isLoading = false;\r\n\r\n form.email.$setValidity('blocked-email', !this.ownerData.blocked);\r\n form.email.$setValidity('email-invalid', this.ownerData.validPin);\r\n }\r\n}\r\n\r\nexport default class SelfRegistrationPersonalInformationComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SelfRegistrationPersonalInformationController;\r\n this.bindings = {\r\n form: '=',\r\n formModel: '=',\r\n showPii: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/self-registration/personal-information/personal-information-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n First name shouldn’t be longer than {{$ctrl.maxFirstNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your First Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your Last Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Checking...\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your email address.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n
    \\r\\n
    \\r\\n Sorry, registration has been locked for security reasons. Please wait 30 minutes and try again.\\r\\n
    \\r\\n
    \\r\\n \\r\\n Sorry, Email address does not match Retailer Number. Account will be locked after {{leftAttempts}} more attempt(s).\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please reenter your email address.\\r\\n
    \\r\\n
    \\r\\n Your email addresses do not match.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide mobile phone number.\\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/self-registration/personal-information/personal-information.html\n// module id = 1397\n// module chunks = 0","import angular from 'angular';\r\nimport CompleteRegistrationComponent from './complete-registration-component';\r\n\r\nexport default angular\r\n .module('complete-registration', ['rw-captcha'])\r\n .component('completeRegistration', new CompleteRegistrationComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/complete-registration/complete-registration-module.js","import * as api from 'registration/resources/registration.api';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport template from './complete-registration.html';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength } = config;\r\n\r\n return {\r\n session,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('appFactory', '$ngRedux', '$stateParams', 'Notifications', '$state', 'RwAnalyticsService', 'gettextCatalog')\r\nclass CompleteRegistrationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.verifyAndLoadUser = this.appFactory.dispatch('registration.verifyAndLoadUser', true);\r\n }\r\n\r\n $onInit() {\r\n if (!this.checkAccess('registration.complete')) {\r\n this.$state.go('home-view');\r\n }\r\n this.formModel = {};\r\n this.verifyAndLoadUser\r\n .run(this.$stateParams.login, this.$stateParams.password, true)\r\n .then(() => {\r\n const { firstName, lastName, emailAddress, mobilePhone, contactPhone } = this.session;\r\n this.formModel = {\r\n firstName,\r\n lastName,\r\n emailAddress,\r\n mobilePhone,\r\n contactPhone,\r\n };\r\n })\r\n .catch(() => {\r\n this.$state.go('home-view');\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onSubmit($event, $formCtrl) {\r\n $event.stopPropagation();\r\n $event.preventDefault();\r\n\r\n return this.evalForm($formCtrl);\r\n }\r\n\r\n async evalForm($formCtrl) {\r\n $formCtrl.$setSubmitted();\r\n\r\n if ($formCtrl.$invalid) {\r\n return;\r\n }\r\n\r\n await api.confirmRegistration(this.formModel);\r\n const { retailerId, retailerType } = this.session.retailer;\r\n this.RwAnalyticsService.sendUserRegistrationEvent(retailerId, retailerType);\r\n\r\n await this.$state.go('user-logout');\r\n }\r\n}\r\n\r\nexport default class CompleteRegistrationComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = CompleteRegistrationController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/components/complete-registration/complete-registration-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n Authenticate and Complete Registration\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n * Indicates a required field\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Personal Information\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n First name shouldn’t be longer than {{$ctrl.maxFirstNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your First Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your Last Name.\\r\\n
    \\r\\n
    \\r\\n Only letters, hyphens, apostrophes, periods and spaces are allowed.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n
    \\r\\n Please enter your email address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please provide mobile phone number.\\r\\n
    \\r\\n
    \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/registration/components/complete-registration/complete-registration.html\n// module id = 1400\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('registrationRouting', []).config([\r\n '$stateProvider',\r\n ($stateProvider) => {\r\n $stateProvider\r\n .state('registration-complete', {\r\n parent: 'arw',\r\n url: '/retailer-complete-registration/:login/:password',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n })\r\n .state('registration-secondaryUser', {\r\n parent: 'arw',\r\n url: '/retailer-register-secondary-user',\r\n template: '
    ',\r\n redirectTo: 'home-view',\r\n })\r\n .state('registration-primary', {\r\n parent: 'arw',\r\n url: '/retailer-primary-registration',\r\n template: '>',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: ['gettextCatalog', (gettextCatalog) => gettextCatalog.getString('Sign Up')],\r\n },\r\n })\r\n .state('registration-prospective', {\r\n parent: 'arw',\r\n url: '/retailer-prospective-registration',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Sign Up')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('registration-chainRegistrationDisabled', {\r\n parent: 'arw',\r\n url: '/chain-disabled',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n })\r\n .state('registration-confirmation', {\r\n parent: 'arw',\r\n url: '/retailer-primary-registration-confirmation',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n })\r\n .state('registration-primaryConfirm', {\r\n parent: 'arw',\r\n url: '/retailer-primary-registration-confirm/:token',\r\n template: '',\r\n params: {\r\n hideMenu: true,\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/registration/registration-routing-module.js","import template from './security.html';\r\nimport * as api from '../../resources/security.api';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { locale } = session;\r\n const passwordErrorText = config.passwordErrorText[locale];\r\n\r\n return {\r\n locale,\r\n passwordErrorText,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SecurityController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.securityQuestions = await api.fetchSecurityQuestions();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n shouldShowValidation(field) {\r\n return ((field.$$parentForm.$submitted || field.$submitted) && field.$pristine) || field.$touched;\r\n }\r\n\r\n showPasswordConfirmRequired($formCtrl) {\r\n return this.shouldShowValidation($formCtrl.userPasswordConfirm) && $formCtrl.userPassword.$valid && $formCtrl.userPassword.$touched;\r\n }\r\n\r\n // show password match validation only if no other validators are present\r\n showPasswordsMatchError($formCtrl) {\r\n return (\r\n this.shouldShowValidation($formCtrl.userPasswordConfirm) &&\r\n !$formCtrl.userPasswordConfirm.$error.required &&\r\n $formCtrl.userPassword.$valid &&\r\n $formCtrl.userPassword.$touched\r\n );\r\n }\r\n}\r\n\r\nexport default class SecurityComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SecurityController;\r\n this.bindings = {\r\n form: '<',\r\n formModel: '=',\r\n captchaVisible: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/components/security/security-component.js","module.exports = \"
    \\r\\n
    \\r\\n Security Information\\r\\n
    \\r\\n\\r\\n

    {{ $ctrl.passwordErrorText }}

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter your password.\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.passwordErrorText }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Please reenter your password here.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n The captcha you entered is incorrect.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please accept the Terms of Use to continue.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/security/components/security/security.html\n// module id = 1403\n// module chunks = 0","import _ from 'lodash';\r\nimport template from './security-questions.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('Responsive')\r\nclass SecurityQuestionsController {\r\n constructor() {\r\n this.questionsWrapper = [\r\n {\r\n modelQuestion: 'questionA',\r\n modelAnswer: 'answerA',\r\n questions: [],\r\n },\r\n {\r\n modelQuestion: 'questionB',\r\n modelAnswer: 'answerB',\r\n questions: [],\r\n },\r\n ];\r\n }\r\n\r\n $onChanges() {\r\n this.questionsWrapper.forEach((value, index) => {\r\n this.questionsWrapper[index].questions = _.cloneDeep(this.securityQuestions || []);\r\n });\r\n }\r\n\r\n checkQuestions() {\r\n this.clearCheckQuestions();\r\n\r\n const arr = [];\r\n _.each(this.questionsWrapper, (questionItem) => {\r\n arr.push(this.formModel[questionItem.modelQuestion]);\r\n });\r\n\r\n if (_.uniq(arr).length === 1) {\r\n _.each(this.questionsWrapper, (questionItem) => {\r\n this.form[`securityQuestion-${questionItem.modelQuestion}`].$submitted = true;\r\n this.form[`securityQuestion-${questionItem.modelQuestion}`].$setValidity('same-question', false);\r\n });\r\n }\r\n }\r\n\r\n clearCheckQuestions() {\r\n _.each(this.questionsWrapper, (questionItem) => {\r\n this.form[`securityQuestion-${questionItem.modelQuestion}`].$setValidity('same-question', true);\r\n });\r\n }\r\n\r\n canShowOption(index, securityQuestion) {\r\n return this.formModel[this.questionsWrapper[(index + 1) % 2].modelQuestion] !== securityQuestion.code;\r\n }\r\n}\r\n\r\nexport default class SecurityQuestionsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SecurityQuestionsController;\r\n this.bindings = {\r\n form: '<',\r\n formModel: '=',\r\n securityQuestions: '<',\r\n securityQuestionsSize: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/security/components/security-questions/security-questions-component.js","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{securityQuestion.question}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Security Question {{$index + 1}}.\\r\\n
    \\r\\n
    \\r\\n Selected questions must be different!\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please answer Security Question {{$index + 1}}.\\r\\n
    \\r\\n
    \\r\\n Answer to Security Question {{$index + 1}} cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/security/components/security-questions/security-questions.html\n// module id = 1405\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport errors from './config/errorcodes.conf';\r\nimport routing from './report-subscriptions-routing-module';\r\nimport page from './containers/page/report-subscriptions-page-module';\r\nimport './components/management/sftp/sftp-component';\r\nimport './components/unsubscribe-confirmation/unsubscribe-component';\r\n\r\nexport default angular.module('report-subscriptions', [errors.name, routing.name, page.name, 'sftp-management', 'unsubscribe-confirmation']);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/report-subscriptions-module.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('reportSubscriptionsErrorCodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n reportSubscriptions: {\r\n 29: () => ({ title: gettextCatalog.getString('Subscription already exists.') }),\r\n },\r\n sftp: {\r\n RETAILER_NOT_FOUND: () => ({ title: gettextCatalog.getString('Retailer not found.') }),\r\n SFTP_CONFIGURATION_ALREADY_EXISTS: () => ({ title: gettextCatalog.getString('SFTP Configuration for selected Retailer already exists.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/config/errorcodes.conf.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('reportSubscriptionsRouting', []).config([\r\n '$stateProvider',\r\n ($stateProvider) => {\r\n $stateProvider.state('reportSubscriptions-view', {\r\n parent: 'arw',\r\n url: '/report-subscriptions',\r\n template: ``,\r\n params: {\r\n retailerId: null,\r\n retailerNumber: null,\r\n retailerType: null,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Subscriptions')));\r\n },\r\n ],\r\n },\r\n redirectTo: 'permissions-denied',\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/report-subscriptions-routing-module.js","import angular from 'angular';\r\nimport additionalRecipients from 'report-subscriptions/components/additional-recipients/additional-recipients-module';\r\nimport reportSubscriptionsPageComponent from './report-subscriptions-page-component';\r\n\r\nexport default angular\r\n .module('reportSubscriptions', [additionalRecipients.name])\r\n .component('reportSubscriptionsPage', reportSubscriptionsPageComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/containers/page/report-subscriptions-page-module.js","import angular from 'angular';\r\nimport { ReportSubscriptionsAdditionalRecipientController } from './additional-recipients-controller';\r\nimport reportSubscriptionsAdditionalRecipients from './additional-recipients-component';\r\n\r\nexport default angular\r\n .module('reportSubscriptionsAdditionalRecipients', [])\r\n .controller('ReportSubscriptionsAdditionalRecipientsController', ReportSubscriptionsAdditionalRecipientController)\r\n .component('reportSubscriptionsAdditionalRecipients', reportSubscriptionsAdditionalRecipients);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-module.js","export class ReportSubscriptionsAdditionalRecipientController {\r\n onAddRecipient(recipient, form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid || recipient === '') {\r\n return;\r\n }\r\n\r\n this.newRecipient = '';\r\n form.$setPristine();\r\n form.$setUntouched();\r\n this.applyRecipient({ recipient });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-controller.js","import template from './additional-recipients.html';\r\n\r\nexport default {\r\n template: template,\r\n controller: 'ReportSubscriptionsAdditionalRecipientsController',\r\n bindings: {\r\n recipients: '<',\r\n applyRecipient: '&',\r\n removeRecipient: '&',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email is required.\\r\\n
    \\r\\n
    \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Add\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ recipient }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    Grayed out formats are not available.
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/additional-recipients/additional-recipients.html\n// module id = 1413\n// module chunks = 0","import { loadTransformationTypes } from 'app/actions/dictionaries.actions';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport {\r\n applyRecipient,\r\n loadEmailList,\r\n loadReportList,\r\n loadSftpList,\r\n removeRecipient,\r\n saveEmailList,\r\n saveReportList,\r\n saveSftpList,\r\n} from 'report-subscriptions/actions/report-subscriptions-page.actions';\r\nimport template from './report-subscriptions.html';\r\n\r\nconst DIRTY_FORM = 'reportSubscription';\r\n\r\nconst mapStateToThis = (state) => ({\r\n defaultContactPhone: state.contact.lottery.defaultContactPhone,\r\n isLoadingReports: state.reportSubscriptionsPage.isLoadingReports,\r\n isLoadingEmail: state.reportSubscriptionsPage.isLoadingEmail,\r\n itemsReports: state.reportSubscriptionsPage.itemsReports,\r\n itemsEmail: state.reportSubscriptionsPage.itemsEmail,\r\n subscriptionsReports: state.reportSubscriptionsPage.subscriptionsReports,\r\n subscriptionsEmail: state.reportSubscriptionsPage.subscriptionsEmail,\r\n metaEmail: state.reportSubscriptionsPage.metaEmail,\r\n itemsSftp: state.reportSubscriptionsPage.itemsSftp,\r\n subscriptionsSftp: state.reportSubscriptionsPage.subscriptionsSftp,\r\n metaSftp: state.reportSubscriptionsPage.metaSftp,\r\n isLoadingSftp: state.reportSubscriptionsPage.isLoadingSftp,\r\n recipients: state.reportSubscriptionsPage.recipients,\r\n transformationTypes: state.dictionaries.transformationTypes,\r\n session: state.session,\r\n applicationName: state.config.applicationName[state.session.locale],\r\n usesOptInReports: state.config.usesOptInReports,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n loadTransformationTypes,\r\n loadReportList,\r\n loadEmailList,\r\n loadSftpList,\r\n checkAccess,\r\n saveEmailList,\r\n saveReportList,\r\n saveSftpList,\r\n applyRecipient,\r\n removeRecipient,\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass ReportSubscriptionsPageController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerId;\r\n this.retailerNumber = this.$state.params.retailerNumber;\r\n this.retailerType = this.$state.params.retailerType;\r\n\r\n this.text = {\r\n report: {\r\n dialogTitle: this.gettextCatalog.getString('Success!'),\r\n saveSuccess: this.gettextCatalog.getString(\r\n `You have successfully updated your report subscriptions. Modifications to subscriptions will take effect the next day.`\r\n ),\r\n validateTitle: this.gettextCatalog.getString('Error!'),\r\n validateError: this.gettextCatalog.getString('You can select up to two file types in one report'),\r\n },\r\n email: {\r\n dialogTitle: this.gettextCatalog.getString('Success!'),\r\n saveSuccess: this.gettextCatalog.getString(\r\n `You have successfully updated your email subscriptions. Modifications to subscriptions will take effect the next day.`\r\n ),\r\n },\r\n sftp: {\r\n dialogTitle: this.gettextCatalog.getString('Success!'),\r\n saveSuccess: this.gettextCatalog.getString(\r\n `

    You have successfully updated your report subscriptions.

    Email was sent to administrator with inquiry to configure SFTP.

    SFTP transfer will not work until SFTP credentials are provided.

    Modifications to subscriptions will take effect the next day.

    `\r\n ),\r\n },\r\n };\r\n\r\n this.tabs = {\r\n report: {\r\n load: () => this.loadReportList(this.retailerId, this.retailerType),\r\n save: () => this.saveReportList(this.retailerId),\r\n },\r\n email: {\r\n load: () => this.loadEmailList(this.retailerId, this.retailerType),\r\n save: () => this.saveEmailList(this.retailerId),\r\n },\r\n sftp: {\r\n load: () => this.loadSftpList(this.retailerId, this.retailerType),\r\n save: () => this.saveSftpList(this.retailerId),\r\n },\r\n };\r\n\r\n Promise.all([this.loadTransformationTypes()]).then(() => {\r\n this.headers = [\r\n {\r\n text: this.gettextCatalog.getString('Report Name'),\r\n field: 'reportName',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Reporting Period'),\r\n field: 'reportPeriod',\r\n sortable: false,\r\n },\r\n {\r\n text: '',\r\n sortable: false,\r\n },\r\n ];\r\n\r\n this.canShowReports = this.session.retailer.retailerType;\r\n this.canShowReportSubscriptions = this.usesOptInReports && this.checkAccess('reportSubscriptions.view') && this.canShowReports;\r\n this.canShowEmailSubscriptions = this.checkAccess('reportSubscriptions.view.email') && this.canShowReports;\r\n this.canShowSftpSubscriptions = this.checkAccess('reportSubscriptions.view.sftp') && this.canShowReports;\r\n\r\n if (this.canShowReportSubscriptions) {\r\n this.onTabSelect('report');\r\n this.gridModel = initGrid(this.loadEmailList, this.defaultParams);\r\n } else if (this.canShowEmailSubscriptions) {\r\n this.onTabSelect('email');\r\n this.gridModel = initGrid(this.loadEmailList, this.defaultParams);\r\n } else if (this.canShowSftpSubscriptions) {\r\n this.onTabSelect('sftp');\r\n this.gridModel = initGrid(this.loadSftpList, this.defaultParams);\r\n }\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submit(tabId) {\r\n const text = this.text[tabId];\r\n this.tabs[tabId].save().then(() => {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.form.$setPristine();\r\n return this.Notifications.showAlert(text.dialogTitle, text.saveSuccess);\r\n });\r\n }\r\n\r\n onTabSelect(tabId, form) {\r\n if (form) {\r\n form.$setPristine();\r\n }\r\n this.activeTabId = tabId;\r\n this.tabs[tabId].load().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n change() {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n changeReport(fileTypeId, format) {\r\n // validate selection\r\n let subscribedNumber = 0;\r\n Object.keys(this.subscriptionsReports[fileTypeId].transformations).forEach((key) => {\r\n if (this.subscriptionsReports[fileTypeId].transformations[key].subscribed) {\r\n subscribedNumber += 1;\r\n }\r\n });\r\n\r\n if (subscribedNumber > 2) {\r\n this.Notifications.showAlert(this.text.report.validateTitle, this.text.report.validateError);\r\n this.subscriptionsReports[fileTypeId].transformations[format].subscribed =\r\n !this.subscriptionsReports[fileTypeId].transformations[format].subscribed;\r\n }\r\n\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n }\r\n\r\n cancel() {\r\n this.onTabSelect(this.activeTabId);\r\n }\r\n\r\n onGroupChange() {\r\n this.tabs[this.activeTabId].load().then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n}\r\n\r\nexport default {\r\n template,\r\n controller: ReportSubscriptionsPageController,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/containers/page/report-subscriptions-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Any changes to subscriptions will take effect on the next scheduled report date for each report.\\r\\n Reports to which you have subscribed will appear in the Reports page of {{$ctrl.applicationName}}.\\r\\n If you wish to receive a report via email, please visit Email Subscriptions tab.
    Grayed out formats are not available.
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ type.fileNotificationType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n
    \\r\\n {{ type.fileNotificationType }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ type.fileNotificationType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n
    \\r\\n {{ type.fileNotificationType }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Select group\\r\\n \\r\\n \\r\\n {{ group.name }}\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n Your Lottery Retailer Wizard Administrator will connect your account with your SFTP server. Please call {{ $ctrl.defaultContactPhone }}.
    Grayed out formats are not available.
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ type.fileNotificationType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n {{ type.reportTransTranslationsDto[$ctrl.session.locale].fileDisplayName }}\\r\\n \\r\\n
    \\r\\n {{ type.fileNotificationType }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/containers/page/report-subscriptions.html\n// module id = 1415\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport SftpListComponent from './sftp-list/sftp-list-component';\r\nimport SftpCreateComponent from './sftp-create/sftp-create-component';\r\nimport SftpEditComponent from './sftp-edit/sftp-edit-component';\r\n\r\nexport default angular\r\n .module('sftp-management', [])\r\n .component('sftpListView', new SftpListComponent())\r\n .component('sftpCreateView', new SftpCreateComponent())\r\n .component('sftpEditView', new SftpEditComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('sftp-view', {\r\n parent: 'arw',\r\n url: '/sftp',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('SFTP Server Configuration')));\r\n },\r\n ],\r\n },\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n })\r\n .state('sftp-create', {\r\n parent: 'arw',\r\n url: '/sftp-create',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Create SFTP Server Configuration')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('sftp-edit', {\r\n parent: 'arw',\r\n url: '/sftp/:configId',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Edit SFTP Server Configuration')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-component.js","import template from './sftp-list.html';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { fetchSftpList, deleteSftpById } from 'report-subscriptions/actions/sftp.actions';\r\n\r\nconst mapStateToThis = ({ sftp, config, ui }) => {\r\n const { list, isLoading } = sftp;\r\n const { sortColumnKey } = config;\r\n const { pagination } = ui;\r\n\r\n return {\r\n list,\r\n isLoading,\r\n sortColumnKey,\r\n pagination,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSftpList,\r\n deleteSftpById,\r\n};\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications')\r\nclass SftpListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.headers = this.listHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'retailerId',\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchSftpList, this.defaultParams);\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n async onSftpConfigurationRemove(id) {\r\n await this.deleteSftpById(id);\r\n\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Configuration has been removed'));\r\n this.search();\r\n }\r\n\r\n listHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Retailer ID'),\r\n field: 'retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer Name'),\r\n field: 'retailerName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Host Address'),\r\n field: 'ftpHost',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Use SFTP Public Key'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Enabled'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Delete Configuration'),\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n}\r\n\r\nexport default class SftpListComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = SftpListController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Select a Retailer ID to edit their SFTP server configuration.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n New SFTP Configuration\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.retailerName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ item.ftpHost }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.retailerName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ item.ftpHost }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Yes\\r\\n \\r\\n \\r\\n No\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-list/sftp-list.html\n// module id = 1418\n// module chunks = 0","/* REDUX */\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchSftpAuthenticationTypesDictionary } from 'app/actions/dictionaries/sftp-authentication-types.actions';\r\nimport * as api from 'report-subscriptions/resources/sftp.api';\r\nimport sftpCreateTemplate from './sftp-create.html';\r\n\r\nconst DIRTY_FORM = 'sftpCreate';\r\n\r\nconst mapStateToThis = ({ dictionary }) => {\r\n const { sftpAuthenticationTypes } = dictionary;\r\n return {\r\n authenticationTypes: sftpAuthenticationTypes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchSftpAuthenticationTypesDictionary,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Responsive', 'Notifications')\r\nclass SftpCreateController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.fileErrors = {};\r\n this.savingInProgress = false;\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.enabledSelectOptions = [\r\n {\r\n label: this.gettextCatalog.getString('No'),\r\n value: false,\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Yes'),\r\n value: true,\r\n },\r\n ];\r\n this.sftp = {\r\n configuration: {\r\n authenticationType: 'PASSWORD',\r\n },\r\n };\r\n await this.fetchSftpAuthenticationTypesDictionary();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n submitForm(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) {\r\n return;\r\n }\r\n\r\n this.submitConfirm();\r\n }\r\n\r\n async submitConfirm() {\r\n try {\r\n this.savingInProgress = true;\r\n await api.createSftp(this.sftp);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Configuration has been created'));\r\n this.setDirtyForm(DIRTY_FORM, false);\r\n this.$state.go('sftp-view', { skipDirtyForms: true });\r\n } catch (error) {\r\n console.error('CREATE_SFTP', error);\r\n } finally {\r\n this.savingInProgress = false;\r\n }\r\n }\r\n}\r\n\r\nexport default class SftpCreateComponent {\r\n constructor() {\r\n this.template = sftpCreateTemplate;\r\n this.controller = SftpCreateController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Retailer Number.\\r\\n
    \\r\\n
    \\r\\n Retailer No invalid format.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Host Address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Port.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Username.\\r\\n
    \\r\\n
    \\r\\n Username cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Password.\\r\\n
    \\r\\n
    \\r\\n Password cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Authentication Type*\\r\\n \\r\\n \\r\\n {{ value }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Authentication Type.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Enabled\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Authentication Key.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-create/sftp-create.html\n// module id = 1420\n// module chunks = 0","import sftpEditTemplate from './sftp-edit.html';\r\n/* REDUX */\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { updateSftpById, fetchSftpById } from 'report-subscriptions/actions/sftp.actions';\r\nimport { fetchSftpAuthenticationTypesDictionary } from 'app/actions/dictionaries/sftp-authentication-types.actions';\r\n\r\nconst DIRTY_FORM = 'sftpEdit';\r\n\r\nconst mapStateToThis = ({ dictionary, sftp }) => {\r\n const { sftpAuthenticationTypes } = dictionary;\r\n const { selectedEntry } = sftp;\r\n\r\n return {\r\n selectedEntry,\r\n authenticationTypes: sftpAuthenticationTypes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n updateSftpById,\r\n fetchSftpById,\r\n fetchSftpAuthenticationTypesDictionary,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Notifications', '$stateParams')\r\nclass SftpEditController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.fileErrors = {};\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.enabledSelectOptions = [\r\n {\r\n label: this.gettextCatalog.getString('No'),\r\n value: false,\r\n },\r\n {\r\n label: this.gettextCatalog.getString('Yes'),\r\n value: true,\r\n },\r\n ];\r\n\r\n await Promise.all[\r\n this.fetchSftpAuthenticationTypesDictionary(), \r\n this.fetchSftpById(this.$stateParams.configId)\r\n ];\r\n\r\n this.enabled = this.selectedEntry.enabled;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async submitForm(form) {\r\n form.$setSubmitted();\r\n\r\n if (form.$invalid) return;\r\n\r\n const { passwordSet, ...configuration } = this.selectedEntry;\r\n\r\n await this.updateSftpById(configuration);\r\n\r\n this.setDirtyForm(DIRTY_FORM, false);\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Configuration has been edited'));\r\n this.$state.go('sftp-view', { skipDirtyForms: true });\r\n }\r\n}\r\n\r\nexport default class SftpEditComponent {\r\n constructor() {\r\n this.template = sftpEditTemplate;\r\n this.controller = SftpEditController;\r\n this.bindings = {\r\n model: '<',\r\n retailerId: '@',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n Please enter Retailer Number.\\r\\n
    \\r\\n\\r\\n
    \\r\\n Retailer No. invalid format.\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Host Address.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Port.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n Please enter Username.\\r\\n
    \\r\\n\\r\\n
    \\r\\n Username cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Password cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n Please enter Password.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Authentication Type\\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{ value }}\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n
    \\r\\n Please select Authentication Type.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Enabled\\r\\n \\r\\n \\r\\n {{option.label}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please select Authentication Key.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/management/sftp/sftp-edit/sftp-edit.html\n// module id = 1422\n// module chunks = 0","import angular from 'angular';\r\nimport unsubscribeConfirmationTemplate from './unsubscribe.html';\r\n\r\nimport { unsubscribeUser } from 'report-subscriptions/actions/report-subscriptions-page.actions';\r\n\r\nconst mapStateToThis = (state) => ({});\r\n\r\nconst mapDispatchToThis = {\r\n unsubscribeUser,\r\n};\r\n\r\n@Inject('$ngRedux', '$stateParams', '$state', 'Notifications', 'gettextCatalog')\r\nclass UnsubscribeConfirmationController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n if (!this.$stateParams.token) {\r\n return this.$state.go('home-view');\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onUnsubscribeUser() {\r\n this.unsubscribeUser(this.$stateParams.token).then(() => {\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Changed successfuly.'));\r\n return this.$state.go('home-view');\r\n });\r\n }\r\n}\r\n\r\nclass UnsubscribeConfirmation {\r\n constructor() {\r\n this.controller = UnsubscribeConfirmationController;\r\n this.template = unsubscribeConfirmationTemplate;\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('unsubscribe-confirmation', [])\r\n .component('emailUnsubscribe', new UnsubscribeConfirmation())\r\n .config(['$urlMatcherFactoryProvider',\r\n function($urlMatcherFactory) {\r\n $urlMatcherFactory.type('token', {\r\n decode: function(val) { return val != null ? val.toString() : val; },\r\n encode: function(val) { return val != null ? val.toString() : val; },\r\n })\r\n }])\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('unsubscribe-confirmation', {\r\n parent: 'arw',\r\n url: '/unsubscribe/{token:token}',\r\n template: ``,\r\n params: {\r\n hideMenu: true,\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n

    Confirm

    \\r\\n
    \\r\\n
    \\r\\n

    Are you sure you want to unsubscribe from email report subscriptions?

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/report-subscriptions/components/unsubscribe-confirmation/unsubscribe.html\n// module id = 1424\n// module chunks = 0","import angular from 'angular';\r\nimport retailerReportsRoutingModule from './retailer-reports-routing-module';\r\nimport retailerReportsPageModule from './components/retailer-reports-page/retailer-reports-page-module';\r\nimport retailerReportsFilterModule from './components/retailer-reports-filter/retailer-reports-filter-module';\r\nimport retailerReportsTabContentModule from './components/retailer-reports-tab-content/retailer-reports-tab-content-module';\r\n\r\nexport default angular.module('retailer-reports', [\r\n retailerReportsRoutingModule.name,\r\n retailerReportsPageModule.name,\r\n retailerReportsFilterModule.name,\r\n retailerReportsTabContentModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/retailer-reports-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport retailerReportsPageModule from './components/retailer-reports-page/retailer-reports-page-module';\r\n\r\nexport default angular.module('retailer-reports-routing', [retailerReportsPageModule.name]).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('retailerReports-view', {\r\n parent: 'arw',\r\n url: '/reports',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Reports')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/retailer-reports-routing-module.js","import template from './retailer-reports-page.html';\r\n\r\nclass RetailerReportsPageController {}\r\n\r\nexport default class RetailerReportsPageComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = RetailerReportsPageController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-reports/components/retailer-reports-page/retailer-reports-page.html\n// module id = 1428\n// module chunks = 0","import angular from 'angular';\r\nimport RetailerReportsFilterComponent from './retailer-reports-filter-component';\r\n\r\nexport default angular.module('retailer-reports-filter', []).component('retailerReportsFilter', new RetailerReportsFilterComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-module.js","import template from './retailer-reports-filter.html';\r\n\r\nconst mapStateToThis = ({ session, dictionaries, dictionary }) => {\r\n const { locale, isAdmin } = session;\r\n const { reportCategories } = dictionary;\r\n const { reportNames } = dictionaries;\r\n\r\n return {\r\n locale,\r\n isAdmin,\r\n reportCategories,\r\n reportNames,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RetailerReportsFilterController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.filterReportNames = (reportCategoryId, locale, reportCategories) => (item) => {\r\n if (reportCategoryId) {\r\n const reportCategory = reportCategories[parseInt(reportCategoryId, 10)];\r\n return item.fileTypeTranslationsDto[locale].fileCategoryCd === reportCategory;\r\n }\r\n return true;\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onCategoryChange() {\r\n this.filters.reportName = undefined;\r\n }\r\n\r\n onInputChange() {\r\n this.errors = this.form.$error;\r\n }\r\n}\r\n\r\nexport default class RetailerReportsFilterComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = RetailerReportsFilterController;\r\n this.bindings = {\r\n idPrefix: '@',\r\n filters: '<',\r\n errors: '=',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Retailer Number.\\r\\n
    \\r\\n
    \\r\\n Retailer No invalid format.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Report Name\\r\\n \\r\\n \\r\\n {{reportNameData.fileTypeTranslationsDto[$ctrl.locale].fileDisplayNm}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Category\\r\\n \\r\\n \\r\\n {{ categoryDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-reports/components/retailer-reports-filter/retailer-reports-filter.html\n// module id = 1431\n// module chunks = 0","import angular from 'angular';\r\nimport RetailerReportsTabContentComponent from './retailer-reports-tab-content-component';\r\n\r\nexport default angular\r\n .module('retailer-reports-tab-component', [])\r\n .component('retailerReportsTabContent', new RetailerReportsTabContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-module.js","import { isChainHeadSelector } from 'selectors';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { clearFilters, fetchRetailerReports, downloadRetailerReport } from 'retailer-reports/actions/retailer-reports.actions';\r\nimport { loadReportExtensions, loadReportNames } from 'app/actions/dictionaries.actions';\r\nimport { fetchReportCategoriesDictionary } from 'app/actions/dictionaries/report-categories-dictionary.actions';\r\nimport template from './retailer-reports-tab-content.html';\r\n\r\nconst mapStateToThis = ({ ui, session, retailerReports, dictionaries, dictionary, config }) => {\r\n const { pagination } = ui;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { sortColumnKey, directionKey } = config;\r\n const { locale, isAdmin } = session;\r\n const { reportCategories } = dictionary;\r\n const { items, isLoading } = retailerReports;\r\n const { reportNames, reportExtensions } = dictionaries;\r\n\r\n return {\r\n pagination,\r\n items,\r\n isLoading,\r\n reportNames,\r\n reportCategories,\r\n reportExtensions,\r\n isChainHead,\r\n locale,\r\n isAdmin,\r\n sortColumnKey,\r\n directionKey,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchRetailerReports,\r\n loadReportNames,\r\n fetchReportCategoriesDictionary,\r\n loadReportExtensions,\r\n downloadRetailerReport,\r\n checkAccess,\r\n clearFilters,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass RetailerReportsTabContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.showSubordinates = this.isChainHead;\r\n this.showSubscriptionButton = this.checkAccess('reportSubscriptions.view');\r\n this.headers = this.getHeaders();\r\n this.errors = {};\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'created',\r\n [this.directionKey]: false,\r\n };\r\n this.gridModel = initGrid(this.fetchRetailerReports, this.defaultParams);\r\n await Promise.all([this.loadReportNames(), this.fetchReportCategoriesDictionary(), this.loadReportExtensions()]);\r\n if (!this.isAdmin && !this.showSubordinates) {\r\n this.search();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.clearFilters();\r\n this.unsubscribe();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Report Name'),\r\n field: 'fileType.fileTypeTranslations.fileDisplayNm',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Date'),\r\n field: 'created',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Category'),\r\n field: 'fileType.fileTypeTranslations.fileCategoryCd',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Description'),\r\n sortable: false,\r\n textAlignment: 'text-left',\r\n },\r\n ];\r\n }\r\n\r\n async search() {\r\n if (this.isAdmin && !this.gridModel.pagingModel.filters.retailerNumber) {\r\n this.Notifications.alertError(this.gettextCatalog.getString('Please provide Retailer No.'));\r\n return;\r\n }\r\n if (this.errors.date) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Invalid date'));\r\n return;\r\n }\r\n await this.gridModel.applyFilters();\r\n }\r\n\r\n clearFilter() {\r\n this.errors = {};\r\n this.gridModel = initGrid(this.fetchRetailerReports, this.defaultParams);\r\n this.clearFilters();\r\n if (!this.isAdmin) {\r\n this.search();\r\n }\r\n }\r\n\r\n downloadReport(file) {\r\n return this.downloadRetailerReport({\r\n ...file,\r\n filters: this.gridModel.pagingModel.filters,\r\n });\r\n }\r\n\r\n onRetailerClick({ id, displayNumber, retailerType }) {\r\n this.showSubordinates = false;\r\n this.gridModel.pagingModel.filters.retailerId = id;\r\n this.gridModel.pagingModel.filters.retailerNumber = displayNumber;\r\n this.retailerType = retailerType;\r\n return this.search();\r\n }\r\n\r\n backToSubordinatesList() {\r\n this.showSubordinates = true;\r\n this.gridModel.pagingModel.filters.retailerId = null;\r\n this.gridModel.pagingModel.filters.retailerNumber = null;\r\n }\r\n\r\n openMySubscriptions() {\r\n this.$state.go('reportSubscriptions-view', {\r\n retailerId: this.gridModel.pagingModel.filters.retailerId,\r\n retailerNumber: this.gridModel.pagingModel.filters.retailerNumber,\r\n retailerType: this.retailerType,\r\n });\r\n }\r\n}\r\n\r\nexport default class RetailerReportsTabContentComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = RetailerReportsTabContentController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content-component.js","import _ from 'lodash';\r\nimport moment from 'moment';\r\nimport DepsService from 'services/dependencies';\r\nimport { getUsers } from 'user/resources/user.api';\r\nimport actionTypes from './action-types';\r\nimport * as api from '../resources/retailer-reports.api';\r\n\r\nconst createCustomFileName = (fileName, date, retailerId, dateFormatShort) => {\r\n const generateDateString = (date) => moment(date).format(dateFormatShort).replace(/\\//g, '-').replace(/\\:/g, '');\r\n const transformFileName = (fileName) => fileName.replace(/\\s/g, '_');\r\n const transformedFileName = transformFileName(fileName);\r\n const dateString = generateDateString(date);\r\n\r\n if (retailerId) return `${retailerId}_${transformedFileName}_${dateString}`;\r\n\r\n return `${transformedFileName}_${dateString}`;\r\n};\r\n\r\nexport const fetchRetailerReportsRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_REPORTS_REQUEST,\r\n name: 'retailerReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchRetailerReportsFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_REPORTS_FAILURE,\r\n name: 'retailerReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchRetailerReportsSuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_RETAILER_REPORTS_SUCCESS,\r\n items,\r\n pagination,\r\n name: 'retailerReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchRetailerReports = (parameters) => async (dispatch, getState) => {\r\n try {\r\n const { session, config } = getState();\r\n const { dateFormatShort } = config;\r\n const { locale, retailer = {} } = session;\r\n const { retailerId, retailerDisplayNumber } = retailer;\r\n const params = {\r\n ...parameters,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchRetailerReportsRequest());\r\n\r\n const { content, ...pagination } = await api.fetchRetailerReports(params);\r\n const items = content.map((report) => {\r\n const { contentId, created, retailerId, fileType } = report;\r\n const { fileTypeTranslationsDto, transformations } = fileType;\r\n const availableTransitions = transformations ? transformations.filter((transition) => transition.enabled) : [];\r\n const fileName = fileTypeTranslationsDto ? fileTypeTranslationsDto[locale].fileDisplayNm : '';\r\n const customFileName = createCustomFileName(fileName, created, retailerDisplayNumber, dateFormatShort);\r\n const downloadData = availableTransitions.map((transition) => ({\r\n extension: transition.transformType,\r\n customFileName,\r\n fileName,\r\n contentId,\r\n retailerId,\r\n }));\r\n\r\n return {\r\n contentId,\r\n created,\r\n retailerId,\r\n fileTypeTranslationsDto,\r\n downloadData,\r\n };\r\n });\r\n dispatch(fetchRetailerReportsSuccess(items, pagination));\r\n } catch (error) {\r\n dispatch(fetchRetailerReportsFailure());\r\n console.error('FETCH_RETAILER_REPORTS_FAILURE', error);\r\n }\r\n};\r\n\r\nexport const clearFilters = () => (dispatch) => {\r\n dispatch({\r\n type: actionTypes.CLEAR_RETAILER_REPORTS,\r\n });\r\n};\r\n\r\nexport const downloadRetailerReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_RETAILER_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadRetailerReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_RETAILER_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadRetailerReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_RETAILER_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadRetailerReport =\r\n ({ filters, extension, contentId }) =>\r\n (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = filters.retailerId || session.retailer.retailerId;\r\n const requestParams = {\r\n id: contentId,\r\n ...filters,\r\n retailerId,\r\n extension,\r\n };\r\n\r\n dispatch(downloadRetailerReportRequest());\r\n dispatch(downloadRetailerReportSuccess());\r\n return api.downloadRetailerReport(requestParams);\r\n } catch (error) {\r\n console.error('DOWNLOAD_RETAILER_REPORT', error);\r\n dispatch(downloadRetailerReportFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/actions/retailer-reports.actions.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport moment from 'moment/moment';\r\nimport DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'retailerReports';\r\n\r\nfunction formatDate(dateToFormat) {\r\n if (dateToFormat) {\r\n return moment(dateToFormat).format('YYYY-MM-DD');\r\n }\r\n return undefined;\r\n}\r\n\r\nexport const fetchRetailerReports = async (params) => {\r\n const { url } = DepsService.rest.reports.entries;\r\n const queryParams = cloneDeep(params);\r\n queryParams.filters.creationDateFrom = formatDate(queryParams.filters.creationDateFrom);\r\n queryParams.filters.creationDateTo = formatDate(queryParams.filters.creationDateTo);\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadRetailerReport = ({ id, extension, ...parameters }) => {\r\n const { url } = DepsService.rest.reports.download;\r\n const queryParams = {\r\n 'transformation-type': extension,\r\n ...parameters,\r\n };\r\n const urlParams = { id };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-reports/resources/retailer-reports.api.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchReportCategoriesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchReportCategoriesDictionarySuccess = (categories) => ({\r\n type: actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_SUCCESS,\r\n categories,\r\n});\r\n\r\nexport const fetchReportCategoriesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_REPORT_CATEGORIES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchReportCategoriesDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchReportCategoriesDictionaryRequest());\r\n\r\n const categories = await api.fetchReportCategoriesDictionary({ locale });\r\n dispatch(fetchReportCategoriesDictionarySuccess(categories));\r\n } catch (error) {\r\n console.error('REPORT_CATEGORIES_DICTIONARY', error);\r\n dispatch(fetchReportCategoriesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/report-categories-dictionary.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Viewing history for\\r\\n \\r\\n \\r\\n \\r\\n Retailer No\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Return to retailer list\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n My Subscriptions\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n 0\\\"\\r\\n type=\\\"'label'\\\"\\r\\n position=\\\"left\\\">\\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileDisplayNm }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ reportDTO.extension }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileCategoryCd }}\\r\\n \\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileDisplayDesc }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileDisplayNm }}\\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ reportDTO.extension }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n {{ report.fileTypeTranslationsDto[$ctrl.locale].fileCategoryCd }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-reports/components/retailer-reports-tab-content/retailer-reports-tab-content.html\n// module id = 1437\n// module chunks = 0","import angular from 'angular';\r\nimport adminReportsRoutingModule from './admin-reports-routing-module';\r\nimport adminReportsPageModule from './components/admin-reports-page/admin-reports-page-module';\r\nimport userActivityReportsModule from './components/user-activity-reports/user-activity-reports-module';\r\nimport adminReportsFilterModule from './components/admin-reports-filter/admin-reports-filter-module';\r\n\r\nexport default angular.module('admin-reports', [\r\n adminReportsRoutingModule.name,\r\n adminReportsPageModule.name,\r\n userActivityReportsModule.name,\r\n adminReportsFilterModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/admin-reports-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('admin-reports-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('retailerReports-admin', {\r\n parent: 'arw',\r\n url: '/admin-reports',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Site Activity Log')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/admin-reports-routing-module.js","import angular from 'angular';\r\nimport AdminReportsPageComponent from './admin-reports-page-component';\r\n\r\nexport default angular.module('admin-reports-page', []).component('adminReportsPage', new AdminReportsPageComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-module.js","import utils from 'utils/lsp-utils-service';\r\nimport template from 'admin-reports/components/admin-reports-page/admin-reports-page.html';\r\n\r\nconst mapStateToThis = ({ session: { sidemenu } }) => ({\r\n sidemenu,\r\n});\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass AdminReportsPageController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.pageHeader = utils.pageHeader(this.sidemenu, 'sref', 'retailerReports-admin');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class AdminReportsPageComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AdminReportsPageController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-page/admin-reports-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/admin-reports-page/admin-reports-page.html\n// module id = 1442\n// module chunks = 0","import angular from 'angular';\r\nimport UserActivityReportsComponent from './user-activity-reports-component';\r\n\r\nexport default angular.module('user-activity-reports', []).component('userActivityReports', new UserActivityReportsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-module.js","import moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport template from './user-activity-reports.html';\r\nimport eventDetailsDialog from './user-activity-reports-event-details-dialog.html';\r\nimport { fetchUserActivityReports, downloadActivityReports } from '../../actions/admin-reports.actions';\r\n\r\nconst RETAILER_NUMBER_REGEXP = /^[0-9]{1,9}$/;\r\n\r\nconst mapStateToThis = ({ ui, session, adminReports, config }) => {\r\n const { pagination } = ui;\r\n const { serverTime, locale } = session;\r\n const { items, isLoading } = adminReports;\r\n const { directionKey, sortColumnKey } = config;\r\n\r\n return {\r\n pagination,\r\n items,\r\n isLoading,\r\n serverTime,\r\n locale,\r\n directionKey,\r\n sortColumnKey,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchUserActivityReports,\r\n downloadActivityReports,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$scope', 'gettextCatalog', 'Notifications')\r\nclass UserActivityReportsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.initializeConfiguration();\r\n this.reportStatuses = this.getReportStatuses();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'eventDate',\r\n [this.directionKey]: false,\r\n };\r\n this.gridModel = initGrid(this.fetchUserActivityReports, this.defaultParams);\r\n this.clearFilter();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n initializeConfiguration() {\r\n this.exportData = [\r\n {\r\n label: 'CSV',\r\n extension: 'csv',\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'userFullName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Email'),\r\n field: 'userName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('User Class'),\r\n field: 'userRole',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Event Type'),\r\n field: 'eventType',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('IP Address'),\r\n field: 'networkIp',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Event Result'),\r\n field: 'eventResult',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Date/Time'),\r\n field: 'eventDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n initializeFilters() {\r\n this.error = false;\r\n this.gridModel.pagingModel.filters = {\r\n fromDate: moment.unix(this.serverTime).startOf('week').valueOf(),\r\n toDate: moment.unix(this.serverTime).endOf('week').valueOf(),\r\n };\r\n this.$scope.$broadcast('resetUserActivityReportsFilter');\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n downloadReport(extension) {\r\n return this.downloadActivityReports(\r\n extension,\r\n {\r\n ...this.gridModel.pagingModel,\r\n pageSize: 0,\r\n } // Forces BE to export the entire data set\r\n );\r\n }\r\n\r\n async search() {\r\n if (this.gridModel.pagingModel.filters.retailerId && !RETAILER_NUMBER_REGEXP.test(this.gridModel.pagingModel.filters.retailerId)) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Retailer No. invalid format'));\r\n return;\r\n }\r\n if (!this.error) {\r\n await this.gridModel.applyFilters();\r\n }\r\n }\r\n\r\n showEventDetails(reportData) {\r\n return this.Notifications.showComplexDialog({\r\n template: eventDetailsDialog,\r\n resolve: {\r\n reportData: () => reportData,\r\n locale: () => this.locale,\r\n },\r\n });\r\n }\r\n\r\n getReportStatuses() {\r\n return {\r\n SUCCESS: this.gettextCatalog.getString('Success'),\r\n FAILURE: this.gettextCatalog.getString('Failed'),\r\n };\r\n }\r\n}\r\n\r\nexport default class UserActivityReportsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = UserActivityReportsController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Export\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n {{ report.userFullName }}\\r\\n
    \\r\\n
    \\r\\n {{ report.impersonatingUserFullName }}
    \\r\\n as\\r\\n ({{ report.userFullName }})\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ report.userName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n\\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ report.ip }}\\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.reportStatuses[report.eventResult] }}\\r\\n \\r\\n \\r\\n \\r\\n {{ report.eventDateFormatted }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n \\r\\n {{ report.eventType }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ report.eventDateFormatted }}\\r\\n
    \\r\\n
    \\r\\n {{ report.userName}}\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.reportStatuses[report.eventResult] }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ report.userName }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ report.ip }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports.html\n// module id = 1445\n// module chunks = 0","module.exports = \"
    \\r\\n

    \\r\\n Event Details\\r\\n - {{ $ctrl.reportData.eventType }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    Details\\r\\n Changes\\r\\n
    \\r\\n
    \\r\\n Actor\\r\\n
    {{ $ctrl.reportData.userFullName }}
    \\r\\n
    \\r\\n {{ $ctrl.reportData.impersonatingUserFullName }}
    \\r\\n as\\r\\n ({{ $ctrl.reportData.userFullName }})\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Date/Time\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n IP Address\\r\\n
    {{ $ctrl.reportData.ip }}
    \\r\\n
    \\r\\n
    \\r\\n Result\\r\\n
    {{ $ctrl.reportData.eventResult }}
    \\r\\n
    \\r\\n
    {{ $ctrl.reportData.eventDescription }}
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/user-activity-reports/user-activity-reports-event-details-dialog.html\n// module id = 1446\n// module chunks = 0","import * as api from '../resources/admin-reports.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchUserActivityReportsRequest = () => ({\r\n type: actionTypes.FETCH_USER_ACTIVITY_REPORTS_REQUEST,\r\n name: 'userActivityReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchUserActivityReportsFailure = () => ({\r\n type: actionTypes.FETCH_USER_ACTIVITY_REPORTS_FAILURE,\r\n name: 'userActivityReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchUserActivityReportsSuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_USER_ACTIVITY_REPORTS_SUCCESS,\r\n items,\r\n pagination,\r\n name: 'userActivityReportsLoadingStatus',\r\n});\r\n\r\nexport const fetchUserActivityReports = (parameters) => async (dispatch) => {\r\n try {\r\n dispatch(fetchUserActivityReportsRequest());\r\n const { content, ...pagination } = await api.fetchActivityReport(parameters);\r\n dispatch(fetchUserActivityReportsSuccess(content, pagination));\r\n } catch (error) {\r\n dispatch(fetchUserActivityReportsFailure());\r\n console.error('FETCH_USER_ACTIVITY_REPORTS_FAILURE', error);\r\n }\r\n};\r\n\r\nexport const downloadUserActivityReportsRequest = () => ({\r\n type: actionTypes.DOWNLOAD_USER_ACTIVITY_REPORTS_REQUEST,\r\n});\r\n\r\nexport const downloadUserActivityReportsSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_USER_ACTIVITY_REPORTS_SUCCESS,\r\n});\r\n\r\nexport const downloadUserActivityReportsFailure = () => ({\r\n type: actionTypes.DOWNLOAD_USER_ACTIVITY_REPORTS_FAILURE,\r\n});\r\n\r\nexport const downloadActivityReports = (extension, params) => (dispatch) => {\r\n try {\r\n const config = {\r\n extension,\r\n ...params,\r\n };\r\n dispatch(downloadUserActivityReportsRequest());\r\n dispatch(downloadUserActivityReportsSuccess());\r\n return api.downloadActivityReports(config);\r\n } catch (error) {\r\n console.error('DOWNLOAD_ACTIVITY_REPORT', error);\r\n dispatch(downloadUserActivityReportsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/actions/admin-reports.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'admin-reports';\r\n\r\nexport const downloadActivityReports = ({ extension, ...params }) => {\r\n const { url } = DepsService.rest.report.activity;\r\n const urlParams = {};\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, params, urlParams, headers);\r\n};\r\n\r\nexport const fetchActivityReport = async (queryParams) => {\r\n const { url } = DepsService.rest.report.activity;\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/resources/admin-reports.api.js","import angular from 'angular';\r\nimport AdminReportsFilterComponent from './admin-reports-filter-component';\r\n\r\nexport default angular.module('admin-reports-filter', []).component('adminReportsFilter', new AdminReportsFilterComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-module.js","import isEmpty from 'lodash/isEmpty';\r\nimport get from 'lodash/get';\r\nimport moment from 'moment';\r\nimport { fetchUserClassDictionary } from 'app/actions/dictionaries/user-class-dictionary.actions';\r\nimport { fetchActivityEventsDictionary } from 'app/actions/dictionaries/activity-events-dictionary.actions';\r\nimport template from './admin-reports-filter.html';\r\n\r\nconst TODAY = 'today';\r\nconst CURRENT_WEEK = 'currentWeek';\r\nconst LAST_WEEK = 'lastWeek';\r\nconst CURRENT_MONTH = 'currentMonth';\r\nconst LAST_MONTH = 'lastMonth';\r\nconst CUSTOM = 'custom';\r\nconst FORMAT = 'M/D/YYYY';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { serverTime, lotteryTimezoneDiff } = session;\r\n const { userClass, activityEvents } = dictionary;\r\n\r\n return {\r\n serverTime,\r\n lotteryTimezoneDiff,\r\n userClass,\r\n activityEvents,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchUserClassDictionary,\r\n fetchActivityEventsDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$scope', 'gettextCatalog', 'Notifications')\r\nclass AdminReportsFilterController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.timePeriods = this.getTimePeriods();\r\n this.timePeriod = this.timePeriods[1].id;\r\n this.errors = {};\r\n this.showDateInputs = false;\r\n this.$scope.$on('resetUserActivityReportsFilter', () => {\r\n this.timePeriod = this.timePeriods[1].id;\r\n this.fromDate = null;\r\n this.toDate = null;\r\n this.showDateInputs = false;\r\n });\r\n await this.fetchDictionaries();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async fetchDictionaries() {\r\n return Promise.all([this.fetchUserClassDictionary(), this.fetchActivityEventsDictionary()]);\r\n }\r\n\r\n getTimePeriods() {\r\n return [\r\n {\r\n id: TODAY,\r\n label: this.gettextCatalog.getString('Today'),\r\n },\r\n {\r\n id: CURRENT_WEEK,\r\n label: this.gettextCatalog.getString('This week'),\r\n },\r\n {\r\n id: LAST_WEEK,\r\n label: this.gettextCatalog.getString('Last week'),\r\n },\r\n {\r\n id: CURRENT_MONTH,\r\n label: this.gettextCatalog.getString('This month'),\r\n },\r\n {\r\n id: LAST_MONTH,\r\n label: this.gettextCatalog.getString('Last month'),\r\n },\r\n {\r\n id: CUSTOM,\r\n label: this.gettextCatalog.getString('Select dates'),\r\n },\r\n ];\r\n }\r\n\r\n handleTimePeriodChange() {\r\n this.showDateInputs = false;\r\n const lotteryTime = moment.unix(this.serverTime).utcOffset(this.lotteryTimezoneDiff);\r\n switch (this.timePeriod) {\r\n case TODAY:\r\n this.filters.fromDate = lotteryTime.clone().startOf('day').valueOf();\r\n this.filters.toDate = lotteryTime.clone().endOf('day').valueOf();\r\n break;\r\n case LAST_WEEK:\r\n this.filters.fromDate = lotteryTime.clone().subtract(7, 'd').startOf('week').valueOf();\r\n this.filters.toDate = lotteryTime.clone().subtract(7, 'd').endOf('week').valueOf();\r\n break;\r\n case CURRENT_MONTH:\r\n this.filters.fromDate = lotteryTime.clone().startOf('month').valueOf();\r\n this.filters.toDate = lotteryTime.clone().endOf('month').valueOf();\r\n break;\r\n case LAST_MONTH:\r\n this.filters.fromDate = lotteryTime.clone().subtract(1, 'M').startOf('month').valueOf();\r\n this.filters.toDate = lotteryTime.clone().subtract(1, 'M').endOf('month').valueOf();\r\n break;\r\n case CUSTOM:\r\n this.filters.fromDate = null;\r\n this.filters.toDate = null;\r\n this.showDateInputs = true;\r\n break;\r\n case CURRENT_WEEK:\r\n default:\r\n this.filters.fromDate = lotteryTime.clone().startOf('week').valueOf();\r\n this.filters.toDate = lotteryTime.clone().endOf('week').valueOf();\r\n break;\r\n }\r\n }\r\n\r\n $onChanges(changes) {\r\n if (changes.filters) {\r\n if (isEmpty(changes.filters.currentValue)) {\r\n this.timePeriod = this.timePeriods[1].id;\r\n this.fromDate = null;\r\n this.toDate = null;\r\n this.handleTimePeriodChange();\r\n }\r\n }\r\n }\r\n\r\n onFromDateChange(date) {\r\n this.validateDate(date, 'fromDate');\r\n this.filters.fromDate = moment.utc(date, FORMAT).startOf('day').valueOf();\r\n }\r\n\r\n onToDateChange(date) {\r\n this.validateDate(date, 'toDate');\r\n this.filters.toDate = moment.utc(date, FORMAT).endOf('day').valueOf();\r\n }\r\n\r\n validateDate(date, name) {\r\n const isValidDate = moment(date, FORMAT, true).isValid();\r\n if (isEmpty(date)) {\r\n this.errors[name] = false;\r\n return;\r\n }\r\n this.errors[name] = !isValidDate;\r\n this.displayError();\r\n }\r\n\r\n displayError() {\r\n if (this.errors.toDate) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Date to field - invalid date'));\r\n }\r\n if (this.errors.fromDate) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Date from field - invalid date'));\r\n }\r\n }\r\n}\r\n\r\nexport default class AdminReportsFilterComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AdminReportsFilterController;\r\n this.bindings = {\r\n filters: '<',\r\n eventTypes: '<',\r\n idPrefix: '@',\r\n reportStatuses: '<',\r\n error: '=',\r\n reset: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter-component.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchActivityEventsDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchActivityEventsDictionarySuccess = (activityEvents) => ({\r\n type: actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_SUCCESS,\r\n activityEvents,\r\n});\r\n\r\nexport const fetchActivityEventsDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_ACTIVITY_EVENTS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchActivityEventsDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchActivityEventsDictionaryRequest());\r\n const activityEvents = await api.fetchActivityEventsDictionary(locale);\r\n dispatch(fetchActivityEventsDictionarySuccess(activityEvents));\r\n } catch (error) {\r\n console.error('ACTIVITY_EVENTS_DICTIONARY', error);\r\n dispatch(fetchActivityEventsDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/activity-events-dictionary.actions.js","module.exports = \"
    \\r\\n Time Period\\r\\n \\r\\n \\r\\n {{ timePeriod.label }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n User Class\\r\\n \\r\\n \\r\\n {{ class }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Event Type\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ event.label }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Event Result\\r\\n \\r\\n \\r\\n {{ status }}\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/admin-reports/components/admin-reports-filter/admin-reports-filter.html\n// module id = 1452\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport template from './store-profiles.html';\r\n\r\n@Inject('$ngRedux', '$state')\r\nclass StoreProfilesController {\r\n onRetailerClick({ id }) {\r\n this.$state.go('dashboard-view-storeprofiles-summary', { retailerNo: id });\r\n }\r\n}\r\n\r\nclass StoreProfilesComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = StoreProfilesController;\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('store-profiles', ['dashboard'])\r\n .component('storeProfiles', new StoreProfilesComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider.state('storeProfiles-view', {\r\n parent: 'arw',\r\n url: '/store-profiles',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Store Profiles')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/store-profiles/store-profiles-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/store-profiles/store-profiles.html\n// module id = 1454\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport { fetchOrderStatusesDictionary } from 'app/actions/dictionaries/order-statuses-dictionary.actions';\r\nimport { fetchPackStatusesDictionary } from 'app/actions/dictionaries/pack-statuses-dictionary.actions';\r\nimport { fetchPricePointsDictionary } from 'app/actions/dictionaries/price-points-dictionary.actions';\r\n\r\nimport './config/errorcodes.conf';\r\n\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport packDetailsModule from './components/pack-details/pack-details.module';\r\nimport orderDetailsModule from './components/order-details/order-details.module';\r\nimport detailsDialogModule from './components/details-dialog/details-dialog.module';\r\nimport inventoryHeaderModule from './components/inventory-header/inventory-header-module';\r\nimport orderMonthSelectorModule from './components/order-month-selector/order-month-selector-module';\r\nimport orderStatusSelectorModule from './components/order-status-selector/order-status-selector-module';\r\n\r\nimport inventoryTabsModule from './components/inventory-tabs/inventory-tabs-module';\r\nimport inventoryTransitionsHistoryChainTabModule from './components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.module';\r\nimport inventoryTransitionsHistoryIndependentTabModule from './components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.module';\r\nimport inventoryOrderHistoryIndependentTabModule from './components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-module';\r\nimport inventoryOrderHistoryChainTabModule from './components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-module';\r\nimport inventoryGamesTabModule from './components/inventory-games-tab/inventory-games-tab-module';\r\nimport inventoryPacksTabModule from './components/inventory-packs-tab/inventory-packs-tab-module';\r\nimport inventoryLiabilityTabModule from './components/inventory-liability-tab/inventory-liability-tab-module';\r\n\r\nimport ManageInventoryTableService from './manage-inventory-table-service';\r\n\r\nexport default angular\r\n .module('manage-inventory', [\r\n 'manage-inventory-errorcodes',\r\n packDetailsModule.name,\r\n orderDetailsModule.name,\r\n detailsDialogModule.name,\r\n inventoryTabsModule.name,\r\n inventoryHeaderModule.name,\r\n inventoryPacksTabModule.name,\r\n inventoryGamesTabModule.name,\r\n orderMonthSelectorModule.name,\r\n orderStatusSelectorModule.name,\r\n inventoryLiabilityTabModule.name,\r\n inventoryOrderHistoryChainTabModule.name,\r\n inventoryOrderHistoryIndependentTabModule.name,\r\n inventoryTransitionsHistoryChainTabModule.name,\r\n inventoryTransitionsHistoryIndependentTabModule.name,\r\n ])\r\n .service('manageInventoryTableService', ManageInventoryTableService)\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('manageInventory-listByType', {\r\n parent: 'arw',\r\n url: '/manage-inventory-list-by-type?tabId&retailerNo',\r\n reloadOnSearch: false,\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('View Inventory')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n 'appApi',\r\n ($ngRedux) =>\r\n Promise.all([\r\n $ngRedux.dispatch(fetchOrderStatusesDictionary()),\r\n $ngRedux.dispatch(fetchPackStatusesDictionary()),\r\n $ngRedux.dispatch(fetchPricePointsDictionary()),\r\n ]),\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/manage-inventory-component.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nexport default angular.module('manage-inventory-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n manageInventory: {\r\n PATTERN_DOES_NOT_MATCH: () => ({ title: gettextCatalog.getString('Number must match __ pattern') }),\r\n ENTITY_NOT_FOUND: () => ({ title: gettextCatalog.getString('Entity or Sub-Entity not found.') }),\r\n },\r\n manageInventoryResultCodes: {\r\n 1: gettextCatalog.getString('Transaction is not available for this product. Please check game number.'),\r\n 5: gettextCatalog.getString('Sorry, transaction failed. Please try again later.'),\r\n 6: gettextCatalog.getString('Sorry, transaction failed. Please try again later.'),\r\n 16: (params) => gettextCatalog.getString('According to our records, this is not a {{ pack }} in your inventory. Please check {{ pack }} number and try again.', { pack: params.terms.PACK.singularLowerCase }),\r\n 18: gettextCatalog.getString('Sorry, transition requires more inventory than is currently at this location.'),\r\n 20: gettextCatalog.getString('According to our records, this retailer location is not active. Please contact the Lottery.'),\r\n 32: gettextCatalog.getString('The number entered does not match our records. Please try again.'),\r\n 35: gettextCatalog.getString('There is no game in your inventory with that game number. Please check the number and try again.'),\r\n 40: gettextCatalog.getString('This game is currently not available for sale. Please contact the Lottery or your sales representative for more information.'),\r\n 44: gettextCatalog.getString('Transaction failed. Validations have been made to tickets in the range to be returned.'),\r\n 45: gettextCatalog.getString('Transaction failed. Validations have been made to tickets in the range to be returned.'),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/config/errorcodes.conf.js","import angular from 'angular';\r\n\r\nimport PackDetailsComponent from './pack-details.component';\r\nimport PackDetailsController from './pack-details.controller';\r\n\r\n\r\nexport default angular\r\n .module('pack-details', [])\r\n .controller('PackDetailsController', PackDetailsController)\r\n .component('packDetails', PackDetailsComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/pack-details/pack-details.module.js","import template from './pack-details.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'PackDetailsController',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/pack-details/pack-details.component.js","module.exports = \"
    \\r\\n Loading...\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n

    \\r\\n {{ pack }} No. {{ packNo }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Game Name\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.gameName }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Game No.\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.gameNumber }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Current Status\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.statusDesc }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Order No.\\r\\n
    \\r\\n \\r\\n {{ $ctrl.packDetails.orderNumber }}\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n {{ pack }} Value\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ issued }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.issuedUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ confirmed }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.confirmedUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ activated }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.activatedUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ settled }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n by {{ $ctrl.packDetails.settledUser }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Ticket Range\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.packDetails.beginTicket }} - {{ $ctrl.packDetails.endTicket }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/pack-details/pack-details.html\n// module id = 1459\n// module chunks = 0","const mapStateToThis = ({ manageInventory, dictionary, session, config }) => {\r\n const { userSelection, packDetails, packDetailsLoadingStatus: isLoading } = manageInventory;\r\n const { locale } = session;\r\n const { trackingUrl } = config;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n userSelection,\r\n packDetails,\r\n isLoading,\r\n terms,\r\n trackingUrl,\r\n packStatuses,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state')\r\nclass PackDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default PackDetailsController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/pack-details/pack-details.controller.js","import angular from 'angular';\r\n\r\nimport OrderDetailsComponent from './order-details.component';\r\nimport OrderDetailsController from './order-details.controller';\r\n\r\nexport default angular\r\n .module('order-details', [])\r\n .controller('OrderDetailsController', OrderDetailsController)\r\n .component('orderDetails', OrderDetailsComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-details/order-details.module.js","import template from './order-details.html';\r\n\r\nexport default {\r\n controller: 'OrderDetailsController',\r\n template,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-details/order-details.component.js","module.exports = \"
    \\r\\n Loading...\\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n

    \\r\\n Order No. {{ $ctrl.orderDetails.orderNumber }}\\r\\n

    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n Order Contents\\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Order No.\\r\\n
    {{ $ctrl.orderDetails.orderNumber}}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Tracking No.\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ $ctrl.orderDetails.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n {{ $ctrl.orderDetails.prefixedTrackingNumber }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Manifest No.\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.manifestNumber }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ issued }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Order {{ issuedMethod }}\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.orderType }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ confirmed }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Total {{ pack }} Value\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ item.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.packNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Order Details\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Order No.\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.orderNumber}}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Tracking No.\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ issued }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Order {{ issuedMethod }}\\r\\n \\r\\n
    \\r\\n {{ $ctrl.orderDetails.orderType }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ confirmed }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Total {{ pack }} Value\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Order Contents\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    {{ $ctrl.headers[0].text }}
    \\r\\n
    {{ item.gameName }}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[1].text }}
    \\r\\n
    {{ item.gameNumber }}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[2].text }}
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[3].text }}
    \\r\\n
    {{ item.packNumber }}
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    {{ $ctrl.headers[4].text }}
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/order-details/order-details.html\n// module id = 1463\n// module chunks = 0","const mapStateToThis = ({ manageInventory, session, config, dictionary }) => {\r\n const { locale } = session;\r\n const { trackingUrl, showManifestNumber } = config;\r\n const { userSelection, orderDetails, orderDetailsLoadingStatus: isLoading } = manageInventory;\r\n const { orderStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n userSelection,\r\n orderDetails,\r\n isLoading,\r\n trackingUrl,\r\n showManifestNumber,\r\n terms,\r\n orderStatuses,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog', '$ngRedux', '$state')\r\nclass OrderDetailsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.getHeaders();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getHeaders() {\r\n this.headers = [\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n },\r\n ];\r\n }\r\n}\r\n\r\nexport default OrderDetailsController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-details/order-details.controller.js","import angular from 'angular';\r\n\r\nimport DetailsDialogComponent from './details-dialog.component';\r\nimport { DetailsDialogController } from './details-dialog.controller';\r\n\r\nexport default angular\r\n .module('details-dialog', [])\r\n .controller('DetailsDialogController', DetailsDialogController)\r\n .component('detailsDialog', DetailsDialogComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.module.js","import template from './details-dialog.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'DetailsDialogController',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.html\n// module id = 1467\n// module chunks = 0","import print from 'print-js';\r\nimport moment from 'moment';\r\n\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\n\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { downloadManageInventoryDetailedReportByTab } from '../../actions/download-detailed-report-by-tab.actions';\r\nimport { resetDetailsDialogData } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchOrderDetails } from 'manage-inventory/actions/fetch-order-details.actions';\r\nimport { fetchPackDetails } from 'manage-inventory/actions/fetch-pack-details.actions';\r\n\r\nconst mapStateToThis = ({ ui, manageInventory, session, config, retailerDetails, dictionary }) => {\r\n const { detailsDialogActiveTab: activeTab } = ui;\r\n const { userSelection, orderDetails } = manageInventory;\r\n const { retailer, locale } = session;\r\n const { dateFormatPrintables } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n activeTab,\r\n userSelection,\r\n orderDetails,\r\n retailer,\r\n dateFormatPrintables,\r\n retailerDetails,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n downloadManageInventoryDetailedReportByTab,\r\n resetDetailsDialogData,\r\n fetchOrderDetails,\r\n fetchPackDetails,\r\n};\r\n\r\n@Inject('$ngRedux', '$state', 'gettextCatalog')\r\nexport class DetailsDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.setTextForTabs();\r\n this.initializeTab();\r\n await this.fetchData();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'detailsDialogActiveTab');\r\n this.resetDetailsDialogData();\r\n this.unsubscribe();\r\n }\r\n\r\n setActions() {\r\n this.actions = [\r\n {\r\n type: 'download',\r\n function: this.onReportDownload.bind(this),\r\n extension: 'xlsx',\r\n data: this.getReportDetails(),\r\n },\r\n {\r\n type: 'print',\r\n function: this.print.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n initializeTab() {\r\n if (this.resolve.hidePackDetails) return this.setActiveTab(this.tabs.order.id, 'detailsDialogActiveTab');\r\n this.setActiveTab(this.tabs.pack.id, 'detailsDialogActiveTab');\r\n this.shouldDisplayTabs();\r\n }\r\n\r\n async onTabChange(tabId) {\r\n this.setActiveTab(tabId, 'detailsDialogActiveTab');\r\n await this.fetchData();\r\n }\r\n\r\n async fetchData() {\r\n const params = {\r\n retailerId: this.$state.params.retailerNo,\r\n };\r\n if (this.activeTab === this.tabs.order.id) {\r\n await this.fetchOrderDetails(params);\r\n } else if (this.activeTab === this.tabs.pack.id) {\r\n await this.fetchPackDetails(params);\r\n }\r\n this.setActions();\r\n }\r\n\r\n shouldDisplayTabs() {\r\n this.displayTabs = !this.resolve.hidePackDetails && !this.resolve.hideOrderDetails;\r\n }\r\n\r\n onReportDownload() {\r\n const config = {\r\n ...this.userSelection,\r\n tabId: this.activeTab,\r\n };\r\n\r\n return this.downloadManageInventoryDetailedReportByTab(config);\r\n }\r\n\r\n getReportDetails() {\r\n const customFileName = this.generateCustomFileName();\r\n\r\n return {\r\n customFileName,\r\n extension: 'xlsx',\r\n };\r\n }\r\n\r\n generateCustomFileName() {\r\n const retailerNumber = this.userSelection.retailerNumber || this.retailer.retailerDisplayNumber || this.retailerDetails.displayNumber;\r\n let reportName = '';\r\n const { gameNumber, packNo } = this.userSelection;\r\n const { orderNumber } = this.orderDetails;\r\n const date = moment().format(this.dateFormatPrintables || 'YYYY_MM_DD');\r\n\r\n switch (this.activeTab) {\r\n case 'pack':\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n reportName = this.gettextCatalog.getString('{{ pack }}_Details', { pack: this.terms.PACK.singular });\r\n return `${retailerNumber}_${reportName}_${gameNumber}-${packNo}_${date}`;\r\n\r\n case 'order':\r\n reportName = 'Order_Details';\r\n return `${retailerNumber}_${reportName}_${orderNumber}_${date}`;\r\n\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n print() {\r\n print({\r\n printable: this.activeTab,\r\n type: 'html',\r\n });\r\n }\r\n\r\n setTextForTabs() {\r\n this.tabs = {\r\n order: {\r\n id: 'order',\r\n label: this.gettextCatalog.getString('Order'),\r\n },\r\n pack: {\r\n id: 'pack',\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n label: this.gettextCatalog.getString('{{ pack }}', { pack: this.terms.PACK.singular }),\r\n },\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/details-dialog/details-dialog.controller.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const downloadManageInventoryDetailedReportByTabRequest = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_REQUEST,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryDetailedReportByTabSuccess = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_SUCCESS,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryDetailedReportByTabFailure = (tabId) => ({\r\n type: actionTypes.DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE_FAILURE,\r\n tabId,\r\n});\r\n\r\nexport const downloadManageInventoryDetailedReportByTab = (config) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerIdFromStore = config.filters ? config.filters.retailerId : null;\r\n const retailerId = retailerIdFromStore || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(downloadManageInventoryDetailedReportByTabRequest(config.tabId));\r\n\r\n dispatch(downloadManageInventoryDetailedReportByTabSuccess(config.tabId));\r\n return api.downloadManageInventoryDetailedReportByTab(requestParams);\r\n } catch (error) {\r\n console.error('DOWNLOAD_MANAGE_INVENTORY_DETAILED_REPORT_BY_TYPE', error);\r\n dispatch(downloadManageInventoryDetailedReportByTabFailure(config.tabId));\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/download-detailed-report-by-tab.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchOrderDetailsRequest = () => ({\r\n type: actionTypes.FETCH_ORDER_DETAILS_REQUEST,\r\n name: 'orderDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderDetailsSuccess = (orderDetails) => ({\r\n type: actionTypes.FETCH_ORDER_DETAILS_SUCCESS,\r\n orderDetails,\r\n name: 'orderDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderDetailsFailure = () => ({\r\n type: actionTypes.FETCH_ORDER_DETAILS_FAILURE,\r\n name: 'orderDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchOrderDetails = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session, manageInventory } = getState();\r\n const { locale } = session;\r\n const { userSelection } = manageInventory;\r\n\r\n const retailerId = userSelection.retailerId || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n ...userSelection,\r\n retailerId,\r\n locale,\r\n };\r\n\r\n dispatch(fetchOrderDetailsRequest());\r\n\r\n const orderDetails = await api.fetchOrderDetails(requestParams);\r\n dispatch(fetchOrderDetailsSuccess(orderDetails));\r\n } catch (error) {\r\n console.error('FETCH_ORDER_DETAILS', error);\r\n dispatch(fetchOrderDetailsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-order-details.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPackDetailsRequest = () => ({\r\n type: actionTypes.FETCH_PACK_DETAILS_REQUEST,\r\n name: 'packDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchPackDetailsSuccess = (packDetails) => ({\r\n type: actionTypes.FETCH_PACK_DETAILS_SUCCESS,\r\n packDetails,\r\n name: 'packDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchPackDetailsFailure = () => ({\r\n type: actionTypes.FETCH_PACK_DETAILS_FAILURE,\r\n name: 'packDetailsLoadingStatus',\r\n});\r\n\r\nexport const fetchPackDetails = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session, manageInventory } = getState();\r\n const { locale } = session;\r\n const { userSelection } = manageInventory;\r\n\r\n const retailerId = userSelection.retailerId || config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n ...userSelection,\r\n retailerId,\r\n locale,\r\n };\r\n\r\n dispatch(fetchPackDetailsRequest());\r\n\r\n const packDetails = await api.fetchPackDetails(requestParams);\r\n dispatch(fetchPackDetailsSuccess(packDetails[0]));\r\n } catch (error) {\r\n console.error('FETCH_PACK_DETAILS', error);\r\n dispatch(fetchPackDetailsFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-pack-details.actions.js","import angular from 'angular';\r\n\r\nimport InventoryHeaderComponent from './inventory-header-component';\r\n\r\nexport default angular.module('inventory-header', []).component('inventoryHeader', new InventoryHeaderComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-header/inventory-header-module.js","import template from './inventory-header.html';\r\n\r\nclass InventoryHeaderController {\r\n backToSubordinatesList() {\r\n this.showSubordinates = !this.showSubordinates;\r\n this.retailer = {};\r\n }\r\n}\r\n\r\nexport default class InventoryHeaderComponent {\r\n constructor() {\r\n this.controller = InventoryHeaderController;\r\n this.template = template;\r\n this.bindings = {\r\n showSubordinates: '=',\r\n retailer: '=',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-header/inventory-header-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Back to retailer list\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Viewing data for \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-header/inventory-header.html\n// module id = 1474\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport OrderMonthSelectorComponent from './order-month-selector-component';\r\n\r\nexport default angular.module('order-month-selector', []).component('orderMonthSelector', new OrderMonthSelectorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-month-selector/order-month-selector-module.js","import moment from 'moment';\r\n\r\nimport template from './order-month-selector.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session }) => {\r\n const { salesPeriodTimestamp } = session;\r\n const { orderStatuses } = dictionary;\r\n\r\n return {\r\n orderStatuses,\r\n salesPeriodTimestamp,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass OrderMonthSelectorController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.months = this.getMonthList();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getMonthList() {\r\n const months = [];\r\n const startDate = moment.unix(this.salesPeriodTimestamp);\r\n const endDate = startDate.clone().subtract(11, 'M');\r\n const current = endDate.clone();\r\n while (current.format('X') <= startDate.format('X')) {\r\n months.push({\r\n monthNumber: current.month() + 1,\r\n monthName: current.format('MMMM'),\r\n year: current.year(),\r\n });\r\n current.add(1, 'M');\r\n }\r\n\r\n return months;\r\n }\r\n}\r\n\r\nexport default class OrderMonthSelectorComponent {\r\n constructor() {\r\n this.controller = OrderMonthSelectorController;\r\n this.template = template;\r\n this.bindings = {\r\n month: '=',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-month-selector/order-month-selector-component.js","module.exports = \"
    \\r\\n \\r\\n Month\\r\\n \\r\\n \\r\\n \\r\\n {{ month.monthName }} {{ month.year }}\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/order-month-selector/order-month-selector.html\n// module id = 1477\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport OrderStatusSelectorComponent from './order-status-selector-component';\r\n\r\nexport default angular.module('order-status-selector', []).component('orderStatusSelector', new OrderStatusSelectorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-status-selector/order-status-selector-module.js","import template from './order-status-selector.html';\r\n\r\nconst mapStateToThis = ({ dictionary }) => {\r\n const { orderStatuses } = dictionary;\r\n\r\n return {\r\n orderStatuses,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass OrderStatusSelectorController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class OrderStatusSelectorComponent {\r\n constructor() {\r\n this.controller = OrderStatusSelectorController;\r\n this.template = template;\r\n this.bindings = {\r\n orderStatus: '=',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/order-status-selector/order-status-selector-component.js","module.exports = \"
    \\r\\n \\r\\n Order Status\\r\\n \\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/order-status-selector/order-status-selector.html\n// module id = 1480\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryTabsComponent from './inventory-tabs-component';\r\n\r\nexport default angular.module('inventory-tabs', []).component('inventoryTabs', new InventoryTabsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-module.js","import { getRetailerId, isChainHeadSelector, isRetailerDashboardSelector, isStoreProfileSelector, isSuperChainSelector } from 'selectors';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\n\r\nimport { fetchPricePointsDictionary } from 'app/actions/dictionaries/price-points-dictionary.actions';\r\nimport template from './inventory-tabs.html';\r\n\r\nconst tabs = {\r\n games: 'games',\r\n packs: 'packs',\r\n liability: 'liability',\r\n orderHistory: 'orderHistory',\r\n inventoryHistory: 'inventoryHistory',\r\n};\r\n\r\nconst mapStateToThis = ({ session, ui, retailerDashboards, dictionary }) => {\r\n const { activeTab } = ui;\r\n const { locale, retailer } = session;\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const retailerIdFromSession = getRetailerId({ session });\r\n const isRetailerDashboard = isRetailerDashboardSelector({ retailerDashboards });\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isChainHeadOrSuperChain = isChainHead || isSuperChain;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n retailerIdFromSession,\r\n isStoreProfile,\r\n isRetailerDashboard,\r\n isChainHeadOrSuperChain,\r\n tabs,\r\n activeTab,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n checkAccess,\r\n fetchPricePointsDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject(\r\n '$ngRedux',\r\n '$rootScope',\r\n '$state',\r\n '$stateParams',\r\n '$location',\r\n '$sanitize',\r\n 'Notifications',\r\n 'AlertService',\r\n 'gettextCatalog',\r\n '$sce'\r\n)\r\nclass InventoryTabsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = parseInt(this.$state.params.retailerNo, 10) || this.retailerIdFromSession;\r\n this.canViewLiabilityTab = this.checkAccess('dashboard.widget.currentInstantGameLiability');\r\n\r\n this.initTab = this.getInitTab();\r\n\r\n this.onTabSelect(this.initTab);\r\n\r\n await this.fetchPricePointsDictionary();\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n getInitTab() {\r\n if (this.$stateParams.tabId) return this.$stateParams.tabId;\r\n\r\n if (this.isChainHeadOrSuperChain) return this.tabs.orderHistory;\r\n\r\n return this.tabs.games;\r\n }\r\n\r\n onTabSelect(tabId) {\r\n this.setActiveTab(tabId, 'activeTab');\r\n\r\n // eslint-disable-next-line default-case\r\n switch (tabId) {\r\n case 'games':\r\n this.$rootScope.title = this.gettextCatalog.getString('Games');\r\n break;\r\n case 'packs':\r\n this.$rootScope.title = this.gettextCatalog.getString('{{ pack }}', { pack: this.terms.PACK.plural });\r\n break;\r\n case 'liability':\r\n this.$rootScope.title = this.gettextCatalog.getString('Liability');\r\n break;\r\n case 'orderHistory':\r\n this.$rootScope.title = this.gettextCatalog.getString('Orders');\r\n break;\r\n case 'inventoryHistory':\r\n this.$rootScope.title = this.gettextCatalog.getString('History');\r\n break;\r\n }\r\n }\r\n}\r\n\r\nexport default class InventoryTabsComponent {\r\n constructor() {\r\n this.controller = InventoryTabsController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-tabs/inventory-tabs.html\n// module id = 1483\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryTransitionsHistoryChainTab from './inventory-transitions-history-chain-tab.component';\r\n\r\nexport default angular\r\n .module('inventory-transitions-history-chain-tab', [])\r\n .component('inventoryTransitionsHistoryChainTab', new InventoryTransitionsHistoryChainTab());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.module.js","import print from 'print-js';\r\nimport moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchInstantGamesTransitionsHistory } from 'manage-inventory/actions/fetch-instant-games-transitions-history.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\n\r\nimport template from './inventory-transitions-history-chain-tab.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary, manageInventory, ui, config }) => {\r\n const { serverTime, locale } = session;\r\n const { instantGamesTransitionsHistory, isLoading } = manageInventory;\r\n const { pagination, activeTab } = ui;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes, dateFormatPrintables, directionKey } = config;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n serverTime,\r\n locale,\r\n packStatuses,\r\n isLoading,\r\n instantGamesTransitionsHistory,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n dateFormatPrintables,\r\n directionKey,\r\n activeTab,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchInstantGamesTransitionsHistory,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog', 'tableService', 'Notifications')\r\nclass InventoryTransitionsHistoryChainTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.showSubordinates = true;\r\n this.tableConfig = this.tableService.initConfig({ configName: 'inventoryHistoryChain' });\r\n this.actions = this.getActions();\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.minDatePicker = moment.unix(this.serverTime).subtract(2, 'years').startOf('year').format(this.dateFormatPrintables);\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'status',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchInstantGamesTransitionsHistory, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.gamesFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { subordinateId: this.selectedRetailer.id };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n onPackSelection(pack) {\r\n const { retailerId } = this.gridModel.pagingModel.filters;\r\n const retailerNumber = this.selectedRetailer.displayNumber;\r\n this.onItemListSelection({ ...pack, retailerId, retailerNumber });\r\n const hideOrderDetails = pack.orderId === null;\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hideOrderDetails,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-transitions-history-chain-tab',\r\n type: 'html',\r\n });\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packGrossValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Current Status'),\r\n field: 'status',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ issued }}', { issued: this.packStatuses.I.typeDesc }),\r\n field: 'issuedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('{{ issuedMethod }}', { issuedMethod: this.terms.ISSUED_METHOD.singular }),\r\n field: 'orderType',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ confirmed }}', { confirmed: this.packStatuses.C.typeDesc }),\r\n field: 'confirmedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ activated }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ activated }}', { activated: this.packStatuses.A.typeDesc }),\r\n field: 'activatedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ settled }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ settled }}', { settled: this.packStatuses.S.typeDesc }),\r\n field: 'settledDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onRetailerClick(retailer) {\r\n this.selectedRetailer = retailer;\r\n this.showSubordinates = false;\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n subordinateId: retailer.id,\r\n };\r\n\r\n this.search();\r\n }\r\n}\r\n\r\nexport default class InventoryTransitionsHistoryChainTabComponent {\r\n constructor() {\r\n this.controller = InventoryTransitionsHistoryChainTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ $ctrl.tableService.getHeaderTextForField($ctrl.headers, 'status') }}\\r\\n \\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n Viewing history for\\r\\n \\r\\n Retailer No\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Return to retailer list\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ order.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.status }}\\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-transitions-history-chain-tab/inventory-transitions-history-chain-tab.html\n// module id = 1486\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryTransitionsHistoryIndependentTabComponent from './inventory-transitions-history-independent-tab.component';\r\n\r\nexport default angular\r\n .module('inventory-transitions-history-independent-tab', [])\r\n .component('inventoryTransitionsHistoryIndependentTab', new InventoryTransitionsHistoryIndependentTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.module.js","import print from 'print-js';\r\nimport moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchInstantGamesTransitionsHistory } from 'manage-inventory/actions/fetch-instant-games-transitions-history.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\n\r\nimport template from './inventory-transitions-history-independent-tab.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary, manageInventory, ui, config }) => {\r\n const { serverTime, locale } = session;\r\n const { instantGamesTransitionsHistory, isLoading } = manageInventory;\r\n const { pagination, activeTab } = ui;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes, dateFormatPrintables, directionKey } = config;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n serverTime,\r\n locale,\r\n packStatuses,\r\n isLoading,\r\n instantGamesTransitionsHistory,\r\n pagination,\r\n pageSizeKey,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n dateFormatPrintables,\r\n directionKey,\r\n activeTab,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchInstantGamesTransitionsHistory,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog', 'tableService', 'Notifications')\r\nclass InventoryTransitionsHistoryIndependentTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.tableConfig = this.tableService.initConfig({ configName: 'inventoryHistoryIndependent' });\r\n this.actions = this.getActions();\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.minDatePicker = moment.unix(this.serverTime).subtract(2, 'years').startOf('year').format(this.dateFormatPrintables);\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'status',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchInstantGamesTransitionsHistory, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.gamesFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n onPackSelection(pack) {\r\n this.onItemListSelection(pack);\r\n const hideOrderDetails = pack.orderId === null;\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hideOrderDetails,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-transitions-history-independent-tab',\r\n type: 'html',\r\n });\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packGrossValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Current Status'),\r\n field: 'status',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ issued }}', { issued: this.packStatuses.I.typeDesc }),\r\n field: 'issuedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('{{ issuedMethod }}', { issuedMethod: this.terms.ISSUED_METHOD.singular }),\r\n field: 'orderType',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ confirmed }}', { confirmed: this.packStatuses.C.typeDesc }),\r\n field: 'confirmedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ activated }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ activated }}', { activated: this.packStatuses.A.typeDesc }),\r\n field: 'activatedDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ settled }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ settled }}', { settled: this.packStatuses.S.typeDesc }),\r\n field: 'settledDate',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n}\r\n\r\nexport default class InventoryTransitionsHistoryIndependentTabComponent {\r\n constructor() {\r\n this.controller = InventoryTransitionsHistoryIndependentTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n Invalid characters, only numbers are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Invalid date.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Invalid date.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ item.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.status }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ item.orderType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ item.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n {{ item.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ item.packNo }}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ item.status }}\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ item.orderType }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-transitions-history-independent-tab/inventory-transitions-history-independent-tab.html\n// module id = 1489\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryOrderHistoryIndependentTabComponent from './inventory-order-history-independet-tab-component';\r\n\r\nexport default angular\r\n .module('inventory-order-history-independent-tab', [])\r\n .component('inventoryOrderHistoryIndependentTab', new InventoryOrderHistoryIndependentTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-module.js","import print from 'print-js';\r\nimport moment from 'moment';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport { fetchOrderHistoryList } from 'manage-inventory/actions/fetch-order-history-list.actions';\r\n\r\nimport template from './inventory-order-history-independet-tab.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session, ui, config, manageInventory }) => {\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey, defaultPageNo, trackingUrl } = config;\r\n const { orderHistoryLoadingStatus, orderHistory } = manageInventory;\r\n const { locale, salesPeriodTimestamp } = session;\r\n const { activeTab, pagination } = ui;\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n locale,\r\n activeTab,\r\n pagination,\r\n pageSizeKey,\r\n trackingUrl,\r\n orderHistory,\r\n directionKey,\r\n defaultPageNo,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n salesPeriodTimestamp,\r\n orderHistoryLoadingStatus,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchOrderHistoryList,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'tableService', 'manageInventoryTableService', '$stateParams')\r\nclass InventoryOrderHistoryIndependentTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.monthNumber = moment.unix(this.salesPeriodTimestamp).month() + 1;\r\n\r\n this.tableConfig = this.tableService.initConfig({ configName: 'orderHistoryIndependent' });\r\n this.headers = this.tableConfig.getHeaders(this.manageInventoryTableService.getHeaders());\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'orderIssuedDate',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchOrderHistoryList, this.defaultParams);\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n refresh: true,\r\n monthNumber: this.monthNumber,\r\n locale: this.locale,\r\n };\r\n\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { monthNumber: this.monthNumber };\r\n this.search();\r\n }\r\n\r\n orderDetails(order) {\r\n const { retailerId } = this.gridModel.pagingModel.filters;\r\n const retailerNumber = this.selectedRetailerId;\r\n this.onItemListSelection({ ...order, retailerId, retailerNumber });\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hidePackDetails: true,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n tabId: this.activeTab,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(params);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-order-history-independet-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryOrderHistoryIndependentTabComponent {\r\n constructor() {\r\n this.controller = InventoryOrderHistoryIndependentTabController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n\\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-order-history-independet-tab/inventory-order-history-independet-tab.html\n// module id = 1492\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryOrderHistoryChainTabComponent from './inventory-order-history-chain-tab-component';\r\n\r\nexport default angular\r\n .module('inventory-order-history-chain-tab', [])\r\n .component('inventoryOrderHistoryChainTab', new InventoryOrderHistoryChainTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-module.js","import moment from 'moment';\r\nimport print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport { fetchOrderHistoryList } from 'manage-inventory/actions/fetch-order-history-list.actions';\r\n\r\nimport template from './inventory-order-history-chain-tab.html';\r\n\r\nconst mapStateToThis = ({ dictionary, session, ui, config, manageInventory }) => {\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey, directionKey, defaultPageNo, trackingUrl } = config;\r\n const { orderHistoryLoadingStatus, orderHistory } = manageInventory;\r\n const { salesPeriodTimestamp, locale } = session;\r\n const { activeTab, pagination } = ui;\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n locale,\r\n activeTab,\r\n pagination,\r\n pageSizeKey,\r\n trackingUrl,\r\n orderHistory,\r\n directionKey,\r\n defaultPageNo,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n salesPeriodTimestamp,\r\n orderHistoryLoadingStatus,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n onItemListSelection,\r\n fetchOrderHistoryList,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', 'tableService', 'manageInventoryTableService', '$stateParams')\r\nclass InventoryOrderHistoryChainTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.showSubordinates = true;\r\n this.monthNumber = moment.unix(this.salesPeriodTimestamp).month() + 1;\r\n\r\n this.actions = this.getActions();\r\n\r\n this.tableConfig = this.tableService.initConfig({ configName: 'orderHistoryChain' });\r\n this.headers = this.tableConfig.getHeaders(this.manageInventoryTableService.getHeaders());\r\n\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'orderIssuedDate',\r\n [this.directionKey]: false,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n this.gridModel = initGrid(this.fetchOrderHistoryList, this.defaultParams);\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n refresh: true,\r\n monthNumber: this.monthNumber,\r\n locale: this.locale,\r\n };\r\n\r\n this.preserveFilters();\r\n\r\n if (!this.showSubordinates) {\r\n this.search();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { monthNumber: this.monthNumber, subordinateId: this.selectedRetailer.id };\r\n this.search();\r\n }\r\n\r\n orderDetails(order) {\r\n const { retailerId } = this.gridModel.pagingModel.filters;\r\n const retailerNumber = this.selectedRetailer.displayNumber;\r\n this.onItemListSelection({ ...order, retailerId, retailerNumber });\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hidePackDetails: true,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n tabId: this.activeTab,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(params);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-order-history-chain-tab',\r\n type: 'html',\r\n });\r\n }\r\n\r\n onRetailerClick(retailer) {\r\n this.selectedRetailer = retailer;\r\n this.showSubordinates = false;\r\n\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n subordinateId: retailer.id,\r\n };\r\n\r\n this.search();\r\n }\r\n}\r\n\r\nexport default class InventoryOrderHistoryChainTabComponent {\r\n constructor() {\r\n this.controller = InventoryOrderHistoryChainTabController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab-component.js","module.exports = \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Viewing orders for\\r\\n \\r\\n Retailer No\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Return to retailer list\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.storeNum }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ order.orderNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ order.storeNum }}\\r\\n \\r\\n\\r\\n \\r\\n {{ order.statusDesc }}\\r\\n \\r\\n\\r\\n \\r\\n {{ order.orderType }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ order.prefixedTrackingNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-order-history-chain-tab/inventory-order-history-chain-tab.html\n// module id = 1495\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryGamesTabComponent from './inventory-games-tab-component';\r\n\r\nexport default angular.module('inventory-games-tab', []).component('inventoryGamesTab', new InventoryGamesTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-module.js","import print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport template from './inventory-games-tab.html';\r\n\r\nimport { fetchGamesList } from '../../actions/fetch-games-list.actions';\r\n\r\nconst mapStateToThis = ({ manageInventory, config, ui, dictionary, session }) => {\r\n const { games, isLoading } = manageInventory;\r\n const { defaultPageSizes, sortColumnKey, pageSizeKey } = config;\r\n const { pagination, activeTab } = ui;\r\n const { locale } = session;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n games,\r\n terms,\r\n isLoading,\r\n activeTab,\r\n pagination,\r\n pageSizeKey,\r\n packStatuses,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchGamesList,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog')\r\nclass InventoryGamesTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'gameName',\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n this.gridModel = initGrid(this.fetchGamesList, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.gamesFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack, {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ pack }} {{ issued }}', {\r\n pack: this.terms.PACK.singular,\r\n issued: this.packStatuses.I.typeDesc,\r\n }),\r\n field: 'issuedCnt',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack, {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ pack }} {{ confirmed }}', {\r\n pack: this.terms.PACK.singular,\r\n confirmed: this.packStatuses.C.typeDesc,\r\n }),\r\n field: 'confirmedCnt',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} on Display', { pack: this.terms.PACK.singular }),\r\n field: 'onDisplayCnt',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-games-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryGamesTabComponent {\r\n constructor() {\r\n this.controller = InventoryGamesTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ game.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ game.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ game.issuedCnt }}\\r\\n \\r\\n \\r\\n \\r\\n {{ game.confirmedCnt }}\\r\\n \\r\\n \\r\\n \\r\\n {{ game.onDisplayCnt }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n {{ game.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n {{ game.issuedCnt }}\\r\\n \\r\\n\\r\\n \\r\\n {{ game.confirmedCnt }}\\r\\n \\r\\n\\r\\n \\r\\n {{ game.onDisplayCnt }}\\r\\n \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-games-tab/inventory-games-tab.html\n// module id = 1498\n// module chunks = 0","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchGamesListRequest = () => ({\r\n type: actionTypes.FETCH_GAMES_LIST_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchGamesListSuccess = (games, pagination) => ({\r\n type: actionTypes.FETCH_GAMES_LIST_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n games,\r\n pagination,\r\n});\r\n\r\nexport const fetchGamesListFailure = () => ({\r\n type: actionTypes.FETCH_GAMES_LIST_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchGamesList = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchGamesListRequest());\r\n\r\n const { content, ...pagination } = await api.fetchGamesList(requestParams);\r\n dispatch(fetchGamesListSuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_GAMES_LIST', error);\r\n dispatch(fetchGamesListFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-games-list.actions.js","import angular from 'angular';\r\n\r\nimport InventoryPacksTabComponent from './inventory-packs-tab-component';\r\n\r\nexport default angular.module('inventory-packs-tab', []).component('inventoryPacksTab', new InventoryPacksTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-module.js","import print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\nimport { onItemListSelection } from 'manage-inventory/actions/manage-inventory.actions';\r\nimport { fetchPacksList } from '../../actions/fetch-packs-list.actions';\r\nimport { fetchPacksGrossValue } from '../../actions/fetch-pack-list-gross-value.actions';\r\n\r\nimport template from './inventory-packs-tab.html';\r\n\r\nconst mapStateToThis = ({ dictionary, manageInventory, ui, config, session }) => {\r\n const { pricePoints, packStatuses } = dictionary;\r\n const { packs, isLoading, packGrossValue } = manageInventory;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes } = config;\r\n const { pagination, activeTab } = ui;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n packs,\r\n terms,\r\n isLoading,\r\n activeTab,\r\n pagination,\r\n pricePoints,\r\n pageSizeKey,\r\n packStatuses,\r\n sortColumnKey,\r\n packGrossValue,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchPacksList,\r\n fetchPacksGrossValue,\r\n onItemListSelection,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog', 'Notifications')\r\nclass InventoryPacksTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.headers = this.getHeaders();\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n this.noDataText = this.gettextCatalog.getString('{{ pack }} not found.', { pack: this.terms.PACK.singular });\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'gameName',\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n this.gridModel = initGrid(this.fetchPacksList, this.defaultParams);\r\n this.preserveFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Est. % Sold'),\r\n field: 'soldOutPercent',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Status'),\r\n field: 'status',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Days in Status'),\r\n field: 'daysInStatus',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('Order {{ issuedMethod }}', { issuedMethod: this.terms.ISSUED_METHOD.singular }),\r\n field: 'displayIssuedMethod',\r\n sortable: false,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n if (this.gamesFilters && this.packFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n this.fetchPacksGrossValue(this.preservedFilters);\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters, retailerId: this.$stateParams.retailerNo };\r\n }\r\n\r\n searchByPack(packId) {\r\n const pieces = packId.split('_');\r\n const pack = {\r\n gameNumber: pieces[0],\r\n packNo: pieces[1],\r\n portionNumber: pieces[2] || 1,\r\n };\r\n this.packDetails(pack);\r\n }\r\n\r\n packDetails(pack) {\r\n this.onItemListSelection(pack);\r\n const hideOrderDetails = pack.orderId === null;\r\n\r\n this.Notifications.showComplexDialog({\r\n component: 'detailsDialog',\r\n resolve: {\r\n hideOrderDetails,\r\n },\r\n });\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-packs-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryPacksTabComponent {\r\n constructor() {\r\n this.controller = InventoryPacksTabController;\r\n this.template = template;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab-component.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPacksListRequest = () => ({\r\n type: actionTypes.FETCH_PACKS_LIST_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksListSuccess = (packs, pagination) => ({\r\n type: actionTypes.FETCH_PACKS_LIST_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n packs,\r\n pagination,\r\n});\r\n\r\nexport const fetchPacksListFailure = () => ({\r\n type: actionTypes.FETCH_PACKS_LIST_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksList = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchPacksListRequest());\r\n\r\n const { content: packs, ...pagination } = await api.fetchPacksList(requestParams);\r\n dispatch(fetchPacksListSuccess(packs, pagination));\r\n } catch (error) {\r\n console.error('FETCH_PACKS_LIST', error);\r\n dispatch(fetchPacksListFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-packs-list.actions.js","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchPacksGrossValueListRequest = () => ({\r\n type: actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksGrossValueListSuccess = (packsGrossValue) => ({\r\n type: actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n packsGrossValue\r\n});\r\n\r\nexport const fetchPacksGrossValueListFailure = () => ({\r\n type: actionTypes.FETCH_PACKS_GROSS_VALUE_LIST_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchPacksGrossValue = (config) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchPacksGrossValueListRequest());\r\n\r\n const grossValue = await api.fetchPacksGrossValue(requestParams);\r\n\r\n dispatch(fetchPacksGrossValueListSuccess(grossValue));\r\n } catch (error) {\r\n console.error('FETCH_PACKS_GROSS_VALUE_LIST', error);\r\n dispatch(fetchPacksGrossValueListFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-pack-list-gross-value.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Pack Value\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Price Point\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n {{ pack }} Status\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ status.typeDesc }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Pack Value\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.status | translate}}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.daysInStatus }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.gamePackOrderType }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ pack.gameName }}\\r\\n
    \\r\\n\\r\\n
    \\r\\n {{ $ctrl.headers[2].text }}\\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n {{ pack.status }} - {{ pack.daysInStatus }}\\r\\n {{pack.daysInStatus > 1 ? 'days ago' : 'day ago'}}\\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n\\r\\n \\r\\n {{ pack.gamePackOrderType }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-packs-tab/inventory-packs-tab.html\n// module id = 1504\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport InventoryLiabilityTabComponent from './inventory-liability-tab-component';\r\n\r\nexport default angular.module('inventory-liability-tab', []).component('inventoryLiabilityTab', new InventoryLiabilityTabComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-module.js","import print from 'print-js';\r\n\r\nimport { initGrid } from 'utils/grid/grid';\r\n\r\nimport api from 'dashboard/resources/current-liability.api.ts';\r\n\r\nimport { fetchLiabilities } from 'manage-inventory/actions/fetch-liabilities.actions';\r\nimport { downloadManageInventoryReportByTab } from 'manage-inventory/actions/download-report-by-tab.actions';\r\n\r\nimport template from './inventory-liability-tab.html';\r\n\r\nconst mapStateToThis = ({ manageInventory, ui, config, dictionary, session }) => {\r\n const { pagination, activeTab } = ui;\r\n const { isLoading, liabilities } = manageInventory;\r\n const { pageSizeKey, sortColumnKey, defaultPageSizes } = config;\r\n const { locale } = session;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n activeTab,\r\n isLoading,\r\n pagination,\r\n pageSizeKey,\r\n liabilities,\r\n packStatuses,\r\n sortColumnKey,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchLiabilities,\r\n downloadManageInventoryReportByTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$stateParams', 'gettextCatalog')\r\nclass InventoryLiabilityTabController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.print = print;\r\n }\r\n\r\n $onInit() {\r\n this.actions = this.getActions();\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n [this.sortColumnKey]: 'gameName',\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n this.gridModel = initGrid(this.fetchLiabilities, this.defaultParams);\r\n this.search();\r\n\r\n api.fetchCurrentLiability(this.$stateParams.retailerNo).then((value) => {\r\n this.outstandingAmount = value;\r\n });\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n clearFilters() {\r\n this.filters = {};\r\n this.applyFilters();\r\n }\r\n\r\n search() {\r\n if (this.liabilityFilters && this.liabilityFilters.$invalid) return;\r\n\r\n this.gridModel.applyFilters().then(() => {\r\n this.preserveFilters();\r\n });\r\n }\r\n\r\n clear() {\r\n this.gridModel.pagingModel.filters = { gameNumber: '' };\r\n this.search();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'xlsx',\r\n },\r\n {\r\n type: 'print',\r\n function: this.handlePrint.bind(this),\r\n },\r\n ];\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game No.'),\r\n field: 'gameNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} No.', { pack: this.terms.PACK.singular }),\r\n field: 'packNo',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Price Point'),\r\n field: 'pieceValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n /// {{ pack }} is Lottery term using to determine Pack.\r\n text: this.gettextCatalog.getString('{{ pack }} Value', { pack: this.terms.PACK.singular }),\r\n field: 'packValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Current Status'),\r\n field: 'currentStatus',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Est. % Sold'),\r\n field: 'soldOutPercent',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Days in Status'),\r\n field: 'daysInStatus',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onDownloadReport() {\r\n const pagingModel = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const requestParams = {\r\n ...pagingModel,\r\n tabId: this.activeTab,\r\n retailerId: this.$stateParams.retailerNo,\r\n };\r\n\r\n return this.downloadManageInventoryReportByTab(requestParams);\r\n }\r\n\r\n handlePrint() {\r\n this.print({\r\n printable: 'inventory-liability-tab',\r\n type: 'html',\r\n });\r\n }\r\n}\r\n\r\nexport default class InventoryLiabilityTabComponent {\r\n constructor() {\r\n this.controller = InventoryLiabilityTabController;\r\n this.template = template;\r\n this.bindings = {\r\n // TO-DO: Load current liability\r\n loadCurrentLiability: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab-component.js","import DepsService from 'services/dependencies.js';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchCurrentLiability = (retailerId: number): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.myCurrentLiability;\r\n const urlParams = { retailerId };\r\n const queryParams = {};\r\n\r\n return DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchCurrentLiability,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/current-liability.api.ts","import * as api from '../resources/manage-inventory.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchLiabilitiesRequest = () => ({\r\n type: actionTypes.FETCH_LIABILITIES_REQUEST,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchLiabilitiesSuccess = (liabilities, pagination) => ({\r\n type: actionTypes.FETCH_LIABILITIES_SUCCESS,\r\n name: 'manageInventoryLoadingStatus',\r\n pagination,\r\n liabilities,\r\n});\r\n\r\nexport const fetchLiabilitiesFailure = () => ({\r\n type: actionTypes.FETCH_LIABILITIES_FAILURE,\r\n name: 'manageInventoryLoadingStatus',\r\n});\r\n\r\nexport const fetchLiabilities = (config = {}) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = config.retailerId || session.retailer.retailerId;\r\n\r\n const requestParams = {\r\n ...config,\r\n locale,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchLiabilitiesRequest());\r\n\r\n const { content: liabilities, ...pagination } = await api.fetchLiabilities(requestParams);\r\n dispatch(fetchLiabilitiesSuccess(liabilities, pagination));\r\n } catch (error) {\r\n console.error('FETCH_LIABILITIES', error);\r\n dispatch(fetchLiabilitiesFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/actions/fetch-liabilities.actions.js","module.exports = \"\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n {{ instant }} Game Liability\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n The outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n Invalid characters, only numbers and commas are allowed.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ instant }} Game Liability\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n The outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ pack.currentStatus }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n \\r\\n \\r\\n {{ pack.daysInStatus }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ pack.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ pack.packNo }}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ pack.currentStatus }}\\r\\n \\r\\n\\r\\n \\r\\n {{ pack.daysInStatus }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n {{ pack.gameNumber }}\\r\\n \\r\\n\\r\\n \\r\\n {{ pack.soldOutPercent | lspPercent }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/manage-inventory/components/inventory-liability-tab/inventory-liability-tab.html\n// module id = 1509\n// module chunks = 0","import { isChainHeadSelector, isChainSubordinateSelector, isIndependentSelector } from 'selectors';\r\nimport _ from 'lodash';\r\n\r\nconst mapStateToThis = ({ dictionary, session }) => {\r\n const { locale } = session;\r\n const { orderStatuses } = dictionary;\r\n const isIndependent = isIndependentSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isChainSubordinate = isChainSubordinateSelector({ session });\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n orderStatuses,\r\n isIndependent,\r\n isChainHead,\r\n isChainSubordinate,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('gettextCatalog', '$ngRedux')\r\nclass ManageInventoryTableService {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.definitions = {\r\n ORDER_NO: {\r\n text: this.gettextCatalog.getString('Order No.'),\r\n field: 'orderNumber',\r\n sortable: true,\r\n },\r\n ORDER_STATUS: {\r\n text: this.gettextCatalog.getString('Order Status'),\r\n field: 'statusDesc',\r\n sortable: true,\r\n },\r\n ORDER_ISSUED_DATE: {\r\n /// {{ issued }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ issued }}', { issued: _.get(this.orderStatuses, ['I', 'typeDesc']) }),\r\n field: 'orderIssuedDate',\r\n sortable: true,\r\n },\r\n ORDER_CONFIRMED_DATE: {\r\n /// {{ confirmed }} is Lottery term using to determine Pack status.\r\n text: this.gettextCatalog.getString('{{ confirmed }}', { confirmed: _.get(this.orderStatuses, ['C', 'typeDesc']) }),\r\n field: 'orderConfirmedDate',\r\n sortable: true,\r\n },\r\n ORDER_TYPE: {\r\n /// {{ issuedMethod }} is Lottery term using to determine issued method.\r\n text: this.gettextCatalog.getString('{{ issuedMethod }}', { issuedMethod: _.get(this.terms, ['ISSUED_METHOD', 'singular']) }),\r\n field: 'orderType',\r\n sortable: true,\r\n },\r\n ORDER_GROSS_VALUE: {\r\n text: this.gettextCatalog.getString('Total Packs Value'),\r\n field: 'detailGrossValue',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n TRACKING_NO: {\r\n text: this.gettextCatalog.getString('Tracking No.'),\r\n field: 'prefixedTrackingNumber',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n STORE_NO: {\r\n text: this.gettextCatalog.getString('Store No.'),\r\n field: 'storeNum',\r\n sortable: false,\r\n },\r\n RETAILER_NO: {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerId',\r\n sortable: false,\r\n },\r\n };\r\n }\r\n\r\n getHeaders() {\r\n const {\r\n ORDER_NO,\r\n ORDER_STATUS,\r\n ORDER_ISSUED_DATE,\r\n ORDER_CONFIRMED_DATE,\r\n ORDER_TYPE,\r\n ORDER_GROSS_VALUE,\r\n TRACKING_NO,\r\n STORE_NO,\r\n RETAILER_NO,\r\n } = this.definitions;\r\n\r\n if (this.isIndependent || this.isChainSubordinate) {\r\n return [ORDER_NO, ORDER_STATUS, ORDER_ISSUED_DATE, ORDER_CONFIRMED_DATE, ORDER_TYPE, TRACKING_NO, ORDER_GROSS_VALUE];\r\n }\r\n\r\n if (this.isChainHead) {\r\n return [\r\n STORE_NO,\r\n RETAILER_NO,\r\n ORDER_NO,\r\n ORDER_STATUS,\r\n ORDER_ISSUED_DATE,\r\n ORDER_CONFIRMED_DATE,\r\n ORDER_TYPE,\r\n TRACKING_NO,\r\n ORDER_GROSS_VALUE,\r\n ];\r\n }\r\n\r\n console.error(`MANAGE INVENTORY TABLE SERVICE: table definition does not exist for given retailer type`);\r\n return [];\r\n }\r\n}\r\n\r\nexport default ManageInventoryTableService;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/manage-inventory/manage-inventory-table-service.js","import 'ng-sortable';\r\nimport 'tooltips';\r\nimport angular from 'angular';\r\nimport rwDashboardErrorCodeModule from './config/errorcode.conf';\r\nimport rwDashboardRoutingModule from './rw-dashboard-routing-module';\r\nimport rwDashboardWidgetModule from './components/dashboard-widget/dashboard-widget-module';\r\nimport retailerFilterModule from './components/retailer-filter/retailer-filter-module';\r\nimport RwDashboardsComponent from './components/rw-dashboards-component';\r\nimport RwDashboardComponent from './components/rw-dashboard/rw-dashboard-component';\r\nimport RwRenderWidgetsComponent from './components/rw-render-widgets/rw-render-widgets-component';\r\nimport RwRemoveWidgetComponent from './components/rw-remove-widget/rw-remove-widget-component';\r\nimport RwMoveWidgetComponent from './components/rw-move-widget/rw-move-widget-component';\r\nimport RwRenderWidgetDirective from './components/rw-render-widget/rw-render-widget-directive';\r\n\r\nexport default angular\r\n .module('dashboard', [\r\n rwDashboardErrorCodeModule.name,\r\n rwDashboardRoutingModule.name,\r\n rwDashboardWidgetModule.name,\r\n retailerFilterModule.name,\r\n 'as.sortable',\r\n '720kb.tooltips',\r\n ])\r\n .component('rwDashboards', new RwDashboardsComponent())\r\n .component('rwDashboard', new RwDashboardComponent())\r\n .component('rwRenderWidgets', new RwRenderWidgetsComponent())\r\n .component('rwRemoveWidget', new RwRemoveWidgetComponent())\r\n .component('rwMoveWidget', new RwMoveWidgetComponent())\r\n .directive('rwRenderWidget', RwRenderWidgetDirective);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/dashboard-module.js","import angular from 'angular';\r\nimport merge from 'lodash/merge';\r\n\r\nexport default angular.module('dashboard-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = merge(appFactory.deps.config.errorCodes, {\r\n dashboard: {\r\n REPORT_NOT_FOUND: () => ({ title: gettextCatalog.getString('Report not found.') }),\r\n REPORT_GENERATION_FAILED: () => ({ title: gettextCatalog.getString('Report generation failed.') }),\r\n REPORT_NOT_AVAILABLE: () => ({ title: gettextCatalog.getString('Report not yet available.') }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/config/errorcode.conf.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('rw-dashboard-routing', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('dashboard-summary', {\r\n parent: 'arw',\r\n url: '/dashboard-summary/:retailerNo',\r\n template: ``,\r\n redirectTo: 'home-view',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Summary Dashboard')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('dashboard-instant', {\r\n parent: 'arw',\r\n url: '/dashboard-instant/:retailerNo',\r\n template: '',\r\n redirectTo: 'dashboard-summary',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Instants Dashboard')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('dashboard-view-storeprofiles-summary', {\r\n parent: 'arw',\r\n url: '/dashboard-store-profile/:retailerNo',\r\n template: '',\r\n redirectTo: 'dashboard-instant',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Store Profile')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/rw-dashboard-routing-module.js","import angular from 'angular';\r\nimport topVltGamesWidgetModule from './top-vlt-games/top-vlt-games-widget-module';\r\nimport financialStatusWidgetModule from './financial-status/financial-status-widget-module';\r\nimport siteOperationalStatusWidgetModule from './site-operational-status/site-operational-status-widget-module';\r\nimport ticketsWidgetModule from './tickets/tickets-widget-module';\r\nimport configurableLinkWidgetModule from './configurable-link/configurable-link-widget-module';\r\nimport earningsWidgetModule from './earnings/earnings-widget-module';\r\nimport eftAmountWidgetModule from './eft-amount/eft-amount-widget-module';\r\nimport jackpotsNextDrawsWidgetModule from './jackpots-next-draws/jackpots-next-draws-widget-module';\r\nimport netSalesWidgetModule from './net-sales/net-sales-widget-module';\r\nimport bigWinnersWidgetModule from './big-winners/big-winners-widget-module';\r\nimport cumulativeWinnersWidgetModule from './cumulative-winners/cumulative-winners-widget-module';\r\nimport currentInstantGameLiabilityWidgetModule from './current-instant-game-liability/current-instant-game-liability-widget-module';\r\nimport actualAndProjectedSettlementsWidgetModule from './actual-and-projected-settlements/actual-and-projected-settlements-widget-module';\r\nimport newGamesWidgetModule from './new-games/new-games-widget-module';\r\nimport mySlowMovingGamesWidgetModule from './my-slow-moving-games/my-slow-moving-games-widget-module';\r\nimport myPricePointMixWidgetModule from './my-price-point-mix/my-price-point-mix-widget-module';\r\nimport myNetSalesPerformanceWidgetModule from './my-net-sales-performance/my-net-sales-performance-widget-module.ts';\r\nimport viewFullGameInventoryWidgetModule from './view-full-game-inventory/view-full-game-inventory-widget-module';\r\nimport topSellingGamesWidgetModule from './top-selling-games/top-selling-games-widget-module';\r\nimport messagesWidgetModule from './messages/messages-widget-module';\r\nimport lotteryRepresentativesWidgetModule from './lottery-representatives/lottery-representatives-widget-module';\r\nimport selfServiceOutOfStockWidgetModule from './self-service-out-of-stock/self-service-out-of-stock-widget-module';\r\nimport licenseRenewalWidgetModule from './license-renewal/license-renewal-widget-module';\r\nimport bondRenewalWidgetModule from './bond-renewal/bond-renewal-widget-module';\r\nimport sellingTerminalsModule from './selling-terminals/selling-terminals-widget-module';\r\nimport chainSalesRankWidgetModule from './chain-sales-rank/chain-sales-rank-widget-module';\r\nimport storeSalesRankWidgetModule from './store-sales-rank/store-sales-rank-widget-module';\r\nimport endOfGameWidgetModule from './end-of-game/end-of-game-widget-module';\r\nimport lvmSalesWidgetModule from './lvm-sales/lvm-sales-module';\r\nimport alertsWidgetModule from './alerts/alerts-widget-module';\r\nimport announcementsWidgetModule from './announcements/announcements-module';\r\nimport gamesEndingWidgetModule from './games-ending/games-ending-widget-module';\r\nimport myInstantTicketSalesWidgetModule from './my-instant-ticket-sales/my-instant-ticket-sales-widget-module';\r\nimport CommonWidgetComponent from '../common/common-widget/common-widget-component';\r\n\r\nexport default angular\r\n .module('dashboard-widget', [\r\n topVltGamesWidgetModule.name,\r\n financialStatusWidgetModule.name,\r\n siteOperationalStatusWidgetModule.name,\r\n ticketsWidgetModule.name,\r\n configurableLinkWidgetModule.name,\r\n earningsWidgetModule.name,\r\n eftAmountWidgetModule.name,\r\n jackpotsNextDrawsWidgetModule.name,\r\n netSalesWidgetModule.name,\r\n bigWinnersWidgetModule.name,\r\n cumulativeWinnersWidgetModule.name,\r\n currentInstantGameLiabilityWidgetModule.name,\r\n actualAndProjectedSettlementsWidgetModule.name,\r\n newGamesWidgetModule.name,\r\n mySlowMovingGamesWidgetModule.name,\r\n myPricePointMixWidgetModule.name,\r\n myNetSalesPerformanceWidgetModule.name,\r\n viewFullGameInventoryWidgetModule.name,\r\n topSellingGamesWidgetModule.name,\r\n messagesWidgetModule.name,\r\n lotteryRepresentativesWidgetModule.name,\r\n selfServiceOutOfStockWidgetModule.name,\r\n licenseRenewalWidgetModule.name,\r\n bondRenewalWidgetModule.name,\r\n sellingTerminalsModule.name,\r\n chainSalesRankWidgetModule.name,\r\n storeSalesRankWidgetModule.name,\r\n endOfGameWidgetModule.name,\r\n lvmSalesWidgetModule.name,\r\n alertsWidgetModule.name,\r\n announcementsWidgetModule.name,\r\n gamesEndingWidgetModule.name,\r\n myInstantTicketSalesWidgetModule.name,\r\n ])\r\n .component('commonWidget', new CommonWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/dashboard-widget-module.js","import angular from 'angular';\r\nimport TopVltGamesWidgetComponent from './top-vlt-games-widget-component';\r\n\r\nexport default angular.module('top-vlt-games-widget', []).component('topVltGames', new TopVltGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport api from 'dashboard/resources/top-vlt-games.api';\r\nimport { isChainHeadSelector } from 'selectors';\r\n\r\nimport template from './top-vlt-games-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n isChainHead,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass TopVltGamesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchTopVltGames(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class TopVltGamesWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.template = template;\r\n this.controller = TopVltGamesWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchTopVltGames = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.topVltGames;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchTopVltGames,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/top-vlt-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Top VLT Games\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Based on validations for the past week. \\\"X\\\" indicates no validations for this game in the past week.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Ranking in\\r\\n \\r\\n
    \\r\\n \\r\\n state\\r\\n \\r\\n \\r\\n chain\\r\\n \\r\\n \\r\\n store\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n {{ game.gameName }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ game.stateSalesRank }}\\r\\n \\r\\n \\r\\n {{ game.storeSalesRank }}\\r\\n \\r\\n \\r\\n X\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/top-vlt-games/top-vlt-games-widget.html\n// module id = 1522\n// module chunks = 0","import angular from 'angular';\r\nimport financialStatusWidgetContentModule from './components/financial-status-widget-content-module';\r\nimport FinancialStatusWidgetComponent from './financial-status-widget-component';\r\n\r\nexport default angular\r\n .module('financial-status-widget', [financialStatusWidgetContentModule.name, 'rw-retailer-info', 'rw-multistore-selector'])\r\n .component('financialStatusWidget', new FinancialStatusWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-module.js","import angular from 'angular';\r\n\r\nimport FinancialStatusWidgetContentComponent from './financial-status-widget-content-component';\r\n\r\nexport default angular\r\n .module('financial-status-widget-content', [])\r\n .component('financialStatusWidgetContent', new FinancialStatusWidgetContentComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-module.js","\r\nimport { fetchSiteFinancialStatus } from 'dashboard/actions/site-financial-status/site-financial-status.actions';\r\n\r\nimport template from './financial-status-widget-content.html';\r\n\r\nconst mapStateToThis = ({ siteFinancialStatus }) => {\r\n const { data, isLoading } = siteFinancialStatus;\r\n\r\n return {\r\n data,\r\n isLoading,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSiteFinancialStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass FinancialStatusWidgetContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onChanges({ retailerId }) {\r\n if (retailerId.currentValue) this.fetchSiteFinancialStatus(retailerId.currentValue);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class FinancialStatusWidgetContentComponent {\r\n constructor() {\r\n this.bindings = {\r\n retailerId: '<',\r\n };\r\n this.template = template;\r\n this.controller = FinancialStatusWidgetContentController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchSiteFinancialStatus = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.siteFinancialStatus;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchSiteFinancialStatus,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/site-financial-status.api.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n Cash In Total\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Cash Out Total\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/components/financial-status-widget-content.html\n// module id = 1527\n// module chunks = 0","import isEmpty from 'lodash/isEmpty';\r\nimport { fetchSiteFinancialStatus } from 'dashboard/actions/site-financial-status/site-financial-status.actions';\r\nimport { isChainHeadSelector, isStoreProfileSelector } from 'selectors';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { selectRetailer } from 'utils/rw-subordinates/actions/subordinate-list.actions';\r\nimport template from './financial-status-widget.html';\r\n\r\nconst mapStateToThis = ({ session, subordinateList, siteFinancialStatus, retailerDetails }) => {\r\n const { retailer } = session;\r\n const { data } = siteFinancialStatus;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const { selectedRetailer } = subordinateList;\r\n\r\n return {\r\n retailerDetails,\r\n isChainHead,\r\n isStoreProfile,\r\n selectedRetailer: isEmpty(selectedRetailer) ? retailerDetails : selectedRetailer,\r\n retailer,\r\n data,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSiteFinancialStatus,\r\n selectRetailer,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass FinancialStatusWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n if (retailerId) {\r\n await this.fetchSiteFinancialStatus(retailerId);\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.selectRetailer({});\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class FinancialStatusWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = FinancialStatusWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Site Financial Status\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n End of day cash flow details\\r\\n \\r\\n \\r\\n End of day cash flow details for each subordinate gaming site.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/financial-status/financial-status-widget.html\n// module id = 1529\n// module chunks = 0","import angular from 'angular';\r\nimport SiteOperationalStatusWidgetComponent from './site-operational-status-widget-component';\r\nimport SiteOperationalStatusRetailerListModule from './components/site-operational-status-retailer-list/site-operational-status-retailer-list-module';\r\nimport SiteOperationalStatusIndicatorModule from './components/site-operational-status-indicator/site-operational-status-indicator-module';\r\nimport SiteOperationalStatusDeviceListModule from './components/site-operational-status-device-list/site-operational-status-device-list-module';\r\n\r\nexport default angular\r\n .module('site-operational-status-widget', [\r\n SiteOperationalStatusRetailerListModule.name,\r\n SiteOperationalStatusIndicatorModule.name,\r\n SiteOperationalStatusDeviceListModule.name,\r\n ])\r\n .component('siteOperationalStatusWidget', new SiteOperationalStatusWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-module.js","import { initGrid } from 'utils/grid/grid';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { isChainHeadSelector, isStoreProfileSelector } from 'selectors';\r\nimport { fetchSiteOperationalStatus } from 'dashboard/actions/site-operational-status/site-operational-status.actions';\r\n\r\nimport template from './site-operational-status-widget.html';\r\n\r\nconst mapStateToThis = ({ session, siteOperationalStatus, config }) => {\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const { isEmpty, isLoading } = siteOperationalStatus;\r\n const { retailer } = session;\r\n const { sortColumnKey, directionKey, pageSizeKey, defaultPageSizes } = config;\r\n\r\n return {\r\n isChainHead,\r\n isStoreProfile,\r\n isEmpty,\r\n isLoading,\r\n retailer,\r\n sortColumnKey,\r\n directionKey,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchSiteOperationalStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass SiteOperationalStatusWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = parseInt(this.$state.params.retailerNo, 10) || this.retailer.retailerId;\r\n this.showRetailerList = this.isChainHead && !this.isStoreProfile;\r\n if (!this.isChainHead || this.isStoreProfile) {\r\n this.selectedRetailerId = this.retailerId;\r\n }\r\n this.$scope.$applyAsync(this.initTable());\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initTable() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'status',\r\n [this.directionKey]: true,\r\n [this.pageSizeKey]: this.defaultPageSizes[1],\r\n };\r\n this.gridModel = await initGrid(this.fetchSiteOperationalStatus, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n ...this.gridModel.pagingModel.filters,\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Status'),\r\n field: 'activeDeviceInPrc',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Total'),\r\n field: 'totalVlt',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Inactive'),\r\n field: 'inactiveVlt',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerNumber',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'retailerName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Address'),\r\n field: 'retailerAddress',\r\n sortable: true,\r\n },\r\n ];\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n onRetailerClick({ retailerId }) {\r\n this.selectedRetailerId = retailerId;\r\n this.showRetailerList = false;\r\n }\r\n}\r\n\r\nexport default class SiteOperationalStatusWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.controller = SiteOperationalStatusWidgetController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget-component.js","import api from 'dashboard/resources/site-operational-status.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchSiteOperationalStatusRequest = () => ({\r\n type: actionTypes.FETCH_SITE_OPERATIONAL_STATUS_REQUEST,\r\n name: 'siteOperationalStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteOperationalStatusSuccess = (retailers, pagination) => ({\r\n type: actionTypes.FETCH_SITE_OPERATIONAL_STATUS_SUCCESS,\r\n name: 'siteOperationalStatusLoadingStatus',\r\n retailers,\r\n pagination,\r\n});\r\n\r\nexport const fetchSiteOperationalStatusFailure = () => ({\r\n type: actionTypes.FETCH_SITE_OPERATIONAL_STATUS_FAILURE,\r\n name: 'siteOperationalStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchSiteOperationalStatus = (requestParams) => async (dispatch) => {\r\n try {\r\n dispatch(fetchSiteOperationalStatusRequest());\r\n const {\r\n content: retailers,\r\n ...pagination\r\n } = await api.fetchSiteOperationalStatus(requestParams);\r\n\r\n dispatch(fetchSiteOperationalStatusSuccess(retailers, pagination));\r\n } catch (error) {\r\n console.error('FETCH_SITE_OPERATIONAL_STATUS', error);\r\n dispatch(fetchSiteOperationalStatusFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/site-operational-status/site-operational-status.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchSiteOperationalStatus = ({ filters, ...params }) => {\r\n const { url } = DepsService.rest.widgets.siteOperationalStatus;\r\n const queryParams = { ...params };\r\n const urlParams = { retailerId: filters.retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchSiteOperationalStatus,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/site-operational-status.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Site Operational Status\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Shows an overview of the operating status of all currently active retailer locations including the number of in and out of service devices, Retailer number, Name and\\r\\n Location.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Back to Retailer List\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/site-operational-status-widget.html\n// module id = 1534\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport SiteOperationalStatusRetailerListComponent from './site-operational-status-retailer-list-component';\r\n\r\nexport default angular\r\n .module('site-operational-status-retailer-list', [])\r\n .component('siteOperationalStatusRetailerList', new SiteOperationalStatusRetailerListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-module.js","import template from './site-operational-status-retailer-list.html';\r\n\r\nconst mapStateToThis = ({ siteOperationalStatus, config, ui }) => {\r\n const { retailers, isLoading } = siteOperationalStatus;\r\n const { defaultPageNo } = config;\r\n const { sosPagination } = ui;\r\n\r\n return {\r\n retailers,\r\n isLoading,\r\n defaultPageNo,\r\n pagination: sosPagination,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SiteOperationalStatusRetailersTableController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class SiteOperationalStatusRetailerListComponent {\r\n constructor() {\r\n this.controller = SiteOperationalStatusRetailersTableController;\r\n this.template = template;\r\n this.bindings = {\r\n onRetailerClick: '&',\r\n gridModel: '<',\r\n headers: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.totalVlt }}\\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.inactiveVlt }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.retailerName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.retailerAddress }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.totalVlt }}\\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.inactiveVlt }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.retailerName }}\\r\\n \\r\\n\\r\\n \\r\\n {{ retailer.retailerAddress }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-retailer-list/site-operational-status-retailer-list.html\n// module id = 1537\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport SiteOperationalStatusIndicatorComponent from './site-operational-status-indicator-component';\r\n\r\nexport default angular\r\n .module('site-operational-status-indicator', [])\r\n .component('siteOperationalStatusIndicator', new SiteOperationalStatusIndicatorComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-module.js","\r\nimport template from './site-operational-status-indicator.html';\r\n\r\n\r\nexport default class SiteOperationalStatusIndicatorComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n status: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n All devices at this location are working.\\r\\n \\r\\n \\r\\n {{$ctrl.status}}% of devices at this location are working.\\r\\n \\r\\n \\r\\n \\r\\n
    50,\\r\\n 'status-indicator--danger': $ctrl.status <= 50\\r\\n }\\\">\\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-indicator/site-operational-status-indicator.html\n// module id = 1540\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport SiteOperationalStatusDeviceListComponent from './site-operational-status-device-list-component';\r\n\r\nexport default angular\r\n .module('site-operational-status-device-list', [])\r\n .component('siteOperationalStatusDeviceList', new SiteOperationalStatusDeviceListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-module.js","import cloneDeep from 'lodash/cloneDeep';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport template from './site-operational-status-device-list.html';\r\n\r\nconst mapStateToThis = ({ siteOperationalStatus }) => {\r\n const { retailers } = siteOperationalStatus;\r\n\r\n return {\r\n retailers,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass SiteOperationalStatusDeviceListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.items = [];\r\n const selectedRetailer = this.retailers\r\n .find((retailer) => retailer.retailerId === this.retailerId);\r\n\r\n if (selectedRetailer) {\r\n const { details } = selectedRetailer;\r\n if (!isEmpty(details)) {\r\n this.items = cloneDeep(details);\r\n this.items[0].active = true;\r\n }\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n showDevice(selectedItem) {\r\n this.items.map((item) => {\r\n item.active = false;\r\n return item;\r\n });\r\n\r\n selectedItem.active = true;\r\n }\r\n}\r\n\r\nexport default class SiteOperationalStatusDeviceListComponent {\r\n constructor() {\r\n this.controller = SiteOperationalStatusDeviceListController;\r\n this.template = template;\r\n this.bindings = {\r\n retailerId: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n VLT Number {{ $index + 1 }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
      \\r\\n
    • \\r\\n VLT GTK Id:\\r\\n {{ item.vltGtkId }}\\r\\n
    • \\r\\n
    • \\r\\n VLT serial number:\\r\\n {{ item.vltSerialNumber }}\\r\\n
    • \\r\\n
    • \\r\\n Status:\\r\\n {{ item.status }}\\r\\n
    • \\r\\n
    • \\r\\n Reason:\\r\\n {{ item.reason }}\\r\\n
    • \\r\\n
    • \\r\\n VLT State Time:\\r\\n \\r\\n \\r\\n
    • \\r\\n
    • \\r\\n VLT State:\\r\\n {{ item.vltState }}\\r\\n
    • \\r\\n
    • \\r\\n Model:\\r\\n {{ item.model }}\\r\\n
    • \\r\\n
    • \\r\\n VLT Description:\\r\\n {{ item.vltDescription }}\\r\\n
    • \\r\\n
    • \\r\\n IP address:\\r\\n {{ item.ipAddress }}\\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/site-operational-status/components/site-operational-status-device-list/site-operational-status-device-list.html\n// module id = 1543\n// module chunks = 0","import angular from 'angular';\r\nimport TicketsWidgetComponent from './tickets-widget-component';\r\n\r\nexport default angular.module('tickets-widget', []).component('ticketsWidget', new TicketsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-module.js","import * as api from 'dashboard/resources/tickets.api';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport template from './tickets-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass TicketsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchTicketsData(retailerId));\r\n }\r\n}\r\n\r\nexport default class TicketsWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.controller = TicketsWidgetController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchTicketsData = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.tickets;\r\n const queryParams = {};\r\n const urlParams = {\r\n retailerId,\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/tickets.api.js","module.exports = \"\\r\\n \\r\\n
    \\r\\n

    \\r\\n \\r\\n Tickets\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Tickets widget presents information about validated and non-validated tickets in given period.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Validated\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.data.validated.quantity }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Non-validated\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.data.nonValidated.quantity }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/tickets/tickets-widget.html\n// module id = 1547\n// module chunks = 0","import angular from 'angular';\r\nimport ConfigurableLinkWidgetComponent from './configurable-link-widget-component';\r\n\r\nexport default angular.module('configurable-link-widget', []).component('configurableLinkWidget', new ConfigurableLinkWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchConfigurableLink } from 'app/actions/manage-configurable-link.actions';\r\nimport template from './configurable-link-widget.html';\r\n\r\nconst mapStateToThis = ({ manageConfigurableLink, session, dashboard }) => {\r\n const { isLoading, entries } = manageConfigurableLink;\r\n const { locale } = session;\r\n let isEmpty = true;\r\n let entry = {};\r\n if (entries.length > 0) {\r\n [entry] = entries;\r\n if (\r\n (entry.visibleOnSummary && dashboard.current.name === 'summary') ||\r\n (entry.visibleOnInstants && dashboard.current.name === 'instant')\r\n ) {\r\n isEmpty = false;\r\n }\r\n }\r\n\r\n return {\r\n locale,\r\n isLoading,\r\n isEmpty,\r\n entry,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchConfigurableLink,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass ConfigurableLinkWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.$scope.$applyAsync(this.fetchConfigurableLink(this.locale));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ConfigurableLinkWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ConfigurableLinkWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n {{ $ctrl.entry.text }}\\r\\n \\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/configurable-link/configurable-link-widget.html\n// module id = 1550\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport EarningsWidgetComponent from './earnings-widget-component';\r\nimport NetEarningsWidgetComponent from './net-earnings-widget-component';\r\nimport EarningsHistoryComponent from './components/earnings-history-component';\r\n\r\nexport default angular\r\n .module('earnings-widget', [])\r\n .component('earningsWidget', new EarningsWidgetComponent())\r\n .component('netEarningsWidget', new NetEarningsWidgetComponent())\r\n .component('earningsHistory', new EarningsHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider\r\n .state('earnings-history', {\r\n parent: 'arw',\r\n url: '/earnings/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Earnings History')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('netearnings-history', {\r\n parent: 'arw',\r\n url: '/earnings/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Earnings History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-module.js","import { checkAccess } from 'app/actions/app.actions';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { isChainHeadSelector, isSuperChainSelector } from 'selectors';\r\nimport * as api from 'dashboard/resources/earnings.api';\r\nimport template from './earnings-widget.html';\r\n\r\nconst EARNINGS_HISTORY_PERMISSION = 'earnings.history';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n isSuperChain,\r\n isChainHead,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$state')\r\nclass EarningsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = 0;\r\n this.isHistoryLinkVisible = (!this.isSuperChain || this.isChainHead) && this.checkAccess(EARNINGS_HISTORY_PERMISSION);\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchEarnings(retailerId), this.transformData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n const findDataItem = (dataItems, periodType) => dataItems.find((item) => item.periodType === periodType);\r\n const generateTab = (dataItem, periodType, title) => ({\r\n title,\r\n tabTitle: periodType,\r\n total: dataItem ? dataItem.earningsTotal : 0,\r\n delta: dataItem ? dataItem.earningsDelta : 0,\r\n deltaAsPerc: dataItem ? dataItem.deltaAsPerc : false,\r\n });\r\n\r\n return [\r\n generateTab(findDataItem(data, 'WTD'), 'WTD', this.gettextCatalog.getString('Week to Date Total Earnings')),\r\n generateTab(findDataItem(data, 'MTD'), 'MTD', this.gettextCatalog.getString('Month to Date Total Earnings')),\r\n generateTab(findDataItem(data, 'QTD'), 'QTD', this.gettextCatalog.getString('Quarter to Date Total Earnings')),\r\n generateTab(findDataItem(data, 'YTD'), 'YTD', this.gettextCatalog.getString('Year to Date Total Earnings')),\r\n ];\r\n }\r\n}\r\n\r\nexport default class EarningsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EarningsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Earnings\\r\\n \\r\\n \\r\\n Earnings History\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n Approximate earnings based on net sales for {{ draw }} games and net settlements for {{ instant }} games. Incentive earnings, credits, and adjustments are included in the\\r\\n period in which they are paid, not necessarily the period over which they are earned.\\r\\n

    \\r\\n

    \\r\\n \\r\\n To view your chain’s earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n \\r\\n To view your earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n 0, 'delta-percentage-negative': tab.delta < 0}\\\">\\r\\n {{ tab.delta | number:2 }}%\\r\\n \\r\\n 0, 'delta-percentage-negative': tab.delta < 0}\\\"\\r\\n class=\\\"delta\\\"\\r\\n value=\\\"tab.delta\\\">\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ tab.title }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/earnings/earnings-widget.html\n// module id = 1553\n// module chunks = 0","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isChainHeadSelector, isSuperChainSelector } from 'selectors';\r\n\r\nimport * as api from 'dashboard/resources/earnings.api';\r\n\r\nimport template from './net-earnings-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n\r\n return {\r\n retailer,\r\n isSuperChain,\r\n isChainHead,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$state')\r\nclass NetEarningsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isHistoryLinkVisible = (!this.isSuperChain || this.isChainHead) && this.checkAccess('netearnings.history');\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n\r\n this.loadDataAsync(() => api.fetchNetEarnings(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class NetEarningsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = NetEarningsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Net Earnings\\r\\n \\r\\n \\r\\n \\r\\n Earnings History\\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n Earnings for the most recent complete invoice period based on net sales for {{ draw }} games and net settlements for {{ instant }} games. Incentive earnings, credits, and adjustments are included in the\\r\\n period in which they are paid, not necessarily the period over which they are earned.\\r\\n

    \\r\\n\\r\\n

    \\r\\n \\r\\n To view your chain’s earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n \\r\\n To view your earnings details for a specific time period, please click \\\"Earnings History\\\" link.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Period ended:\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/earnings/net-earnings-widget.html\n// module id = 1555\n// module chunks = 0","import moment from 'moment';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { downloadEarningsHistoryReport, fetchEarningsHistory } from 'dashboard/actions/earnings-history/earnings-history.actions';\r\nimport { fetchInvoiceDatesDictionary } from 'app/actions/dictionaries/invoice-dates-dictionary.actions';\r\nimport * as api from 'dashboard/resources/earnings.api';\r\nimport template from './earnings-history.html';\r\n\r\nconst mapStateToThis = ({ session, config, earningsHistory, dictionary }) => {\r\n const { serverTime, retailer, locale } = session;\r\n const { pageSizeKey, defaultPageSizes, sortColumnKey, showCompensationCategoryDetails } = config;\r\n const { data, isLoading } = earningsHistory;\r\n const { invoiceDates } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n serverTime,\r\n retailer,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n showCompensationCategoryDetails,\r\n invoiceDates,\r\n data,\r\n isLoading,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchInvoiceDatesDictionary,\r\n downloadEarningsHistoryReport,\r\n fetchEarningsHistory,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService', 'tableService')\r\nclass EarningsHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n await this.fetchInvoiceDatesDictionary(this.retailerId);\r\n this.tableConfig = this.tableService.initConfig({ configName: 'earningsHistory' });\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.defaultParams = {\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchEarningsHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n invoiceEndDate: this.invoiceDates[0].id,\r\n retailerId: this.retailerId,\r\n };\r\n\r\n this.setInvoiceDateRange();\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('EARNINGS_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Source'),\r\n field: 'source',\r\n },\r\n this.showCompensationCategoryDetails\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular }),\r\n field: 'instantGames',\r\n }\r\n : null,\r\n this.showCompensationCategoryDetails\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('e{{ instant }}', { instant: this.terms.INSTANT.plural }),\r\n field: 'eInstants',\r\n }\r\n : null,\r\n this.showCompensationCategoryDetails\r\n ? {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular }),\r\n field: 'drawGames',\r\n }\r\n : null,\r\n {\r\n text: this.gettextCatalog.getString('Total'),\r\n field: 'total',\r\n },\r\n ];\r\n }\r\n\r\n downloadReport(format) {\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n filters: this.preservedFilters,\r\n extension: format,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Earnings History'),\r\n type: this.preservedFilters.invoiceEndDate,\r\n format,\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n return this.downloadEarningsHistoryReport(params);\r\n }\r\n\r\n setInvoiceDateRange() {\r\n const earningsInvoiceDate = this.invoiceDates.find(\r\n (invoiceDate) => invoiceDate.id === this.gridModel.pagingModel.filters.invoiceEndDate\r\n );\r\n this.invoiceDateRange = earningsInvoiceDate ? earningsInvoiceDate.value : '-';\r\n }\r\n}\r\n\r\nexport default class EarningsHistoryComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EarningsHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history-component.js","import * as api from 'dashboard/resources/earnings-history.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchEarningsHistoryRequest = () => ({\r\n type: actionTypes.FETCH_EARNINGS_HISTORY_REQUEST,\r\n name: 'earningsHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchEarningsHistorySuccess = (data) => ({\r\n type: actionTypes.FETCH_EARNINGS_HISTORY_SUCCESS,\r\n name: 'earningsHistoryLoadingStatus',\r\n data,\r\n});\r\n\r\nexport const fetchEarningsHistoryFailure = () => ({\r\n type: actionTypes.FETCH_EARNINGS_HISTORY_FAILURE,\r\n name: 'earningsHistoryLoadingStatus',\r\n});\r\n\r\nexport const fetchEarningsHistory =\r\n ({ filters }) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = filters.retailerId || session.retailer.retailerId;\r\n\r\n const params = {\r\n ...filters,\r\n retailerId,\r\n };\r\n\r\n dispatch(fetchEarningsHistoryRequest());\r\n const data = await api.fetchEarningsHistory(params);\r\n dispatch(fetchEarningsHistorySuccess(data));\r\n } catch (error) {\r\n console.error('FETCH_EARNINGS_HISTORY', error);\r\n dispatch(fetchEarningsHistoryFailure());\r\n }\r\n };\r\n\r\nexport const downloadEarningsHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_EARNINGS_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadEarningsHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_EARNINGS_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadEarningsHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_EARNINGS_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadEarningsHistoryReport =\r\n ({ extension, ...filters }) =>\r\n (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = filters.retailerId || session.retailer.retailerId;\r\n\r\n const params = {\r\n ...filters,\r\n retailerId,\r\n extension,\r\n };\r\n\r\n dispatch(downloadEarningsHistoryReportRequest());\r\n dispatch(downloadEarningsHistoryReportSuccess());\r\n return api.downloadEarningsHistoryReport(params);\r\n } catch (error) {\r\n console.error('DOWNLOAD_EARNINGS_HISTORY_REPORT', error);\r\n dispatch(downloadEarningsHistoryReportFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/earnings-history/earnings-history.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'earningsHistory';\r\n\r\nexport const fetchEarningsHistory = (filters) => {\r\n const { url } = DepsService.rest.widgets.earningsHistory;\r\n const queryParams = { ...filters };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadEarningsHistoryReport = ({ extension, ...filters }) => {\r\n const { url } = DepsService.rest.widgets.earningsHistory;\r\n const queryParams = { ...filters, locale: '*' };\r\n const urlParams = {};\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/earnings-history.api.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n {{ $ctrl.invoiceDateRange }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Invoice Period\\r\\n \\r\\n \\r\\n \\r\\n {{ item.value }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ data.source }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ data.source }}\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/earnings/components/earnings-history.html\n// module id = 1559\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport EftAmountWidget from './eft-amount-widget-component';\r\nimport EftHistoryComponent from './components/eft-history-component';\r\n\r\nexport default angular\r\n .module('eft-amount-widget', [])\r\n .component('eftAmountWidget', new EftAmountWidget())\r\n .component('eftHistory', new EftHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('eft-sales-history', {\r\n parent: 'arw',\r\n url: '/eft/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Invoice History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport * as api from 'dashboard/resources/eft-amount.api';\r\nimport template from './eft-amount-widget.html';\r\n\r\nconst mapStateToThis = ({ config, dictionary, session }) => {\r\n const { locale, retailer } = session;\r\n const { usesMultipleSweepDates } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n usesMultipleSweepDates,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass EftAmountWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isHistoryLinkVisible = this.checkAccess('eft.sales.history');\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchEftAmount(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class EftAmountWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = EftAmountWidgetController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n EFT Amount\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Invoice Details\\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Total EFT due by\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ instant }} Game Invoice due\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ draw }} Game Invoice due\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/eft-amount-widget.html\n// module id = 1562\n// module chunks = 0","import moment from 'moment';\r\nimport {\r\n fetchEftHistory,\r\n fetchEftExtensions,\r\n downloadEftInvoice,\r\n fetchRetailerEFTDetailDate,\r\n} from 'dashboard/actions/eft-history/eft-history.actions';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport template from './eft-history.html';\r\n\r\nconst mapStateToThis = ({ eftHistory, session, config, dictionary }) => {\r\n const { serverTime, retailer, locale } = session;\r\n const { defaultPageNo, pageSizeKey, defaultPageSizes, sortColumnKey, directionKey, usesMultipleSweepDates } = config;\r\n const terms = dictionary.terms[locale];\r\n const { items, isLoading, extensions, date } = eftHistory;\r\n\r\n return {\r\n serverTime,\r\n retailer,\r\n defaultPageNo,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n directionKey,\r\n items,\r\n isLoading,\r\n extensions,\r\n usesMultipleSweepDates,\r\n terms,\r\n date,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchEftHistory,\r\n fetchEftExtensions,\r\n downloadEftInvoice,\r\n fetchRetailerEFTDetailDate,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'RwAnalyticsService', '$state')\r\nclass EftHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n await Promise.all([this.fetchEftExtensions(), this.fetchRetailerEFTDetailDate(this.retailerId)]);\r\n this.headers = this.getHeaders();\r\n this.minDate = moment(this.date).subtract(24, 'months').toDate().toDateString();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'date',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchEftHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n startDate: moment(this.date).subtract(12, 'weeks').toDate(),\r\n endDate: moment(this.date).toDate(),\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('EFT_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n return this.search();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Date'),\r\n field: 'date',\r\n sortable: true,\r\n },\r\n this.usesMultipleSweepDates\r\n ? {\r\n text: this.gettextCatalog.getString('Total Amount'),\r\n field: 'eftTotalAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n !this.usesMultipleSweepDates\r\n ? {\r\n text: this.gettextCatalog.getString('EFT Amount'),\r\n field: 'eftAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n !this.usesMultipleSweepDates\r\n ? {\r\n text: this.gettextCatalog.getString('EFT Due Date'),\r\n field: 'eftSweepDate',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} EFT Amount', { instant: this.terms.INSTANT.plural }),\r\n field: 'eftInstantAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} EFT Due Date', { instant: this.terms.INSTANT.plural }),\r\n field: 'eftInstantSweepDate',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} EFT Amount', { draw: this.terms.DRAW.plural }),\r\n field: 'eftDrawAmount',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n this.usesMultipleSweepDates\r\n ? {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} EFT Due Date', { draw: this.terms.DRAW.plural }),\r\n field: 'eftDrawSweepDate',\r\n sortable: true,\r\n textAlignment: 'text-center',\r\n }\r\n : null,\r\n {\r\n text: this.gettextCatalog.getString('Download'),\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n }\r\n\r\n onDownloadReport(invoice, extension) {\r\n const { invoiceWeekEndDate, date } = invoice;\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Weekly Retailer Invoice'),\r\n format: extension,\r\n type: moment.utc(date).format('MM.DD.YYYY'),\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n\r\n return this.downloadEftInvoice(this.retailerId, invoiceWeekEndDate, extension);\r\n }\r\n}\r\n\r\nexport default class EftHistoryComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EftHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history-component.js","import * as api from 'dashboard/resources/eft-history.api';\r\nimport moment from 'moment';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchEftHistoryRequest = () => ({\r\n type: actionTypes.FETCH_EFT_HISTORY_REQUEST,\r\n name: 'eftHistoryStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchEftHistorySuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_EFT_HISTORY_SUCCESS,\r\n name: 'eftHistoryStatusLoadingStatus',\r\n items,\r\n pagination,\r\n});\r\n\r\nexport const fetchEftHistoryFailure = () => ({\r\n type: actionTypes.FETCH_EFT_HISTORY_FAILURE,\r\n name: 'eftHistoryStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchEftHistory = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.filters.retailerId || session.retailer.retailerId;\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n filters: {\r\n startDate: moment(params.filters.startDate).format('YYYY-MM-DD'),\r\n endDate: moment(params.filters.endDate).format('YYYY-MM-DD'),\r\n },\r\n };\r\n\r\n dispatch(fetchEftHistoryRequest());\r\n const { content, ...pagination } = await api.fetchEftHistory(queryParams, retailerId);\r\n dispatch(fetchEftHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_EFT_HISTORY', error);\r\n dispatch(fetchEftHistoryFailure());\r\n }\r\n};\r\n\r\nexport const fetchEftExtensionsRequest = () => ({\r\n type: actionTypes.FETCH_EFT_EXTENSIONS_REQUEST,\r\n});\r\n\r\nexport const fetchEftExtensionsSuccess = (extensions) => ({\r\n type: actionTypes.FETCH_EFT_EXTENSIONS_SUCCESS,\r\n extensions,\r\n});\r\n\r\nexport const fetchEftExtensionsFailure = () => ({\r\n type: actionTypes.FETCH_EFT_EXTENSIONS_FAILURE,\r\n});\r\n\r\nexport const fetchEftExtensions = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchEftExtensionsRequest());\r\n const extensions = await api.fetchEftExtensions();\r\n dispatch(fetchEftExtensionsSuccess(extensions));\r\n } catch (error) {\r\n console.error('FETCH_EFT_EXTENSIONS', error);\r\n dispatch(fetchEftExtensionsFailure());\r\n }\r\n};\r\n\r\nexport const fetchRetailerEFTDetailRequest = () => ({\r\n type: actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_REQUEST,\r\n});\r\n\r\nexport const fetchRetailerEFTDetailSuccess = (date) => ({\r\n type: actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_SUCCESS,\r\n date,\r\n});\r\n\r\nexport const fetchRetailerEFTDetailFailure = () => ({\r\n type: actionTypes.FETCH_RETAILER_EFT_DETAIL_DATE_FAILURE,\r\n});\r\n\r\nexport const fetchRetailerEFTDetailDate = (id) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchRetailerEFTDetailRequest());\r\n const date = await api.fetchRetailerEFTDetailDate(retailerId);\r\n dispatch(fetchRetailerEFTDetailSuccess(date));\r\n } catch (error) {\r\n console.error('FETCH_RETAILER_EFT_DETAIL_DATE', error);\r\n dispatch(fetchRetailerEFTDetailFailure());\r\n }\r\n};\r\n\r\nexport const downloadEftInvoiceRequest = () => ({\r\n type: actionTypes.DOWNLOAD_EFT_INVOICE_REQUEST,\r\n});\r\n\r\nexport const downloadEftInvoiceSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_EFT_INVOICE_SUCCESS,\r\n});\r\n\r\nexport const downloadEftInvoiceFailure = () => ({\r\n type: actionTypes.DOWNLOAD_EFT_INVOICE_FAILURE,\r\n});\r\n\r\nexport const downloadEftInvoice =\r\n (id = null, invoiceWeekEndDate, extension) =>\r\n (dispatch, getState) => {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n try {\r\n dispatch(downloadEftInvoiceRequest());\r\n dispatch(downloadEftInvoiceSuccess());\r\n\r\n return api.downloadEftInvoice({ retailerId, invoiceWeekEndDate, extension });\r\n } catch (error) {\r\n console.error('DOWNLOAD_EFT_INVOICE', error);\r\n dispatch(downloadEftInvoiceFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/eft-history/eft-history.actions.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchEftHistory = (queryParams, retailerId) => {\r\n const { url } = DepsService.rest.widgets.eftHistory;\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchEftExtensions = () => {\r\n const { url } = DepsService.rest.reports.eft.extensions;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchRetailerEFTDetailDate = (retailerId) => {\r\n const { url } = DepsService.rest.reports.eft.date;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadEftInvoice = ({ extension, retailerId, invoiceWeekEndDate }) => {\r\n const { url } = DepsService.rest.reports.eft.downloadRetailerInvoice;\r\n const queryParams = {\r\n retailerId,\r\n reportDate: invoiceWeekEndDate,\r\n 'transformation-type': extension,\r\n };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/eft-history.api.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n -\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ extension }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n {{ type }}\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/eft-amount/components/eft-history.html\n// module id = 1566\n// module chunks = 0","import angular from 'angular';\r\nimport JackpotsNextDrawsWidgetComponent from './jackpots-next-draws-widget-component';\r\n\r\nexport default angular\r\n .module('jackpots-next-draws-widget', [])\r\n .component('jackpotsNextDrawsWidget', new JackpotsNextDrawsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/jackpots-next-draws.api';\r\nimport template from './jackpots-next-draws-widget.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { widgetsDataJackpotsAndDraws } = config;\r\n\r\n return {\r\n widgetsDataJackpotsAndDraws,\r\n };\r\n};\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass JackpotsNextDrawsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.loadDataAsync(() => api.fetchJackpotsAndDraws(this.widgetsDataJackpotsAndDraws));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class JackpotsNextDrawsWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = JackpotsNextDrawsWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget-component.js","import DepsService from 'services/dependencies';\r\nimport flow from 'lodash/flow';\r\nimport orderBy from 'lodash/orderBy';\r\nimport uniqBy from 'lodash/uniqBy';\r\nimport get from 'lodash/get';\r\nimport filter from 'lodash/filter';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst extractJackpotsData = (draws) => {\r\n const flattenJackpotData = (draw) => ({\r\n gameNumber: get(draw, 'gameRuleSet.gameId') || '',\r\n name: get(draw, 'brandName') || get(draw, 'gameName') || '',\r\n amount: get(draw, 'jackpots[0].amount') || 0,\r\n drawDate: draw.drawTime,\r\n cashAmount: get(draw, 'jackpots[0].cashAmount') || 0,\r\n imageUrl: draw.imageUrl,\r\n });\r\n\r\n return flow([\r\n (items) => orderBy(items, ['drawTime', 'estimatedJackpot'], ['asc', 'desc']),\r\n (items) => items.map((item) => flattenJackpotData(item)),\r\n (items) => uniqBy(items, 'name'),\r\n (items) => filter(items, (item) => item.amount > 0),\r\n ])(draws);\r\n};\r\n\r\nexport const fetchJackpotsAndDraws = async (widgetsDataJackpotsAndDraws) => {\r\n const { url } = DepsService.rest.widgets.jackpotsAndDraws;\r\n const queryParams = {\r\n status: 'OPEN',\r\n 'game-names': widgetsDataJackpotsAndDraws,\r\n };\r\n const urlParams = {};\r\n\r\n const response = await DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n return extractJackpotsData(get(response, 'draws'));\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/jackpots-next-draws.api.js","module.exports = \"\\r\\n \\r\\n

    Jackpots & Next Draws

    \\r\\n
    \\r\\n \\r\\n
      \\r\\n
    • \\r\\n
      \\r\\n \\\"{{\\r\\n
      \\r\\n
      \\r\\n

      \\r\\n \\r\\n \\r\\n \\r\\n

      \\r\\n

      0\\\">\\r\\n {{ $ctrl.config.jackpotsAndDrawsEstimatedCashValueLabel }}\\r\\n \\r\\n

      \\r\\n

      \\r\\n \\r\\n

      \\r\\n
      \\r\\n \\r\\n \\r\\n
      \\r\\n
    • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/jackpots-next-draws/jackpots-next-draws-widget.html\n// module id = 1580\n// module chunks = 0","import angular from 'angular';\r\nimport NetSalesWidgetComponent from './net-sales-widget-component';\r\nimport NetSalesRoutingModule from './net-sales-widget-routing-module';\r\nimport NetSalesHistoryPageModule from './components/net-sales-history-page/net-sales-history-page-module';\r\nimport NetSalesGameListModule from './components/net-sales-game-list/net-sales-game-list-module';\r\n\r\nexport default angular\r\n .module('net-sales-widget', [NetSalesHistoryPageModule.name, NetSalesRoutingModule.name, NetSalesGameListModule.name])\r\n .component('netSalesWidget', new NetSalesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-module.js","import { isSuperChainSelector } from 'selectors';\r\n\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchNetSalesSummary } from 'dashboard/actions/net-sales/net-sales-summary.actions';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport template from './net-sales-widget.html';\r\nimport tabs from './tabs';\r\n\r\nconst mapStateToThis = ({ session, netSales, ui, dictionary }) => {\r\n const { isLoading, netSalesSummary } = netSales;\r\n const { WTD, MTD, QTD, YTD } = tabs;\r\n const { activeTab } = ui;\r\n const { locale } = session;\r\n const terms = dictionary.terms[locale];\r\n const { retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n\r\n return {\r\n retailer,\r\n session,\r\n netSalesSummary,\r\n isLoading,\r\n activeTab,\r\n isSuperChain,\r\n isEmpty: netSalesSummary.length === 0,\r\n WTD,\r\n MTD,\r\n QTD,\r\n YTD,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchNetSalesSummary,\r\n setActiveTab,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass NetSalesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.isHistoryLinkVisible = this.checkAccess('net.sales.history') && !this.isSuperChain;\r\n this.setActiveTab(this.WTD, 'activeTab');\r\n this.$scope.$applyAsync(this.fetchNetSalesSummary(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class NetSalesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = NetSalesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Net Sales\\r\\n Sales History\\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n Based on net sales for {{ draw }} games and net settlements for {{ instant }} games. Returns, credits, and adjustments are included in the period in which they are paid,\\r\\n not necessarily the period in which the event occurred.\\r\\n

    \\r\\n

    \\r\\n \\r\\n To view your chain’s net sales for a specific time period, please click “Sales History” link.\\r\\n \\r\\n \\r\\n To view your net sales for a specific time period, please click “Sales History” link.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    0, 'delta-percentage-negative': tab.netSalesDelta < 0}\\\">\\r\\n \\r\\n {{ tab.netSalesDelta | number:2 }}%\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ tab.title }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget.html\n// module id = 1583\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('net-sales-routing', []).config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('net-sales-history', {\r\n parent: 'arw',\r\n url: '/net-sales/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Sales History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/net-sales-widget-routing-module.js","import angular from 'angular';\r\n\r\nimport NetSalesHistoryPageComponent from './net-sales-history-page-component';\r\nimport { NetSalesHistoryPageController } from './net-sales-history-page-controller';\r\n\r\nexport default angular\r\n .module('net-sales-history-page', [])\r\n .controller('NetSalesHistoryPageController', NetSalesHistoryPageController)\r\n .component('netSalesHistoryPage', NetSalesHistoryPageComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-module.js","import template from './net-sales-history-page.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'NetSalesHistoryPageController'\r\n};\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Total Net Sales\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
  • \\r\\n\\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n\\r\\n
  • \\r\\n\\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page.html\n// module id = 1587\n// module chunks = 0","import isEmpty from 'lodash/isEmpty';\r\nimport { fetchNetSalesSummary } from 'dashboard/actions/net-sales/net-sales-summary.actions';\r\nimport { downloadNetSalesHistoryReport, fetchNetSalesDetails } from 'dashboard/actions/net-sales/net-sales-details.actions';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport tabs from '../../tabs';\r\n\r\nconst mapStateToThis = ({ session, netSales, ui, dictionary }) => {\r\n const { locale } = session;\r\n const { activeTab } = ui;\r\n const { netSalesSummary, instantGames, drawGames } = netSales;\r\n const { WTD, MTD, QTD, YTD } = tabs;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n activeTab,\r\n drawGames,\r\n instantGames,\r\n netSalesSummary,\r\n activeSummaryPeriod: netSalesSummary[activeTab],\r\n activeInstantGamesPeriod: instantGames[activeTab],\r\n activeDrawGamesPeriod: drawGames[activeTab],\r\n WTD,\r\n MTD,\r\n QTD,\r\n YTD,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchNetSalesSummary,\r\n fetchNetSalesDetails,\r\n setActiveTab,\r\n downloadNetSalesHistoryReport,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService')\r\nexport class NetSalesHistoryPageController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.tabs = tabs;\r\n this.retailerId = this.$state.params.retailerNo;\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n this.drawGamesHeader = this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular });\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n this.instantGamesHeader = this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular });\r\n\r\n }\r\n\r\n async $onInit() {\r\n await Promise.all([\r\n this.fetchNetSalesDetails(this.retailerId),\r\n this.fetchNetSalesSummary()\r\n ]);\r\n this.setActiveTab(this.WTD, 'activeTab');\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'activeTab');\r\n this.unsubscribe();\r\n }\r\n\r\n downloadReport(extension) {\r\n const config = {\r\n id: this.retailerId,\r\n periodType: this.activeTab,\r\n extension,\r\n };\r\n\r\n const gaConfig = {\r\n source: this.gettextCatalog.getString('Net Sales History'),\r\n type: this.activeTab,\r\n format: extension,\r\n };\r\n\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(gaConfig);\r\n return this.downloadNetSalesHistoryReport(config);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-history-page/net-sales-history-page-controller.js","import * as api from 'dashboard/resources/net-sales.api.js';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchNetSalesDetailsRequest = () => ({\r\n type: actionTypes.FETCH_NET_SALES_DETAILS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchNetSalesDetailsSuccess = (netSalesDetails) => ({\r\n type: actionTypes.FETCH_NET_SALES_DETAILS_SUCCESS,\r\n netSalesDetails,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesDetailsFailure = () => ({\r\n type: actionTypes.FETCH_NET_SALES_DETAILS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchNetSalesDetails = (id = null) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchNetSalesDetailsRequest());\r\n\r\n const netSalesDetails = await api.fetchNetSalesDetails({ retailerId });\r\n dispatch(fetchNetSalesDetailsSuccess(netSalesDetails));\r\n } catch (error) {\r\n console.error('NET_SALES_DETAILS', error);\r\n dispatch(fetchNetSalesDetailsFailure());\r\n }\r\n};\r\n\r\nexport const downloadNetSalesReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_NET_SALES_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadNetSalesReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_NET_SALES_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadNetSalesReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_NET_SALES_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadNetSalesHistoryReport = ({ id = null, extension, periodType }) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(downloadNetSalesReportRequest());\r\n\r\n dispatch(downloadNetSalesReportSuccess());\r\n return api.downloadNetSalesHistoryReport({ retailerId, extension, periodType });\r\n } catch (error) {\r\n console.error('DOWNLOAD_NET_SALES_REPORT', error);\r\n dispatch(downloadNetSalesReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/net-sales/net-sales-details.actions.js","import angular from 'angular';\r\n\r\nimport NetSalesGameListComponent from './net-sales-game-list-component';\r\n\r\nexport default angular\r\n .module('net-sales-game-list', [])\r\n .component('netSalesGameList', NetSalesGameListComponent);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-module.js","import template from './net-sales-game-list.html';\r\n\r\nexport default {\r\n template,\r\n bindings: {\r\n games: '<',\r\n label: '<',\r\n header: '<',\r\n netSalesTotal: '<',\r\n locale: '<',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.header }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n The arrows indicate how your sales performance is trending compared to the same period last year.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Net Sales\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n {{game.gameName}}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Net Sales\\r\\n
    \\r\\n
    \\r\\n 0, 'delta-percentage-negative': game.netSalesDelta < 0}\\\">\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n Net Sales\\r\\n
    \\r\\n
    \\r\\n 0, 'delta-percentage-negative': game.netSalesDelta < 0}\\\">\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/net-sales/components/net-sales-game-list/net-sales-game-list.html\n// module id = 1592\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport BigWinnersWidgetComponent from './big-winners-widget-component';\r\nimport BigWinnersHistoryComponent from './components/big-winners-history-component';\r\n\r\nexport default angular\r\n .module('big-winners-widget', [])\r\n .component('bigWinnersWidget', new BigWinnersWidgetComponent())\r\n .component('bigWinnersHistory', new BigWinnersHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('bigWinners-history', {\r\n parent: 'arw',\r\n url: '/big-winners/history/:retailerNo?isDisabledShare',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Historical Winners')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { INSTANT_GAME_TYPE, DRAW_GAME_TYPE } from 'app/config/gametype';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isChainHeadSelector, isSuperChainSelector } from 'selectors/index';\r\nimport * as api from 'dashboard/resources/big-winners.api';\r\nimport template from './big-winners-widget.html';\r\n\r\nconst BIG_WINNERS_HISTORY = 'bigWinners.history';\r\n\r\nconst mapStateToThis = ({ session, config, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { bigWinnersSellPeriodDays } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n isSuperChain,\r\n isChainHead,\r\n bigWinnersSellPeriodDays,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass BigWinnersController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.INSTANT_GAME_TYPE = INSTANT_GAME_TYPE;\r\n this.DRAW_GAME_TYPE = DRAW_GAME_TYPE;\r\n this.isHistoryLinkVisible = (!this.isSuperChain || this.isChainHead) && this.checkAccess(BIG_WINNERS_HISTORY);\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchBigWinners(retailerId, this.gameType));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class BigWinnersComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n gameType: '@',\r\n };\r\n this.template = template;\r\n this.controller = BigWinnersController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n {{ instant }} Games: You Sold Big Winners!\\r\\n \\r\\n \\r\\n {{ draw }} Games: You Sold Big Winners!\\r\\n \\r\\n You Sold Big Winners!\\r\\n\\r\\n \\r\\n Historical Winners\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n 4}\\\"\\r\\n ng-if=\\\"$ctrl.data.length !== 0\\\">\\r\\n \\r\\n
    \\r\\n \\\"\\\"\\r\\n\\r\\n\\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n \\r\\n Drawn on\\r\\n \\r\\n \\r\\n \\r\\n Cashed on\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n \\r\\n Store #{{ storeNo }}\\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n \\r\\n Retailer\\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n No big winners sold in the last {{ daysNumber }} days\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/big-winners-widget.html\n// module id = 1595\n// module chunks = 0","import moment from 'moment';\r\nimport { isChainHeadSelector, isStoreProfileSelector } from 'selectors/index';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { fetchBigWinnersHistory, downloadBigWinnersHistoryReport } from 'dashboard/actions/big-winners/big-winners.actions';\r\nimport { DRAW_GAME_TYPE, INSTANT_GAME_TYPE } from 'app/config/gametype';\r\nimport template from './big-winners-history.html';\r\n\r\nconst NUMBER_OF_MONTHS = 13;\r\n\r\nconst mapStateToThis = ({ session, config, bigWinners, ui, dictionary }) => {\r\n const { locale, salesPeriodTimestamp, retailer } = session;\r\n const { defaultPageNo, pageSizeKey, defaultPageSizes, sortColumnKey, directionKey } = config;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const { items, isLoading } = bigWinners;\r\n const { pagination } = ui;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n salesPeriodTimestamp,\r\n retailer,\r\n defaultPageNo,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n directionKey,\r\n isChainHead,\r\n isStoreProfile,\r\n items,\r\n isLoading,\r\n pagination,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchBigWinnersHistory,\r\n downloadBigWinnersHistoryReport,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService', 'tableService')\r\nclass BigWinnersHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.tableConfig = this.tableService.initConfig({ configName: 'bigWinnersHistory' });\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.gameTypes = this.generateGameTypes();\r\n this.periods = this.generatePeriods();\r\n this.isDisabledShare = this.$state.params.isDisabledShare;\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'drawDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchBigWinnersHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n generateGameTypes() {\r\n return [\r\n {\r\n id: undefined,\r\n text: this.gettextCatalog.getString('All'),\r\n },\r\n {\r\n id: INSTANT_GAME_TYPE,\r\n text: this.terms.INSTANT.singular,\r\n },\r\n {\r\n id: DRAW_GAME_TYPE,\r\n text: this.terms.DRAW.singular,\r\n },\r\n ];\r\n }\r\n\r\n generatePeriods() {\r\n const arr = [];\r\n for (let i = 0; i < NUMBER_OF_MONTHS; i++) {\r\n const date = moment.unix(this.salesPeriodTimestamp).subtract(i, 'months').endOf('month');\r\n arr.push({\r\n id: date.format('YYYY-MM-DD'),\r\n text: date.format('MMM YYYY'),\r\n });\r\n }\r\n\r\n return arr;\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n gameType: this.gameTypes[0].id,\r\n monthEndDate: this.periods[0].id,\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('BIG_WINNERS_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n return this.search();\r\n }\r\n\r\n getHeaders() {\r\n let headers = [\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Winning Amount'),\r\n field: 'wonAmount',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Validation Date'),\r\n field: 'drawDate',\r\n sortable: true,\r\n itextAlignment: 'text-center',\r\n },\r\n ];\r\n\r\n if (this.isChainHead && !this.isStoreProfile) {\r\n const chainHeadHeaders = [\r\n {\r\n text: this.gettextCatalog.getString('Store No.'),\r\n field: 'storeNum',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer Name'),\r\n field: 'retailerName',\r\n sortable: true,\r\n },\r\n ];\r\n\r\n headers = headers.concat(chainHeadHeaders);\r\n }\r\n\r\n headers = headers.concat([\r\n {\r\n text: '',\r\n },\r\n ]);\r\n\r\n return headers;\r\n }\r\n\r\n downloadReport(format) {\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Winner History'),\r\n type: this.gridModel.pagingModel.filters.monthEndDate,\r\n format,\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n ...this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n return this.downloadBigWinnersHistoryReport(params, format);\r\n }\r\n}\r\n\r\nexport default class BigWinnersHistoryComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = BigWinnersHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history-component.js","import * as api from 'dashboard/resources/big-winners.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchBigWinnersHistoryRequest = () => ({\r\n type: actionTypes.FETCH_BIG_WINNERS_HISTORY_REQUEST,\r\n name: 'bigWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchBigWinnersHistorySuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_BIG_WINNERS_HISTORY_SUCCESS,\r\n name: 'bigWinnersStatusLoadingStatus',\r\n items,\r\n pagination,\r\n});\r\n\r\nexport const fetchBigWinnersHistoryFailure = () => ({\r\n type: actionTypes.FETCH_BIG_WINNERS_HISTORY_FAILURE,\r\n name: 'bigWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchBigWinnersHistory = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.filters.retailerId || session.retailer.retailerId;\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(fetchBigWinnersHistoryRequest());\r\n const { content, ...pagination } = await api.fetchBigWinnersHistory(queryParams, retailerId);\r\n dispatch(fetchBigWinnersHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_BIG_WINNERS_HISTORY', error);\r\n dispatch(fetchBigWinnersHistoryFailure());\r\n }\r\n};\r\n\r\nexport const downloadBigWinnersHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadBigWinnersHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadBigWinnersHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_BIG_WINNERS_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadBigWinnersHistoryReport = (params, extension) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.retailerId || session.retailer.retailerId;\r\n\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(downloadBigWinnersHistoryReportRequest());\r\n dispatch(downloadBigWinnersHistoryReportSuccess());\r\n return api.downloadBigWinnersHistoryReport(queryParams, retailerId, extension);\r\n } catch (error) {\r\n console.error('DOWNLOAD_EARNINGS_HISTORY_REPORT', error);\r\n dispatch(downloadBigWinnersHistoryReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/big-winners/big-winners.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Game Category\\r\\n \\r\\n \\r\\n \\r\\n {{ item.text }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Month\\r\\n \\r\\n \\r\\n \\r\\n {{ item.text }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ ::item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.storeNum }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.retailerName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::item.gameName }}\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ ::item.storeNum }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ ::item.retailerName }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/big-winners/components/big-winners-history.html\n// module id = 1598\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport CumulativeWinnersWidgetComponent from './cumulative-winners-widget-component';\r\nimport CumulativeWinnersHistoryComponent from './components/cumulative-history-component';\r\n\r\nexport default angular\r\n .module('cumulative-winners-widget', [])\r\n .component('cumulativeWinnersWidget', new CumulativeWinnersWidgetComponent())\r\n .component('cumulativeHistory', new CumulativeWinnersHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('cumulativeWinners-history', {\r\n parent: 'arw',\r\n url: '/cumulative-winners/history/:retailerNo?',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Cashing History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-module.js","import merge from 'lodash/merge';\r\nimport sortBy from 'lodash/sortBy';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isStoreProfileSelector, isIndependentSelector, isChainSubordinateSelector } from 'selectors';\r\nimport * as api from 'dashboard/resources/cumulative-winners.api';\r\nimport template from './cumulative-winners-widget.html';\r\n\r\nconst CUMMULATIVE_HISTORY_PERMISSION = 'cumulativeWinners.history';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const isIndependent = isIndependentSelector({ session });\r\n const isChainSubordinate = isChainSubordinateSelector({ session });\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n isIndependent,\r\n isChainSubordinate,\r\n isStoreProfile,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$state')\r\nclass CumulativeWinnersWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = 0;\r\n this.isHistoryLinkVisible =\r\n (this.isIndependent || this.isChainSubordinate || this.isStoreProfile) && this.checkAccess(CUMMULATIVE_HISTORY_PERMISSION);\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchCumulativeWinners(retailerId), this.transformData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n const getTabInfo = (item) => {\r\n const info = {\r\n WTD: {\r\n title: this.gettextCatalog.getString('Paid to winners this week'),\r\n tabTitle: 'WTD',\r\n order: 1,\r\n periodType: 'WTD',\r\n },\r\n MTD: {\r\n title: this.gettextCatalog.getString('Paid to winners this month'),\r\n tabTitle: 'MTD',\r\n order: 2,\r\n periodType: 'MTD',\r\n },\r\n YTD: {\r\n title: this.gettextCatalog.getString('Paid to winners this year'),\r\n tabTitle: 'YTD',\r\n order: 3,\r\n periodType: 'YTD',\r\n },\r\n };\r\n\r\n return info[item.periodType];\r\n };\r\n\r\n return sortBy(\r\n data.reduce(\r\n (result, item) =>\r\n result.concat([\r\n merge(getTabInfo(item), {\r\n amount: item.validationAmount,\r\n wonDate: item.validationDate,\r\n }),\r\n ]),\r\n []\r\n ),\r\n ['order']\r\n );\r\n }\r\n}\r\n\r\nexport default class CumulativeWinnersWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = CumulativeWinnersWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Prizes Paid\\r\\n Cashing History\\r\\n

    \\r\\n \\r\\n \\r\\n The total ({{ draw }} plus {{ instant }} games) dollar amount of winning tickets cashed in your location during the selected period.\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n {{ tab.title }}\\r\\n

    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/cumulative-winners-widget.html\n// module id = 1601\n// module chunks = 0","import {\r\n fetchCumulativeWinnersHistory,\r\n downloadCumulativeWinnersHistoryReport,\r\n} from 'dashboard/actions/cumulative-winners/cumulative-winners.actions';\r\nimport { fetchTiersDictionary } from 'app/actions/dictionaries/tiers-dictionary.actions';\r\nimport { fetchInvoiceDatesDictionary } from 'app/actions/dictionaries/invoice-dates-dictionary.actions';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport CumulativeHistoryTemplate from './cumulative-history.html';\r\n\r\nconst mapStateToThis = ({ session, config, dictionary, cumulativeWinners, ui }) => {\r\n const { serverTime, retailer } = session;\r\n const { defaultPageNo, pageSizeKey, defaultPageSizes, sortColumnKey, directionKey } = config;\r\n const { tiers, invoiceDates } = dictionary;\r\n const { items, isLoading } = cumulativeWinners;\r\n const { pagination } = ui;\r\n\r\n return {\r\n serverTime,\r\n retailer,\r\n defaultPageNo,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n sortColumnKey,\r\n directionKey,\r\n tiers,\r\n invoiceDates,\r\n items,\r\n isLoading,\r\n pagination,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchTiersDictionary,\r\n fetchInvoiceDatesDictionary,\r\n fetchCumulativeWinnersHistory,\r\n downloadCumulativeWinnersHistoryReport,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'RwAnalyticsService', 'tableService')\r\nclass CumulativeHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n await this.fetchDictionaries();\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.tableConfig = this.tableService.initConfig({ configName: 'cumulativeHistory' });\r\n this.headers = this.tableConfig.getHeaders(this.getHeaders());\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'validationDate',\r\n [this.directionKey]: false,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = await initGrid(this.fetchCumulativeWinnersHistory, this.defaultParams);\r\n this.initializeFilters();\r\n this.search();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async fetchDictionaries() {\r\n return Promise.all([this.fetchTiersDictionary(), this.fetchInvoiceDatesDictionary()]);\r\n }\r\n\r\n preserveFilters() {\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n }\r\n\r\n initializeFilters() {\r\n this.gridModel.pagingModel.filters = {\r\n invoiceEndDate: this.invoiceDates[0].id,\r\n retailerId: this.retailerId,\r\n };\r\n }\r\n\r\n search() {\r\n this.maintenance = false;\r\n this.gridModel\r\n .applyFilters()\r\n .then(() => {\r\n this.preserveFilters();\r\n })\r\n .catch((err) => {\r\n console.error('CUMULATIVE_WINNERS_HISTORY', err);\r\n this.maintenance = true;\r\n });\r\n }\r\n\r\n clearFilter() {\r\n this.initializeFilters();\r\n return this.search();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n text: this.gettextCatalog.getString('Game Name'),\r\n field: 'gameName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Type'),\r\n field: 'type',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Winning Amount'),\r\n field: 'winningAmount',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Validation Date'),\r\n field: 'validationDate',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Ticket Number'),\r\n field: 'ticketNumber',\r\n sortable: true,\r\n },\r\n ];\r\n }\r\n\r\n downloadReport(format) {\r\n const analyticsParams = {\r\n source: this.gettextCatalog.getString('Cashing History'),\r\n type: this.gridModel.pagingModel.filters.invoiceEndDate,\r\n format,\r\n };\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent(analyticsParams);\r\n\r\n const params = {\r\n ...this.gridModel.pagingModel,\r\n ...this.preservedFilters,\r\n pageSize: 0, // BE contract - pageSize = 0 triggers exporting entire data set\r\n };\r\n return this.downloadCumulativeWinnersHistoryReport(params, format);\r\n }\r\n}\r\n\r\nexport default class CumulativeWinnersHistoryComponent {\r\n constructor() {\r\n this.template = CumulativeHistoryTemplate;\r\n this.controller = CumulativeHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history-component.js","import * as api from 'dashboard/resources/cumulative-winners.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const fetchCumulativeWinnersHistoryRequest = () => ({\r\n type: actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_REQUEST,\r\n name: 'cumulativeWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchCumulativeWinnersHistorySuccess = (items, pagination) => ({\r\n type: actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_SUCCESS,\r\n name: 'cumulativeWinnersStatusLoadingStatus',\r\n items,\r\n pagination,\r\n});\r\n\r\nexport const fetchCumulativeWinnersHistoryFailure = () => ({\r\n type: actionTypes.FETCH_CUMULATIVE_WINNERS_HISTORY_FAILURE,\r\n name: 'cumulativeWinnersStatusLoadingStatus',\r\n});\r\n\r\nexport const fetchCumulativeWinnersHistory = (params) => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.filters.retailerId || session.retailer.retailerId;\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(fetchCumulativeWinnersHistoryRequest());\r\n const { content, ...pagination } = await api.fetchCumulativeWinnersHistory(queryParams, retailerId);\r\n dispatch(fetchCumulativeWinnersHistorySuccess(content, pagination));\r\n } catch (error) {\r\n console.error('FETCH_CUMULATIVE_WINNERS_HISTORY', error);\r\n dispatch(fetchCumulativeWinnersHistoryFailure());\r\n }\r\n};\r\n\r\nexport const downloadCumulativeWinnersHistoryReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadCumulativeWinnersHistoryReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadCumulativeWinnersHistoryReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_CUMULATIVE_WINNERS_HISTORY_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadCumulativeWinnersHistoryReport = (params, extension) => (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n const retailerId = params.retailerId || session.retailer.retailerId;\r\n\r\n const queryParams = {\r\n ...params,\r\n locale,\r\n };\r\n\r\n dispatch(downloadCumulativeWinnersHistoryReportRequest());\r\n dispatch(downloadCumulativeWinnersHistoryReportSuccess());\r\n return api.downloadCumulativeWinnersHistoryReport(queryParams, retailerId, extension);\r\n } catch (error) {\r\n console.error('DOWNLOAD_CUMULATIVE_HISTORY_REPORT', error);\r\n dispatch(downloadCumulativeWinnersHistoryReportFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/cumulative-winners/cumulative-winners.actions.js","import * as api from 'app/resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchTiersDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_TIERS_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchTiersDictionarySuccess = (dictionary) => ({\r\n type: actionTypes.FETCH_TIERS_DICTIONARY_SUCCESS,\r\n dictionary,\r\n});\r\n\r\nexport const fetchTiersDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_TIERS_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchTiersDictionary = () => async (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n dispatch(fetchTiersDictionaryRequest());\r\n const dictionary = await api.fetchTiersDictionary(locale);\r\n dispatch(fetchTiersDictionarySuccess(dictionary));\r\n } catch (error) {\r\n console.error('FETCH_TIERS_DICTIONARY', error);\r\n dispatch(fetchTiersDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/tiers-dictionary.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Invoice Week\\r\\n \\r\\n \\r\\n \\r\\n {{ item.value }}\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Type\\r\\n \\r\\n \\r\\n \\r\\n All\\r\\n \\r\\n \\r\\n {{ name }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ ::item.gameName }}\\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.type }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ ::item.ticketNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n {{ ::item.gameName }}\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n {{ ::item.type }}\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ ::item.ticketNumber }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/cumulative-winners/components/cumulative-history.html\n// module id = 1605\n// module chunks = 0","import angular from 'angular';\r\nimport CurrentInstantGameLiabilityWidgetComponent from './current-instant-game-liability-widget-component';\r\n\r\nexport default angular\r\n .module('current-instant-game-liability-widget', [])\r\n .component('currentInstantGameLiabilityWidget', new CurrentInstantGameLiabilityWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport * as api from 'dashboard/resources/current-instant-game-liability.api';\r\nimport template from './current-instant-game-liability-widget.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n terms,\r\n packStatuses,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass CurrentInstantGameLiabilityWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.showDetails = this.checkAccess('dashboard.widget.gameInventory');\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchMyCurrentLiability(this.retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class CurrentInstantGameLiabilityWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = CurrentInstantGameLiabilityWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchMyCurrentLiability = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.myCurrentLiability;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/current-instant-game-liability.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Current Liability\\r\\n Liability Details\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n The outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n {{ instant }} Game Liability\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/current-instant-game-liability/current-instant-game-liability-widget.html\n// module id = 1609\n// module chunks = 0","import angular from 'angular';\r\nimport ActualAndProjectedSettlementsWidgetComponent from './actual-and-projected-settlements-widget-component';\r\n\r\nexport default angular\r\n .module('actual-and-projected-settlements-widget', [])\r\n .component('actualAndProjectedSettlementsWidget', new ActualAndProjectedSettlementsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/actual-and-projected-settlements.api';\r\nimport template from './actual-and-projected-settlements-widget.html';\r\n\r\nconst mapStateToThis = ({ config, dictionary, session }) => {\r\n const { usesProjectedSettlements } = config;\r\n const { locale, retailer } = session;\r\n const { packStatuses } = dictionary;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n retailer,\r\n usesProjectedSettlements,\r\n packStatuses,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog', 'RwAnalyticsService')\r\nclass ActualAndProjectedSettlementsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.projectedSettlements = this.gettextCatalog.getString('Projected Settlements');\r\n this.actualSettlements = this.gettextCatalog.getString('Actual Settlements');\r\n this.widgetTitle = this.usesProjectedSettlements ? this.projectedSettlements : this.actualSettlements;\r\n\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchActualAndProjectedSettlements(this.retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onDownloadReport() {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({\r\n source: this.gettextCatalog.getString('Actual / Projected Settlements'),\r\n type: '',\r\n format: 'xlsx',\r\n });\r\n return api.downloadActualSettlementsReport(this.retailerId, this.locale);\r\n }\r\n}\r\n\r\nexport default class ActualAndProjectedSettlementsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ActualAndProjectedSettlementsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchActualAndProjectedSettlements = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.actualAndProjectedSettlements;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadActualSettlementsReport = (retailerId, locale) => {\r\n const { url } = DepsService.rest.widgets.instant.settlements.downloadReport;\r\n const queryParams = {\r\n locale,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n const headers = { Accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' };\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/actual-and-projected-settlements.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n {{ $ctrl.widgetTitle }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Total value of the outstanding amount due to the Lottery for {{ pack }} currently in an {{ activated }} status that are scheduled to settle during the current week and {{ pack }} in a {{ settled }} status but not yet paid for.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n Est. Retail Value\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Week ending:\\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Sweep date:\\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/actual-and-projected-settlements/actual-and-projected-settlements-widget.html\n// module id = 1613\n// module chunks = 0","import angular from 'angular';\r\nimport NewGamesWidgetComponent from './new-games-widget-component';\r\n\r\nexport default angular.module('new-games-widget', []).component('newGamesWidget', new NewGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-module.js","import get from 'lodash/get';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport moment from 'moment';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/new-games.api';\r\nimport template from './new-games-widget.html';\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', 'gettextCatalog')\r\nclass NewGamesWidgetController extends DashboardWidgetController {\r\n $onInit() {\r\n this.activeTabIdx = this.isEmptyGamesComing ? 1 : 0;\r\n this.isEmptyGamesComing = true;\r\n this.isEmptyGamesLaunched = true;\r\n this.gamesComing = [];\r\n this.gamesLaunched = [];\r\n this.loadDataAsync(() => Promise.all([this.getGamesComingData(), this.getGamesLaunchedData()]));\r\n }\r\n\r\n getGamesComingData() {\r\n return this.getGamesComing().then((result) => {\r\n this.isEmptyGamesComing = isEmpty(result);\r\n if (this.isEmptyGamesComing) {\r\n this.activeTabIdx = 1;\r\n }\r\n });\r\n }\r\n\r\n getGamesLaunchedData() {\r\n return this.getGamesLaunched().then((result) => {\r\n this.isEmptyGamesLaunched = isEmpty(result);\r\n if (this.isEmptyGamesLaunched) {\r\n this.activeTabIdx = 0;\r\n }\r\n });\r\n }\r\n\r\n getComingGamesLabelWithSpecifiedDate() {\r\n const launchDate = moment(get(this.gamesComing, '[0].distribution.launchDate')).format('MMM D');\r\n return `${this.gettextCatalog.getString('Coming')} ${launchDate}`;\r\n }\r\n\r\n getComingGamesLabelWithoutSpecifiedDate() {\r\n return `${this.gettextCatalog.getString('Coming Soon')}`;\r\n }\r\n\r\n getGamesComing() {\r\n return api.fetchGamesComing().then((data) => {\r\n this.gamesComing = data;\r\n this.comingGamesLabel = data.specifiedDate\r\n ? `${this.getComingGamesLabelWithSpecifiedDate()}`\r\n : `${this.getComingGamesLabelWithoutSpecifiedDate()}`;\r\n return Promise.resolve(this.gamesComing);\r\n });\r\n }\r\n\r\n getGamesLaunched() {\r\n return api.fetchGamesLaunched().then((data) => {\r\n this.gamesLaunched = data;\r\n return Promise.resolve(this.gamesLaunched);\r\n });\r\n }\r\n}\r\n\r\nexport default class NewGamesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = NewGamesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchGamesComing = () => {\r\n const { url } = DepsService.rest.widgets.instant.gamesComing;\r\n const queryParams = {};\r\n const urlParams = {};\r\n const path = 'widgets.instant.gamesComing';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchGamesLaunched = () => {\r\n const { url } = DepsService.rest.widgets.instant.gamesLaunched;\r\n const queryParams = {};\r\n const urlParams = {};\r\n const path = 'widgets.instant.gamesLaunched';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/new-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n New Games\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Click or hover on ticket image for game details.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/new-games/new-games-widget.html\n// module id = 1617\n// module chunks = 0","import angular from 'angular';\r\nimport MySlowMovingGamesWidgetComponent from './my-slow-moving-games-widget-component';\r\n\r\nexport default angular\r\n .module('my-slow-moving-games-widget', [])\r\n .component('mySlowMovingGamesWidget', new MySlowMovingGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/my-slow-moving-games.api';\r\nimport template from './my-slow-moving-games-widget.html';\r\n\r\nconst mapStateToThis = ({ config, dictionary, session }) => {\r\n const { instantWidgetsStaleGames, instantWidgetsValidationThreshold } = config;\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n instantWidgetsStaleGames,\r\n instantWidgetsValidationThreshold,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass MySlowMovingGamesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchMySlowMovingGames(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class MySlowMovingGamesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = MySlowMovingGamesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchMySlowMovingGames = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.mySlowMovingGames;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-slow-moving-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n My Slow-Moving Games\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Games in your inventory that were activated more than {{ ::$ctrl.instantWidgetsStaleGames }} days previously and are less than {{ ::$ctrl.instantWidgetsValidationThreshold }}% validated.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n

    \\r\\n \\r\\n Games in your inventory with {{ pack }} activated more than {{ ::$ctrl.instantWidgetsStaleGames }} days ago.\\r\\n \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-slow-moving-games/my-slow-moving-games-widget.html\n// module id = 1621\n// module chunks = 0","import angular from 'angular';\r\nimport MyPricePointMixWidgetComponent from './my-price-point-mix-widget-component';\r\n\r\nexport default angular.module('my-price-point-mix-widget', []).component('myPricePointMixWidget', new MyPricePointMixWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-module.js","import merge from 'lodash/merge';\r\nimport every from 'lodash/every';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { getChartColors } from 'app/actions/theme.actions';\r\nimport * as api from 'dashboard/resources/my-price-point-mix.api';\r\nimport template from './my-price-point-mix-widget.html';\r\nimport chartConfig from './my-price-point-mix-chart.conf.json';\r\n\r\nconst mapStateToThis = ({ config, session, dictionary, theme }) => {\r\n const { locale, retailer } = session;\r\n const { pricePointMixWeeks } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n terms,\r\n theme,\r\n pricePointMixWeeks,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog', '$filter')\r\nclass MyPricePointMixWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.colors = getChartColors(this.theme.colors);\r\n this.chartConfig = this.extendChartConfig(chartConfig.donut);\r\n this.totalAmt = 0;\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchMyPricePointMix(retailerId), this.transformData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n this.checkIfAllEmptyData(data);\r\n let formattedData = data.map((item) => ({\r\n key: item.pricePoint,\r\n y: item.salesAmt,\r\n }));\r\n formattedData = this.setColors(formattedData);\r\n this.setPricePoints(formattedData);\r\n if (this.chartApi) {\r\n this.chartApi.updateWithData(formattedData);\r\n }\r\n\r\n return formattedData;\r\n }\r\n\r\n setColors(data) {\r\n return data.map((item, index) => ({\r\n ...item,\r\n color: this.colors[index],\r\n }));\r\n }\r\n\r\n setPricePoints(data) {\r\n this.pricePoints = [];\r\n this.missingPricePoints = [];\r\n data.forEach((item) => {\r\n this.totalAmt += item.y;\r\n if (item.y) {\r\n this.pricePoints.push(item.key);\r\n } else {\r\n this.missingPricePoints.push(this.$filter('currency')(item.key, undefined, 0));\r\n }\r\n });\r\n this.missingPricePoints = this.missingPricePoints.join(', ');\r\n }\r\n\r\n extendChartConfig(chartConf) {\r\n return merge(chartConf, {\r\n chart: {\r\n x: (d) => this.$filter('currency')(d.key, undefined, 0),\r\n tooltip: {\r\n valueFormatter: (tickVal) => {\r\n const percent = Math.round((tickVal / this.totalAmt) * 100, 0);\r\n return `${percent}% ${this.gettextCatalog.getString('of sales')},
    ${this.$filter('currency')(\r\n tickVal,\r\n undefined,\r\n 0\r\n )} ${this.gettextCatalog.getString('in sales')}`;\r\n },\r\n },\r\n dispatch: {\r\n renderEnd: () => this.centerText(),\r\n },\r\n },\r\n });\r\n }\r\n\r\n centerText() {\r\n const svg = d3.select('.my-price-point-mix-widget--chart-area svg');\r\n const donut = svg.select('g.nv-pie .nv-pie');\r\n\r\n // Insert first line of text into middle of donut pie chart\r\n donut\r\n .insert('text', 'g')\r\n .text(this.gettextCatalog.getString('Last ') + this.pricePointMixWeeks)\r\n .attr('class', 'middle')\r\n .attr('text-anchor', 'middle')\r\n .attr('dy', '-.55em')\r\n .style('fill', '#606060');\r\n // Insert second line of text into middle of donut pie chart\r\n donut\r\n .insert('text', 'g')\r\n .text(this.gettextCatalog.getString(\"Weeks' Sales\"))\r\n .attr('class', 'middle')\r\n .attr('text-anchor', 'middle')\r\n .attr('dy', '.85em')\r\n .style('fill', '#606060');\r\n }\r\n\r\n checkIfAllEmptyData(data) {\r\n this.isEmptyData = every(data, { salesAmt: 0 });\r\n }\r\n}\r\n\r\nexport default class MyPricePointWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = MyPricePointMixWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'theme';\r\n\r\nexport const saveTheme = async (theme) => {\r\n const url = DepsService.rest.theme.url;\r\n\r\n return await DepsService.restSrv.update(CONTEXT, url, theme);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/resources/theme.api.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchMyPricePointMix = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.myPricePointMix;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.instant.myPricePointMix';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-price-point-mix.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n My Price Point Mix\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Your {{ instant }} ticket sales (estimates based on validations) over the last {{ weeks }} full calendar weeks.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n No {{$ctrl.missingPricePoints}} ticket sales\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-widget.html\n// module id = 1630\n// module chunks = 0","module.exports = {\"donut\":{\"chart\":{\"type\":\"pieChart\",\"height\":210,\"showLabels\":false,\"donut\":true,\"donutRatio\":1.25,\"showLegend\":false,\"growOnHover\":false,\"tooltip\":{\"enabled\":true,\"classes\":\"my-price-point-mix-tooltip\"}},\"noData\":\"\",\"xAxis\":{\"showMaxMin\":false}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-price-point-mix/my-price-point-mix-chart.conf.json\n// module id = 1631\n// module chunks = 0","import * as angular from 'angular';\r\nimport MyNetSalesPerformanceWidgetComponent from './my-net-sales-performance-widget-component';\r\n\r\nexport default angular\r\n .module('my-net-sales-performance-widget', ['nvd3'])\r\n .component('myNetSalesPerformanceWidget', new MyNetSalesPerformanceWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-module.ts","import * as isEmpty from 'lodash/isEmpty.js';\r\nimport { IComponentOptions, IFilterService } from 'angular';\r\nimport { INgRedux } from 'ng-redux';\r\nimport { getChartColors } from 'app/actions/theme.actions.js';\r\nimport api from 'dashboard/resources/my-net-sales-performance.api';\r\nimport { NetSales, NetSalesTranslation, SalesCategory, WeeklySales } from 'dashboard/resources/my-net-sales-performance.types';\r\nimport { IMyNetSalesPerformanceWidgetComponentController, SelectOption } from './my-net-sales-performance-widget.types';\r\nimport * as template from './my-net-sales-performance-widget.html';\r\n\r\nconst CATEGORY_ALL = 'All';\r\nconst THIS_YEAR = 'ThisYear';\r\n\r\nconst mapStateToThis = ({ session, theme, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n theme,\r\n retailer,\r\n terms,\r\n };\r\n};\r\n\r\nclass MyNetSalesPerformanceWidgetController implements IMyNetSalesPerformanceWidgetComponentController {\r\n // prettier-ignore\r\n static $inject = [\r\n '$scope',\r\n '$ngRedux',\r\n '$state',\r\n '$filter',\r\n 'gettextCatalog',\r\n ];\r\n\r\n public isEditMode: boolean;\r\n public isRemovable: boolean;\r\n public removeWidget: any;\r\n\r\n private unsubscribe: any;\r\n private isEmpty: boolean;\r\n private isLoading: boolean;\r\n private isMaintenance: boolean;\r\n private terms: any;\r\n private retailer: any;\r\n private retailerId: number;\r\n private locale: string;\r\n private data: NetSales[];\r\n private translations: NetSalesTranslation[];\r\n private allCategories: SalesCategory[];\r\n private categories: SelectOption[] = [];\r\n private categoryId: number;\r\n private dataTypes: SelectOption[] = [];\r\n private dataTypeId: number;\r\n private theme: any;\r\n private colors: any;\r\n private chartOptions: any;\r\n private chartData: any;\r\n\r\n // prettier-ignore\r\n constructor(\r\n protected $scope: any,\r\n protected $ngRedux: INgRedux,\r\n protected $state: any,\r\n protected $filter: IFilterService,\r\n protected gettextCatalog: any\r\n ) {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = parseInt(this.$state.params.retailerNo, 10) || this.retailer.retailerId;\r\n this.colors = getChartColors(this.theme.colors);\r\n this.$scope.$applyAsync(\r\n this.fetchData().then(() => {\r\n this.setDataTypes();\r\n this.setChartOptions();\r\n this.setChartData();\r\n })\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n setDataTypes() {\r\n this.data.forEach((item: NetSales) => {\r\n if (item.name !== THIS_YEAR) {\r\n this.dataTypes.push({\r\n id: item.displayNumber,\r\n label: this.findTranslationValue(item.name),\r\n });\r\n }\r\n });\r\n this.dataTypeId = this.dataTypes.length > 0 ? this.dataTypes[0].id : null;\r\n }\r\n\r\n async fetchData() {\r\n try {\r\n this.isMaintenance = false;\r\n this.isEmpty = true;\r\n this.isLoading = true;\r\n await Promise.all([this.fetchMyNetSalesTranslations(), this.fetchAllCategories()]);\r\n await this.fetchNetSalesData();\r\n } catch (error) {\r\n this.isMaintenance = true;\r\n console.error('FETCH_DATA_MY_NET_SALES_PERFORMANCE_WIDGET', error);\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n async fetchMyNetSalesTranslations() {\r\n this.translations = await api.fetchMyNetSalesTranslations(this.locale);\r\n }\r\n\r\n findTranslationValue(name) {\r\n const { value } = this.translations.find((translation: NetSalesTranslation) => translation.name === name) || {};\r\n return value;\r\n }\r\n\r\n async fetchAllCategories() {\r\n this.allCategories = await api.fetchSalesCategories();\r\n this.setCategories();\r\n }\r\n\r\n setCategories() {\r\n const allCategory = this.allCategories.find((category: SalesCategory) => category.categoryType === CATEGORY_ALL);\r\n\r\n this.categories = [\r\n {\r\n id: 0, // allCategory.id,\r\n label: this.gettextCatalog.getString('Total {{ draw }} and {{ instant }} Game Sales', {\r\n instant: this.terms.INSTANT.singular,\r\n draw: this.terms.DRAW.singular,\r\n }),\r\n },\r\n {\r\n id: 1, // instantCategory.id,\r\n label: this.gettextCatalog.getString('{{ instant }} Game Sales', { instant: this.terms.INSTANT.singular }),\r\n },\r\n {\r\n id: 2, // drawCategory.id,\r\n label: this.gettextCatalog.getString('{{ draw }} Game Sales', { draw: this.terms.DRAW.singular }),\r\n },\r\n ];\r\n\r\n this.categoryId = allCategory ? allCategory.id : null;\r\n }\r\n\r\n async fetchNetSalesData() {\r\n this.data = await api.fetchMyNetSalesPerformanceData(this.retailerId, this.categoryId);\r\n this.isEmpty = isEmpty(this.data);\r\n }\r\n\r\n setChartData() {\r\n const [color1, color2] = this.colors;\r\n this.chartData = [];\r\n const dataItemThisYear = this.data.find((item: NetSales) => item.name === THIS_YEAR);\r\n const dataItemComparison = this.data.find((item: NetSales) => item.displayNumber === this.dataTypeId);\r\n\r\n const getLineChartData = (color, netSales: NetSales, netSalesForComparison: NetSales) => {\r\n const compareWeeklySales = (weeklySales1: WeeklySales, weeklySales2: WeeklySales) =>\r\n weeklySales1 && weeklySales2 ? weeklySales1.sales - weeklySales2.sales : 0;\r\n\r\n return {\r\n color,\r\n key: this.findTranslationValue(netSales.name),\r\n values:\r\n netSales.weeklySales.length > 0\r\n ? netSales.weeklySales.map((weeklySales: WeeklySales) => {\r\n const weeklySalesComparison =\r\n netSalesForComparison.weeklySales.length > 0\r\n ? netSalesForComparison.weeklySales.find(\r\n (weeklySales2: WeeklySales) => weeklySales2.weekNumber === weeklySales.weekNumber\r\n )\r\n : null;\r\n\r\n return {\r\n x: weeklySales.weekNumber,\r\n y: weeklySales.sales,\r\n weekEndDate: weeklySales.weekEndDate,\r\n comparison: compareWeeklySales(weeklySales, weeklySalesComparison),\r\n };\r\n })\r\n : [],\r\n };\r\n };\r\n\r\n this.chartData = [\r\n getLineChartData(color1, dataItemThisYear, dataItemComparison),\r\n getLineChartData(color2, dataItemComparison, dataItemThisYear),\r\n ];\r\n }\r\n\r\n setChartOptions() {\r\n const currencySymbol = undefined;\r\n const currencyFractionSize = 0;\r\n\r\n this.chartOptions = {\r\n chart: {\r\n clipEdge: false,\r\n type: 'lineChart',\r\n height: 280,\r\n margin: { left: 90 },\r\n showLabels: false,\r\n showLegend: false,\r\n growOnHover: false,\r\n tooltips: {\r\n enabled: true,\r\n },\r\n xAxis: {\r\n showMaxMin: false,\r\n axisLabel: this.gettextCatalog.getString('Week'),\r\n },\r\n yAxis: {\r\n showMaxMin: false,\r\n tickFormat: (tickVal) => {\r\n return this.$filter('currency')(tickVal, currencySymbol, currencyFractionSize);\r\n },\r\n },\r\n tooltip: {\r\n // eslint-disable-next-line consistent-return\r\n contentGenerator: (e) => {\r\n const { point } = e;\r\n const { color, y: value, weekEndDate, comparison } = point;\r\n return `\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ${\r\n comparison\r\n ? `= 0 ? 'success' : 'danger'}\">\r\n \r\n \r\n `\r\n : ''\r\n }\r\n \r\n
    \r\n ${this.gettextCatalog.getString('Week ending')}\r\n \r\n ${this.$filter('date')(weekEndDate, 'shortDate')}\r\n
    \r\n
    \r\n
    \r\n ${this.$filter('currency')(Math.round(value), currencySymbol, currencyFractionSize)}\r\n
    = 0 ? 'fa-level-up' : 'fa-level-down'}\">${comparison.toFixed(2)}%
    `;\r\n },\r\n },\r\n },\r\n };\r\n }\r\n\r\n async onChangeCategory() {\r\n await this.fetchNetSalesData();\r\n this.setChartData();\r\n }\r\n}\r\n\r\nexport default class MyNetSalesPerformanceWidgetComponent implements IComponentOptions {\r\n public bindings: any;\r\n public template: any;\r\n public controller: any;\r\n\r\n constructor() {\r\n this.template = template;\r\n this.controller = MyNetSalesPerformanceWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget-component.ts","import DepsService from 'services/dependencies.js';\r\nimport { NetSales, NetSalesTranslation, SalesCategory } from './my-net-sales-performance.types';\r\n\r\nconst CONTEXT = 'dashboard';\r\nconst NUMBER_OF_WEEKS = 52;\r\n\r\nconst fetchMyNetSalesPerformanceData = (\r\n retailerId: number,\r\n salesCategoryId: number,\r\n numberOfWeeks: number = NUMBER_OF_WEEKS\r\n): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.myNetSalesPerformance;\r\n const queryParams = {\r\n salesCategoryId,\r\n numberOfWeeks,\r\n };\r\n const urlParams = {\r\n retailerId,\r\n };\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchSalesCategories = (): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.salesCategories;\r\n const queryParams = {};\r\n const urlParams = {};\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nconst fetchMyNetSalesTranslations = (locale: string): Promise => {\r\n const { url } = DepsService.rest.widgets.instant.myNetSalesTranslations;\r\n const queryParams = { locale };\r\n const urlParams = {};\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default {\r\n fetchMyNetSalesPerformanceData,\r\n fetchSalesCategories,\r\n fetchMyNetSalesTranslations,\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-net-sales-performance.api.ts","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n My Net Sales Performance\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Your net sales by week (based on validations) this calendar year to date, measured against your own sales the previous year; average lottery sales by\\r\\n retailers in your geographical area this year; and average lottery sales in the state by retailers in your same business type this year.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Game Type\\r\\n \\r\\n \\r\\n \\r\\n {{ category.label }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Compare your CY weekly sales with\\r\\n \\r\\n \\r\\n \\r\\n {{ dataType.label }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ item.key }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-net-sales-performance/my-net-sales-performance-widget.html\n// module id = 1635\n// module chunks = 0","import angular from 'angular';\r\nimport ViewFullGameInventoryWidgetComponent from './view-full-game-inventory-widget-component';\r\n\r\nexport default angular\r\n .module('view-full-game-inventory-widget', [])\r\n .component('viewFullGameInventoryWidget', new ViewFullGameInventoryWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport template from './view-full-game-inventory-widget.html';\r\n\r\n/* Redux */\r\nconst mapStateToThis = ({ session }) => ({\r\n retailer: session.retailer,\r\n});\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass ViewFullGameInventoryWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerNo = this.$state.params.retailerNo || this.retailer.retailerId;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ViewFullGameInventoryWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ViewFullGameInventoryWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n View Inventory\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/view-full-game-inventory/view-full-game-inventory-widget.html\n// module id = 1638\n// module chunks = 0","import angular from 'angular';\r\nimport TopSellingGamesWidgetComponent from './top-selling-games-widget-component';\r\n\r\nexport default angular.module('top-selling-games-widget', []).component('topSellingGamesWidget', new TopSellingGamesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport take from 'lodash/take';\r\nimport * as api from 'dashboard/resources/top-selling-games.api';\r\nimport template from './top-selling-games-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass TopSellingGamesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.rankings = [\r\n { id: 0, title: this.gettextCatalog.getString('In the state') },\r\n { id: 1, title: this.gettextCatalog.getString('In your store') },\r\n ];\r\n this.ranking = 0;\r\n this.activeTabIdx = 0;\r\n this.loadDataAsync(() =>\r\n Promise.all([this.getTop10(), this.getTopSellersByPrice()]).then((results) => {\r\n this.isEmptyTopRankings = isEmpty(results[0]);\r\n this.isEmptyTopSellers = isEmpty(results[1]);\r\n })\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getTop10() {\r\n return api.fetchTop10(this.retailerId).then((data) => {\r\n this.topAll = data;\r\n this.sortTop10();\r\n return Promise.resolve(this.topAll);\r\n });\r\n }\r\n\r\n sortTop10() {\r\n if (this.ranking === 0) {\r\n this.top10 = take(this.topAll.sort(this.stateSalesComparator.bind(this)), 10);\r\n } else {\r\n this.top10 = take(this.topAll.sort(this.storeSalesComparator.bind(this)), 10);\r\n }\r\n }\r\n\r\n stateSalesComparator({ stateSalesRank: a }, { stateSalesRank: b }) {\r\n return this.customComparator(a, b);\r\n }\r\n\r\n storeSalesComparator({ storeSalesRank: a }, { storeSalesRank: b }) {\r\n return this.customComparator(a, b);\r\n }\r\n\r\n customComparator(a, b) {\r\n if (a === b) {\r\n return 0;\r\n }\r\n if (a === 0) {\r\n return 1;\r\n }\r\n if (b === 0) {\r\n return -1;\r\n }\r\n return a < b ? -1 : 1;\r\n }\r\n\r\n getTopSellersByPrice() {\r\n return api.fetchTopSellersByPrice(this.retailerId).then((data) => {\r\n this.topSellersByPrice = data.reduce((prev, curr) => {\r\n let added = prev.find((search) => search.pricePoint === curr.pricePoint);\r\n if (!added) {\r\n added = {\r\n pricePoint: curr.pricePoint,\r\n };\r\n prev = prev.concat(added);\r\n }\r\n\r\n const index = curr.salesRank === 1 || !added.gameName1 ? 1 : 2;\r\n added[`gameName${index}`] = curr.gameName;\r\n added[`gameNumber${index}`] = curr.gameNumber;\r\n added[`salesRank${index}`] = curr.salesRank;\r\n added[`imageURL${index}`] = curr.imageURL;\r\n return prev;\r\n }, []);\r\n return Promise.resolve(this.topSellersByPrice);\r\n });\r\n }\r\n}\r\n\r\nexport default class TopSellingGamesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = TopSellingGamesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchTop10 = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.top10;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.instant.top10';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\r\nexport const fetchTopSellersByPrice = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.topSellersByPrice;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const path = 'widgets.instant.top10';\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams, path);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/top-selling-games.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Top-Selling Games\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Based on validations for the past week. “X” indicates that you have had no validations for this game in the past week\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n {{ ranking.title }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n #{{game.stateSalesRank}}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{game.gameName}}\\r\\n

    \\r\\n

    #{{game.storeSalesRank}} {{$ctrl.rankings[1].title | lowercase}}

    \\r\\n

    \\r\\n No validations last week\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n #{{game.storeSalesRank}}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{game.gameName}}\\r\\n

    \\r\\n

    #{{game.stateSalesRank}} {{$ctrl.rankings[0].title | lowercase}}

    \\r\\n

    \\r\\n No validations last week\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n #1\\r\\n
    \\r\\n
    \\r\\n #2\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{game.gameName1}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"{{\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{game.gameName2}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/top-selling-games/top-selling-games-widget.html\n// module id = 1643\n// module chunks = 0","import angular from 'angular';\r\nimport MessagesWidgetComponent from './messages-widget-component';\r\n\r\nexport default angular.module('messages-widget', []).component('messagesWidget', new MessagesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchMessagesList, resetInbox } from 'message/actions/inbox.actions';\r\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\r\nimport { isRetailerDashboardSelector } from 'selectors';\r\nimport MessagesWidgetTemplate from './messages-widget.html';\r\n\r\nconst mapStateToThis = ({ messages, session, config, retailerDashboards }) => {\r\n const { unreadCount, inbox, isLoading } = messages;\r\n const { locale } = session;\r\n const { defaultPageNo } = config;\r\n const isRetailerDashboard = isRetailerDashboardSelector({ retailerDashboards });\r\n\r\n return {\r\n unreadCount,\r\n isLoading,\r\n messages: inbox,\r\n locale,\r\n isRetailerDashboard,\r\n defaultPageNo,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchMessagesList,\r\n fetchUnreadMessagesCount,\r\n resetInbox,\r\n};\r\n\r\nconst MESSAGE_COUNT = 3;\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass MessagesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.loadDataAsync(() =>\r\n this.isRetailerDashboard\r\n ? Promise.resolve()\r\n : Promise.all([\r\n this.fetchMessagesList({\r\n setPagination: false, // param to omit pagination calculation to avoid UI collision in widgets [RWZ-7697]\r\n pageNumber: this.defaultPageNo,\r\n pageSize: MESSAGE_COUNT,\r\n sortProperty: 'creationDate',\r\n ascending: false,\r\n }),\r\n this.fetchUnreadMessagesCount(),\r\n ])\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.resetInbox();\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class MessagesWidgetComponent {\r\n constructor() {\r\n this.template = MessagesWidgetTemplate;\r\n this.controller = MessagesWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/messages/messages-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n Messages\\r\\n \\r\\n \\r\\n ({{$ctrl.unreadCount}})\\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n View All\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n Up to three most recent messages are displayed on the dashboard. Click on any message to read the full text. Select “View All” to view and manage your inbox.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n

    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Subject:\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n From:\\r\\n \\r\\n \\r\\n {{ message.authorName }}\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    You have no messages at this time.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/messages/messages-widget.html\n// module id = 1646\n// module chunks = 0","import angular from 'angular';\r\nimport LicenseRenewalWidgetComponent from './lottery-representatives-widget-component';\r\n\r\nexport default angular\r\n .module('lottery-representatives-widget', [])\r\n .component('lotteryRepresentativesWidget', new LicenseRenewalWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-module.js","import isEmpty from 'lodash/isEmpty';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/lottery-representatives.api';\r\nimport template from './lottery-representatives-widget.html';\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer } = session;\r\n\r\n return {\r\n retailer,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass LotteryRepresentativesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n const transformData = ({ representatives }) =>\r\n representatives.map((rep) => {\r\n const initials = `${rep.firstName.charAt(0)}${rep.lastName.charAt(0)}`;\r\n return {\r\n initials,\r\n ...rep,\r\n };\r\n });\r\n this.loadDataAsync(() => api.fetchLotteryRepresentatives(retailerId), transformData, 'representatives');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class LotteryRepresentativesWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = LotteryRepresentativesWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchLotteryRepresentatives = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.lotteryRepresentatives;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/lottery-representatives.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Your Lottery Representatives\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n View the contact information for your Lottery Representatives. They can be contacted by using the links within the widget.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n {{ representative.initials }}\\r\\n
    \\r\\n\\r\\n \\r\\n ({{ representative.jobTitle }})\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ representative.firstName }} {{ representative.lastName}}\\r\\n\\r\\n \\r\\n ({{ representative.jobTitle }})\\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lottery-representatives/lottery-representatives-widget.html\n// module id = 1650\n// module chunks = 0","import angular from 'angular';\r\nimport SelfServiceOutOfStockWidgetComponent from './self-service-out-of-stock-widget-component';\r\n\r\nexport default angular\r\n .module('self-service-out-of-stock-widget', [])\r\n .component('selfServiceOutOfStockWidget', new SelfServiceOutOfStockWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-module.js","import get from 'lodash/get';\r\nimport moment from 'moment';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/self-service-out-of-stock.api';\r\nimport template from './self-service-out-of-stock-widget.html';\r\nimport chartConfig from './self-service-out-of-stock-chart-config.json';\r\nimport { extendChartConfig, parseTimeToHoursAndMinutes } from './self-service-out-of-stock-widget-service';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { retailer } = session;\r\n const { colorScale } = config;\r\n\r\n return {\r\n retailer,\r\n colorScale,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', 'RwAnalyticsService')\r\nclass SelfServiceOutOfStockWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.lost = 0;\r\n this.time = 0;\r\n this.factor = 0;\r\n this.timeToDisplay = '';\r\n this.downloadData = {\r\n fileName: 'Details',\r\n };\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchSelfServiceOutOfStock(this.retailerId), this.transformData.bind(this), 'content.content');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n transformData(data) {\r\n let transformedData = get(data, 'content.content') || [];\r\n // sort by date\r\n transformedData = transformedData.sort((week1, week2) => {\r\n if (moment(week1.weekEndDate).isSame(week2.weekEndDate)) {\r\n return 0;\r\n }\r\n if (moment(week1.weekEndDate).isBefore(week2.weekEndDate)) {\r\n return -1;\r\n }\r\n return 1;\r\n });\r\n\r\n this.chartOptions = extendChartConfig(\r\n chartConfig,\r\n this.gettextCatalog,\r\n this.colorScale.find((color) => color.id === 'CHAIN_HEAD').label\r\n );\r\n this.chartModel = [\r\n {\r\n values: transformedData,\r\n },\r\n ];\r\n\r\n transformedData.forEach(({ estLostSales, timeNotSelling, oosFactor }) => {\r\n if (estLostSales || timeNotSelling || oosFactor) {\r\n this.isEmpty = false;\r\n this.lost += estLostSales;\r\n this.time += timeNotSelling;\r\n this.factor += oosFactor;\r\n }\r\n });\r\n\r\n this.timeToDisplay = parseTimeToHoursAndMinutes(this.time);\r\n // calculating average for the 13 weeks period\r\n if (transformedData.length > 0 && this.factor > 0) {\r\n this.factor /= transformedData.length;\r\n }\r\n\r\n return transformedData;\r\n }\r\n\r\n onDownloadReport() {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({\r\n source: this.gettextCatalog.getString('Self-Service Out of Stock'),\r\n type: '',\r\n format: 'xlsx',\r\n });\r\n return api.downloadLvmReport(this.retailerId);\r\n }\r\n}\r\n\r\nexport default class SelfServiceOutOfStockWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.controller = SelfServiceOutOfStockWidgetController;\r\n this.template = template;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchSelfServiceOutOfStock = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.common;\r\n const queryParams = { retailerId };\r\n const urlParams = {\r\n type: 'lvm13Weeks',\r\n };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadLvmReport = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.lvm.downloadReport;\r\n const queryParams = { retailerId };\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/self-service-out-of-stock.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Self-Service Out of Stock\\r\\n \\r\\n \\r\\n Details\\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n Displays the combined out-of-stock time (hours) and estimated lost sales for all bins in all self-service devices in this location; by week for the last 13 weeks.\\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n Est. lost sales\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    {{$ctrl.timeToDisplay}} h

    \\r\\n

    \\r\\n Time OoS\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n

    {{$ctrl.factor | number:2 | lspPercent}}

    \\r\\n

    \\r\\n OoS Factor\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n

    \\r\\n OoS 13-Week History\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget.html\n// module id = 1654\n// module chunks = 0","module.exports = {\"chart\":{\"type\":\"multiBarChart\",\"showValues\":false,\"showControls\":false,\"showLegend\":false,\"tooltip\":{\"enabled\":true},\"xAxis\":{\"rotateYLabel\":false,\"showMaxMin\":false},\"yAxis\":{\"showMaxMin\":false},\"height\":200,\"noData\":\"\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-chart-config.json\n// module id = 1655\n// module chunks = 0","import merge from 'lodash/merge';\r\nimport moment from 'moment';\r\n\r\nexport function extendChartConfig(chartConfig, gettext, color) {\r\n return merge(chartConfig, {\r\n chart: {\r\n x: (d) => moment(d.weekEndDate).format('MMM D'),\r\n y: (d) => d.timeNotSelling,\r\n // eslint-disable-next-line\r\n valueFormat: (val) => parseTimeToHoursAndMinutes(val),\r\n barColor: () => color,\r\n yAxis: {\r\n tickFormat(yAxisValue) {\r\n // eslint-disable-next-line\r\n return parseTimeToHoursAndMinutes(yAxisValue);\r\n },\r\n },\r\n },\r\n });\r\n}\r\n\r\nexport function parseTimeToHoursAndMinutes(timeInMs) {\r\n let h = Number.parseInt(moment.duration(timeInMs).asHours());\r\n let m = moment.duration(timeInMs).minutes();\r\n\r\n if (h < 10) h = `0${h}`;\r\n if (m < 10) m = `0${m}`;\r\n\r\n return `${h}:${m}`;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/self-service-out-of-stock/self-service-out-of-stock-widget-service.js","import angular from 'angular';\r\nimport LicenseRenewalWidgetComponent from './license-renewal-widget-component';\r\n\r\nexport default angular.module('license-renewal-widget', []).component('licenseRenewalWidget', new LicenseRenewalWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-module.js","import angular from 'angular';\r\nimport BondRenewalWidgetComponent from './bond-renewal-widget-component';\r\n\r\nexport default angular.module('bond-renewal-widget', []).component('bondRenewalWidget', new BondRenewalWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-module.js","import { isChainHeadSelector } from 'selectors/index';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { downloadBondRenewalReport, fetchBondRenewal } from 'dashboard/actions/bond-renewal/bond-renewal.actions';\r\nimport { isRetailerDashboardSelector } from 'selectors';\r\nimport tabs from 'contact/components/contact-us/tabs';\r\nimport template from './bond-renewal-widget.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, config, bondRenewal } = state;\r\n const { retailer } = session;\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { bondRenewalMaxDaysNo, bondRenewalLimitDays, bondRenewalInquiryReasonId } = config;\r\n const { isLoading, stores, storesCount } = bondRenewal;\r\n const isEmpty = storesCount === 0;\r\n const { CONTACT_THE_LOTTERY } = tabs;\r\n const isPreviewingRetailerDashboards = isRetailerDashboardSelector(state);\r\n\r\n return {\r\n retailer,\r\n isChainHead,\r\n bondRenewalMaxDaysNo,\r\n bondRenewalLimitDays,\r\n bondRenewalInquiryReasonId,\r\n isLoading,\r\n stores,\r\n storesCount,\r\n isEmpty,\r\n isPreviewingRetailerDashboards,\r\n CONTACT_THE_LOTTERY,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n downloadBondRenewalReport,\r\n fetchBondRenewal,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$state', '$ngRedux', 'widgetService')\r\nclass BondRenewalWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.widgetConfig = this.widgetService.initConfig({ configName: 'bondRenewal' });\r\n this.$scope.$applyAsync(this.fetchBondRenewal(this.retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class BondRenewalWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = template;\r\n this.controller = BondRenewalWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget-component.js","import * as api from 'dashboard/resources/bond-renewal.api';\r\nimport actionTypes from './action-types';\r\n\r\nexport const downloadBondRenewalReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_BOND_RENEWAL_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadBondRenewalReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_BOND_RENEWAL_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadBondRenewalReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_BOND_RENEWAL_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadBondRenewalReport =\r\n (extension, id = null) =>\r\n (dispatch, getState) => {\r\n try {\r\n const { session } = getState();\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(downloadBondRenewalReportRequest());\r\n dispatch(downloadBondRenewalReportSuccess());\r\n return api.downloadBondRenewalReport(extension, retailerId);\r\n } catch (error) {\r\n console.error('DOWNLOAD_BOND_RENEWAL_REPORT', error);\r\n dispatch(downloadBondRenewalReportFailure());\r\n }\r\n };\r\n\r\nexport const fetchBondRenewalRequest = () => ({\r\n type: actionTypes.FETCH_BOND_RENEWAL_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchBondRenewalSuccess = ({ stores, storeCount }) => ({\r\n type: actionTypes.FETCH_BOND_RENEWAL_SUCCESS,\r\n stores,\r\n storeCount,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBondRenewalFailure = () => ({\r\n type: actionTypes.FETCH_BOND_RENEWAL_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchBondRenewal =\r\n (id = null) =>\r\n async (dispatch, getState) => {\r\n try {\r\n const { session, config } = getState();\r\n const { bondRenewalMaxDaysNo } = config;\r\n const retailerId = id || session.retailer.retailerId;\r\n\r\n dispatch(fetchBondRenewalRequest());\r\n const data = await api.fetchBondRenewal({ retailerId, bondRenewalMaxDaysNo });\r\n dispatch(fetchBondRenewalSuccess(data));\r\n } catch (error) {\r\n console.error('BOND_RENEWAL', error);\r\n dispatch(fetchBondRenewalFailure());\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/actions/bond-renewal/bond-renewal.actions.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'bondRenewal';\r\n\r\nexport const downloadBondRenewalReport = (extension, retailerId) => {\r\n const url = DepsService.rest.widgets.bondRenewal.url;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\r\nexport const fetchBondRenewal = async ({ retailerId, bondRenewalMaxDaysNo }) => {\r\n const url = DepsService.rest.widgets.bondRenewal.url;\r\n const queryParams = { days: bondRenewalMaxDaysNo };\r\n const urlParams = { retailerId };\r\n\r\n const stores = await DepsService.restSrv.get(CONTEXT, url, queryParams, urlParams);\r\n\r\n return {\r\n stores: storeTransformation(stores, bondRenewalMaxDaysNo),\r\n storeCount: stores.length,\r\n };\r\n};\r\n\r\nexport const storeTransformation = (stores, bondRenewalMaxDaysNo) => {\r\n return stores.reduce((aggregated, store) => {\r\n let arr = aggregated[store.bondRenewalDaysLeft] || [];\r\n\r\n aggregated[store.bondRenewalDaysLeft] = [\r\n ...arr,\r\n ...[\r\n {\r\n ...store,\r\n percentExpirationDays: appHelpers.calculateDaysLeftToPercentages(store.bondRenewalDaysLeft, bondRenewalMaxDaysNo),\r\n },\r\n ],\r\n ];\r\n\r\n return aggregated;\r\n }, {});\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/bond-renewal.api.js","module.exports = \"\\r\\n\\r\\n \\r\\n

    \\r\\n Bond Renewal\\r\\n \\r\\n Contact the Lottery\\r\\n \\r\\n

    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n 1 of your stores is\\r\\n \\r\\n\\r\\n
    \\r\\n up for bond renewal in the next {{ $ctrl.bondRenewalMaxDaysNo }} days.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    $ctrl.bondRenewalLimitDays,\\r\\n 'status-urgent': $ctrl.stores[key][0].bondRenewalDaysLeft <= $ctrl.bondRenewalLimitDays}\\\">\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n = 0\\\"\\r\\n translate-n=\\\"stores.length\\\"\\r\\n translate-plural=\\\"{{$count}} of your stores expire in\\\"\\r\\n translate>\\r\\n 1 of your stores expires in\\r\\n \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"stores[0].bondRenewalDaysLeft\\\"\\r\\n translate-plural=\\\"{{$count}} days\\\"\\r\\n translate>\\r\\n 1 day\\r\\n \\r\\n\\r\\n \\r\\n {{count}} of your stores expired\\r\\n \\r\\n\\r\\n \\r\\n 1 day ago\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Retailer No.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    0\\\"\\r\\n class=\\\"pl-2\\\">\\r\\n \\r\\n Store No.\\r\\n \\r\\n \\r\\n {{store.storeId}}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n
    \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n = 0\\\">\\r\\n Your store is up for bond renewal in\\r\\n \\r\\n\\r\\n \\r\\n Your bond renewal expired\\r\\n \\r\\n\\r\\n = 0\\\"\\r\\n translate-n=\\\"store[0].bondRenewalDaysLeft\\\"\\r\\n translate-plural=\\\"{{$count}} days\\\">\\r\\n 1 day\\r\\n \\r\\n\\r\\n \\r\\n 1 day ago\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/bond-renewal/bond-renewal-widget.html\n// module id = 1662\n// module chunks = 0","import angular from 'angular';\r\nimport SellingTerminalsWidgetComponent from './selling-terminals-widget-component';\r\n\r\nexport default angular.module('selling-terminals-widget', []).component('sellingTerminals', new SellingTerminalsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-module.js","import get from 'lodash/get';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/selling-terminals.api';\r\nimport sellingTerminalsWidgetTemplate from './selling-terminals-widget.html';\r\n\r\nconst TERMINAL_STATUS_ACTIVE_CODE = 2;\r\n\r\nconst mapStateToThis = ({ session }) => {\r\n const { retailer, baseUrl } = session;\r\n\r\n return {\r\n retailer,\r\n baseUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope')\r\nclass SellingTerminalsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(\r\n () => Promise.all([api.fetchTerminalsDetails(retailerId), api.fetchTerminalsTemplates()]),\r\n this.transformData.bind(this)\r\n );\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getImageName(terminalType) {\r\n return `${this.baseUrl}api/game-image/view/terminal-${terminalType}.png`;\r\n }\r\n\r\n transformData(data) {\r\n const terminals = get(data, '[0]') || [];\r\n const terminalTemplates = get(data, '[1]') || [];\r\n\r\n const transformedData = terminals\r\n .filter((terminal) => terminal.statusCode === TERMINAL_STATUS_ACTIVE_CODE)\r\n .reduce((prev, curr, index) => {\r\n const ind = prev.findIndex((item) => item.terminalType === curr.terminalType);\r\n if (ind > -1) {\r\n prev[ind].index += 1;\r\n return prev;\r\n }\r\n\r\n const terminalTemplate = terminalTemplates.find((item) => item.terminalType === curr.terminalType);\r\n if (terminalTemplate) {\r\n curr.index ? (curr.index += 1) : (curr.index = 1);\r\n curr.terminalName = terminalTemplate.name;\r\n curr.imageName = this.getImageName({ terminalType: curr.terminalType });\r\n return prev.concat(curr);\r\n }\r\n return prev;\r\n }, []);\r\n\r\n return transformedData;\r\n }\r\n}\r\n\r\nexport default class SellingTerminalsWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.template = sellingTerminalsWidgetTemplate;\r\n this.controller = SellingTerminalsWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchTerminalsDetails = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.terminals.details;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchTerminalsTemplates = () => {\r\n const { url } = DepsService.rest.widgets.terminals.templates;\r\n const queryParams = {};\r\n const urlParams = {};\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/selling-terminals.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Sales Terminals\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n Displays all lottery terminals and self-service devices in this location. Devices are grouped by type and counted.\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n

    {{ terminal.terminalName }}

    \\r\\n

    \\r\\n Number Active\\r\\n : {{ terminal.index }}\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/selling-terminals/selling-terminals-widget.html\n// module id = 1666\n// module chunks = 0","import angular from 'angular';\r\nimport ChainSalesRankWidgetComponent from './chain-sales-rank-widget-component';\r\n\r\nexport default angular.module('chain-sales-rank-widget', []).component('chainSalesRankWidget', new ChainSalesRankWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-module.js","import * as api from 'dashboard/resources/chain-sales-rank.api';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport chainSalesRankWidgetTemplate from './chain-sales-rank-widget.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n userLocale: locale,\r\n retailer,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass ChainSalesRankWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchChainSalesRank(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ChainSalesRankWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.controller = ChainSalesRankWidgetController;\r\n this.template = chainSalesRankWidgetTemplate;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchChainSalesRank = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.chainRanks;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/chain-sales-rank.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Chain Sales Rank - Last 13 Weeks\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Compares your chain’s total, {{ draw }}, and {{ instant }} game Lottery sales to that of other chains in the state, based on the last 13 weeks’ average weekly net sales.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.overall }}{{ $ctrl.data.overall | numberPostfix: $ctrl.userLocale }}\\r\\n \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.drawGames }}{{ $ctrl.data.drawGames | numberPostfix: $ctrl.userLocale }}\\r\\n \\r\\n {{ draw }} Games\\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.instantGames }}{{ $ctrl.data.instantGames | numberPostfix: $ctrl.userLocale }}\\r\\n \\r\\n {{ instant }} Games\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/chain-sales-rank/chain-sales-rank-widget.html\n// module id = 1670\n// module chunks = 0","import angular from 'angular';\r\nimport StoreSalesRankWidgetComponent from './store-sales-rank-widget-component';\r\n\r\nexport default angular.module('store-sales-rank-widget', []).component('storeSalesRankWidget', new StoreSalesRankWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/store-sales-rank.api';\r\nimport storeSalesRankWidgetTemplate from './store-sales-rank-widget.html';\r\n\r\nconst mapStateToThis = ({ session, dictionary }) => {\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n userLocale: locale,\r\n terms,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass StoreSalesRankWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadDataAsync(() => api.fetchChainSalesRank(retailerId));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class StoreSalesRankWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n this.controller = StoreSalesRankWidgetController;\r\n this.template = storeSalesRankWidgetTemplate;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchChainSalesRank = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.chainRanks;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/store-sales-rank.api.js","module.exports = \"\\r\\n \\r\\n

    Store Sales Rank - Last 13 Weeks

    \\r\\n \\r\\n \\r\\n \\r\\n Compares this location’s total, {{ draw }}, and {{ instant }} game Lottery sales to that of other locations in your chain statewide, based on the last 13 weeks’ average weekly net sales.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.overall }}{{ $ctrl.data.overall | numberPostfix : $ctrl.userLocale }}\\r\\n \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.drawGames }}{{ $ctrl.data.drawGames | numberPostfix : $ctrl.userLocale }}\\r\\n \\r\\n \\r\\n {{ draw }} Games\\r\\n \\r\\n
    \\r\\n
    \\r\\n N/A\\r\\n \\r\\n = 0\\\"\\r\\n class=\\\"sales-rank-number\\\">\\r\\n {{ $ctrl.data.instantGames }}{{ $ctrl.data.instantGames | numberPostfix : $ctrl.userLocale }}\\r\\n \\r\\n \\r\\n {{ instant }} Games\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/store-sales-rank/store-sales-rank-widget.html\n// module id = 1674\n// module chunks = 0","import angular from 'angular';\r\nimport EndOfGameWidgetComponent from './end-of-game-component';\r\n\r\nexport default angular.module('end-of-game-widget', []).component('endOfGameWidget', new EndOfGameWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-widget-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport template from './end-of-game.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { endOfGameUrl } = config;\r\n\r\n return {\r\n endOfGameUrl,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$state', '$stateParams')\r\nclass EndOfGameWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isEmpty = false;\r\n this.isLoading = false;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class EndOfGameWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = EndOfGameWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n End Of Game\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/end-of-game/end-of-game.html\n// module id = 1677\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport LvmSalesWidgetComponent from './components/lvm-sales-widget/lvm-sales-widget-component';\r\nimport LvmSalesGameListComponent from './components/lvm-sales-game-list/lvm-sales-game-list-component';\r\nimport LvmSalesHistoryComponent from './components/lvm-sales-history/lvm-sales-history-component';\r\n\r\nexport default angular\r\n .module('lvm-sales-widget', [])\r\n .component('lvmSalesWidget', new LvmSalesWidgetComponent())\r\n .component('lvmSalesGameList', new LvmSalesGameListComponent())\r\n .component('lvmSalesHistory', new LvmSalesHistoryComponent())\r\n .config([\r\n '$stateProvider',\r\n function configuration($stateProvider) {\r\n $stateProvider.state('lvmSales-details', {\r\n parent: 'arw',\r\n url: '/lvm-sales/history/:retailerNo?',\r\n template: `\r\n \r\n `,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('LVM Sales History')));\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/lvm-sales-module.js","import isEmpty from 'lodash/isEmpty';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport { fetchLvmSales } from 'dashboard/actions/lvm-sales-history/lvm-sales-history.actions';\r\nimport * as api from 'dashboard/resources/eft-amount.api';\r\nimport template from './lvm-sales-widget.html';\r\n\r\nconst mapStateToThis = ({ session, lvmSalesHistory, dictionary }) => {\r\n const { total, isLoading } = lvmSalesHistory;\r\n const { locale, retailer } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n retailer,\r\n total,\r\n isLoading,\r\n locale,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchLvmSales,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state', 'gettextCatalog')\r\nclass LvmSalesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.activeTabIdx = 0;\r\n this.tabs = [];\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.$scope.$applyAsync(this.loadData.bind(this));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async loadData() {\r\n await this.fetchLvmSales(this.retailerId);\r\n this.checkIfEmptyData();\r\n this.createTabs();\r\n }\r\n\r\n createTabs() {\r\n this.tabs = [\r\n this.generateTab(this.findDataItem('WTD'), 'WTD', this.gettextCatalog.getString('Week to date LVM sales')),\r\n this.generateTab(this.findDataItem('MTD'), 'MTD', this.gettextCatalog.getString('Month to date LVM sales')),\r\n this.generateTab(this.findDataItem('QTD'), 'QTD', this.gettextCatalog.getString('Quarter to date LVM sales')),\r\n this.generateTab(this.findDataItem('YTD'), 'YTD', this.gettextCatalog.getString('Year to date LVM sales')),\r\n ];\r\n }\r\n\r\n findDataItem(periodType) {\r\n return this.total.find((item) => item.periodType === periodType);\r\n }\r\n\r\n generateTab(dataItem, periodType, title) {\r\n return {\r\n title,\r\n tabTitle: periodType,\r\n total: dataItem ? dataItem.salesTotal : 0,\r\n };\r\n }\r\n\r\n checkIfEmptyData() {\r\n this.isEmpty = isEmpty(this.total);\r\n }\r\n}\r\n\r\nexport default class LvmSalesWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&',\r\n };\r\n this.template = template;\r\n this.controller = LvmSalesWidgetController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget-component.js","import DepsService from 'services/dependencies';\r\nimport appHelpers from 'app/app-helpers';\r\n\r\nconst CONTEXT = 'lvmSalesHistory';\r\n\r\nexport const fetchLvmSalesHistory = (periodType, retailerId) => {\r\n const url = DepsService.rest.widgets.lvmSalesHistory.url;\r\n const queryParams = { periodType };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchLvmSales= (retailerId) => {\r\n const url = DepsService.rest.widgets.lvmSales.url;\r\n const queryParams = { };\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const downloadLvmSalesHistoryReport = (extension, periodType, retailerId) => {\r\n const url = DepsService.rest.widgets.lvmSalesHistory.url;\r\n const queryParams = { periodType };\r\n const urlParams = { retailerId };\r\n const headers = appHelpers.setHeader(extension);\r\n\r\n return DepsService.restSrv.downloadBlob(CONTEXT, url, queryParams, urlParams, headers);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/lvm-sales-history.api.js","module.exports = \"\\r\\n\\r\\n \\r\\n

    \\r\\n \\r\\n LVM Sales\\r\\n \\r\\n \\r\\n Details\\r\\n \\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n View net sales for the lottery vending machines in your store. The detail link will provide information for {{ draw }} and {{ instant }} sales by game.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n {{ tab.title }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-widget/lvm-sales-widget.html\n// module id = 1681\n// module chunks = 0","import template from './lvm-sales-game-list.html';\r\n\r\nexport default class LvmSalesGameList {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n games: '<',\r\n label: '<',\r\n header: '<',\r\n netSalesTotal: '<',\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n {{ $ctrl.header }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Sales\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.label }}\\r\\n
    \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Sales\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ game.gameName }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Total\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-game-list/lvm-sales-game-list.html\n// module id = 1683\n// module chunks = 0","import get from 'lodash/get';\r\nimport { fetchLvmSalesHistory, downloadLvmSalesHistoryReport, fetchLvmSales } from 'dashboard/actions/lvm-sales-history/lvm-sales-history.actions';\r\nimport { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\nimport LvmSalesHistoryTemplate from './lvm-sales-history.html';\r\nimport tabs from '../../tabs';\r\n\r\nconst mapStateToThis = ({\r\n session, lvmSalesHistory, ui, dictionary,\r\n}) => {\r\n const { data, total, isLoading } = lvmSalesHistory;\r\n const { locale } = session;\r\n const { activeTab } = ui;\r\n const {\r\n WTD, MTD, QTD, YTD,\r\n } = tabs;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n data,\r\n total,\r\n isLoading,\r\n locale,\r\n activeTab,\r\n WTD,\r\n MTD,\r\n QTD,\r\n YTD,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n fetchLvmSales,\r\n fetchLvmSalesHistory,\r\n downloadLvmSalesHistoryReport,\r\n};\r\n\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', 'Responsive', '$window', 'tableService', 'RwAnalyticsService')\r\nclass LvmSalesHistoryController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.instantGamesText = this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular });\r\n this.drawGamesText = this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular });\r\n this.tableConfig = this.tableService.initConfig({ configName: 'lvmSalesHistory' });\r\n this.retailerId = get(this.$state, 'params.retailerNo');\r\n this.headers = this.getHeaders();\r\n if (this.total.length === 0) {\r\n await this.fetchLvmSales(this.retailerId);\r\n }\r\n await this.onTabSelect();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getHeaders() {\r\n return [\r\n {\r\n field: 'expand',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('LVM No.'),\r\n field: 'terminalKey',\r\n },\r\n {\r\n /// {{ draw }} is Lottery term using to determine Draw games.\r\n text: this.gettextCatalog.getString('{{ draw }} Games', { draw: this.terms.DRAW.singular }),\r\n field: 'drawTotal',\r\n },\r\n {\r\n /// {{ instant }} is Lottery term using to determine Instant games.\r\n text: this.gettextCatalog.getString('{{ instant }} Games', { instant: this.terms.INSTANT.singular }),\r\n field: 'instantTotal',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Total Sales'),\r\n field: 'total',\r\n },\r\n ];\r\n }\r\n\r\n async onTabSelect(tab = 'WTD') {\r\n this.setActiveTab(tab, 'activeTab');\r\n const { salesTotal } = this.total.find((item) => item.periodType === tab) || {};\r\n this.currentTotalTab = salesTotal;\r\n await this.fetchLvmSalesHistory(this.activeTab, this.retailerId);\r\n }\r\n\r\n toggleExpand(item, index) {\r\n const expandContainerClass = `expand-container-${index}`;\r\n const expandContainer = this.$window.document.getElementsByClassName(expandContainerClass);\r\n\r\n if (!item.isExpanded) {\r\n setTimeout(() => {\r\n const innerContainerClass = `expand-inner-container-${index}`;\r\n\r\n const height = this.$window.document.getElementsByClassName(innerContainerClass)[0].clientHeight;\r\n\r\n expandContainer[0].style.height = `${height}px`;\r\n }, 50);\r\n }\r\n\r\n if (item.isExpanded) {\r\n expandContainer[0].style.height = '0px';\r\n }\r\n\r\n item.isExpanded = !item.isExpanded;\r\n }\r\n\r\n onDownloadReport(format) {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({ source: this.gettextCatalog.getString('LVM Sales History'), type: this.activeTab, format });\r\n return this.downloadLvmSalesHistoryReport(format, this.activeTab, this.retailerId);\r\n }\r\n}\r\n\r\nexport default class LvmSalesHistoryComponent {\r\n constructor() {\r\n this.template = LvmSalesHistoryTemplate;\r\n this.controller = LvmSalesHistoryController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Total LVM Sales\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
  • \\r\\n \\r\\n \\r\\n .xlsx\\r\\n \\r\\n \\r\\n
  • \\r\\n
  • \\r\\n \\r\\n \\r\\n .csv\\r\\n \\r\\n \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    Loading...
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ header.text }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[1].text }}\\r\\n
    \\r\\n
    \\r\\n {{ item.terminalKey }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[2].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[3].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[4].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n \\r\\n
    \\r\\n {{ ::$ctrl.headers[1].text }}: {{ item.terminalKey }}\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[2].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[3].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ ::$ctrl.headers[4].text }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/components/lvm-sales-history/lvm-sales-history.html\n// module id = 1685\n// module chunks = 0","export default {\r\n WTD: 'WTD',\r\n MTD: 'MTD',\r\n QTD: 'QTD',\r\n YTD: 'YTD',\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/lvm-sales/tabs.js","import angular from 'angular';\r\nimport AlertsWidgetComponent from './alerts-widget-component';\r\nimport AlertComponent from './alert/alert-component';\r\n\r\nexport default angular\r\n .module('alerts-widget', [])\r\n .component('alert', new AlertComponent())\r\n .component('alertsWidget', new AlertsWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-module.js","import orderBy from 'lodash/orderBy';\r\nimport { loadIpsStatus } from 'app/actions/dictionaries.actions';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport * as api from 'dashboard/resources/alerts.api';\r\nimport template from './alerts-widget.html';\r\n\r\n/* Redux */\r\nconst mapStateToThis = ({ session, dictionaries }) => {\r\n const { retailer, locale } = session;\r\n const { ipsStatuses } = dictionaries;\r\n\r\n return {\r\n retailer,\r\n locale,\r\n ipsStatuses,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n loadIpsStatus,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass AlertsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.showChainBtn = this.retailer.isChain;\r\n await this.loadIpsStatus();\r\n this.refreshData();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n refreshData() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n const transformDataFunction = (data) => {\r\n this.alertsNumber = data ? data.length : 0;\r\n return orderBy(data, ['read', 'priority', 'date'], ['asc', 'asc', 'desc']);\r\n };\r\n return this.loadDataAsync(() => api.fetchAlerts(retailerId, this.locale), transformDataFunction.bind(this));\r\n }\r\n}\r\n\r\nexport default class AlertsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AlertsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n Alerts\\r\\n ({{$ctrl.alertsNumber}})\\r\\n

    \\r\\n \\r\\n \\r\\n Alerts display to notify you of lost sales opportunities in your location or other important information. Individual alerts remain on display until you take action to correct the issue. Please click the “Details” link for more information and/or to take corrective action.\\r\\n \\r\\n \\r\\n Alerts display to notify you of lost sales opportunities in your location or other important information. Individual alerts remain on display until you take action to correct the issue. Please click the “Details” link for more information and/or to take corrective action.\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n You have no alerts at this time.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alerts-widget.html\n// module id = 1689\n// module chunks = 0","import moment from 'moment';\r\nimport sortBy from 'lodash/sortBy';\r\nimport DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { isStoreProfileSelector, isChainHeadSelector, isRetailerDashboardSelector } from 'selectors';\r\nimport * as api from 'dashboard/resources/alerts.api';\r\nimport alertTemplate from './alert.html';\r\nimport alertModalTemplate from './alert-modal.html';\r\nimport alertUserModalTemplate from './user-alert-modal.html';\r\nimport dashboardHelpers from '../../../../dashboard-helpers';\r\nimport { LICENSE_RENEWAL_SERVICE } from 'dashboard/components/dashboard-widget/license-renewal/license-renewal-widget-component';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport lspUtilsService from 'utils/lsp-utils-service';\r\n\r\nconst mapStateToThisModal = ({ session, dictionary }) => {\r\n const isChainHead = isChainHeadSelector({ session });\r\n const { locale, retailerDashboard, loginAs } = session;\r\n const terms = dictionary.terms[locale];\r\n const setRead = !retailerDashboard && !loginAs;\r\n\r\n return {\r\n locale,\r\n isChainHead,\r\n terms,\r\n setRead,\r\n };\r\n};\r\n\r\nconst mapDispatchToThisModal = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog')\r\nclass AlertModalController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisModal, mapDispatchToThisModal)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n showRetailerInfo(index) {\r\n if (this.isChainHead) {\r\n return this.isFirstAlert(index) || this.isNewAlertRetailer(index);\r\n }\r\n return false;\r\n }\r\n\r\n isNewAlertRetailer(index) {\r\n return this.isNewAlert(index) && this.isNewAlertDifferent(index, 'retailerId');\r\n }\r\n\r\n isNewAlertType(index) {\r\n return this.isNewAlert(index) && this.isNewAlertDifferent(index, 'type');\r\n }\r\n\r\n isNewAlertOrder(index) {\r\n return this.isNewAlert(index) && this.isNewAlertDifferent(index, 'orderId');\r\n }\r\n\r\n isNewAlert(index) {\r\n return this.content.gridContent[index] && this.content.gridContent[index - 1];\r\n }\r\n\r\n isNewAlertDifferent(index, property) {\r\n return this.content.gridContent[index][property] !== this.content.gridContent[index - 1][property];\r\n }\r\n\r\n isFirstAlert(index) {\r\n return index === 0;\r\n }\r\n\r\n isAlertForRetailer(index, retailerId) {\r\n return this.content.gridContent[index].retailerId === retailerId;\r\n }\r\n\r\n calculateOrderNumber(type, orderId) {\r\n return this.content.gridContent.reduce((previousValue, currentAlert) => {\r\n if (currentAlert.type === type && currentAlert.orderId === orderId) {\r\n return previousValue + 1;\r\n }\r\n return previousValue;\r\n }, 0);\r\n }\r\n\r\n calculateOrderValue(type, orderId) {\r\n return this.content.gridContent.reduce((previousValue, currentAlert) => {\r\n if (currentAlert.type === type && currentAlert.orderId === orderId) {\r\n return previousValue + currentAlert.gamePacksValue;\r\n }\r\n return previousValue;\r\n }, 0);\r\n }\r\n}\r\n\r\nconst mapStateToThis = ({ session, retailerDashboards, config }) => {\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const isRetailerDashboard = isRetailerDashboardSelector({ retailerDashboards });\r\n const { locale, retailer, multistore, role, retailerDashboard, loginAs } = session;\r\n const setRead = !retailerDashboard && !loginAs;\r\n\r\n return {\r\n setRead,\r\n locale,\r\n session,\r\n retailer,\r\n multistore,\r\n role,\r\n isStoreProfile,\r\n isRetailerDashboard,\r\n config,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = { checkAccess };\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', '$state', '$element', 'Notifications', 'RwAnalyticsService')\r\nclass AlertController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isRenewalLinkVisible =\r\n this.checkAccess(LICENSE_RENEWAL_SERVICE) &&\r\n (!this.multistore ||\r\n (this.multistore && this.retailer.licensingAccess && this.role === 'RETAILER_SECONDARY') ||\r\n (this.multistore && this.role === 'RETAILER_PRIMARY'));\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.widgetClass = `importance-${this.mapPriority(this.data.priority)}`;\r\n this.$element.addClass(this.widgetClass);\r\n this.currentDate = moment.unix(this.config.serverTime).format('M/d');\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n mapPriority(priority) {\r\n switch (priority) {\r\n case 1:\r\n return 'urgent';\r\n case 2:\r\n return 'high';\r\n default:\r\n return 'normal';\r\n }\r\n }\r\n\r\n openDialog() {\r\n api.fetchRetailerAlertDetails(this.retailerId, this.data.alertId, this.locale, this.setRead).then((results) => {\r\n if (results[0].type !== 'ArwExpiringGamesAlert') {\r\n results = this.groupByPacks(results);\r\n }\r\n\r\n this.data.read = true;\r\n this.data.type = results ? results[0].type : null;\r\n this.fillAlertContent(results);\r\n\r\n this.modal = this.Notifications.showComplexDialog({\r\n controller: AlertModalController,\r\n template: alertModalTemplate,\r\n resolve: {\r\n file: () => this.content.details.file,\r\n content: () => this.content,\r\n trackingUrl: () => this.config.trackingUrl,\r\n isStoreProfile: () => this.isStoreProfile,\r\n showGameInventoryButtons: () => this.showGameInventoryButtons,\r\n downloadFile: () => this.onDownloadAlertReport.bind(this),\r\n dismissAlert: () => this.onDismissAlert.bind(this),\r\n triggerDownload: () => this.triggerDownload.bind(this),\r\n },\r\n });\r\n });\r\n }\r\n\r\n openUserDialog() {\r\n api.fetchUserAlertDetails(this.data.id, this.locale, this.setRead).then((results) => {\r\n this.data.read = true;\r\n this.data.type = results ? results.type : null;\r\n this.fillAlertContent([results]);\r\n\r\n this.modal = this.Notifications.showComplexDialog({\r\n controller: AlertModalController,\r\n template: alertUserModalTemplate,\r\n resolve: {\r\n file: () => this.content.details.file,\r\n content: () => this.content,\r\n trackingUrl: () => this.config.trackingUrl,\r\n isStoreProfile: () => this.isStoreProfile,\r\n showGameInventoryButtons: () => this.showGameInventoryButtons,\r\n downloadFile: () => this.onDownloadAlertReport.bind(this),\r\n dismissAlert: () => this.onDismissUserAlert.bind(this),\r\n triggerDownload: () => this.triggerDownload.bind(this),\r\n redirectToLSPCustomURL: () => this.redirectToLSPCustomURL.bind(this),\r\n },\r\n });\r\n });\r\n }\r\n\r\n groupByPacks(results) {\r\n return sortBy(results, ['type', 'retailerId', 'orderId', 'gameNo', 'packNo']).reduce((previousValue, currentValue) => {\r\n const lastElement = previousValue[previousValue.length - 1];\r\n\r\n if (\r\n lastElement &&\r\n lastElement.type === currentValue.type &&\r\n lastElement.retailerId === currentValue.retailerId &&\r\n lastElement.orderId === currentValue.orderId &&\r\n lastElement.gameNo === currentValue.gameNo\r\n ) {\r\n lastElement.packs.push(currentValue.packNo);\r\n lastElement.gamePacksValue += currentValue.gamePacksValue;\r\n } else {\r\n currentValue.packs = [currentValue.packNo];\r\n previousValue.push(currentValue);\r\n }\r\n\r\n return previousValue;\r\n }, []);\r\n }\r\n\r\n fillAlertContent(results) {\r\n this.content = {\r\n gridContent: {},\r\n ...dashboardHelpers.getAlertDetails(\r\n this.config,\r\n this.gettextCatalog,\r\n this.data.type,\r\n this.data.totalCount,\r\n this.retailerId,\r\n this.session\r\n ),\r\n type: this.data.type,\r\n };\r\n this.content.gridContent = results;\r\n }\r\n\r\n onDownloadAlertReport() {\r\n return api.downloadAlertReport(this.retailerId, this.data.alertId);\r\n }\r\n\r\n redirectToLSP() {\r\n lspUtilsService.redirectToLSP('Licensing', this.session.adminId);\r\n }\r\n\r\n redirectToLSPCustomURL() {\r\n lspUtilsService.redirectToLSP('ImportedURL', this.session.adminId, this.data.id);\r\n }\r\n\r\n triggerDownload({ data }) {\r\n this.RwAnalyticsService.sendDownloadDashboardReportEvent({\r\n source: this.content.details.title,\r\n type: 'Retailer Report',\r\n format: data.extension,\r\n });\r\n return Promise.resolve();\r\n }\r\n\r\n onDismissAlert() {\r\n api\r\n .dismissAlert(this.retailerId, this.data.alertId)\r\n .then(() => this.modal.close())\r\n .then(() => this.refreshData())\r\n .catch(() => this.refreshData());\r\n }\r\n\r\n onDismissUserAlert() {\r\n api\r\n .deleteAlert(this.data.id)\r\n .then(() => this.modal.close())\r\n .then(() => this.refreshData())\r\n .catch(() => this.refreshData());\r\n }\r\n}\r\n\r\nexport default class AlertComponent {\r\n constructor() {\r\n this.bindings = {\r\n data: '<',\r\n isStoreProfile: '<',\r\n refreshData: '&',\r\n returnGames: '&',\r\n showGameInventoryButtons: '<',\r\n };\r\n this.template = alertTemplate;\r\n this.controller = AlertController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n NEW\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n

    {{ ::$ctrl.data.name}}

    \\r\\n \\r\\n

    \\r\\n {{ ::$ctrl.data.name}}\\r\\n

    \\r\\n
    \\r\\n

    \\r\\n {{ ::$ctrl.data.name}}\\r\\n

    \\r\\n

    \\r\\n {{ ::$ctrl.data.body }}\\r\\n

    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert.html\n// module id = 1691\n// module chunks = 0","module.exports = \"
    \\r\\n

    {{$ctrl.content.details.modalTitle}}

    \\r\\n
    \\r\\n
    \\r\\n

    {{$ctrl.content.details.modalSubtitle}}

    \\r\\n\\r\\n
    \\r\\n
    \\r\\n Retailer Number:\\r\\n {{ alertItem.displayNumber }}\\r\\n
    \\r\\n Retailer Name:\\r\\n {{ alertItem.retailerName }}\\r\\n
    \\r\\n
    \\r\\n Retailer City:\\r\\n {{ alertItem.retailerCity }}\\r\\n
    \\r\\n
    \\r\\n Retailer Zip Code:\\r\\n {{ alertItem.retailerZip }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n {{header.text}}\\r\\n
    \\r\\n

    \\r\\n Order\\r\\n {{ game.orderNo }}\\r\\n

    \\r\\n

    \\r\\n Filled on\\r\\n \\r\\n \\r\\n

    \\r\\n

    \\r\\n Order Value\\r\\n \\r\\n

    \\r\\n

    \\r\\n Tracking No.\\r\\n {{ game.trackingNo }}\\r\\n

    \\r\\n
    {{ $ctrl.content.gridHeaders[1].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[2].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[3].text }}\\r\\n {{ pack }}\\r\\n {{ $ctrl.content.gridHeaders[4].text }}{{ game.packIssued }}
    {{ $ctrl.content.gridHeaders[0].text }} {{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ bin.terminalId }}{{ $ctrl.content.gridHeaders[1].text }}{{ bin.id }}
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n {{ game.packNo }}\\r\\n {{ $ctrl.content.gridHeaders[4].text }}{{ game.valPct }}{{ $ctrl.content.gridHeaders[5].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n {{ pack }}\\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n \\r\\n
    {{ $ctrl.content.gridHeaders[0].text }}\\r\\n \\r\\n \\r\\n {{ $ctrl.content.gridHeaders[1].text }}{{ alert.licenseDaysLeft }}
    {{ $ctrl.content.gridHeaders[0].text }}\\r\\n \\r\\n \\r\\n {{ $ctrl.content.gridHeaders[1].text }}{{ alert.daysLeft }}
    {{ $ctrl.content.gridHeaders[0].text }}{{ game.gameName }}{{ $ctrl.content.gridHeaders[1].text }}{{ game.gameNo }}{{ $ctrl.content.gridHeaders[2].text }}\\r\\n {{ pack }}\\r\\n {{ $ctrl.content.gridHeaders[3].text }}\\r\\n \\r\\n {{ $ctrl.content.gridHeaders[4].text }}\\r\\n \\r\\n \\r\\n {{ $ctrl.content.gridHeaders[5].text }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/alert-modal.html\n// module id = 1692\n// module chunks = 0","module.exports = \"
    \\r\\n\\r\\n
    \\r\\n

    {{alertItem.alertName}}

    \\r\\n
    \\r\\n
    \\r\\n
    {{ alertItem.body }}
    \\r\\n\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/alerts/alert/user-alert-modal.html\n// module id = 1693\n// module chunks = 0","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport AnnouncementsWidgetComponent from './announcements-widget-component';\r\nimport AnnouncementsWidgetContentComponent from './announcements-widget-content-component';\r\n\r\nimport announcementsManagementModule from './components/announcement-management/announcements-management-module';\r\n\r\nexport default angular\r\n .module('announcements', [announcementsManagementModule.name])\r\n .component('announcementsWidget', new AnnouncementsWidgetComponent())\r\n .component('announcementsWidgetContent', new AnnouncementsWidgetContentComponent())\r\n .config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('cms-newsManagement', {\r\n parent: 'arw',\r\n url: '/cms-announcements-management',\r\n template: '',\r\n params: {\r\n skipReloadData: false,\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Lottery Announcements')));\r\n },\r\n ],\r\n },\r\n redirectTo: 'permissions-denied',\r\n })\r\n .state('cms-editNewsManagement', {\r\n parent: 'arw',\r\n url: '/announcement-edit/{id:[0-9]*}/{type}',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n skipDirtyForms: false,\r\n },\r\n resolve: {\r\n api: [\r\n '$ngRedux',\r\n '$stateParams',\r\n 'gettextCatalog',\r\n ($ngRedux, $stateParams, gettextCatalog) => {\r\n $ngRedux.dispatch(\r\n changePageTitle(\r\n $stateParams.id\r\n ? gettextCatalog.getString('Edit Lottery Announcement')\r\n : gettextCatalog.getString('Create Lottery Announcement')\r\n )\r\n );\r\n },\r\n ],\r\n },\r\n });\r\n },\r\n ]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-module.js","import DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\n\r\nimport { isEmptyActiveAnnouncementsSelector } from 'selectors/index';\r\nimport { fetchAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\n\r\nimport template from './announcements-widget.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { config, announcements } = state;\r\n const { jurisdictionId } = config;\r\n const { isLoading, active } = announcements;\r\n\r\n return {\r\n jurisdictionId,\r\n isLoading,\r\n active,\r\n isEmpty: isEmptyActiveAnnouncementsSelector(state),\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchAnnouncements,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux')\r\nclass AnnouncementsWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.$scope.$applyAsync(this.fetchAnnouncements(true));\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class AnnouncementsWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AnnouncementsWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Lottery Announcements\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n You have no announcements at this time.\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget.html\n// module id = 1696\n// module chunks = 0","import isString from 'lodash/isString';\r\n\r\nimport { downloadAttachment } from 'dashboard/resources/announcements.api';\r\n\r\nimport template from './announcements-widget-content.html';\r\n\r\nconst mapStateToThis = ({ session, config, ui }) => {\r\n const { locale } = session;\r\n const { locales, jurisdictionId } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n selectedLanguage,\r\n jurisdictionId,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$sce')\r\nclass AnnouncementsWidgetContentController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n this.downloadAttachment = downloadAttachment;\r\n }\r\n\r\n $onInit() {\r\n this.language = this.selectedLanguage || this.locale;\r\n this.activeIndex = 0;\r\n this.selectedAnnouncement = this.items[this.activeIndex] || null;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onAnnouncementChange(announcement, index) {\r\n this.activeIndex = index;\r\n this.selectedAnnouncement = announcement;\r\n }\r\n\r\n onDownloadAttachment(attachment) {\r\n return this.downloadAttachment(this.jurisdictionId, attachment);\r\n }\r\n\r\n addTargetBlank(val) {\r\n if (isString(val)) {\r\n return val.replace(/\\r\\n 1\\\">\\r\\n \\r\\n \\r\\n {{ announcement.fields[$ctrl.language].title }}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n

    \\r\\n {{ $ctrl.selectedAnnouncement.fields[$ctrl.language].title }}\\r\\n

    \\r\\n
    \\r\\n \\r\\n \\\"\\\"/\\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.selectedAnnouncement.attachments[$ctrl.language][0].name }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/announcements-widget-content.html\n// module id = 1699\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport announcementListModule from '../announcement-list/announcement-list-module';\r\nimport announcementItemModule from '../announcement-item/announcement-item-module';\r\nimport activeAnnouncementsModule from '../active-announcements/active-announcements-module';\r\nimport archiveAnnouncementsModule from '../archived-announcements/archived-announcements-module';\r\nimport scheduledAnnouncementsModule from '../scheduled-announcements/scheduled-announcements-module';\r\nimport announcementPreviewModule from '../announcement-preview/announcement-preview-module';\r\nimport announcementFormModule from '../announcement-form/announcement-form-module';\r\n\r\nimport AnnouncementManegementComponent from './announcements-management-component';\r\n\r\nexport default angular\r\n .module('announcement-management', [\r\n announcementListModule.name,\r\n announcementItemModule.name,\r\n activeAnnouncementsModule.name,\r\n archiveAnnouncementsModule.name,\r\n scheduledAnnouncementsModule.name,\r\n announcementFormModule.name,\r\n announcementPreviewModule.name,\r\n ])\r\n .component('announcementManagement', new AnnouncementManegementComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-module.js","import angular from 'angular';\r\nimport AnnouncementListComponent from './announcement-list-component';\r\n\r\nexport default angular.module('announcement-list', []).component('announcementList', new AnnouncementListComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-module.js","import { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { deleteAnnouncement, togglePinAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\n\r\nimport template from './announcement-list.html';\r\n\r\nconst DIRTY_FORM = 'announcementsManagement';\r\n\r\nconst mapStateToThis = ({ dirtyForms, ui }) => {\r\n const dirtyForm = dirtyForms[DIRTY_FORM];\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n dirtyForm,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n deleteAnnouncement,\r\n togglePinAnnouncements,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state')\r\nclass AnnouncementListController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onEditAnnouncement(index) {\r\n this.$state.go('cms-editNewsManagement', {\r\n id: index,\r\n type: this.type,\r\n skipDirtyForms: true,\r\n });\r\n }\r\n\r\n onPinAnnouncement(index) {\r\n this.togglePinAnnouncements(index);\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n }\r\n\r\n onDeleteAnnouncement(index) {\r\n this.deleteAnnouncement(index, this.type);\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n }\r\n}\r\n\r\nexport default class AnnouncementListComponent {\r\n constructor() {\r\n this.controller = AnnouncementListController;\r\n this.template = template;\r\n this.bindings = {\r\n announcements: '<',\r\n type: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list-component.js","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Announcements list is empty.\\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-list/announcement-list.html\n// module id = 1703\n// module chunks = 0","import angular from 'angular';\r\nimport AnnouncementItemComponent from './announcement-item-component';\r\n\r\nexport default angular.module('announcement-item', []).component('announcementItem', new AnnouncementItemComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\n\r\nimport template from './announcement-item.html';\r\n\r\nclass AnnouncementItemController {\r\n constructor() {\r\n this.announcementTypes = announcementTypes;\r\n }\r\n}\r\n\r\nexport default class AnnouncementItemComponent {\r\n constructor() {\r\n this.controller = AnnouncementItemController;\r\n this.template = template;\r\n this.bindings = {\r\n language: '<',\r\n announcement: '<',\r\n index: '<',\r\n type: '<',\r\n pin: '&?',\r\n edit: '&?',\r\n delete: '&?',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\\"\\\"/\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.announcement.fields[$ctrl.language].title }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n Published\\r\\n \\r\\n \\r\\n To be published\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n until\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Expired\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-item/announcement-item.html\n// module id = 1706\n// module chunks = 0","import angular from 'angular';\r\nimport ActiveAnnouncementsComponent from './active-announcements-component';\r\n\r\nexport default angular.module('active-announcements', []).component('activeAnnouncements', new ActiveAnnouncementsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\nimport { setSelectedLanguage } from 'utils/actions/selected-language/selected-language.actions';\r\n\r\nimport template from './active-announcements.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { isLoading, active } = announcements;\r\n\r\n return {\r\n isLoading,\r\n active,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setSelectedLanguage,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'Notifications')\r\nclass ActiveAnnouncementsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.type = announcementTypes.ACTIVE;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onNewAnnouncement() {\r\n this.$state.go('cms-editNewsManagement', {\r\n skipDirtyForms: true,\r\n });\r\n }\r\n\r\n onPreviewAnnouncements() {\r\n this.Notifications.showComplexDialog({\r\n component: 'announcementPreview',\r\n });\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.setSelectedLanguage(locale);\r\n }\r\n}\r\n\r\nexport default class ActiveAnnouncementsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ActiveAnnouncementsController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements-component.js","module.exports = \"
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/active-announcements/active-announcements.html\n// module id = 1709\n// module chunks = 0","import angular from 'angular';\r\nimport ArchivedAnnouncementsComponent from './archived-announcements-component';\r\n\r\nexport default angular.module('archived-announcements', []).component('archivedAnnouncements', new ArchivedAnnouncementsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\nimport { setSelectedLanguage } from 'utils/actions/selected-language/selected-language.actions';\r\n\r\nimport template from './archived-announcements.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { isLoading, archived } = announcements;\r\n\r\n return {\r\n isLoading,\r\n archived,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setSelectedLanguage,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass ArchivedAnnouncementsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.type = announcementTypes.ARCHIVED;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onLanguageSelect(locale) {\r\n this.setSelectedLanguage(locale);\r\n }\r\n}\r\n\r\nexport default class ArchivedAnnouncementsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ArchivedAnnouncementsController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Archived Announcements\\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/archived-announcements/archived-announcements.html\n// module id = 1712\n// module chunks = 0","import angular from 'angular';\r\nimport ScheduledAnnouncementsComponent from './scheduled-announcements-component';\r\n\r\nexport default angular.module('scheduled-announcements', []).component('scheduledAnnouncements', new ScheduledAnnouncementsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-module.js","import announcementTypes from 'dashboard/actions/announcements/announcement-types';\r\nimport template from './scheduled-announcements.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { isLoading, scheduled } = announcements;\r\n\r\n return {\r\n isLoading,\r\n scheduled,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass ScheduledAnnouncementsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.type = announcementTypes.SCHEDULED;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class ScheduledAnnouncementsComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ScheduledAnnouncementsController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Scheduled Announcements\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/scheduled-announcements/scheduled-announcements.html\n// module id = 1715\n// module chunks = 0","import angular from 'angular';\r\nimport AnnouncementPreviewComponent from './announcement-preview-component';\r\n\r\nexport default angular.module('announcement-preview', []).component('announcementPreview', new AnnouncementPreviewComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-module.js","import template from './announcement-preview.html';\r\n\r\nconst mapStateToThis = ({ announcements }) => {\r\n const { active } = announcements;\r\n\r\n return {\r\n active,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass AnnouncementPreviewController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class AnnouncementPreviewComponent {\r\n constructor() {\r\n this.controller = AnnouncementPreviewController;\r\n this.template = template;\r\n this.bindings = {\r\n close: '&',\r\n resolve: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview-component.js","module.exports = \"\\r\\n
    \\r\\n \\r\\n \\r\\n

    \\r\\n \\r\\n Lottery Announcements Preview\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-preview/announcement-preview.html\n// module id = 1718\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport rwEditorModule from 'utils/rw-editor/rw-editor-module';\r\nimport AnnouncementFormComponent from './announcement-form-component';\r\n\r\nexport default angular.module('announcement-form', [rwEditorModule.name]).component('announcementForm', new AnnouncementFormComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-module.js","import template from './rw-editor.html';\r\n\r\nconst mapStateToThis = ({ config }) => {\r\n const { ckeditor } = config;\r\n\r\n return {\r\n ckeditor,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RwEditorController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis)(this);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class RwEditorComponent {\r\n constructor() {\r\n this.controller = RwEditorController;\r\n this.template = template;\r\n this.bindings = {\r\n content: '=',\r\n isRequired: '<',\r\n label: '@',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/utils/rw-editor/rw-editor-component.js","module.exports = \"
    \\r\\n\\r\\n \\r\\n\\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Field is required.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/utils/rw-editor/rw-editor.html\n// module id = 1721\n// module chunks = 0","import moment from 'moment';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { getFormattedDate } from 'dashboard/reducers/announcements/utils';\r\nimport { addAnnouncement, deleteAnnouncement, fetchAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport editTemplate from './announcement-form.html';\r\n\r\nconst DIRTY_FORM = 'announcementEdit';\r\nconst DIRTY_ANNOUNCEMENTS_FORM = 'announcementsManagement';\r\n\r\nconst mapStateToThis = ({ session, announcements, config, ui }) => {\r\n const { locale, serverTime } = session;\r\n const { active, archived, scheduled } = announcements;\r\n const { locales, announcementsTitleMaxLength } = config;\r\n const { selectedLanguage } = ui;\r\n\r\n return {\r\n locale,\r\n locales,\r\n serverTime,\r\n active,\r\n archived,\r\n scheduled,\r\n announcementsTitleMaxLength,\r\n selectedLanguage,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchAnnouncements,\r\n addAnnouncement,\r\n deleteAnnouncement,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', 'Notifications', 'gettextCatalog', 'Responsive')\r\nclass AnnouncementFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.index = this.$state.params.id;\r\n this.type = this.$state.params.type;\r\n this.announcementModel = {\r\n fields: {},\r\n attachments: {},\r\n publishFrom: moment.unix(this.serverTime).utc().format('MM/DD/YYYY'),\r\n };\r\n\r\n if (this.index && this.type) {\r\n if (!this[this.type][this.index]) {\r\n await this.fetchAnnouncements(false);\r\n }\r\n this.getAnnouncementDetails();\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getAnnouncementDetails() {\r\n const { publishFrom, publishTo, ...details } = cloneDeep(this[this.type][this.index]);\r\n this.announcementModel = {\r\n ...details,\r\n publishFrom: getFormattedDate(publishFrom),\r\n publishTo: getFormattedDate(publishTo),\r\n };\r\n }\r\n\r\n saveAnnouncement(form) {\r\n form.$setSubmitted();\r\n if (form.$valid) {\r\n if (this.verifyOtherLanguages()) {\r\n this.Notifications.alertWarning(this.gettextCatalog.getString('Enter other language before submitting.'));\r\n return;\r\n }\r\n this.dateFutureError = this.verifyDateFuture();\r\n if (this.fileErrors || this.dateFutureError) {\r\n return;\r\n }\r\n\r\n if (this.index) {\r\n this.deleteAnnouncement(this.index, this.type);\r\n }\r\n this.addAnnouncement(this.announcementModel);\r\n this.setDirtyForm(DIRTY_ANNOUNCEMENTS_FORM, true);\r\n this.$state.go('cms-newsManagement', { skipReloadData: true, skipDirtyForms: true });\r\n }\r\n }\r\n\r\n verifyOtherLanguages() {\r\n let otherLanguageError = false;\r\n this.locales.forEach((locale) => {\r\n if (!this.announcementModel.fields[locale.code]) {\r\n otherLanguageError = true;\r\n }\r\n });\r\n return otherLanguageError;\r\n }\r\n\r\n verifyDateFuture() {\r\n const publishTo = this.announcementModel.publishTo ? moment(this.announcementModel.publishTo).utc().format('x') : undefined;\r\n const serverTime = moment.unix(this.serverTime).utc().startOf('day').format('x');\r\n\r\n return publishTo ? publishTo < serverTime : false;\r\n }\r\n\r\n cancel() {\r\n this.$state.go('cms-newsManagement', { skipReloadData: true });\r\n }\r\n}\r\n\r\nexport default class AnnouncementFormComponent {\r\n constructor() {\r\n this.controller = AnnouncementFormController;\r\n this.template = editTemplate;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form-component.js","module.exports = \"\\r\\n
    \\r\\n
    Edit Lottery Announcement
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Title.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please enter Publish On.\\r\\n
    \\r\\n
    \\r\\n Invalid date.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\\"Publish to\\\" date must be in future.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Invalid date.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-form/announcement-form.html\n// module id = 1723\n// module chunks = 0","import { checkAccess } from 'app/actions/app.actions';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { fetchAnnouncements, updateAnnouncements } from 'dashboard/actions/announcements/announcements.actions';\r\nimport * as api from 'dashboard/resources/announcements.api';\r\nimport template from './announcements-management.html';\r\n\r\nconst SECOND_HAND_PERMISSION = 'cms.newsManagement.approve';\r\nconst DIRTY_FORM = 'announcementsManagement';\r\n\r\nconst mapStateToThis = ({ session, dirtyForms, config, announcements }) => {\r\n const { locale } = session;\r\n const dirtyForm = dirtyForms[DIRTY_FORM];\r\n const { secondHandApproval, jurisdictionId } = config;\r\n const { isLoading, draft } = announcements;\r\n\r\n return {\r\n locale,\r\n dirtyForm,\r\n secondHandApproval,\r\n jurisdictionId,\r\n isLoading,\r\n draft,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchAnnouncements,\r\n updateAnnouncements,\r\n setDirtyForm,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'Notifications', '$state', 'gettextCatalog', 'Responsive')\r\nclass AnnouncementsManagementController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.activeTabIdx = 0;\r\n this.secondHandApprovalActive = this.checkAccess(SECOND_HAND_PERMISSION);\r\n if (!this.$state.params.skipReloadData) this.initAnnouncements();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initAnnouncements() {\r\n await this.fetchAnnouncements(false);\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n }\r\n\r\n cancel() {\r\n this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been canceled'));\r\n return this.initAnnouncements();\r\n }\r\n\r\n discardChanges() {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n return api\r\n .discardChanges(this.jurisdictionId)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('Changes have been discarded')))\r\n .then(() => this.initAnnouncements());\r\n }\r\n\r\n publish() {\r\n this.updateAnnouncements()\r\n .then(() => this.Notifications.alertSuccess(this.getSuccessText()))\r\n .then(() => this.initAnnouncements())\r\n .then(() => this.setDirtyForm(this.DIRTY_FORM, false));\r\n }\r\n\r\n getSuccessText() {\r\n return this.secondHandApprovalActive || !this.secondHandApproval\r\n ? this.gettextCatalog.getString('Changes have been published')\r\n : this.gettextCatalog.getString('Changes have been submitted for approval');\r\n }\r\n\r\n isDiscardChangesAvailable() {\r\n return this.secondHandApproval && this.secondHandApprovalActive && this.draft;\r\n }\r\n\r\n isSubmitForApprovalAvailable() {\r\n return this.dirtyForm && this.secondHandApproval && !this.secondHandApprovalActive;\r\n }\r\n\r\n isPublishAvailable() {\r\n return (\r\n (!this.secondHandApproval && this.dirtyForm) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.draft) ||\r\n (this.secondHandApproval && this.secondHandApprovalActive && this.dirtyForm)\r\n );\r\n }\r\n}\r\n\r\nexport default class AnnouncementsManagementComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = AnnouncementsManagementController;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management-component.js","module.exports = \"\\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n Changes have been made that require secondary approval. These changes will not take effect until approved by an administrator.\\r\\n \\r\\n \\r\\n There are changes pending approval in this section. It is advised that you review all content before publishing.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Changes have been made that require secondary approval. These changes will not take effect until approved by an administrator.\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n There are changes pending approval in this section. It is advised that you review all content before publishing.\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Discard Changes\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Submit for Approval\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Publish\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/announcements/components/announcement-management/announcements-management.html\n// module id = 1725\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport GamesEndingCardComponent from './components/games-ending-card-component';\r\nimport GamesEndingWidgetComponent from './games-ending-component';\r\n\r\nexport default angular\r\n .module('games-ending', [])\r\n .component('gamesEndingCard', new GamesEndingCardComponent())\r\n .component('gamesEnding', new GamesEndingWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-widget-module.js","import template from './games-ending-card.html';\r\n\r\nexport default class GamesEndingCardComponent {\r\n constructor() {\r\n this.template = template;\r\n this.bindings = {\r\n game: '<',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card-component.js","module.exports = \"\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\\"\\\"\\r\\n\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n {{ $ctrl.game.gameName }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n #{{ $ctrl.game.gameNumber }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/components/games-ending-card.html\n// module id = 1728\n// module chunks = 0","import { setActiveTab } from 'utils/actions/active-tab/active-tab.actions';\r\n\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport fetchGamesEnding from 'dashboard/resources/games-ending.api';\r\n\r\nimport template from './games-ending.html';\r\n\r\nconst mapStateToThisContactUsBase = ({ ui, session, config, dictionary }) => {\r\n const { retailer, locale } = session;\r\n const { endingGamesActiveTab: activeTab } = ui;\r\n const { endReturnsUsed, endSalesUsed, endValidationsUsed } = config;\r\n\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n terms,\r\n retailer,\r\n activeTab,\r\n endSalesUsed,\r\n endReturnsUsed,\r\n endValidationsUsed,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setActiveTab,\r\n};\r\n\r\nconst tabs = {\r\n endSales: 'endSales',\r\n endValidations: 'endValidations',\r\n endReturns: 'endReturns',\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', '$state')\r\nclass GamesEndingWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThisContactUsBase, mapDispatchToThis)(this);\r\n\r\n this.tabs = tabs;\r\n this.fetchGamesEnding = fetchGamesEnding;\r\n }\r\n\r\n $onInit() {\r\n const retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.isLoading = true;\r\n\r\n this.fetchGamesEnding(retailerId)\r\n .then((data) => {\r\n this.isLoading = false;\r\n this.data = data;\r\n this.isEmpty = this.data.endSales === null && this.data.endReturns === null && this.data.endValidations === null;\r\n\r\n this.setTab();\r\n })\r\n .catch(() => {\r\n this.isLoading = false;\r\n this.isEmpty = false;\r\n this.isMaintenance = true;\r\n });\r\n }\r\n\r\n setTab() {\r\n switch (true) {\r\n case this.data.endSales !== null && this.endSalesUsed:\r\n this.setActiveTab(this.tabs.endSales, 'endingGamesActiveTab');\r\n break;\r\n case this.data.endValidations !== null && this.endValidationsUsed:\r\n this.setActiveTab(this.tabs.endValidations, 'endingGamesActiveTab');\r\n break;\r\n case this.data.endReturns !== null && this.endReturnsUsed:\r\n this.setActiveTab(this.tabs.endReturns, 'endingGamesActiveTab');\r\n break;\r\n default:\r\n this.setActiveTab('', 'endingGamesActiveTab');\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.setActiveTab('', 'endingGamesActiveTab');\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nexport default class GamesEndingWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = GamesEndingWidgetController;\r\n this.bindings = {\r\n isEditMode: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending-component.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchGamesEnding = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.gamesEnding;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default fetchGamesEnding;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/games-ending.api.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n \\r\\n Games Ending\\r\\n \\r\\n

    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    = 6}\\\">\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    = 6}\\\">\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    = 6}\\\">\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/games-ending/games-ending.html\n// module id = 1731\n// module chunks = 0","import angular from 'angular';\r\nimport MyInstantTicketSalesWidgetComponent from './my-instant-ticket-sales-widget-component';\r\n\r\nexport default angular\r\n .module('my-instant-ticket-sales-widget', [])\r\n .component('myInstantTicketSalesWidget', new MyInstantTicketSalesWidgetComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-module.js","import get from 'lodash/get';\r\nimport find from 'lodash/find';\r\nimport groupBy from 'lodash/groupBy';\r\nimport sortBy from 'lodash/sortBy';\r\nimport merge from 'lodash/merge';\r\nimport moment from 'moment';\r\nimport DashboardWidgetController from 'dashboard/components/dashboard-widget/dashboard-widget-controller';\r\nimport {\r\n isChainHeadSelector,\r\n isSuperChainSelector,\r\n isChainSubordinateSelector,\r\n isIndependentSelector,\r\n isStoreProfileSelector,\r\n} from 'selectors';\r\nimport { getChartColors } from 'app/actions/theme.actions';\r\nimport template from './my-instant-ticket-sales-widget.html';\r\nimport chartConfig from './my-instant-ticket-sales-chart.conf.json';\r\nimport fetchInstatTicketSales from '../../../resources/my-instant-ticket-sales.api';\r\n\r\nconst mapStateToThis = ({ session, dictionary, theme }) => {\r\n const { locale, retailerType, retailer } = session;\r\n const isStoreProfile = isStoreProfileSelector({ session });\r\n const isSuperChain = isSuperChainSelector({ session });\r\n const isChainHead = isChainHeadSelector({ session });\r\n const isChainSubordinate = isChainSubordinateSelector({ session });\r\n const isIndependent = isIndependentSelector({ session });\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n terms,\r\n theme,\r\n retailerType,\r\n isStoreProfile,\r\n isSuperChain,\r\n isChainHead,\r\n isChainSubordinate,\r\n isIndependent,\r\n retailer,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$scope', '$ngRedux', 'gettextCatalog', '$filter', '$state')\r\nclass MyInstantTicketSalesWidgetController extends DashboardWidgetController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.isEmpty = false;\r\n this.currentYear = new Date().getFullYear();\r\n this.dataType = 1;\r\n this.colors = getChartColors(this.theme.colors);\r\n this.retailerType = this.retailerType || this.getRetailerType();\r\n this.chartConfig = this.extendChartConfig(chartConfig.line);\r\n this.retailerId = this.$state.params.retailerNo || this.retailer.retailerId;\r\n this.loadChartData();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getRetailerType() {\r\n if (this.isChainHead) {\r\n return 'CHAIN_HEAD';\r\n }\r\n if (this.isSuperChain) {\r\n return 'SUPER_CHAIN';\r\n }\r\n if (this.isChainSubordinate) {\r\n return 'CHAIN_SUBORDINATE';\r\n }\r\n if (this.isIndependent) {\r\n return 'INDEPENDENT';\r\n }\r\n }\r\n\r\n loadChartData() {\r\n this.thisYearSalesData = [];\r\n this.prevYearSalesData = [];\r\n this.zipData = [];\r\n this.businessData = [];\r\n this.getData();\r\n // this.loadDataAsync('my-instant-ticket-sales', this.getData.bind(this), 'myInstantTicketSales');\r\n }\r\n\r\n calculateDifference(current, last, field) {\r\n if (!last[field] || !current[field]) {\r\n return;\r\n }\r\n return ((current[field] - last[field]) / last[field]) * 100;\r\n }\r\n\r\n getData() {\r\n return fetchInstatTicketSales(this.retailerId)\r\n .then((results = []) => {\r\n const data = results;\r\n\r\n this.checkIfEmptyData(data);\r\n this.postalCountThreshold = find(data, { goePostalCountThreshold: true });\r\n\r\n this.dataTypes = this.isStoreProfile ? this.getSTORE_PROFILEData() : this[`get${this.retailerType}Data`]();\r\n if (!data || !data.length) {\r\n this.isEmpty = true;\r\n } else {\r\n const years = groupBy(sortBy(data, 'yearNumber'), 'yearNumber');\r\n const values = Object.keys(years).map((key) => years[key]);\r\n if (values.length === 1) {\r\n this.thisYearSalesData = values[0];\r\n } else if (values.length > 1) {\r\n this.prevYearSalesData = values[0];\r\n this.thisYearSalesData = values[1];\r\n this.thisYearSalesData.forEach((item) => {\r\n const prevValue = find(this.prevYearSalesData, { weekInYear: item.weekInYear });\r\n if (prevValue) {\r\n item.comparision = {\r\n retValAmt: this.calculateDifference(item, prevValue, 'retValAmt'),\r\n };\r\n }\r\n });\r\n }\r\n this.setChartType();\r\n }\r\n })\r\n .then(() => (this.isLoading = false));\r\n }\r\n\r\n checkIfEmptyData(data) {\r\n this.isEmpty = data.length === 0;\r\n }\r\n\r\n getSalesByZipLabel() {\r\n return this.postalCountThreshold\r\n ? this.gettextCatalog.getString('Avg. sales of retailers in your ZIP code')\r\n : this.gettextCatalog.getString('Avg. sales of retailers in county');\r\n }\r\n\r\n setChartType() {\r\n const option = this.dataTypes.find((opt) => opt.id === this.dataType);\r\n option.getData();\r\n }\r\n\r\n getCHAIN_HEADData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n ];\r\n }\r\n\r\n getSUPER_CHAINData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n ];\r\n }\r\n\r\n getSTORE_PROFILEData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n {\r\n id: 2,\r\n label: this.getSalesByZipLabel(),\r\n getData: () => this.getAvgSalesByZip(),\r\n },\r\n {\r\n id: 3,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers for your business type in state'),\r\n getData: () => this.getAvgSalesByState(),\r\n },\r\n {\r\n id: 4,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers in your chain in state'),\r\n getData: () => this.getAvgSalesByChain(),\r\n },\r\n ];\r\n }\r\n\r\n getCHAIN_SUBORDINATEData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n {\r\n id: 2,\r\n label: this.getSalesByZipLabel(),\r\n getData: () => this.getAvgSalesByZip(),\r\n },\r\n {\r\n id: 3,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers for your business type in state'),\r\n getData: () => this.getAvgSalesByState(),\r\n },\r\n {\r\n id: 4,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers in your chain in state'),\r\n getData: () => this.getAvgSalesByChain(),\r\n },\r\n ];\r\n }\r\n\r\n getINDEPENDENTData() {\r\n return [\r\n {\r\n id: 1,\r\n label: this.gettextCatalog.getString(\"Last year's sales\"),\r\n getData: () => this.getLastYearSales(),\r\n },\r\n {\r\n id: 2,\r\n label: this.getSalesByZipLabel(),\r\n getData: () => this.getAvgSalesByZip(),\r\n },\r\n {\r\n id: 3,\r\n label: this.gettextCatalog.getString('Avg. sales of retailers for your business type in state'),\r\n getData: () => this.getAvgSalesByState(),\r\n },\r\n ];\r\n }\r\n\r\n setColors(data) {\r\n const colors = this.colors.slice();\r\n return data.map((item) => {\r\n item.color = colors.shift();\r\n return item;\r\n });\r\n }\r\n\r\n extendChartConfig(chartConf) {\r\n const currencySymbol = undefined;\r\n const currencyFractionSize = 0;\r\n return merge(chartConf, {\r\n chart: {\r\n tooltip: {\r\n contentGenerator: (e) => {\r\n const series = e.series[0];\r\n if (series.value === null) return;\r\n const endOfWeekDate = moment.utc(get(e, 'point.item.date'));\r\n const comparision = get(e, 'point.comparision');\r\n const header = `\r\n \r\n \r\n ${this.gettextCatalog.getString('Week ending')}\r\n ${endOfWeekDate.format('MMM')}. ${endOfWeekDate.format('D')}\r\n \r\n `;\r\n\r\n const row = `\r\n \r\n
    \r\n \r\n \r\n ${this.$filter('currency')(series.value, currencySymbol, currencyFractionSize)}\r\n \r\n \r\n `;\r\n\r\n const secondRow =\r\n comparision !== undefined\r\n ? `\r\n = 0 ? 'success' : 'danger'}\">\r\n = 0 ? 'fa-level-up' : 'fa-level-down'}\">\r\n ${comparision.toFixed(2)}%\r\n `\r\n : '';\r\n\r\n return `\r\n ${header}\r\n \r\n ${row}\r\n ${secondRow}\r\n \r\n
    `;\r\n },\r\n },\r\n yAxis: {\r\n // eslint-disable-next-line\r\n tickFormat: (tickVal) => {\r\n return this.$filter('currency')(tickVal, currencySymbol, currencyFractionSize);\r\n },\r\n },\r\n },\r\n });\r\n }\r\n\r\n getYearSalesSeries(data, field) {\r\n const sortedData = sortBy(data, 'weekInYear');\r\n return {\r\n key: sortedData[0].yearNumber,\r\n values: sortedData.map((item) => {\r\n const value = {\r\n x: item.weekInYear,\r\n y: item[field],\r\n item,\r\n };\r\n if (item.comparision) {\r\n value.comparision = item.comparision[field];\r\n }\r\n return value;\r\n }),\r\n };\r\n }\r\n\r\n getLastYearSales() {\r\n let formattedData = [];\r\n if (this.prevYearSalesData.length) {\r\n formattedData = formattedData.concat(this.getYearSalesSeries(this.prevYearSalesData, 'retValAmt'));\r\n }\r\n\r\n if (this.thisYearSalesData.length) {\r\n formattedData = formattedData.concat(this.getYearSalesSeries(this.thisYearSalesData, 'retValAmt'));\r\n }\r\n this.redrawChart(formattedData);\r\n }\r\n\r\n getOtherSalesSeries(data, field) {\r\n const sortedData = sortBy(data, 'weekInYear');\r\n const title = field === 'retValAmt' ? this.gettextCatalog.getString('Your Sales') : this.gettextCatalog.getString('Avg. Sales');\r\n return {\r\n key: title,\r\n values: sortedData.map((item) => ({\r\n x: item.weekInYear,\r\n y: item[field],\r\n item,\r\n })),\r\n };\r\n }\r\n\r\n getAvgSalesByZip() {\r\n this.getAvgSalesByType('postalWeeklyAvg');\r\n }\r\n\r\n getAvgSalesByState() {\r\n this.getAvgSalesByType('sicWeeklyAvg');\r\n }\r\n\r\n getAvgSalesByChain() {\r\n this.getAvgSalesByType('chainWeeklyAvg');\r\n }\r\n\r\n getAvgSalesByType(type) {\r\n let formattedData = [];\r\n if (this.thisYearSalesData.length) {\r\n formattedData = formattedData.concat(\r\n this.getOtherSalesSeries(this.thisYearSalesData, type),\r\n this.getOtherSalesSeries(this.thisYearSalesData, 'retValAmt')\r\n );\r\n }\r\n\r\n this.redrawChart(formattedData);\r\n }\r\n\r\n redrawChart(data) {\r\n this.chartData = this.setColors(data);\r\n if (this.chartApi) {\r\n this.chartApi.updateWithData(this.chartData);\r\n this.chartRefreshTimeout = setTimeout(() => {\r\n this.chartApi.refresh();\r\n }, 100);\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n if (this.chartRefreshTimeout) {\r\n clearTimeout(this.chartRefreshTimeout);\r\n }\r\n }\r\n}\r\n\r\nexport default class MyInstantTicketSalesWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = MyInstantTicketSalesWidgetController;\r\n this.bindings = {\r\n model: '<',\r\n config: '<',\r\n appCtrl: '<',\r\n widgetsApi: '<',\r\n dashboardApi: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n setWidgetLoading: '&',\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget-component.js","module.exports = \"\\r\\n \\r\\n

    \\r\\n My {{ instant }} Ticket Sales\\r\\n

    \\r\\n \\r\\n \\r\\n \\r\\n Your {{ instant }} ticket sales by week (based on validations) this calendar year to date, measured against your own sales the previous year; average lottery sales by retailers in your geographical area this year; and average lottery sales in the state by retailers in your same business type this year.\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n Compare your CY weekly sales with\\r\\n \\r\\n \\r\\n {{opt.label}}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{item.key}}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-widget.html\n// module id = 1734\n// module chunks = 0","module.exports = {\"line\":{\"chart\":{\"clipEdge\":false,\"type\":\"lineChart\",\"height\":280,\"margin\":{\"left\":90},\"showLabels\":false,\"showLegend\":false,\"growOnHover\":false,\"tooltips\":{\"enabled\":true},\"xAxis\":{\"showMaxMin\":false,\"axisLabel\":\"Week\"},\"yAxis\":{\"showMaxMin\":false,\"ticks\":5}},\"title\":{\"enable\":false}},\"months\":[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/dashboard-widget/my-instant-ticket-sales/my-instant-ticket-sales-chart.conf.json\n// module id = 1735\n// module chunks = 0","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nconst fetchInstatTicketSales = (retailerId) => {\r\n const { url } = DepsService.rest.widgets.instant.instantTicketSales;\r\n const queryParams = {};\r\n const urlParams = { retailerId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport default fetchInstatTicketSales;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/my-instant-ticket-sales.api.js","import widgetTemplate from './common-widget.html';\r\n\r\nexport default class CommonWidgetComponent {\r\n constructor() {\r\n this.transclude = {\r\n tooltip: '?widgetTooltip',\r\n header: '?widgetHeader',\r\n content: '?widgetContent',\r\n empty: '?widgetEmptyText',\r\n };\r\n\r\n this.bindings = {\r\n cssClass: '@',\r\n isEmpty: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n isRemovable: '<',\r\n removeWidget: '&?',\r\n hideHeader: '<',\r\n showEmpty: '<',\r\n isMaintenance: '<',\r\n isLoading: '\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Data is currently unavailable. This widget will display on your dashboard when data is available.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Data temporarily unavailable due to maintenance. Please check back soon.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Loading...\\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/common/common-widget/common-widget.html\n// module id = 1738\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport utils from 'utils/lsp-utils-service';\r\nimport RetailerFilterDirective from './retailer-filter-directive';\r\n\r\nexport default angular.module('retailer-filter', []).directive('retailerFilter', utils.createNgFactory(RetailerFilterDirective));\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/retailer-filter/retailer-filter-module.js","import retailerFilterTemplate from './retailer-filter.html';\r\n\r\nclass RetailerFilterDirective {\r\n constructor() {\r\n this.restrict = 'E';\r\n this.template = retailerFilterTemplate;\r\n this.controller = () => {};\r\n this.controllerAs = 'ctrl';\r\n }\r\n}\r\n\r\nexport default RetailerFilterDirective;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/retailer-filter/retailer-filter-directive.js","module.exports = \"
    \\r\\n

    Filter by Subordinate Retailer:

    \\r\\n \\r\\n \\r\\n \\r\\n {{ retailer.name }}\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/retailer-filter/retailer-filter.html\n// module id = 1741\n// module chunks = 0","import { checkAccess } from 'app/actions/app.actions';\r\nimport { fetchPackStatusesDictionary } from 'app/actions/dictionaries/pack-statuses-dictionary.actions';\r\nimport { fetchOrderStatusesDictionary } from 'app/actions/dictionaries/order-statuses-dictionary.actions';\r\n\r\nimport rwDashboardsTemplate from './rw-dashboards.html';\r\nimport rwAddWidgetTemplate from './rw-add-widget/rw-add-widget.html';\r\nimport RwAddWidgetController from './rw-add-widget/rw-add-widget-controller';\r\nimport dashboardsConfig from '../config/dashboards.conf.json';\r\nimport { RETAILER_TYPE } from 'app/validators/roles';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapStateToThis = ({ session }) => ({\r\n retailer: session.retailer,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n checkAccess,\r\n fetchPackStatusesDictionary,\r\n fetchOrderStatusesDictionary,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', 'Notifications', 'gettextCatalog')\r\nclass RwDashboardsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n async $onInit() {\r\n this.canCustomizeDashboard = this.checkAccess('dashboard.customize');\r\n this.retailerType =\r\n this.retailerType || (this.retailer.retailerType ? this.retailer.retailerType.toUpperCase() : RETAILER_TYPE.PROSPECTIVE);\r\n this.isEditMode = false;\r\n this.dashboardsConfig = dashboardsConfig;\r\n await Promise.all([this.fetchPackStatusesDictionary(), this.fetchOrderStatusesDictionary()]);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n addWidget() {\r\n return this.Notifications.showComplexDialog({\r\n template: rwAddWidgetTemplate,\r\n controller: RwAddWidgetController,\r\n resolve: {\r\n retailerType: () => this.retailerType,\r\n },\r\n });\r\n }\r\n}\r\n\r\nclass RwDashboardsComponent {\r\n constructor() {\r\n this.template = rwDashboardsTemplate;\r\n this.controller = RwDashboardsController;\r\n this.bindings = {\r\n cssClass: '@',\r\n retailerType: '@',\r\n subtype: '@',\r\n title: '@',\r\n subtitle: '@',\r\n isDefault: '<',\r\n isDisabledShare: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default RwDashboardsComponent;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-dashboards-component.js","module.exports = \"\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-dashboards.html\n// module id = 1743\n// module chunks = 0","module.exports = \"
    \\r\\n

    \\r\\n Add widget\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{widgetData.name | translate}}\\r\\n \\r\\n \\r\\n \\r\\n Add\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n No widgets available.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n OK\\r\\n \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-add-widget/rw-add-widget.html\n// module id = 1744\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { addWidget, getWidgetsList } from 'dashboard/actions/dashboard.actions';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapStateToThis = (state) => ({\r\n widgetsList: state.dashboard.widgets,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n getWidgetsList,\r\n addWidget,\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog')\r\nclass RwAddWidgetController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n }\r\n\r\n $onInit() {\r\n this.headers = [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Actions'),\r\n },\r\n ];\r\n\r\n this.getWidgetsList(this.retailerType);\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n onAddWidget(widgetData) {\r\n this.setDirtyForm(this.DIRTY_FORM, true);\r\n this.addWidget(widgetData);\r\n this.getWidgetsList(this.retailerType);\r\n }\r\n}\r\n\r\nexport default RwAddWidgetController;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-add-widget/rw-add-widget-controller.js","import DepsService from 'services/dependencies';\r\n\r\nconst CONTEXT = 'dashboard';\r\n\r\nexport const fetchDashboard = (userId) => {\r\n const url = DepsService.rest.dashboard.data.url;\r\n const queryParams = {};\r\n const urlParams = { userId };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const fetchDefaultDashboard = (type) => {\r\n const url = DepsService.rest.dashboard.defaults.url;\r\n const queryParams = {};\r\n const urlParams = { type };\r\n\r\n return DepsService.restSrv.list(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\r\nexport const updateDashboard = (dashboardToSave) => {\r\n const url = DepsService.rest.dashboard.save.url;\r\n const queryParams = dashboardToSave;\r\n const urlParams = {\r\n dashboardId: dashboardToSave.id,\r\n };\r\n\r\n return DepsService.restSrv.update(CONTEXT, url, queryParams, urlParams);\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/resources/dashboard.api.js","module.exports = {\"widgets\":[{\"type\":\"games-ending\",\"permission\":\"dashboard.widget.gamesEnding\",\"component\":\"\"},{\"type\":\"top-vlt-games\",\"permission\":\"dashboard.widget.topVltGames\",\"component\":\"\"},{\"type\":\"site-financial-status\",\"permission\":\"dashboard.widget.siteFinancialStatus\",\"component\":\"\"},{\"type\":\"site-operational-status\",\"permission\":\"dashboard.widget.siteOperationalStatus\",\"component\":\"\"},{\"type\":\"tickets\",\"permission\":\"dashboard.widget.tickets\",\"component\":\"\"},{\"type\":\"configurable-link-summary\",\"permission\":\"dashboard.widget.configurableLink.summary\",\"component\":\"\"},{\"type\":\"configurable-link-instant\",\"permission\":\"dashboard.widget.configurableLink.instant\",\"component\":\"\"},{\"type\":\"earnings\",\"permission\":\"dashboard.widget.earnings\",\"component\":\"\"},{\"type\":\"net-earnings\",\"permission\":\"dashboard.widget.netEarnings\",\"component\":\"\"},{\"type\":\"eft-amount\",\"permission\":\"dashboard.widget.eftAmount\",\"component\":\"\"},{\"type\":\"jackpots-next-draws\",\"permission\":\"dashboard.widget.jackpotsNextDraws\",\"component\":\"\"},{\"type\":\"net-sales\",\"permission\":\"dashboard.widget.netSales\",\"component\":\"\"},{\"type\":\"big-winners\",\"permission\":\"dashboard.widget.bigWinners\",\"component\":\"\"},{\"type\":\"big-winners-instant\",\"permission\":\"dashboard.widget.bigWinnersInstant\",\"component\":\"\"},{\"type\":\"big-winners-draw\",\"permission\":\"dashboard.widget.bigWinnersDraw\",\"component\":\"\"},{\"type\":\"cumulative-winners\",\"permission\":\"dashboard.widget.cumulativeWinners\",\"component\":\"\"},{\"type\":\"current-instant-game-liability\",\"permission\":\"dashboard.widget.currentInstantGameLiability\",\"component\":\"\"},{\"type\":\"actual-and-projected-settlements\",\"permission\":\"dashboard.widget.actualAndProjectedSettlements\",\"component\":\"\"},{\"type\":\"new-games\",\"permission\":\"dashboard.widget.newGames\",\"component\":\"\"},{\"type\":\"my-slow-moving-games\",\"permission\":\"dashboard.widget.mySlowMovingGames\",\"component\":\"\"},{\"type\":\"my-price-point-mix\",\"permission\":\"dashboard.widget.myPricePointMix\",\"component\":\"\"},{\"type\":\"my-net-sales-performance\",\"permission\":\"dashboard.widget.myNetSalesPerformance\",\"component\":\"\"},{\"type\":\"view-full-game-inventory\",\"permission\":\"dashboard.widget.gameInventory\",\"component\":\"\"},{\"type\":\"top-selling-games\",\"permission\":\"dashboard.widget.topSellingGames\",\"component\":\"\"},{\"type\":\"messages\",\"permission\":\"dashboard.widget.messages\",\"component\":\"\"},{\"type\":\"lottery-representatives\",\"permission\":\"dashboard.widget.lotteryRepresentatives\",\"component\":\"\"},{\"type\":\"self-service-out-of-stock\",\"permission\":\"dashboard.widget.selfServiceOutOfStock\",\"component\":\"\"},{\"type\":\"license-renewal\",\"permission\":\"dashboard.widget.licenseRenewal\",\"component\":\"\"},{\"type\":\"bond-renewal\",\"permission\":\"dashboard.widget.bondRenewal\",\"component\":\"\"},{\"type\":\"selling-terminals\",\"permission\":\"dashboard.widget.sellingTerminals\",\"component\":\"\"},{\"type\":\"chain-sales-rank\",\"permission\":\"dashboard.widget.chainSalesRank\",\"component\":\"\"},{\"type\":\"store-sales-rank\",\"permission\":\"dashboard.widget.storeSalesRank\",\"component\":\"\"},{\"type\":\"end-of-game\",\"permission\":\"dashboard.widget.endOfGame\",\"component\":\"\"},{\"type\":\"lvm-sales\",\"permission\":\"dashboard.widget.lvmSales\",\"component\":\"\"},{\"type\":\"my-instant-ticket-sales\",\"permission\":\"dashboard.widget.myInstantTicketSales\",\"component\":\"\"}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/config/dashboards.conf.json\n// module id = 1747\n// module chunks = 0","import helpers from 'app/app-helpers';\r\nimport { fetchDashboard, restoreDefaults, saveDashboard, setEditMode } from 'dashboard/actions/dashboard.actions';\r\nimport { checkDirtyForm, setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { isSuperChainSelector } from 'selectors';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\nimport rwDashboardTemplate from './rw-dashboard.html';\r\n\r\nconst mapStateToThis = ({ dashboard, session, config, dictionary }) => {\r\n const { isEditMode, isLoading, current } = dashboard;\r\n const { locale } = session;\r\n const isSuperChain = isSuperChainSelector({ session });\r\n\r\n const terms = dictionary.terms[locale];\r\n const applicationName = config.applicationName[locale];\r\n\r\n return {\r\n isSuperChain,\r\n isEditMode,\r\n isLoading,\r\n session,\r\n config,\r\n terms,\r\n applicationName,\r\n dashboard: current,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchDashboard,\r\n setEditMode,\r\n restoreDefaults,\r\n saveDashboard,\r\n checkDirtyForm,\r\n setDirtyForm,\r\n checkAccess,\r\n changePageTitle,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', '$scope', 'gettextCatalog', '$rootScope')\r\nclass RwDashboardController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.setPageTitle();\r\n this.DIRTY_FORM = 'dashboard';\r\n this.isAlertsWidgetAvailable = this.checkIsAlertsWidgetAvailable();\r\n if (!!this.retailerType && !!this.subtype) {\r\n if (this.isDefault) {\r\n this.restoreDefaults(this.retailerType, this.subtype);\r\n } else {\r\n this.fetchDashboard(this.retailerType, this.subtype);\r\n }\r\n } else {\r\n helpers.redirectToFirstPageFromMenu({\r\n $state: this.$state,\r\n });\r\n }\r\n }\r\n\r\n $onDestroy() {\r\n this.disableEditMode(true);\r\n this.unsubscribe();\r\n }\r\n\r\n openSettings() {\r\n this.onOpenSettings({\r\n dashboard: this.dashboard,\r\n });\r\n }\r\n\r\n addWidget() {\r\n this.onAddWidget();\r\n }\r\n\r\n save(leaveEditMode = true) {\r\n this.saveDashboard(this.dashboard).then(() => {\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n if (leaveEditMode) {\r\n this.disableEditMode(true);\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n if (this.checkDirtyForm(this.DIRTY_FORM)) {\r\n this.refreshData();\r\n }\r\n this.disableEditMode();\r\n }\r\n\r\n disableEditMode(save = false) {\r\n this.isEditMode = false;\r\n this.setEditMode(this.isEditMode, save);\r\n }\r\n\r\n enableEditMode() {\r\n this.isEditMode = true;\r\n this.setEditMode(this.isEditMode);\r\n }\r\n\r\n onRestoreDefaults() {\r\n this.restoreDefaults(this.retailerType, this.subtype);\r\n }\r\n\r\n checkIsAlertsWidgetAvailable() {\r\n return !this.isSuperChain && this.checkAccess('dashboard.widget.alerts');\r\n }\r\n\r\n setPageTitle() {\r\n // Require to support lottery term instant\r\n if (this.subtype === 'instant') {\r\n this.changePageTitle(this.gettextCatalog.getString('{{ instant }} Dashboard', { instant: this.terms.INSTANT.plural }));\r\n this.$rootScope.title = this.gettextCatalog.getString('{{ applicationName }} - {{ instant }} Dashboard', {\r\n instant: this.terms.INSTANT.plural,\r\n applicationName: this.applicationName,\r\n });\r\n } else {\r\n this.$state.params.pageTitle = this.gettextCatalog.getString('Summary Dashboard');\r\n this.$rootScope.title = this.gettextCatalog.getString('{{ applicationName }} - Summary Dashboard', {\r\n applicationName: this.applicationName,\r\n });\r\n }\r\n }\r\n}\r\n\r\nclass RwDashboardComponent {\r\n constructor() {\r\n this.require = {\r\n rwDashboardsCtrl: '^rwDashboards',\r\n };\r\n this.template = rwDashboardTemplate;\r\n this.controller = RwDashboardController;\r\n this.bindings = {\r\n subtype: '<',\r\n retailerType: '<',\r\n widgetsConfig: '<',\r\n cssClass: '@',\r\n onAddWidget: '&',\r\n canCustomizeDashboard: '<',\r\n isDefault: '<',\r\n isDisabledShare: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default RwDashboardComponent;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-dashboard/rw-dashboard-component.js","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Customize Dashboard\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Restore defaults\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Add widget\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    Widgets are loading...
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-dashboard/rw-dashboard.html\n// module id = 1749\n// module chunks = 0","import appHelpers from 'app/app-helpers';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport rwRenderWidgetsTemplate from './rw-render-widgets.html';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapStateToThis = (state) => ({\r\n isEditMode: state.dashboard.isEditMode,\r\n});\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RwRenderWidgetsController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.asSortableOptions = {\r\n additionalPlaceholderClass: 'rw-dashboard-render-widgets-sortable-placeholder',\r\n dragMove: appHelpers.dragMove,\r\n itemMoved: () => {\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n },\r\n orderChanged: () => {\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n },\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n}\r\n\r\nclass RwRenderWidgetsComponent {\r\n constructor() {\r\n this.template = rwRenderWidgetsTemplate;\r\n this.controller = RwRenderWidgetsController;\r\n this.bindings = {\r\n widgets: '=',\r\n widgetsConfig: '<',\r\n rowId: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n };\r\n }\r\n}\r\n\r\nexport default RwRenderWidgetsComponent;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-render-widgets/rw-render-widgets.html\n// module id = 1751\n// module chunks = 0","import template from './rw-remove-widget.html';\r\n\r\nexport default class RwRemoveWidgetComponent {\r\n constructor() {\r\n this.bindings = {\r\n action: '&',\r\n };\r\n this.template = template;\r\n this.controller = () => {};\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget-component.js","module.exports = \"
    \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-remove-widget/rw-remove-widget.html\n// module id = 1753\n// module chunks = 0","import template from './rw-move-widget.html';\r\n\r\nexport default class RwMoveWidgetComponent {\r\n constructor() {\r\n this.template = template;\r\n\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-move-widget/rw-move-widget-component.js","module.exports = \"
    \\r\\n \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/dashboard/components/rw-move-widget/rw-move-widget.html\n// module id = 1755\n// module chunks = 0","/* REDUX */\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { deleteWidget } from 'dashboard/actions/dashboard.actions';\r\n\r\nconst DIRTY_FORM = 'dashboard';\r\n\r\nconst mapDispatchToThis = {\r\n deleteWidget,\r\n setDirtyForm,\r\n checkAccess,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux')\r\nclass RwRenderWidgetController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(null, mapDispatchToThis)(this);\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.cachedImages = {};\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n getWidgetConfig() {\r\n return this.widgetsConfig ? this.widgetsConfig.find((conf) => conf.type === this.widget.type) : {};\r\n }\r\n\r\n removeWidget() {\r\n this.deleteWidget(this.widget);\r\n this.setDirtyForm(DIRTY_FORM, true);\r\n }\r\n\r\n revokeUrls() {\r\n Object.keys(this.cachedImages).forEach((url) => {\r\n URL.revokeObjectURL(url);\r\n });\r\n }\r\n}\r\n\r\nfunction RwRenderWidgetDirective($compile) {\r\n function getComponent(ctrl) {\r\n const widgetConfig = ctrl.getWidgetConfig();\r\n return ctrl.checkAccess(widgetConfig.permission) ? widgetConfig.component : '';\r\n }\r\n\r\n function link(scope, element, attrs, $ctrl) {\r\n const widgetScope = scope.$new();\r\n\r\n widgetScope.$on('$destroy', () => $ctrl.revokeUrls());\r\n const widgetComponent = getComponent($ctrl);\r\n element.html(widgetComponent);\r\n $compile(element.contents())(widgetScope);\r\n }\r\n\r\n return {\r\n controller: RwRenderWidgetController,\r\n controllerAs: '$ctrl',\r\n scope: {},\r\n bindToController: {\r\n widget: '<',\r\n isEditMode: '<',\r\n isDisabledShare: '<',\r\n widgetsConfig: '<',\r\n widgetPosition: '<',\r\n onRemoveWidget: '&',\r\n },\r\n link,\r\n };\r\n}\r\n\r\nRwRenderWidgetDirective.$inject = ['$compile'];\r\n\r\nexport default RwRenderWidgetDirective;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/dashboard/components/rw-render-widget/rw-render-widget-directive.js","import angular from 'angular';\r\nimport userRoutingModule from 'user/user-routing-module';\r\nimport userErrorCodesModule from 'user/config/errorcodes.conf';\r\nimport myAccountModule from 'user/components/my-account/my-account-module';\r\nimport manageUsersModule from 'user/components/manage-users/manage-users-component';\r\nimport editAccountModule from 'user/components/edit-account/edit-account-component';\r\nimport createAccountStepsModule from 'user/components/create-account-steps/create-account-steps-component';\r\nimport changePrimaryUserModule from 'user/components/change-primary-user/change-primary-user-component';\r\nimport retailerSettingsModule from 'user/components/retailer-settings/retailer-settings-module';\r\nimport securityModule from 'security/security-module';\r\nimport authModule from 'auth/auth-module';\r\n\r\nexport default angular.module('user', [\r\n userRoutingModule.name,\r\n userErrorCodesModule.name,\r\n myAccountModule.name,\r\n manageUsersModule.name,\r\n editAccountModule.name,\r\n createAccountStepsModule.name,\r\n changePrimaryUserModule.name,\r\n retailerSettingsModule.name,\r\n securityModule.name,\r\n authModule.name,\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/user-module.js","import angular from 'angular';\r\nimport { changePageTitle } from 'auth/actions/session.actions';\r\n\r\nexport default angular.module('userRouting', []).config([\r\n '$stateProvider',\r\n function configure($stateProvider) {\r\n $stateProvider\r\n .state('user-changePrimary', {\r\n parent: 'arw',\r\n url: '/change-primary-user/:retailerId/:primaryUserId',\r\n template: ``,\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Change Primary User')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n config: appFactory.deps.config,\r\n promoteToPrimary: appFactory.dispatch('user.promoteToPrimary', true),\r\n nextPage: appFactory.dispatch('user.changePrimaryUser.nextPage', true),\r\n prevPage: appFactory.dispatch('user.changePrimaryUser.prevPage', true),\r\n gotoPage: appFactory.dispatch('user.changePrimaryUser.gotoPage', true),\r\n applyFilters: appFactory.dispatch('user.changePrimaryUser.applyFilters', true),\r\n }))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('user-createAccount', {\r\n parent: 'arw',\r\n url: '/create-account',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Create New User')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('user-createSecondaryUserAccount', {\r\n parent: 'arw',\r\n url: '/create-secondary-user-account/:primaryUserId',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Create New User')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('user-viewAccountDetails', {\r\n parent: 'arw',\r\n url: '/view-account-details/{id:[0-9]*}?tabId',\r\n template: ``,\r\n params: {\r\n retailerId: null,\r\n skipDirtyForms: false,\r\n },\r\n redirectTo: 'permissions-denied',\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n '$stateParams',\r\n 'appApi',\r\n (appFactory, $stateParams) =>\r\n appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => {\r\n const { id, retailerId } = $stateParams;\r\n return appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => appFactory.dispatch('user.loadUser', true).run(id, retailerId))\r\n .then((model) => ({\r\n config: appFactory.deps.config,\r\n loadUser: appFactory.actions.user.loadUserById,\r\n canEditAccountDetails: appFactory.deps.checkAccess(model, 'user.editAccountDetails'),\r\n canEdit: appFactory.deps.checkAccess(model, 'user.canEdit'),\r\n canCompleteRegistration: appFactory.deps.checkAccess(model, 'user.canCompleteRegistration'),\r\n accountInactive: appFactory.deps.checkAccess(model, 'user.accountInactive'),\r\n canResendActivationEmail: appFactory.deps.checkAccess(model, 'user.canResendActivationEmail'),\r\n canAuthenticateUser: appFactory.deps.checkAccess(model, 'user.authenticateUser'),\r\n isUserNotSuspended: appFactory.deps.checkAccess(model, 'user.isUserNotSuspended'),\r\n canChangePrimaryUser: appFactory.deps.checkAccess(model, 'user.canChangePrimaryUser'),\r\n canShowRetailerFields: appFactory.deps.checkAccess(model, 'user.canShowRetailerFields'),\r\n canUpdateUserStatus: appFactory.checkValidators(model, 'user.canUpdateUserStatus'),\r\n canUpdateAccountPrivileges:\r\n appFactory.checkValidators(model, 'user.canUpdatePrivileges') && appFactory.deps.config.privilegesCustomization,\r\n resendActivationEmail: appFactory.dispatch('user.canResendActivationEmail', true),\r\n authenticateUser: appFactory.dispatch('user.authenticateUser', true),\r\n activate: appFactory.dispatch('user.activate', true),\r\n suspend: appFactory.dispatch('user.suspend', true),\r\n updatePersonalData: appFactory.dispatch('user.updateSubordinateUser', true),\r\n loginByRest: appFactory.dispatch('auth.loginByRest', true),\r\n loadPrivileges: appFactory.dispatch('privilegeTemplates.loadPrivileges', true),\r\n resetCurrentPreset: appFactory.dispatch('privilegeTemplates.resetCurrentPreset', true),\r\n updateUserPrivileges: appFactory.dispatch('user.updateUserPrivileges', true),\r\n showAlert: appFactory.uiHelpers.showAlert,\r\n showComplexDialog: appFactory.uiHelpers.showComplexDialog,\r\n redirectAfterLogin: appFactory.uiHelpers.redirectAfterLogin.bind(null, appFactory.deps),\r\n deleteUser: appFactory.dispatch('user.deleteUser', true),\r\n }));\r\n })\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('user-myAccount', {\r\n parent: 'arw',\r\n url: '/my-account',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('My Account')));\r\n },\r\n ],\r\n },\r\n })\r\n .state('user-manageUsers', {\r\n parent: 'arw',\r\n url: '/manage-users',\r\n template: ``,\r\n redirectTo: 'dashboard-summary',\r\n params: {\r\n skipDirtyForms: false,\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Manage Users')));\r\n },\r\n ],\r\n },\r\n resolve: {\r\n api: [\r\n 'appFactory',\r\n 'appApi',\r\n (appFactory) =>\r\n appFactory\r\n .dispatch('user.loadDictionaries', true)\r\n .run()\r\n .then(() => ({\r\n config: appFactory.deps.config,\r\n filterUsers: appFactory.dispatch('user.grid.applyFilters', true),\r\n sortUsers: appFactory.dispatch('user.grid.sortByColumn', true),\r\n prevPage: appFactory.dispatch('user.grid.prevPage', true),\r\n nextPage: appFactory.dispatch('user.grid.nextPage', true),\r\n gotoPage: appFactory.dispatch('user.grid.gotoPage', true),\r\n exportReport: appFactory.actions.user.exportUserReport,\r\n }))\r\n // eslint-disable-next-line no-console\r\n .catch((err) => console.error(err)),\r\n ],\r\n },\r\n })\r\n .state('retailer-settings', {\r\n parent: 'arw',\r\n url: '/retailer-settings',\r\n template: '',\r\n redirectTo: 'permissions-denied',\r\n params: {\r\n pageTitle: [\r\n '$ngRedux',\r\n 'gettextCatalog',\r\n ($ngRedux, gettextCatalog) => {\r\n $ngRedux.dispatch(changePageTitle(gettextCatalog.getString('Retailer Settings')));\r\n },\r\n ],\r\n },\r\n withoutPerms: true,\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/user-routing-module.js","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nimport alertModalTpl from 'auth/views/alert-modal.html';\r\n\r\nexport default angular.module('user-errorcodes', []).run([\r\n 'gettextCatalog',\r\n 'appFactory',\r\n function errorCodes(gettextCatalog, appFactory) {\r\n appFactory.deps.config.errorCodes = _.merge(appFactory.deps.config.errorCodes, {\r\n user: {\r\n PRIMARY_ALREADY_REGISTERED: () => ({ title: gettextCatalog.getString('Primary User for this Retailer is already registered.') }),\r\n PASSWORD_REQUIRMENTS_NOT_MET: () => ({ title: gettextCatalog.getString('Password requirements not met.') }),\r\n RETAILER_NOT_IN_SCOPE: () => ({ title: gettextCatalog.getString('Access denied to Retailer. Please contact Administrator.') }),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n RETAILER_NOT_FOUND: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'Retailer is not {{ active }} or does not exist in Retail Management. Please contact Administrator.',\r\n { active: params.terms.ACTIVE.singular }\r\n ),\r\n }),\r\n NOT_FOUND: () => ({ title: gettextCatalog.getString('Data not found.') }),\r\n USER_NOT_FOUND: () => ({ title: gettextCatalog.getString('User not found.') }),\r\n INVALID_EMAIL: () => ({ title: gettextCatalog.getString('Not a well-formed email address.') }),\r\n WRONG_CHALLENGE_ANSWER: () => ({ title: gettextCatalog.getString('Wrong challenge answer.') }),\r\n PRIMARY_USER_PRIVILEGE_UPDATE: () => ({ title: gettextCatalog.getString('Cannot update privileges for primary user.') }),\r\n MULTIPLE_PRIMARY_USER_EXCEPTION: () => ({\r\n title: gettextCatalog.getString('Primary User for this Retailer is already registered.'),\r\n }),\r\n USER_ALREADY_EXIST: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User with this e-mail address is already registered. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n USER_ALREADY_EXISTS_EXCEPTION: (params) => ({\r\n title: gettextCatalog.getString(\r\n 'User with this e-mail address is already registered. Please call {{ contactPhone }} for assistance.',\r\n { contactPhone: params.contactPhone }\r\n ),\r\n }),\r\n USER_NOT_ALLOWED_EMAIL_RESEND: () => ({\r\n title: gettextCatalog.getString('Activation email resent fails (User is not allowed for email resend).'),\r\n }),\r\n USER_NOT_SUSPENDED: (params) => ({\r\n title: gettextCatalog.getString('Unable to Activate User'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot activate this user because the user status is not {{ inactive }}.', {\r\n inactive: params.terms.INACTIVE.singular,\r\n }),\r\n }),\r\n USER_STATUS_CHANGE_NOT_ALLOWED: () => ({\r\n title: gettextCatalog.getString('Unable to Update Account Status'),\r\n body: gettextCatalog.getString('Sorry, you cannot update account status because the account is suspended.'),\r\n }),\r\n USER_NOT_ACTIVE: (params) => ({\r\n title: gettextCatalog.getString('Unable to Inactivate User'),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot inactivate this user because the user status is not {{ active }}.', {\r\n active: params.terms.ACTIVE.singular,\r\n }),\r\n }),\r\n PROMOTION_DENIED_MULTISTORE: () => ({\r\n title: gettextCatalog.getString('Unable to Change Primary User'),\r\n body: gettextCatalog.getString('Sorry, you cannot change multistore primary user.'),\r\n }),\r\n AUTHORIZATION_DATA_NOT_VALID: (params) => ({\r\n title: gettextCatalog.getString('Unable to create User'),\r\n body: gettextCatalog.getString('Sorry, we cannot find owner for provided ({{ ownerValidationMethod }}) number.', {\r\n ownerValidationMethod: params.ownerValidationMethod,\r\n }),\r\n }),\r\n AUTHORIZATION_CHAIN_DATA_NOT_VALID: () => ({\r\n title: gettextCatalog.getString('Unable to create User'),\r\n body: gettextCatalog.getString('Sorry, email address does not match retailer.'),\r\n }),\r\n ACCOUNT_LOCKED: () => ({ title: gettextCatalog.getString('Sorry, you cannot reset password because this account is suspended.') }),\r\n MULTIPLE_PRIMARY_USER_WITH_SAME_OWNER_EXCEPTION: () => ({\r\n title: gettextCatalog.getString(\r\n 'User from that owner already exists, please use another ({{ ownerValidationMethod }}) sequence.',\r\n { ownerValidationMethod: params.ownerValidationMethod }\r\n ),\r\n }),\r\n IDENTIFICATION_NOT_VALID: () => ({ title: gettextCatalog.getString('Selected user class is incorrect for this retailer number.') }),\r\n USER_CANNOT_DELETE_ITSELF: () => ({ title: gettextCatalog.getString('User cannot delete itself.') }),\r\n /// {{ dsr }} is Lottery term using to determine District Sales Representative.\r\n LOTTERY_REP_ID_NOT_PROVIDED: (params) => ({\r\n title: gettextCatalog.getString('Admin user has at least one limit to retailers privilege and not set {{ dsr }} id.', {\r\n dsr: params.terms.DSR.singular,\r\n }),\r\n }),\r\n /// {{ dsr }} is Lottery term using to determine District Sales Representative.\r\n NOT_ASSIGNED_LOTTERY_REPRESENTATIVE: (params) => ({\r\n title: gettextCatalog.getString('You are not assigned as {{ dsr }} for selected Retailer.', { dsr: params.terms.DSR.singular }),\r\n }),\r\n PASSWORD_ALREADY_USED: () => ({\r\n title: gettextCatalog.getString('Cannot reuse password'),\r\n body: gettextCatalog.getString(\"Cannot reuse old password. Last 3 passwords mustn't repeat.\"),\r\n template: alertModalTpl,\r\n }),\r\n MAX_CHALLENGE_ANSWER_EXCEEDED: () => ({ title: gettextCatalog.getString('Sorry, you exceeded maximum number of tries.') }),\r\n BAD_PARAMETER: () => ({ title: gettextCatalog.getString('Sorry, you provided incorrect format in one of search fields.') }),\r\n USER_WITH_GIVEN_PHONE_ALREADY_EXISTS: () => ({\r\n title: gettextCatalog.getString(\r\n \"The mobile number you provided is connected to another user's account. Please enter a different mobile number.\"\r\n ),\r\n }),\r\n PRIMARY_USER_NOT_EXISTS: () => ({\r\n title: gettextCatalog.getString('Unable to create User'),\r\n body: gettextCatalog.getString('There is no active primary user'),\r\n }),\r\n NOT_AUTHORIZED: (params) => ({\r\n title: gettextCatalog.getString('User not authorized. Please call {{ contactPhone }} for assistance.', {\r\n contactPhone: params.contactPhone,\r\n }),\r\n }),\r\n },\r\n changeprimaryuser: {\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n 24: (params) => ({\r\n title: gettextCatalog.getString('User Access is already set to {{ inactive }}.', { inactive: params.terms.INACTIVE.singular }),\r\n }),\r\n },\r\n suspendactivateusers: {\r\n 23: () => ({\r\n title: gettextCatalog.getString('Unable to Update Account Status'),\r\n body: gettextCatalog.getString('Sorry, you cannot update account status because the account is suspended.'),\r\n }),\r\n 24: (params) => ({\r\n title: gettextCatalog.getString('Unable to Suspend User'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot suspend this user because user status is {{ inactive }}.', {\r\n inactive: params.terms.INACTIVE.singular,\r\n }),\r\n }),\r\n 25: (params) => ({\r\n title: gettextCatalog.getString('Unable to Activate User'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n body: gettextCatalog.getString('Sorry, you cannot activate this user because the user status is not {{ inactive }}.', {\r\n inactive: params.terms.INACTIVE.singular,\r\n }),\r\n }),\r\n },\r\n });\r\n },\r\n]);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/config/errorcodes.conf.js","import angular from 'angular';\r\nimport userGroupMemberships from 'user/components/group-memberships/user-group-memberships-module';\r\nimport MyAccountComponent from './my-account-component';\r\nimport MyAccountFormComponent from './components/form/my-account-form-component';\r\n\r\nexport default angular\r\n .module('my-account', [userGroupMemberships.name])\r\n .component('myAccount', new MyAccountComponent())\r\n .component('myAccountForm', new MyAccountFormComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/my-account/my-account-module.js","import { getRetailerGroupsSpecified } from 'retailer-groups/resources/retailer-groups-api';\r\n\r\nexport class UserGroupMembershipsController {\r\n constructor() {\r\n this.retailerGroups = [];\r\n }\r\n\r\n canView() {\r\n return this.user.retailerGroups && this.user.retailerGroups.length > 0;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/group-memberships/user-group-memberships-controller.js","import DepsService from 'services/dependencies';\r\nimport roles from 'app/validators/roles';\r\nimport pick from 'lodash/pick';\r\n\r\nconst getSearchUrl = () => DepsService.rest.retailerGroup.search.url;\r\nconst getByUserUrl = () => DepsService.rest.retailerGroup.byUser.url;\r\nconst maxPageSize = 500;\r\n\r\nexport function getRetailerGroups(queryParameters = {}) {\r\n const { role, id } = DepsService.$ngRedux.getState().session;\r\n const parameters = { ...queryParameters, statusCode: 1 };\r\n return roles.ADMIN_ROLES.includes(role)\r\n ? DepsService.restSrv.list(undefined, getSearchUrl(), parameters)\r\n : DepsService.restSrv.list(undefined, getByUserUrl(), {}, { id }).then(\r\n retailerGroups => getRetailerGroupsSpecified(retailerGroups, parameters)\r\n );\r\n}\r\n\r\nexport function getOwnerRetailerGroups(queryParameters = {}) {\r\n const { role, ownerRetailerGroups } = DepsService.$ngRedux.getState().session;\r\n const parameters = { ...queryParameters, statusCode: 1 };\r\n return roles.ADMIN_ROLES.includes(role)\r\n ? DepsService.restSrv.list(undefined, getSearchUrl(), parameters)\r\n : getRetailerGroupsSpecified(ownerRetailerGroups, parameters);\r\n}\r\n\r\nexport function getRetailerGroup(id) {\r\n return DepsService.restSrv.get(undefined, DepsService.rest.retailerGroup.get.url, undefined, { id });\r\n}\r\n\r\nexport function getRetailerGroupMembers(id, parameters) {\r\n return DepsService.restSrv.get(undefined, DepsService.rest.retailerGroup.members.url, parameters, { id });\r\n}\r\n\r\nexport function getOwnerRetailerGroupIds(ownerId) {\r\n return DepsService.restSrv.get(undefined, DepsService.rest.retailerGroup.ids.forOwner.url, undefined, { ownerId });\r\n}\r\n\r\nexport function getRetailerGroupsSpecified(groupIds = [], queryParameters = {}) {\r\n return DepsService.restSrv.create(undefined, getSearchUrl(), { groupIds }, {\r\n 'page-size': maxPageSize,\r\n ...queryParameters,\r\n });\r\n}\r\n\r\nexport function createRetailerGroup(retailerGroup) {\r\n return DepsService.restSrv.create(undefined, DepsService.rest.retailerGroup.create.url, retailerGroup);\r\n}\r\n\r\nexport function updateRetailerGroup(retailerGroup) {\r\n const data = pick(retailerGroup, [ // todo extract to separate function\r\n 'reportingGroupOid', 'name', 'description',\r\n 'groupType', 'groupSubType', 'ownerId',\r\n 'fiscalWeekStartDay', 'fiscalYearStartMonth',\r\n 'retailerIds', 'userIds'\r\n ]);\r\n return DepsService.restSrv.update(undefined, DepsService.rest.retailerGroup.update.url, data, {\r\n id: retailerGroup.reportingGroupOid\r\n });\r\n}\r\n\r\nexport function deleteRetailerGroup(retailerGroup) {\r\n return DepsService.restSrv.update(undefined, DepsService.rest.retailerGroup.delete.url, retailerGroup, {\r\n id: retailerGroup.reportingGroupOid\r\n });\r\n}\r\n\r\nexport function getRetailersValidated(groupType, ownerId, retailerIds) {\r\n const requestBody = {\r\n groupType,\r\n ownerId,\r\n retailers: retailerIds.map((retailerId) => ({ retailerId }))\r\n };\r\n return DepsService.restSrv.create(undefined, DepsService.rest.retailerGroup.validateRetailers.url, requestBody);\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/resources/retailer-groups-api.js","import template from './user-group-memberships.html';\r\n\r\nexport default {\r\n template,\r\n controller: 'UserGroupMembershipsController',\r\n bindings: {\r\n user: '<',\r\n },\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/group-memberships/user-group-memberships-component.js","module.exports = \"
    \\r\\n
    \\r\\n Group Memberships\\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ retailerGroup.name }}, \\r\\n \\r\\n \\r\\n ---\\r\\n \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/group-memberships/user-group-memberships.html\n// module id = 1767\n// module chunks = 0","import get from 'lodash/get';\r\nimport { setDirtyForm } from 'app/actions/dirty-forms.actions';\r\nimport { applySessionData } from 'auth/actions/session.actions';\r\nimport { fetchTrustedDevices, deleteTrustedDevice } from 'user/actions/trusted-devices.actions';\r\nimport { fetchUserSecurityQuestions, saveUserData } from 'user/resources/user.api';\r\nimport myAccountTemplate from './my-account.html';\r\nimport emailChangeModalTpl from './views/email-change-confirm-modal.html';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, trustedDevices, config } = state;\r\n const { id, loginAs, retailer, lastName, userClass, firstName, mobilePhone, emailAddress, contactPhone, retailerGroups } = session;\r\n const { uses2FA } = config;\r\n\r\n const user = {\r\n id,\r\n lastName,\r\n firstName,\r\n userClass,\r\n mobilePhone,\r\n contactPhone,\r\n retailerGroups,\r\n email: emailAddress,\r\n confirmEmail: emailAddress,\r\n ownerUserId: retailer.ownerId,\r\n };\r\n\r\n return {\r\n user,\r\n uses2FA,\r\n loginAs,\r\n trustedDevices,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n setDirtyForm,\r\n fetchTrustedDevices,\r\n deleteTrustedDevice,\r\n applySessionData,\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', 'gettextCatalog', 'Notifications')\r\nclass MyAccountController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n this.saveUserData = saveUserData;\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = 'myAccount';\r\n\r\n const [question1, question2] = await fetchUserSecurityQuestions(this.user.id);\r\n if (this.uses2FA) await this.fetchTrustedDevices();\r\n\r\n this.userModel = {\r\n ...this.user,\r\n password: null,\r\n securityQuestions: [\r\n {\r\n questionId: question1.questionId,\r\n },\r\n {\r\n questionId: question2.questionId,\r\n },\r\n ],\r\n };\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async submitConfirm() {\r\n try {\r\n await this.checkIfEmailChanged();\r\n await this.saveUserData(this.userModel);\r\n\r\n const { password, confirmPassword, confirmEmail, securityQuestions, ...user } = this.userModel;\r\n this.setDirtyForm(this.DIRTY_FORM, false);\r\n this.applyUserSession(user);\r\n\r\n this.showSuccessNotification();\r\n } catch (err) {\r\n const error = get(err, 'data.errors[0]');\r\n // eslint-disable-next-line no-console\r\n console.error('MY_ACCOUNT:', error.code, error);\r\n }\r\n }\r\n\r\n applyUserSession(user) {\r\n const { firstName, lastName, mobilePhone, contactPhone, email: emailAddress } = user;\r\n const userSession = { firstName, lastName, mobilePhone, contactPhone, emailAddress };\r\n this.applySessionData(userSession);\r\n }\r\n\r\n showSuccessNotification() {\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('You have successfully updated your profile.')\r\n );\r\n }\r\n\r\n checkIfEmailChanged() {\r\n return this.user.email !== this.userModel.email\r\n ? this.Notifications.showComplexDialog({\r\n template: emailChangeModalTpl,\r\n }).result\r\n : Promise.resolve(true);\r\n }\r\n}\r\n\r\nexport default class MyAccountComponent {\r\n constructor() {\r\n this.template = myAccountTemplate;\r\n this.controller = MyAccountController;\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/my-account/my-account-component.js","import * as api from '../resources/user.api';\r\nimport actionTypes from './trusted-devices.action-types';\r\n\r\nexport const fetchTrustedDevicesRequest = () => ({\r\n type: actionTypes.FETCH_TRUSTED_DEVICES_REQUEST,\r\n});\r\n\r\nexport const fetchTrustedDevicesSuccess = (devices) => ({\r\n type: actionTypes.FETCH_TRUSTED_DEVICES_SUCCESS,\r\n devices,\r\n});\r\n\r\nexport const fetchTrustedDevicesFailure = () => ({\r\n type: actionTypes.FETCH_TRUSTED_DEVICES_FAILURE,\r\n});\r\n\r\nexport const fetchTrustedDevices = () => async (dispatch) => {\r\n try {\r\n dispatch(fetchTrustedDevicesRequest());\r\n const devices = await api.fetchTrustedDevices();\r\n dispatch(fetchTrustedDevicesSuccess(devices));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('FETCH_TRUSTED_DEVICES', error);\r\n dispatch(fetchTrustedDevicesFailure());\r\n }\r\n};\r\n\r\nexport const deleteTrustedDeviceRequest = () => ({\r\n type: actionTypes.DELETE_TRUSTED_DEVICE_REQUEST,\r\n});\r\n\r\nexport const deleteTrustedDeviceSuccess = (uuid) => ({\r\n type: actionTypes.DELETE_TRUSTED_DEVICE_SUCCESS,\r\n uuid,\r\n});\r\n\r\nexport const deleteTrustedDeviceFailure = () => ({\r\n type: actionTypes.DELETE_TRUSTED_DEVICE_FAILURE,\r\n});\r\n\r\nexport const deleteTrustedDevice = (uuid) => async (dispatch) => {\r\n try {\r\n dispatch(deleteTrustedDeviceRequest());\r\n await api.deleteTrustedDevice(uuid);\r\n dispatch(deleteTrustedDeviceSuccess(uuid));\r\n } catch (error) {\r\n // eslint-disable-next-line no-console\r\n console.error('DELETE_TRUSTED_DEVICE', error);\r\n dispatch(deleteTrustedDeviceFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/trusted-devices.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n Trusted Devices\\r\\n \\r\\n
    \\r\\n
    \\r\\n 0\\\">\\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n {{ device.device }}\\r\\n \\r\\n \\r\\n {{ device.browser}}\\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n Device id:\\r\\n \\r\\n \\r\\n {{ device.uuid }}\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Deactivate\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n You did not add any trusted device yet.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/my-account/my-account.html\n// module id = 1770\n// module chunks = 0","module.exports = \"
    \\r\\n

    \\r\\n E-mail address was changed\\r\\n

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n Your e-mail address was changed. Are you sure you want to make that change? Your new e-mail address will be from now on your new username.\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Ok\\r\\n \\r\\n \\r\\n
    \";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/my-account/views/email-change-confirm-modal.html\n// module id = 1771\n// module chunks = 0","import * as api from 'security/resources/security.api';\r\nimport myAccountConfirmTemplate from './my-account-form.html';\r\n\r\nconst MODE_EDIT = 'edit';\r\nconst MODE_CONFIRM = 'confirm';\r\nconst DIRTY_FORM = 'myAccount';\r\n\r\nconst mapStateToThis = ({ session, config }) => {\r\n const { isAdmin, locale } = session;\r\n const { phoneMask, phoneLength, maxFirstNameLength, maxLastNameLength, maxEmailLength, passwordErrorText } = config;\r\n const passwordRequirementText = passwordErrorText ? passwordErrorText[locale] : '';\r\n\r\n return {\r\n locale,\r\n isAdmin,\r\n phoneMask,\r\n phoneLength,\r\n maxFirstNameLength,\r\n maxLastNameLength,\r\n maxEmailLength,\r\n passwordRequirementText,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state')\r\nclass MyAccountFormController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.DIRTY_FORM = DIRTY_FORM;\r\n this.initializeConfiguration();\r\n this.securityQuestions = await api.fetchSecurityQuestions();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n initializeConfiguration() {\r\n this.securityAnswerPlaceholder = ['••••••••', '••••••••'];\r\n this.mode = MODE_EDIT;\r\n }\r\n\r\n submit(form) {\r\n form.$setSubmitted();\r\n if (form.$invalid) {\r\n return;\r\n }\r\n\r\n this.setConfirmMode();\r\n }\r\n\r\n handleUserConfirmation(form) {\r\n this.submitConfirm().then(() => {\r\n this.setEditMode();\r\n this.resetForm(form);\r\n });\r\n }\r\n\r\n resetForm(form) {\r\n form.$setPristine();\r\n form.$setUntouched();\r\n this.user.password = undefined;\r\n this.user.confirmPassword = undefined;\r\n }\r\n\r\n isEditMode() {\r\n return this.mode === MODE_EDIT;\r\n }\r\n\r\n isConfirmMode() {\r\n return this.mode === MODE_CONFIRM;\r\n }\r\n\r\n setEditMode() {\r\n this.mode = MODE_EDIT;\r\n }\r\n\r\n setConfirmMode() {\r\n this.mode = MODE_CONFIRM;\r\n }\r\n\r\n onPasswordChange() {\r\n this.user.confirmPassword = '';\r\n }\r\n\r\n onSecurityQuestionChange(id) {\r\n this.user.securityQuestions[id].answer = '';\r\n this.securityAnswerPlaceholder[id] = '';\r\n }\r\n\r\n cancel() {\r\n this.$state.go(this.$state.previous);\r\n }\r\n}\r\n\r\nexport default class MyAccountFormComponent {\r\n constructor() {\r\n this.template = myAccountConfirmTemplate;\r\n this.controller = MyAccountFormController;\r\n this.bindings = {\r\n user: '<',\r\n submitConfirm: '&',\r\n };\r\n return this;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/my-account/components/form/my-account-form-component.js","module.exports = \"
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Personal Information\\r\\n \\r\\n

    \\r\\n \\r\\n We ask for your mobile phone number to send log in credentials by SMS if needed.\\r\\n \\r\\n

    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n First name shouldn’t be longer than {{ $ctrl.maxFirstNameLength }} characters.\\r\\n \\r\\n \\r\\n Please enter your first name.\\r\\n \\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Last name shouldn’t be longer than {{$ctrl.maxLastNameLength}} characters.\\r\\n \\r\\n \\r\\n Please enter your last name.\\r\\n \\r\\n \\r\\n Only letters, hyphens, apostrophes, periods, and spaces are allowed.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n \\r\\n \\r\\n Please enter your email address.\\r\\n \\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Email shouldn’t be longer than {{$ctrl.maxEmailLength}} characters.\\r\\n
    \\r\\n \\r\\n Please enter your email address.\\r\\n \\r\\n \\r\\n Email format is incorrect. Please enter valid email address.\\r\\n \\r\\n \\r\\n Your email addresses do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please provide {{ $ctrl.phoneLength }}-digit mobile phone number.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please provide {{ $ctrl.phoneLength }}-digit business phone number.\\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n Security Information\\r\\n \\r\\n\\r\\n

    {{ $ctrl.passwordRequirementText }}

    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    {{$ctrl.passwordRequirementText}}
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n The passwords you entered do not match.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n Security Question 1\\r\\n \\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{item.question}}\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please select Security Question 1.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please answer Security Question.\\r\\n
    \\r\\n
    Answer to Security Question cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n Security Question 2\\r\\n \\r\\n *\\r\\n \\r\\n \\r\\n \\r\\n {{item.question}}\\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n Please answer Security Question 2.\\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n Please answer Security Question.\\r\\n
    \\r\\n
    Answer to Security Question cannot contain only spaces.\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n Back\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Confirm\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n Save\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/my-account/components/form/my-account-form.html\n// module id = 1773\n// module chunks = 0","import angular from 'angular';\r\n\r\nimport roles from 'app/validators/roles';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { bulkUpdate } from 'user/resources/users.api';\r\n\r\nimport { checkAccess } from 'app/actions/app.actions';\r\nimport { downloadUsersReport, fetchUsers } from 'user/actions/users.actions';\r\nimport { fetchUnreadMessagesCount } from 'message/actions/unread-count.actions';\r\nimport { fetchUserClassDictionary } from 'app/actions/dictionaries/user-class-dictionary.actions';\r\nimport { fetchUserTemplatesDictionary } from 'app/actions/dictionaries/user-templates-dictionary.actions';\r\nimport { fetchOutletTypesDictionary } from 'app/actions/dictionaries/outlet-types-dictionary.actions';\r\nimport template from './manage-users.html';\r\n\r\nconst DOWNLOAD_OPTIONS = [\r\n {\r\n label: 'CSV',\r\n extension: 'csv',\r\n },\r\n];\r\n\r\nconst mapStateToThis = ({ session, users, config, dictionary }) => {\r\n const { locale, isAdmin, retailer } = session;\r\n const { userClass, userTemplates, outletTypes } = dictionary;\r\n const { items, pagination, isLoading } = users;\r\n const { sortColumnKey, directionKey, pageSizeKey, defaultPageSizes } = config;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n locale,\r\n session,\r\n pagination,\r\n isLoading,\r\n isAdmin,\r\n isChainHead: retailer.isChainHead,\r\n isSuperChain: retailer.isSuperChain,\r\n templates: userTemplates,\r\n userClass,\r\n users: items,\r\n sortColumnKey,\r\n directionKey,\r\n pageSizeKey,\r\n defaultPageSizes,\r\n outletTypes,\r\n terms,\r\n };\r\n};\r\n\r\nconst mapDispatchToThis = {\r\n fetchUsers,\r\n downloadUsersReport,\r\n checkAccess,\r\n fetchUnreadMessagesCount,\r\n fetchUserClassDictionary,\r\n fetchUserTemplatesDictionary,\r\n fetchOutletTypesDictionary,\r\n};\r\n\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', 'Notifications')\r\nclass ManageUsersController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, mapDispatchToThis)(this);\r\n }\r\n\r\n $onInit() {\r\n this.bulkUpdate = bulkUpdate.bind(this);\r\n this.canBulkChangeRole = this.checkAccess('user.bulkChangeRole');\r\n this.downloadOptions = DOWNLOAD_OPTIONS;\r\n this.canSeeRetailerNo = this.isAdmin || this.isSuperChain || this.isChainHead;\r\n\r\n this.actions = this.getActions();\r\n this.initSelectionParameters();\r\n this.initTable();\r\n this.fetchUnreadMessagesCount();\r\n this.fetchOutletTypesDictionary();\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n async initTable() {\r\n this.headers = this.getHeaders();\r\n this.defaultParams = {\r\n [this.sortColumnKey]: 'contact.lastName',\r\n [this.directionKey]: true,\r\n [this.pageSizeKey]: this.defaultPageSizes[2],\r\n };\r\n this.gridModel = initGrid(this.fetchUsers, this.defaultParams);\r\n\r\n const viewType = this.isAdmin ? 'all' : ['RETAILER_SECONDARY', 'RETAILER_PRIMARY'];\r\n Promise.all([this.fetchUserTemplatesDictionary(viewType), this.fetchUserClassDictionary()]).then(() => {\r\n this.search();\r\n });\r\n }\r\n\r\n initSelectionParameters() {\r\n this.selected = [];\r\n this.excluded = [];\r\n this.selectedAll = false;\r\n this.selectedTemplate = false;\r\n this.selectedUsersCount = 0;\r\n this.selectedUserClass = false;\r\n this.isUserClassFilterSelected = false;\r\n this.indeterminateChecbox = false;\r\n this.preservedFilters = {};\r\n }\r\n\r\n clearFilter() {\r\n this.gridModel = initGrid(this.fetchUsers, this.defaultParams);\r\n this.initSelectionParameters();\r\n return this.search();\r\n }\r\n\r\n async search() {\r\n this.initSelectionParameters();\r\n\r\n await this.gridModel.applyFilters();\r\n this.isUserClassFilterSelected = this.gridModel.pagingModel.filters.userClass;\r\n this.selectedUserClass = this.isUserClassFilterSelected;\r\n this.preservedFilters = { ...this.gridModel.pagingModel.filters };\r\n this.preservedPagingModel = { ...this.gridModel.pagingModel, filters: this.preservedFilters };\r\n\r\n if (this.isUserClassFilterSelected && this.selectedAll) {\r\n this.selected = this.users.map((user) => user.id);\r\n }\r\n }\r\n\r\n getHeaders() {\r\n let headers = [\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'contact.lastName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer No.'),\r\n field: 'retailers.retailerId',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Retailer Type'),\r\n field: 'outletType',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Email'),\r\n field: 'username',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Mobile Phone'),\r\n field: 'contact.mobilePhone',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('User Class'),\r\n field: 'userClass',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Role'),\r\n field: 'templateId',\r\n sortable: false,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('System Access'),\r\n field: 'status.statusCode',\r\n sortable: true,\r\n textAlignment: 'text-right',\r\n },\r\n ];\r\n\r\n if (!this.canSeeRetailerNo) {\r\n headers = headers.filter((header) => header.field !== 'retailers.retailerId');\r\n }\r\n\r\n return headers;\r\n }\r\n\r\n onDownloadReport(extension) {\r\n return this.downloadUsersReport({\r\n extension,\r\n ...this.gridModel.pagingModel,\r\n pageSize: 0, // Forces BE to export the entire data set\r\n });\r\n }\r\n\r\n toggleSelectAll() {\r\n this.selectedAll = !this.selectedAll;\r\n\r\n if (!this.selectedAll) {\r\n this.selected = [];\r\n this.excluded = [];\r\n }\r\n\r\n if (this.selectedAll) {\r\n this.selected = this.users.map((user) => user.id).filter((id) => !this.excluded.includes(id));\r\n }\r\n\r\n this.calculateSelectedUsersCount();\r\n this.setIndeterminateChecboxStatus();\r\n }\r\n\r\n displayNotification() {\r\n this.Notifications.alertError(this.gettextCatalog.getString('To select all first use the User Class filter.'));\r\n }\r\n\r\n deselectAll() {\r\n this.selectedAll = false;\r\n this.selected = [];\r\n this.excluded = [];\r\n this.selectedUserClass = false;\r\n this.selectedTemplate = false;\r\n this.indeterminateChecbox = false;\r\n }\r\n\r\n select(userData) {\r\n const isAlreadySelected = this.selected.find((id) => id === userData.id);\r\n const hasPagination = this.pagination.pagesCount > 1;\r\n\r\n if (!isAlreadySelected) {\r\n this.selected = [...this.selected, ...[userData.id]];\r\n this.calculateExcludedUserIds(userData.id);\r\n }\r\n\r\n if (isAlreadySelected) {\r\n const selectedIds = this.selected.filter((id) => id !== userData.id);\r\n this.selected = [...selectedIds];\r\n this.calculateExcludedUserIds(userData.id);\r\n }\r\n\r\n if (!hasPagination && this.selected.length === this.users.length) {\r\n this.selectedAll = true;\r\n this.excluded = [];\r\n }\r\n\r\n if (!hasPagination && this.selected.length === 0) {\r\n this.selectedAll = false;\r\n this.excluded = [];\r\n }\r\n\r\n this.setUserClassAccordingToSelectedUserEntity(userData.userClass);\r\n this.calculateSelectedUsersCount();\r\n this.setIndeterminateChecboxStatus();\r\n }\r\n\r\n setUserClassAccordingToSelectedUserEntity(userClass) {\r\n if (this.isUserClassFilterSelected) return;\r\n\r\n this.selectedUserClass = this.selected.length ? userClass : false;\r\n }\r\n\r\n calculateExcludedUserIds(id) {\r\n if (!this.selectedAll) {\r\n this.excluded = [];\r\n return;\r\n }\r\n\r\n const isAlreadyExcluded = this.excluded.find((excludedId) => excludedId === id);\r\n\r\n if (!isAlreadyExcluded) {\r\n this.excluded = [...this.excluded, ...[id]];\r\n }\r\n\r\n if (isAlreadyExcluded) {\r\n const excludedIds = this.excluded.filter((excludedId) => excludedId !== id);\r\n this.excluded = [...excludedIds];\r\n }\r\n }\r\n\r\n isDisabled(userClass) {\r\n const isPrimaryUserType = roles.PRIMARY_USER_ROLES.includes(userClass);\r\n const hasDifferentUserClassTheSelected = this.selectedUserClass && this.selectedUserClass !== userClass;\r\n\r\n return isPrimaryUserType || hasDifferentUserClassTheSelected;\r\n }\r\n\r\n isChecked(userData) {\r\n if (this.selectedAll) {\r\n return !this.excluded.includes(userData.id);\r\n }\r\n\r\n return this.selected.find((id) => id === userData.id);\r\n }\r\n\r\n async onChangeRoles() {\r\n const templateId = this.selectedTemplate.id;\r\n const searchParams = this.preservedFilters || {};\r\n const selectedUsers = this.selectedAll ? [] : this.selected;\r\n const excludedUsers = this.selectedAll ? this.excluded : [];\r\n const filters = {\r\n ...this.preservedFilters,\r\n };\r\n\r\n const { updatedCount } = await this.bulkUpdate({\r\n templateId,\r\n searchParams,\r\n selectedUsers,\r\n excludedUsers,\r\n });\r\n\r\n if (updatedCount > 0) {\r\n this.gridModel = initGrid(this.fetchUsers, { ...this.defaultParams, filters });\r\n this.search();\r\n }\r\n }\r\n\r\n isPrimaryUserRole(userClass) {\r\n return roles.PRIMARY_USER_ROLES.includes(userClass);\r\n }\r\n\r\n calculateSelectedUsersCount() {\r\n if (this.selectedAll) {\r\n this.selectedUsersCount = this.pagination.count - this.excluded.length;\r\n return;\r\n }\r\n\r\n this.selectedUsersCount = this.selected.length;\r\n }\r\n\r\n setIndeterminateChecboxStatus() {\r\n const isExcludedUserSelected = !!this.excluded.length;\r\n const isSomeoneSelected = !!this.selected.length;\r\n const isSelectedLessThanMaxUserCount = this.selectedUsersCount < this.pagination.count;\r\n\r\n this.indeterminateChecbox = (isSomeoneSelected && isSelectedLessThanMaxUserCount) || isExcludedUserSelected;\r\n }\r\n\r\n goToCreateAccount() {\r\n this.$state.go('user-createAccount');\r\n }\r\n\r\n goToCreateSecondaryUserAccount() {\r\n this.$state.go('user-createSecondaryUserAccount');\r\n }\r\n\r\n getActions() {\r\n return [\r\n {\r\n type: 'link',\r\n function: this.goToCreateAccount.bind(this),\r\n label: this.gettextCatalog.getString('Create User'),\r\n isAvailable: this.canCreateUser,\r\n },\r\n {\r\n type: 'link',\r\n function: this.goToCreateSecondaryUserAccount.bind(this),\r\n label: this.gettextCatalog.getString('Create User'),\r\n isAvailable: this.canCreateSecondary,\r\n },\r\n {\r\n type: 'download',\r\n function: this.onDownloadReport.bind(this),\r\n extension: 'csv',\r\n isAvailable: this.isAdmin,\r\n },\r\n ].filter(({ isAvailable }) => isAvailable === true);\r\n }\r\n}\r\n\r\nclass ManageUsersComponent {\r\n constructor() {\r\n this.template = template;\r\n this.controller = ManageUsersController;\r\n this.bindings = {\r\n model: '<',\r\n searchUser: '<',\r\n canCreateUser: '<',\r\n canCreateSecondary: '<',\r\n api: '<',\r\n };\r\n }\r\n}\r\n\r\nexport default angular.module('manage-users', []).component('manageUsers', new ManageUsersComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/manage-users/manage-users-component.js","import { evalMeta } from 'utils/grid/grid';\r\nimport actionTypes from './users.action-types';\r\nimport * as api from '../resources/users.api';\r\n\r\nexport const fetchUsersRequest = () => ({\r\n type: actionTypes.FETCH_USERS_REQUEST,\r\n isLoading: true,\r\n});\r\n\r\nexport const fetchUsersFailure = () => ({\r\n type: actionTypes.FETCH_USERS_FAILURE,\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchUsersSuccess = ({ content, ...pagination }) => ({\r\n type: actionTypes.FETCH_USERS_SUCCESS,\r\n content,\r\n pagination: evalMeta(pagination),\r\n isLoading: false,\r\n});\r\n\r\nexport const fetchUsers = (params) => async (dispatch, getStore) => {\r\n const { session } = getStore();\r\n const { lotteryRepId, id, retailer, locale } = session;\r\n const config = {\r\n ...params,\r\n locale,\r\n userId: lotteryRepId ? null : id,\r\n currentRetailer: retailer.retailerId || null,\r\n };\r\n\r\n dispatch(fetchUsersRequest());\r\n\r\n try {\r\n const result = await api.fetchUsers(config);\r\n dispatch(fetchUsersSuccess(result));\r\n } catch (error) {\r\n dispatch(fetchUsersFailure());\r\n console.error('FETCH_USERS', error);\r\n }\r\n};\r\n\r\nexport const downloadUsersReportRequest = () => ({\r\n type: actionTypes.DOWNLOAD_USERS_REPORT_REQUEST,\r\n});\r\n\r\nexport const downloadUsersReportFailure = () => ({\r\n type: actionTypes.DOWNLOAD_USERS_REPORT_FAILURE,\r\n});\r\n\r\nexport const downloadUsersReportSuccess = () => ({\r\n type: actionTypes.DOWNLOAD_USERS_REPORT_SUCCESS,\r\n});\r\n\r\nexport const downloadUsersReport =\r\n ({ extension, ...params }) =>\r\n (dispatch, getState) => {\r\n const { session } = getState();\r\n const { lotteryRepId } = session;\r\n\r\n const config = {\r\n lotteryRepId,\r\n extension,\r\n ...params,\r\n };\r\n\r\n try {\r\n dispatch(downloadUsersReportRequest());\r\n dispatch(downloadUsersReportSuccess());\r\n return api.downloadUsersReport(config);\r\n } catch (error) {\r\n dispatch(downloadUsersReportFailure());\r\n console.error('DOWNLOAD_USERS_REPORT', error);\r\n }\r\n };\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/actions/users.actions.js","import { flatten } from 'lodash';\r\nimport * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchUserTemplatesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchUserTemplatesDictionarySuccess = (templates) => ({\r\n type: actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_SUCCESS,\r\n templates,\r\n});\r\n\r\nexport const fetchUserTemplatesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_USER_TEMPLATES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchUserTemplatesDictionary = (viewType) => async (dispatch) => {\r\n try {\r\n dispatch(fetchUserTemplatesDictionaryRequest());\r\n\r\n let allTemplates;\r\n if (Array.isArray(viewType)) {\r\n const promises = viewType.map(async (v) => api.fetchUserTemplatesDictionary(v));\r\n const templates = await Promise.all(promises);\r\n templates.forEach((item) => {\r\n allTemplates = { ...allTemplates, ...item };\r\n });\r\n } else {\r\n allTemplates = await api.fetchUserTemplatesDictionary(viewType);\r\n }\r\n dispatch(fetchUserTemplatesDictionarySuccess(allTemplates));\r\n } catch (error) {\r\n console.error('USER_TEMPLATES_DICTIONARY', error);\r\n dispatch(fetchUserTemplatesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/user-templates-dictionary.actions.js","import * as api from '../../resources/dictionaries.api';\r\nimport actionTypes from './dictionaries.action-types';\r\n\r\nexport const fetchOutletTypesDictionaryRequest = () => ({\r\n type: actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_REQUEST,\r\n});\r\n\r\nexport const fetchOutletTypesDictionarySuccess = (outletTypes) => ({\r\n type: actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_SUCCESS,\r\n outletTypes,\r\n});\r\n\r\nexport const fetchOutletTypesDictionaryFailure = () => ({\r\n type: actionTypes.FETCH_OUTLET_TYPES_DICTIONARY_FAILURE,\r\n});\r\n\r\nexport const fetchOutletTypesDictionary = () => async (dispatch, getState) => {\r\n const { session } = getState();\r\n const { locale } = session;\r\n\r\n try {\r\n dispatch(fetchOutletTypesDictionaryRequest());\r\n\r\n const outletTypes = await api.fetchOutletTypesDictionary(locale);\r\n dispatch(fetchOutletTypesDictionarySuccess(outletTypes));\r\n } catch (error) {\r\n console.error('OUTLET_TYPES_DICTIONARY', error);\r\n dispatch(fetchOutletTypesDictionaryFailure());\r\n }\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/app/actions/dictionaries/outlet-types-dictionary.actions.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Create User\\r\\n \\r\\n \\r\\n \\r\\n Create User\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Download\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n User Class\\r\\n \\r\\n \\r\\n \\r\\n {{ class }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n Role\\r\\n \\r\\n \\r\\n \\r\\n {{ template[$ctrl.locale].name }}\\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n Retailer Type\\r\\n \\r\\n \\r\\n \\r\\n {{ outletType }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ user.contact.lastName }}, {{ user.contact.firstName }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n {{ $ctrl.outletTypes[user.primaryRetailer.retailerType] }}\\r\\n \\r\\n \\r\\n \\r\\n {{ user.username }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ $ctrl.templates[user.templateId][$ctrl.locale].name }}\\r\\n \\r\\n\\r\\n \\r\\n n/a\\r\\n \\r\\n\\r\\n \\r\\n (customized)\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ active }}\\r\\n \\r\\n \\r\\n {{ inactive }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n
    {{ user.username }}
    \\r\\n
    \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n {{ $ctrl.templates[user.templateId][$ctrl.locale].name }}\\r\\n \\r\\n\\r\\n \\r\\n n/a\\r\\n \\r\\n\\r\\n \\r\\n (customized)\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n \\r\\n {{ active }}\\r\\n \\r\\n \\r\\n {{ inactive }}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n {{ $ctrl.outletTypes[user.primaryRetailer.retailerType] }}\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Cancel\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n Submit\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/manage-users/manage-users.html\n// module id = 1778\n// module chunks = 0","import angular from 'angular';\r\nimport _ from 'lodash';\r\nimport roles from 'app/validators/roles';\r\nimport { getDisplayUserNameSelector } from 'selectors';\r\nimport * as api from 'user/resources/linked-retailers.api';\r\nimport editAccountTemplate from './edit-account.html';\r\nimport AccountDetailsModule from './components/account-details/account-details-module';\r\nimport AccountStatusModule from './components/account-status/account-status-module';\r\nimport AccountRetailersModule from './components/account-retailers/account-retailers-module';\r\n\r\nconst mapStateToThis = (state) => {\r\n const { session, dictionary } = state;\r\n const displayUserName = getDisplayUserNameSelector(state);\r\n const { locale, isAdmin } = session;\r\n const terms = dictionary.terms[locale];\r\n\r\n return {\r\n displayUserName,\r\n session,\r\n terms,\r\n isAdmin,\r\n };\r\n};\r\n\r\n// eslint-disable-next-line no-undef\r\n@Inject('$ngRedux', '$state', 'gettextCatalog', '$timeout', '$stateParams', 'Notifications', 'Responsive')\r\nclass EditAccountMainController {\r\n constructor() {\r\n this.unsubscribe = this.$ngRedux.connect(mapStateToThis, null)(this);\r\n }\r\n\r\n async $onInit() {\r\n this.hasLinkedRetailers = this.isUserSecondary() && (await api.hasLinkedRetailers());\r\n this.activeTabIdx = this.$stateParams.tabId * 1 || 0;\r\n this.retailerId = _.get(this, '$state.params.retailerId');\r\n this.userModel = _.cloneDeep(this.model.user.editAccount);\r\n this.setPageTitle();\r\n this.checkUserEditHimself();\r\n this.isLoading = false;\r\n }\r\n\r\n $onDestroy() {\r\n this.unsubscribe();\r\n }\r\n\r\n setPageTitle() {\r\n this.$state.params.pageTitle = `${this.gettextCatalog.getString('User')} - ${this.userModel.contact.firstName} ${\r\n this.userModel.contact.lastName\r\n }`;\r\n }\r\n\r\n checkUserEditHimself() {\r\n this.userId = _.get(this, '$state.params.id') * 1;\r\n this.sessionUserId = _.get(this, 'session.id') * 1;\r\n if (this.userId === this.sessionUserId) {\r\n this.api.canEditAccountDetails = false;\r\n }\r\n }\r\n\r\n reloadView() {\r\n return this.$state.go('user-viewAccountDetails', { tabId: 0, skipDirtyForms: true }, { reload: true });\r\n }\r\n\r\n goToManageUsers() {\r\n return this.$state.go('user-manageUsers', { skipDirtyForms: true });\r\n }\r\n\r\n setOnDeselect(handler) {\r\n this.onDeselect = handler;\r\n }\r\n\r\n cancelStatus() {\r\n this.model.user.editAccount.status = this.userModel.status;\r\n }\r\n\r\n onActivate() {\r\n return this.api.activate.run(this.model.user.editAccount).then(() =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account activated'),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n this.gettextCatalog.getString('Success! User Access changed to {{ active }}.', { active: this.terms.ACTIVE.singular })\r\n )\r\n );\r\n }\r\n\r\n onSuspend() {\r\n return this.api.suspend.run(this.model.user.editAccount).then(() =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account deactivated'),\r\n /// {{ inactive }} is Lottery term using to determine User status.\r\n this.gettextCatalog.getString('Success! User Access changed to {{ inactive }}.', { inactive: this.terms.INACTIVE.singular })\r\n )\r\n );\r\n }\r\n\r\n onUpdatePersonalData() {\r\n return this.api.updatePersonalData\r\n .run(this.model.user.editAccount)\r\n .then(() => {\r\n this.userModel = _.cloneDeep(this.model.user.editAccount);\r\n this.setPageTitle();\r\n })\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('User account updated successfully')));\r\n }\r\n\r\n onAuthenticateUser(template) {\r\n if (!this.session.isAdmin) {\r\n return this.onActivate(template);\r\n }\r\n this.Notifications.showComplexDialog({\r\n template,\r\n resolve: {\r\n userName: () => this.model.user.editAccount.username,\r\n },\r\n }).result.then(() =>\r\n this.api.authenticateUser\r\n .run(this.model.user.editAccount)\r\n .then(\r\n () =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account authenticated'),\r\n /// {{ active }} is Lottery term using to determine User status.\r\n this.gettextCatalog.getString('Success! User Access changed to {{ active }}.', { active: this.terms.ACTIVE.singular })\r\n ).result\r\n )\r\n .then(() => this.reloadView())\r\n .then(() => Promise.resolve(this.model))\r\n );\r\n }\r\n\r\n viewAsThisUser() {\r\n this.isLoading = true;\r\n const credentials = { userId: this.userModel.id };\r\n const restUrl = this.session.rest.oauth.loginAs.url;\r\n const registrationForm = true;\r\n const loginAs = true;\r\n const acceptTerms = true;\r\n const tokens = undefined;\r\n const impersonatingDisplayName = this.displayUserName;\r\n const adminId = this.session.isAdmin ? this.session.id : null;\r\n\r\n return this.api.loginByRest\r\n .run(credentials, restUrl, acceptTerms, registrationForm, loginAs, tokens, impersonatingDisplayName, adminId)\r\n .then((newModel) => {\r\n this.confirm(newModel);\r\n this.isLoading = false;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n this.close();\r\n this.isLoading = false;\r\n });\r\n }\r\n\r\n onLoginAs(template) {\r\n this.Notifications.showComplexDialog({\r\n template,\r\n resolve: {\r\n api: () => this.api,\r\n model: () => this.model,\r\n session: () => this.session,\r\n userModel: () => this.userModel,\r\n displayUserName: () => this.displayUserName,\r\n viewAsThisUser: () => this.viewAsThisUser,\r\n },\r\n })\r\n .result.then((newModel) => this.api.redirectAfterLogin(newModel))\r\n .then(() => {\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Success!'),\r\n this.gettextCatalog.getString('You have been logged in as user: {{name}}.', { name: this.userModel.contact.emailAddress })\r\n );\r\n });\r\n }\r\n\r\n onResendActivationEmail() {\r\n const authenticateText = this.gettextCatalog.getString(\r\n 'If the user has trouble activating their account, you may do it for them through the ‘More Actions’ button on their page.'\r\n );\r\n this.api.resendActivationEmail.run(this.userModel).then(() =>\r\n this.Notifications.showAlert(\r\n this.gettextCatalog.getString('Account activation email has been sent to {{name}}', {\r\n name: this.userModel.contact.emailAddress,\r\n }),\r\n this.api.canAuthenticateUser ? authenticateText : ''\r\n )\r\n );\r\n }\r\n\r\n onUpdateUserPrivileges(user) {\r\n this.api.updateUserPrivileges\r\n .run(user)\r\n .then(() => this.Notifications.alertSuccess(this.gettextCatalog.getString('User privileges updated successfully')));\r\n }\r\n\r\n deleteUser() {\r\n this.api.deleteUser\r\n .run(this.model)\r\n .then((newModel) => {\r\n this.confirm(newModel);\r\n })\r\n .catch(() => this.confirm());\r\n }\r\n\r\n onDeleteUser(template) {\r\n this.Notifications.showComplexDialog({\r\n template,\r\n resolve: {\r\n userName: () => this.model.user.editAccount.username,\r\n deleteUser: () => this.deleteUser,\r\n api: () => this.api,\r\n $state: () => this.$state,\r\n goToManageUsers: () => this.goToManageUsers,\r\n },\r\n }).result.then(() => this.goToManageUsers());\r\n }\r\n\r\n isUserSecondary() {\r\n return roles.SECONDARY_USER_ROLES.indexOf(this.model.user.editAccount.userClass) !== -1;\r\n }\r\n}\r\n\r\nclass EditAccountMainComponent {\r\n constructor() {\r\n this.template = editAccountTemplate;\r\n this.controller = EditAccountMainController;\r\n this.bindings = {\r\n model: '<',\r\n api: '<',\r\n };\r\n return this;\r\n }\r\n}\r\n\r\nexport default angular\r\n .module('edit-account', [AccountStatusModule.name, AccountDetailsModule.name, AccountRetailersModule.name])\r\n .component('editAccountMain', new EditAccountMainComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/edit-account/edit-account-component.js","module.exports = \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/user/components/edit-account/edit-account.html\n// module id = 1780\n// module chunks = 0","import angular from 'angular';\r\nimport userGroupMemberships from 'user/components/group-memberships/user-group-memberships-module';\r\nimport retailerGroupsExistingUserField from 'retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-module';\r\nimport AccountDetailsComponent from './account-details-component';\r\n\r\nexport default angular\r\n .module('account-details', [\r\n userGroupMemberships.name,\r\n retailerGroupsExistingUserField.name,\r\n ])\r\n .component('accountDetails', new AccountDetailsComponent());\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/components/edit-account/components/account-details/account-details-module.js","import createAccountUserSearchDialogTemplate from './dialog/create-account-user-search-dialog.html';\r\nimport CreateAccountUserSearchDialogController from './dialog/create-account-user-search-dialog-controller';\r\n\r\n@Inject('Notifications')\r\nexport class RetailerGroupsExistingUserFieldController {\r\n constructor() {\r\n if (this.user && this.user.assignedUser) {\r\n this.selectedUser = this.user.assignedUser;\r\n }\r\n }\r\n\r\n showUserSearch() {\r\n this.Notifications.showComplexDialog({\r\n template: createAccountUserSearchDialogTemplate,\r\n controller: CreateAccountUserSearchDialogController,\r\n }).result.then((selectedUser) => {\r\n this.selectedUser = selectedUser;\r\n this.user.ownerUserId = selectedUser.id;\r\n });\r\n }\r\n\r\n clearSelectedUser() {\r\n this.selectedUser = null;\r\n this.user.ownerUserId = null;\r\n this.user.assignedUser = null;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-controller.js","module.exports = \"
    \\r\\n

    \\r\\n Search Users\\r\\n

    \\r\\n
    \\r\\n\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    {{ $ctrl.headers[0].text }}
    \\r\\n
    \\r\\n {{ user.name }}\\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    {{ $ctrl.headers[1].text }}
    \\r\\n
    \\r\\n {{ user.username }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n \\r\\n
    \\r\\n {{ user.name }}\\r\\n
    \\r\\n
    \\r\\n \\r\\n
    {{ user.username }}
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog.html\n// module id = 1783\n// module chunks = 0","import DefaultDialogController from 'utils/notifications/default-dialog-controller';\r\nimport { initGrid } from 'utils/grid/grid';\r\nimport { getUsers } from 'user/user-service';\r\nimport DepsService from 'services/dependencies';\r\n\r\n@Inject('gettextCatalog')\r\nexport default class CreateAccountUserSearchDialogController extends DefaultDialogController {\r\n constructor() {\r\n super();\r\n this.users = {};\r\n this.isLoading = false;\r\n this.selectedUserId = this.selectedUser ? this.selectedUser.id : null;\r\n this.initializeGrid();\r\n this.search();\r\n }\r\n\r\n initializeGrid() {\r\n this.defaultParams = {\r\n [DepsService.config.sortColumnKey]: 'contact.lastName',\r\n [DepsService.config.pageSizeKey]: 10,\r\n };\r\n this.filters = {};\r\n this.headers = [\r\n {\r\n text: '',\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Name'),\r\n field: 'contact.lastName',\r\n sortable: true,\r\n },\r\n {\r\n text: this.gettextCatalog.getString('Email'),\r\n field: 'username',\r\n sortable: true,\r\n isAlignedLeft: true,\r\n },\r\n ];\r\n this.gridModel = initGrid(this.getUsers.bind(this), this.defaultParams);\r\n }\r\n\r\n clearFilters() {\r\n this.initializeGrid();\r\n }\r\n\r\n getUsers(parameters) {\r\n this.isLoading = true;\r\n return getUsers(parameters).then((response) => {\r\n this.isLoading = false;\r\n this.users = response;\r\n });\r\n }\r\n\r\n search() {\r\n this.gridModel.applyFilters();\r\n }\r\n\r\n select(user) {\r\n this.selectedUser = user;\r\n this.selectedUserId = user.id;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/dialog/create-account-user-search-dialog-controller.js","import DepsService from 'services/dependencies';\r\nimport roles from 'app/validators/roles';\r\nimport { evalMeta } from 'utils/grid/grid';\r\n\r\nconst USER_CONTEXT = 'user';\r\nconst NA_VALUE = 'n/a';\r\nconst ACTIVE = 'ACTIVE';\r\n\r\nexport const getUsers = (parameters) => {\r\n const allParameters = {\r\n ...parameters,\r\n statusCode: ACTIVE,\r\n userClass: roles.RETAILER_PRIMARY_ROLE,\r\n };\r\n return DepsService.restSrv.list(USER_CONTEXT, DepsService.rest.user.users.url, allParameters).then((result) => {\r\n const items = (result.content || []).map((user) => {\r\n const retailerId = _.get(user, 'primaryRetailer.retailerId');\r\n _.set(user, 'isActive', user.status && user.status.status === ACTIVE);\r\n _.set(user, 'repeatId', `${retailerId}${user.id}`);\r\n _.set(user, 'name', `${user.contact.lastName} ${user.contact.firstName}`);\r\n _.set(user, 'primaryRetailerId', retailerId || NA_VALUE);\r\n return user;\r\n });\r\n return {\r\n items,\r\n meta: evalMeta(result),\r\n };\r\n });\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/user/user-service.js","import template from './retailer-groups-existing-user-field.html';\r\n\r\nexport default {\r\n template,\r\n require: 'ngModel',\r\n controller: 'RetailerGroupsExistingUserField',\r\n bindings: {\r\n form: '=',\r\n user: '='\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field-component.js","module.exports = \"
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n Search Users\\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n
    \\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/modules/retailer-groups/components/existing-user-field/retailer-groups-existing-user-field.html\n// module id = 1787\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a