{"version":3,"sources":["C:/vsts_agent/_work/24/s/src/app/core/modules/cart/cart-popup.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/wizzard.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nl-be.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bg.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tet.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-nopadding.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isPromise.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/md5.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/pairwise.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/id.js","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mt.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeTo.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-dz.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ss.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ne.js","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.actions.ts","C:/vsts_agent/_work/24/s/node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/rabbit-legacy.js","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hi.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/mergeAll.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pbkdf2.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/throwError.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/te.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sw.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/aes.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/eo.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/catchError.js","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev-button.shared.component.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/identity.js","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-tn.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-iso10126.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gom-latn.js","C:/vsts_agent/_work/24/s/node_modules/@angular/animations/__ivy_ngcc__/fesm2015/browser.js","C:/vsts_agent/_work/24/s/node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/animations.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/concatMap.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Subscriber.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-cfb.js","C:/vsts_agent/_work/24/s/src/app/core/directives/drawCollapse/draw-expand.shared.resolver.ts","C:/vsts_agent/_work/24/s/src/app/core/directives/drawCollapse/draw-collapse.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/empty.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/uk.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lt.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tzm.js","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha1.js","C:/vsts_agent/_work/24/s/src/app/core/services/modals.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ctr.js","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/share.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fa.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/af.js","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fo.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/tap.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isNumeric.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/timer.js","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.interface.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/observeOn.js","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/he.js","C:/vsts_agent/_work/24/s/src/app/core/controllers/appSettings/app-settings.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/cart/cart.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/creditCards/credit-cards.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/historyOrders/history-orders.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/geolocation/geolocation.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/filters/filters.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/loyalty/loyalty.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/locations/locations.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/ingredients/ingredients.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/images/images.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/members/members.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/onlineMenu/online-menu.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/modals/modals.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/menuFlows/menu-flows.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/transactions/transactions.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/routes/routes.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/payment/payment.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/onlineOrders/online-orders.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/controllers.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/wizzard/wizzard.controller.ts","C:/vsts_agent/_work/24/s/src/app/core/controllers/index.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ka.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/de.js","C:/vsts_agent/_work/24/s/src/app/core/components/subNav/sub-nav.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/delay.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isDate.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/BehaviorSubject.js","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.shared.component.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.shared.component.html","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mr.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/se.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/evpkdf.js","C:/vsts_agent/_work/24/s/node_modules/tslib/tslib.es6.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pt.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Scheduler.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.effects.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/distinct.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/iif.js","C:/vsts_agent/_work/24/s/src/app/state/members/members.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/pickupTimeValidate/pickup-time-validate.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.effects.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/takeWhile.js","C:/vsts_agent/_work/24/s/src/app/state/meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/state/dev/dev.meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/state/reset/reset.meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.meta-reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.reducer.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/pickupTimeValidate/pickup-time-validate.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment-demo.effects.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modals.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.state.module.ts","C:/vsts_agent/_work/24/s/src/app/state/state.shared.module.ts","C:/vsts_agent/_work/24/s/src/app/state/index.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bs.js","C:/vsts_agent/_work/24/s/node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hu.js","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/Action.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha3.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/async.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/vi.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tr.js","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isArray.js","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.interface.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.interface.ts","C:/vsts_agent/_work/24/s/src/app/state/interface.ts","C:/vsts_agent/_work/24/s/src/app/core/services/jwt.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/cart.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/app-settings.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/loyalty-app.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/auth.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/session.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/cookie.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/members.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/locations.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/online-menu.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/location-details.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/google-analytics.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/geolocation.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/filters.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/images.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/init.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/venue-images.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/products.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/menu-flows.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/online-orders.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/pickups.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/payments.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/credit-cards.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/paymentProviders/payment-express.payment-provider.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/paymentProviders/card-connect.payment-provider.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/paymentProviders/converge.payment-provider.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/api/v2/apiv-2configuration.ts","C:/vsts_agent/_work/24/s/src/app/core/services/transactions.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/api/v2/base-service.ts","C:/vsts_agent/_work/24/s/src/app/api/v2/services/members.service.ts","C:/vsts_agent/_work/24/s/src/app/core/services/index.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gd.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/es.js","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/from.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isIterable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-ly.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/combineLatest.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/skipWhile.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/config.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-au.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isFunction.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-zeropadding.js","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Observable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/toSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/canReportError.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ug-cn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/take.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/zh-hk.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/multicast.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ky.js","C:/vsts_agent/_work/24/s/src/app/core/services/route.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/cv.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/cs.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sk.js","C:/vsts_agent/_work/24/s/src/app/core/services/crypto.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/animations/fade-in-out.animations.ts","C:/vsts_agent/_work/24/s/src/app/core/animations/index.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/fromEvent.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ecb.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/uz-latn.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/my.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hy-am.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale sync ^\\.\\/.*$","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gl.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/dates.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/arrays.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/colors.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/credit-cards.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/strings.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/numbers.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/devices.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/forms.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/http.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/images.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/inputs.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/pricing.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/spread.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/menu-flows.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/items.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/messages.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/meta.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/mobile-phone.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/objects.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/online-order.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/products.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/storage.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/redirect.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/scroll.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/validators.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/xml.utils.ts","C:/vsts_agent/_work/24/s/src/app/core/utils/index.ts","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sr.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/core.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ga.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/es-us.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/enc-utf16.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pa-in.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/th.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/hr.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/de-at.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/forkJoin.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sr-cyrl.js","C:/vsts_agent/_work/24/s/src/app/core/directives/heightAdjust/height-adjust.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js","C:/vsts_agent/_work/24/s/src/app/core/services/query-params.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha256.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tg.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/rabbit.js","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/yo.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ur.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-ansix923.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bo.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/rc4.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/es-do.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/of.js","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ku.js","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.reducer.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fr-ch.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-kw.js","C:/vsts_agent/_work/24/s/src/app/core/components/dev/devConsole/dev-console.shared.module.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/dev.module.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/index.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/scan.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fy.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-il.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/switchMap.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/si.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bm.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/km.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/pipe.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/is.js","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tl-ph.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/EmptyError.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/x-pseudo.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sv.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/lib-typedarrays.js","C:/vsts_agent/_work/24/s/src/app/state/appSettings/app-settings.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/cart/cart.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/creditCards/credit-cards.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/currentLocation/current-location.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/dietaryTagsImages/dietary-tags-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/locations/locations.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsFilters/locations-filters.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/locationsImages/locations-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyProductPrograms/loyalty-product-programs.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/members/members.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlows/menu-flows.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenu/online-menu.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuFilters/online-menu-filters.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuPagesImages/online-menu-pages-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineMenuProductsImages/online-menu-products-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/onlineOrder/online-order.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/payment/payment.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/freeProductsImages/free-products-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/geolocation/geolocation.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/ingredients/ingredients.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPages/loyalty-introduction-pages.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/loyaltyMessages/loyalty-messages.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowDefaultActivations/menu-flow-default-activations.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/modals/modal.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/productImages/product-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/reorder/reorder.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/venuesImages/venues-images.selectors.ts","C:/vsts_agent/_work/24/s/src/app/state/selectors.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ctr-gladman.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isObject.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fr.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lv.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/tripledes.js","C:/vsts_agent/_work/24/s/src/app/core/directives/maxOnScreenHeight/max-on-screen-height.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/da.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/format-hex.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/map.js","C:/vsts_agent/_work/24/s/src/app/state/wizzard/wizzard.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ko.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/et.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Subject.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/az.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/hmac.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-ca.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.state.module.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/bn.js","C:/vsts_agent/_work/24/s/src/app/state/loader/loader.actions.ts","(webpack)/buildin/module.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ro.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/zh-cn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Subscription.js","C:/vsts_agent/_work/24/s/src/app/state/latestTransactions/latest-transactions.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-SG.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/mergeMap.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tlh.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/fromArray.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/me.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ms.js","C:/vsts_agent/_work/24/s/src/app/core/tokens/config.tokens.ts","C:/vsts_agent/_work/24/s/src/app/core/tokens/env.tokens.ts","C:/vsts_agent/_work/24/s/src/app/core/tokens/index.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ta.js","C:/vsts_agent/_work/24/s/node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sd.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isArrayLike.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ru.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ml.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-gb.js","C:/vsts_agent/_work/24/s/node_modules/@angular/animations/__ivy_ngcc__/fesm2015/animations.js","C:/vsts_agent/_work/24/s/src/app/core/components/dev/devConsole/dev-console.shared.component.ts","C:/vsts_agent/_work/24/s/src/app/core/components/dev/devConsole/dev-console.shared.component.html","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tzl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/gu.js","C:/vsts_agent/_work/24/s/node_modules/js-cookie/src/js.cookie.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mk.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/combineLatest.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/it-ch.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/merge.js","C:/vsts_agent/_work/24/s/src/app/state/cartPopup/cart-popup.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/isScheduler.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lo.js","C:/vsts_agent/_work/24/s/src/app/state/alertMessages/alert-messages.selectors.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nb.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-ma.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/de-ch.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/uz.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/kn.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/mi.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/cipher-core.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/enc-base64.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/refCount.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/hostReportError.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/defer.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-nz.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/kk.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/br.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/startWith.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/first.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ja.js","C:/vsts_agent/_work/24/s/src/app/state/orderTypes/order-types.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nl.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/eu.js","C:/vsts_agent/_work/24/s/src/app/state/orderTypesImages/order-types-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/be.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/scheduler/queue.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/noop.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/pad-iso97971.js","C:/vsts_agent/_work/24/s/src/app/state/availablePickups/available-pickups.actions.ts","C:/vsts_agent/_work/24/s/src/app/core/directives/scroll/scroll.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/jv.js","C:/vsts_agent/_work/24/s/src/app/core/resolvers/selective-preloading-strategy.shared.service.ts","C:/vsts_agent/_work/24/s/src/app/core/resolvers/index.ts","C:/vsts_agent/_work/24/s/src/app/state/menuFlowImages/menu-flow-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/concatAll.js","C:/vsts_agent/_work/24/s/src/app/core/decorators/common.shared.decorator.ts","C:/vsts_agent/_work/24/s/src/app/core/decorators/auto-unsubscribe.shared.decorator.ts","C:/vsts_agent/_work/24/s/src/app/core/decorators/meta.shared.decorator.ts","C:/vsts_agent/_work/24/s/src/app/core/decorators/index.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/nn.js","C:/vsts_agent/_work/24/s/src/app/state/topBar/top-bar.actions.ts","C:/vsts_agent/_work/24/s/node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha384.js","C:/vsts_agent/_work/24/s/src/app/state/loyaltyIntroductionPagesImages/loyalty-introduction-pages-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/audit.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/OuterSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/tzm-latn.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/auditTime.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/symbol/observable.js","C:/vsts_agent/_work/24/s/src/app/core/directives/drawCollapse/draw-collapse.shared.resolver.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha224.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/concat.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/InnerSubscriber.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/ripemd160.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Observer.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/observable/never.js","C:/vsts_agent/_work/24/s/src/app/state/memberCardBarcodesImages/member-card-barcodes-images.actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/finalize.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/Notification.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/takeLast.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/last.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/every.js","C:/vsts_agent/_work/24/s/node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/reduce.js","C:/vsts_agent/_work/24/s/node_modules/@ngrx/store/__ivy_ngcc__/fesm2015/store.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/pluck.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/symbol/iterator.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/cy.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fr-ca.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ms-my.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/el.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ar-sa.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/pt-br.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/sq.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/fi.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/ca.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/lb.js","C:/vsts_agent/_work/24/s/node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/dv.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/x64-core.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/index.js","C:/vsts_agent/_work/24/s/src/app/core/guards/app-mode-ordering.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/app-mode-root.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/authorization.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/checkout.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/unique-code.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/guid.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/dynamic-paths.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/app-mode-loyalty.shared.guard.ts","C:/vsts_agent/_work/24/s/src/app/core/guards/index.ts","C:/vsts_agent/_work/24/s/node_modules/crypto-js/mode-ofb.js","C:/vsts_agent/_work/24/s/src/app/state/historyOrders/history-orders.actions.ts","C:/vsts_agent/_work/24/s/node_modules/moment/moment.js","C:/vsts_agent/_work/24/s/src/app/core/directives/menuFlowPages/menu-flow-pages.shared.service.ts","C:/vsts_agent/_work/24/s/node_modules/moment/locale/zh-tw.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/it.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/filter.js","C:/vsts_agent/_work/24/s/node_modules/moment/locale/en-ie.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/SubjectSubscription.js","C:/vsts_agent/_work/24/s/src/app/state/dev/dev.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/state/state.actions.ts","C:/vsts_agent/_work/24/s/src/app/state/actions.ts","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/materialize.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/groupBy.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/dematerialize.js","C:/vsts_agent/_work/24/s/node_modules/@ngrx/effects/__ivy_ngcc__/fesm2015/effects.js","C:/vsts_agent/_work/24/s/node_modules/crypto-js/sha512.js","src/environments/environment.ts","src/environments/environment.build.ts","src/app/config.ts","C:/vsts_agent/_work/24/s/node_modules/@angular/service-worker/__ivy_ngcc__/fesm2015/service-worker.js","C:/vsts_agent/_work/24/s/node_modules/rxjs/_esm2015/internal/operators/publish.js","C:/vsts_agent/_work/24/s/node_modules/@ngrx/router-store/__ivy_ngcc__/fesm2015/router-store.js","src/app/state/state.module.ts","src/app/routes-root.module.ts","C:/vsts_agent/_work/24/s/src/app/core/interceptors/errors.shared.interceptor.ts","C:/vsts_agent/_work/24/s/src/app/shared-providers.module.ts","C:/vsts_agent/_work/24/s/src/app/core/interceptors/api.shared.interceptor.ts","src/app/app.module.ts","src/app/app.component.ts","src/app/state/state.reducers.ts","src/app/state/state.effects.ts","src/app/state/state.meta-reducers.ts","C:/vsts_agent/_work/24/s/src/app/core/enums/error-codes.shared.enums.ts","src/app/app.component.html","src/main.ts","C:/vsts_agent/_work/24/s/src/app/state/router/router.actions.ts","$_lazy_route_resource lazy namespace object","C:/vsts_agent/_work/24/s/src/app/core/modules/forms/forms.shared.service.ts"],"names":["CartPopupService","offset","coordsRegistry","Map","targetCoords$","elem","this","set","getClientRects","next","get","WizzardService","store","routeService","_onContentScrollInit$","_onContentScroll$","_navClickListener$","$event","menuFlow","wizzardMenuFlow","errorId","Date","getTime","Math","floor","random","errors","Pages","forEach","wizzardPage","find","page","PageIdentifier","PageMinQuantity","PageMaxQuantity","wizzardPageTotalQuantity","Products","reduce","acc","product","Quantity","push","id","pageIdentifier","error","REQUIRED","OVERFLOW","index","moment","monthsShortWithDots","split","monthsShortWithoutDots","monthsParse","monthsRegex","defineLocale","months","monthsShort","m","format","test","month","monthsShortRegex","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","weekdays","weekdaysShort","weekdaysMin","weekdaysParseExact","longDateFormat","LT","LTS","L","LL","LLL","LLLL","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","s","ss","mm","h","hh","d","dd","M","MM","y","yy","dayOfMonthOrdinalParse","ordinal","number","week","dow","doy","day","lastDigit","last2Digits","LoyaltyMessagesRequest","LoyaltyMessagesSuccessRequest","LoyaltyMessagesErrorRequest","b","CryptoJS","module","exports","pad","NoPadding","unpad","isPromise","value","subscribe","then","C","C_lib","lib","WordArray","Hasher","C_algo","algo","T","i","abs","sin","MD5","extend","_doReset","_hash","init","_doProcessBlock","offset_i","M_offset_i","H","words","M_offset_0","M_offset_1","M_offset_2","M_offset_3","M_offset_4","M_offset_5","M_offset_6","M_offset_7","M_offset_8","M_offset_9","M_offset_10","M_offset_11","M_offset_12","M_offset_13","M_offset_14","M_offset_15","a","c","FF","GG","HH","II","_doFinalize","data","_data","dataWords","nBitsTotal","_nDataBytes","nBitsLeft","sigBytes","nBitsTotalH","nBitsTotalL","length","_process","hash","H_i","clone","call","x","t","n","_createHelper","HmacMD5","_createHmacHelper","pairwise","source","lift","PairwiseOperator","subscriber","PairwiseSubscriber","destination","super","hasPrev","pair","prev","meridiemParse","meridiemHour","hour","meridiem","hours","minutes","isLower","PaymentReset","PaymentInitAramark","creditCard","member","PaymentInit","PaymentClearErrors","PaymentStepValidateGuestData","PaymentStepValidateGuestCardToken","PaymentStepValidateMemberCardToken","PaymentStepCreateOrder","__DEMO__PaymentStepCreateOrder","PaymentStepPay","__DEMO__PaymentStepPay","PaymentStepPaymentStatusCheck","__DEMO__PaymentStepPaymentStatusCheck","PaymentStepComplete","PaymentStepFailed","Message","Id","subscribeTo","result","obj","obs","TypeError","isArrayLike","subscribeToArray","promise","closed","complete","err","hostReportError","iterable","iterator","item","done","add","isObject","rxSubscriber","Symbol","symbolMap","numberMap","monthsParseExact","preparse","string","replace","match","postformat","minute","ReorderSetup","ReorderUnmount","ReorderCalculateRequest","ReorderCalculateSuccessRequest","ReorderCalculateErrorRequest","ReorderSelectItem","ReorderDeselectItem","ReorderDeselectAll","_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","DOCUMENT","PlatformLocation","ɵfac","ɵprov","factory","useBrowserPlatformLocation","token","providedIn","BrowserPlatformLocation","LOCATION_INITIALIZED","_doc","_init","location","getLocation","_history","getHistory","getBaseHref","fn","getGlobalEventTarget","addEventListener","state","title","url","supportsState","pushState","replaceState","forward","back","href","protocol","hostname","port","pathname","newPath","search","createBrowserPlatformLocation","window","history","joinWithSlash","start","end","slashes","endsWith","startsWith","substring","stripTrailingSlash","pathEndIdx","slice","normalizeQueryParams","params","LocationStrategy","provideLocationStrategy","platformLocation","PathLocationStrategy","origin","APP_BASE_HREF","_platformLocation","getBaseHrefFromDOM","Error","_baseHref","onPopState","onHashChange","internal","includeHash","queryParams","externalUrl","prepareExternalUrl","HashLocationStrategy","path","Location","platformStrategy","_subject","_urlChangeListeners","_platformStrategy","browserBaseHref","_stripIndexHtml","ev","emit","type","onReturn","normalize","getState","query","baseHref","_notifyUrlChangeListeners","v","onNext","onThrow","createLocation","CURRENCIES_EN","undefined","NumberFormatStyle","Decimal","Percent","Currency","Scientific","Plural","Zero","One","Two","Few","Many","Other","FormStyle","Format","Standalone","TranslationWidth","Narrow","Abbreviated","Wide","Short","FormatWidth","Medium","Long","Full","NumberSymbol","Group","List","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","Infinity","NaN","TimeSeparator","CurrencyDecimal","CurrencyGroup","getLocaleDateFormat","locale","width","getLastDefinedValue","DateFormat","getLocaleTimeFormat","TimeFormat","getLocaleDateTimeFormat","DateTimeFormat","getLocaleNumberSymbol","symbol","res","NumberSymbols","getLocalePluralCase","checkFullData","ExtraData","LocaleId","extractTime","time","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","ShortGMT","Extended","DateType","FullYear","Month","Hours","Minutes","Seconds","FractionalSeconds","Day","TranslationType","DayPeriods","Days","Months","Eras","formatDateTime","str","opt_values","key","padNumber","num","digits","negWrap","minusSign","trim","neg","strNum","String","substr","dateGetter","name","size","date","part","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","getDay","localeMinus","dateStrGetter","form","extended","formStyle","MonthsFormat","MonthsStandalone","days","DaysFormat","DaysStandalone","currentHours","currentMinutes","rules","map","rule","dayPeriods","Array","isArray","hoursFrom","minutesFrom","hoursTo","minutesTo","amPm","DayPeriodsFormat","DayPeriodsStandalone","timeZoneGetter","zone","ceil","weekGetter","monthBased","year","firstDayOfYear","datetime","nbDaysBefore1stDayOfMonth","today","firstThurs","THURSDAY","diff","round","DATE_FORMATS","timezoneToOffset","timezone","fallback","requestedTimezoneOffset","parse","isNaN","isDate","valueOf","NUMBER_FORMAT_REGEXP","parseIntAutoRadix","text","parseInt","NgLocalization","NgLocaleLocalization","parseCookieValue","cookieStr","encodeURIComponent","cookie","eqIndex","indexOf","cookieName","cookieValue","decodeURIComponent","NgClass","_iterableDiffers","_keyValueDiffers","_ngEl","_renderer","_iterableDiffer","_keyValueDiffer","_initialClasses","_rawClass","iterableChanges","_applyIterableChanges","keyValueChanges","_applyKeyValueChanges","changes","forEachAddedItem","record","_toggleClass","currentValue","forEachChangedItem","forEachRemovedItem","previousValue","rawClassVal","Set","klass","Object","keys","enabled","addClass","nativeElement","removeClass","_removeClasses","_applyClasses","create","ɵdir","selectors","inputs","ngClass","NgForOfContext","$implicit","ngForOf","count","even","NgForOf","_viewContainer","_template","_differs","_ngForOf","_ngForOfDirty","_differ","ngForTrackBy","_a","_applyChanges","insertTuples","forEachOperation","adjustedPreviousIndex","currentIndex","previousIndex","view","createEmbeddedView","tuple","RecordViewTuple","remove","move","_perViewChange","ilen","viewRef","context","forEachIdentityChange","console","warn","JSON","stringify","_trackByFn","dir","ctx","ngForTemplate","NgIf","templateRef","_context","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","clear","condition","ngIf","_updateView","assertTemplate","ngIfThen","ngIfElse","property","SwitchView","_viewContainerRef","_templateRef","_created","destroy","created","NgSwitch","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","_defaultViews","matched","_ngSwitch","_updateDefaultCases","useDefault","enforceState","newValue","ngSwitch","NgSwitchCase","viewContainer","_addCase","_view","ngSwitchCase","_matchCase","NgSwitchDefault","_addDefault","NgStyle","_ngStyle","nameAndUnit","unit","setStyle","removeStyle","_setStyle","values","ngStyle","NgTemplateOutlet","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","propName","_shouldRecreateView","viewContainerRef","_updateExistingContext","ctxChange","_hasContextShapeChanged","prevCtxKeys","currCtxKeys","features","invalidPipeArgumentError","ObservableStrategy","unsubscribe","async","updateLatestValue","e","subscription","_promiseStrategy","PromiseStrategy","_observableStrategy","AsyncPipe","_ref","_latestValue","_latestReturnedValue","_subscription","_obj","_strategy","markForCheck","_dispose","transform","wrap","_subscribe","_selectStrategy","createSubscription","_updateLatestValue","dispose","ɵpipe","pure","LowerCasePipe","toLowerCase","UpperCasePipe","toUpperCase","DatePipe","message","parsedNb","parseFloat","val","tzHour","tzMin","dateSetter","setUTCFullYear","setFullYear","timeSetter","setUTCHours","setHours","Number","ms","getNamedFormat","localeId","formatValue","shortTime","shortDate","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","parts","exec","concat","pop","dateTimezoneOffset","getTimezoneOffset","reverse","setMinutes","dateFormatter","formatter","JsonPipe","CurrencyPipe","_locale","_defaultCurrencyCode","currencyCode","display","digitsInfo","currency","code","Currencies","symbolNarrow","pattern","p","minInt","minFrac","maxFrac","posPre","posSuf","negPre","negSuf","gSize","lgSize","patternParts","positive","negative","positiveParts","lastIndexOf","integer","fraction","ch","charAt","groups","trunkLen","pos","NumberFormats","groupSymbol","decimalSymbol","isPercent","formattedText","isZero","isFinite","parsedNumber","integerLen","j","zeros","numStr","exponent","splice","MAX_DIGITS","fractionLen","minFraction","maxFraction","minIntPart","minFractionPart","maxFractionPart","fractionSize","min","max","roundAt","digit","k","unshift","dropTrailingZeros","minLen","carry","reduceRight","decimals","every","join","CommonModule","ɵmod","ɵinj","providers","provide","useClass","PLATFORM_BROWSER_ID","isPlatformBrowser","platformId","ViewportScroller","BrowserViewportScroller","document","errorHandler","supportScrollRestoration","scrollX","scrollY","position","scrollTo","anchor","CSS","escape","elSelectedById","querySelector","scrollToElement","elSelectedByName","handleError","scrollRestoration","el","rect","getBoundingClientRect","left","pageXOffset","top","pageYOffset","StreamCipher","S","C_","G","RabbitLegacy","K","_key","iv","cfg","X","_X","_C","_b","nextState","IV","IV_0","IV_1","i0","i2","i1","i3","blockSize","ivSize","gx","ga","gb","CurrentLocationValidationRequest","CurrentLocationValidationSuccessRequest","CurrentLocationValidationErrorRequest","CurrentLocationValidationReset","CurrentLocationReset","CurrentLocationSet","CurrentLocationPickupTimeSet","pickupTime","CurrentLocationFiltersPickupTimeSync","CurrentLocationPickupTimeRestore","mergeAll","POSITIVE_INFINITY","concurrent","Base","HMAC","PBKDF2","keySize","hasher","SHA1","iterations","compute","password","salt","hmac","derivedKey","blockIndex","derivedKeyWords","blockIndexWords","block","update","finalize","reset","blockWords","blockWordsLength","intermediate","intermediateWords","throwError","scheduler","schedule","dispatch","BlockCipher","SBOX","INV_SBOX","SUB_MIX_0","SUB_MIX_1","SUB_MIX_2","SUB_MIX_3","INV_SUB_MIX_0","INV_SUB_MIX_1","INV_SUB_MIX_2","INV_SUB_MIX_3","xi","sx","x2","x4","x8","RCON","AES","_nRounds","_keyPriorReset","keyWords","ksRows","keySchedule","_keySchedule","ksRow","invKeySchedule","_invKeySchedule","invKsRow","encryptBlock","_doCryptBlock","decryptBlock","nRounds","s0","s1","s2","s3","t0","t1","t2","t3","isPM","input","catchError","selector","operator","CatchOperator","caught","CatchSubscriber","innerSubscription","isStopped","err2","_unsubscribeAndRecycle","innerSubscriber","LocationImagesRequest","ids","imageType","height","LocationImagesSuccessRequest","LocationImagesErrorRequest","DevButtonComponent","identity","IngredientsRequest","IngredientsSuccessRequest","IngredientsErrorRequest","Iso10126","blockSizeBytes","nPaddingBytes","processRelativeTime","withoutSuffix","isFuture","llll","period","isNode","process","toString","optimizeGroupPlayer","players","normalizeKeyframes","driver","normalizer","element","keyframes","preStyles","postStyles","normalizedKeyframes","previousOffset","previousKeyframe","kf","isSameOffset","normalizedKeyframe","prop","normalizedProp","normalizedValue","normalizePropertyName","normalizeStyleValue","LINE_START","listenOnPlayer","player","eventName","event","callback","onStart","copyAnimationEvent","onDone","onDestroy","phaseName","totalTime","makeAnimationEvent","triggerName","fromState","toState","disabled","getOrSetAsInMap","defaultValue","parseTimelineCommand","command","separatorPos","_contains","elm1","elm2","_matches","_query","multi","_isNode","Element","contains","prototype","matches","proto","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","apply","results","querySelectorAll","elm","_CACHED_BODY","_IS_WEBKIT","validateStyleProperty","body","style","matchesElement","containsElement","invokeQuery","hypenatePropsObject","object","newObj","newProp","NoopAnimationDriver","delay","duration","easing","scrubberAccessRequested","AnimationDriver","NOOP","resolveTimingValue","_convertTimeValueToMS","resolveTiming","timings","allowNegativeValues","hasOwnProperty","exp","delayMatch","easingVal","containsErrors","startIndex","copyObj","copyStyles","styles","readPrototype","getStyleAttributeString","writeStyleAttribute","styleAttrValue","getPropertyValue","setAttribute","setStyles","formerStyles","camelProp","dashCaseToCamelCase","eraseStyles","normalizeAnimationEntry","steps","PARAM_REGEX","RegExp","extractStyleParams","lastIndex","interpolateParams","original","_","varName","localVal","iteratorToArray","arr","DASH_CASE_REGEXP","allowPreviousPlayerStylesMerge","balancePreviousStylesIntoKeyframes","previousStyles","previousStyleProps","startingKeyframe","missingStyleProps","computeStyle","visitDslNode","visitor","node","visitTrigger","visitState","visitTransition","visitSequence","visitGroup","visitAnimate","visitKeyframes","visitStyle","visitReference","visitAnimateChild","visitAnimateRef","visitQuery","visitStagger","getComputedStyle","TRUE_BOOLEAN_VALUES","FALSE_BOOLEAN_VALUES","makeLambdaFromStates","lhs","rhs","LHS_MATCH_BOOLEAN","has","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN_REGEX","buildAnimationAst","metadata","build","_driver","AnimationAstBuilderContext","_resetContextStyleTimingState","currentQuerySelector","collectedStyles","currentTime","queryCount","depCount","states","transitions","definitions","def","stateDef","transition","options","styleAst","astParams","containsDynamicStyles","missingSubs","stylesObj","sub","missingSubsArr","transitionValue","expressions","animation","matchers","expr","eventStr","alias","separator","normalizeAnimationOptions","furthestTime","step","innerAst","timingAst","makeTimingAst","strValue","some","ast","dynamic","currentAnimateTimings","styleMetadata","isEmpty","newStyleData","_styleAst","isEmptyStep","_makeStyleAst","_validateStyleAst","styleTuple","collectedEasing","styleData","styleMap","endTime","startTime","collectedEntry","updateCollectedStyle","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","offsetVal","generatedOffset","limit","animateDuration","durationUpToThisFrame","parentSelector","currentQuery","hasAmpersand","NG_TRIGGER_SELECTOR","includeSelf","optional","originalSelector","currentTransition","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","_map","instructions","existingInstructions","ENTER_TOKEN_REGEX","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","AnimationTimelineContext","currentTimeline","timelines","filter","timeline","containsAnimation","tl","allowOnlyTimelineStyles","elementInstructions","consume","innerContext","createSubContext","_visitSubInstructions","transformIntoNewTimeline","previousNode","instruction","instructionTimings","appendInstructionToTimeline","updateOptions","subContextCount","snapshotCurrentStyles","DEFAULT_NOOP_PREVIOUS_NODE","delayNextStep","applyStylesToKeyframe","innerTimelines","mergeTimelineCollectedStyles","_visitTiming","incrementTime","getCurrentStyleProperties","forwardFrame","applyEmptyStep","innerTimeline","forwardTime","elms","currentQueryTotal","sameElementTimeline","currentQueryIndex","parentContext","maxTime","currentStaggerTime","startingTime","_enterClassName","_leaveClassName","initialTimeline","skipIfExists","newOptions","optionsToUpdate","newParams","paramsToUpdate","oldParams","newTime","target","fork","_copyOptions","updatedTimings","builder","SubTimelineBuilder","stretchStartingKeyframe","elements","_elementTimelineStylesLookup","_previousKeyframe","_currentKeyframe","_keyframes","_styleSummary","_pendingStyles","_backFill","_currentEmptyStepKeyframe","_localTimelineStyles","_globalTimelineStyles","_loadKeyframe","hasPreStyleStep","allStyles","allProperties","_updateStyle","props","details0","details1","finalKeyframes","keyframe","finalKeyframe","preProps","postProps","kf0","kf1","properties","_stretchStartingKeyframe","newKeyframes","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","decimalPoints","mult","pow","AnimationStyleNormalizer","WebAnimationsStyleNormalizer","propertyName","userProvidedProperty","normalizedProperty","strVal","DIMENSIONAL_PROP_MAP","valAndSuffixMatch","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","matchFns","stateName","backupStateStyler","stateStyler","backupStyles","buildStyles","currentOptions","nextOptions","skipAstBuild","transitionAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","assign","queriedElementsList","AnimationStateStyles","defaultParams","combinedParams","styleObj","AnimationTrigger","transitionFactories","balanceProperties","fallbackTransition","f","key1","key2","EMPTY_INSTRUCTION_MAP","bodyNode","_normalizer","_animations","_playersById","animate","autoStylesMap","inst","_buildPlayer","_getPlayer","baseEvent","args","play","pause","restart","finish","setPosition","register","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","namespaceId","setForRemoval","setForMove","hasAnimation","removedBeforeQueried","NULL_REMOVED_QUERIED_STATE","StateValue","isObj","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","_triggers","_queue","_elementListeners","_hostClassName","containsData","phase","listeners","triggersWithStates","statesByElement","NG_TRIGGER_CLASSNAME","afterFlush","trigger","defaultToFallback","_getTrigger","absorbOptions","playersOnElement","playersByElement","queued","matchTransition","isFallbackTransition","totalQueuedPlayers","k1","k2","matchStyles","reportError","stateMap","entry","elementPlayers","namespaces","fetchNamespacesByElement","ns","triggerLeaveAnimation","clearElementCache","afterFlushAnimationsDone","destroyAfterComplete","triggerStates","markElementAsRemoved","processLeaveNode","visitedTriggers","listener","engine","childElementCount","_signalRemovalForInnerTriggers","containsPotentialParentTransition","totalAnimations","currentPlayers","playersByQueriedElement","parent","parentNode","prepareLeaveAnimationListeners","removalFlag","destroyInnerAnimations","_onRemovalComplete","microtaskId","destroyed","markedForDestroy","sort","d0","d1","newHostElements","disabledNodes","_namespaceLookup","_namespaceList","_flushFns","_whenQuietFns","namespacesByHostElement","collectedEnterElements","collectedLeaveElements","onRemovalComplete","_balanceNamespaceList","collectEnterElement","found","createNamespace","_fetchNamespace","elementStates","nsId","isElementNode","insertBefore","details","insertNode","isHostElement","removeNode","hostNS","listen","subTimelines","skipBuildAst","containerElement","destroyActiveAnimationsForElement","finishActiveQueriedAnimationOnElement","Promise","resolve","markElementAsDisabled","cleanupFns","_flushAnimations","quietFns","skippedPlayers","skippedPlayersMap","queuedInstructions","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","from","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","root","className","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","drainQueuedTransitions","nodeIsOrphaned","_buildInstruction","append","stringMap","setVal","allPreviousPlayersMap","animationElementMap","_beforeAnimationBuild","_getPreviousPlayers","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","post","pre","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","overrideTotalTime","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","_buildAnimation","setRealPlayer","parentPlayers","parentPlayer","playersForElement","syncPlayerEvents","queriedPlayerResults","queriedInnerElements","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","elementContainsData","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","targetNameSpaceId","targetTriggerName","realPlayer","getRealPlayer","beforeDestroy","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","timelineInstruction","finalPlayers","previousPlayers","_flattenGroupPlayersRecur","wrappedPlayer","currentValues","_player","_containsRealPlayer","_queuedCallbacks","triggerCallback","_queueEvent","hasStarted","getPosition","cloakElement","oldValue","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","roots","rootMap","nodeSet","localRootMap","getRoot","classList","classes","postEntry","preEntry","AnimationEngine","_triggerCache","_transitionEngine","_timelineEngine","componentId","cacheKey","registerTrigger","disable","action","eventPhase","flush","whenRenderingDone","packageNonAnimatableStyles","startStyles","endStyles","filterNonAnimatableStyles","SpecialCasedStyles","_element","_startStyles","_endStyles","_state","initialStyles","initialStylesByElement","_initialStyles","WeakMap","isNonAnimatableStyle","ElementAnimationStyleHandler","_name","_duration","_delay","_easing","_fillMode","_onDoneFn","_finished","_destroyed","_startTime","_position","_eventFn","_handleCallback","anim","getAnimationStyle","char","setAnimationStyle","addRemoveAnimationEvent","now","playPauseAnimation","findIndexForAnimation","timestamp","_ngTestManualTimestamp","elapsedTime","toFixed","animationName","tokens","findMatchingTokenIndex","status","searchToken","doRemove","removeEventListener","CssKeyframesPlayer","_finalStyles","_specialStyles","_onDoneFns","_onStartFns","_onDestroyFns","_started","currentSnapshot","_buildStyler","_styler","_flushStartFns","_flushDoneFns","resume","methods","finished","_startingStyles","__initialized","_styles","setProperty","removeProperty","CssKeyframesDriver","_count","_head","_warningIssued","keyframeStr","tab","kfElm","createElement","innerHTML","_notifyFaultyScrubber","previousCssKeyframePlayers","flatKeyframes","buildKeyframeElement","appendChild","specialStyles","removeChild","WebAnimationsPlayer","_initialized","_preparePlayerBeforeStart","domPlayer","_triggerWebAnimation","_finalKeyframe","_onFinish","_resetDomPlayerState","cancel","WebAnimationsDriver","_isNativeImpl","getElementAnimateFn","_cssKeyframesDriver","supported","playerOptions","fill","previousWebAnimationPlayers","BrowserAnimationBuilder","rootRenderer","doc","_nextAnimationId","createRenderer","encapsulation","None","issueAnimationCommand","_id","RendererAnimationPlayer","_command","_listen","renderer","AnimationRendererFactory","InjectableAnimationEngine","BrowserAnimationsModule","delegate","_zone","_currentId","_microtaskId","_animationCallbacksBuffer","_rendererCache","_cdRecurDepth","BaseAnimationRenderer","AnimationRenderer","begin","run","runOutsideAngular","_scheduleCountTask","destroyNode","namespace","createComment","createText","newChild","onInsert","refChild","oldChild","onRemove","selectorOrNode","preserveContent","selectRootElement","nextSibling","removeAttribute","flags","disableAnimations","setValue","dotIndex","scheduleListenerCallback","ANIMATION_MODULE_TYPE","BROWSER_ANIMATIONS_PROVIDERS","useFactory","useValue","deps","imports","concatMap","project","resultSelector","Subscriber","destinationOrNext","syncErrorValue","syncErrorThrown","syncErrorThrowable","arguments","SafeSubscriber","_next","_error","_complete","_parentOrParents","_parentSubscriber","observerOrNext","bind","useDeprecatedSynchronousErrorHandling","__tryOrSetError","__tryOrUnsub","wrappedComplete","mode","CFB","BlockCipherMode","generateKeystreamAndEncrypt","cipher","_iv","keystream","_prevBlock","Encryptor","processBlock","_cipher","Decryptor","thisBlock","DrawExpandResolver","drawCollapseService","route","hasInitialized","tempUnlockScrollOnToggle","toggleDraw","setTimeout","transitionTime","DrawCollapseService","_progress","contentMinimumHeightObjects","totalOffsetObjects","totalOffsetMobileObjects","minimalHeight","maximumHeight","mediaBreakPoint","progressBreakPoint","mobileScrollPoint","currentHeight","expand","preventOnWindowScrolled","drawDirectiveInit$","drawCurrentHeight$","drawExpand$","drawOffset$","drawMobileOffset$","drawIsCollapsed$","drawProgress$","drawDifference$","minHeightContent$","drawBreakPoint$","drawNavBarCollapseHeight$","drawContentMargin$","pipe","innerWidth","sumMapValues","margin","progress","difference","hasInit","timeout","MenuFlowDefaultActivationRequest","MenuFlowDefaultActivationSuccessRequest","MenuFlowDefaultActivationErrorRequest","EMPTY","empty","relativeTimeWithPlural","forms","processHoursFunction","units","translateSingular","special","translate","standalone","isFormat","l","ll","lll","OnlineMenuProductsImagesRequest","OnlineMenuProductsImagesSuccessRequest","OnlineMenuProductsImagesErrorRequest","W","HmacSHA1","ModalsService","router","wizzardService","_modalContainer$","_bgDropClick$","onWizzardScroll$","_wizzardScrollListener$","contentScrollListener$","modalId","isLoading","modal","IN","modalsList$","modals","close","OUT","typesExcludedFromClosing","navigate","itemId","queryParamsHandling","unmountWizzard","removeQueryParams","removeURLQueryParams","modalContainer","CTR","counter","_counter","geolocationPositionRequest","geolocationPositionSuccessRequest","geolocationPositionErrorRequest","shareSubjectFactory","share","monthsNominative","monthsSubjective","plural","momentToFormat","SetApplicationInitFlag","SetApplicationMode","SetDeviceType","AppSettingsRequest","AppSettingsSuccessRequest","AppSettingsErrorRequest","AppSettingsSetOnlineStatus","tap","nextOrObserver","DoOperator","TapSubscriber","_tapNext","_tapError","_tapComplete","isNumeric","timer","dueTime","periodOrScheduler","isScheduler","Observable","due","CartPickupTimeUpdate","CartSetup","CartSetupWithMultipleItems","locationNo","menuFlows","simpleItems","CartTransferItemRequest","CartActiveOrderContinue","CartActiveOrderStartNew","CartLoad","CartSetLocationNo","CartSetOnlineMenu","CartSetPickupTime","CartReset","CartRemoveAllItems","CartEditItem","CartSimpleItemAdd","CartSimpleItemUpdate","CartSimpleItemDecrement","tempItemId","changeValue","CartSimpleItemIncrement","CartSimpleItemRemove","CartMenuFlowAdd","CartMenuFlowAddWithMerge","CartMenuFlowUpdate","CartMenuFlowDecrement","tempId","CartMenuFlowIncrement","CartMenuFlowRemove","ALERT_ANIMATION","observeOn","ObserveOnOperator","ObserveOnSubscriber","notification","ObserveOnMessage","scheduleMessage","createNext","createError","createComplete","arg","observe","ProductImagesRequest","ProductImagesSuccessRequest","ProductImagesErrorRequest","AppSettingsController","CartController","CreditCardsController","HistoryOrdersController","GeolocationController","FiltersController","LoyaltyController","LocationsController","IngredientsController","ImagesController","MembersController","OnlineMenuController","ModalsController","MenuFlowsController","TransactionsController","RoutesController","PaymentController","OnlineOrdersController","Controllers","WizzardController","_config","_store","take","settings","AppSettings","TermsAndConditionsUrl","termsAndConditionsUrl","open","focus","PrivacyPolicyUrl","links","includes","extractLink","dynamicLinks","staticLinks","distinctUntilChanged","dynamiLinks","appSettingsLinksFromConfig","appLocationMode$","appMode","_routeService","popupTimeout","isCheckoutPage","activeOrderContinue","navigateToCartsLocation","activeOrderStartNew","cart","actions","menuFlowId","productId","prefix","createPickupLabelName","pickups","futureOrders","IsAsap","MinutesFromNow","isLocationDetails","MenuFlowId","UnitTotalValue","UnitPrice","_Id","IsUpsell","DisplayName","PosDisplay","cartMenuFlowDescription$","combineLatest","cartTotalQuantity$","device","total","shouldRemove","convertedItem","convertToSanitizedSimpleItem","shouldShowForm","formIsAddingFlag","isMakingRequests$","isLoadingCardsFirstTime$","isAccountChargeSet$","isMakingRequests","isLoadingCardsFirstTime","hasAccount","showAddCardForm","showPaymentFormForGuest$","showForm","showPaymentFormForMember$","isUnsavedCardSelected","containsUnsavedCard","config","isCardSelected","cardRetry","cardChange","isCardSelected$","isSelected","guestMode","cardsState","validation","hasFailed","_ValidationStatus","hasCardsDefined","activeCardRedirectUrl","isLoadingFirstTime","hasCards$","hasDownloadedCards$","hasCards","hasDownloaded","hasAccountPaymentMethod","cardData","isAdding","activeToken","activeCardToken","Token","card","isPaying","cardId","isDownloading","withLatestFrom","isGuest","isAuthorized","_modalsService","_pickupModes","Name","MinimumPickupTime","auditTime","includeDayName","isSchedule","periodId","pickupTimeId","periods","switchMap","IsToday","pickupTimesListForAllLocations$","pickupTimesListForAllLocationsForPeriod$","modeId","pickupModes","_dispatchLocationsFiltersActions","option","processName","processedOption","onLocationsFilterChange","clearPickupFilters","term","show","coords","userCoordsState$","latitude","longitude","distance","getDistanceFromTo","localization","kilometersToMiles","withState","filterByLocationNos","orders","order","PickupLocation","reducedOrders","_orderWithStateMapper","orderId","mapOnlineOrderProducts","transformHours","PickUpDate","isActive","isLoading$","historyOrders$","loading","activeOrders$","isLoadingFirstTime$","hasOrders$","hasOrders","getHistoryOrder$","MemberId","Subtotal","TotalNettValue","Tax","TotalTaxes","Value","Total","TotalGrossValue","Surcharges","includeLocationName","isActiveOrder","isOrderActive","Status","locationName","LocationFriendlyName","descriptionDate","locationNos","active","orderTypeId","select","pageId","dietaryTags","image","venueId","venue","of","isLocationDetailsPage","isErrorPage","isAccountPage","isLoyaltyPage","appLocationMode","ImageUrl","venueImage$","hasSucceeded","freeProductId","freeProduct","getImageForFreeProduct$","ProductId","LocationNo","getIngredientsForWizzardProduct","ingredient","prefixes","isVenueSet","locations","foundLocation","OnlineOrderingStatus","LocationOLOIsActive","currentLocationNoByRoute$","urlLocationNo","currentLocationNo","sortTag","filterParams","locationsListBy","byOpenStatus","byPickupTime","bySearch","locationDetails$","StreetAddress","Suburb","PostCode","locationAddress$","address","shortHour","isFullHour","LocationNotes","sunday","DayOfWeek","locationImage$","img","cartLocationNo","canNavigate","_loyaltyAppService","memberId","barcodeType","ui","loyalty","heroText","memberCard","MemberCardNumber","feel","pages","requestLoyaltyIntroductionPages","images","PageId","model","Title","Description","Text","ImgURL","items","DateIssued","getRewardsForMember$","isLoadingLoyaltyInfoForMember$","rewards","getFreeProduct$","OnlineName","POSDisplay","memberCardImage","memberCardNumber","memberEmail","getAccountBalance$","balance","AvailableBalance","accountCharge","balanceDisplayThreshold","uniqueCode","redirect","resetCart","memberData","userModel","closeAllWithAnimation","setSignUpStep","resetValidation","resetValidationState","defaultLabel","isAuthorized$","MemberName","isGuestModeEnabled","authorizationType","accountLogin","MobilePhone","unverifiedEmailQuickLogin","canOmmit","guestData","includeUniqueCode","memberDetails","email","EmailAddress","cellNumber","authorizationStep","isMemberLoading$","restoreStatusTimeout","loadingStatusAutoChange$","verifyMobilePhoneStatus$","tokenMobilePhoneStatus$","status1","status2","loadingProperty","successProperty","failedProperty","observer","loadingState","extractSubValue","successState","failedState","success","clearTimeout","verifyLinkRewardsAccount","partialMemberSignUpError","signIn","incorrectPassword","tokenForPhone","isSending","tokenForEmail","guidToken","NewPassword","forgotPassword","login","flag","resetMemberDataFields","memberState","accountId","resetVerifyFlags","restoreEmailVerificationFlags","phoneNo","reject","_pageMockContainer","PageNo","PageName","SpecialPriceQuantity","SpecialPrice","SpecialPriceSelection","PriceChangeMode","PriceChangeValue","UpsellText","HideFromKiosk","skipWhile","activations","whatsIncludedPage","suggestedExtrasPage","_OriginalPage","MenuFlowItems","activation","PLU","Plu","MenuFlowPageId","menuFlowDetails$","formValues","orderType","Details","labelToName","CustomerFriendlyName","_Value","getOrderTypesForCartsLocation$","types","forceRecalculate","orderTypes","isDisabled","orderSummary$","summary","statePickupTime","getReorder$","reorder","OrderId","PickupTime","reorderItemsMappedFromOrder$","orderItems","itemsMenuFlow","itemsSimple","orderItem","paymentProvider","_queryParamsService","_cryptoService","navigateToLocationsSearchView","navigateToProfileView","navigateToProfileLoyaltyHome","navigateToHomeView","isHomePage$","isLoyaltyHomePage$","orderingHome","loyaltyHome","extraOptions","excludeWithIds","commonPages","accountPagesList","filtered","accountPages$","Url","freeValidProducts","Counter","customMap","defaultMap","mappedName","targetMap","isAccountPage$","getCurrentRouteQueryParams$","decrypt","decryptOrderData","extractOrderConfirmationQueryParams$","extractLocationFromQueryParams$","extractOrderDetailsFromQueryParams$","extractLocationFriendlyNameFromQueryParams$","guid","link","transactionId","getTransaction$","transaction","TaxTotal","TotalGross","transactions","TransactionProducts","downloadedDate","isMenuFlow","wizzardMenuFlow$","wizzardSimpleItem$","includeHidden","label","curr","customLabels","labels","edit","no","wizzardMenuFlowTotalSelectedProducts$","totalSelected","wizzardMenuFlowTotalValue$","totalValue","MenuFlowNotes","PosDescription","productState","isPageOneAllowed$","isPageLimitReached$","isPageOneAllowed","productQty","pageLimitReached","isClickable","menuFlowProductQuantity$","nextProductPrice$","quantity","productWizzardQuantity$","pageWizzardQuantity$","isMenuFlowProductSelectable$","canSelect","Ingredients","Modifiers","modifier","ModifierID","ModifierName","selected","limitReached","qty","isProductDisabledByPageLimit$","isProductSelected$","isPageLimitReached","State","isOneAllowed","minPageQty","maxPageQty","wizzardPageTotalQuantity$","wizzardQty","isMenuFlowPageQuantityValid$","isComplete","defaultPrefix","wizzardCollapsePageTitlePrefix$","wizzardAllProductsForMenuFlowPage$","selectedProducts","ProductName","getWizzardErrors$","wizzardProductSpecialInstructions$","wizzardMenuFlowSpecialInstructions$","wizzard","SpecialInstructions","specialInstructionsPipe","Tags","tag","showSpecialInstructionsForProducts","showSpecialInstructionsForMenuFlows","wizzardMenuFlowAddToCart","clearQueryParams","recalculatePrices","decision","IngredientsChanges","IngredientsModified","IngredientsAdded","IngredientsRemoved","IngredientsSwapped","MaximumQuantity","setProductWizzardInstructions","setMenuFlowWizzardInstructions","appSettings","creditCards","filters","geolocation","historyOrders","ingredients","members","onlineMenu","onlineOrders","payment","routes","SubNavService","scrollingTime","activationThreshold","isScrolling","targetRegistry","currentRegistry","currentTargets$","heightUpdate$","registryId","targetId","setDefault","setCurrent","registry","smoothScrollTo","offsetTop","drawCanvasExpandedHeight","delayFor","DelayOperator","queue","errored","DelayMessage","_schedule","scheduleNotification","Notification","shift","BehaviorSubject","_value","hasError","thrownError","getValue","DevComponent","_envBuildToken","_memberService","HIDDEN","MINIMIZED","VISIBLE","devBoxVisibility","stateFilter$","textFilter","sticky","charCode","nodeName","current","_getStore","hide","maximize","getItem","state$","filteredState","autoRestoreState","setRedirect","minimize","restoreState","setProps","unsetRedirect","FirstName","LastName","Email","MobileNumber","cardNo","expDate","save","getUserData","signUp","isSigningUp","reload","production","relativeTimeMr","output","EvpKDF","__decorate","decorators","desc","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__metadata","metadataKey","metadataValue","__awaiter","thisArg","_arguments","P","generator","fulfilled","rejected","Scheduler","SchedulerAction","work","scheduled","execute","AppSettingsEffects","AvailablePickupsEffects","CartEffects","CreditCardEffects","CurrentLocationEffects","FreeProductsImagesEffects","DietaryTagsImagesEffects","LoaderEffects","LatestTransactionsEffects","IngredientsEffects","HistoryOrdersEffects","GeolocationEffects","LocationFiltersEffects","LocationsEffects","MemberCardBarcodesImagesEffects","LoyaltyProductProgramsEffects","LoyaltyMessagesEffects","LoyaltyIntroductionPagesImagesEffects","LoyaltyIntroductionPagesEffects","LocationsImagesEffects","_actions$","requestApiSettings$","apiGetLoyaltyAppInfo","payload","ex","onLocationSuccessRequestDataCalculate$","calculateAvailablePickupOptionsForLocation","openingHours","orderInfo","generatePickupTimesList","asapPickupMins","orderTimeoutBufferMins","startBufferMins","nextTick","_wizzardService","_cartService","onTransferItemToCartValidateAndSetBasicCartProperties$","currentPickupTime","menuFlowDetails","validateWizzardItems","isEditing","cartIsEmpty","isCartLocationNoSet","isCartPickupTimeSet","isOnlineMenuTimeSet","StartTime","EndTime","isAddingToCartFromDifferentLocation","isCurrentPickupTimeDifferentThanCartPickupTime","isCartOnlineMenuTimeDifferentThanCurrent","showEmptyWarningModal","forceCartReset","dispatchActions","convertToSanitizedMenuFlowItem","simpleItem","extraActions","modalParams","swap","activeOrderDecision","addItemToCartAndCheckForAnyUpsells$","fromWizzardMenuFlow","isInteger","productWithId","bundleActions","isNew","showUpsellModal","UpsellMenuFlowId","findDuplicatedMenuFlowAndMerge$","cartMenuFlows","newItem","foundSimilarInCart","isSimilar","Page","foundPage","Product","foundProduct","OriginalPrice","OverridedPrice","PageProductIdentifier","ProductDescription","foundIngredients","productIngredients","ExtraPrice","IngredientPLU","ID","NewIngredientPLU","OldIngredientPLU","OrderItemId","markedHidden","_HideFromKiosk","isMobile","showPopup","closeActiveOrderPromptWhenUsingReorder$","audit","_IsReorder","never","setupWizzardOnCartItemEdit$","saveCartContentsInStorage$","encrypt","removeCartDataFromStorage$","recalculateCartContents$","resetCartOnLastItemRemoved$","_creditCardsService","_paymentExpressPaymentProviderService","requestCardToken$","cardType","detectCardType","cardNumber","expiryDate","dateToApiFormat","demoMode","requestCardTokenForDefaultPaymentProvider","redirectUrl","isDefaultPaymentMethod","successData","saveCard","createCardModel","validateCardOnAfterRedirect$","sessionToken","getCardDetails","appId","response","checkCardsToSaveCardAfterSuccessfulRedirectReturn$","cards","payloadToken","CardId","_SaveAwait","saveCardAfterSuccessfulRedirectReturnCheck$","addMemberCard","NiceName","CardType","ExpirationDate","IsDefault","newCard","onGetTokenSuccessSaveOrSetupCardStateForPayment$","onCreditCardAddRequest$","onCreditCardAddRequestSuccess$","onCreditCardsRequest$","getCardItems","freshCardsList","Items","selectDefaultPaymentMethod$","hasAccountAvailable","activeCardId","defaultCard","firstAvailableCard","onCreditCardRemove$","removeMemberCardRequest","__DEMO__requestConvergeCardToken$","__DEMO__onGetConvergeTokenSuccessSaveOrSetupCardStateForPayment$","setErrorValidationFlagToCardsAwaitingValidationStatusSuccess$","DistinctOperator","keySelector","flushes","subscribeToResult","outerValue","innerValue","outerIndex","innerIndex","innerSub","_useKeySelector","_finalizeNext","OuterSubscriber","onCartPickupTimeUpdateForceUpdateCurrentLocationPickupTime$","removeLocalStorageDataOnReset$","savePickupTimeInLocalStorage$","PlaceOrderTimeout","onLocationSetSaveItToLocalStorage$","_imagesService","onOnlineMenuSuccessRequest$","DietaryTags","dietaryTagIds","onRequestProductImages$","mergeMap","getDietaryTagsImages","onFreeProductsSuccessGetImages$","requestFreeProductImage$","innerHeight","getImageForMemberFreeProduct","_geolocationService","requestGeolocationCoordsBasedOnLocationMode$","getUserGeolocation$","getUserCoords","_onlineOrdersService","requestSingleHistoryOrder$","getOnlineOrder","onRequestHistoryOrders$","getOnlineOrders","memberIds","_productsService","onMenuFlowSuccessRequest$","productIds","onRequestIngredient$","getIngredientsForLocationExtended","_transactionsService","resetLoyaltyProgramOnSignOut$","requestLatestTransactions$","getLatestTransactionsForMember","_locationsService","requestLocations$","getLocationsWithOnlineOrdering","onRestoreCurrentLocationDetailsRestoreFilters$","locationMode","updateModeOnPickupTimeSet$","onCartSelectedNewActiveOrder$","onSuccessLocationsRequestGetImages$","webWidth","webHeight","thumbSizeRation","requestImagesForLocations$","targetImageType","toImageTypeString","imagesFiltered","downloaded","required","getImagesForLocationsByType","predownloadImages","forLocations","forkJoin","preloadImageInMemory","requestIntroductionPages$","apiGetLoyaltyIntroductionPages","DisplayIndex","onLoyaltyIntroductionPagesSuccessRequestGetImages$","requestIntroductionPagesImages$","getImageForLoyaltyIntroductionPage","requestMessagesOnSettingsDownloaded$","requestMessages$","apiGetMessages","requestLoyaltyInfoForCurrentMemberOnAppInit$","hasRequestedPrograms","requestParams","programName","requestLoyaltyProductPrograms$","apiGetLoyaltyProductPrograms","requestMemberBarcodeImage$","getMemberCardBarcode","iif","trueResult","falseResult","defer","MenuFlowDefaultActivationsEffects","MembersEffects","MenuFlowsEffects","MenuFlowImagesEffects","PickupTimeValidateEffects","PaymentsEffects","OrderTypesImagesEffects","OrderTypesEffects","OnlineOrdersEffects","OnlineMenuProductsImagesEffects","OnlineMenuPagesImagesEffects","OnlineMenuEffects","ModalEffects","TopBarEffects","StateEffects","RouterEffects","ReorderEffects","ProductImagesEffects","WizzardEffects","VenueImagesEffects","_membersService","_authService","_sessionService","_jwtService","verifyLinkRewardsAccount$","getMembers","onVerifyLinkRequestMemberDataToUpdateStep$","requestUserDataSuccess$","IsOnlineRegistered","IsEmailValidated","IsMobileValidated","updateHasSucceeded","accountPassword","_getPasswordForQuickLogin","simulateEmailVerifyRequests$","checkGuestMemberToCompleteAccountSetup$","revalidateAndSetGuestData$","phone","memberSignOut$","signOut","initUpdateMemberProfile$","updateMemberProfileData$","validateUserNewProfileData","updateUser","revalidateEmailAndCellAfterProfileUpdate$","isCellValidated","isEmailValidated","signOutIfUserWontValidateDataAfterUpdate$","validateConfirmEmailToken$","validateMemberConfirmEmailToken","confirmEmailAddress$","confirmEmailAddress","validateResetPasswordToken$","validateMemberPasswordResetToken","resetForgottenPassword$","resetForgottenPassword","requestUserData$","quickLoginRequest$","Login","Password","LoginType","sessionKey","quickLoginOnSuccessSetup$","linkRewardsAccountInit$","changeMemberPassword","extractedMobile","MemberGroupId","defaultMemberGroupId","countries","foundCountry","PhonePrefix","hasUpdated","onSuccessLinkingAccountVerifyPhone$","requestUpdateUserData$","onSuccessfulMemberUpdateShowOk$","requestPasswordChange$","OldPassword","updatePasswordRequest","initAuthorization$","loginType","requestLoginValidation$","validateLogin","loginValidationSuccess$","signUpRewardsAccountLinking","returnedActions","requestMemberLogin$","credentials","_storePasswordForQuickLogin","requestJWTLogin$","reqestJWToken","requestMemberLoginSuccess$","validatePhone$","validateMemberByProperty","validateEmail$","requestForgotPassword$","resendForgotPasswordConfirmation","setMemberNewPassword$","initializePartialMemberSignUpProcess$","setPassword","isSetting","newMemberModel","RecievePromo","updateResponse","resendTemporaryVerificationCode","initializeSignUpProcess$","initialState","validatePhone","isValidating","validateEmail","existingMember","requestRegisterMember$","existingMemberChecked","requestRegisterMemberSuccess$","addData","requestSendPhoneVeryficationCode$","verifyPhoneNumber","requestVerifyPhoneCode$","verifyPhoneNumberToken","requestPhoneVeryficationSuccess$","requestVerifyEmail$","isUpdating","log","resendEmailConfirmation","MemberEmail","createSession$","_clearPasswordForQuickLogin","createSession","checkUserSessionOnAppInit$","getSession","validateSession","isValid","SessionKey","AccountId","AuthorizationType","setSessionFlags","removeSessionDataOnError$","removeSession","onLoyaltyProductSuccessRequestGetInfoAboutMemberProducts$","actionsBundle","freeProducts","loyaltyProducts","requestFeeProducts$","apiGetFreeProductsForMemberRequest","requestLoyaltyProducts$","apiGetLoyaltyProductsForMemberRequest","requestMemberCodeCheck$","memberCode","checkMemberUniqueCode","setStepAfterUniqueCodeRequest$","showBirthdayPopupOnSignIn$","birthdayRewards","Birthday","triggerRequestAccountBalanceForMemberAfterSuccessTransaction$","isMemberAuthorized","hasPaidWithAccountCharge","triggerRequestAccountBalanceForMemberWhenAuthorized$","HasAccount","accountBalance","requestAccountBalance$","apiGetMemberAccountBalance","storage","_menuFlowsService","requestDefaultActivationOnMenuFlowDetailsForCartEditItem$","cartOnlineMenu","requireDefaultActivation","requestDefaultActivationOnMenuFlowDetailsSuccessRequest$","onlineMenuItem","onMenuFlowDefaultActivationsRequest$","getDefaultActivation","first","filterMenuFlowsIds","menuFlowIds","onRequestMenuFlowImages$","getMenuFlowImages","onRequestMenuFlowDetails$","getMenuFlowDetailsForLocation","onMenuFlowSuccessRequestGetUpsell$","upsellMenuFlow","upsell","TakeWhileOperator","predicate","inclusive","nextOrComplete","predicateResult","Boolean","_modalsSharedService","_animationTimeout","animateTimeout","closeAllModalsWithExeptionTypes$","onModalAnyAction$","preventGlobalScroll","modalContainer$","container","isScrollVisible","clientHeight","overflowY","bodyWidth","clientWidth","outerWidth","paddingRight","onModalCloseRequest$","onModalAnimateOut$","onModalBackgroundClick$","bgClickClose","_onlineMenuService","onPickupTimeSetGetOnlineMenu$","isOnLocationDetailsPage","pickupTimeIsSet","pickupTimeMatchesOnlineMenuRange","isHourInTimeRange","Hour","isSameDay","DateLocalISO","pickupDate","getLocalISOFormatDate","requestOnlineMenu$","getMenuPages","menuDate","onOnlineMenuSuccessGetPagesImages$","imageTypeName","pageIds","foundImg","imgFound","requestOnlineMenuPagesImages$","getImagesForOnlineMenuPages","_imgParams","onCartItemEditRequestImageForItem$","onPageImagesRequest$","getImagesForOnlineMenuPageProducts","onOnlineOrderCreateRequest$","calculatedOrder","isRecalculating","LoyaltyAppId","orderState","sendAutoReceiptEmail","PartialMember","extendWithOrderTypeSurcharges","createNewOnlineOrder","onOnlineOrderSendConfirmationEmail$","sendEmailWithOrderConfirmation","onOnlineOrderRecalculateRequest$","_tempOrderModel","convertCart","saleName","OrderTypeId","OnlineOrderType","RemoveModifiers","allowModifiers","orderModel","recalculateOnlineOrder","onlineOrderRequest$","sendOrderReceipt$","sendOnlineOrderReceipt","_loylatyAppService","requestOrderTypeForLocation$","requestOrderTypes$","apiGetOrderTypes","onSuccessOrderTypeRequestImages$","filterOut","orderTypesIds","requestImagesForOrderTypes$","getImageForOrderType","_paymentsService","paymentInitWithPrevalidatedCard$","paymentHasErrors","paymentState","TransactionId","paymentInitAramarkFlow$","stepValidateGuestData$","mobilePhoneNumber","byPhone","byEmail","nextStep","memberByPhone","memberByEmail","updatedModel","stepValidateGuestCardTokens$","isGettingToken","stepCreateOrder$","canPostOnlineOrder","isPaymentProcessValid","stepPay$","createRequest","isCreating","onlineOrder","cardDetails","isAccountChargeSelected","isCalculating","payWithAccountCharge","Amount","SetOrderAsValidatedOnSuccess","PaymentMethod","TotalLeftToPay","PaymentAccountId","PaymentProvider","dateToISOString","pay","stepPaymentStatusCheck$","getPaymentStatus","cleanUpOnSuccessfulPayment$","sendAutoConfirmationEmail","_pickupsService","validateCartPickupTimeAndOnlineMenuTime$","cartObj","isPickupOrderTimeValid$","closeAll","NONE","showButton","orderingTimeInfo","validateSelectedPickupTimeObjForOnlineMenu","requestProductsImagesForMountedMenuFlow$","getProductImages","_activeModalsWithReordersRegistry","setupModalAndRequestDataForReorder$","reorderInitCalculations","requestDataForReorder$","menuFlowsDetails","includePrices","menuFlowsRequests","relevantMenuFlowsIds","MenuFlowActivations","menuFlowActivation","finalPayload","covertOrderToCart","upsellMenuflowsRequsts","MenuFlow","upsellsMenuFlowDetails","currentMenuFlowProductIds","getFlatProductsFromMenuFlow","unduplicatedProductIds","cleanupAfterReorderModalsIsClosed$","redirectToHomeOnSuccessfulSignIn$","isEmailConfrimationPage","isResetPasswordPage","isError404Page","isLoyaltyModeOnly","saveState$","restoreSavedState$","stateEncrypted","exit","stateDecrypted","currentLocation","availablePickups","pickup","onRouteChange$","isOnLocationPage","showOrderMore","showCartIcon","urlAfterRedirects","isVisible","requestImagesForVenues$","exhaustMap","getVenueImagesByType","forVenue","_queryModalIds","cancelWizzard$","initWizzardFlow$","showModalForSimpleItem$","stepInitMenuFlowWizzard$","modalMenuFlowPreSetup","stepSilentInitMenuFlowWizzard$","stepRequestData$","stepActivateMenuFlowProducts$","downloadingIngredients","downloadingActivations","modifiers","menuFlowItem","createMenuFlowItemFromMenuFlowDetailsModel","MinQty","Kilojoules","KioskAutoAddQty","targetPage","canUseModifiers","generateWizzardMenuFlowItem","_AutoAddProducts","stepMountMenuFlow$","extractType","wizzardMenuFlowDetails","onUpsellSetupRequest$","isDownloadingAnyMenuFlowDefaultActivation","isDownloadingAnyIngredientModifiers","MenuFlowDescription","MenuFlowName","OverridePrice","setWizzardForUpsell$","onWizzardProductSelectedActivateDefaultModifier$","requestPricesUpdateWizzardMenuFlowPricesOnChange$","updatePricesWizzardMenuFlowDetaisl$","priceObj","calculatePricesFroMenuFlow","HasErrors","validateErrorsOnWizzardChange$","openWizzardByUrlParams$","canOrder","isLocationDetailsView","transformedParams","param","menuflowid","productid","pageProduct","removeQueryParamsOnQueryModalClose$","stateMetaReducers","reducer","isOnline","deviceType","apiSettings","appSettingsReducer","online","availablePickupsReducerFn","calculatedDate","availablePickupsReducer","cartReducerFn","json","newItemsArray","cartReducer","cartPopupReducer","download","isRemoving","removedDate","creditCardReducerFn","isNewDefault","creditCardReducer","currentLocationReducerFn","currentLocationReducer","dietaryTagsImagesReducerFn","newToConcat","foundItem","newImage","ParentId","dietaryTagsImagesReducer","freeProductsImagesReducerFn","recalculatedState","freeProductsImagesReducer","isRequesting","geolocationReducer","historyOrdersReducerFn","mapIds","oldToUpdate","newToAdd","foundOrder","historyOrdersReducer","ingredientsReducerFn","foundIngredientObj","ProductID","_LocationNo","ingredientsReducer","latestTransactionsReducerFn","latestTransactionsReducer","loaderReducer","locationsReducerFn","locationsReducer","pickupMode","locationsFiltersReducerFn","locationsFiltersReducer","locationImagesReducerFn","default","forList","forDetails","forWeb","forWebThumb","forMobile","imagesType","newImages","previousImage","locationImagesReducer","loyaltyIntroductionPagesReducerFn","loyaltyIntroductionPagesReducer","loyaltyIntroductionPagesImagesReducerFn","loyaltyIntroductionPagesImagesReducer","loyaltyMessagesReducerFn","loyaltyMessagesReducer","loyaltyProductProgramsReducerFn","ProgramName","loyaltyProductProgramsReducer","memberCardBarcodesImagesReducerFn","memberCardBarcodesImagesReducer","forgottenPasswordReset","isResetting","emailConfirm","isConfirming","updateHasFailed","changePassword","isChanging","isSigningIn","signUpPartialMember","jwt","verifyPhone","isVerifying","verifyEmail","linkRewardsAccount","isLinking","linkedDate","memberReducerFn","accountIsValid","memberReducer","menuFlowDefaultActivationsReducerFn","menuFlowDefaultActivationsReducer","menuFlowImagesReducerFn","menuFlowImagesReducer","menuFlowsReducerFn","foundIndex","findIndex","menuFlowsReducer","modalReducerFn","modalReducer","onlineMenuReducerFn","onlineMenuReducer","onlineMenuFiltersReducerFn","onlineMenuFiltersReducer","onlineMenuPagesImagesReducerFn","stateAcc","o","onlineMenuPagesImagesReducer","onlineMenuProductsImagesReducerFn","onlineMenuProductsImagesReducer","updateRequest","downloadRequest","recalculateRequest","sendEmailReceipt","onlineOrdersReducerFn","onlineOrdersReducer","orderTypesReducerFn","orderTypesReducer","orderTypesImagesReducerFn","orderTypesImagesReducer","Errors","PaymentStepStatus","paymentsReducerFn","paymentsReducer","productImagesReducerFn","productImagesReducer","reorderReducerFn","_IsSelected","reorderReducer","routeReducerFn","previous","routerState","firstChild","fragment","routeReducer","topBarReducerFn","isSticky","isCartVisible","isBackToLandingVisible","isBackToStoreVisible","topBarReducer","venueImagesReducerFn","notExistingImages","venueImagesReducer","wizzardReducerFn","specialInstruction","pageFromPriceObj","productFromPriceObj","TotalValue","_IsOptional","mod","specialInstructions","wizzardReducer","WizzardStateModule","VenuesImagesStateModule","TopBarStateModule","AppStateStateModule","RouterStateModule","ReorderStateModule","ProductImagesStateModule","PickupTimeValidateStateModule","PaymentStateModule","PaymentsDemoEffects","OrderTypesImagesStateModule","OrderTypesStateModule","OnlineOrderStateModule","OnlineMenuProductsImagesStateModule","OnlineMenuPagesImagesStateModule","OnlineMenuFiltersStateModule","OnlineMenuStateModule","ModalsStateModule","MenuFlowsStateModule","MenuFlowImagesStateModule","MenuFlowDefaultActivationsStateModule","MembersStateModule","MemberCardBarcodesImagesStateModule","LoyaltyProductProgramsStateModule","LoyaltyMessagesStateModule","LoyaltyIntroductionPagesImagesStateModule","LoyaltyIntroductionPagesStateModule","LocationsImagesStateModule","LocationsFiltersStateModule","LocationsStateModule","LoaderStateModule","LatestTransactionsStateModule","IngredientsStateModule","HistoryOrdersStateModule","GeolocationStateModule","FreeProductsImagesStateModule","DietaryTagsImagesStateModule","CurrentLocationStateModule","CreditCardsStateModule","CartPopupStateModule","CartStateModule","AvailablePickupsStateModule","AppSettingsStateModule","StateSharedModule","forFeature","__DEMO__stepCreateOrderFor$","__DEMO__stepPay$","calculated","__DEMO__stepPaymentStatusCheck$","metaReducers","stateModules","FreeProductImageRequest","FreeProductImageSuccessRequest","FreeProductImageErrorRequest","noSideEffects","makeParamDecorator","parentClass","metaCtor","ParamDecoratorFactory","annotationInstance","ParamDecorator","annotation","cls","unusedKey","parameters","ngMetadataName","annotationCls","Inject","Optional","Self","SkipSelf","InjectFlags","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","ɵɵdefineInjectable","opts","ɵɵdefineInjector","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","NG_PROV_DEF_FALLBACK","ɵprovFallback","ngInjectableDef","ngInjectorDef","overriddenName","newLineIndex","concatStringsWithSpace","before","after","__forward_ref__","forwardRef","forwardRefFn","resolveForwardRef","isForwardRef","_injectImplementation","__globalThis","globalThis","__window","__self","self","WorkerGlobalScope","__global","global","_global","NG_COMP_DEF","ɵcmp","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_LOC_ID_DEF","ɵloc","NG_FACTORY_DEF","NG_ELEMENT_ID","__NG_ELEMENT_ID__","InjectionToken","_desc","INJECTOR","THROW_IF_NOT_FOUND","NEW_LINE","USE_VALUE","_currentInjector","setCurrentInjector","injector","former","setInjectImplementation","impl","injectInjectorOnly","Default","injectRootLimpMode","ɵɵinject","inject","notFoundValue","injectableDef","injectArgs","meta","NullInjector","NgModuleRef","NgModuleFactory","deepForEach","addToArray","removeFromArray","newArray","list","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","array","value1","value2","keyValueArrayGet","middle","ChangeDetectionStrategy","OnPush","ViewEncapsulation$1","Emulated","Native","ShadowDom","EMPTY_OBJ","EMPTY_ARRAY","_renderCompCount","ɵɵdefineComponent","componentDefinition","typePrototype","declaredInputs","providersResolver","decls","vars","template","consts","ngContentSelectors","hostBindings","hostVars","hostAttrs","contentQueries","outputs","exportAs","onChanges","onInit","ngOnInit","doCheck","ngDoCheck","afterContentInit","ngAfterContentInit","afterContentChecked","ngAfterContentChecked","afterViewInit","ngAfterViewInit","afterViewChecked","ngAfterViewChecked","ngOnDestroy","onPush","changeDetection","directiveDefs","pipeDefs","viewQuery","setInput","schemas","tView","directiveTypes","feature","pipeTypes","invertObject","extractDirectiveDef","extractPipeDef","getComponentDef","autoRegisterModuleById","ɵɵdefineNgModule","bootstrap","declarations","transitiveCompileScopes","ɵɵsetNgModuleScope","scope","ngModuleDef","getNgModuleDef","secondary","newLookup","minifiedKey","publicName","declaredName","ɵɵdefineDirective","ɵɵdefinePipe","pipeDef","getFactoryDef","throwNotFound","isLView","isLContainer","isContentQueryHost","tNode","isComponentHost","isDirectiveHost","isComponentDef","isRootView","setDocument","getDocument","isProceduralRenderer","domRendererFactory3","rendererType","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","load","getComponentLViewByIndex","nodeIndex","hostView","slotValue","readPatchedLView","isCreationMode","viewAttachedToChangeDetector","getConstant","resetPreOrderHookFlags","updateTransplantedViewCount","lContainer","amount","viewOrContainer","instructionState","lFrame","createLFrame","bindingsEnabled","checkNoChangesMode","getBindingsEnabled","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","getPreviousOrParentTNode","previousOrParentTNode","setPreviousOrParentTNode","isParent","getIsParent","setIsNotParent","getCheckNoChangesMode","setCheckNoChangesMode","getBindingRoot","bindingRootIndex","bindingStartIndex","getBindingIndex","bindingIndex","nextBindingIndex","incrementBindingIndex","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentDirectiveDef","tData","getCurrentQueryIndex","setCurrentQueryIndex","enterDI","newView","newLFrame","allocLFrame","enterView","currentLFrame","childLFrame","child","selectedIndex","elementDepthCount","currentNamespace","currentSanitizer","leaveViewLight","oldLFrame","leaveDI","leaveView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","ɵɵnamespaceHTML","registerPostOrderHooks","directiveStart","directiveEnd","directiveDef","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","hooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentView","currentNodeIndex","nodeIndexLimit","lastNodeIndexFound","callHook","isInitHook","hook","directive","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","setUpAttributes","native","attrs","isProc","namespaceURI","attrName","attrVal","setAttributeNS","isAnimationProp","isNameOnlyAttributeMarker","marker","charCodeAt","mergeHostAttrs","dst","src","srcMarker","mergeHostAttribute","markerInsertPosition","dstValue","hasParentInjector","parentLocation","getParentInjectorIndex","getParentInjectorViewOffset","getParentInjectorView","startView","viewOffset","parentView","renderStringify","stringifyForError","defaultScheduler","requestAnimationFrame","ɵɵresolveWindow","ownerDocument","defaultView","ɵɵresolveDocument","maybeUnwrapFn","Function","includeViewProviders","setIncludeViewProviders","nextNgElementId","getOrCreateNodeInjectorForNode","existingInjectorIndex","getInjectorIndex","firstCreatePass","injectorIndex","insertBloom","blueprint","parentLoc","getParentInjectorLocation","parentIndex","parentLView","parentData","footer","hostTNode","diPublicInInjector","bloomBit","BLOOM_SIZE","mask","b6","b5","getOrCreateInjectable","bloomHash","tokenId","NodeInjector","previousTView","hostTElementNode","Host","shouldSearchParent","bloomHasToken","instance","searchTokensOnInjector","NOT_FOUND","moduleInjector","previousInjectImplementation","currentTView","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","canAccessViewProviders","isHostSpecialCase","nodeProviderIndexes","providerIndexes","tInjectables","injectablesStart","directivesStart","cptViewProvidersCount","endIndex","providerTokenOrDef","dirDef","previousIncludeViewProviders","directiveIndex","preOrderHooks","preOrderCheckHooks","injectorView","isFirstHostTNode","_tNode","_lView","ɵɵgetInheritedFactory","getPrototypeOf","ɵɵgetFactoryOf","typeAny","injectorDef","getDebugContext","getOriginalError","defaultErrorLogger","ErrorHandler","_console","originalError","_findOriginalError","_findContext","errorLogger","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","getTypeName","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","_devMode","_runModeLocked","isDevMode","enableProdMode","InertBodyHelper","defaultDoc","inertDocument","implementation","createHTMLDocument","inertBodyElement","inertHtml","getInertBodyElement","DOMParser","getInertBodyElement_DOMParser","getInertBodyElement_InertDocument","getInertBodyElement_XHR","html","encodeURI","xhr","XMLHttpRequest","responseType","send","parseFromString","templateEl","inertBody","documentMode","stripCustomNsAttrs","elAttrs","attributes","childNode","nodeType","Node","ELEMENT_NODE","SAFE_URL_PATTERN","DATA_URL_PATTERN","_sanitizeUrl","tagSet","tags","merge","sets","inertBodyHelper","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","OPTIONAL_END_TAG_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","SRCSET_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","buf","nextNode","traverseContent","startElement","TEXT_NODE","chars","endElement","checkClobberedElement","tagName","srcset","elAttr","lower","encodeEntities","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","outerHTML","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","_sanitizeHtml","unsafeHtmlInput","unsafeHtml","mXSSAttempts","parsedHtml","sanitizer","safeHtml","sanitizeChildren","getTemplateContent","content","SecurityContext","HTML","STYLE","SCRIPT","URL","RESOURCE_URL","SAFE_STYLE_VALUE","URL_RE","_sanitizeStyle","urlMatch","outsideSingle","outsideDouble","ɵɵsanitizeHtml","getSanitizer","sanitize","ɵɵsanitizeStyle","unsafeStyle","ɵɵsanitizeUrl","unsafeUrl","ɵɵdefaultStyleSanitizer","doSanitizeValue","attachPatchData","throwMultipleComponentError","throwMixedMultiProviderError","classIndexOf","classToSearch","startingIndex","isCssClassMatching","cssClassToMatch","isProjectionMode","isInlineTemplate","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","nodeAttrs","nameOnlyMarkerIdx","skipToNextSelector","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","compareAgainstClassName","bindingsMode","maybeAttrName","attr","isNodeMatchingSelectorList","isSelectorInSelectorList","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","chunk","stringifyCSSSelector","currentChunk","valueOrMarker","attrValue","NO_CHANGE","getLViewParent","getFirstLContainer","getNearestLContainer","getNextLContainer","ɵɵadvance","delta","selectIndexInternal","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","refreshContentQueries","queryStartIdx","directiveDefIdx","elementCreate","createElementNS","createLView","host","tHostNode","rendererFactory","getOrCreateTNode","adjustedIndex","createTNode","renderView","executeViewQueryFn","templateFn","executeTemplate","staticContentQueries","staticViewQueries","components","hostLView","renderComponent","incompleteFirstPass","refreshView","hooksInitPhaseCompleted","movedViews","movedLView","insertionLContainer","embeddedLView","embeddedTView","expandoInstructions","expandoStartIndex","refreshComponent","firstUpdatePass","renderComponentOrTemplate","normalExecutionPath","creationModeIsActive","rf","prevSelectedIndex","executeContentQueries","createDirectivesInstances","initialInputs","isComponent","addComponentLogic","setInputsFromAttrs","expando","elementIndex","dirIndex","invokeHostBindingsInCreationMode","saveResolvedLocalsInData","viewData","localRefExtractor","localNames","localIndex","getOrCreateTComponentView","createTView","viewIndex","directives","pipes","initialViewLength","queries","cleanup","directiveRegistry","pipeRegistry","tParent","directiveStylingLast","propertyBindings","mergedAttrs","tViews","projectionNext","projection","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","generatePropertyAliases","inputAliasMap","propStore","internalName","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","childComponentLView","resolveDirectives","localRefs","hasDirectives","markAsComponentHost","exportsMap","totalDirectiveHostVars","initTNodeFlags","generateExpandoInstructionBlock","preOrderHooksFound","preOrderCheckHooksFound","baseResolveDirective","saveNameToExportMap","addHostBindingsToExpandoInstructions","defs","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","directiveInputs","generateInitialInputs","growHostVarsSpace","directiveCount","providerCount","numberOfDirectives","directiveFactory","nodeInjectorFactory","componentView","addToViewTree","initialInputData","privateName","inputsToStore","createLContainer","hostNative","componentHostIdx","refreshContainsDirtyView","componentTView","lViewOrLContainer","markViewDirty","detectChangesInternal","detectChangesInRootView","rootContext","rootComponent","viewQueryFn","component","CLEAN_PROMISE","getLCleanup","getTViewCleanup","loadComponentRenderer","currentDef","textBindingInternal","textContent","getLContainer","embeddedView","getContainerRenderParent","tViewNode","nativeParentNode","applyToElementOrContainer","lNodeToHandle","beforeNode","rNode","nativeAppendChild","nativeInsertBefore","nativeParent","renderParent","applyView","addRemoveViewFromContainer","insertMode","detachMovedView","declarationContainer","declarationViewIndex","detachView","removeIndex","indexInContainer","viewToDetach","declarationLContainer","removedLView","lQueries","destroyLView","rootView","cleanUpView","firstView","getParentState","toCall","tCleanup","lCleanup","idxOrTargetGetter","useCaptureOrSubIdx","getRenderParent","parentTNode","nativeAppendOrInsertBefore","getNativeAnchorNode","getBeforeNodeForView","childEl","childTNode","anchorNode","viewIndexInContainer","nextViewIndex","firstTNodeOfView","getFirstNativeNode","tNodeType","elIcuContainerChild","rNodeOrLContainer","componentHost","firstProjectedTNode","applyNodes","isProjection","rawSlotValue","applyProjectionRecursive","tProjectionNode","componentLView","nodeToProjectOrRNodes","writeDirectStyle","cssText","writeDirectClass","R3ElementRef","R3TemplateRef","R3ViewContainerRef","ViewRef","_cdRefInjectingView","_appRef","detach","cleanupFn","vcRef","appRef","collectNativeNodes","lNode","lViewInAContainer","lViewFirstChildTNode","nodesInSlot","RootViewRef","createElementRef","ElementRefToken","createTemplateRef","TemplateRefToken","_declarationView","_declarationTContainer","elementRef","declarationViewLQueries","createContainerRef","ViewContainerRefToken","_lContainer","_hostTNode","_hostView","insert","componentFactory","projectableNodes","ngModuleRef","contextInjector","parentInjector","ngModule","componentRef","allocateContainerIfNeeded","prevIdx","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","containerLength","insertView","attachToViewContainerRef","newIndex","viewRefsArr","detachedView","startTNode","commentNode","injectChangeDetectorRef","isPipe","ChangeDetectorRef","SWITCH_CHANGE_DETECTOR_REF_FACTORY","INJECTOR_SCOPE","NOT_YET","CIRCULAR","EMPTY_ARRAY$2","NULL_INJECTOR","getNullInjector","createInjectorWithoutInjectorInstances","defType","additionalProviders","R3Injector","records","injectorDefTypes","dedupStack","provider","processProvider","processInjectorType","makeRecord","assertNotDestroyed","service","previousInjector","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","injectorErrorName","tokenPath","defOrWrappedDef","parents","isDuplicate","importTypesWithProviders","imported","defProviders","injectorType","ngModuleType","isTypeProvider","isValueProvider","providerToFactory","existing","multiRecord","paramLength","inheritedInjectableDef","typeName","unwrappedProvider","useExisting","classRef","ngModuleDetail","INJECTOR_IMPL","_resolveInjectorDefTypes","Injector","NULL","ANALYZE_FOR_ENTRY_COMPONENTS","componentResourceResolutionQueue","componentDefPendingResolution","unwrapResponse","computeStaticStyling","writeToHost","_symbolIterator","getSymbolIterator","getOwnPropertyNames","looseIdentical","WrappedValue","wrapped","isWrapped","isListLikeIterable$1","isJsObject$1","updateBinding","getBinding","bindingUpdated","is","bindingUpdated2","exp1","exp2","different","bindingUpdated3","exp3","bindingUpdated4","exp4","ɵɵattribute","interpolation1","v0","suffix","interpolation2","v1","interpolation3","v2","ɵɵtemplate","attrsIndex","localRefsIndex","tViewConsts","embeddedTViewNode","comment","ɵɵreference","ɵɵdirectiveInject","ɵɵinjectAttribute","attrNameToInject","attrsLength","ɵɵinvalidFactory","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","isClassBased","ɵɵelementStart","elementStart","ɵɵelementEnd","elementEnd","ɵɵelement","ɵɵelementContainerStart","ɵɵelementContainerEnd","ɵɵelementContainer","ɵɵgetCurrentView","isObservable","ɵɵlistener","listenerFn","eventTargetResolver","useCapture","listenerInternal","ɵɵcomponentHostSyntheticListener","isTNodeDirectiveHost","processOutputs","resolved","lCleanupIndex","existingListener","tNodeIdx","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","propsLength","idx","executeListenerWithErrorHandling","wrapWithPreventDefault","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","preventDefault","returnValue","ɵɵnextContext","level","nestingLevel","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","ɵɵpropertyInterpolate","ɵɵpropertyInterpolate1","interpolatedValue","ɵɵpropertyInterpolate2","ɵɵpropertyInterpolate3","EMPTY_ARRAY$3","markDuplicates","tStylingKey","isPrevDir","isClassBinding","tStylingAtIndex","isMap","cursor","foundDuplicate","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","parseClassNameNext","consumeWhitespace","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","classStringParser","suffixOrSanitizer","styleSanitizer","stylingFirstUpdatePass","updateStyling","checkStylingMap","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","oldKeyValueArray","newKeyValueArray","oldIndex","oldKey","newKey","setKey","styleKeyValueArray","unwrappedValue","isHostBindings","stylingKey","hostDirectiveDef","residual","collectStylingFromTAttrs","collectStylingFromDirectives","templateStylingKey","bindings","tStylingKeyWithStatic","isHostBinding","tBindings","tmplHead","tmplTail","isKeyDuplicateOfStatic","staticKeyValueArray","currentDirective","desiredMarker","currentMarker","tRange","isStylingValuePresent","findStylingValue","isProcedural","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵtext","textNative","createTextNode","ɵɵtextInterpolate","ɵɵtextInterpolate1","interpolated","ɵɵtextInterpolate2","ɵɵtextInterpolate3","ɵɵclassMapInterpolate1","ɵɵclassMapInterpolate2","ɵɵclassMapInterpolate3","ɵɵclassMapInterpolate4","v3","ɵɵclassMapInterpolate5","v4","ɵɵclassMapInterpolate6","i4","v5","ɵɵhostProperty","ɵɵupdateSyntheticHostBinding","LifecycleHooksFeature","rootTView","ɵɵInheritDefinitionFeature","definition","superType","constructor","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","defData","ngInherit","prevViewQuery","prevContentQueries","prevHostBindings","SimpleChange","firstChange","ɵɵNgOnChangesFeature","ngOnChanges","ngOnChangesSetInput","simpleChangesStore","getSimpleChangesStore","previousChange","resolveProvider$1","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesProvidersFactoryExist","doesViewProvidersFactoryExist","factoryFn","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","existingCallbacksIndex","multiFactory","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","ComponentFactory","_NullComponentFactoryResolver","ComponentFactoryResolver","ElementRef","SWITCH_ELEMENT_REF_FACTORY","RendererFactory2","RendererStyleFlags2","Important","DashCase","Renderer2","SWITCH_RENDERER2_FACTORY","nodeAtIndex","Sanitizer","Version","full","major","minor","patch","VERSION","DefaultIterableDifferFactory","trackByFn","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","_nextPrevious","_nextAdded","_nextMoved","_nextIdentityChange","collection","check","_reset","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","_truncate","isDirty","nextRecord","previousRecord","_prev","_remove","_moveAfter","_reinsertAfter","_addAfter","IterableChangeRecord_","reinsertRecord","_addToMoves","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","put","toIndex","_prevDup","_nextDup","_DuplicateItemRecordList","_tail","atOrAfterIndex","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_appendAfter","_previousMapHead","_changesHead","_changesTail","_nextChanged","_forEach","_maybeAddToChanges","_getOrCreateRecordForKey","_insertBeforeOrAppend","KeyValueChangeRecord_","_addToAdditions","_addToChanges","IterableDiffers","supports","copied","KeyValueDiffers","kv","keyValDiff","defaultIterableDiffers","defaultKeyValueDiffers","TemplateRef","SWITCH_TEMPLATE_REF_FACTORY","ViewContainerRef","SWITCH_VIEW_CONTAINER_REF_FACTORY","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","ComponentFactoryResolver$1","componentDef","ComponentFactory$1","toRefArray","nonMinified","templateName","SCHEDULER","componentType","isBoundToModule","rootSelectorOrNode","tElementNode","rootViewInjector","hostRenderer","elementName","hostRNode","elementOrSelector","rElement","rootFlags","isIsolated","clean","playerHandler","rootLView","viewRenderer","nodesforSlot","hostFeatures","rootTNode","ComponentRef$1","_rootLView","destroyCbs","changeDetectorRef","u","localeEn","LOCALE_DATA","registerLocaleData","extraData","LocaleDataIndex","findLocaleData","normalizedLocale","getLocaleData","parentLocale","getLocaleCurrencyCode","CurrencyCode","PluralCase","ng","common","locales","FirstDayOfWeek","WeekendRange","CurrencySymbol","CurrencyName","Directionality","setLocaleId","actual","msg","expected","comparison","modules","NgModuleRef$1","_parent","_bootstrapComponents","componentFactoryResolver","ngLocaleIdDef","_r3Injector","injectFlags","NgModuleFactory$1","moduleType","registerNgModuleType","incoming","ɵɵpureFunction1","slotOffset","pureFn","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","pureFunction3Internal","ɵɵpureFunction4","bindingRoot","getPureFunctionReturnValue","ɵɵpureFunction5","exp5","ɵɵpureFunction6","exp6","ɵɵpureFunctionV","exps","pureFunctionVInternal","returnValueIndex","lastReturnValue","ɵɵpipe","pipeName","pipeFactory","pipeInstance","ɵɵpipeBind1","unwrapValue$1","isPure","ɵɵpipeBind2","ɵɵpipeBind3","ɵɵpipeBindV","unwrap","EventEmitter","isAsync","__isAsync","sink","generatorOrNext","schedulerFn","errorFn","completeFn","symbolIterator","QueryList","dirty","_results","resultsTree","flatten","last","LQuery_","queryList","setDirty","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","indexInDeclarationView","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","descendants","isStatic","read","TQueries_","queriesForTemplateRef","childQueryIndex","tqueryClone","tquery","TQuery_","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","matchIdx","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","typePredicate","nodeMatchIdx","directiveOrProviderIdx","createResultForNode","matchingIdx","materializeViewResults","queryIndex","lQuery","tViewData","tQueryMatches","matchedNodeIdx","ɵɵqueryRefresh","collectQueryResults","lViewResults","embeddedLViews","notifyOnChanges","ɵɵstaticViewQuery","descend","viewQueryInternal","ɵɵviewQuery","createTQuery","createLQuery","ɵɵcontentQuery","contentQueryInternal","ɵɵstaticContentQuery","tViewContentQueries","ɵɵloadQuery","track","ɵɵtemplateRefExtractor","ɵɵinjectPipeChangeDetectorRef","APP_INITIALIZER","ApplicationInitStatus","appInits","initialized","donePromise","rej","asyncInitPromises","initResult","all","APP_ID","APP_ID_RANDOM_PROVIDER","_randomChar","fromCharCode","PLATFORM_INITIALIZER","PLATFORM_ID","APP_BOOTSTRAP_LISTENER","Console","LOCALE_ID$1","DEFAULT_CURRENCY_CODE","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler_compileModuleSync__POST_R3__","Compiler_compileModuleSync","Compiler_compileModuleAsync","Compiler_compileModuleAndAllComponentsSync__POST_R3__","declaration","Compiler_compileModuleAndAllComponentsSync","Compiler_compileModuleAndAllComponentsAsync","Compiler","compileModuleSync","compileModuleAsync","compileModuleAndAllComponentsSync","compileModuleAndAllComponentsAsync","COMPILER_OPTIONS","scheduleMicroTask","Zone","NgZone","maybeDelayChangeDetection","enableLongStackTrace","shouldCoalesceEventChangeDetection","hasPendingMacrotasks","hasPendingMicrotasks","isStable","onUnstable","onMicrotaskEmpty","onStable","onError","assertZonePatched","_nesting","_outer","_inner","lastRequestAnimationFrameId","nativeRequestAnimationFrame","nativeCancelAnimationFrame","unpatchedRequestAnimationFrame","__symbol__","unpatchedCancelAnimationFrame","updateMicroTaskStatus","checkStable","onInvokeTask","task","applyThis","applyArgs","onEnter","invokeTask","onLeave","onInvoke","invoke","onHasTask","hasTaskState","hasTask","change","_hasPendingMicrotasks","microTask","macroTask","onHandleError","scheduleEventTask","EMPTY_PAYLOAD","noop$1","runTask","cancelTask","runGuarded","isInAngularZone","NoopNgZone","Testability","_ngZone","_pendingCount","_isZoneStable","_didWork","_callbacks","taskTrackingZone","_watchAngularEvents","assertNotInAngularZone","_runCallbacksIfReady","cb","timeoutId","doneCb","pending","getPendingTasks","updateCb","macroTasks","creationLocation","addCallback","using","exactMatch","TestabilityRegistry","_applications","_testabilityGetter","addToWindow","findInAncestors","testability","findTestabilityInTree","setTestabilityGetter","getter","_platform","_NoopGetTestability","compileNgModuleFactory","compilerOptions","moduleFactory","compilerProviders","compiler","globalNg","ɵcompilerFacade","resourceLoader","ResourceLoader","resourceResolver","componentResolved","urlMap","cachedResourceResolve","resp","promises","templateUrl","styleUrls","styleOffset","styleUrl","fullyResolved","ALLOW_MULTIPLE_PLATFORMS","NgProbeToken","createPlatformFactory","parentPlatformFactory","extraProviders","platform","getPlatform","injectedProviders","PlatformRef","inits","requiredToken","_injector","_modules","_destroyListeners","ngZoneOption","ngZoneEventCoalescing","ngZone","ngZoneInjector","moduleRef","exceptionHandler","initStatus","runInitializers","_moduleDoBootstrap","optionsReducer","bootstrapModuleFactory","ApplicationRef","ngDoBootstrap","objs","_exceptionHandler","_componentFactoryResolver","_initStatus","_bootstrapListeners","_views","_runningTick","_enforceNoNewChanges","_stable","componentTypes","tick","isCurrentlyStable","stableSub","unstableSub","assertInAngularZone","componentOrFactory","resolveComponentFactory","compRef","_unloadComponent","registerApplication","_loadComponent","detectChanges","checkNoChanges","attachToAppRef","detachFromAppRef","attachView","NgModuleFactoryLoader","SystemJsNgModuleLoaderConfig","DEFAULT_CONFIG","factoryPathPrefix","factoryPathSuffix","SystemJsNgModuleLoader","_compiler","exportName","loadAndCompile","checkNotEmpty","factoryClassSuffix","modulePath","getDebugNodeR2","_nativeNode","platformCore","APPLICATION_MODULE_PROVIDERS","$localize","ApplicationModule","weekEndings","ModalRequestClose","ModalOpen","ModalClose","ModalCloseAll","ModalAnimate","ModalBackgroundClicked","ModalSetLoading","ModalSwap","recycleAsyncId","requestAsyncId","setInterval","clearInterval","_execute","errorValue","X64Word","x64","Word","RHO_OFFSETS","PI_INDEXES","ROUND_CONSTANTS","newY","LFSR","roundConstantMsw","roundConstantLsw","bitPosition","SHA3","outputLength","nBlockSizeLanes","M2i","M2i1","lane","high","low","tMsw","tLsw","Tx","Tx4","Tx1","Tx1Msw","Tx1Lsw","laneIndex","laneMsw","laneLsw","rhoOffset","TPiLane","T0","state0","TLane","Tx1Lane","Tx2Lane","roundConstant","blockSizeBits","outputLengthBytes","outputLengthLanes","hashWords","HmacSHA3","suffixes","1","5","8","70","80","2","7","20","50","3","4","100","6","9","10","30","60","90","DietaryTagsImagesRequest","DietaryTagsImagesSuccessRequest","DietaryTagsImagesErrorRequest","LocationsRequest","LocationsSuccessRequest","LocationsErrorRequest","MODAL_ANIMATION","WIZZARD_ERROR","JWTService","CartService","AppSettingsService","LoyaltyAppService","AuthService","SessionService","CookieService","MembersService","LocationsService","OnlineMenuService","LocationDetailsService","GoogleAnalyticsService","GeolocationService","FiltersService","ImagesService","InitService","VenueImagesService","ProductsService","MenuFlowsService","OnlineOrdersService","PickupsService","PaymentsService","CreditCardsService","PaymentExpressPaymentProviderService","CardConnectPaymentProviderService","ConvergePaymentProviderService","APIv2Configuration","TransactionsService","httpClient","cryptoService","apiBaseUrl","api","base","apiKey","__enableLogging","_jwtLifeTime","_jwtRefreshTokenLifeTime","memberCredentials","switchApi","_setupTokens","_checkIfAccessTokenIsValid","checkIfCanRefresh","_checkIfRefreshIsPossible","currentTokens","_getTokens","_refreshJWToken","AccessToken","RefreshToken","refreshedTokens","currentJWToken","refreshToken","clientAppKey","removeQuotesChars","headers","_storeTokens","_encrypt","_validateTokens","clearTokens","encrypted","_getEncryptedTokens","_decrypt","defaults","expires","_mergeOptions","cookiesObject","cookieService","_sessionTTLInDays","_saveSessionDataInUnsafeStorage","_saveSecuredSessionKey","_compareStoredSessionKeys","sessionData","_getSessionDataFromUnsafeStorage","_removeSessionDataFromUnsafeStorage","_removeSecureSessionKey","secureSessionKey","_createSecureSessionKey","realSecureSessionkey","_getSecureSessionKey","unsafeSessionKey","unsafeAccountId","unsafeAuthorizationType","hashMachineStampKeyp","authType","jwtService","sessionService","_whiteList","getCurrentTokens","stateAuthorized","postModel","overwriteProps","SexId","existingVal","PhoneNumber","softSignOut","DisplayOrder","loyaltyAppService","requestLoyaltyAppInfo","isOnline$","setAppMode","setDeviceType","cartPopup","object2string","duplicatedPhoneNo","memberModel","passwordModel","queryProperty","modelProperty","validatedProperty","paramFieldKey","request","userLoginType","loginValue","countryId","country","prefixResponse","redeemed","customParams","fromObject","isAvailableInLoyaltyApps","locationOLOIsActive","OrderingTimeInfo","timeInfo","PickupTimes","From","createHoursIntFromDate","OpeningTime","To","ClosingTime","daysNames","_DayName","dateToCheck","idsToStringParams","orderingTime","dateObj","createDate","setDate","currDay","localISODate","_Date","getDayName","venueNo","menu","products","filterPickup","locationDetails","currentPickup","matchedPickupTime","datesMatchByDayCallback","isFuturePickupTimeValid","FutureOrderingMinDaysAhead","FutureOrderingMaxDaysAhead","matchedCartPickupTime","matchedCurrentPickupTime","actions$","locationsService","onlineMenuService","modalsService","buttonLabel","accessDenied","canEnterLocation","_resetOnlineMenuSearchTermFilterListener","Subject","currentPosition","navigator","getCurrentPosition","altitude","accuracy","altitudeAccuracy","heading","speed","deg","PI","coordsFrom","coordsTo","dLat","deg2rad","dLng","cos","atan2","sqrt","closestLocation","Latitude","Longitude","extraParams","isConfigured","_ga","gtag","page_path","eventNames","account","send_to","googleAnalytics","rendererFactory2","imgUrl","holder","imgElem","onload","onerror","stringParams","getImageForLocation","imageUrl","locationIds","paginatedResult","paginatedResults","venueIds","createScheduleModel","pickupTimeObj","onlineMenuTimes","openHours","locationUpdatedPickupTimeObj","isToday","hasExceededPlaceOrderTimeoutForPickupTime","isPickupTimeInOnlineMenuTimeRange","isPickupTimeInLocationOpenRange","locationClosingHour","newPickupTime","newPickupTimeHour","nowHours","hoursFromDate","isNowInOnlineMenuRange","isOpenNow","isHourInHoursRange","willBeOpenToday","allowClosedLocationOrders","isUpdatedPickupTimeInLocationOpenHoursRange","onlineMenuHasChanged","newPickupTimeDate","overrdrivePickupTimeObjToAsap","onlineOrderState","orderingTimeInfoObj","timeInfoObj","preperationTimeObj","isCartValid","preTitle","requestLocations","pickupsService","isDownloading$","OnlineOrderItemId","receiptEmails","discounts","enable","OnlineDiscounts","OnlineOrderId","addEmailReceiptNotificationDetailsWithOrderReturned","toISOString","onlineOrderModelFix","statuses","validateCartWithPopup","membersState","recalcOrder","emails","NotificationEmailAddress","apiPutEmailReceiptNotificationDetails","LoyaltyMobileAppId","_IsDisabled","BackgroundColor","hexToRGBA","prevPage","nextPage","generatedProductIds","getIngredientsForLocation","productIngredient","ingredientsExtended","_ProductId","_ProductPLU","Swaps","getIngredients","appSettingsService","venueImagesService","cleanSessionRedirect","setTags","isRedirecting","requestVenueImage","cartData","setInitAppInitFlag","PARAMETER_CODEC","rootUrl","http","__params","__headers","req","_r","membersGetMemberCardsResponse","__body","membersCreateMemberCardResponse","membersSetPaymentAccountAsDefaultResponse","membersRemoveMemberCardResponse","membersGetMemberAccountBalanceResponse","membersClearMemberPersonalDataResponse","_rootUrl","encoder","membersGetMemberCardsPath","membersCreateMemberCardPath","membersSetPaymentAccountAsDefaultPath","membersRemoveMemberCardPath","membersGetMemberAccountBalancePath","membersClearMemberPersonalDataPath","_injectedScript","scriptTag","allFields","ssl_add_token","targetFields","ssl_card_number","ssl_exp_date","ssl_merchant_id","ssl_pin","ssl_transaction_type","ssl_txn_auth_token","ssl_user_id","ConvergeEmbeddedPayment","onDeclined","onApproval","_attachVendorScriptHTMLTag","ApiUrl","isLoaded","MechantId","Pin","UserId","ssl_vendor_id","VendorId","SessionToken","defaultSettings","getConvergeSettingsForLocation","authSettings","_request","convertAPIConvergeSettingsToAuthModelAsync","defaultAuthSettings","apiUrl","processCardNumber","xmlString2Json","getCardConnectSettings","cardConnectSecureCard","cardsecure","getSettingsForLocation","apiV2Services","convergePaymentProviderService","cardConnectPaymentProviderService","paymentExpressPaymentProviderService","DefaultConvergeSettings","requestCardToken","convergeResponse","ssl_token","DefaultCardConnectSettings","cardConnectResponse","DefaultPaymentExpressSettings","paymentExpressResponse","fixedDateMode","requestModel","monthsShortDot","LocationsFiltersReset","LocationsFiltersSetPickupMode","LocationsFiltersSetPickupTime","LocationsFiltersRestorePickupTime","LocationsFiltersSyncPickupTime","LocationsFiltersSetSearch","DevService","Subscription","observable","scheduleArray","pluralForm","plurals","pluralize","observables","CombineLatestOperator","CombineLatestSubscriber","len","toRespond","unused","_tryResultSelector","SkipWhileOperator","SkipWhileSubscriber","skipping","tryCallPredicate","_enable_super_gross_mode_that_will_cause_bad_things","stack","isFunction","ZeroPadding","clamp","CreditCardsStateReset","CreditCardsResetError","CreditCardsRequest","CreditCardsSuccessRequest","CreditCardsErrorRequest","GetCreditCardToken","GetCreditCardTokenWithRedirect","__DEMO__getCardToken","CreditCardsSuccessRequestToken","CreditCardsSuccessRequestTokenWithRedirect","__DEMO__CreditCardsSuccessRequestToken","CreditCardsErrorRequestToken","CreditCardsErrorRequestTokenWithRedirect","CreditCardsAddRequest","CreditCardsAddAfterRedirectRequest","CreditCardsAddSuccessRequest","CreditCardsAddAfterRedirectSuccessRequest","CreditCardsAddErrorRequest","CreditCardsAddAfterRedirectErrorRequest","CreditCardShowForm","SelectActiveCreditCardId","SelectActiveCreditCardToken","AddCardToState","CreditCardTokenDataReset","CreditCardsRemoveRequest","CreditCardsRemoveSuccessRequest","CreditCardsRemoveErrorRequest","CreditCardsValidateReset","CreditCardsValidateRequest","CreditCardsValidateSuccessRequest","CreditCardsValidateErrorRequest","CreditCardsRemoveUnsavedCard","CreditCardsClearAllUnsavedCards","CreditCardsSetErrorValidationStatusToValidatingCards","_isScalar","_trySubscribe","promiseCtor","getPromiseCtor","operations","hm","TakeOperator","TakeSubscriber","connectableProto","subjectFactory","_refCount","_isComplete","getSubject","subject","connection","_connection","connectableObservableDescriptor","writable","connect","refCount","connectable","_unsubscribe","multicast","subjectOrSubjectFactory","MulticastOperator","0","40","RouteService","queryParamsService","LOCATION_DETAILS_REGEXP","extras","locationRootUrl","canOrderFromLocation","targetUrl","toPromise","locationFriendlyName","navigateToLocation","encr","encryptOrderData","CryptoService","screen","_privateKey","_simpleDictionary","_chars","_getPrivateKey","userAgent","vendor","productSub","language","simpleKey","encryption","simpleEncrypt","btoa","encryptedString","simpleDecrypt","atob","enc","Utf8","HmacSHA256","_getMachineStamp","generateMachineStampKey","fakeInitChars","initial","randomIndex","letter","upperCase1","upperCase2","encryptedChar1","encryptedChar2","fadeInOut","opacity","fromEvent","setupSubscription","sourceObj","handler","on","off","addListener","removeListener","ECB","webpackContext","webpackContextResolve","__webpack_require__","ObjectUnsubscribedError","ObjectUnsubscribedErrorImpl","VenueImagesRequest","VenueImagesSuccessRequest","VenueImagesErrorRequest","OnlineOrderStateReset","OnlineOrderClearPostOrderRequestFlags","OnlineOrderCreateRequest","OnlineOrderCreateSuccessRequest","OnlineOrderCreateErrorRequest","OnlineOrderUpdateRequest","OnlineOrderUpdateSuccessRequest","OnlineOrderUpdateErrorRequest","OnlineOrderRequest","OnlineOrderSuccessRequest","OnlineOrderErrorRequest","OnlineOrderRecalculateRequest","OnlineOrderRecalculateSuccessRequest","OnlineOrderRecalculateErrorRequest","OnlineOrderSendConfrimationEmailRequest","OnlineOrderSendConfrimationEmailSuccessRequest","OnlineOrderSendConfrimationEmailErrorRequest","OnlineOrderTypeSelect","OnlineOrderTypeUpdateValues","OnlineOrderResetOrderTypeValues","OnlineOrderSendEmailReceiptRequest","OnlineOrderSendEmailReceiptSuccessRequest","OnlineOrderSendEmailReceiptErrorRequest","OnlineOrderSendEmailReceiptReset","Dates","Arrays","item1","item2","direction","Colors","hex","chunkSize","hexStr","alpha","isValidHex","getChunksFromString","convertHexUnitTo256","g","getAlphafloat","CreditCards","f1","f2","f3","detectFormat","cardPatterns","Visa","MasterCard","AmericanExpress","DinersClub","Discover","JCB","enumId","preprocessString","cardNoToProcess","cardHolderName","CardHolderName","CardNumber","cvv","Cvc2","ExpiryMonth","ExpiryYear","isDefault","Strings","fullName","nameIndex","surname","targetStr","toLowercaseCompare","searchIn","termInput","propsToSearch","stringContains","Numbers","datesDiffInDays","d2","utc1","UTC","utc2","meridemiSeparator","newHour","includeYear","capitalizeFirstChar","minAge","maxAge","age","millis","newDate","closingTime","checkDate","threshold","isClosing","toMilliseconds","minsToMiliseconds","meridemi","timeString","hoursConverted","dayNo","seconds","milliseconds","weekDay","zulu","currDate","decomposeDate","leadingZero","nowYear","includeZ","miliseconds","stringDate","toCheck","to","equal","newMins","dateCopy","mins","strArr","pickupHour","startTimeNo","stringHourToNumber","endTimeNo","pickupHourNo","localDate","openingHourObj","byDate","byDayOfWeek","closeTime","minimumPickupTime","maximumPickupTime","openingDateRaw","totalMinimumPickupMins","minimumPickupTimeForAsap","setSeconds","arrDate","arrHoursOpen","arrHoursClose","locationOpenHour","locationCloseHour","nowHour","isOpen","locationWillBeOpenToday","DayName","IsOpen","MinimumPickupTimeForAsap","MaximumPickupTime","initialAsapPickupValue","calcInitialTimesObj","asapPickup","Index","displayFormat","ShortName","DayNo","initialLaterPickupValue","nextLaterPickup","roundToNearestQuarter","nextLaterPlaceOrderTimeout","createTimeObj","startDate","endDate","roundToNearestHour","nextDate","isAsap","asapMinutesFromNow","daysDiff","minutesFromNow","forDate","edgeDate","asapPickupTime","placeOrderTimeout","asapDate","createAsapTimeObj","futureOrdersMinDay","futureOrdersMaxDay","targetDate","isInLocationTimeRange","isDateInFutureOrdersTimeRange","dateToCompare","isFutureOrderingAllowed","isTodayAllowed","Devices","orientation","iDevices","ua","msie","rv","Forms","controls","controlName","urlString","rawParams","tempArr","paramName","urls","toDownload","downloadingRequests","setRequestHeader","onreadystatechange","readyState","getResponseHeader","Uint8Array","abort","Inputs","lckey","neturalKeys","isSave","keyCode","ctrlKey","metaKey","negativeKeys","selectionStart","selectionEnd","isKeyNeutral","isKeyNegative","regex","canType","maxLength","currentValLength","isTextSelected","pagesArr","pageDetails","productsList","contents","totalValueMenuFlowProducts","sortDetails","flattenProducsByQuantity","processed","menuFlowItemPageProductsByQuantity","sortByProp","processedProducts","ungrouppedProductsPricingArr","productUnitPrice","ExcludeFromSpecialPricing","MenuFlowID","productsGroupped","existingItemIndex","existingItem","newQuantity","newTotal","newUnitPrice","MenuFlows","modalType","tagsArr","menuFlowType","modifierToAdd","override","optionalParams","createMenuFlowItemPagesFromMenuFlowDetailsModel","generatedPages","DisplayDescription","converted","Price","isSingleProductPage","productsDesc","productAcc","productIndex","generateIngredientsDescriptionForProduct","ingredientsWithSpace","productsArrDesc","exists","ommitPrefix","Messages","messageType","requiredLength","originalValue","titleTag","head","metaTag","PATTERN","foundReplacer","innerText","currCountry","configuredCountries","raw","countryPrefixId","Objects","substate","isPrimitive","freeze","getType","uberDeepFreez","extendItemsModel","baseModel","OrderTypeDetails","DetailsDefinitionId","ValueProvided","Medias","OrderSurchargeDefinitionId","foundMenuFlowActivation","foundSurcharge","surcharge","newOrder","menuFlowProducts","IsHiddenFromUser","modifiersDescription","accM","itemM","indexM","MenuFlowProducts","description","descBuilder","TransactionMenuFlows","fixedOrder","unduplicateOrderItems","fixMenuFlowActivationsDescriptions","general","baseOnlineMenuPage","hasErrors","baseMenuFlowDetails","IsActive","menuFlowProduct","basePageForProduct","baseMenuFlowProduct","pageToFetch","OnlineOrderMenuFlowActivationId","extendIngredients","freashIngredient","productForPage","newMenuFlowActivation","createMenuFlowItemFromOnlineOrder","menuFlowActivationItemsDescription","updateMenuFlowItemPrices","baseProduct","innerAcc","createSimpleItemFromOnlineOrderItemModel","orderPickupTime","PickupObj","createdDate","SaleName","OrderedDate","IsDelivery","SendToKMS","Type","modifierPropsTrimmer","trimmedArray","newModifierObj","fixMenuFlowDescriptions","distinctMenuFlowProducts","generateDescriptionForMenuFlowActivationItem","singleItem","storageType","setItem","removeItem","Scroll","onwheel","onmousewheel","ontouchmove","onkeydown","preventDefaultForScrollKeys","easings","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","performance","windowHeight","documentElement","getElementsByTagName","documentHeight","destinationOffset","destinationOffsetToScroll","scroll","timeFunction","rangeMin","rangeMax","targetDestination","targetElement","compensation","startY","scrollTop","startX","scrollLeft","topOffset","changeY","changeX","offsetLeft","posX","posY","scrollHeight","offsetHeight","37","38","39","ValidatorsUtils","fieldName","control","findControl","group","XML","xmlString","xml","children","xml2json","old","stringToXmlDoc","AlertMessageOpen","AlertMessageClose","AlertMessageEdit","AlertMessageSetBulk","messages","translator","correctGrammaticalCase","wordKey","F","subtype","overrides","mixIn","$super","Hex","wordArray","thisWords","thatWords","thisSigBytes","thatSigBytes","nBytes","rcache","m_w","m_z","C_enc","hexChars","bite","hexStrLength","Latin1","latin1Chars","latin1Str","latin1StrLength","utf8Str","unescape","BufferedBlockAlgorithm","_append","doFlush","dataSigBytes","nBlocksReady","nWordsReady","_minBufferSize","nBytesReady","processedWords","messageUpdate","swapEndian","word","Utf16","Utf16BE","utf16Chars","utf16Str","utf16StrLength","Utf16LE","codePoint","compare","DistinctUntilChangedOperator","DistinctUntilChangedSubscriber","hasKey","sources","forkJoinInternal","completed","emitted","hasValue","LoyaltyProductProgramsRequest","LoyaltyProductProgramsSuccessRequest","LoyaltyProductProgramsErrorRequest","LoyaltyProductProgramsReset","HeightAdjustService","recalculateAll","offsetElements","offsetAdditional","_createEntry","_setKey","_addToArray","_removeFromArray","totalHeight","recalculateHeight","ArgumentOutOfRangeError","ArgumentOutOfRangeErrorImpl","QueryParamsService","decrypted","extracted","urlArr","isPrime","sqrtN","factor","getFractionalBits","nPrime","SHA256","gamma0x","gamma1x","maj","12","13","Rabbit","OnlineMenuPagesImagesRequest","OnlineMenuPagesImagesSuccessRequest","OnlineMenuPagesImagesErrorRequest","AnsiX923","lastBytePos","Ansix923","RC4","keySigBytes","_S","keyByteIndex","_i","_j","generateKeystreamWord","keystreamWord","RC4Drop","drop","MenuFlowsDetailsRequest","MenuFlowsDetailsSuccessRequest","MenuFlowsDetailsErrorRequest","OnlineMenuPagesRequest","OnlineMenuPagesSuccessRequest","OnlineMenuPageErrorRequest","alertMessagesReducerFn","alertMessagesReducer","DevConsoleModule","DevModule","scan","accumulator","seed","hasSeed","ScanOperator","ScanSubscriber","_seed","_tryNext","ii","SwitchMapOperator","SwitchMapSubscriber","_innerSub","fns","pipeFromArray","OnlineMenuFiltersReset","OnlineMenuFiltersSetSearch","LoyaltyIntroductionPagesRequest","LoyaltyIntroductionPagesSuccessRequest","LoyaltyIntroductionPagesErrorRequest","MemberStateReset","MemberUnsetAddData","MemberUnsetAccountCredentials","MemberUnsetUpdateAndValidation","MemberSignOut","MemberQuickLoginRequest","MemberQuickLoginSuccessRequest","MemberQuickLoginErrorRequest","MemberDataRequest","MemberDataSuccessRequest","MemberDataErrorRequest","MemberValidateLoginRequest","MemberValidateLoginSuccessRequest","MemberValidateLoginErrorRequest","MemberSignInDataRequest","MemberSignInDataResponseSuccess","MemberSignInDataResponseError","MemberAuthorizationInit","MemberAuthorizationSetFlag","MemberAuthorizationSetStep","MemberGuestModeSet","MemberGuestDataRevalidateAndSet","MemberGuestDataSet","MemberGuestDataReset","MemberJwtDataRequest","MemberJwtDataResponseSuccess","MemberJwtDataResponseError","MemberValidatePhoneRequest","MemberValidatePhoneSuccessRequest","MemberValidatePhoneDataResponseError","MemberValidateEmailDataRequest","MemberValidateEmailDataResponseSuccess","MemberValidateEmailDataResponseError","CreateMemberSession","MemberSessionRequest","MemberSessionSuccessRequest","MemberSessionErrorRequest","MemberSignUpProcessInit","MemberSignUpRequest","MemberSignUpSuccessRequest","MemberSignUpErrorRequest","MemberProfileUpdateInit","MemberProfileUpdateRequest","MemberProfileUpdateSuccessRequest","MemberProfileUpdateErrorRequest","MemberUpdateRequest","MemberUpdateSuccessRequest","MemberUpdateErrorRequest","MemberRestoreUpdateFlags","MemberPasswordChangeRequest","MemberPasswordChangeSuccessRequest","MemberPasswordChangeErrorRequest","MemberPasswordChangeRestoreFlags","MemberForgotPasswordDataRequest","MemberForgotPasswordDataResponseSuccess","MemberForgotPasswordDataResponseError","MemberForgotPasswordRestoreFlags","MemberSendPhoneVerificationCodeDataRequest","MemberSendPhoneVerificationCodeDataResponseSuccess","MemberSendPhoneVerificationCodeDataResponseError","MemberVerifyPhoneDataRequest","MemberVerifyPhoneDataSuccessRequest","MemberVerifyPhoneDataErrorRequest","MemberVerifyPhoneRestoreFlags","MemberSendEmailVeryficationRequest","MemberSendEmailVeryficationSuccessRequest","MemberSendEmailVeryficationDataResponseError","MemberVerifyEmailRestoreFlags","MemberValidatePasswordResetTokenRequest","MemberValidatePasswordResetTokenSuccessRequest","MemberValidatePasswordResetTokenErrorRequest","MemberValidatePasswordResetTokenReset","MemberForgottenPasswordResetRequest","MemberForgottenPasswordResetSuccessRequest","MemberForgottenPasswordResetErrorRequest","MemberConfirmEmailTokenRequest","MemberConfirmEmailTokenSuccessRequest","MemberConfirmEmailTokenErrorRequest","MemberConfirmEmailRequest","MemberConfirmEmailSuccessRequest","MemberConfirmEmailErrorRequest","MemberConfirmEmailReset","MemberCompleteAccountSetupGuestCheck","MemberVerifyEmailRequest","MemberVerifyEmailSuccessRequest","MemberVerifyEmailErrorRequest","MemberVerifyEmaiResetFlags","MemberPartialSignUpRequest","MemberPartialSignUpSuccessRequest","MemberPartialSignUpErrorRequest","MemberPartialSignUpResetState","MemberPasswordSetRequest","MemberPasswordSetSuccessRequest","MemberPasswordSetErrorRequest","MemberPasswordSetResetState","MemberFreeProductsRequest","MemberFreeProductsSuccessRequest","MemberFreeProductsErrorRequest","MemberLoyaltyProductsRequest","MemberLoyaltyProductsSuccessRequest","MemberLoyaltyProductsErrorRequest","MemberUniqueCodeCheckRequest","MemberUniqueCodeCheckSuccessRequest","MemberUniqueCodeCheckErrorRequest","MemberUniqueCodeCheckReset","MemberAccountBalanceRequest","MemberAccountBalanceSuccessRequest","MemberAccountBalanceErrorRequest","MemberAccountBalanceReset","MemberLinkRewardsAccountVerifyRequest","MemberLinkRewardsAccountVerifySuccessRequest","MemberLinkRewardsAccountVerifyErrorRequest","MemberLinkRewardsAccountVerifyReset","MemberLinkRewardsAccountRequest","MemberLinkRewardsAccountSuccessRequest","MemberLinkRewardsAccountErrorRequest","EmptyError","EmptyErrorImpl","ArrayBuffer","superInit","typedArray","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","buffer","byteOffset","byteLength","typedArrayByteLength","getDeviceType","isDeviceMobile","getAppLocationMode","isInVenueMode","hasAppInitialized","getAppSettingsLinks","ContactUsUrl","UserAgreementUrl","getLoyaltyAppSettings","isOnlineMapped","mapErrors","offline","getLoyaltyAppId","getAvailablePickupTimesForLocation","getAvailablePickupTimesForAllLocations","isCalculatingAvailablePickups","getCart","getCartPickupTime","getCartPickupTimeName","getCartLocationNo","getCartTotalQuantity","getCartTotalValue","getCartSimpleItems","getCartSimpleItemById","getCartMenuFlows","getCartMenuFlowById","isCartEmpty","getCartAllItems","getCartOnlineMenuItemById","getCards","getCardState","isAddingCardRequest","isLoadingCards","getActiveCardRedirectUrl","getActiveCardId","getActiveCardToken","getSessionToken","getActiveCardDetails","activeId","shouldShowCreditCardForm","isDownloadingCardsList","hasCreditCardsDefined","isRequestingCardsFirstTime","hasDownloadedCards","isRemovingCard","removeFailedForCard","isPaymentDisabledForCards","cardsLoading","getCurrentLocationNo","getCurrentPickupTime","getCurrentLocationValidationState","currentLocationIsValid","currentLocationIsValidating","getDietaryTagImages","dietaryTagsImages","getDietaryTagsByTags","tagParams","tagImg","getLocationsState","getLocations","getLocationDetails","hasRequestedLocations","hasLocations","getOrderingTimeInfoByLocationNo","filterAvailable","getFilteredOrderingTimeInfo","getMinimumPickupTimesForAllLocationsByDate","baseObj","foundDay","foundCurrentPickupTime","getMinimumPickupTimeForLocation","minimumPickups","getOrderInfoCompleteForLocationsByDate","minimumPickupTimeForDay","getOrderInfoCompleteForLocationByDate","locationsOrderInfo","getMinimumPickupTimeForLocationAndDate","foundObj","findDay","isLocationOpenNowByOrderingTimeInfoObj","getLocationOpenStatus","todayInfo","getClosedTimeFromHourString","openingTime","closingDiff","openDiff","getAllLocationsPeriods","locationIsConfiguredForFutureOrders","existingObj","createPeriodObject","generatedFiltersPickupTimesForAllLocations","minimumPickupTimes","tempObj","tempOpen","tempClose","edgeCases","asapModel","createAsapModel","scheduleModel","generatedPickupTimesForAllLocationsForPeriod","orderingObj","generatePickupTimesFutureList","getLocationFilters","locationsFilters","getLocationFiltersPickupMode","getLocationFilterSelectedPickupTime","getLocationFiltersSearchInput","getAllLocationImages","locationsImages","getLocationImage","getLoyaltyProductPrograms","loyaltyProductPrograms","getAllValidLoyaltyPrograms","programStateModel","EndDate","StartDate","isDownloadingAnyProgram","hasRequestedLoyaltyProductPrograms","getMemberResetForgottenPasswordState","getMemberEmailConfirmState","getCurrentMember","getGuestData","getMemberState","getAuthorizationStep","isMemberPhoneVeryficationCodeInvalid","isMemberAuthorizedJWT","isMemberLoading","getMemberFullName","phoneRegex","initials","MemberSurname","memberName","memberPhone","getObfuscatedMemberEmail","obfuscateEmail","getObfuscatedForgotMemberEmail","getMemberPhoneNo","mobilePhone","getObfuscatedMemberPhoneNo","obfuscateMobilePhone","hasGuestSignedUp","canCompleteAccountSetup","passwordChangeError","isCheckingTokensForEmailConfirmation","isEmailGUIDTokenValid","isEmailConfirmationSuccess","canOmmitEmailVerification","configCanOmmit","partialMemberSignUpFailed","isDownloadingLoyaltyProducts","isDownloadingFreeProducts","ExpiryDate","IsRedeemed","getFreeProduct","FreeProductId","showAccountPaymentMethod","getAccountBalance","showAccountBalance","isAccountSet","getMenuFlowImagesState","menuFlowImages","getMenuFlows","getMenuFlow","getMenuFlowPages","getOnlineMenu","getOnlineMenuData","getOnlineMenuPages","getOnlineMenuItemById","getOnlineMenuFiltersSearchInput","onlineMenuFilters","getOnlineMenuPagesImages","onlineMenuPagesImages","getImageForOnlineMenuPageProduct","pageProductId","pageImages","isDownloadingAnyOnlineMenuPageImages","getOnlineOrderState","getOnlineOrderTotalTax","tax","sum","getOnlineOrderRecalcData","isOnlineOrderRecalculating","hasRecalculateFailed","hasRecalculateFailedErrorMapped","apiCommunication","getSelectedOrderType","isOrderTypeValid","hasRequired","IsRequired","field","isOrderTypeValidForPosting","isSendingEmailReceipt","hasMetMinimumOrderValueCriteria","MinimumOrderValue","isPaymentDisabledForOnlineOrderValidation","isValidOrderType","orderValueValid","onlineOrderErrorsMapped","hasMetValueCriteria","minimumOrderValue","getOrderTypesForLocation","getOrderTypesForAllLocations","isDownloadingAnyOrderTypes","getPaymentState","getPaymentStepsStatus","isPaymentComplete","getPaymentErrors","isPaymentDisabledForPayments","paymentStatus","isPayingFlag","getPaymentErrorsMapped","previousTransaction","processingPayment","getCurrentRoute","getCurrentRouteQueryParams","isCurrentRouteHome","isCurrentRouteLoyalty","isEmailConfirmationPage","getWizzard","getWizzardMenuFlow","getWizzardSimpleItem","getWizzardSimpleItemUnitPrice","getWizzardMenuFlowQuantity","getWizzardSimpleItemQuantity","getWizzardMenuFlowTotalValue","getWizzardSimpleItemTotalValue","getWizzardTotalSelectedProducts","getWizzardMenuFlowPageItemsTotalQuantity","getWizzardMenuFlowProductTotalQuantity","getWizzardMenuFlowProduct","getWizzardErrors","isWizzardPageQuantityValid","isWizzardPageQuantityMaxedOut","wizzardPageHasSelectedAnyProduct","getWizzardMenuFlowAllProductsForPage","getWizzardMenuFlowFirstProductForPage","getWizzardSelectedModifierForMenuFlowProduct","wizzardRecalculatePricesObj","isCartPopupVisible","cartPopupAnimation","getFreeProductsImageImage","freeProductsImages","getGeolocationState","orderSortFunc","getHistoryOrdersStatus","getHistoryOrders","isOrderFinalized","getHistoryActiveOrders","getHistoryOrder","isLoadingAnyHistoryOrder","hasDownloadedHistoryOrders","isRequestingHistoryOrderFirstTime","hasAnyHistoryOrder","historyOrderIsActive","historyOrderIsFinalized","canShowHistoryOrders","getIngredientsForProduct","getIngredientsByLocationNo","latestTransactions","isDownloadingAnyTransaction","getTransactionById","loader","getLoyaltyIntroductionPages","loyaltyIntroductionPages","getLoyaltyIntroductionPagesImages","loyaltyIntroductionPagesImages","getLoyaltyMessages","loyaltyMessages","getMemberCardBarcodeImage","memberCardBarcodesImages","getMenuFlowDefaultActivation","menuFlowDefaultActivations","getAllModals","isLastModalHiding","getModalById","getOrderTypeImages","orderTypesImages","getOrderTypeImage","getImageForProduct","productImages","productImage","getReorder","canAddToCartReorderItems","foundReorder","foundCartItemSelected","reorderSelectedItemsTotalValue","menuFlowsTotal","simpleItemsTotal","reorderSelectedItemsTotalQuantity","topBar","getAllVenueImages","venuesImages","getVenueImage","getOnlineMenuPageDetails","onlineMenuPageImage","getOnlineMenuPagesFiltered","searchInput","pagesAcc","searchValueStringInObject","productsFiltered","getOrderTypesForCartsLocation","foundTypes","isLoadingLoyaltyInfoForCurrentMember","memberIsLoading","isLoadingLoyaltyProducts","isLoadingFreeProducts","isLoadingPrograms","getLoyaltyFreeProductsForCurrentMember","programs","programsState","pr","loyaltyProduct","codeName","innerObj","program","getLoyaltyFreeProductsForCurrentMemberGrouped","ProductQauantityToIssue","getLoyaltyProgramProductItemsForCurrentMember","stateProducts","emptyPrograms","withProducts","LoyaltyProductProgramId","getOrderingTimeInfoByCartLocation","locationState","getOrderingTimeInfoForTodayByCartLocation","currentLocationNoByRoute","isVenueMode","getOrderSummary","memberHasAvailableBalanceToPayForCartOrder","getPickupTimeLabelForCart","cartLabel","currentLocationWithValidation","canShowOnlineMenuForCurrentLocation","wizzardMenuFlowPagesReports","reports","menuFlowPage","totalProductsQuantity","getStatsForWizzardItem","singleProduct","stats","price","kilojoules","cals","getDietaryTagImagesForWizzardItem","getImageForWizzardItem","isDownloadingAnything","foundInOnlineMenuItemId","onlineMenuSelection","foundImage","__DEMO__canPostOnlineOrder","getCartMenuFlowTotalQuantityForCurrentLocation","getCartSimpleProductTotalQuantityForCurrentLocation","isPaymentDisabledForMember","memberLoading","isCartLocationsPickupsCalculating","foundAvailablePickups","getCurrentLocationBusinessModel","getLocationImageForCurrentLocation","isLocationLoading","foundStatusObj","isLoadingDataForAnyLocation","getLocationPeriods","todaysList","getLocationFuturePickupList","getAvailablePickupTimesWithFutureForLocation","futurePickupList","getFilteredLocations","filterBy","clientTime","isFutureSearch","orderInfoForLocation","dateToSearch","isLocationConfiguredForFutureOrder","locationPickupTimesObj","locationAsapObj","openTime","timeToCheck","searchMatch","searchString","_s","availablePickup","aTag","LocationTags","TagName","bTag","getMenuFlowDetailsByWizzard","menuFlowObj","getNextPriceForMenuFlowProduct","wizzardPageProducts","productItem","isPageSpecialPricingLimitReached","getModalDataForOnlineMenuItem","selectedOnlineMenu","Image","Stats","getStatsForSingleProduct","getMenuFlowDetailsSepcificPageByWizzard","getMenuFlowDetailsPagesByWizzard","isWizzardPageLimitReached","currentTotalQuantity","isWizzardPageOneAllowed","getCurrentLocationNoWithMemberId","getCartMenuFlowDescription","generateCartMenuFlowDescription","getCartLocationFriendlyName","canNavigateToCheckoutAuthorizedOnly","canNavigateToCheckoutUnauthorized","productActionToTake","routeIsLocationsSearchPage","routeIsLocationDetailsPage","routeIsAccountPage","ACCOUNT_REGEXP","routeIsErrorPage","ERROR_REGEXP","getOrderErrorsMapped","offlineErrors","paymentErrors","isPaymentDisabled","accountHasSufficientCredits","cartTotalQuantity","orderPaymentDisabled","memberPaymentDisabled","paymentDisabledForPayments","cardsPaymentDisabled","accountChargePaymentDisabled","getOrderingTimeInfoForCartPickupLocationNo","timeinfo","generatedPickupTimesForLocationForPeriod","todayPickups","minPickupTime","CTRGladman","incWord","b1","b2","b3","relativeTimeWithSingular","PC1","PC2","BIT_SHIFTS","SBOX_P","SBOX_MASK","DES","keyBits","keyBitPos","subKeys","_subKeys","nSubKey","subKey","bitShift","invSubKeys","_invSubKeys","_lBlock","_rBlock","exchangeLR","exchangeRL","lBlock","rBlock","TripleDES","_des1","createEncryptor","_des2","_des3","MaxOnScreenHeightService","bottomOffset","sourceRegistry","heightAdjustItemsRegistry","itemsRegistry","emittersRegistry","_setEmitter","_emitHeightUpdate","_configureSubMap","emitter","rects","sourceTopOffset","heightAdjustTotal","subHeightAdjustReg","innerItemsTotalHeight","subItemsRegistry","maxHeight","mapName","subReg","subItems","CipherParams","cipherParams","ciphertext","MapOperator","MapSubscriber","WizzardCancel","WizzardValidate","WizzardSetupItem","WizzardSilentSetupItem","WizzardStepMenuFlowInit","WizzardStepMenuFlowRequestData","WizzardStepMenuFlowActivateProducts","WizzardStepMenuFlowMount","WizzardStepSimpleItemMount","WizzardMountMenuFlowUpsell","WizzardUnmountAll","WizzardSimpleItemIncrement","WizzardSimpleItemDecrement","WizzardSimpleItemSpecialInstructions","WizzardMenuFlowReplaceAllWithNew","WizzardRecalculatePricesForMenuFlowRequest","WizzardRecalculatePricesForMenuFlowSuccessRequest","WizzardRecalculatePricesForMenuFlowErrorRequest","WizzardMenuFlowIncrement","WizzardMenuFlowDecrement","WizzardMenuFlowSpecialInstructions","WizzardMenuFlowAddProduct","WizzardMenuFlowRemoveProduct","WizzardMenuFlowProductDecrement","WizzardMenuFlowProductIncrement","WizzardMenuFlowSelectModifier","WizzardMenuFlowUpsellSetupRequest","isUpper","SubjectSubscriber","observers","AnonymousSubject","copy","_hasher","hasherBlockSize","hasherBlockSizeBytes","oKey","_oKey","iKey","_iKey","oKeyWords","iKeyWords","innerHash","ExhaustMapOperator","ExhaustMapSubscriber","hasSubscription","hasCompleted","tryNext","AlertMessagesStateModule","LOADER_SHOW","LOADER_HIDE","webpackPolyfill","deprecate","paths","enumerable","UnsubscriptionError","UnsubscriptionErrorImpl","_subscriptions","flattenUnsubscriptionErrors","teardown","tmp","subscriptions","subscriptionIndex","errs","LatestTransactionsRequest","LatestTransactionsSuccessRequest","LatestTransactionsErrorRequest","LatestTransactionsReset","MergeMapOperator","MergeMapSubscriber","ish","numbersNouns","numberNoun","hundred","ten","one","fromArray","CONFIG_TOKEN","ENV_TOKEN","ENV_BUILD_TOKEN","urlParsingNode","BrowserDomAdapter","groupEnd","evt","dispatchEvent","getDefaultDocument","DocumentFragment","baseElement","getAttribute","GenericBrowserDomAdapter","TRANSITION_ID","SERVER_TRANSITION_PROVIDERS","transitionId","dom","BrowserGetTestability","getAllTestabilities","getAllRootElements","testabilities","didWork","decrement","didWork_","whenStable","getTestability","isShadowRoot","parentElement","EVENT_MANAGER_PLUGINS","EventManager","plugins","_eventNameToPlugin","manager","_plugins","_findPluginFor","addGlobalEventListener","plugin","EventManagerPlugin","SharedStylesHost","_stylesSet","additions","onStylesAdded","DomSharedStylesHost","_hostNodes","_styleNodes","styleNode","styleEl","hostNode","_addStylesToHost","NAMESPACE_URIS","COMPONENT_REGEX","flattenStyles","compId","decoratePreventDefault","eventHandler","DomRendererFactory2","eventManager","sharedStylesHost","rendererByCompId","defaultRenderer","DefaultDomRenderer2","EmulatedEncapsulationDomRenderer2","applyToHost","ShadowDomRenderer","addStyles","namespaceUri","removeAttributeNS","nodeValue","componentShortId","contentAttr","hostAttr","hostEl","shadowRoot","attachShadow","createShadowRoot","addHost","removeHost","nodeOrShadowRoot","DomEventsPlugin","HammerGestureConfig","events","mc","MODIFIER_KEYS","_keyMap","_chromeNumKeyPadMap","MODIFIER_KEY_GETTERS","altKey","shiftKey","KeyEventsPlugin","keyName","parseEventName","parsedEvent","outsideHandler","eventCallback","getZone","onAndCancel","domEventName","_normalizeKey","fullKey","modifierName","keyIdentifier","getEventFullKey","DomSanitizer","DomSanitizerImpl","domSanitizerImplFactory","INTERNAL_BROWSER_PLATFORM_PROVIDERS","makeCurrent","platformBrowser","BROWSER_MODULE_PROVIDERS","BrowserModule","parentModule","AnimationBuilder","AnimationFactory","AUTO_STYLE","sequence","stateChangeExpr","animateChild","useAnimation","NoopAnimationPlayer","_onStart","triggerMicrotask","AnimationGroupPlayer","_players","doneCount","destroyCount","startCount","_onDestroy","timeAtPosition","ɵPRE_STYLE","DevConsoleComponent","envBuildToken","devService","logs$","getLogsData$","isDev","_container","decode","converter","toUTCString","write","stringifiedAttributes","attributeName","jar","cookies","getJSON","withConverter","throwIfEmpty","defaultErrorFactory","errorFactory","ThrowIfEmptyOperator","ThrowIfEmptySubscriber","SetCartPopup","selectAlertMessages","alertMessages","Base64","Cipher","C_mode","CBC","Pkcs7","OpenSSLFormatter","SerializableCipher","OpenSSLKdf","PasswordBasedCipher","_ENC_XFORM_MODE","createDecryptor","_DEC_XFORM_MODE","xformMode","_xformMode","dataUpdate","selectCipherStrategy","xorBlock","paddingWord","paddingWords","padding","modeCreator","_mode","__creator","finalProcessedBlocks","OpenSSL","openSSLStr","ciphertextWords","encryptor","cipherCfg","algorithm","_parse","kdf","derivedParams","base64Chars","triplet","paddingChar","base64Str","base64StrLength","reverseMap","_reverseMap","paddingIndex","bits1","bits2","RefCountOperator","refCounter","RefCountSubscriber","sharedConnection","observableFactory","relativeTimeWithMutation","mutationTable","lastNumber","defaultIfEmpty","DefaultIfEmptyOperator","DefaultIfEmptySubscriber","startWith","hasDefaultValue","OrderTypesRequest","OrderTypesSuccessRequest","OrderTypesErrorRequest","OrderTypesImagesRequest","OrderTypesImagesSuccessRequest","OrderTypesImagesErrorRequest","noop","Iso97971","AvailablePickupsCalculateRequest","AvailablePickupsCalculateSuccessRequest","AvailablePickupsCalculateErrorRequest","ScrollService","_updateListener","SelectivePreloadingStrategyService","preloadedModules","MenuFlowImagesRequest","MenuFlowImagesSuccessRequest","MenuFlowImagesErrorRequest","outerSubscriber","concatAll","func","descriptor","AutoUnsubscribe","targetClass","originalFunction","Meta","titleSeparator","appendBaseTitle","extendTitle","defineProperties","baseTitle","configurable","prevTitle","prevMetas","author","keywords","setTitle","viewClassName","setViewCSSClassName","cssClassName","unsetViewCSSClassName","setMeta","isNgOnDestroyDefined","originalInitFunction","TopBarSetStickyFlag","TopBarSetCartIconVisibility","TopBarSetBackToStoreIconVisibility","TopBarSetBackToLandingIconVisibility","NG_VALUE_ACCESSOR","CHECKBOX_VALUE_ACCESSOR","CheckboxControlValueAccessor","_elementRef","onChange","onTouched","checked","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_compositionMode","_composing","getUserAgent","_handleInput","_compositionStart","_compositionEnd","AbstractControlDirective","errorCode","getError","valid","invalid","pristine","touched","untouched","statusChanges","valueChanges","ControlContainer","ɵControlContainer_BaseFactory","unimplemented","NgControl","valueAccessor","_rawValidators","_rawAsyncValidators","AbstractControlStatus","cd","_cd","NgControlStatus","ngClassUntouched","ngClassTouched","ngClassPristine","ngClassDirty","ngClassValid","ngClassInvalid","ngClassPending","NgControlStatusGroup","isEmptyInputValue","NG_VALIDATORS","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","Validators","_mergeErrors","minLength","regexStr","nullValidator","validators","presentValidators","isPresent","toObservable","arrayOfErrors","normalizeValidator","validator","validate","normalizeAsyncValidator","NUMBER_VALUE_ACCESSOR","NumberValueAccessor","RADIO_VALUE_ACCESSOR","RadioControlValueAccessor","RadioControlRegistry","_accessors","accessor","_isSameGroup","fireUncheck","controlPair","_control","_registry","_checkName","_fn","writeValue","formControlName","_throwNameError","RANGE_VALUE_ACCESSOR","RangeValueAccessor","FormErrorExamples","ReactiveErrors","directiveName","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_buildValueString","_optionMap","_idCounter","_compareWith","_getOptionId","valueString","_getOptionValue","compareWith","NgSelectOption","_select","_registerOption","_setElementValue","ngValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","_buildValueString$1","optionSelectedStateSetter","opt","_setSelected","selectedOptions","ɵNgSelectMultipleOption","controlPath","setUpControl","_throwError","compose","asyncValidator","composeAsync","registerOnChange","_pendingValue","_pendingChange","_pendingDirty","updateOn","updateControl","emitModelEvent","viewToModelUpdate","registerOnTouched","_pendingTouched","markAsTouched","setDisabledState","registerOnDisabledChange","registerOnValidatorChange","updateValueAndValidity","markAsDirty","emitModelToViewChange","setUpFormContainer","_noControlError","messageEnd","composeValidators","composeAsyncValidators","isPropertyUpdated","viewModel","isFirstChange","BUILTIN_ACCESSORS","syncPendingControls","_syncPendingControls","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","removeDir","coerceToValidator","validatorOrOpts","isOptionsObj","coerceToAsyncValidator","origAsyncValidator","asyncValidators","AbstractControl","_onCollectionChange","_onDisabledChange","newValidator","onlySelf","_forEachChild","markAllAsTouched","markAsUntouched","_updateTouched","markAsPristine","_updatePristine","emitEvent","markAsPending","skipPristineCheck","_parentMarkedDirty","_updateValue","_updateAncestors","changeFn","_setInitialStatus","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","ctrl","_updateTreeValidity","_allControlsDisabled","_asyncValidationSubscription","setErrors","_updateControlsErrors","delimiter","controlToFind","FormGroup","FormArray","at","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","formState","_updateOn","FormControl","_onChange","_applyFormState","_setUpdateStrategy","_initObservables","emitViewToModelChange","_isBoxedValue","_setUpControls","setParent","_registerOnCollectionChange","registerControl","_checkAllValuesPresent","_throwIfControlMissing","patchValue","_reduceChildren","getRawValue","subtreeUpdated","updated","_reduceValue","initValue","_registerControl","formDirectiveProvider","NgForm","resolvedPromise","submitted","_directives","ngSubmit","_findContainer","removeControl","resetForm","onSubmit","onReset","AbstractFormGroupDirective","_checkParentType","addFormGroup","formDirective","removeFormGroup","getFormGroup","_validators","_asyncValidators","ɵAbstractFormGroupDirective_BaseFactory","TemplateDrivenErrors","modelGroupProvider","NgModelGroup","modelGroupParentException","formControlBinding","NgModel","resolvedPromise$1","_registered","_checkForErrors","_setUpControl","_updateDisabled","_isStandalone","_setUpStandalone","addControl","formGroupNameException","modelParentException","missingNameException","disabledValue","ɵNgNoValidate","NG_MODEL_WITH_FORM_CONTROL_WARNING","formDirectiveProvider$1","FormGroupDirective","_checkFormPresent","_updateValidators","_updateDomValue","_updateRegistrations","newCtrl","_clearChangeFns","_oldForm","sync","missingFormException","formGroupNameProvider","FormGroupName","groupParentException","_hasInvalidParent","formArrayNameProvider","FormArrayName","addFormArray","removeFormArray","arrayParentException","getFormArray","controlNameBinding","FormControlName","_ngModelWarningConfig","_added","_ngModelWarningSent","warningConfig","_ngModelWarningSentOnce","ngModelWarning","updateModel","ngModelGroupException","controlParentException","disabledAttrWarning","REQUIRED_VALIDATOR","RequiredValidator","_required","MIN_LENGTH_VALIDATOR","MinLengthValidator","_createValidator","minlength","_validator","MAX_LENGTH_VALIDATOR","MaxLengthValidator","maxlength","PATTERN_VALIDATOR","PatternValidator","ɵInternalFormsSharedModule","FormBuilder","controlConfig","controlsConfig","_reduceControls","_createControl","FormsModule","ReactiveFormsModule","warnOnNgModelWithFormControl","C_x64","X64WordArray","SHA512","SHA384","HmacSHA384","LoyaltyIntroductionPageImageRequest","LoyaltyIntroductionPageImageSuccessRequest","LoyaltyIntroductionPageImageErrorRequest","durationSelector","AuditOperator","AuditSubscriber","clearThrottle","throttled","DrawCollapseResolver","SHA224","HmacSHA224","InnerSubscriber","notifyNext","notifyError","notifyComplete","_zl","_zr","_sl","_sr","_hl","_hr","RIPEMD160","al","bl","cl","dl","ar","br","cr","dr","er","hl","hr","zl","zr","sl","sr","f4","f5","rotl","z","HmacRIPEMD160","NEVER","MemberCardBarcodesImagesRequest","MemberCardBarcodesImagesSuccessRequest","MemberCardBarcodesImagesErrorRequest","FinallyOperator","FinallySubscriber","kind","undefinedValueNotification","completeNotification","takeLast","ring","EveryOperator","everyValueMatch","ɵEmptyOutletComponent","RouterEvent","NavigationStart","navigationTrigger","restoredState","NavigationEnd","NavigationCancel","reason","NavigationError","RoutesRecognized","GuardsCheckStart","GuardsCheckEnd","shouldActivate","ResolveStart","ResolveEnd","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","snapshot","routeConfig","ChildActivationEnd","ActivationStart","ActivationEnd","routerEvent","ParamsAsMap","convertToParamMap","navigationCancelingError","defaultUrlMatcher","segments","segmentGroup","pathMatch","hasChildren","posParams","segment","consumed","LoadedRouterConfig","validateConfig","parentPath","validateNode","getFullPath","fullPath","loadChildren","outlet","redirectTo","matcher","currentRoute","standardizeConfig","shallowEqual","equalArraysOrString","aItem","wrapIntoObservable","containsTree","containee","exact","equalSegmentGroups","equalPath","numberOfChildren","containsSegmentGroup","containsSegmentGroupHelper","containeePaths","UrlTree","DEFAULT_SERIALIZER","serialize","_queryParamMap","UrlSegmentGroup","serializePaths","UrlSegment","serializePath","_parameterMap","as","bs","mapChildrenIntoArray","childOutlet","UrlSerializer","DefaultUrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","strParams","serializeSegment","primary","encodeUriQuery","encodeUriString","encodeUriSegment","decodeQuery","SEGMENT_RE","matchSegments","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","remaining","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","capture","parseParens","parseMatrixParams","parseParam","valueMatch","decodedKey","decodedVal","currentVal","allowPrimary","outletName","Tree","_root","pathFromRoot","findNode","findPath","cc","TreeNode","nodeChildrenAsMap","RouterState","setRouterState","createEmptyState","urlTree","activated","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","emptyParams","emptyData","emptyQueryParams","futureSnapshot","_futureSnapshot","_routerState","_paramMap","inheritedParamsDataResolve","paramsInheritanceStrategy","inheritingStartingFrom","_resolvedData","urlSegment","lastPathIndex","_urlSegment","_lastPathIndex","_resolve","serializeNode","advanceActivatedRoute","nextSnapshot","equalParamsAndUrlSegments","isMatrixParams","outlets","segmentPath","oldSegmentGroup","newSegmentGroup","qp","replaceSegment","oldSegment","newSegment","Navigation","isAbsolute","numberOfDoubleDots","commands","cmdWithOutlet","Position","processChildren","getPath","updateSegmentGroup","updateSegmentGroupChildren","currentCommandIndex","currentPathIndex","noMatch","pathIndex","commandIndex","slicedCommands","createNewSegmentGroup","createNewSegmentChildren","ActivateRoutes","routeReuseStrategy","futureState","currState","forwardEvent","parentContexts","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","contexts","futureChild","childOutletName","deactivateRoutes","childName","deactivateRouteAndItsChildren","getContext","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","onOutletDeactivated","deactivate","activateRoutes","getOrCreateContext","shouldAttach","stored","retrieve","onOutletReAttached","attachRef","attach","advanceActivatedRouteNodeAndItsChildren","_loadedConfig","cmpFactoryResolver","resolver","activateWith","isUrlTree","NoMatch","AbsoluteRedirect","absoluteRedirect","newTree","namedOutletsRedirect","configLoader","urlSerializer","allowRedirects","redirectToUrlSegment","expandSegmentGroup","rootSegmentGroup","createUrlTree","noMatchError","rootCandidate","expandChildren","expandSegment","waitHead","waitTail","mapped","expandSegmentAgainstRoute","noLeftoversInUrl","getOutlet","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","expandWildCardWithParamsAgainstRouteUsingRedirect","expandRegularSegmentAgainstRouteUsingRedirect","applyRedirectCommands","lineralizeSegments","newSegments","consumedSegments","lastChild","positionalParamSegments","rawSegmentGroup","rawSlicedSegments","getChildConfig","routerConfig","childModule","childConfig","slicedSegments","isEmptyPathRedirect","mergeTrivialChildren","primarySegmentGroup","cs","canLoad","injectionToken","guardVal","guard","shouldLoad","applyRedirectCreatreUrlTree","newRoot","createSegmentGroup","createQueryParams","redirectToParams","actualParams","sourceName","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","CanActivate","CanDeactivate","getToken","checks","canDeactivateChecks","isActivated","INITIAL_VALUE","prioritizedGuardValue","isPending","fireActivationStart","fireChildActivationStart","runCanActivate","futureRSS","futureARS","canActivate","canActivateObservables","runCanActivateChild","canActivateChildGuardsMapped","canActivateChild","guards","guardsMapped","NoMatch$1","rootComponentType","relativeLinkResolution","split$1","processSegmentGroup","rootNode","routeState","inheritParamsAndData","routeNode","processSegment","names","routeWithSameOutletName","localeCompare","processSegmentAgainstRoute","rawSegment","getData","getSourceSegmentGroup","getPathIndexShift","getResolve","_sourceSegment","_segmentIndexShift","emptyPathMatch","getOutlet$1","primarySegment","getResolver","switchTap","nextResult","DefaultRouteReuseStrategy","detachedTree","ROUTES","onLoadStartListener","onLoadEndListener","loadModuleFactory","DefaultUrlHandlingStrategy","newUrlPart","wholeUrl","defaultErrorHandler","defaultMalformedUriErrorHandler","defaultRouterHook","runExtras","RouterLinkWithHref","Router","rootContexts","lastSuccessfulNavigation","currentNavigation","navigationId","isNgZoneEnabled","malformedUriErrorHandler","navigated","lastSuccessfulId","beforePreactivation","afterPreactivation","urlHandlingStrategy","onSameUrlNavigation","urlUpdateStrategy","resetConfig","currentUrlTree","rawUrlTree","browserUrlTree","triggerEvent","currentRawUrl","extractedUrl","extract","rawUrl","targetSnapshot","currentRouterState","targetRouterState","canActivateChecks","guardsResult","navigations","setupNavigations","processNavigations","eventsSubject","initialUrl","previousNavigation","urlTransition","shouldProcessUrl","serializeUrl","finalUrl","serializer","recognize","skipLocationChange","setBrowserUrl","replaceUrl","routesRecognized","navStart","appliedUrlTree","guardsStart","getChildRouteGuards","futurePath","prevChildren","shouldRun","runGuardsAndResolvers","currRSS","currARS","canDeactivate","canDeactivateObservables","guardsEnd","resetUrlToCurrentUrlTree","navCancel","resolveStart","resolvedData","__","resolveEnd","prevState","createNode","shouldReuseRoute","detachedRouteHandle","setFutureSnapshotsOfActivatedRoutes","activate","redirecting","resetStateAndUrl","mergedTree","scheduleNavigation","navError","ee","getTransition","setUpLocationChangeListener","navigateByUrl","locationSubscription","parseUrl","navigationExtras","relativeTo","preserveQueryParams","preserveFragment","q","removeEmptyProps","nav","cmd","cmdIdx","urlPart","partIndex","toRoot","startingPosition","ci","priorPromise","lastNavigation","setTransition","isCurrentPathEqualTo","go","storedState","storedUrl","locationStrategy","updateTargetUrlAndHref","button","attrBoolValue","preserve","onClick","routerLink","RouterOutlet","RouterScroller","RouterPreloader","OutletContext","ChildrenOutletContexts","changeDetector","_activatedRoute","activateEvents","deactivateEvents","onChildOutletCreated","onChildOutletDestroyed","cmp","ref","activatedRoute","childContexts","OutletInjector","createComponent","PreloadingStrategy","moduleLoader","preloadingStrategy","preload","processRoutes","preloadConfig","viewportScroller","lastId","lastSource","restoredId","scrollPositionRestoration","anchorScrolling","setHistoryScrollRestoration","routerEventsSubscription","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","getScrollPosition","scheduleScrollEvent","scrollToPosition","scrollToAnchor","ROUTER_CONFIGURATION","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","enableTracing","logGroup","logGroupEnd","routerNgProbeToken","RouterModule","provideRoutes","provideForRootGuard","createRouterScroller","getAppInitializer","ROUTER_INITIALIZER","getBootstrapListener","scrollOffset","setOffset","platformLocationStrategy","useHash","RouterInitializer","initNavigation","resultOfPreactivationDone","initialNavigation","isLegacyDisabled","isLegacyEnabled","bootstrappedComponentRef","preloader","routerScroller","setUpPreloading","resetRootComponentType","appInitializer","bootstrapListener","createAction","defineType","_as","_p","creator","ActionsSubject","INIT","ACTIONS_SUBJECT_PROVIDERS","_ROOT_STORE_GUARD","_INITIAL_STATE","INITIAL_STATE","REDUCER_FACTORY","_REDUCER_FACTORY","INITIAL_REDUCERS","_INITIAL_REDUCERS","STORE_FEATURES","_STORE_REDUCERS","_FEATURE_REDUCERS","_FEATURE_CONFIGS","_STORE_FEATURES","_FEATURE_REDUCERS_TOKEN","FEATURE_REDUCERS","USER_PROVIDED_META_REDUCERS","META_REDUCERS","_RESOLVED_META_REDUCERS","USER_RUNTIME_CHECKS","_USER_RUNTIME_CHECKS","_ACTIVE_RUNTIME_CHECKS","combineReducers","reducers","reducerKeys","finalReducers","finalReducerKeys","hasChanged","previousStateForKey","nextStateForKey","functions","composed","createReducerFactory","reducerFactory","ReducerManager","ScannedActionsSubject","ReducerManagerDispatcher","dispatcher","addFeatures","reducerDict","addReducers","removeFeatures","removeReducers","updateReducers","featureKey","featureKeys","keyToRemove","REDUCER_MANAGER_PROVIDERS","ɵScannedActionsSubject_BaseFactory","SCANNED_ACTIONS_SUBJECT_PROVIDERS","reducer$","scannedActions","stateAndAction$","reduceState","stateSubscription","stateActionPair","Store","STATE_PROVIDERS","actionsObserver","reducerManager","pathOrMapFn","addReducer","removeReducer","STORE_PROVIDERS","propsOrPath","source$","mapped$","pathSlices","currentProp","isEqualCheck","isArgumentsChanged","lastArguments","comparator","defaultMemoize","projectionFn","overrideResult","isArgumentsEqual","isResultEqual","lastResult","memoized","newResult","setResult","createSelector","memoize","defaultStateFn","stateFn","tail","projector","memoizedSelectors","release","memoizedProjector","memoizedState","createFeatureSelector","featureName","featureState","isUndefined","isNull","isObjectLike","targetIsFunction","propValue","isFrozen","getUnserializable","targetPrototype","throwIfUnserializable","unserializable","unserializablePath","createActiveRuntimeChecks","runtimeChecks","strictStateSerializability","strictActionSerializability","strictStateImmutability","strictActionImmutability","createSerializationCheckMetaReducer","createImmutabilityCheckMetaReducer","act","_runtimeChecksFactory","StoreModule","StoreFeatureModule","StoreRootModule","scannedActions$","featureReducers","feats","featureReducerCollection","_initialStateFactory","_createFeatureReducers","_provideForRootGuard","_createStoreReducers","_concatMetaReducers","_createFeatureStore","configs","featureStores","feat","conf","reducerCollection","userProvidedMetaReducers","createReducer","ons","existingReducer","monthsNominativeEl","monthsGenitiveEl","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","mom","_calendarEl","numbersPast","numbersFuture","eifelerRegelAppliesToNumber","HttpHandler","HttpBackend","HttpHeaders","normalizedNames","lazyUpdate","lazyInit","line","maybeSetNormalizedName","op","lcName","copyFrom","applyUpdate","other","toDelete","HttpUrlEncodingCodec","standardEncoding","HttpParams","codec","updates","cloneFrom","fromString","eqIdx","decodeKey","decodeValue","eKey","encodeKey","encodeValue","isArrayBuffer","isBlob","Blob","isFormData","FormData","HttpRequest","method","third","fourth","reportProgress","withCredentials","urlWithParams","qIdx","setHeaders","setParams","HttpEventType","Sent","UploadProgress","ResponseHeader","DownloadProgress","Response","User","HttpResponseBase","defaultStatus","defaultStatusText","statusText","ok","HttpHeaderResponse","HttpResponse","HttpErrorResponse","addBody","HttpClient","events$","handle","res$","callbackParam","HttpInterceptorHandler","interceptor","intercept","HTTP_INTERCEPTORS","NoopInterceptor","XSSI_PREFIX","XhrFactory","BrowserXhr","HttpXhrBackend","xhrFactory","detectedType","detectContentTypeHeader","reqBody","serializeBody","headerResponse","partialFromXhr","getAllResponseHeaders","responseURL","onLoad","responseText","originalBody","sentHeaders","onDownProgress","progressEvent","loaded","lengthComputable","partialText","onUpProgress","upload","XSRF_COOKIE_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","lastCookieString","lastToken","parseCount","cookieString","HttpXsrfInterceptor","tokenService","headerName","lcUrl","HttpInterceptingHandler","backend","chain","interceptors","HttpClientXsrfModule","HttpClientModule","withOptions","WithLatestFromOperator","WithLatestFromSubscriber","_tryProject","X32WordArray","toX32","x64Words","x64WordsLength","x32Words","x64Word","wordsLength","AppModeOrderingGuard","AppModeRootGuard","AuthorizationGuard","CheckoutGuard","UniqueCodeGuard","GUIDGuard","DynamicPathsGuard","_router","_controllers","recalculateOrderAction","routeUpdate$","_navigateTo404","splittedUrl","OFB","_keystream","HistoryOrdersReset","HistoryOrdersRequest","HistoryOrdersSuccessRequest","HistoryOrdersErrorRequest","HistoryOrderRequest","HistoryOrderSuccessRequest","HistoryOrderErrorRequest","hookCallback","isNumber","hasOwnProp","createUTC","strict","createLocalOrUTC","utc","getParsingFlags","_pf","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","rfc2822","weekdayMismatch","_isValid","parsedParts","isNowValid","_d","invalidWeekday","_strict","bigHour","createInvalid","fun","momentProperties","copyConfig","_isAMomentObject","_f","_l","_tzm","_isUTC","_offset","updateInProgress","Moment","updateOffset","isMoment","absFloor","toInt","argumentForCoercion","coercedNumber","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","suppressDeprecationWarnings","firstTime","deprecationHandler","deprecations","deprecateSimple","mergeConfigs","parentConfig","Locale","aliases","addUnitAlias","shorthand","lowerCase","normalizeUnits","normalizeObjectUnits","inputObject","normalizedInput","priorities","addUnitPriority","priority","zeroFill","targetLength","forceSign","absNumber","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","localeData","formatMoment","expandFormat","invalidDate","replaceLongDateFormatTokens","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","regexes","addRegexToken","strictRegex","isStrict","getParseRegexForToken","regexEscape","p1","p2","p3","p4","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","daysInYear","isLeapYear","parseTwoDigitYear","getSetYear","makeGetSet","keepTime","set$1","daysInMonth","modMonth","MONTHS_IN_FORMAT","defaultLocaleMonths","defaultLocaleMonthsShort","handleStrictParse","monthName","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","setMonth","dayOfMonth","getSetMonth","defaultMonthsShortRegex","defaultMonthsRegex","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","createUTCDate","getUTCFullYear","firstWeekOffset","fwd","getUTCDay","dayOfYearFromWeeks","weekday","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","lowercase","matchMeridiem","_meridiemParse","kInput","_isPm","_meridiem","pos1","pos2","globalLocale","getSetHour","baseConfig","localeFamilies","normalizeLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","getLocale","abbr","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","configFromArray","currentDate","expectedWeekday","yearToUse","nowValue","_useUTC","getUTCMonth","getUTCDate","w","weekYear","temp","weekdayOverflow","E","createLocal","_week","curWeek","gg","_dayOfYear","_nextDay","setUTCMinutes","getUTCMinutes","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","configFromStringAndFormat","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromRFC2822","monthStr","dayStr","hourStr","minuteStr","secondStr","yearStr","parsedArray","weekdayStr","parsedInput","obsOffset","militaryOffset","numOffset","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","isPm","prepareConfig","tempConfig","bestMoment","scoreToBeat","currentScore","score","createFromInputFallback","second","millisecond","isUTC","prototypeMin","prototypeMax","pickBy","moments","ordering","Duration","years","quarters","quarter","weeks","isoWeek","unitHasDecimal","_milliseconds","_days","_months","_bubble","isDuration","absRound","utcOffset","sign","offsetFromString","chunkOffset","cloneWithOffset","setTime","local","getDateOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","addSubtract","subtract","monthDiff","wholeMonthDiff","newLocaleData","defaultFormat","defaultFormatUtc","lang","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetSecond","parseMs","getSetMillisecond","preParsePostFormat","formats","sod","startOf","calendarFormat","asFloat","that","zoneDelta","endOf","startOfDate","isoWeekday","inputString","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","toArray","toObject","toDate","keepOffset","inspect","isLocal","toJSON","unix","creationData","isoWeeks","weekInfo","isoWeeksInYear","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","proto$1","get$1","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","_calendar","_longDateFormat","formatUpper","_invalidDate","_ordinal","_relativeTime","pastFuture","_monthsShort","_monthsParseExact","firstDayOfWeek","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","Y","D","totalSign","ymSign","daysSign","hmsSign","proto$2","monthsFromDays","withSuffix","posNegDuration","toIsoString","version","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","WEEK","MONTH","MenuFlowPagesService","_isLocked","collapsedElement$","currentActivePageIdentifier$","wrapperContainer","detectThreshold","foundActivePageIdentifier","targetY","targetYBottomEdge","scrollPosY","scrollDuration","targetElem","_lock","smoothScrollInnerElement","FilterOperator","FilterSubscriber","SubjectSubscription","subscriberIndex","__DevSetState","StateSave","StateSaveSuccess","StateSaveError","StateRestore","StateRestored","IgnoreElementsOperator","MaterializeOperator","groupBy","elementSelector","subjectSelector","GroupByOperator","attemptedToUnsubscribe","_group","groupedObservable","removeGroup","groupSubject","refCountSubscription","DeMaterializeOperator","DEFAULT_EFFECT_CONFIG","resubscribeOnError","getCreateEffectMetadata","getSourceForInstance","Effect","sourceProto","hasMetadataEntries","getEffectDecoratorMetadata","getEffectMetadataEntries","Actions","ofType","allowedTypes","typeOrActionCreator","EffectSources","effectSourceInstance","effectsInstance","sourceInstance","mergedEffects$","observables$","observable$","resubscribable$","resubscribeInCaseOfError","effect","ngrxOnRunEffects","reporter","isMethod","EffectsModule","EffectsFeatureModule","EffectsRootModule","EffectsRunner","_ROOT_EFFECTS_GUARD","ROOT_EFFECTS","FEATURE_EFFECTS","effectSources","effectsSubscription","toActions","runner","rootEffects","storeRootModule","storeFeatureModule","addEffects","effectSourceGroups","createSourceInstances","featureEffects","instances","X64Word_create","H0","H1","H2","H3","H4","H5","H6","H7","H0h","H0l","H1h","H1l","H2h","H2l","H3h","H3l","H4h","H4l","H5h","H5l","H6h","H6l","H7h","H7l","ah","bh","dh","eh","fh","fl","gh","gl","Wi","Wih","Wil","gamma0xh","gamma0xl","gamma0l","gamma1xh","gamma1xl","gamma1l","Wi7","Wi16","Wi16l","t1l","chh","chl","majh","sigma0l","Ki","Kil","t1h","t2l","HmacSHA512","environment","buildEnvironment","defaultConfig","introText","headerText","descriptionText","cardNumberLabelText","energyUnits","disclaimer","Code","MinLength","MaxLength","sessionCookieExpDays","minimumAgeToSignUp","pickupPopup","refreshDelay","defaultLocationThumb","googleMaps","center","lat","lng","zoom","markerWidth","markerHeight","markerSelectedWidth","markerSelectedHeight","markerDownsizeFactor","startAt","ellipsis","completeWords","wizzardDescription","passwordRules","upperCaseCount","lowerCaseCount","digitsCount","specialCharsCount","allowWhiteSpaces","searchPlaceholderText","heroBackground","topGradient","overlay","freeProductTile","titleInverted","layout","cta","sectionFeel","btnFeel","btnInverted","memberVerification","landing","header","failure","failureVerify","failureChange","__CONFIG","CONFIG","SwUpdate","SwPush","ERR_SW_NOT_SUPPORTED","serviceWorker","controllerChanges","controller","currentController","controllerWithChanges","worker","registration","getRegistration","sw","postMessage","nonce","waitForStatus","eventsOfType","subscriptionChanges","isEnabled","notificationClicks","pushManager","workerDrivenSubscriptions","pm","getSubscription","pushOptions","userVisibleOnly","decodeBase64","serverPublicKey","applicationServerKey","available","statusNonce","generateNonce","postMessageWithStatus","SwRegistrationOptions","ngswAppInitializer","script","readyToRegister$","registrationStrategy","strategy","stable","ngswCommChannelFactory","ServiceWorkerModule","RouterStateSerializer","DefaultRouterStateSerializer","serializeRoute","paramMap","queryParamMap","MinimalRouterStateSerializer","NavigationActionTiming","PreActivation","PostActivation","_ROUTER_CONFIG","ROUTER_CONFIG","_createRouterConfig","stateKey","navigationActionTiming","StoreRouterConnectingModule","StateModule","RootRoutesModule","ErrorsHandlerSharedService","SharedProvidersModule","ApiInterceptor","AppModule","AppComponent","RouterTrigger","ROUTER","STORE","lastEvent","setUpStoreStateListener","setUpRouterEventsListener","storeState","routerStoreState","navigateIfNeeded","dispatchNavLate","dispatchRouterRequest","dispatchRouterNavigation","dispatchRouterCancel","dispatchRouterError","dispatchRouterNavigated","dispatchRouterAction","lastRoutesRecognized","nextRouterState","ROOT_REDUCERS","stateEffects","OrderConfirmationModule","PaymentGatewayModule","SignUpModule","ViewsModule","Error404Module","_dynamicPathsGuard","_googleAnalytics","trackRouteNavigation","configIsChanged","foundChild","foundMainChild","inner","venueRoute","isDynamic","forRoot","ERROR_CODES","logError","constructorName","_httpErrorsHandler","_geolocationErrorsHandler","rejection","unknownError","showError","onLine","errorType","statusCode","_inflightAuthRequest","_blacklistJWTUrls","_handleNext","_handleUnauthorizedExeption","appKeyRequest","JWTokenRequired","withJWTRequest","cleanHeaders","_isUnauthorized","noJWTRequest","dependency","_initService","bootstrapModule","ROUTER_NAVIGATION","RouterNavigation","webpackEmptyAsyncContext","FormsService","formGroup"],"mappings":"w5JAEA,EAAA,EAAA,EAAA,KAAA,WAAA,OAAA,KAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,QAKO,EAAA,WAAA,IAAMA,EAAN,WAHP,SAAA,IAAA,gBAAA,KAAA,GAIW,KAAAC,OAAiB,GACjB,KAAAC,eAAoD,IAAIC,IAExD,KAAAC,cAA6C,IAAI,EAAA,EAAgB,MAJrE,OAAA,aAAA,EAAA,CAAA,CAAA,IAAA,kBAAA,MAAA,SAMoBC,GACnBC,KAAKJ,eAAeK,IAAI,SAAUF,EAAKG,iBAAiB,IACxDF,KAAKF,cAAcK,KAAKH,KAAKJ,eAAeQ,IAAI,aARjD,CAAA,IAAA,oBAAA,MAAA,WAYCJ,KAAKJ,eAALI,OAA2B,UAE3BA,KAAKF,cAAcK,KAAK,QAdzB,CAAA,IAAA,kBAAA,MAAA,WAkBC,OAAOH,KAAKJ,eAAeQ,IAAI,WAAa,SAlB7C,EAAA,GAAA,OAAA,EAAA,UAAA,SAAA,GAAA,OAAA,IAAA,GAAMV,IAAAA,EAAAA,WAAAA,EAAAA,GAAAA,CAAAA,MAAAA,EAAgB,QAAhBA,EAAgB,UAAA,WAFb,SAAA,EAET,IAAA,OAAA,SAAA,EAAA,EAAA,GAAA,aCJP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","sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class CartPopupService {\r\n public offset: number = 10;\r\n public coordsRegistry: Map = new Map();\r\n\r\n public targetCoords$: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n public setTargetCoords(elem: HTMLElement): void {\r\n this.coordsRegistry.set('target', elem.getClientRects()[0]);\r\n this.targetCoords$.next(this.coordsRegistry.get('target'));\r\n }\r\n\r\n public unsetTargetCoords(): void {\r\n this.coordsRegistry.delete('target');\r\n\r\n this.targetCoords$.next(null);\r\n }\r\n\r\n public getTargetCoords(): ClientRect | DOMRect {\r\n return this.coordsRegistry.get('target') || null;\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngrx/store';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport { RouteService } from './route.shared.service';\r\n\r\nimport { Subject, BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class WizzardService {\r\n private _onContentScrollInit$: Subject = new Subject();\r\n private _onContentScroll$: Subject = new Subject();\r\n public _navClickListener$: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n constructor(\r\n public store: Store,\r\n public routeService: RouteService,\r\n ) { }\r\n\r\n public get navClickListener$(): BehaviorSubject {\r\n return this._navClickListener$;\r\n }\r\n\r\n public set navClickListener(index: number) {\r\n this._navClickListener$.next(index);\r\n }\r\n\r\n /* When scroll initialize - move this to separate service */\r\n public onWizzardScrollInit($event: HTMLDivElement): void {\r\n this._onContentScrollInit$.next($event);\r\n }\r\n\r\n public get contentScrollInitListener(): Subject {\r\n return this._onContentScrollInit$;\r\n }\r\n\r\n /* When scrolling TODO - move this to separate service */\r\n public onWizzardScrollContent($event: Event): void {\r\n this._onContentScroll$.next($event);\r\n }\r\n\r\n public get contentScrollListener$(): Subject {\r\n return this._onContentScroll$;\r\n }\r\n\r\n public validateWizzardItems(menuFlow: APIv1.MenuFlowDetailsModel, wizzardMenuFlow: State.IWizzardMenuFlow): State.IWizzardError[] {\r\n /*\r\n Validate current wizzardMenuFlow\r\n It is used in different contexts and ways so it's just a method - not effect\r\n */\r\n const errorId = (): number => new Date().getTime() + Math.floor(Math.random() * 10000);\r\n const errors: State.IWizzardError[] = [];\r\n\r\n wizzardMenuFlow.Pages.forEach(wizzardPage => {\r\n const { PageMinQuantity, PageMaxQuantity } = menuFlow.Pages.find(page => page.PageIdentifier === wizzardPage.PageIdentifier);\r\n const wizzardPageTotalQuantity = wizzardPage.Products.reduce((acc, product) => acc += product.Quantity, 0);\r\n\r\n if (PageMinQuantity) {\r\n if (wizzardPageTotalQuantity < PageMinQuantity) {\r\n errors.push({\r\n id: errorId(),\r\n pageIdentifier: wizzardPage.PageIdentifier,\r\n error: State.WIZZARD_ERROR.REQUIRED,\r\n });\r\n }\r\n }\r\n\r\n if (PageMaxQuantity) {\r\n if (wizzardPageTotalQuantity > PageMaxQuantity) {\r\n errors.push({\r\n id: errorId(),\r\n pageIdentifier: wizzardPage.PageIdentifier,\r\n error: State.WIZZARD_ERROR.OVERFLOW,\r\n });\r\n }\r\n }\r\n\r\n });\r\n\r\n return errors;\r\n }\r\n\r\n\r\n}\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');\n\n var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];\n var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nlBe = moment.defineLocale('nl-be', {\n months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),\n monthsShort : function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse : monthsParse,\n longMonthsParse : monthsParse,\n shortMonthsParse : monthsParse,\n\n weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'over %s',\n past : '%s geleden',\n s : 'een paar seconden',\n ss : '%d seconden',\n m : 'één minuut',\n mm : '%d minuten',\n h : 'één uur',\n hh : '%d uur',\n d : 'één dag',\n dd : '%d dagen',\n M : 'één maand',\n MM : '%d maanden',\n y : 'één jaar',\n yy : '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal : function (number) {\n return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return nlBe;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var bg = moment.defineLocale('bg', {\n months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),\n monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),\n weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),\n weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'),\n weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat : {\n LT : 'H:mm',\n LTS : 'H:mm:ss',\n L : 'D.MM.YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY H:mm',\n LLLL : 'dddd, D MMMM YYYY H:mm'\n },\n calendar : {\n sameDay : '[Днес в] LT',\n nextDay : '[Утре в] LT',\n nextWeek : 'dddd [в] LT',\n lastDay : '[Вчера в] LT',\n lastWeek : function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[В изминалата] dddd [в] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[В изминалия] dddd [в] LT';\n }\n },\n sameElse : 'L'\n },\n relativeTime : {\n future : 'след %s',\n past : 'преди %s',\n s : 'няколко секунди',\n ss : '%d секунди',\n m : 'минута',\n mm : '%d минути',\n h : 'час',\n hh : '%d часа',\n d : 'ден',\n dd : '%d дни',\n M : 'месец',\n MM : '%d месеца',\n y : 'година',\n yy : '%d години'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal : function (number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return bg;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const LoyaltyMessagesRequest = createAction(\r\n '[Loyalty Messages] Request messages',\r\n);\r\n\r\nexport const LoyaltyMessagesSuccessRequest = createAction(\r\n '[Loyalty Messages] Success request messages',\r\n props<{ payload: APIv1.LoyaltyAppMessageModel[]; }>(),\r\n);\r\n\r\nexport const LoyaltyMessagesErrorRequest = createAction(\r\n '[Loyalty Messages] Error request messages',\r\n props<{ ex?: any; }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var tet = moment.defineLocale('tet', {\n months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),\n monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n weekdaysMin : 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Ohin iha] LT',\n nextDay: '[Aban iha] LT',\n nextWeek: 'dddd [iha] LT',\n lastDay: '[Horiseik iha] LT',\n lastWeek: 'dddd [semana kotuk] [iha] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'iha %s',\n past : '%s liuba',\n s : 'minutu balun',\n ss : 'minutu %d',\n m : 'minutu ida',\n mm : 'minutu %d',\n h : 'oras ida',\n hh : 'oras %d',\n d : 'loron ida',\n dd : 'loron %d',\n M : 'fulan ida',\n MM : 'fulan %d',\n y : 'tinan ida',\n yy : 'tinan %d'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal : function (number) {\n var b = number % 10,\n output = (~~(number % 100 / 10) === 1) ? 'th' :\n (b === 1) ? 'st' :\n (b === 2) ? 'nd' :\n (b === 3) ? 'rd' : 'th';\n return number + output;\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return tet;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * A noop padding strategy.\n\t */\n\tCryptoJS.pad.NoPadding = {\n\t pad: function () {\n\t },\n\n\t unpad: function () {\n\t }\n\t};\n\n\n\treturn CryptoJS.pad.NoPadding;\n\n}));","export function isPromise(value) {\n return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\n//# sourceMappingURL=isPromise.js.map",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Constants table\n\t var T = [];\n\n\t // Compute constants\n\t (function () {\n\t for (var i = 0; i < 64; i++) {\n\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t }\n\t }());\n\n\t /**\n\t * MD5 hash algorithm.\n\t */\n\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Swap endian\n\t for (var i = 0; i < 16; i++) {\n\t // Shortcuts\n\t var offset_i = offset + i;\n\t var M_offset_i = M[offset_i];\n\n\t M[offset_i] = (\n\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t );\n\t }\n\n\t // Shortcuts\n\t var H = this._hash.words;\n\n\t var M_offset_0 = M[offset + 0];\n\t var M_offset_1 = M[offset + 1];\n\t var M_offset_2 = M[offset + 2];\n\t var M_offset_3 = M[offset + 3];\n\t var M_offset_4 = M[offset + 4];\n\t var M_offset_5 = M[offset + 5];\n\t var M_offset_6 = M[offset + 6];\n\t var M_offset_7 = M[offset + 7];\n\t var M_offset_8 = M[offset + 8];\n\t var M_offset_9 = M[offset + 9];\n\t var M_offset_10 = M[offset + 10];\n\t var M_offset_11 = M[offset + 11];\n\t var M_offset_12 = M[offset + 12];\n\t var M_offset_13 = M[offset + 13];\n\t var M_offset_14 = M[offset + 14];\n\t var M_offset_15 = M[offset + 15];\n\n\t // Working varialbes\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\n\t // Computation\n\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t var nBitsTotalL = nBitsTotal;\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t );\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t );\n\n\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Shortcuts\n\t var hash = this._hash;\n\t var H = hash.words;\n\n\t // Swap endian\n\t for (var i = 0; i < 4; i++) {\n\t // Shortcut\n\t var H_i = H[i];\n\n\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t }\n\n\t // Return final computed hash\n\t return hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t function FF(a, b, c, d, x, s, t) {\n\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function GG(a, b, c, d, x, s, t) {\n\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function HH(a, b, c, d, x, s, t) {\n\t var n = a + (b ^ c ^ d) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function II(a, b, c, d, x, s, t) {\n\t var n = a + (c ^ (b | ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.MD5('message');\n\t * var hash = CryptoJS.MD5(wordArray);\n\t */\n\t C.MD5 = Hasher._createHelper(MD5);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t */\n\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t}(Math));\n\n\n\treturn CryptoJS.MD5;\n\n}));","import { Subscriber } from '../Subscriber';\nexport function pairwise() {\n return (source) => source.lift(new PairwiseOperator());\n}\nclass PairwiseOperator {\n call(subscriber, source) {\n return source.subscribe(new PairwiseSubscriber(subscriber));\n }\n}\nclass PairwiseSubscriber extends Subscriber {\n constructor(destination) {\n super(destination);\n this.hasPrev = false;\n }\n _next(value) {\n let pair;\n if (this.hasPrev) {\n pair = [this.prev, value];\n }\n else {\n this.hasPrev = true;\n }\n this.prev = value;\n if (pair) {\n this.destination.next(pair);\n }\n }\n}\n//# sourceMappingURL=pairwise.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var id = moment.defineLocale('id', {\n months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),\n monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),\n weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat : {\n LT : 'HH.mm',\n LTS : 'HH.mm.ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY [pukul] HH.mm',\n LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /pagi|siang|sore|malam/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'siang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sore' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'siang';\n } else if (hours < 19) {\n return 'sore';\n } else {\n return 'malam';\n }\n },\n calendar : {\n sameDay : '[Hari ini pukul] LT',\n nextDay : '[Besok pukul] LT',\n nextWeek : 'dddd [pukul] LT',\n lastDay : '[Kemarin pukul] LT',\n lastWeek : 'dddd [lalu pukul] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'dalam %s',\n past : '%s yang lalu',\n s : 'beberapa detik',\n ss : '%d detik',\n m : 'semenit',\n mm : '%d menit',\n h : 'sejam',\n hh : '%d jam',\n d : 'sehari',\n dd : '%d hari',\n M : 'sebulan',\n MM : '%d bulan',\n y : 'setahun',\n yy : '%d tahun'\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return id;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\nimport { IStateShared, IPaymentCreditCardData } from '../interface';\r\n\r\nexport const PaymentReset = createAction('[Payment] Reset');\r\n\r\nexport const PaymentInitAramark = createAction(\r\n '[Payment] Init - trigger proper effect and create order',\r\n (creditCard: IPaymentCreditCardData = null, member: APIv1.PartialMemberModel | APICommon.IOnlineOrderPartialMember = null) => ({ creditCard, member })\r\n);\r\n\r\nexport const PaymentInit = createAction(\r\n '[Payment] Init - trigger payment process with prevalidated and generated card token',\r\n);\r\n\r\nexport const PaymentClearErrors = createAction(\r\n '[Payment] Clear Errors',\r\n);\r\n\r\n/* STEPS */\r\nexport const PaymentStepValidateGuestData = createAction(\r\n '[Payment] Step - validate guest data',\r\n (creditCard: IPaymentCreditCardData = null) => ({ creditCard })\r\n);\r\n\r\nexport const PaymentStepValidateGuestCardToken = createAction('[Payment] Step - validate guest get card token');\r\n\r\nexport const PaymentStepValidateMemberCardToken = createAction('[Payment] Step - validate member card token');\r\n\r\nexport const PaymentStepCreateOrder = createAction('[Payment] Step - create order');\r\nexport const __DEMO__PaymentStepCreateOrder = createAction('[Payment - DEMO] Step - create order');\r\n\r\nexport const PaymentStepPay = createAction('[Payment] Step - pay');\r\nexport const __DEMO__PaymentStepPay = createAction('[Payment - DEMO] Step - pay');\r\n\r\nexport const PaymentStepPaymentStatusCheck = createAction(\r\n '[Payment] Step - payment status check',\r\n props<{ TransactionId: string; OrderId: number }>(),\r\n);\r\nexport const __DEMO__PaymentStepPaymentStatusCheck = createAction(\r\n '[Payment - DEMO] Step - payment status check',\r\n props<{ TransactionId: string; OrderId: number }>(),\r\n);\r\n\r\nexport const PaymentStepComplete = createAction(\r\n '[Payment] Step - payment complete',\r\n props<{ OrderId: number, payload: APIv2.GetTransactionResponse }>(),\r\n);\r\n\r\nexport const PaymentStepFailed = createAction(\r\n '[Payment] Step = payment failed',\r\n (Message: string, Id: number = new Date().getTime() + Math.floor(Math.random() * 100000)) => ({ Message, Id })\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var mt = moment.defineLocale('mt', {\n months : 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),\n monthsShort : 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),\n weekdays : 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),\n weekdaysShort : 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),\n weekdaysMin : 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Illum fil-]LT',\n nextDay : '[Għada fil-]LT',\n nextWeek : 'dddd [fil-]LT',\n lastDay : '[Il-bieraħ fil-]LT',\n lastWeek : 'dddd [li għadda] [fil-]LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'f’ %s',\n past : '%s ilu',\n s : 'ftit sekondi',\n ss : '%d sekondi',\n m : 'minuta',\n mm : '%d minuti',\n h : 'siegħa',\n hh : '%d siegħat',\n d : 'ġurnata',\n dd : '%d ġranet',\n M : 'xahar',\n MM : '%d xhur',\n y : 'sena',\n yy : '%d sni'\n },\n dayOfMonthOrdinalParse : /\\d{1,2}º/,\n ordinal: '%dº',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return mt;\n\n})));\n","import { subscribeToArray } from './subscribeToArray';\nimport { subscribeToPromise } from './subscribeToPromise';\nimport { subscribeToIterable } from './subscribeToIterable';\nimport { subscribeToObservable } from './subscribeToObservable';\nimport { isArrayLike } from './isArrayLike';\nimport { isPromise } from './isPromise';\nimport { isObject } from './isObject';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeTo = (result) => {\n if (!!result && typeof result[Symbol_observable] === 'function') {\n return subscribeToObservable(result);\n }\n else if (isArrayLike(result)) {\n return subscribeToArray(result);\n }\n else if (isPromise(result)) {\n return subscribeToPromise(result);\n }\n else if (!!result && typeof result[Symbol_iterator] === 'function') {\n return subscribeToIterable(result);\n }\n else {\n const value = isObject(result) ? 'an invalid object' : `'${result}'`;\n const msg = `You provided ${value} where a stream was expected.`\n + ' You can provide an Observable, Promise, Array, or Iterable.';\n throw new TypeError(msg);\n }\n};\n//# sourceMappingURL=subscribeTo.js.map","import { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeToObservable = (obj) => (subscriber) => {\n const obs = obj[Symbol_observable]();\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n }\n else {\n return obs.subscribe(subscriber);\n }\n};\n//# sourceMappingURL=subscribeToObservable.js.map","import { hostReportError } from './hostReportError';\nexport const subscribeToPromise = (promise) => (subscriber) => {\n promise.then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .then(null, hostReportError);\n return subscriber;\n};\n//# sourceMappingURL=subscribeToPromise.js.map","import { iterator as Symbol_iterator } from '../symbol/iterator';\nexport const subscribeToIterable = (iterable) => (subscriber) => {\n const iterator = iterable[Symbol_iterator]();\n do {\n const item = iterator.next();\n if (item.done) {\n subscriber.complete();\n break;\n }\n subscriber.next(item.value);\n if (subscriber.closed) {\n break;\n }\n } while (true);\n if (typeof iterator.return === 'function') {\n subscriber.add(() => {\n if (iterator.return) {\n iterator.return();\n }\n });\n }\n return subscriber;\n};\n//# sourceMappingURL=subscribeToIterable.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var arDz = moment.defineLocale('ar-dz', {\n months : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n monthsShort : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort : 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin : 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'في %s',\n past : 'منذ %s',\n s : 'ثوان',\n ss : '%d ثانية',\n m : 'دقيقة',\n mm : '%d دقائق',\n h : 'ساعة',\n hh : '%d ساعات',\n d : 'يوم',\n dd : '%d أيام',\n M : 'شهر',\n MM : '%d أشهر',\n y : 'سنة',\n yy : '%d سنوات'\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return arDz;\n\n})));\n","export const rxSubscriber = (() => typeof Symbol === 'function'\n ? Symbol('rxSubscriber')\n : '@@rxSubscriber_' + Math.random())();\nexport const $$rxSubscriber = rxSubscriber;\n//# sourceMappingURL=rxSubscriber.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var ss = moment.defineLocale('ss', {\n months : \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split('_'),\n monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),\n weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'h:mm A',\n LTS : 'h:mm:ss A',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY h:mm A',\n LLLL : 'dddd, D MMMM YYYY h:mm A'\n },\n calendar : {\n sameDay : '[Namuhla nga] LT',\n nextDay : '[Kusasa nga] LT',\n nextWeek : 'dddd [nga] LT',\n lastDay : '[Itolo nga] LT',\n lastWeek : 'dddd [leliphelile] [nga] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'nga %s',\n past : 'wenteka nga %s',\n s : 'emizuzwana lomcane',\n ss : '%d mzuzwana',\n m : 'umzuzu',\n mm : '%d emizuzu',\n h : 'lihora',\n hh : '%d emahora',\n d : 'lilanga',\n dd : '%d emalanga',\n M : 'inyanga',\n MM : '%d tinyanga',\n y : 'umnyaka',\n yy : '%d iminyaka'\n },\n meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n meridiem : function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'ekuseni';\n } else if (hours < 15) {\n return 'emini';\n } else if (hours < 19) {\n return 'entsambama';\n } else {\n return 'ebusuku';\n }\n },\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ekuseni') {\n return hour;\n } else if (meridiem === 'emini') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n if (hour === 0) {\n return 0;\n }\n return hour + 12;\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal : '%d',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return ss;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n var ne = moment.defineLocale('ne', {\n months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),\n monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),\n monthsParseExact : true,\n weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),\n weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),\n weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'Aको h:mm बजे',\n LTS : 'Aको h:mm:ss बजे',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, Aको h:mm बजे',\n LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /राति|बिहान|दिउँसो|साँझ/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'राति') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'बिहान') {\n return hour;\n } else if (meridiem === 'दिउँसो') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'साँझ') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 3) {\n return 'राति';\n } else if (hour < 12) {\n return 'बिहान';\n } else if (hour < 16) {\n return 'दिउँसो';\n } else if (hour < 20) {\n return 'साँझ';\n } else {\n return 'राति';\n }\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[भोलि] LT',\n nextWeek : '[आउँदो] dddd[,] LT',\n lastDay : '[हिजो] LT',\n lastWeek : '[गएको] dddd[,] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%sमा',\n past : '%s अगाडि',\n s : 'केही क्षण',\n ss : '%d सेकेण्ड',\n m : 'एक मिनेट',\n mm : '%d मिनेट',\n h : 'एक घण्टा',\n hh : '%d घण्टा',\n d : 'एक दिन',\n dd : '%d दिन',\n M : 'एक महिना',\n MM : '%d महिना',\n y : 'एक बर्ष',\n yy : '%d बर्ष'\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return ne;\n\n})));\n","import { Action, createAction, props } from '@ngrx/store';\r\nimport { IReorderDetails, ICartSimpleItem, ICartMenuFlow } from '../interface';\r\n\r\nexport const ReorderSetup = createAction(\r\n '[Reorder] Setup',\r\n props<{ orderId: number; locationNo: number; modalId?: number }>()\r\n);\r\n\r\nexport const ReorderUnmount = createAction(\r\n '[Reorder] Unmount',\r\n props<{ orderId?: number }>()\r\n);\r\n\r\nexport const ReorderCalculateRequest = createAction(\r\n '[Reorder] Request calculate for reorder',\r\n props<{ orderId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime }>(),\r\n);\r\n\r\nexport const ReorderCalculateSuccessRequest = createAction(\r\n '[Reorder] Success request calculate for reorder',\r\n props<{ orderId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime; payload: IReorderDetails }>(),\r\n);\r\n\r\nexport const ReorderCalculateErrorRequest = createAction(\r\n '[Reorder] Error request calculate for reorder',\r\n props<{ orderId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime; ex?: any }>(),\r\n);\r\n\r\nexport const ReorderSelectItem = createAction(\r\n '[Reorder] Select item',\r\n props<{ orderId: number; item: ICartSimpleItem | ICartMenuFlow }>(),\r\n);\r\n\r\nexport const ReorderDeselectItem = createAction(\r\n '[Reorder] Deselect item',\r\n props<{ orderId: number; item: ICartSimpleItem | ICartMenuFlow }>(),\r\n);\r\n\r\nexport const ReorderDeselectAll = createAction(\r\n '[Reorder] Deselect all',\r\n props<{ orderId: number }>(),\r\n);\r\n","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { InjectionToken, Injectable, ɵɵdefineInjectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, IterableDiffers, KeyValueDiffers, ElementRef, Renderer2, Input, NgModuleRef, ComponentFactoryResolver, ViewContainerRef, isDevMode, TemplateRef, Host, Attribute, ɵlooseIdentical, WrappedValue, ɵisPromise, ɵisObservable, Pipe, ChangeDetectorRef, DEFAULT_CURRENCY_CODE, NgModule, Version, ErrorHandler } from '@angular/core';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/dom_adapter.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nimport * as ɵngcc0 from '@angular/core';\nlet _DOM = (/** @type {?} */ (null));\n/**\n * @return {?}\n */\nfunction getDOM() {\n return _DOM;\n}\n/**\n * @param {?} adapter\n * @return {?}\n */\nfunction setDOM(adapter) {\n _DOM = adapter;\n}\n/**\n * @param {?} adapter\n * @return {?}\n */\nfunction setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n * @abstract\n */\nclass DomAdapter {\n}\nif (false) {\n /**\n * @abstract\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n DomAdapter.prototype.getProperty = function (el, name) { };\n /**\n * @abstract\n * @param {?} el\n * @param {?} evt\n * @return {?}\n */\n DomAdapter.prototype.dispatchEvent = function (el, evt) { };\n /**\n * @abstract\n * @param {?} error\n * @return {?}\n */\n DomAdapter.prototype.log = function (error) { };\n /**\n * @abstract\n * @param {?} error\n * @return {?}\n */\n DomAdapter.prototype.logGroup = function (error) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.logGroupEnd = function () { };\n /**\n * @abstract\n * @param {?} el\n * @return {?}\n */\n DomAdapter.prototype.remove = function (el) { };\n /**\n * @abstract\n * @param {?} tagName\n * @param {?=} doc\n * @return {?}\n */\n DomAdapter.prototype.createElement = function (tagName, doc) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.createHtmlDocument = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getDefaultDocument = function () { };\n /**\n * @abstract\n * @param {?} node\n * @return {?}\n */\n DomAdapter.prototype.isElementNode = function (node) { };\n /**\n * @abstract\n * @param {?} node\n * @return {?}\n */\n DomAdapter.prototype.isShadowRoot = function (node) { };\n /**\n * @abstract\n * @param {?} el\n * @param {?} evt\n * @param {?} listener\n * @return {?}\n */\n DomAdapter.prototype.onAndCancel = function (el, evt, listener) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.supportsDOMEvents = function () { };\n /**\n * @abstract\n * @param {?} doc\n * @param {?} target\n * @return {?}\n */\n DomAdapter.prototype.getGlobalEventTarget = function (doc, target) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getHistory = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getLocation = function () { };\n /**\n * This is the ambient Location definition, NOT Location from \\@angular/common.\n * @abstract\n * @param {?} doc\n * @return {?}\n */\n DomAdapter.prototype.getBaseHref = function (doc) { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.resetBaseElement = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.getUserAgent = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.performanceNow = function () { };\n /**\n * @abstract\n * @return {?}\n */\n DomAdapter.prototype.supportsCookies = function () { };\n /**\n * @abstract\n * @param {?} name\n * @return {?}\n */\n DomAdapter.prototype.getCookie = function (name) { };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/dom_tokens.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n *\n * Note: Document might not be available in the Application Context when Application and Rendering\n * Contexts are not the same (e.g. when running the application in a Web Worker).\n *\n * \\@publicApi\n * @type {?}\n */\nconst DOCUMENT = new InjectionToken('DocumentToken');\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/platform_location.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {\\@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `\\@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `\\@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {\\@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {\\@link LocationStrategy} in turn is used by the {\\@link Location} service which is used directly\n * by the {\\@link Router} in order to navigate between routes. Since all interactions between {\\@link\n * Router} /\n * {\\@link Location} / {\\@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * \\@publicApi\n * @abstract\n */\nclass PlatformLocation {\n}\nPlatformLocation.ɵfac = function PlatformLocation_Factory(t) { return new (t || PlatformLocation)(); };\n/** @nocollapse */ PlatformLocation.ɵprov = ɵɵdefineInjectable({ factory: useBrowserPlatformLocation, token: PlatformLocation, providedIn: \"platform\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(PlatformLocation, [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n // See #23917\n useFactory: useBrowserPlatformLocation\n }]\n }], null, null); })();\nif (false) {\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.getBaseHrefFromDOM = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.getState = function () { };\n /**\n * @abstract\n * @param {?} fn\n * @return {?}\n */\n PlatformLocation.prototype.onPopState = function (fn) { };\n /**\n * @abstract\n * @param {?} fn\n * @return {?}\n */\n PlatformLocation.prototype.onHashChange = function (fn) { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.href = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.protocol = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.hostname = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.port = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.pathname = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.search = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.hash = function () { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n PlatformLocation.prototype.replaceState = function (state, title, url) { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n PlatformLocation.prototype.pushState = function (state, title, url) { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.forward = function () { };\n /**\n * @abstract\n * @return {?}\n */\n PlatformLocation.prototype.back = function () { };\n}\n/**\n * @return {?}\n */\nfunction useBrowserPlatformLocation() {\n return ɵɵinject(BrowserPlatformLocation);\n}\n/**\n * \\@description\n * Indicates when a location is initialized.\n *\n * \\@publicApi\n * @type {?}\n */\nconst LOCATION_INITIALIZED = new InjectionToken('Location Initialized');\n/**\n * \\@description\n * A serializable version of the event from `onPopState` or `onHashChange`\n *\n * \\@publicApi\n * @record\n */\nfunction LocationChangeEvent() { }\nif (false) {\n /** @type {?} */\n LocationChangeEvent.prototype.type;\n /** @type {?} */\n LocationChangeEvent.prototype.state;\n}\n/**\n * \\@publicApi\n * @record\n */\nfunction LocationChangeListener() { }\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {\\@link Location}.\n */\nclass BrowserPlatformLocation extends PlatformLocation {\n /**\n * @param {?} _doc\n */\n constructor(_doc) {\n super();\n this._doc = _doc;\n this._init();\n }\n // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it\n /**\n * \\@internal\n * @return {?}\n */\n _init() {\n ((/** @type {?} */ (this))).location = getDOM().getLocation();\n this._history = getDOM().getHistory();\n }\n /**\n * @return {?}\n */\n getBaseHrefFromDOM() {\n return (/** @type {?} */ (getDOM().getBaseHref(this._doc)));\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onPopState(fn) {\n getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('popstate', fn, false);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onHashChange(fn) {\n getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('hashchange', fn, false);\n }\n /**\n * @return {?}\n */\n get href() {\n return this.location.href;\n }\n /**\n * @return {?}\n */\n get protocol() {\n return this.location.protocol;\n }\n /**\n * @return {?}\n */\n get hostname() {\n return this.location.hostname;\n }\n /**\n * @return {?}\n */\n get port() {\n return this.location.port;\n }\n /**\n * @return {?}\n */\n get pathname() {\n return this.location.pathname;\n }\n /**\n * @return {?}\n */\n get search() {\n return this.location.search;\n }\n /**\n * @return {?}\n */\n get hash() {\n return this.location.hash;\n }\n /**\n * @param {?} newPath\n * @return {?}\n */\n set pathname(newPath) {\n this.location.pathname = newPath;\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n pushState(state, title, url) {\n if (supportsState()) {\n this._history.pushState(state, title, url);\n }\n else {\n this.location.hash = url;\n }\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @return {?}\n */\n replaceState(state, title, url) {\n if (supportsState()) {\n this._history.replaceState(state, title, url);\n }\n else {\n this.location.hash = url;\n }\n }\n /**\n * @return {?}\n */\n forward() {\n this._history.forward();\n }\n /**\n * @return {?}\n */\n back() {\n this._history.back();\n }\n /**\n * @return {?}\n */\n getState() {\n return this._history.state;\n }\n}\nBrowserPlatformLocation.ɵfac = function BrowserPlatformLocation_Factory(t) { return new (t || BrowserPlatformLocation)(ɵngcc0.ɵɵinject(DOCUMENT)); };\n/** @nocollapse */\nBrowserPlatformLocation.ctorParameters = () => [\n { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }\n];\n/** @nocollapse */ BrowserPlatformLocation.ɵprov = ɵɵdefineInjectable({ factory: createBrowserPlatformLocation, token: BrowserPlatformLocation, providedIn: \"platform\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(BrowserPlatformLocation, [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n // See #23917\n useFactory: createBrowserPlatformLocation\n }]\n }], function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, null); })();\nif (false) {\n /** @type {?} */\n BrowserPlatformLocation.prototype.location;\n /**\n * @type {?}\n * @private\n */\n BrowserPlatformLocation.prototype._history;\n /**\n * @type {?}\n * @private\n */\n BrowserPlatformLocation.prototype._doc;\n}\n/**\n * @return {?}\n */\nfunction supportsState() {\n return !!window.history.pushState;\n}\n/**\n * @return {?}\n */\nfunction createBrowserPlatformLocation() {\n return new BrowserPlatformLocation(ɵɵinject(DOCUMENT));\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/private_export.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/util.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param {?} start URL string\n * @param {?} end URL string\n *\n *\n * @return {?} The joined URL string.\n */\nfunction joinWithSlash(start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n /** @type {?} */\n let slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n}\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param {?} url URL string.\n *\n * @return {?} The URL string, modified if needed.\n */\nfunction stripTrailingSlash(url) {\n /** @type {?} */\n const match = url.match(/#|\\?|$/);\n /** @type {?} */\n const pathEndIdx = match && match.index || url.length;\n /** @type {?} */\n const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param {?} params String of URL parameters.\n *\n * @return {?} The normalized URL parameters string.\n */\nfunction normalizeQueryParams(params) {\n return params && params[0] !== '?' ? '?' + params : params;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/location_strategy.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * http://example.com#/foo,\n * and `PathLocationStrategy` produces\n * http://example.com/foo as an equivalent URL.\n *\n * See these two classes for more.\n *\n * \\@publicApi\n * @abstract\n */\nclass LocationStrategy {\n}\nLocationStrategy.ɵfac = function LocationStrategy_Factory(t) { return new (t || LocationStrategy)(); };\n/** @nocollapse */ LocationStrategy.ɵprov = ɵɵdefineInjectable({ factory: provideLocationStrategy, token: LocationStrategy, providedIn: \"root\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(LocationStrategy, [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]\n }], null, null); })();\nif (false) {\n /**\n * @abstract\n * @param {?=} includeHash\n * @return {?}\n */\n LocationStrategy.prototype.path = function (includeHash) { };\n /**\n * @abstract\n * @param {?} internal\n * @return {?}\n */\n LocationStrategy.prototype.prepareExternalUrl = function (internal) { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n LocationStrategy.prototype.pushState = function (state, title, url, queryParams) { };\n /**\n * @abstract\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n LocationStrategy.prototype.replaceState = function (state, title, url, queryParams) { };\n /**\n * @abstract\n * @return {?}\n */\n LocationStrategy.prototype.forward = function () { };\n /**\n * @abstract\n * @return {?}\n */\n LocationStrategy.prototype.back = function () { };\n /**\n * @abstract\n * @param {?} fn\n * @return {?}\n */\n LocationStrategy.prototype.onPopState = function (fn) { };\n /**\n * @abstract\n * @return {?}\n */\n LocationStrategy.prototype.getBaseHref = function () { };\n}\n/**\n * @param {?} platformLocation\n * @return {?}\n */\nfunction provideLocationStrategy(platformLocation) {\n // See #23917\n /** @type {?} */\n const location = ɵɵinject(DOCUMENT).location;\n return new PathLocationStrategy(ɵɵinject((/** @type {?} */ (PlatformLocation))), location && location.origin || '');\n}\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * \\@usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {Component, NgModule} from '\\@angular/core';\n * import {APP_BASE_HREF} from '\\@angular/common';\n *\n * \\@NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst APP_BASE_HREF = new InjectionToken('appBaseHref');\n/**\n * \\@description\n * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you must provide a {\\@link APP_BASE_HREF}\n * or add a base element to the document. This URL prefix that will be preserved\n * when generating and recognizing URLs.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Similarly, if you add `` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * \\@publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n /**\n * @param {?} _platformLocation\n * @param {?=} href\n */\n constructor(_platformLocation, href) {\n super();\n this._platformLocation = _platformLocation;\n if (href == null) {\n href = this._platformLocation.getBaseHrefFromDOM();\n }\n if (href == null) {\n throw new Error(`No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.`);\n }\n this._baseHref = href;\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onPopState(fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n }\n /**\n * @return {?}\n */\n getBaseHref() {\n return this._baseHref;\n }\n /**\n * @param {?} internal\n * @return {?}\n */\n prepareExternalUrl(internal) {\n return joinWithSlash(this._baseHref, internal);\n }\n /**\n * @param {?=} includeHash\n * @return {?}\n */\n path(includeHash = false) {\n /** @type {?} */\n const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n /** @type {?} */\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n pushState(state, title, url, queryParams) {\n /** @type {?} */\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} url\n * @param {?} queryParams\n * @return {?}\n */\n replaceState(state, title, url, queryParams) {\n /** @type {?} */\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n /**\n * @return {?}\n */\n forward() {\n this._platformLocation.forward();\n }\n /**\n * @return {?}\n */\n back() {\n this._platformLocation.back();\n }\n}\nPathLocationStrategy.ɵfac = function PathLocationStrategy_Factory(t) { return new (t || PathLocationStrategy)(ɵngcc0.ɵɵinject(PlatformLocation), ɵngcc0.ɵɵinject(APP_BASE_HREF, 8)); };\nPathLocationStrategy.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: PathLocationStrategy, factory: PathLocationStrategy.ɵfac });\n/** @nocollapse */\nPathLocationStrategy.ctorParameters = () => [\n { type: PlatformLocation },\n { type: String, decorators: [{ type: Optional }, { type: Inject, args: [APP_BASE_HREF,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(PathLocationStrategy, [{\n type: Injectable\n }], function () { return [{ type: PlatformLocation }, { type: String, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n PathLocationStrategy.prototype._baseHref;\n /**\n * @type {?}\n * @private\n */\n PathLocationStrategy.prototype._platformLocation;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/hash_location_strategy.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * \\@publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n /**\n * @param {?} _platformLocation\n * @param {?=} _baseHref\n */\n constructor(_platformLocation, _baseHref) {\n super();\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n if (_baseHref != null) {\n this._baseHref = _baseHref;\n }\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onPopState(fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n }\n /**\n * @return {?}\n */\n getBaseHref() {\n return this._baseHref;\n }\n /**\n * @param {?=} includeHash\n * @return {?}\n */\n path(includeHash = false) {\n // the hash value is always prefixed with a `#`\n // and if it is empty then it will stay empty\n /** @type {?} */\n let path = this._platformLocation.hash;\n if (path == null)\n path = '#';\n return path.length > 0 ? path.substring(1) : path;\n }\n /**\n * @param {?} internal\n * @return {?}\n */\n prepareExternalUrl(internal) {\n /** @type {?} */\n const url = joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? ('#' + url) : url;\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} path\n * @param {?} queryParams\n * @return {?}\n */\n pushState(state, title, path, queryParams) {\n /** @type {?} */\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n }\n /**\n * @param {?} state\n * @param {?} title\n * @param {?} path\n * @param {?} queryParams\n * @return {?}\n */\n replaceState(state, title, path, queryParams) {\n /** @type {?} */\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n }\n /**\n * @return {?}\n */\n forward() {\n this._platformLocation.forward();\n }\n /**\n * @return {?}\n */\n back() {\n this._platformLocation.back();\n }\n}\nHashLocationStrategy.ɵfac = function HashLocationStrategy_Factory(t) { return new (t || HashLocationStrategy)(ɵngcc0.ɵɵinject(PlatformLocation), ɵngcc0.ɵɵinject(APP_BASE_HREF, 8)); };\nHashLocationStrategy.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: HashLocationStrategy, factory: HashLocationStrategy.ɵfac });\n/** @nocollapse */\nHashLocationStrategy.ctorParameters = () => [\n { type: PlatformLocation },\n { type: String, decorators: [{ type: Optional }, { type: Inject, args: [APP_BASE_HREF,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(HashLocationStrategy, [{\n type: Injectable\n }], function () { return [{ type: PlatformLocation }, { type: String, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n HashLocationStrategy.prototype._baseHref;\n /**\n * @type {?}\n * @private\n */\n HashLocationStrategy.prototype._platformLocation;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/location.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @record\n */\nfunction PopStateEvent() { }\nif (false) {\n /** @type {?|undefined} */\n PopStateEvent.prototype.pop;\n /** @type {?|undefined} */\n PopStateEvent.prototype.state;\n /** @type {?|undefined} */\n PopStateEvent.prototype.type;\n /** @type {?|undefined} */\n PopStateEvent.prototype.url;\n}\n/**\n * \\@description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * \\@usageNotes\n *\n * It's better to use the `Router#navigate` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * \n *\n * \\@publicApi\n */\nclass Location {\n /**\n * @param {?} platformStrategy\n * @param {?} platformLocation\n */\n constructor(platformStrategy, platformLocation) {\n /**\n * \\@internal\n */\n this._subject = new EventEmitter();\n /**\n * \\@internal\n */\n this._urlChangeListeners = [];\n this._platformStrategy = platformStrategy;\n /** @type {?} */\n const browserBaseHref = this._platformStrategy.getBaseHref();\n this._platformLocation = platformLocation;\n this._baseHref = stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n this._platformStrategy.onPopState((/**\n * @param {?} ev\n * @return {?}\n */\n (ev) => {\n this._subject.emit({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n }));\n }\n /**\n * Normalizes the URL path for this location.\n *\n * @param {?=} includeHash True to include an anchor fragment in the path.\n *\n * @return {?} The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash = false) {\n return this.normalize(this._platformStrategy.path(includeHash));\n }\n /**\n * Reports the current state of the location history.\n * @return {?} The current value of the `history.state` object.\n */\n getState() {\n return this._platformLocation.getState();\n }\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param {?} path The given URL path.\n * @param {?=} query Query parameters.\n *\n * @return {?} True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path, query = '') {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param {?} url String representing a URL.\n *\n * @return {?} The normalized URL string.\n */\n normalize(url) {\n return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n }\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param {?} url String representing a URL.\n *\n * @return {?} A normalized platform-specific URL.\n */\n prepareExternalUrl(url) {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._platformStrategy.prepareExternalUrl(url);\n }\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param {?} path URL path to normalize.\n * @param {?=} query Query parameters.\n * @param {?=} state Location history state.\n *\n * @return {?}\n */\n go(path, query = '', state = null) {\n this._platformStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param {?} path URL path to normalize.\n * @param {?=} query Query parameters.\n * @param {?=} state Location history state.\n * @return {?}\n */\n replaceState(path, query = '', state = null) {\n this._platformStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Navigates forward in the platform's history.\n * @return {?}\n */\n forward() {\n this._platformStrategy.forward();\n }\n /**\n * Navigates back in the platform's history.\n * @return {?}\n */\n back() {\n this._platformStrategy.back();\n }\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param {?} fn The change handler function, which take a URL and a location history state.\n * @return {?}\n */\n onUrlChange(fn) {\n this._urlChangeListeners.push(fn);\n this.subscribe((/**\n * @param {?} v\n * @return {?}\n */\n v => {\n this._notifyUrlChangeListeners(v.url, v.state);\n }));\n }\n /**\n * \\@internal\n * @param {?=} url\n * @param {?=} state\n * @return {?}\n */\n _notifyUrlChangeListeners(url = '', state) {\n this._urlChangeListeners.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn(url, state)));\n }\n /**\n * Subscribes to the platform's `popState` events.\n *\n * @param {?} onNext\n * @param {?=} onThrow\n * @param {?=} onReturn\n * @return {?} Subscribed events.\n */\n subscribe(onNext, onThrow, onReturn) {\n return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n }\n}\nLocation.ɵfac = function Location_Factory(t) { return new (t || Location)(ɵngcc0.ɵɵinject(LocationStrategy), ɵngcc0.ɵɵinject(PlatformLocation)); };\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @return The normalized URL parameters string.\n */\nLocation.normalizeQueryParams = normalizeQueryParams;\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @return The joined URL string.\n */\nLocation.joinWithSlash = joinWithSlash;\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @return The URL string, modified if needed.\n */\nLocation.stripTrailingSlash = stripTrailingSlash;\n/** @nocollapse */\nLocation.ctorParameters = () => [\n { type: LocationStrategy },\n { type: PlatformLocation }\n];\n/** @nocollapse */ Location.ɵprov = ɵɵdefineInjectable({ factory: createLocation, token: Location, providedIn: \"root\" });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(Location, [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n // See #23917\n useFactory: createLocation\n }]\n }], function () { return [{ type: LocationStrategy }, { type: PlatformLocation }]; }, null); })();\nif (false) {\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * \\@param params String of URL parameters.\n *\n * \\@return The normalized URL parameters string.\n * @type {?}\n */\n Location.normalizeQueryParams;\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * \\@param start URL string\n * \\@param end URL string\n *\n *\n * \\@return The joined URL string.\n * @type {?}\n */\n Location.joinWithSlash;\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * \\@param url URL string.\n *\n * \\@return The URL string, modified if needed.\n * @type {?}\n */\n Location.stripTrailingSlash;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._subject;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._baseHref;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._platformStrategy;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._platformLocation;\n /**\n * \\@internal\n * @type {?}\n */\n Location.prototype._urlChangeListeners;\n}\n/**\n * @return {?}\n */\nfunction createLocation() {\n return new Location(ɵɵinject((/** @type {?} */ (LocationStrategy))), ɵɵinject((/** @type {?} */ (PlatformLocation))));\n}\n/**\n * @param {?} baseHref\n * @param {?} url\n * @return {?}\n */\nfunction _stripBaseHref(baseHref, url) {\n return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;\n}\n/**\n * @param {?} url\n * @return {?}\n */\nfunction _stripIndexHtml(url) {\n return url.replace(/\\/index.html$/, '');\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/location/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/currencies.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// THIS CODE IS GENERATED - DO NOT MODIFY\n// See angular/tools/gulp-tasks/cldr/extract.js\n/**\n * \\@internal\n * @type {?}\n */\nconst CURRENCIES_EN = {\n 'ADP': [undefined, undefined, 0],\n 'AFN': [undefined, undefined, 0],\n 'ALL': [undefined, undefined, 0],\n 'AMD': [undefined, undefined, 2],\n 'AOA': [undefined, 'Kz'],\n 'ARS': [undefined, '$'],\n 'AUD': ['A$', '$'],\n 'BAM': [undefined, 'KM'],\n 'BBD': [undefined, '$'],\n 'BDT': [undefined, '৳'],\n 'BHD': [undefined, undefined, 3],\n 'BIF': [undefined, undefined, 0],\n 'BMD': [undefined, '$'],\n 'BND': [undefined, '$'],\n 'BOB': [undefined, 'Bs'],\n 'BRL': ['R$'],\n 'BSD': [undefined, '$'],\n 'BWP': [undefined, 'P'],\n 'BYN': [undefined, 'р.', 2],\n 'BYR': [undefined, undefined, 0],\n 'BZD': [undefined, '$'],\n 'CAD': ['CA$', '$', 2],\n 'CHF': [undefined, undefined, 2],\n 'CLF': [undefined, undefined, 4],\n 'CLP': [undefined, '$', 0],\n 'CNY': ['CN¥', '¥'],\n 'COP': [undefined, '$', 2],\n 'CRC': [undefined, '₡', 2],\n 'CUC': [undefined, '$'],\n 'CUP': [undefined, '$'],\n 'CZK': [undefined, 'Kč', 2],\n 'DJF': [undefined, undefined, 0],\n 'DKK': [undefined, 'kr', 2],\n 'DOP': [undefined, '$'],\n 'EGP': [undefined, 'E£'],\n 'ESP': [undefined, '₧', 0],\n 'EUR': ['€'],\n 'FJD': [undefined, '$'],\n 'FKP': [undefined, '£'],\n 'GBP': ['£'],\n 'GEL': [undefined, '₾'],\n 'GIP': [undefined, '£'],\n 'GNF': [undefined, 'FG', 0],\n 'GTQ': [undefined, 'Q'],\n 'GYD': [undefined, '$', 2],\n 'HKD': ['HK$', '$'],\n 'HNL': [undefined, 'L'],\n 'HRK': [undefined, 'kn'],\n 'HUF': [undefined, 'Ft', 2],\n 'IDR': [undefined, 'Rp', 2],\n 'ILS': ['₪'],\n 'INR': ['₹'],\n 'IQD': [undefined, undefined, 0],\n 'IRR': [undefined, undefined, 0],\n 'ISK': [undefined, 'kr', 0],\n 'ITL': [undefined, undefined, 0],\n 'JMD': [undefined, '$'],\n 'JOD': [undefined, undefined, 3],\n 'JPY': ['¥', undefined, 0],\n 'KHR': [undefined, '៛'],\n 'KMF': [undefined, 'CF', 0],\n 'KPW': [undefined, '₩', 0],\n 'KRW': ['₩', undefined, 0],\n 'KWD': [undefined, undefined, 3],\n 'KYD': [undefined, '$'],\n 'KZT': [undefined, '₸'],\n 'LAK': [undefined, '₭', 0],\n 'LBP': [undefined, 'L£', 0],\n 'LKR': [undefined, 'Rs'],\n 'LRD': [undefined, '$'],\n 'LTL': [undefined, 'Lt'],\n 'LUF': [undefined, undefined, 0],\n 'LVL': [undefined, 'Ls'],\n 'LYD': [undefined, undefined, 3],\n 'MGA': [undefined, 'Ar', 0],\n 'MGF': [undefined, undefined, 0],\n 'MMK': [undefined, 'K', 0],\n 'MNT': [undefined, '₮', 2],\n 'MRO': [undefined, undefined, 0],\n 'MUR': [undefined, 'Rs', 2],\n 'MXN': ['MX$', '$'],\n 'MYR': [undefined, 'RM'],\n 'NAD': [undefined, '$'],\n 'NGN': [undefined, '₦'],\n 'NIO': [undefined, 'C$'],\n 'NOK': [undefined, 'kr', 2],\n 'NPR': [undefined, 'Rs'],\n 'NZD': ['NZ$', '$'],\n 'OMR': [undefined, undefined, 3],\n 'PHP': [undefined, '₱'],\n 'PKR': [undefined, 'Rs', 2],\n 'PLN': [undefined, 'zł'],\n 'PYG': [undefined, '₲', 0],\n 'RON': [undefined, 'lei'],\n 'RSD': [undefined, undefined, 0],\n 'RUB': [undefined, '₽'],\n 'RUR': [undefined, 'р.'],\n 'RWF': [undefined, 'RF', 0],\n 'SBD': [undefined, '$'],\n 'SEK': [undefined, 'kr', 2],\n 'SGD': [undefined, '$'],\n 'SHP': [undefined, '£'],\n 'SLL': [undefined, undefined, 0],\n 'SOS': [undefined, undefined, 0],\n 'SRD': [undefined, '$'],\n 'SSP': [undefined, '£'],\n 'STD': [undefined, undefined, 0],\n 'STN': [undefined, 'Db'],\n 'SYP': [undefined, '£', 0],\n 'THB': [undefined, '฿'],\n 'TMM': [undefined, undefined, 0],\n 'TND': [undefined, undefined, 3],\n 'TOP': [undefined, 'T$'],\n 'TRL': [undefined, undefined, 0],\n 'TRY': [undefined, '₺'],\n 'TTD': [undefined, '$'],\n 'TWD': ['NT$', '$', 2],\n 'TZS': [undefined, undefined, 2],\n 'UAH': [undefined, '₴'],\n 'UGX': [undefined, undefined, 0],\n 'USD': ['$'],\n 'UYI': [undefined, undefined, 0],\n 'UYU': [undefined, '$'],\n 'UYW': [undefined, undefined, 4],\n 'UZS': [undefined, undefined, 2],\n 'VEF': [undefined, 'Bs', 2],\n 'VND': ['₫', undefined, 0],\n 'VUV': [undefined, undefined, 0],\n 'XAF': ['FCFA', undefined, 0],\n 'XCD': ['EC$', '$'],\n 'XOF': ['CFA', undefined, 0],\n 'XPF': ['CFPF', undefined, 0],\n 'XXX': ['¤'],\n 'YER': [undefined, undefined, 0],\n 'ZAR': [undefined, 'R'],\n 'ZMK': [undefined, undefined, 0],\n 'ZMW': [undefined, 'ZK'],\n 'ZWD': [undefined, undefined, 0]\n};\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/locale_data_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst NumberFormatStyle = {\n Decimal: 0,\n Percent: 1,\n Currency: 2,\n Scientific: 3,\n};\nNumberFormatStyle[NumberFormatStyle.Decimal] = 'Decimal';\nNumberFormatStyle[NumberFormatStyle.Percent] = 'Percent';\nNumberFormatStyle[NumberFormatStyle.Currency] = 'Currency';\nNumberFormatStyle[NumberFormatStyle.Scientific] = 'Scientific';\n/** @enum {number} */\nconst Plural = {\n Zero: 0,\n One: 1,\n Two: 2,\n Few: 3,\n Many: 4,\n Other: 5,\n};\nPlural[Plural.Zero] = 'Zero';\nPlural[Plural.One] = 'One';\nPlural[Plural.Two] = 'Two';\nPlural[Plural.Few] = 'Few';\nPlural[Plural.Many] = 'Many';\nPlural[Plural.Other] = 'Other';\n/** @enum {number} */\nconst FormStyle = {\n Format: 0,\n Standalone: 1,\n};\nFormStyle[FormStyle.Format] = 'Format';\nFormStyle[FormStyle.Standalone] = 'Standalone';\n/** @enum {number} */\nconst TranslationWidth = {\n /** 1 character for `en-US`. For example: 'S' */\n Narrow: 0,\n /** 3 characters for `en-US`. For example: 'Sun' */\n Abbreviated: 1,\n /** Full length for `en-US`. For example: \"Sunday\" */\n Wide: 2,\n /** 2 characters for `en-US`, For example: \"Su\" */\n Short: 3,\n};\nTranslationWidth[TranslationWidth.Narrow] = 'Narrow';\nTranslationWidth[TranslationWidth.Abbreviated] = 'Abbreviated';\nTranslationWidth[TranslationWidth.Wide] = 'Wide';\nTranslationWidth[TranslationWidth.Short] = 'Short';\n/** @enum {number} */\nconst FormatWidth = {\n /**\n * For `en-US`, 'M/d/yy, h:mm a'`\n * (Example: `6/15/15, 9:03 AM`)\n */\n Short: 0,\n /**\n * For `en-US`, `'MMM d, y, h:mm:ss a'`\n * (Example: `Jun 15, 2015, 9:03:01 AM`)\n */\n Medium: 1,\n /**\n * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n */\n Long: 2,\n /**\n * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n */\n Full: 3,\n};\nFormatWidth[FormatWidth.Short] = 'Short';\nFormatWidth[FormatWidth.Medium] = 'Medium';\nFormatWidth[FormatWidth.Long] = 'Long';\nFormatWidth[FormatWidth.Full] = 'Full';\n/** @enum {number} */\nconst NumberSymbol = {\n /**\n * Decimal separator.\n * For `en-US`, the dot character.\n * Example : 2,345`.`67\n */\n Decimal: 0,\n /**\n * Grouping separator, typically for thousands.\n * For `en-US`, the comma character.\n * Example: 2`,`345.67\n */\n Group: 1,\n /**\n * List-item separator.\n * Example: \"one, two, and three\"\n */\n List: 2,\n /**\n * Sign for percentage (out of 100).\n * Example: 23.4%\n */\n PercentSign: 3,\n /**\n * Sign for positive numbers.\n * Example: +23\n */\n PlusSign: 4,\n /**\n * Sign for negative numbers.\n * Example: -23\n */\n MinusSign: 5,\n /**\n * Computer notation for exponential value (n times a power of 10).\n * Example: 1.2E3\n */\n Exponential: 6,\n /**\n * Human-readable format of exponential.\n * Example: 1.2x103\n */\n SuperscriptingExponent: 7,\n /**\n * Sign for permille (out of 1000).\n * Example: 23.4‰\n */\n PerMille: 8,\n /**\n * Infinity, can be used with plus and minus.\n * Example: ∞, +∞, -∞\n */\n Infinity: 9,\n /**\n * Not a number.\n * Example: NaN\n */\n NaN: 10,\n /**\n * Symbol used between time units.\n * Example: 10:52\n */\n TimeSeparator: 11,\n /**\n * Decimal separator for currency values (fallback to `Decimal`).\n * Example: $2,345.67\n */\n CurrencyDecimal: 12,\n /**\n * Group separator for currency values (fallback to `Group`).\n * Example: $2,345.67\n */\n CurrencyGroup: 13,\n};\nNumberSymbol[NumberSymbol.Decimal] = 'Decimal';\nNumberSymbol[NumberSymbol.Group] = 'Group';\nNumberSymbol[NumberSymbol.List] = 'List';\nNumberSymbol[NumberSymbol.PercentSign] = 'PercentSign';\nNumberSymbol[NumberSymbol.PlusSign] = 'PlusSign';\nNumberSymbol[NumberSymbol.MinusSign] = 'MinusSign';\nNumberSymbol[NumberSymbol.Exponential] = 'Exponential';\nNumberSymbol[NumberSymbol.SuperscriptingExponent] = 'SuperscriptingExponent';\nNumberSymbol[NumberSymbol.PerMille] = 'PerMille';\nNumberSymbol[NumberSymbol.Infinity] = 'Infinity';\nNumberSymbol[NumberSymbol.NaN] = 'NaN';\nNumberSymbol[NumberSymbol.TimeSeparator] = 'TimeSeparator';\nNumberSymbol[NumberSymbol.CurrencyDecimal] = 'CurrencyDecimal';\nNumberSymbol[NumberSymbol.CurrencyGroup] = 'CurrencyGroup';\n/** @enum {number} */\nconst WeekDay = {\n Sunday: 0,\n Monday: 1,\n Tuesday: 2,\n Wednesday: 3,\n Thursday: 4,\n Friday: 5,\n Saturday: 6,\n};\nWeekDay[WeekDay.Sunday] = 'Sunday';\nWeekDay[WeekDay.Monday] = 'Monday';\nWeekDay[WeekDay.Tuesday] = 'Tuesday';\nWeekDay[WeekDay.Wednesday] = 'Wednesday';\nWeekDay[WeekDay.Thursday] = 'Thursday';\nWeekDay[WeekDay.Friday] = 'Friday';\nWeekDay[WeekDay.Saturday] = 'Saturday';\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code, such as `fr-FR`.\n * @return {?} The locale code. For example, `fr`.\n */\nfunction getLocaleId(locale) {\n return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const amPmData = (/** @type {?} */ ([\n data[ɵLocaleDataIndex.DayPeriodsFormat], data[ɵLocaleDataIndex.DayPeriodsStandalone]\n ]));\n /** @type {?} */\n const amPm = getLastDefinedValue(amPmData, formStyle);\n return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const daysData = (/** @type {?} */ ([data[ɵLocaleDataIndex.DaysFormat], data[ɵLocaleDataIndex.DaysStandalone]]));\n /** @type {?} */\n const days = getLastDefinedValue(daysData, formStyle);\n return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized name strings.\n * For example, `[January, February, ...]` for `en-US`.\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const monthsData = (/** @type {?} */ ([data[ɵLocaleDataIndex.MonthsFormat], data[ɵLocaleDataIndex.MonthsStandalone]]));\n /** @type {?} */\n const months = getLastDefinedValue(monthsData, formStyle);\n return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The required character width.\n * @return {?} An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n */\nfunction getLocaleEraNames(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const erasData = (/** @type {?} */ (data[ɵLocaleDataIndex.Eras]));\n return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The range of day values, `[startDay, endDay]`.\n */\nfunction getLocaleWeekEndRange(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.WeekendRange];\n}\n/**\n * Retrieves a localized date-value formating string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formating string.\n */\nfunction getLocaleDateFormat(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formatting string.\n */\nfunction getLocaleTimeFormat(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formatting string.\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const dateTimeFormatData = (/** @type {?} */ (data[ɵLocaleDataIndex.DateTimeFormat]));\n return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @see `NumberSymbol` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale The locale code.\n * @param {?} symbol The symbol to localize.\n * @return {?} The character for the localized symbol.\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n /** @type {?} */\n const res = data[ɵLocaleDataIndex.NumberSymbols][symbol];\n if (typeof res === 'undefined') {\n if (symbol === NumberSymbol.CurrencyDecimal) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Decimal];\n }\n else if (symbol === NumberSymbol.CurrencyGroup) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Group];\n }\n }\n return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * Important: The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @see `NumberFormatStyle` / [CLDR website](http://cldr.unicode.org/translation/number-patterns) / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @return {?} The localized format string.\n */\nfunction getLocaleNumberFormat(locale, type) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The localized symbol character,\n * or `null` if the main country cannot be determined.\n */\nfunction getLocaleCurrencySymbol(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The currency name,\n * or `null` if the main country cannot be determined.\n */\nfunction getLocaleCurrencyName(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencyName] || null;\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * \\@publicApi\n * @param {?} locale The code of the locale whose currency code we want.\n * @return {?} The code of the default currency for the given locale.\n *\n */\nfunction getLocaleCurrencyCode(locale) {\n return ɵgetLocaleCurrencyCode(locale);\n}\n/**\n * Retrieves the currency values for a given locale.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The currency values.\n */\nfunction getLocaleCurrencies(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Currencies];\n}\n/**\n * \\@alias core/ɵgetLocalePluralCase\n * \\@publicApi\n * @type {?}\n */\nconst getLocalePluralCase = ɵgetLocalePluralCase;\n/**\n * @param {?} data\n * @return {?}\n */\nfunction checkFullData(data) {\n if (!data[ɵLocaleDataIndex.ExtraData]) {\n throw new Error(`Missing extra locale data for the locale \"${data[ɵLocaleDataIndex\n .LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n *\n * @see `getLocaleExtraDayPeriods()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n /** @type {?} */\n const rules = data[ɵLocaleDataIndex.ExtraData][2 /* ExtraDayPeriodsRules */] || [];\n return rules.map((/**\n * @param {?} rule\n * @return {?}\n */\n (rule) => {\n if (typeof rule === 'string') {\n return extractTime(rule);\n }\n return [extractTime(rule[0]), extractTime(rule[1])];\n }));\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n *\n * @see `getLocaleExtraDayPeriodRules()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} The translated day-period strings.\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n /** @type {?} */\n const dayPeriodsData = (/** @type {?} */ ([\n data[ɵLocaleDataIndex.ExtraData][0 /* ExtraDayPeriodFormats */],\n data[ɵLocaleDataIndex.ExtraData][1 /* ExtraDayPeriodStandalone */]\n ]));\n /** @type {?} */\n const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the writing direction of a specified locale\n * \\@publicApi\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} 'rtl' or 'ltr'\n */\nfunction getLocaleDirection(locale) {\n /** @type {?} */\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Directionality];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @template T\n * @param {?} data The data array to retrieve from.\n * @param {?} index A 0-based index into the array to start from.\n * @return {?} The value immediately before the given index position.\n */\nfunction getLastDefinedValue(data, index) {\n for (let i = index; i > -1; i--) {\n if (typeof data[i] !== 'undefined') {\n return data[i];\n }\n }\n throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n * @param {?} time\n * @return {?}\n */\nfunction extractTime(time) {\n const [h, m] = time.split(':');\n return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} code The currency code.\n * @param {?} format The format, `wide` or `narrow`.\n * @param {?=} locale A locale code for the locale format rules to use.\n *\n * @return {?} The symbol, or the currency code if no symbol is available.\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n /** @type {?} */\n const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n /** @type {?} */\n const symbolNarrow = currency[1 /* SymbolNarrow */];\n if (format === 'narrow' && typeof symbolNarrow === 'string') {\n return symbolNarrow;\n }\n return currency[0 /* Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\n/** @type {?} */\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} code The currency code.\n * @return {?} The number of decimal digits, typically 0 or 2.\n */\nfunction getNumberOfCurrencyDigits(code) {\n /** @type {?} */\n let digits;\n /** @type {?} */\n const currency = CURRENCIES_EN[code];\n if (currency) {\n digits = currency[2 /* NbOfDigits */];\n }\n return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/format_date.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ISO8601_DATE_REGEX = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n// 1 2 3 4 5 6 7 8 9 10 11\n/** @type {?} */\nconst NAMED_FORMATS = {};\n/** @type {?} */\nconst DATE_FORMATS_SPLIT = /((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\n/** @enum {number} */\nconst ZoneWidth = {\n Short: 0,\n ShortGMT: 1,\n Long: 2,\n Extended: 3,\n};\nZoneWidth[ZoneWidth.Short] = 'Short';\nZoneWidth[ZoneWidth.ShortGMT] = 'ShortGMT';\nZoneWidth[ZoneWidth.Long] = 'Long';\nZoneWidth[ZoneWidth.Extended] = 'Extended';\n/** @enum {number} */\nconst DateType = {\n FullYear: 0,\n Month: 1,\n Date: 2,\n Hours: 3,\n Minutes: 4,\n Seconds: 5,\n FractionalSeconds: 6,\n Day: 7,\n};\nDateType[DateType.FullYear] = 'FullYear';\nDateType[DateType.Month] = 'Month';\nDateType[DateType.Date] = 'Date';\nDateType[DateType.Hours] = 'Hours';\nDateType[DateType.Minutes] = 'Minutes';\nDateType[DateType.Seconds] = 'Seconds';\nDateType[DateType.FractionalSeconds] = 'FractionalSeconds';\nDateType[DateType.Day] = 'Day';\n/** @enum {number} */\nconst TranslationType = {\n DayPeriods: 0,\n Days: 1,\n Months: 2,\n Eras: 3,\n};\nTranslationType[TranslationType.DayPeriods] = 'DayPeriods';\nTranslationType[TranslationType.Days] = 'Days';\nTranslationType[TranslationType.Months] = 'Months';\nTranslationType[TranslationType.Eras] = 'Eras';\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date according to locale rules.\n *\n * @see `DatePipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param {?} format The date-time components to include. See `DatePipe` for details.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @return {?} The formatted date string.\n *\n */\nfunction formatDate(value, format, locale, timezone) {\n /** @type {?} */\n let date = toDate(value);\n /** @type {?} */\n const namedFormat = getNamedFormat(locale, format);\n format = namedFormat || format;\n /** @type {?} */\n let parts = [];\n /** @type {?} */\n let match;\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = parts.concat(match.slice(1));\n /** @type {?} */\n const part = parts.pop();\n if (!part) {\n break;\n }\n format = part;\n }\n else {\n parts.push(format);\n break;\n }\n }\n /** @type {?} */\n let dateTimezoneOffset = date.getTimezoneOffset();\n if (timezone) {\n dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n date = convertTimezoneToLocal(date, timezone, true);\n }\n /** @type {?} */\n let text = '';\n parts.forEach((/**\n * @param {?} value\n * @return {?}\n */\n value => {\n /** @type {?} */\n const dateFormatter = getDateFormatter(value);\n text += dateFormatter ?\n dateFormatter(date, locale, dateTimezoneOffset) :\n value === '\\'\\'' ? '\\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n }));\n return text;\n}\n/**\n * @param {?} locale\n * @param {?} format\n * @return {?}\n */\nfunction getNamedFormat(locale, format) {\n /** @type {?} */\n const localeId = getLocaleId(locale);\n NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n if (NAMED_FORMATS[localeId][format]) {\n return NAMED_FORMATS[localeId][format];\n }\n /** @type {?} */\n let formatValue = '';\n switch (format) {\n case 'shortDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n break;\n case 'mediumDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n break;\n case 'longDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n break;\n case 'fullDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n break;\n case 'shortTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n break;\n case 'mediumTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n break;\n case 'longTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n break;\n case 'fullTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n break;\n case 'short':\n /** @type {?} */\n const shortTime = getNamedFormat(locale, 'shortTime');\n /** @type {?} */\n const shortDate = getNamedFormat(locale, 'shortDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n break;\n case 'medium':\n /** @type {?} */\n const mediumTime = getNamedFormat(locale, 'mediumTime');\n /** @type {?} */\n const mediumDate = getNamedFormat(locale, 'mediumDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n break;\n case 'long':\n /** @type {?} */\n const longTime = getNamedFormat(locale, 'longTime');\n /** @type {?} */\n const longDate = getNamedFormat(locale, 'longDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n break;\n case 'full':\n /** @type {?} */\n const fullTime = getNamedFormat(locale, 'fullTime');\n /** @type {?} */\n const fullDate = getNamedFormat(locale, 'fullDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n break;\n }\n if (formatValue) {\n NAMED_FORMATS[localeId][format] = formatValue;\n }\n return formatValue;\n}\n/**\n * @param {?} str\n * @param {?} opt_values\n * @return {?}\n */\nfunction formatDateTime(str, opt_values) {\n if (opt_values) {\n str = str.replace(/\\{([^}]+)}/g, (/**\n * @param {?} match\n * @param {?} key\n * @return {?}\n */\n function (match, key) {\n return (opt_values != null && key in opt_values) ? opt_values[key] : match;\n }));\n }\n return str;\n}\n/**\n * @param {?} num\n * @param {?} digits\n * @param {?=} minusSign\n * @param {?=} trim\n * @param {?=} negWrap\n * @return {?}\n */\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n /** @type {?} */\n let neg = '';\n if (num < 0 || (negWrap && num <= 0)) {\n if (negWrap) {\n num = -num + 1;\n }\n else {\n num = -num;\n neg = minusSign;\n }\n }\n /** @type {?} */\n let strNum = String(num);\n while (strNum.length < digits) {\n strNum = '0' + strNum;\n }\n if (trim) {\n strNum = strNum.substr(strNum.length - digits);\n }\n return neg + strNum;\n}\n/**\n * @param {?} milliseconds\n * @param {?} digits\n * @return {?}\n */\nfunction formatFractionalSeconds(milliseconds, digits) {\n /** @type {?} */\n const strMs = padNumber(milliseconds, 3);\n return strMs.substr(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n * @param {?} name\n * @param {?} size\n * @param {?=} offset\n * @param {?=} trim\n * @param {?=} negWrap\n * @return {?}\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\n function (date, locale) {\n /** @type {?} */\n let part = getDatePart(name, date);\n if (offset > 0 || part > -offset) {\n part += offset;\n }\n if (name === DateType.Hours) {\n if (part === 0 && offset === -12) {\n part = 12;\n }\n }\n else if (name === DateType.FractionalSeconds) {\n return formatFractionalSeconds(part, size);\n }\n /** @type {?} */\n const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n return padNumber(part, size, localeMinus, trim, negWrap);\n });\n}\n/**\n * @param {?} part\n * @param {?} date\n * @return {?}\n */\nfunction getDatePart(part, date) {\n switch (part) {\n case DateType.FullYear:\n return date.getFullYear();\n case DateType.Month:\n return date.getMonth();\n case DateType.Date:\n return date.getDate();\n case DateType.Hours:\n return date.getHours();\n case DateType.Minutes:\n return date.getMinutes();\n case DateType.Seconds:\n return date.getSeconds();\n case DateType.FractionalSeconds:\n return date.getMilliseconds();\n case DateType.Day:\n return date.getDay();\n default:\n throw new Error(`Unknown DateType value \"${part}\".`);\n }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n * @param {?} name\n * @param {?} width\n * @param {?=} form\n * @param {?=} extended\n * @return {?}\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\n function (date, locale) {\n return getDateTranslation(date, locale, name, width, form, extended);\n });\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n * @param {?} date\n * @param {?} locale\n * @param {?} name\n * @param {?} width\n * @param {?} form\n * @param {?} extended\n * @return {?}\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n switch (name) {\n case TranslationType.Months:\n return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n case TranslationType.Days:\n return getLocaleDayNames(locale, form, width)[date.getDay()];\n case TranslationType.DayPeriods:\n /** @type {?} */\n const currentHours = date.getHours();\n /** @type {?} */\n const currentMinutes = date.getMinutes();\n if (extended) {\n /** @type {?} */\n const rules = getLocaleExtraDayPeriodRules(locale);\n /** @type {?} */\n const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n /** @type {?} */\n let result;\n rules.forEach((/**\n * @param {?} rule\n * @param {?} index\n * @return {?}\n */\n (rule, index) => {\n if (Array.isArray(rule)) {\n // morning, afternoon, evening, night\n const { hours: hoursFrom, minutes: minutesFrom } = rule[0];\n const { hours: hoursTo, minutes: minutesTo } = rule[1];\n if (currentHours >= hoursFrom && currentMinutes >= minutesFrom &&\n (currentHours < hoursTo ||\n (currentHours === hoursTo && currentMinutes < minutesTo))) {\n result = dayPeriods[index];\n }\n }\n else { // noon or midnight\n // noon or midnight\n const { hours, minutes } = rule;\n if (hours === currentHours && minutes === currentMinutes) {\n result = dayPeriods[index];\n }\n }\n }));\n if (result) {\n return result;\n }\n }\n // if no rules for the day periods, we use am/pm by default\n return getLocaleDayPeriods(locale, form, (/** @type {?} */ (width)))[currentHours < 12 ? 0 : 1];\n case TranslationType.Eras:\n return getLocaleEraNames(locale, (/** @type {?} */ (width)))[date.getFullYear() <= 0 ? 0 : 1];\n default:\n // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n // However Closure Compiler does not understand that and reports an error in typed mode.\n // The `throw new Error` below works around the problem, and the unexpected: never variable\n // makes sure tsc still checks this code is unreachable.\n /** @type {?} */\n const unexpected = name;\n throw new Error(`unexpected translation type ${unexpected}`);\n }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n * @param {?} width\n * @return {?}\n */\nfunction timeZoneGetter(width) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @param {?} offset\n * @return {?}\n */\n function (date, locale, offset) {\n /** @type {?} */\n const zone = -1 * offset;\n /** @type {?} */\n const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n /** @type {?} */\n const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n switch (width) {\n case ZoneWidth.Short:\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.ShortGMT:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 1, minusSign);\n case ZoneWidth.Long:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.Extended:\n if (offset === 0) {\n return 'Z';\n }\n else {\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n }\n default:\n throw new Error(`Unknown zone width \"${width}\"`);\n }\n });\n}\n/** @type {?} */\nconst JANUARY = 0;\n/** @type {?} */\nconst THURSDAY = 4;\n/**\n * @param {?} year\n * @return {?}\n */\nfunction getFirstThursdayOfYear(year) {\n /** @type {?} */\n const firstDayOfYear = (new Date(year, JANUARY, 1)).getDay();\n return new Date(year, 0, 1 + ((firstDayOfYear <= THURSDAY) ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\n/**\n * @param {?} datetime\n * @return {?}\n */\nfunction getThursdayThisWeek(datetime) {\n return new Date(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n}\n/**\n * @param {?} size\n * @param {?=} monthBased\n * @return {?}\n */\nfunction weekGetter(size, monthBased = false) {\n return (/**\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\n function (date, locale) {\n /** @type {?} */\n let result;\n if (monthBased) {\n /** @type {?} */\n const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n /** @type {?} */\n const today = date.getDate();\n result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n }\n else {\n /** @type {?} */\n const firstThurs = getFirstThursdayOfYear(date.getFullYear());\n /** @type {?} */\n const thisThurs = getThursdayThisWeek(date);\n /** @type {?} */\n const diff = thisThurs.getTime() - firstThurs.getTime();\n result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n }\n return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n });\n}\n/** @type {?} */\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: Y, U, Q, D, F, e, c, j, J, C, A, v, V, X, x\n/**\n * @param {?} format\n * @return {?}\n */\nfunction getDateFormatter(format) {\n if (DATE_FORMATS[format]) {\n return DATE_FORMATS[format];\n }\n /** @type {?} */\n let formatter;\n switch (format) {\n // Era name (AD/BC)\n case 'G':\n case 'GG':\n case 'GGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n break;\n case 'GGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n break;\n case 'GGGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n break;\n // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'y':\n formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n break;\n // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yy':\n formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n break;\n // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yyy':\n formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n break;\n // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'yyyy':\n formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n break;\n // Month of the year (1-12), numeric\n case 'M':\n case 'L':\n formatter = dateGetter(DateType.Month, 1, 1);\n break;\n case 'MM':\n case 'LL':\n formatter = dateGetter(DateType.Month, 2, 1);\n break;\n // Month of the year (January, ...), string, format\n case 'MMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n break;\n case 'MMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n break;\n case 'MMMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n break;\n // Month of the year (January, ...), string, standalone\n case 'LLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'LLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'LLLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n // Week of the year (1, ... 52)\n case 'w':\n formatter = weekGetter(1);\n break;\n case 'ww':\n formatter = weekGetter(2);\n break;\n // Week of the month (1, ...)\n case 'W':\n formatter = weekGetter(1, true);\n break;\n // Day of the month (1-31)\n case 'd':\n formatter = dateGetter(DateType.Date, 1);\n break;\n case 'dd':\n formatter = dateGetter(DateType.Date, 2);\n break;\n // Day of the Week\n case 'E':\n case 'EE':\n case 'EEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n break;\n case 'EEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n break;\n case 'EEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n break;\n case 'EEEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n break;\n // Generic period of the day (am-pm)\n case 'a':\n case 'aa':\n case 'aaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n break;\n case 'aaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n break;\n case 'aaaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n break;\n // Extended period of the day (midnight, at night, ...), standalone\n case 'b':\n case 'bb':\n case 'bbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n break;\n case 'bbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n break;\n case 'bbbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n break;\n // Extended period of the day (midnight, night, ...), standalone\n case 'B':\n case 'BB':\n case 'BBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n break;\n case 'BBBB':\n formatter =\n dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n break;\n case 'BBBBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n break;\n // Hour in AM/PM, (1-12)\n case 'h':\n formatter = dateGetter(DateType.Hours, 1, -12);\n break;\n case 'hh':\n formatter = dateGetter(DateType.Hours, 2, -12);\n break;\n // Hour of the day (0-23)\n case 'H':\n formatter = dateGetter(DateType.Hours, 1);\n break;\n // Hour in day, padded (00-23)\n case 'HH':\n formatter = dateGetter(DateType.Hours, 2);\n break;\n // Minute of the hour (0-59)\n case 'm':\n formatter = dateGetter(DateType.Minutes, 1);\n break;\n case 'mm':\n formatter = dateGetter(DateType.Minutes, 2);\n break;\n // Second of the minute (0-59)\n case 's':\n formatter = dateGetter(DateType.Seconds, 1);\n break;\n case 'ss':\n formatter = dateGetter(DateType.Seconds, 2);\n break;\n // Fractional second\n case 'S':\n formatter = dateGetter(DateType.FractionalSeconds, 1);\n break;\n case 'SS':\n formatter = dateGetter(DateType.FractionalSeconds, 2);\n break;\n case 'SSS':\n formatter = dateGetter(DateType.FractionalSeconds, 3);\n break;\n // Timezone ISO8601 short format (-0430)\n case 'Z':\n case 'ZZ':\n case 'ZZZ':\n formatter = timeZoneGetter(ZoneWidth.Short);\n break;\n // Timezone ISO8601 extended format (-04:30)\n case 'ZZZZZ':\n formatter = timeZoneGetter(ZoneWidth.Extended);\n break;\n // Timezone GMT short format (GMT+4)\n case 'O':\n case 'OO':\n case 'OOO':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'z':\n case 'zz':\n case 'zzz':\n formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n break;\n // Timezone GMT long format (GMT+0430)\n case 'OOOO':\n case 'ZZZZ':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'zzzz':\n formatter = timeZoneGetter(ZoneWidth.Long);\n break;\n default:\n return null;\n }\n DATE_FORMATS[format] = formatter;\n return formatter;\n}\n/**\n * @param {?} timezone\n * @param {?} fallback\n * @return {?}\n */\nfunction timezoneToOffset(timezone, fallback) {\n // Support: IE 9-11 only, Edge 13-15+\n // IE/Edge do not \"understand\" colon (`:`) in timezone\n timezone = timezone.replace(/:/g, '');\n /** @type {?} */\n const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\n/**\n * @param {?} date\n * @param {?} minutes\n * @return {?}\n */\nfunction addDateMinutes(date, minutes) {\n date = new Date(date.getTime());\n date.setMinutes(date.getMinutes() + minutes);\n return date;\n}\n/**\n * @param {?} date\n * @param {?} timezone\n * @param {?} reverse\n * @return {?}\n */\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n /** @type {?} */\n const reverseValue = reverse ? -1 : 1;\n /** @type {?} */\n const dateTimezoneOffset = date.getTimezoneOffset();\n /** @type {?} */\n const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n * Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n * @param {?} value\n * @return {?}\n */\nfunction toDate(value) {\n if (isDate(value)) {\n return value;\n }\n if (typeof value === 'number' && !isNaN(value)) {\n return new Date(value);\n }\n if (typeof value === 'string') {\n value = value.trim();\n /** @type {?} */\n const parsedNb = parseFloat(value);\n // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n if (!isNaN((/** @type {?} */ (value)) - parsedNb)) {\n return new Date(parsedNb);\n }\n if (/^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n before Date creation to avoid time offset and errors in the new Date.\n If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n date, some browsers (e.g. IE 9) will throw an invalid Date error.\n If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n is applied.\n Note: ISO months are 0 for January, 1 for February, ... */\n const [y, m, d] = value.split('-').map((/**\n * @param {?} val\n * @return {?}\n */\n (val) => +val));\n return new Date(y, m - 1, d);\n }\n /** @type {?} */\n let match;\n if (match = value.match(ISO8601_DATE_REGEX)) {\n return isoStringToDate(match);\n }\n }\n /** @type {?} */\n const date = new Date((/** @type {?} */ (value)));\n if (!isDate(date)) {\n throw new Error(`Unable to convert \"${value}\" into a date`);\n }\n return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n * @param {?} match\n * @return {?}\n */\nfunction isoStringToDate(match) {\n /** @type {?} */\n const date = new Date(0);\n /** @type {?} */\n let tzHour = 0;\n /** @type {?} */\n let tzMin = 0;\n // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n /** @type {?} */\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n /** @type {?} */\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n // if there is a timezone defined like \"+01:00\" or \"+0100\"\n if (match[9]) {\n tzHour = Number(match[9] + match[10]);\n tzMin = Number(match[9] + match[11]);\n }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n /** @type {?} */\n const h = Number(match[4] || 0) - tzHour;\n /** @type {?} */\n const m = Number(match[5] || 0) - tzMin;\n /** @type {?} */\n const s = Number(match[6] || 0);\n /** @type {?} */\n const ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n timeSetter.call(date, h, m, s, ms);\n return date;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isDate(value) {\n return value instanceof Date && !isNaN(value.valueOf());\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/format_number.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\n/** @type {?} */\nconst MAX_DIGITS = 22;\n/** @type {?} */\nconst DECIMAL_SEP = '.';\n/** @type {?} */\nconst ZERO_CHAR = '0';\n/** @type {?} */\nconst PATTERN_SEP = ';';\n/** @type {?} */\nconst GROUP_SEP = ',';\n/** @type {?} */\nconst DIGIT_CHAR = '#';\n/** @type {?} */\nconst CURRENCY_CHAR = '¤';\n/** @type {?} */\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n * @param {?} value\n * @param {?} pattern\n * @param {?} locale\n * @param {?} groupSymbol\n * @param {?} decimalSymbol\n * @param {?=} digitsInfo\n * @param {?=} isPercent\n * @return {?}\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n /** @type {?} */\n let formattedText = '';\n /** @type {?} */\n let isZero = false;\n if (!isFinite(value)) {\n formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n }\n else {\n /** @type {?} */\n let parsedNumber = parseNumber(value);\n if (isPercent) {\n parsedNumber = toPercent(parsedNumber);\n }\n /** @type {?} */\n let minInt = pattern.minInt;\n /** @type {?} */\n let minFraction = pattern.minFrac;\n /** @type {?} */\n let maxFraction = pattern.maxFrac;\n if (digitsInfo) {\n /** @type {?} */\n const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n if (parts === null) {\n throw new Error(`${digitsInfo} is not a valid digit info`);\n }\n /** @type {?} */\n const minIntPart = parts[1];\n /** @type {?} */\n const minFractionPart = parts[3];\n /** @type {?} */\n const maxFractionPart = parts[5];\n if (minIntPart != null) {\n minInt = parseIntAutoRadix(minIntPart);\n }\n if (minFractionPart != null) {\n minFraction = parseIntAutoRadix(minFractionPart);\n }\n if (maxFractionPart != null) {\n maxFraction = parseIntAutoRadix(maxFractionPart);\n }\n else if (minFractionPart != null && minFraction > maxFraction) {\n maxFraction = minFraction;\n }\n }\n roundNumber(parsedNumber, minFraction, maxFraction);\n /** @type {?} */\n let digits = parsedNumber.digits;\n /** @type {?} */\n let integerLen = parsedNumber.integerLen;\n /** @type {?} */\n const exponent = parsedNumber.exponent;\n /** @type {?} */\n let decimals = [];\n isZero = digits.every((/**\n * @param {?} d\n * @return {?}\n */\n d => !d));\n // pad zeros for small numbers\n for (; integerLen < minInt; integerLen++) {\n digits.unshift(0);\n }\n // pad zeros for small numbers\n for (; integerLen < 0; integerLen++) {\n digits.unshift(0);\n }\n // extract decimals digits\n if (integerLen > 0) {\n decimals = digits.splice(integerLen, digits.length);\n }\n else {\n decimals = digits;\n digits = [0];\n }\n // format the integer digits with grouping separators\n /** @type {?} */\n const groups = [];\n if (digits.length >= pattern.lgSize) {\n groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n }\n while (digits.length > pattern.gSize) {\n groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n }\n if (digits.length) {\n groups.unshift(digits.join(''));\n }\n formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n // append the decimal digits\n if (decimals.length) {\n formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n }\n if (exponent) {\n formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n }\n }\n if (value < 0 && !isZero) {\n formattedText = pattern.negPre + formattedText + pattern.negSuf;\n }\n else {\n formattedText = pattern.posPre + formattedText + pattern.posSuf;\n }\n return formattedText;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as currency using locale rules.\n *\n * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param {?=} digitsInfo\n * @return {?} The formatted currency value.\n *\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n /** @type {?} */\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n /** @type {?} */\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n pattern.minFrac = getNumberOfCurrencyDigits((/** @type {?} */ (currencyCode)));\n pattern.maxFrac = pattern.minFrac;\n /** @type {?} */\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n return res\n .replace(CURRENCY_CHAR, currency)\n // if we have 2 time the currency character, the second one is ignored\n .replace(CURRENCY_CHAR, '')\n // If there is a spacing between currency character and the value and\n // the currency character is supressed by passing an empty string, the\n // spacing character would remain as part of the string. Then we\n // should remove it.\n .trim();\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * \\@publicApi\n *\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} digitsInfo\n * @return {?} The formatted percentage value.\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n /** @type {?} */\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n /** @type {?} */\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n /** @type {?} */\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} digitsInfo\n * @return {?} The formatted text string.\n */\nfunction formatNumber(value, locale, digitsInfo) {\n /** @type {?} */\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n /** @type {?} */\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\n/**\n * @record\n */\nfunction ParsedNumberFormat() { }\nif (false) {\n /** @type {?} */\n ParsedNumberFormat.prototype.minInt;\n /** @type {?} */\n ParsedNumberFormat.prototype.minFrac;\n /** @type {?} */\n ParsedNumberFormat.prototype.maxFrac;\n /** @type {?} */\n ParsedNumberFormat.prototype.posPre;\n /** @type {?} */\n ParsedNumberFormat.prototype.posSuf;\n /** @type {?} */\n ParsedNumberFormat.prototype.negPre;\n /** @type {?} */\n ParsedNumberFormat.prototype.negSuf;\n /** @type {?} */\n ParsedNumberFormat.prototype.gSize;\n /** @type {?} */\n ParsedNumberFormat.prototype.lgSize;\n}\n/**\n * @param {?} format\n * @param {?=} minusSign\n * @return {?}\n */\nfunction parseNumberFormat(format, minusSign = '-') {\n /** @type {?} */\n const p = {\n minInt: 1,\n minFrac: 0,\n maxFrac: 0,\n posPre: '',\n posSuf: '',\n negPre: '',\n negSuf: '',\n gSize: 0,\n lgSize: 0\n };\n /** @type {?} */\n const patternParts = format.split(PATTERN_SEP);\n /** @type {?} */\n const positive = patternParts[0];\n /** @type {?} */\n const negative = patternParts[1];\n /** @type {?} */\n const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ?\n positive.split(DECIMAL_SEP) :\n [\n positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)\n ];\n /** @type {?} */\n const integer = positiveParts[0];\n /** @type {?} */\n const fraction = positiveParts[1] || '';\n p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR));\n for (let i = 0; i < fraction.length; i++) {\n /** @type {?} */\n const ch = fraction.charAt(i);\n if (ch === ZERO_CHAR) {\n p.minFrac = p.maxFrac = i + 1;\n }\n else if (ch === DIGIT_CHAR) {\n p.maxFrac = i + 1;\n }\n else {\n p.posSuf += ch;\n }\n }\n /** @type {?} */\n const groups = integer.split(GROUP_SEP);\n p.gSize = groups[1] ? groups[1].length : 0;\n p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;\n if (negative) {\n /** @type {?} */\n const trunkLen = positive.length - p.posPre.length - p.posSuf.length;\n /** @type {?} */\n const pos = negative.indexOf(DIGIT_CHAR);\n p.negPre = negative.substr(0, pos).replace(/'/g, '');\n p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, '');\n }\n else {\n p.negPre = minusSign + p.posPre;\n p.negSuf = p.posSuf;\n }\n return p;\n}\n/**\n * @record\n */\nfunction ParsedNumber() { }\nif (false) {\n /** @type {?} */\n ParsedNumber.prototype.digits;\n /** @type {?} */\n ParsedNumber.prototype.exponent;\n /** @type {?} */\n ParsedNumber.prototype.integerLen;\n}\n// Transforms a parsed number into a percentage by multiplying it by 100\n/**\n * @param {?} parsedNumber\n * @return {?}\n */\nfunction toPercent(parsedNumber) {\n // if the number is 0, don't do anything\n if (parsedNumber.digits[0] === 0) {\n return parsedNumber;\n }\n // Getting the current number of decimals\n /** @type {?} */\n const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n if (parsedNumber.exponent) {\n parsedNumber.exponent += 2;\n }\n else {\n if (fractionLen === 0) {\n parsedNumber.digits.push(0, 0);\n }\n else if (fractionLen === 1) {\n parsedNumber.digits.push(0);\n }\n parsedNumber.integerLen += 2;\n }\n return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n * @param {?} num\n * @return {?}\n */\nfunction parseNumber(num) {\n /** @type {?} */\n let numStr = Math.abs(num) + '';\n /** @type {?} */\n let exponent = 0;\n /** @type {?} */\n let digits;\n /** @type {?} */\n let integerLen;\n /** @type {?} */\n let i;\n /** @type {?} */\n let j;\n /** @type {?} */\n let zeros;\n // Decimal point?\n if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n numStr = numStr.replace(DECIMAL_SEP, '');\n }\n // Exponential form?\n if ((i = numStr.search(/e/i)) > 0) {\n // Work out the exponent.\n if (integerLen < 0)\n integerLen = i;\n integerLen += +numStr.slice(i + 1);\n numStr = numStr.substring(0, i);\n }\n else if (integerLen < 0) {\n // There was no decimal point or exponent so it is an integer.\n integerLen = numStr.length;\n }\n // Count the number of leading zeros.\n for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */\n }\n if (i === (zeros = numStr.length)) {\n // The digits are all zero.\n digits = [0];\n integerLen = 1;\n }\n else {\n // Count the number of trailing zeros\n zeros--;\n while (numStr.charAt(zeros) === ZERO_CHAR)\n zeros--;\n // Trailing zeros are insignificant so ignore them\n integerLen -= i;\n digits = [];\n // Convert string to array of digits without leading/trailing zeros.\n for (j = 0; i <= zeros; i++, j++) {\n digits[j] = Number(numStr.charAt(i));\n }\n }\n // If the number overflows the maximum allowed digits then use an exponent.\n if (integerLen > MAX_DIGITS) {\n digits = digits.splice(0, MAX_DIGITS - 1);\n exponent = integerLen - 1;\n integerLen = 1;\n }\n return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n * @param {?} parsedNumber\n * @param {?} minFrac\n * @param {?} maxFrac\n * @return {?}\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n if (minFrac > maxFrac) {\n throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n }\n /** @type {?} */\n let digits = parsedNumber.digits;\n /** @type {?} */\n let fractionLen = digits.length - parsedNumber.integerLen;\n /** @type {?} */\n const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n // The index of the digit to where rounding is to occur\n /** @type {?} */\n let roundAt = fractionSize + parsedNumber.integerLen;\n /** @type {?} */\n let digit = digits[roundAt];\n if (roundAt > 0) {\n // Drop fractional digits beyond `roundAt`\n digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n // Set non-fractional digits beyond `roundAt` to 0\n for (let j = roundAt; j < digits.length; j++) {\n digits[j] = 0;\n }\n }\n else {\n // We rounded to zero so reset the parsedNumber\n fractionLen = Math.max(0, fractionLen);\n parsedNumber.integerLen = 1;\n digits.length = Math.max(1, roundAt = fractionSize + 1);\n digits[0] = 0;\n for (let i = 1; i < roundAt; i++)\n digits[i] = 0;\n }\n if (digit >= 5) {\n if (roundAt - 1 < 0) {\n for (let k = 0; k > roundAt; k--) {\n digits.unshift(0);\n parsedNumber.integerLen++;\n }\n digits.unshift(1);\n parsedNumber.integerLen++;\n }\n else {\n digits[roundAt - 1]++;\n }\n }\n // Pad out with zeros to get the required fraction length\n for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n digits.push(0);\n /** @type {?} */\n let dropTrailingZeros = fractionSize !== 0;\n // Minimal length = nb of decimals required + current nb of integers\n // Any number besides that is optional and can be removed if it's a trailing 0\n /** @type {?} */\n const minLen = minFrac + parsedNumber.integerLen;\n // Do any carrying, e.g. a digit was rounded up to 10\n /** @type {?} */\n const carry = digits.reduceRight((/**\n * @param {?} carry\n * @param {?} d\n * @param {?} i\n * @param {?} digits\n * @return {?}\n */\n function (carry, d, i, digits) {\n d = d + carry;\n digits[i] = d < 10 ? d : d - 10; // d % 10\n if (dropTrailingZeros) {\n // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n if (digits[i] === 0 && i >= minLen) {\n digits.pop();\n }\n else {\n dropTrailingZeros = false;\n }\n }\n return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n }), 0);\n if (carry) {\n digits.unshift(carry);\n parsedNumber.integerLen++;\n }\n}\n/**\n * @param {?} text\n * @return {?}\n */\nfunction parseIntAutoRadix(text) {\n /** @type {?} */\n const result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/localization.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @abstract\n */\nclass NgLocalization {\n}\nif (false) {\n /**\n * @abstract\n * @param {?} value\n * @param {?=} locale\n * @return {?}\n */\n NgLocalization.prototype.getPluralCategory = function (value, locale) { };\n}\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n * @param {?} value\n * @param {?} cases\n * @param {?} ngLocalization\n * @param {?=} locale\n * @return {?}\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n /** @type {?} */\n let key = `=${value}`;\n if (cases.indexOf(key) > -1) {\n return key;\n }\n key = ngLocalization.getPluralCategory(value, locale);\n if (cases.indexOf(key) > -1) {\n return key;\n }\n if (cases.indexOf('other') > -1) {\n return 'other';\n }\n throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * \\@publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n /**\n * @param {?} locale\n */\n constructor(locale) {\n super();\n this.locale = locale;\n }\n /**\n * @param {?} value\n * @param {?=} locale\n * @return {?}\n */\n getPluralCategory(value, locale) {\n /** @type {?} */\n const plural = getLocalePluralCase(locale || this.locale)(value);\n switch (plural) {\n case Plural.Zero:\n return 'zero';\n case Plural.One:\n return 'one';\n case Plural.Two:\n return 'two';\n case Plural.Few:\n return 'few';\n case Plural.Many:\n return 'many';\n default:\n return 'other';\n }\n }\n}\nNgLocaleLocalization.ɵfac = function NgLocaleLocalization_Factory(t) { return new (t || NgLocaleLocalization)(ɵngcc0.ɵɵinject(LOCALE_ID)); };\nNgLocaleLocalization.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: NgLocaleLocalization, factory: NgLocaleLocalization.ɵfac });\n/** @nocollapse */\nNgLocaleLocalization.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgLocaleLocalization, [{\n type: Injectable\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @protected\n */\n NgLocaleLocalization.prototype.locale;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/i18n/locale_data.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n#i18n-pipes) to know how to import additional locale data.\n *\n * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n *\n * \\@publicApi\n * @param {?} data\n * @param {?=} localeId\n * @param {?=} extraData\n * @return {?}\n */\nfunction registerLocaleData(data, localeId, extraData) {\n return ɵregisterLocaleData(data, localeId, extraData);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/cookie.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @param {?} cookieStr\n * @param {?} name\n * @return {?}\n */\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n /** @type {?} */\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_class.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n * ```\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n * ```\n *\n * \\@description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n * evaluates to a truthy value, otherwise they are removed.\n *\n * \\@publicApi\n */\nclass NgClass {\n /**\n * @param {?} _iterableDiffers\n * @param {?} _keyValueDiffers\n * @param {?} _ngEl\n * @param {?} _renderer\n */\n constructor(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n this._iterableDiffers = _iterableDiffers;\n this._keyValueDiffers = _keyValueDiffers;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this._iterableDiffer = null;\n this._keyValueDiffer = null;\n this._initialClasses = [];\n this._rawClass = null;\n }\n /**\n * @param {?} value\n * @return {?}\n */\n set klass(value) {\n this._removeClasses(this._initialClasses);\n this._initialClasses = typeof value === 'string' ? value.split(/\\s+/) : [];\n this._applyClasses(this._initialClasses);\n this._applyClasses(this._rawClass);\n }\n /**\n * @param {?} value\n * @return {?}\n */\n set ngClass(value) {\n this._removeClasses(this._rawClass);\n this._applyClasses(this._initialClasses);\n this._iterableDiffer = null;\n this._keyValueDiffer = null;\n this._rawClass = typeof value === 'string' ? value.split(/\\s+/) : value;\n if (this._rawClass) {\n if (ɵisListLikeIterable(this._rawClass)) {\n this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create();\n }\n else {\n this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create();\n }\n }\n }\n /**\n * @return {?}\n */\n ngDoCheck() {\n if (this._iterableDiffer) {\n /** @type {?} */\n const iterableChanges = this._iterableDiffer.diff((/** @type {?} */ (this._rawClass)));\n if (iterableChanges) {\n this._applyIterableChanges(iterableChanges);\n }\n }\n else if (this._keyValueDiffer) {\n /** @type {?} */\n const keyValueChanges = this._keyValueDiffer.diff((/** @type {?} */ (this._rawClass)));\n if (keyValueChanges) {\n this._applyKeyValueChanges(keyValueChanges);\n }\n }\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyKeyValueChanges(changes) {\n changes.forEachAddedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._toggleClass(record.key, record.currentValue)));\n changes.forEachChangedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._toggleClass(record.key, record.currentValue)));\n changes.forEachRemovedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => {\n if (record.previousValue) {\n this._toggleClass(record.key, false);\n }\n }));\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyIterableChanges(changes) {\n changes.forEachAddedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => {\n if (typeof record.item === 'string') {\n this._toggleClass(record.item, true);\n }\n else {\n throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ɵstringify(record.item)}`);\n }\n }));\n changes.forEachRemovedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._toggleClass(record.item, false)));\n }\n /**\n * Applies a collection of CSS classes to the DOM element.\n *\n * For argument of type Set and Array CSS class names contained in those collections are always\n * added.\n * For argument of type Map CSS class name in the map's key is toggled based on the value (added\n * for truthy and removed for falsy).\n * @private\n * @param {?} rawClassVal\n * @return {?}\n */\n _applyClasses(rawClassVal) {\n if (rawClassVal) {\n if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n ((/** @type {?} */ (rawClassVal))).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n (klass) => this._toggleClass(klass, true)));\n }\n else {\n Object.keys(rawClassVal).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n klass => this._toggleClass(klass, !!rawClassVal[klass])));\n }\n }\n }\n /**\n * Removes a collection of CSS classes from the DOM element. This is mostly useful for cleanup\n * purposes.\n * @private\n * @param {?} rawClassVal\n * @return {?}\n */\n _removeClasses(rawClassVal) {\n if (rawClassVal) {\n if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n ((/** @type {?} */ (rawClassVal))).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n (klass) => this._toggleClass(klass, false)));\n }\n else {\n Object.keys(rawClassVal).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n klass => this._toggleClass(klass, false)));\n }\n }\n }\n /**\n * @private\n * @param {?} klass\n * @param {?} enabled\n * @return {?}\n */\n _toggleClass(klass, enabled) {\n klass = klass.trim();\n if (klass) {\n klass.split(/\\s+/g).forEach((/**\n * @param {?} klass\n * @return {?}\n */\n klass => {\n if (enabled) {\n this._renderer.addClass(this._ngEl.nativeElement, klass);\n }\n else {\n this._renderer.removeClass(this._ngEl.nativeElement, klass);\n }\n }));\n }\n }\n}\nNgClass.ɵfac = function NgClass_Factory(t) { return new (t || NgClass)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.IterableDiffers), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.KeyValueDiffers), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2)); };\nNgClass.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgClass, selectors: [[\"\", \"ngClass\", \"\"]], inputs: { klass: [\"class\", \"klass\"], ngClass: \"ngClass\" } });\n/** @nocollapse */\nNgClass.ctorParameters = () => [\n { type: IterableDiffers },\n { type: KeyValueDiffers },\n { type: ElementRef },\n { type: Renderer2 }\n];\nNgClass.propDecorators = {\n klass: [{ type: Input, args: ['class',] }],\n ngClass: [{ type: Input, args: ['ngClass',] }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgClass, [{\n type: Directive,\n args: [{ selector: '[ngClass]' }]\n }], function () { return [{ type: ɵngcc0.IterableDiffers }, { type: ɵngcc0.KeyValueDiffers }, { type: ɵngcc0.ElementRef }, { type: ɵngcc0.Renderer2 }]; }, { klass: [{\n type: Input,\n args: ['class']\n }], ngClass: [{\n type: Input,\n args: ['ngClass']\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._iterableDiffer;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._keyValueDiffer;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._initialClasses;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._rawClass;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._iterableDiffers;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._keyValueDiffers;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._ngEl;\n /**\n * @type {?}\n * @private\n */\n NgClass.prototype._renderer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_component_outlet.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Instantiates a single {\\@link Component} type and inserts its Host View into current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will get destroyed.\n *\n * \\@usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInjector`: Optional custom {\\@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if exists.\n *\n * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow dynamically loading other\n * module, then load a component from that module.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * \n * ```\n *\n * Customized injector/content\n * ```\n * \n * \n * ```\n *\n * Customized ngModuleFactory\n * ```\n * \n * \n * ```\n *\n * ### A simple example\n *\n * {\\@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {\\@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * \\@publicApi\n * \\@ngModule CommonModule\n */\nclass NgComponentOutlet {\n /**\n * @param {?} _viewContainerRef\n */\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._componentRef = null;\n this._moduleRef = null;\n }\n /**\n * @param {?} changes\n * @return {?}\n */\n ngOnChanges(changes) {\n this._viewContainerRef.clear();\n this._componentRef = null;\n if (this.ngComponentOutlet) {\n /** @type {?} */\n const elInjector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;\n if (changes['ngComponentOutletNgModuleFactory']) {\n if (this._moduleRef)\n this._moduleRef.destroy();\n if (this.ngComponentOutletNgModuleFactory) {\n /** @type {?} */\n const parentModule = elInjector.get(NgModuleRef);\n this._moduleRef = this.ngComponentOutletNgModuleFactory.create(parentModule.injector);\n }\n else {\n this._moduleRef = null;\n }\n }\n /** @type {?} */\n const componentFactoryResolver = this._moduleRef ? this._moduleRef.componentFactoryResolver :\n elInjector.get(ComponentFactoryResolver);\n /** @type {?} */\n const componentFactory = componentFactoryResolver.resolveComponentFactory(this.ngComponentOutlet);\n this._componentRef = this._viewContainerRef.createComponent(componentFactory, this._viewContainerRef.length, elInjector, this.ngComponentOutletContent);\n }\n }\n /**\n * @return {?}\n */\n ngOnDestroy() {\n if (this._moduleRef)\n this._moduleRef.destroy();\n }\n}\nNgComponentOutlet.ɵfac = function NgComponentOutlet_Factory(t) { return new (t || NgComponentOutlet)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef)); };\nNgComponentOutlet.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgComponentOutlet, selectors: [[\"\", \"ngComponentOutlet\", \"\"]], inputs: { ngComponentOutlet: \"ngComponentOutlet\", ngComponentOutletInjector: \"ngComponentOutletInjector\", ngComponentOutletContent: \"ngComponentOutletContent\", ngComponentOutletNgModuleFactory: \"ngComponentOutletNgModuleFactory\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature] });\n/** @nocollapse */\nNgComponentOutlet.ctorParameters = () => [\n { type: ViewContainerRef }\n];\nNgComponentOutlet.propDecorators = {\n ngComponentOutlet: [{ type: Input }],\n ngComponentOutletInjector: [{ type: Input }],\n ngComponentOutletContent: [{ type: Input }],\n ngComponentOutletNgModuleFactory: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgComponentOutlet, [{\n type: Directive,\n args: [{ selector: '[ngComponentOutlet]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }]; }, { ngComponentOutlet: [{\n type: Input\n }], ngComponentOutletInjector: [{\n type: Input\n }], ngComponentOutletContent: [{\n type: Input\n }], ngComponentOutletNgModuleFactory: [{\n type: Input\n }] }); })();\nif (false) {\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutlet;\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutletInjector;\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutletContent;\n /** @type {?} */\n NgComponentOutlet.prototype.ngComponentOutletNgModuleFactory;\n /**\n * @type {?}\n * @private\n */\n NgComponentOutlet.prototype._componentRef;\n /**\n * @type {?}\n * @private\n */\n NgComponentOutlet.prototype._moduleRef;\n /**\n * @type {?}\n * @private\n */\n NgComponentOutlet.prototype._viewContainerRef;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_for_of.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @template T, U\n */\nclass NgForOfContext {\n /**\n * @param {?} $implicit\n * @param {?} ngForOf\n * @param {?} index\n * @param {?} count\n */\n constructor($implicit, ngForOf, index, count) {\n this.$implicit = $implicit;\n this.ngForOf = ngForOf;\n this.index = index;\n this.count = count;\n }\n /**\n * @return {?}\n */\n get first() {\n return this.index === 0;\n }\n /**\n * @return {?}\n */\n get last() {\n return this.index === this.count - 1;\n }\n /**\n * @return {?}\n */\n get even() {\n return this.index % 2 === 0;\n }\n /**\n * @return {?}\n */\n get odd() {\n return !this.even;\n }\n}\nif (false) {\n /** @type {?} */\n NgForOfContext.prototype.$implicit;\n /** @type {?} */\n NgForOfContext.prototype.ngForOf;\n /** @type {?} */\n NgForOfContext.prototype.index;\n /** @type {?} */\n NgForOfContext.prototype.count;\n}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#the-asterisk--prefix) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `
  • ` element.\n *\n * ```\n *
  • ...
  • \n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `` element.\n * The content of the `` element is the `
  • ` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * \n *
  • ...
  • \n *
    \n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-structural-directive-per-host-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For futher discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * \\@usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n * ```\n *
  • \n * {{i}}/{{users.length}}. {{user}} default\n *
  • \n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `count: number`: The length of the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * \\@ngModule CommonModule\n * \\@publicApi\n * @template T, U\n */\nclass NgForOf {\n /**\n * @param {?} _viewContainer\n * @param {?} _template\n * @param {?} _differs\n */\n constructor(_viewContainer, _template, _differs) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._differs = _differs;\n this._ngForOf = null;\n this._ngForOfDirty = true;\n this._differ = null;\n }\n /**\n * The value of the iterable expression, which can be used as a\n * [template input variable](guide/structural-directives#template-input-variable).\n * @param {?} ngForOf\n * @return {?}\n */\n set ngForOf(ngForOf) {\n this._ngForOf = ngForOf;\n this._ngForOfDirty = true;\n }\n /**\n * A function that defines how to track changes for items in the iterable.\n *\n * When items are added, moved, or removed in the iterable,\n * the directive must re-render the appropriate DOM nodes.\n * To minimize churn in the DOM, only nodes that have changed\n * are re-rendered.\n *\n * By default, the change detector assumes that\n * the object instance identifies the node in the iterable.\n * When this function is supplied, the directive uses\n * the result of calling this function to identify the item node,\n * rather than the identity of the object itself.\n *\n * The function receives two inputs,\n * the iteration index and the node object ID.\n * @param {?} fn\n * @return {?}\n */\n set ngForTrackBy(fn) {\n if (isDevMode() && fn != null && typeof fn !== 'function') {\n // TODO(vicb): use a log service once there is a public one available\n if ((/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);\n }\n }\n this._trackByFn = fn;\n }\n /**\n * @return {?}\n */\n get ngForTrackBy() {\n return this._trackByFn;\n }\n /**\n * A reference to the template that is stamped out for each item in the iterable.\n * @see [template reference variable](guide/template-syntax#template-reference-variables--var-)\n * @param {?} value\n * @return {?}\n */\n set ngForTemplate(value) {\n // TODO(TS2.1): make TemplateRef>> once we move to TS v2.1\n // The current type is too restrictive; a template that just uses index, for example,\n // should be acceptable.\n if (value) {\n this._template = value;\n }\n }\n /**\n * Applies the changes when needed.\n * @return {?}\n */\n ngDoCheck() {\n if (this._ngForOfDirty) {\n this._ngForOfDirty = false;\n // React on ngForOf changes only once all inputs have been initialized\n /** @type {?} */\n const value = this._ngForOf;\n if (!this._differ && value) {\n try {\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n catch (_a) {\n throw new Error(`Cannot find a differ supporting object '${value}' of type '${getTypeName(value)}'. NgFor only supports binding to Iterables such as Arrays.`);\n }\n }\n }\n if (this._differ) {\n /** @type {?} */\n const changes = this._differ.diff(this._ngForOf);\n if (changes)\n this._applyChanges(changes);\n }\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyChanges(changes) {\n /** @type {?} */\n const insertTuples = [];\n changes.forEachOperation((/**\n * @param {?} item\n * @param {?} adjustedPreviousIndex\n * @param {?} currentIndex\n * @return {?}\n */\n (item, adjustedPreviousIndex, currentIndex) => {\n if (item.previousIndex == null) {\n // NgForOf is never \"null\" or \"undefined\" here because the differ detected\n // that a new item needs to be inserted from the iterable. This implies that\n // there is an iterable value for \"_ngForOf\".\n /** @type {?} */\n const view = this._viewContainer.createEmbeddedView(this._template, new NgForOfContext((/** @type {?} */ (null)), (/** @type {?} */ (this._ngForOf)), -1, -1), currentIndex === null ? undefined : currentIndex);\n /** @type {?} */\n const tuple = new RecordViewTuple(item, view);\n insertTuples.push(tuple);\n }\n else if (currentIndex == null) {\n this._viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n }\n else if (adjustedPreviousIndex !== null) {\n /** @type {?} */\n const view = (/** @type {?} */ (this._viewContainer.get(adjustedPreviousIndex)));\n this._viewContainer.move(view, currentIndex);\n /** @type {?} */\n const tuple = new RecordViewTuple(item, (/** @type {?} */ (view)));\n insertTuples.push(tuple);\n }\n }));\n for (let i = 0; i < insertTuples.length; i++) {\n this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n }\n for (let i = 0, ilen = this._viewContainer.length; i < ilen; i++) {\n /** @type {?} */\n const viewRef = (/** @type {?} */ (this._viewContainer.get(i)));\n viewRef.context.index = i;\n viewRef.context.count = ilen;\n viewRef.context.ngForOf = (/** @type {?} */ (this._ngForOf));\n }\n changes.forEachIdentityChange((/**\n * @param {?} record\n * @return {?}\n */\n (record) => {\n /** @type {?} */\n const viewRef = (/** @type {?} */ (this._viewContainer.get(record.currentIndex)));\n viewRef.context.$implicit = record.item;\n }));\n }\n /**\n * @private\n * @param {?} view\n * @param {?} record\n * @return {?}\n */\n _perViewChange(view, record) {\n view.context.$implicit = record.item;\n }\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n * @template T, U\n * @param {?} dir\n * @param {?} ctx\n * @return {?}\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n}\nNgForOf.ɵfac = function NgForOf_Factory(t) { return new (t || NgForOf)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.IterableDiffers)); };\nNgForOf.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgForOf, selectors: [[\"\", \"ngFor\", \"\", \"ngForOf\", \"\"]], inputs: { ngForOf: \"ngForOf\", ngForTrackBy: \"ngForTrackBy\", ngForTemplate: \"ngForTemplate\" } });\n/** @nocollapse */\nNgForOf.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef },\n { type: IterableDiffers }\n];\nNgForOf.propDecorators = {\n ngForOf: [{ type: Input }],\n ngForTrackBy: [{ type: Input }],\n ngForTemplate: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgForOf, [{\n type: Directive,\n args: [{ selector: '[ngFor][ngForOf]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }, { type: ɵngcc0.IterableDiffers }]; }, { ngForOf: [{\n type: Input\n }], ngForTrackBy: [{\n type: Input\n }], ngForTemplate: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._ngForOf;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._ngForOfDirty;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._differ;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._trackByFn;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._viewContainer;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._template;\n /**\n * @type {?}\n * @private\n */\n NgForOf.prototype._differs;\n}\n/**\n * @template T, U\n */\nclass RecordViewTuple {\n /**\n * @param {?} record\n * @param {?} view\n */\n constructor(record, view) {\n this.record = record;\n this.view = view;\n }\n}\nif (false) {\n /** @type {?} */\n RecordViewTuple.prototype.record;\n /** @type {?} */\n RecordViewTuple.prototype.view;\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getTypeName(type) {\n return type['name'] || typeof type;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_if.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#the-asterisk--prefix) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n *
    Content to render when condition is true.
    \n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n *
    Content to render when condition is\n * true.
    \n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n *
    Content to render when condition is true.
    \n * Content to render when condition is false.\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n *
    \n * Content to render when condition is true.\n * Content to render when condition is false.\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n *
    {{value}}
    \n * Content to render when value is null.\n * ```\n *\n * \\@usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following example.\n * The default `else` template is blank.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `` element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the the following example.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * [safe-navigation-operator](guide/template-syntax#safe-navigation-operator) (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n *
    \n * ...\n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * You can see that the \"else\" clause references the ``\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `` tag.\n *\n * ```\n * \n *
    \n * ...\n *
    \n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](https://angular.io/guide/structural-directives#one-per-element).\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n * @template T\n */\nclass NgIf {\n /**\n * @param {?} _viewContainer\n * @param {?} templateRef\n */\n constructor(_viewContainer, templateRef) {\n this._viewContainer = _viewContainer;\n this._context = new NgIfContext();\n this._thenTemplateRef = null;\n this._elseTemplateRef = null;\n this._thenViewRef = null;\n this._elseViewRef = null;\n this._thenTemplateRef = templateRef;\n }\n /**\n * The Boolean expression to evaluate as the condition for showing a template.\n * @param {?} condition\n * @return {?}\n */\n set ngIf(condition) {\n this._context.$implicit = this._context.ngIf = condition;\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to true.\n * @param {?} templateRef\n * @return {?}\n */\n set ngIfThen(templateRef) {\n assertTemplate('ngIfThen', templateRef);\n this._thenTemplateRef = templateRef;\n this._thenViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to false.\n * @param {?} templateRef\n * @return {?}\n */\n set ngIfElse(templateRef) {\n assertTemplate('ngIfElse', templateRef);\n this._elseTemplateRef = templateRef;\n this._elseViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * @private\n * @return {?}\n */\n _updateView() {\n if (this._context.$implicit) {\n if (!this._thenViewRef) {\n this._viewContainer.clear();\n this._elseViewRef = null;\n if (this._thenTemplateRef) {\n this._thenViewRef =\n this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n }\n }\n }\n else {\n if (!this._elseViewRef) {\n this._viewContainer.clear();\n this._thenViewRef = null;\n if (this._elseTemplateRef) {\n this._elseViewRef =\n this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n }\n }\n }\n }\n /**\n * Asserts the correct type of the context for the template that `NgIf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgIf` structural directive renders its template with a specific context type.\n * @template T\n * @param {?} dir\n * @param {?} ctx\n * @return {?}\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n}\nNgIf.ɵfac = function NgIf_Factory(t) { return new (t || NgIf)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef)); };\nNgIf.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgIf, selectors: [[\"\", \"ngIf\", \"\"]], inputs: { ngIf: \"ngIf\", ngIfThen: \"ngIfThen\", ngIfElse: \"ngIfElse\" } });\n/** @nocollapse */\nNgIf.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef }\n];\nNgIf.propDecorators = {\n ngIf: [{ type: Input }],\n ngIfThen: [{ type: Input }],\n ngIfElse: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgIf, [{\n type: Directive,\n args: [{ selector: '[ngIf]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }]; }, { ngIf: [{\n type: Input\n }], ngIfThen: [{\n type: Input\n }], ngIfElse: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * \\@internal\n * @type {?}\n */\n NgIf.ngIfUseIfTypeGuard;\n /**\n * Assert the correct type of the expression bound to the `ngIf` input within the template.\n *\n * The presence of this static field is a signal to the Ivy template type check compiler that\n * when the `NgIf` structural directive renders its template, the type of the expression bound\n * to `ngIf` should be narrowed in some way. For `NgIf`, the binding expression itself is used to\n * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `NgIf`.\n * @type {?}\n */\n NgIf.ngTemplateGuard_ngIf;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._context;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._thenTemplateRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._elseTemplateRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._thenViewRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._elseViewRef;\n /**\n * @type {?}\n * @private\n */\n NgIf.prototype._viewContainer;\n}\n/**\n * \\@publicApi\n * @template T\n */\nclass NgIfContext {\n constructor() {\n this.$implicit = (/** @type {?} */ (null));\n this.ngIf = (/** @type {?} */ (null));\n }\n}\nif (false) {\n /** @type {?} */\n NgIfContext.prototype.$implicit;\n /** @type {?} */\n NgIfContext.prototype.ngIf;\n}\n/**\n * @param {?} property\n * @param {?} templateRef\n * @return {?}\n */\nfunction assertTemplate(property, templateRef) {\n /** @type {?} */\n const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n if (!isTemplateRefOrNull) {\n throw new Error(`${property} must be a TemplateRef, but received '${ɵstringify(templateRef)}'.`);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_switch.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass SwitchView {\n /**\n * @param {?} _viewContainerRef\n * @param {?} _templateRef\n */\n constructor(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n this._created = false;\n }\n /**\n * @return {?}\n */\n create() {\n this._created = true;\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n }\n /**\n * @return {?}\n */\n destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n /**\n * @param {?} created\n * @return {?}\n */\n enforceState(created) {\n if (created && !this._created) {\n this.create();\n }\n else if (!created && this._created) {\n this.destroy();\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n SwitchView.prototype._created;\n /**\n * @type {?}\n * @private\n */\n SwitchView.prototype._viewContainerRef;\n /**\n * @type {?}\n * @private\n */\n SwitchView.prototype._templateRef;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * \\@usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * \n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * \n * \n * ...\n * ...\n * ...\n * \n * ...\n * \n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * \n * ...\n * ...\n * ...\n * \n * \n * \n * \n * \n * ...\n * \n * ```\n *\n * \\@publicApi\n * @see `NgSwitchCase`\n * @see `NgSwitchDefault`\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n constructor() {\n this._defaultUsed = false;\n this._caseCount = 0;\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n /**\n * @param {?} newValue\n * @return {?}\n */\n set ngSwitch(newValue) {\n this._ngSwitch = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n /**\n * \\@internal\n * @return {?}\n */\n _addCase() {\n return this._caseCount++;\n }\n /**\n * \\@internal\n * @param {?} view\n * @return {?}\n */\n _addDefault(view) {\n if (!this._defaultViews) {\n this._defaultViews = [];\n }\n this._defaultViews.push(view);\n }\n /**\n * \\@internal\n * @param {?} value\n * @return {?}\n */\n _matchCase(value) {\n /** @type {?} */\n const matched = value == this._ngSwitch;\n this._lastCasesMatched = this._lastCasesMatched || matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n return matched;\n }\n /**\n * @private\n * @param {?} useDefault\n * @return {?}\n */\n _updateDefaultCases(useDefault) {\n if (this._defaultViews && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (let i = 0; i < this._defaultViews.length; i++) {\n /** @type {?} */\n const defaultView = this._defaultViews[i];\n defaultView.enforceState(useDefault);\n }\n }\n }\n}\nNgSwitch.ɵfac = function NgSwitch_Factory(t) { return new (t || NgSwitch)(); };\nNgSwitch.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgSwitch, selectors: [[\"\", \"ngSwitch\", \"\"]], inputs: { ngSwitch: \"ngSwitch\" } });\nNgSwitch.propDecorators = {\n ngSwitch: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgSwitch, [{\n type: Directive,\n args: [{ selector: '[ngSwitch]' }]\n }], function () { return []; }, { ngSwitch: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._defaultViews;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._defaultUsed;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._caseCount;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._lastCaseCheckIndex;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._lastCasesMatched;\n /**\n * @type {?}\n * @private\n */\n NgSwitch.prototype._ngSwitch;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * \\@usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n * This means that the empty string, `\"\"` matches 0.\n *\n * \\@publicApi\n * @see `NgSwitch`\n * @see `NgSwitchDefault`\n *\n */\nclass NgSwitchCase {\n /**\n * @param {?} viewContainer\n * @param {?} templateRef\n * @param {?} ngSwitch\n */\n constructor(viewContainer, templateRef, ngSwitch) {\n this.ngSwitch = ngSwitch;\n ngSwitch._addCase();\n this._view = new SwitchView(viewContainer, templateRef);\n }\n /**\n * Performs case matching. For internal use only.\n * @return {?}\n */\n ngDoCheck() {\n this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n }\n}\nNgSwitchCase.ɵfac = function NgSwitchCase_Factory(t) { return new (t || NgSwitchCase)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(NgSwitch, 1)); };\nNgSwitchCase.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgSwitchCase, selectors: [[\"\", \"ngSwitchCase\", \"\"]], inputs: { ngSwitchCase: \"ngSwitchCase\" } });\n/** @nocollapse */\nNgSwitchCase.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef },\n { type: NgSwitch, decorators: [{ type: Host }] }\n];\nNgSwitchCase.propDecorators = {\n ngSwitchCase: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgSwitchCase, [{\n type: Directive,\n args: [{ selector: '[ngSwitchCase]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Host\n }] }]; }, { ngSwitchCase: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgSwitchCase.prototype._view;\n /**\n * Stores the HTML template to be selected on match.\n * @type {?}\n */\n NgSwitchCase.prototype.ngSwitchCase;\n /**\n * @type {?}\n * @private\n */\n NgSwitchCase.prototype.ngSwitch;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * \\@publicApi\n * @see `NgSwitch`\n * @see `NgSwitchCase`\n *\n */\nclass NgSwitchDefault {\n /**\n * @param {?} viewContainer\n * @param {?} templateRef\n * @param {?} ngSwitch\n */\n constructor(viewContainer, templateRef, ngSwitch) {\n ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n }\n}\nNgSwitchDefault.ɵfac = function NgSwitchDefault_Factory(t) { return new (t || NgSwitchDefault)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(NgSwitch, 1)); };\nNgSwitchDefault.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgSwitchDefault, selectors: [[\"\", \"ngSwitchDefault\", \"\"]] });\n/** @nocollapse */\nNgSwitchDefault.ctorParameters = () => [\n { type: ViewContainerRef },\n { type: TemplateRef },\n { type: NgSwitch, decorators: [{ type: Host }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgSwitchDefault, [{\n type: Directive,\n args: [{ selector: '[ngSwitchDefault]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }, { type: ɵngcc0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Host\n }] }]; }, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_plural.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n * ```\n * \n * there is nothing\n * there is one\n * there are a few\n * \n * ```\n *\n * \\@description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n * matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n * value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * \\@publicApi\n */\nclass NgPlural {\n /**\n * @param {?} _localization\n */\n constructor(_localization) {\n this._localization = _localization;\n this._caseViews = {};\n }\n /**\n * @param {?} value\n * @return {?}\n */\n set ngPlural(value) {\n this._switchValue = value;\n this._updateView();\n }\n /**\n * @param {?} value\n * @param {?} switchView\n * @return {?}\n */\n addCase(value, switchView) {\n this._caseViews[value] = switchView;\n }\n /**\n * @private\n * @return {?}\n */\n _updateView() {\n this._clearViews();\n /** @type {?} */\n const cases = Object.keys(this._caseViews);\n /** @type {?} */\n const key = getPluralCategory(this._switchValue, cases, this._localization);\n this._activateView(this._caseViews[key]);\n }\n /**\n * @private\n * @return {?}\n */\n _clearViews() {\n if (this._activeView)\n this._activeView.destroy();\n }\n /**\n * @private\n * @param {?} view\n * @return {?}\n */\n _activateView(view) {\n if (view) {\n this._activeView = view;\n this._activeView.create();\n }\n }\n}\nNgPlural.ɵfac = function NgPlural_Factory(t) { return new (t || NgPlural)(ɵngcc0.ɵɵdirectiveInject(NgLocalization)); };\nNgPlural.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgPlural, selectors: [[\"\", \"ngPlural\", \"\"]], inputs: { ngPlural: \"ngPlural\" } });\n/** @nocollapse */\nNgPlural.ctorParameters = () => [\n { type: NgLocalization }\n];\nNgPlural.propDecorators = {\n ngPlural: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgPlural, [{\n type: Directive,\n args: [{ selector: '[ngPlural]' }]\n }], function () { return [{ type: NgLocalization }]; }, { ngPlural: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._switchValue;\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._activeView;\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._caseViews;\n /**\n * @type {?}\n * @private\n */\n NgPlural.prototype._localization;\n}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Creates a view that will be added/removed from the parent {\\@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * \\@usageNotes\n * ```\n * \n * ...\n * ...\n * \n * ```\n *\n * See {\\@link NgPlural} for more details and example.\n *\n * \\@publicApi\n */\nclass NgPluralCase {\n /**\n * @param {?} value\n * @param {?} template\n * @param {?} viewContainer\n * @param {?} ngPlural\n */\n constructor(value, template, viewContainer, ngPlural) {\n this.value = value;\n /** @type {?} */\n const isANumber = !isNaN(Number(value));\n ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n }\n}\nNgPluralCase.ɵfac = function NgPluralCase_Factory(t) { return new (t || NgPluralCase)(ɵngcc0.ɵɵinjectAttribute('ngPluralCase'), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.TemplateRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(NgPlural, 1)); };\nNgPluralCase.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgPluralCase, selectors: [[\"\", \"ngPluralCase\", \"\"]] });\n/** @nocollapse */\nNgPluralCase.ctorParameters = () => [\n { type: String, decorators: [{ type: Attribute, args: ['ngPluralCase',] }] },\n { type: TemplateRef },\n { type: ViewContainerRef },\n { type: NgPlural, decorators: [{ type: Host }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgPluralCase, [{\n type: Directive,\n args: [{ selector: '[ngPluralCase]' }]\n }], function () { return [{ type: String, decorators: [{\n type: Attribute,\n args: ['ngPluralCase']\n }] }, { type: ɵngcc0.TemplateRef }, { type: ɵngcc0.ViewContainerRef }, { type: NgPlural, decorators: [{\n type: Host\n }] }]; }, null); })();\nif (false) {\n /** @type {?} */\n NgPluralCase.prototype.value;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_style.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * ...\n * ```\n *\n * \\@description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * \\@publicApi\n */\nclass NgStyle {\n /**\n * @param {?} _ngEl\n * @param {?} _differs\n * @param {?} _renderer\n */\n constructor(_ngEl, _differs, _renderer) {\n this._ngEl = _ngEl;\n this._differs = _differs;\n this._renderer = _renderer;\n this._ngStyle = null;\n this._differ = null;\n }\n /**\n * @param {?} values\n * @return {?}\n */\n set ngStyle(values) {\n this._ngStyle = values;\n if (!this._differ && values) {\n this._differ = this._differs.find(values).create();\n }\n }\n /**\n * @return {?}\n */\n ngDoCheck() {\n if (this._differ) {\n /** @type {?} */\n const changes = this._differ.diff((/** @type {?} */ (this._ngStyle)));\n if (changes) {\n this._applyChanges(changes);\n }\n }\n }\n /**\n * @private\n * @param {?} nameAndUnit\n * @param {?} value\n * @return {?}\n */\n _setStyle(nameAndUnit, value) {\n const [name, unit] = nameAndUnit.split('.');\n value = value != null && unit ? `${value}${unit}` : value;\n if (value != null) {\n this._renderer.setStyle(this._ngEl.nativeElement, name, (/** @type {?} */ (value)));\n }\n else {\n this._renderer.removeStyle(this._ngEl.nativeElement, name);\n }\n }\n /**\n * @private\n * @param {?} changes\n * @return {?}\n */\n _applyChanges(changes) {\n changes.forEachRemovedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._setStyle(record.key, null)));\n changes.forEachAddedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._setStyle(record.key, record.currentValue)));\n changes.forEachChangedItem((/**\n * @param {?} record\n * @return {?}\n */\n (record) => this._setStyle(record.key, record.currentValue)));\n }\n}\nNgStyle.ɵfac = function NgStyle_Factory(t) { return new (t || NgStyle)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.KeyValueDiffers), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2)); };\nNgStyle.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgStyle, selectors: [[\"\", \"ngStyle\", \"\"]], inputs: { ngStyle: \"ngStyle\" } });\n/** @nocollapse */\nNgStyle.ctorParameters = () => [\n { type: ElementRef },\n { type: KeyValueDiffers },\n { type: Renderer2 }\n];\nNgStyle.propDecorators = {\n ngStyle: [{ type: Input, args: ['ngStyle',] }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgStyle, [{\n type: Directive,\n args: [{ selector: '[ngStyle]' }]\n }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.KeyValueDiffers }, { type: ɵngcc0.Renderer2 }]; }, { ngStyle: [{\n type: Input,\n args: ['ngStyle']\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._ngStyle;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._differ;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._ngEl;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._differs;\n /**\n * @type {?}\n * @private\n */\n NgStyle.prototype._renderer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/ng_template_outlet.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * \\@usageNotes\n * ```\n * \n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {\\@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * \\@publicApi\n */\nclass NgTemplateOutlet {\n /**\n * @param {?} _viewContainerRef\n */\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._viewRef = null;\n /**\n * A context object to attach to the {\\@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n */\n this.ngTemplateOutletContext = null;\n /**\n * A string defining the template reference and optionally the context object for the template.\n */\n this.ngTemplateOutlet = null;\n }\n /**\n * @param {?} changes\n * @return {?}\n */\n ngOnChanges(changes) {\n /** @type {?} */\n const recreateView = this._shouldRecreateView(changes);\n if (recreateView) {\n /** @type {?} */\n const viewContainerRef = this._viewContainerRef;\n if (this._viewRef) {\n viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));\n }\n this._viewRef = this.ngTemplateOutlet ?\n viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext) :\n null;\n }\n else if (this._viewRef && this.ngTemplateOutletContext) {\n this._updateExistingContext(this.ngTemplateOutletContext);\n }\n }\n /**\n * We need to re-create existing embedded view if:\n * - templateRef has changed\n * - context has changes\n *\n * We mark context object as changed when the corresponding object\n * shape changes (new properties are added or existing properties are removed).\n * In other words we consider context with the same properties as \"the same\" even\n * if object reference changes (see https://github.com/angular/angular/issues/13407).\n * @private\n * @param {?} changes\n * @return {?}\n */\n _shouldRecreateView(changes) {\n /** @type {?} */\n const ctxChange = changes['ngTemplateOutletContext'];\n return !!changes['ngTemplateOutlet'] || (ctxChange && this._hasContextShapeChanged(ctxChange));\n }\n /**\n * @private\n * @param {?} ctxChange\n * @return {?}\n */\n _hasContextShapeChanged(ctxChange) {\n /** @type {?} */\n const prevCtxKeys = Object.keys(ctxChange.previousValue || {});\n /** @type {?} */\n const currCtxKeys = Object.keys(ctxChange.currentValue || {});\n if (prevCtxKeys.length === currCtxKeys.length) {\n for (let propName of currCtxKeys) {\n if (prevCtxKeys.indexOf(propName) === -1) {\n return true;\n }\n }\n return false;\n }\n return true;\n }\n /**\n * @private\n * @param {?} ctx\n * @return {?}\n */\n _updateExistingContext(ctx) {\n for (let propName of Object.keys(ctx)) {\n ((/** @type {?} */ ((/** @type {?} */ (this._viewRef)).context)))[propName] = ((/** @type {?} */ (this.ngTemplateOutletContext)))[propName];\n }\n }\n}\nNgTemplateOutlet.ɵfac = function NgTemplateOutlet_Factory(t) { return new (t || NgTemplateOutlet)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef)); };\nNgTemplateOutlet.ɵdir = ɵngcc0.ɵɵdefineDirective({ type: NgTemplateOutlet, selectors: [[\"\", \"ngTemplateOutlet\", \"\"]], inputs: { ngTemplateOutletContext: \"ngTemplateOutletContext\", ngTemplateOutlet: \"ngTemplateOutlet\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature] });\n/** @nocollapse */\nNgTemplateOutlet.ctorParameters = () => [\n { type: ViewContainerRef }\n];\nNgTemplateOutlet.propDecorators = {\n ngTemplateOutletContext: [{ type: Input }],\n ngTemplateOutlet: [{ type: Input }]\n};\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NgTemplateOutlet, [{\n type: Directive,\n args: [{ selector: '[ngTemplateOutlet]' }]\n }], function () { return [{ type: ɵngcc0.ViewContainerRef }]; }, { ngTemplateOutletContext: [{\n type: Input\n }], ngTemplateOutlet: [{\n type: Input\n }] }); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NgTemplateOutlet.prototype._viewRef;\n /**\n * A context object to attach to the {\\@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n * @type {?}\n */\n NgTemplateOutlet.prototype.ngTemplateOutletContext;\n /**\n * A string defining the template reference and optionally the context object for the template.\n * @type {?}\n */\n NgTemplateOutlet.prototype.ngTemplateOutlet;\n /**\n * @type {?}\n * @private\n */\n NgTemplateOutlet.prototype._viewContainerRef;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/directives/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n * @type {?}\n */\nconst COMMON_DIRECTIVES = [\n NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n];\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/invalid_pipe_argument_error.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} type\n * @param {?} value\n * @return {?}\n */\nfunction invalidPipeArgumentError(type, value) {\n return Error(`InvalidPipeArgument: '${value}' for pipe '${ɵstringify(type)}'`);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/async_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction SubscriptionStrategy() { }\nif (false) {\n /**\n * @param {?} async\n * @param {?} updateLatestValue\n * @return {?}\n */\n SubscriptionStrategy.prototype.createSubscription = function (async, updateLatestValue) { };\n /**\n * @param {?} subscription\n * @return {?}\n */\n SubscriptionStrategy.prototype.dispose = function (subscription) { };\n /**\n * @param {?} subscription\n * @return {?}\n */\n SubscriptionStrategy.prototype.onDestroy = function (subscription) { };\n}\nclass ObservableStrategy {\n /**\n * @param {?} async\n * @param {?} updateLatestValue\n * @return {?}\n */\n createSubscription(async, updateLatestValue) {\n return async.subscribe({\n next: updateLatestValue,\n error: (/**\n * @param {?} e\n * @return {?}\n */\n (e) => {\n throw e;\n })\n });\n }\n /**\n * @param {?} subscription\n * @return {?}\n */\n dispose(subscription) {\n subscription.unsubscribe();\n }\n /**\n * @param {?} subscription\n * @return {?}\n */\n onDestroy(subscription) {\n subscription.unsubscribe();\n }\n}\nclass PromiseStrategy {\n /**\n * @param {?} async\n * @param {?} updateLatestValue\n * @return {?}\n */\n createSubscription(async, updateLatestValue) {\n return async.then(updateLatestValue, (/**\n * @param {?} e\n * @return {?}\n */\n e => {\n throw e;\n }));\n }\n /**\n * @param {?} subscription\n * @return {?}\n */\n dispose(subscription) { }\n /**\n * @param {?} subscription\n * @return {?}\n */\n onDestroy(subscription) { }\n}\n/** @type {?} */\nconst _promiseStrategy = new PromiseStrategy();\n/** @type {?} */\nconst _observableStrategy = new ObservableStrategy();\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks.\n *\n * \\@usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * \\@publicApi\n */\nclass AsyncPipe {\n /**\n * @param {?} _ref\n */\n constructor(_ref) {\n this._ref = _ref;\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n this._strategy = (/** @type {?} */ (null));\n }\n /**\n * @return {?}\n */\n ngOnDestroy() {\n if (this._subscription) {\n this._dispose();\n }\n }\n /**\n * @param {?} obj\n * @return {?}\n */\n transform(obj) {\n if (!this._obj) {\n if (obj) {\n this._subscribe(obj);\n }\n this._latestReturnedValue = this._latestValue;\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform((/** @type {?} */ (obj)));\n }\n if (ɵlooseIdentical(this._latestValue, this._latestReturnedValue)) {\n return this._latestReturnedValue;\n }\n this._latestReturnedValue = this._latestValue;\n return WrappedValue.wrap(this._latestValue);\n }\n /**\n * @private\n * @param {?} obj\n * @return {?}\n */\n _subscribe(obj) {\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, (/**\n * @param {?} value\n * @return {?}\n */\n (value) => this._updateLatestValue(obj, value)));\n }\n /**\n * @private\n * @param {?} obj\n * @return {?}\n */\n _selectStrategy(obj) {\n if (ɵisPromise(obj)) {\n return _promiseStrategy;\n }\n if (ɵisObservable(obj)) {\n return _observableStrategy;\n }\n throw invalidPipeArgumentError(AsyncPipe, obj);\n }\n /**\n * @private\n * @return {?}\n */\n _dispose() {\n this._strategy.dispose((/** @type {?} */ (this._subscription)));\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n }\n /**\n * @private\n * @param {?} async\n * @param {?} value\n * @return {?}\n */\n _updateLatestValue(async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n this._ref.markForCheck();\n }\n }\n}\nAsyncPipe.ɵfac = function AsyncPipe_Factory(t) { return new (t || AsyncPipe)(ɵngcc0.ɵɵinjectPipeChangeDetectorRef()); };\nAsyncPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"async\", type: AsyncPipe, pure: false });\n/** @nocollapse */\nAsyncPipe.ctorParameters = () => [\n { type: ChangeDetectorRef }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(AsyncPipe, [{\n type: Pipe,\n args: [{ name: 'async', pure: false }]\n }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._latestValue;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._latestReturnedValue;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._subscription;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._obj;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._strategy;\n /**\n * @type {?}\n * @private\n */\n AsyncPipe.prototype._ref;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/case_conversion_pipes.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Transforms text to all lower case.\n *\n * @see `UpperCasePipe`\n * @see `TitleCasePipe`\n * \\@usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * \n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass LowerCasePipe {\n /**\n * @param {?} value The string to transform to lower case.\n * @return {?}\n */\n transform(value) {\n if (!value)\n return value;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(LowerCasePipe, value);\n }\n return value.toLowerCase();\n }\n}\nLowerCasePipe.ɵfac = function LowerCasePipe_Factory(t) { return new (t || LowerCasePipe)(); };\nLowerCasePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"lowercase\", type: LowerCasePipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(LowerCasePipe, [{\n type: Pipe,\n args: [{ name: 'lowercase' }]\n }], null, null); })();\n//\n// Regex below matches any Unicode word and compatible with ES5. In ES2018 the same result\n// can be achieved by using /\\p{L}\\S*/gu and also known as Unicode Property Escapes\n// (http://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+/%5Cp%7BL%7D/u%3B&unicodePropertyEscape=1\n//\n/** @type {?} */\nconst unicodeWordMatch = /(?:[A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08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0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803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DF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE83\\uDE86-\\uDE89\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00-\\uDD1E\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see `LowerCasePipe`\n * @see `UpperCasePipe`\n *\n * \\@usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * \n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass TitleCasePipe {\n /**\n * @param {?} value The string to transform to title case.\n * @return {?}\n */\n transform(value) {\n if (!value)\n return value;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(TitleCasePipe, value);\n }\n return value.replace(unicodeWordMatch, ((/**\n * @param {?} txt\n * @return {?}\n */\n txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase())));\n }\n}\nTitleCasePipe.ɵfac = function TitleCasePipe_Factory(t) { return new (t || TitleCasePipe)(); };\nTitleCasePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"titlecase\", type: TitleCasePipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(TitleCasePipe, [{\n type: Pipe,\n args: [{ name: 'titlecase' }]\n }], null, null); })();\n/**\n * Transforms text to all upper case.\n * @see `LowerCasePipe`\n * @see `TitleCasePipe`\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass UpperCasePipe {\n /**\n * @param {?} value The string to transform to upper case.\n * @return {?}\n */\n transform(value) {\n if (!value)\n return value;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(UpperCasePipe, value);\n }\n return value.toUpperCase();\n }\n}\nUpperCasePipe.ɵfac = function UpperCasePipe_Factory(t) { return new (t || UpperCasePipe)(); };\nUpperCasePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"uppercase\", type: UpperCasePipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(UpperCasePipe, [{\n type: Pipe,\n args: [{ name: 'uppercase' }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/date_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// clang-format off\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date value according to locale rules.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n#i18n-pipes) for more information.\n *\n * @see `formatDate()`\n *\n *\n * \\@usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * Examples are given in `en-US` locale.\n *\n * - `'short'`: equivalent to `'M/d/yy, h:mm a'` (`6/15/15, 9:03 AM`).\n * - `'medium'`: equivalent to `'MMM d, y, h:mm:ss a'` (`Jun 15, 2015, 9:03:01 AM`).\n * - `'long'`: equivalent to `'MMMM d, y, h:mm:ss a z'` (`June 15, 2015 at 9:03:01 AM\n * GMT+1`).\n * - `'full'`: equivalent to `'EEEE, MMMM d, y, h:mm:ss a zzzz'` (`Monday, June 15, 2015 at\n * 9:03:01 AM GMT+01:00`).\n * - `'shortDate'`: equivalent to `'M/d/yy'` (`6/15/15`).\n * - `'mediumDate'`: equivalent to `'MMM d, y'` (`Jun 15, 2015`).\n * - `'longDate'`: equivalent to `'MMMM d, y'` (`June 15, 2015`).\n * - `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` (`Monday, June 15, 2015`).\n * - `'shortTime'`: equivalent to `'h:mm a'` (`9:03 AM`).\n * - `'mediumTime'`: equivalent to `'h:mm:ss a'` (`9:03:01 AM`).\n * - `'longTime'`: equivalent to `'h:mm:ss a z'` (`9:03:01 AM GMT+1`).\n * - `'fullTime'`: equivalent to `'h:mm:ss a zzzz'` (`9:03:01 AM GMT+01:00`).\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n * | Field type | Format | Description | Example Value |\n * |--------------------|-------------|---------------------------------------------------------------|------------------------------------------------------------|\n * | Era | G, GG & GGG | Abbreviated | AD |\n * | | GGGG | Wide | Anno Domini |\n * | | GGGGG | Narrow | A |\n * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Month | M | Numeric: 1 digit | 9, 12 |\n * | | MM | Numeric: 2 digits + zero padded | 09, 12 |\n * | | MMM | Abbreviated | Sep |\n * | | MMMM | Wide | September |\n * | | MMMMM | Narrow | S |\n * | Month standalone | L | Numeric: 1 digit | 9, 12 |\n * | | LL | Numeric: 2 digits + zero padded | 09, 12 |\n * | | LLL | Abbreviated | Sep |\n * | | LLLL | Wide | September |\n * | | LLLLL | Narrow | S |\n * | Week of year | w | Numeric: minimum digits | 1... 53 |\n * | | ww | Numeric: 2 digits + zero padded | 01... 53 |\n * | Week of month | W | Numeric: 1 digit | 1... 5 |\n * | Day of month | d | Numeric: minimum digits | 1 |\n * | | dd | Numeric: 2 digits + zero padded | 01 |\n * | Week day | E, EE & EEE | Abbreviated | Tue |\n * | | EEEE | Wide | Tuesday |\n * | | EEEEE | Narrow | T |\n * | | EEEEEE | Short | Tu |\n * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |\n * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |\n * | | aaaaa | Narrow | a/p |\n * | Period* | B, BB & BBB | Abbreviated | mid. |\n * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | BBBBB | Narrow | md |\n * | Period standalone* | b, bb & bbb | Abbreviated | mid. |\n * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | bbbbb | Narrow | md |\n * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |\n * | | hh | Numeric: 2 digits + zero padded | 01, 12 |\n * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |\n * | | HH | Numeric: 2 digits + zero padded | 00, 23 |\n * | Minute | m | Numeric: minimum digits | 8, 59 |\n * | | mm | Numeric: 2 digits + zero padded | 08, 59 |\n * | Second | s | Numeric: minimum digits | 0... 59 |\n * | | ss | Numeric: 2 digits + zero padded | 00... 59 |\n * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |\n * | | SS | Numeric: 2 digits + zero padded | 00... 99 |\n * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |\n * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |\n * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |\n * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |\n * | | ZZZZ | Long localized GMT format | GMT-8:00 |\n * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |\n * | | O, OO & OOO | Short localized GMT format | GMT-8 |\n * | | OOOO | Long localized GMT format | GMT-08:00 |\n *\n * Note that timezone correction is not applied to an ISO string that has no time component, such as \"2016-09-19\"\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }} // output is '43:11'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * \\@Component({\n * selector: 'date-pipe',\n * template: `
    \n *

    Today is {{today | date}}

    \n *

    Or if you prefer, {{today | date:'fullDate'}}

    \n *

    The time is {{today | date:'h:mm a z'}}

    \n *
    `\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n * today: number = Date.now();\n * }\n * ```\n *\n * \\@publicApi\n */\n// clang-format on\nclass DatePipe {\n /**\n * @param {?} locale\n */\n constructor(locale) {\n this.locale = locale;\n }\n /**\n * @param {?} value The date expression: a `Date` object, a number\n * (milliseconds since UTC epoch), or an ISO string (https://www.w3.org/TR/NOTE-datetime).\n * @param {?=} format The date/time components to include, using predefined options or a\n * custom format string.\n * @param {?=} timezone A timezone offset (such as `'+0430'`), or a standard\n * UTC/GMT or continental US timezone abbreviation.\n * When not supplied, uses the end-user's local system timezone.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?} A date string in the desired format.\n */\n transform(value, format = 'mediumDate', timezone, locale) {\n if (value == null || value === '' || value !== value)\n return null;\n try {\n return formatDate(value, format, locale || this.locale, timezone);\n }\n catch (error) {\n throw invalidPipeArgumentError(DatePipe, error.message);\n }\n }\n}\nDatePipe.ɵfac = function DatePipe_Factory(t) { return new (t || DatePipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID)); };\nDatePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"date\", type: DatePipe, pure: true });\n/** @nocollapse */\nDatePipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(DatePipe, [{\n type: Pipe,\n args: [{ name: 'date', pure: true }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n DatePipe.prototype.locale;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/i18n_plural_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * \\@publicApi\n */\nclass I18nPluralPipe {\n /**\n * @param {?} _localization\n */\n constructor(_localization) {\n this._localization = _localization;\n }\n /**\n * @param {?} value the number to be formatted\n * @param {?} pluralMap an object that mimics the ICU format, see\n * http://userguide.icu-project.org/formatparse/messages.\n * @param {?=} locale a `string` defining the locale to use (uses the current {\\@link LOCALE_ID} by\n * default).\n * @return {?}\n */\n transform(value, pluralMap, locale) {\n if (value == null)\n return '';\n if (typeof pluralMap !== 'object' || pluralMap === null) {\n throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n }\n /** @type {?} */\n const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n }\n}\nI18nPluralPipe.ɵfac = function I18nPluralPipe_Factory(t) { return new (t || I18nPluralPipe)(ɵngcc0.ɵɵdirectiveInject(NgLocalization)); };\nI18nPluralPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"i18nPlural\", type: I18nPluralPipe, pure: true });\n/** @nocollapse */\nI18nPluralPipe.ctorParameters = () => [\n { type: NgLocalization }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(I18nPluralPipe, [{\n type: Pipe,\n args: [{ name: 'i18nPlural', pure: true }]\n }], function () { return [{ type: NgLocalization }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n I18nPluralPipe.prototype._localization;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/i18n_select_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * \\@publicApi\n */\nclass I18nSelectPipe {\n /**\n * @param {?} value a string to be internationalized.\n * @param {?} mapping an object that indicates the text that should be displayed\n * for different values of the provided `value`.\n * @return {?}\n */\n transform(value, mapping) {\n if (value == null)\n return '';\n if (typeof mapping !== 'object' || typeof value !== 'string') {\n throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n }\n if (mapping.hasOwnProperty(value)) {\n return mapping[value];\n }\n if (mapping.hasOwnProperty('other')) {\n return mapping['other'];\n }\n return '';\n }\n}\nI18nSelectPipe.ɵfac = function I18nSelectPipe_Factory(t) { return new (t || I18nSelectPipe)(); };\nI18nSelectPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"i18nSelect\", type: I18nSelectPipe, pure: true });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(I18nSelectPipe, [{\n type: Pipe,\n args: [{ name: 'i18nSelect', pure: true }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/json_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Converts a value into its JSON-format representation. Useful for debugging.\n *\n * \\@usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {\\@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * \\@publicApi\n */\nclass JsonPipe {\n /**\n * @param {?} value A value of any type to convert into a JSON-format string.\n * @return {?}\n */\n transform(value) {\n return JSON.stringify(value, null, 2);\n }\n}\nJsonPipe.ɵfac = function JsonPipe_Factory(t) { return new (t || JsonPipe)(); };\nJsonPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"json\", type: JsonPipe, pure: false });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(JsonPipe, [{\n type: Pipe,\n args: [{ name: 'json', pure: false }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/keyvalue_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template K, V\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction makeKeyValuePair(key, value) {\n return { key: key, value: value };\n}\n/**\n * A key value pair.\n * Usually used to represent the key value pairs from a Map or Object.\n *\n * \\@publicApi\n * @record\n * @template K, V\n */\nfunction KeyValue() { }\nif (false) {\n /** @type {?} */\n KeyValue.prototype.key;\n /** @type {?} */\n KeyValue.prototype.value;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * \\@usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this keyvalue\n * pipe.\n *\n * {\\@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * \\@publicApi\n */\nclass KeyValuePipe {\n /**\n * @param {?} differs\n */\n constructor(differs) {\n this.differs = differs;\n this.keyValues = [];\n }\n /**\n * @template K, V\n * @param {?} input\n * @param {?=} compareFn\n * @return {?}\n */\n transform(input, compareFn = defaultComparator) {\n if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n return null;\n }\n if (!this.differ) {\n // make a differ for whatever type we've been passed in\n this.differ = this.differs.find(input).create();\n }\n /** @type {?} */\n const differChanges = this.differ.diff((/** @type {?} */ (input)));\n if (differChanges) {\n this.keyValues = [];\n differChanges.forEachItem((/**\n * @param {?} r\n * @return {?}\n */\n (r) => {\n this.keyValues.push(makeKeyValuePair(r.key, (/** @type {?} */ (r.currentValue))));\n }));\n this.keyValues.sort(compareFn);\n }\n return this.keyValues;\n }\n}\nKeyValuePipe.ɵfac = function KeyValuePipe_Factory(t) { return new (t || KeyValuePipe)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.KeyValueDiffers)); };\nKeyValuePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"keyvalue\", type: KeyValuePipe, pure: false });\n/** @nocollapse */\nKeyValuePipe.ctorParameters = () => [\n { type: KeyValueDiffers }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(KeyValuePipe, [{\n type: Pipe,\n args: [{ name: 'keyvalue', pure: false }]\n }], function () { return [{ type: ɵngcc0.KeyValueDiffers }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n KeyValuePipe.prototype.differ;\n /**\n * @type {?}\n * @private\n */\n KeyValuePipe.prototype.keyValues;\n /**\n * @type {?}\n * @private\n */\n KeyValuePipe.prototype.differs;\n}\n/**\n * @template K, V\n * @param {?} keyValueA\n * @param {?} keyValueB\n * @return {?}\n */\nfunction defaultComparator(keyValueA, keyValueB) {\n /** @type {?} */\n const a = keyValueA.key;\n /** @type {?} */\n const b = keyValueB.key;\n // if same exit with 0;\n if (a === b)\n return 0;\n // make sure that undefined are at the end of the sort.\n if (a === undefined)\n return 1;\n if (b === undefined)\n return -1;\n // make sure that nulls are at the end of the sort.\n if (a === null)\n return 1;\n if (b === null)\n return -1;\n if (typeof a == 'string' && typeof b == 'string') {\n return a < b ? -1 : 1;\n }\n if (typeof a == 'number' && typeof b == 'number') {\n return a - b;\n }\n if (typeof a == 'boolean' && typeof b == 'boolean') {\n return a < b ? -1 : 1;\n }\n // `a` and `b` are of different types. Compare their string values.\n /** @type {?} */\n const aString = String(a);\n /** @type {?} */\n const bString = String(b);\n return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/number_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number into a string,\n * formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * If no parameters are specified, the function rounds off to the nearest value using this\n * [rounding method](https://en.wikibooks.org/wiki/Arithmetic/Rounding).\n * The behavior differs from that of the JavaScript ```Math.round()``` function.\n * In the following case for example, the pipe rounds down where\n * ```Math.round()``` rounds up:\n *\n * ```html\n * -2.5 | number:'1.0-0'\n * > -3\n * Math.round(-2.5)\n * > -2\n * ```\n *\n * @see `formatNumber()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * ### Example\n *\n * \n *\n * \\@publicApi\n */\nclass DecimalPipe {\n /**\n * @param {?} _locale\n */\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n * @param {?} value The number to be formatted.\n * @param {?=} digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `3`.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?}\n */\n transform(value, digitsInfo, locale) {\n if (isEmpty(value))\n return null;\n locale = locale || this._locale;\n try {\n /** @type {?} */\n const num = strToNumber(value);\n return formatNumber(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(DecimalPipe, error.message);\n }\n }\n}\nDecimalPipe.ɵfac = function DecimalPipe_Factory(t) { return new (t || DecimalPipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID)); };\nDecimalPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"number\", type: DecimalPipe, pure: true });\n/** @nocollapse */\nDecimalPipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(DecimalPipe, [{\n type: Pipe,\n args: [{ name: 'number' }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n DecimalPipe.prototype._locale;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see `formatPercent()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * \\@publicApi\n */\nclass PercentPipe {\n /**\n * @param {?} _locale\n */\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n *\n * @param {?} value The number to be formatted as a percentage.\n * @param {?=} digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `0`.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?}\n */\n transform(value, digitsInfo, locale) {\n if (isEmpty(value))\n return null;\n locale = locale || this._locale;\n try {\n /** @type {?} */\n const num = strToNumber(value);\n return formatPercent(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(PercentPipe, error.message);\n }\n }\n}\nPercentPipe.ɵfac = function PercentPipe_Factory(t) { return new (t || PercentPipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID)); };\nPercentPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"percent\", type: PercentPipe, pure: true });\n/** @nocollapse */\nPercentPipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(PercentPipe, [{\n type: Pipe,\n args: [{ name: 'percent' }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n PercentPipe.prototype._locale;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n * {\\@a currency-code-deprecation}\n *
    \n *\n * **Deprecation notice:**\n *\n * The default currency code is currently always `USD` but this is deprecated from v9.\n *\n * **In v11 the default currency code will be taken from the current locale identified by\n * the `LOCAL_ID` token. See the [i18n guide](guide/i18n#setting-up-the-locale-of-your-app) for\n * more information.**\n *\n * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in\n * your application `NgModule`:\n *\n * ```ts\n * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}\n * ```\n *\n *
    \n *\n * @see `getCurrencySymbol()`\n * @see `formatCurrency()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * \\@publicApi\n */\nclass CurrencyPipe {\n /**\n * @param {?} _locale\n * @param {?=} _defaultCurrencyCode\n */\n constructor(_locale, _defaultCurrencyCode = 'USD') {\n this._locale = _locale;\n this._defaultCurrencyCode = _defaultCurrencyCode;\n }\n /**\n *\n * @param {?} value The number to be formatted as currency.\n * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param {?=} display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param {?=} digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param {?=} locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n * @return {?}\n */\n transform(value, currencyCode, display = 'symbol', digitsInfo, locale) {\n if (isEmpty(value))\n return null;\n locale = locale || this._locale;\n if (typeof display === 'boolean') {\n if ((/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n }\n display = display ? 'symbol' : 'code';\n }\n /** @type {?} */\n let currency = currencyCode || this._defaultCurrencyCode;\n if (display !== 'code') {\n if (display === 'symbol' || display === 'symbol-narrow') {\n currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n }\n else {\n currency = display;\n }\n }\n try {\n /** @type {?} */\n const num = strToNumber(value);\n return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(CurrencyPipe, error.message);\n }\n }\n}\nCurrencyPipe.ɵfac = function CurrencyPipe_Factory(t) { return new (t || CurrencyPipe)(ɵngcc0.ɵɵdirectiveInject(LOCALE_ID), ɵngcc0.ɵɵdirectiveInject(DEFAULT_CURRENCY_CODE)); };\nCurrencyPipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"currency\", type: CurrencyPipe, pure: true });\n/** @nocollapse */\nCurrencyPipe.ctorParameters = () => [\n { type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] },\n { type: String, decorators: [{ type: Inject, args: [DEFAULT_CURRENCY_CODE,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(CurrencyPipe, [{\n type: Pipe,\n args: [{ name: 'currency' }]\n }], function () { return [{ type: String, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: String, decorators: [{\n type: Inject,\n args: [DEFAULT_CURRENCY_CODE]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n CurrencyPipe.prototype._locale;\n /**\n * @type {?}\n * @private\n */\n CurrencyPipe.prototype._defaultCurrencyCode;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isEmpty(value) {\n return value == null || value === '' || value !== value;\n}\n/**\n * Transforms a string into a number (if needed).\n * @param {?} value\n * @return {?}\n */\nfunction strToNumber(value) {\n // Convert strings to numbers\n if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n return Number(value);\n }\n if (typeof value !== 'number') {\n throw new Error(`${value} is not a number`);\n }\n return value;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/slice_pipe.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * \\@usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n *
  • b
  • \n *
  • c
  • \n * ```\n *\n * ### String Examples\n *\n * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * \\@publicApi\n */\nclass SlicePipe {\n /**\n * @param {?} value\n * @param {?} start\n * @param {?=} end\n * @return {?}\n */\n transform(value, start, end) {\n if (value == null)\n return value;\n if (!this.supports(value)) {\n throw invalidPipeArgumentError(SlicePipe, value);\n }\n return value.slice(start, end);\n }\n /**\n * @private\n * @param {?} obj\n * @return {?}\n */\n supports(obj) {\n return typeof obj === 'string' || Array.isArray(obj);\n }\n}\nSlicePipe.ɵfac = function SlicePipe_Factory(t) { return new (t || SlicePipe)(); };\nSlicePipe.ɵpipe = ɵngcc0.ɵɵdefinePipe({ name: \"slice\", type: SlicePipe, pure: false });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(SlicePipe, [{\n type: Pipe,\n args: [{ name: 'slice', pure: false }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/pipes/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n * @type {?}\n */\nconst COMMON_PIPES = [\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe,\n];\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/common_module.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * * The `providers` options configure the NgModule's injector to provide\n * localization dependencies to members.\n * * The `exports` options make the declared directives and pipes available for import\n * by other NgModules.\n *\n * \\@publicApi\n */\nclass CommonModule {\n}\nCommonModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: CommonModule });\nCommonModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ factory: function CommonModule_Factory(t) { return new (t || CommonModule)(); }, providers: [\n { provide: NgLocalization, useClass: NgLocaleLocalization },\n ] });\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CommonModule, { declarations: [NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe], exports: [NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe] }); })();\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(CommonModule, [{\n type: NgModule,\n args: [{\n declarations: [COMMON_DIRECTIVES, COMMON_PIPES],\n exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n providers: [\n { provide: NgLocalization, useClass: NgLocaleLocalization },\n ]\n }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/platform_id.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst PLATFORM_BROWSER_ID = 'browser';\n/** @type {?} */\nconst PLATFORM_SERVER_ID = 'server';\n/** @type {?} */\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\n/** @type {?} */\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformBrowser(platformId) {\n return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformServer(platformId) {\n return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformWorkerApp(platformId) {\n return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformWorkerUi(platformId) {\n return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/version.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new Version('9.1.11');\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/viewport_scroller.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * \\@publicApi\n * @abstract\n */\nclass ViewportScroller {\n}\n// De-sugared tree-shakable injection\n// See #23917\n/** @nocollapse */\nViewportScroller.ɵprov = ɵɵdefineInjectable({\n token: ViewportScroller,\n providedIn: 'root',\n factory: (/**\n * @return {?}\n */\n () => new BrowserViewportScroller(ɵɵinject(DOCUMENT), window, ɵɵinject(ErrorHandler)))\n});\nif (false) {\n /**\n * @nocollapse\n * @type {?}\n */\n ViewportScroller.ɵprov;\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @abstract\n * @param {?} offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n * @return {?}\n */\n ViewportScroller.prototype.setOffset = function (offset) { };\n /**\n * Retrieves the current scroll position.\n * @abstract\n * @return {?} A position in screen coordinates (a tuple with x and y values).\n */\n ViewportScroller.prototype.getScrollPosition = function () { };\n /**\n * Scrolls to a specified position.\n * @abstract\n * @param {?} position A position in screen coordinates (a tuple with x and y values).\n * @return {?}\n */\n ViewportScroller.prototype.scrollToPosition = function (position) { };\n /**\n * Scrolls to an anchor element.\n * @abstract\n * @param {?} anchor The ID of the anchor element.\n * @return {?}\n */\n ViewportScroller.prototype.scrollToAnchor = function (anchor) { };\n /**\n * Disables automatic scroll restoration provided by the browser.\n * See also [window.history.scrollRestoration\n * info](https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration).\n * @abstract\n * @param {?} scrollRestoration\n * @return {?}\n */\n ViewportScroller.prototype.setHistoryScrollRestoration = function (scrollRestoration) { };\n}\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n /**\n * @param {?} document\n * @param {?} window\n * @param {?} errorHandler\n */\n constructor(document, window, errorHandler) {\n this.document = document;\n this.window = window;\n this.errorHandler = errorHandler;\n this.offset = (/**\n * @return {?}\n */\n () => [0, 0]);\n }\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @param {?} offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n * @return {?}\n */\n setOffset(offset) {\n if (Array.isArray(offset)) {\n this.offset = (/**\n * @return {?}\n */\n () => offset);\n }\n else {\n this.offset = offset;\n }\n }\n /**\n * Retrieves the current scroll position.\n * @return {?} The position in screen coordinates.\n */\n getScrollPosition() {\n if (this.supportScrollRestoration()) {\n return [this.window.scrollX, this.window.scrollY];\n }\n else {\n return [0, 0];\n }\n }\n /**\n * Sets the scroll position.\n * @param {?} position The new position in screen coordinates.\n * @return {?}\n */\n scrollToPosition(position) {\n if (this.supportScrollRestoration()) {\n this.window.scrollTo(position[0], position[1]);\n }\n }\n /**\n * Scrolls to an anchor element.\n * @param {?} anchor The ID of the anchor element.\n * @return {?}\n */\n scrollToAnchor(anchor) {\n if (this.supportScrollRestoration()) {\n // Escape anything passed to `querySelector` as it can throw errors and stop the application\n // from working if invalid values are passed.\n if (this.window.CSS && this.window.CSS.escape) {\n anchor = this.window.CSS.escape(anchor);\n }\n else {\n anchor = anchor.replace(/(\\\"|\\'\\ |:|\\.|\\[|\\]|,|=)/g, '\\\\$1');\n }\n try {\n /** @type {?} */\n const elSelectedById = this.document.querySelector(`#${anchor}`);\n if (elSelectedById) {\n this.scrollToElement(elSelectedById);\n return;\n }\n /** @type {?} */\n const elSelectedByName = this.document.querySelector(`[name='${anchor}']`);\n if (elSelectedByName) {\n this.scrollToElement(elSelectedByName);\n return;\n }\n }\n catch (e) {\n this.errorHandler.handleError(e);\n }\n }\n }\n /**\n * Disables automatic scroll restoration provided by the browser.\n * @param {?} scrollRestoration\n * @return {?}\n */\n setHistoryScrollRestoration(scrollRestoration) {\n if (this.supportScrollRestoration()) {\n /** @type {?} */\n const history = this.window.history;\n if (history && history.scrollRestoration) {\n history.scrollRestoration = scrollRestoration;\n }\n }\n }\n /**\n * @private\n * @param {?} el\n * @return {?}\n */\n scrollToElement(el) {\n /** @type {?} */\n const rect = el.getBoundingClientRect();\n /** @type {?} */\n const left = rect.left + this.window.pageXOffset;\n /** @type {?} */\n const top = rect.top + this.window.pageYOffset;\n /** @type {?} */\n const offset = this.offset();\n this.window.scrollTo(left - offset[0], top - offset[1]);\n }\n /**\n * We only support scroll restoration when we can get a hold of window.\n * This means that we do not support this behavior when running in a web worker.\n *\n * Lifting this restriction right now would require more changes in the dom adapter.\n * Since webworkers aren't widely used, we will lift it once RouterScroller is\n * battle-tested.\n * @private\n * @return {?}\n */\n supportScrollRestoration() {\n try {\n return !!this.window && !!this.window.scrollTo;\n }\n catch (_a) {\n return false;\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.offset;\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.document;\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.window;\n /**\n * @type {?}\n * @private\n */\n BrowserViewportScroller.prototype.errorHandler;\n}\n/**\n * Provides an empty implementation of the viewport scroller. This will\n * live in \\@angular/common as it will be used by both platform-server and platform-webworker.\n */\nclass NullViewportScroller {\n /**\n * Empty implementation\n * @param {?} offset\n * @return {?}\n */\n setOffset(offset) { }\n /**\n * Empty implementation\n * @return {?}\n */\n getScrollPosition() {\n return [0, 0];\n }\n /**\n * Empty implementation\n * @param {?} position\n * @return {?}\n */\n scrollToPosition(position) { }\n /**\n * Empty implementation\n * @param {?} anchor\n * @return {?}\n */\n scrollToAnchor(anchor) { }\n /**\n * Empty implementation\n * @param {?} scrollRestoration\n * @return {?}\n */\n setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/src/common.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/public_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/common/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, registerLocaleData, BrowserPlatformLocation as ɵBrowserPlatformLocation, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, useBrowserPlatformLocation as ɵangular_packages_common_common_a, createBrowserPlatformLocation as ɵangular_packages_common_common_b, createLocation as ɵangular_packages_common_common_c, provideLocationStrategy as ɵangular_packages_common_common_d, COMMON_DIRECTIVES as ɵangular_packages_common_common_e, COMMON_PIPES as ɵangular_packages_common_common_f, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };\n\n//# sourceMappingURL=common.js.map",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./enc-base64\"), require(\"./md5\"), require(\"./evpkdf\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./enc-base64\", \"./md5\", \"./evpkdf\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var StreamCipher = C_lib.StreamCipher;\n\t var C_algo = C.algo;\n\n\t // Reusable objects\n\t var S = [];\n\t var C_ = [];\n\t var G = [];\n\n\t /**\n\t * Rabbit stream cipher algorithm.\n\t *\n\t * This is a legacy version that neglected to convert the key to little-endian.\n\t * This error doesn't affect the cipher's security,\n\t * but it does affect its compatibility with other implementations.\n\t */\n\t var RabbitLegacy = C_algo.RabbitLegacy = StreamCipher.extend({\n\t _doReset: function () {\n\t // Shortcuts\n\t var K = this._key.words;\n\t var iv = this.cfg.iv;\n\n\t // Generate initial state values\n\t var X = this._X = [\n\t K[0], (K[3] << 16) | (K[2] >>> 16),\n\t K[1], (K[0] << 16) | (K[3] >>> 16),\n\t K[2], (K[1] << 16) | (K[0] >>> 16),\n\t K[3], (K[2] << 16) | (K[1] >>> 16)\n\t ];\n\n\t // Generate initial counter values\n\t var C = this._C = [\n\t (K[2] << 16) | (K[2] >>> 16), (K[0] & 0xffff0000) | (K[1] & 0x0000ffff),\n\t (K[3] << 16) | (K[3] >>> 16), (K[1] & 0xffff0000) | (K[2] & 0x0000ffff),\n\t (K[0] << 16) | (K[0] >>> 16), (K[2] & 0xffff0000) | (K[3] & 0x0000ffff),\n\t (K[1] << 16) | (K[1] >>> 16), (K[3] & 0xffff0000) | (K[0] & 0x0000ffff)\n\t ];\n\n\t // Carry bit\n\t this._b = 0;\n\n\t // Iterate the system four times\n\t for (var i = 0; i < 4; i++) {\n\t nextState.call(this);\n\t }\n\n\t // Modify the counters\n\t for (var i = 0; i < 8; i++) {\n\t C[i] ^= X[(i + 4) & 7];\n\t }\n\n\t // IV setup\n\t if (iv) {\n\t // Shortcuts\n\t var IV = iv.words;\n\t var IV_0 = IV[0];\n\t var IV_1 = IV[1];\n\n\t // Generate four subvectors\n\t var i0 = (((IV_0 << 8) | (IV_0 >>> 24)) & 0x00ff00ff) | (((IV_0 << 24) | (IV_0 >>> 8)) & 0xff00ff00);\n\t var i2 = (((IV_1 << 8) | (IV_1 >>> 24)) & 0x00ff00ff) | (((IV_1 << 24) | (IV_1 >>> 8)) & 0xff00ff00);\n\t var i1 = (i0 >>> 16) | (i2 & 0xffff0000);\n\t var i3 = (i2 << 16) | (i0 & 0x0000ffff);\n\n\t // Modify counter values\n\t C[0] ^= i0;\n\t C[1] ^= i1;\n\t C[2] ^= i2;\n\t C[3] ^= i3;\n\t C[4] ^= i0;\n\t C[5] ^= i1;\n\t C[6] ^= i2;\n\t C[7] ^= i3;\n\n\t // Iterate the system four times\n\t for (var i = 0; i < 4; i++) {\n\t nextState.call(this);\n\t }\n\t }\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var X = this._X;\n\n\t // Iterate the system\n\t nextState.call(this);\n\n\t // Generate four keystream words\n\t S[0] = X[0] ^ (X[5] >>> 16) ^ (X[3] << 16);\n\t S[1] = X[2] ^ (X[7] >>> 16) ^ (X[5] << 16);\n\t S[2] = X[4] ^ (X[1] >>> 16) ^ (X[7] << 16);\n\t S[3] = X[6] ^ (X[3] >>> 16) ^ (X[1] << 16);\n\n\t for (var i = 0; i < 4; i++) {\n\t // Swap endian\n\t S[i] = (((S[i] << 8) | (S[i] >>> 24)) & 0x00ff00ff) |\n\t (((S[i] << 24) | (S[i] >>> 8)) & 0xff00ff00);\n\n\t // Encrypt\n\t M[offset + i] ^= S[i];\n\t }\n\t },\n\n\t blockSize: 128/32,\n\n\t ivSize: 64/32\n\t });\n\n\t function nextState() {\n\t // Shortcuts\n\t var X = this._X;\n\t var C = this._C;\n\n\t // Save old counter values\n\t for (var i = 0; i < 8; i++) {\n\t C_[i] = C[i];\n\t }\n\n\t // Calculate new counter values\n\t C[0] = (C[0] + 0x4d34d34d + this._b) | 0;\n\t C[1] = (C[1] + 0xd34d34d3 + ((C[0] >>> 0) < (C_[0] >>> 0) ? 1 : 0)) | 0;\n\t C[2] = (C[2] + 0x34d34d34 + ((C[1] >>> 0) < (C_[1] >>> 0) ? 1 : 0)) | 0;\n\t C[3] = (C[3] + 0x4d34d34d + ((C[2] >>> 0) < (C_[2] >>> 0) ? 1 : 0)) | 0;\n\t C[4] = (C[4] + 0xd34d34d3 + ((C[3] >>> 0) < (C_[3] >>> 0) ? 1 : 0)) | 0;\n\t C[5] = (C[5] + 0x34d34d34 + ((C[4] >>> 0) < (C_[4] >>> 0) ? 1 : 0)) | 0;\n\t C[6] = (C[6] + 0x4d34d34d + ((C[5] >>> 0) < (C_[5] >>> 0) ? 1 : 0)) | 0;\n\t C[7] = (C[7] + 0xd34d34d3 + ((C[6] >>> 0) < (C_[6] >>> 0) ? 1 : 0)) | 0;\n\t this._b = (C[7] >>> 0) < (C_[7] >>> 0) ? 1 : 0;\n\n\t // Calculate the g-values\n\t for (var i = 0; i < 8; i++) {\n\t var gx = X[i] + C[i];\n\n\t // Construct high and low argument for squaring\n\t var ga = gx & 0xffff;\n\t var gb = gx >>> 16;\n\n\t // Calculate high and low result of squaring\n\t var gh = ((((ga * ga) >>> 17) + ga * gb) >>> 15) + gb * gb;\n\t var gl = (((gx & 0xffff0000) * gx) | 0) + (((gx & 0x0000ffff) * gx) | 0);\n\n\t // High XOR low\n\t G[i] = gh ^ gl;\n\t }\n\n\t // Calculate new state values\n\t X[0] = (G[0] + ((G[7] << 16) | (G[7] >>> 16)) + ((G[6] << 16) | (G[6] >>> 16))) | 0;\n\t X[1] = (G[1] + ((G[0] << 8) | (G[0] >>> 24)) + G[7]) | 0;\n\t X[2] = (G[2] + ((G[1] << 16) | (G[1] >>> 16)) + ((G[0] << 16) | (G[0] >>> 16))) | 0;\n\t X[3] = (G[3] + ((G[2] << 8) | (G[2] >>> 24)) + G[1]) | 0;\n\t X[4] = (G[4] + ((G[3] << 16) | (G[3] >>> 16)) + ((G[2] << 16) | (G[2] >>> 16))) | 0;\n\t X[5] = (G[5] + ((G[4] << 8) | (G[4] >>> 24)) + G[3]) | 0;\n\t X[6] = (G[6] + ((G[5] << 16) | (G[5] >>> 16)) + ((G[4] << 16) | (G[4] >>> 16))) | 0;\n\t X[7] = (G[7] + ((G[6] << 8) | (G[6] >>> 24)) + G[5]) | 0;\n\t }\n\n\t /**\n\t * Shortcut functions to the cipher's object interface.\n\t *\n\t * @example\n\t *\n\t * var ciphertext = CryptoJS.RabbitLegacy.encrypt(message, key, cfg);\n\t * var plaintext = CryptoJS.RabbitLegacy.decrypt(ciphertext, key, cfg);\n\t */\n\t C.RabbitLegacy = StreamCipher._createHelper(RabbitLegacy);\n\t}());\n\n\n\treturn CryptoJS.RabbitLegacy;\n\n}));","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const CurrentLocationValidationRequest = createAction('[Current location] Request validation');\r\nexport const CurrentLocationValidationSuccessRequest = createAction('[Current location] Success request validation');\r\nexport const CurrentLocationValidationErrorRequest = createAction('[Current location] Error request validation');\r\nexport const CurrentLocationValidationReset = createAction('[Current location] Request validation reset');\r\n\r\nexport const CurrentLocationReset = createAction('[Current location] Reset');\r\n\r\nexport const CurrentLocationSet = createAction(\r\n '[Current location] Set locationNo',\r\n props<{ locationNo: number }>(),\r\n);\r\n\r\nexport const CurrentLocationPickupTimeSet = createAction(\r\n '[Current location] Set pickup time',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime }),\r\n);\r\n\r\nexport const CurrentLocationFiltersPickupTimeSync = createAction(\r\n '[Current location] Sync current location pickupt time with filters',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime }),\r\n);\r\n\r\nexport const CurrentLocationPickupTimeRestore = createAction(\r\n '[Current location] Restore current pickupt time from local storage',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime }),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n var hi = moment.defineLocale('hi', {\n months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),\n monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),\n monthsParseExact: true,\n weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat : {\n LT : 'A h:mm बजे',\n LTS : 'A h:mm:ss बजे',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm बजे',\n LLLL : 'dddd, D MMMM YYYY, A h:mm बजे'\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[कल] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[कल] LT',\n lastWeek : '[पिछले] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s में',\n past : '%s पहले',\n s : 'कुछ ही क्षण',\n ss : '%d सेकंड',\n m : 'एक मिनट',\n mm : '%d मिनट',\n h : 'एक घंटा',\n hh : '%d घंटे',\n d : 'एक दिन',\n dd : '%d दिन',\n M : 'एक महीने',\n MM : '%d महीने',\n y : 'एक वर्ष',\n yy : '%d वर्ष'\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n meridiemParse: /रात|सुबह|दोपहर|शाम/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सुबह') {\n return hour;\n } else if (meridiem === 'दोपहर') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'शाम') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात';\n } else if (hour < 10) {\n return 'सुबह';\n } else if (hour < 17) {\n return 'दोपहर';\n } else if (hour < 20) {\n return 'शाम';\n } else {\n return 'रात';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return hi;\n\n})));\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Number.POSITIVE_INFINITY) {\n return mergeMap(identity, concurrent);\n}\n//# sourceMappingURL=mergeAll.js.map",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./sha1\"), require(\"./hmac\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./sha1\", \"./hmac\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var Base = C_lib.Base;\n\t var WordArray = C_lib.WordArray;\n\t var C_algo = C.algo;\n\t var SHA1 = C_algo.SHA1;\n\t var HMAC = C_algo.HMAC;\n\n\t /**\n\t * Password-Based Key Derivation Function 2 algorithm.\n\t */\n\t var PBKDF2 = C_algo.PBKDF2 = Base.extend({\n\t /**\n\t * Configuration options.\n\t *\n\t * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)\n\t * @property {Hasher} hasher The hasher to use. Default: SHA1\n\t * @property {number} iterations The number of iterations to perform. Default: 1\n\t */\n\t cfg: Base.extend({\n\t keySize: 128/32,\n\t hasher: SHA1,\n\t iterations: 1\n\t }),\n\n\t /**\n\t * Initializes a newly created key derivation function.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for the derivation.\n\t *\n\t * @example\n\t *\n\t * var kdf = CryptoJS.algo.PBKDF2.create();\n\t * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });\n\t * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });\n\t */\n\t init: function (cfg) {\n\t this.cfg = this.cfg.extend(cfg);\n\t },\n\n\t /**\n\t * Computes the Password-Based Key Derivation Function 2.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @example\n\t *\n\t * var key = kdf.compute(password, salt);\n\t */\n\t compute: function (password, salt) {\n\t // Shortcut\n\t var cfg = this.cfg;\n\n\t // Init HMAC\n\t var hmac = HMAC.create(cfg.hasher, password);\n\n\t // Initial values\n\t var derivedKey = WordArray.create();\n\t var blockIndex = WordArray.create([0x00000001]);\n\n\t // Shortcuts\n\t var derivedKeyWords = derivedKey.words;\n\t var blockIndexWords = blockIndex.words;\n\t var keySize = cfg.keySize;\n\t var iterations = cfg.iterations;\n\n\t // Generate key\n\t while (derivedKeyWords.length < keySize) {\n\t var block = hmac.update(salt).finalize(blockIndex);\n\t hmac.reset();\n\n\t // Shortcuts\n\t var blockWords = block.words;\n\t var blockWordsLength = blockWords.length;\n\n\t // Iterations\n\t var intermediate = block;\n\t for (var i = 1; i < iterations; i++) {\n\t intermediate = hmac.finalize(intermediate);\n\t hmac.reset();\n\n\t // Shortcut\n\t var intermediateWords = intermediate.words;\n\n\t // XOR intermediate with block\n\t for (var j = 0; j < blockWordsLength; j++) {\n\t blockWords[j] ^= intermediateWords[j];\n\t }\n\t }\n\n\t derivedKey.concat(block);\n\t blockIndexWords[0]++;\n\t }\n\t derivedKey.sigBytes = keySize * 4;\n\n\t return derivedKey;\n\t }\n\t });\n\n\t /**\n\t * Computes the Password-Based Key Derivation Function 2.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t * @param {Object} cfg (Optional) The configuration options to use for this computation.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var key = CryptoJS.PBKDF2(password, salt);\n\t * var key = CryptoJS.PBKDF2(password, salt, { keySize: 8 });\n\t * var key = CryptoJS.PBKDF2(password, salt, { keySize: 8, iterations: 1000 });\n\t */\n\t C.PBKDF2 = function (password, salt, cfg) {\n\t return PBKDF2.create(cfg).compute(password, salt);\n\t };\n\t}());\n\n\n\treturn CryptoJS.PBKDF2;\n\n}));","import { Observable } from '../Observable';\nexport function throwError(error, scheduler) {\n if (!scheduler) {\n return new Observable(subscriber => subscriber.error(error));\n }\n else {\n return new Observable(subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));\n }\n}\nfunction dispatch({ error, subscriber }) {\n subscriber.error(error);\n}\n//# sourceMappingURL=throwError.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var te = moment.defineLocale('te', {\n months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),\n monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),\n monthsParseExact : true,\n weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),\n weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),\n weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),\n longDateFormat : {\n LT : 'A h:mm',\n LTS : 'A h:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm',\n LLLL : 'dddd, D MMMM YYYY, A h:mm'\n },\n calendar : {\n sameDay : '[నేడు] LT',\n nextDay : '[రేపు] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[నిన్న] LT',\n lastWeek : '[గత] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s లో',\n past : '%s క్రితం',\n s : 'కొన్ని క్షణాలు',\n ss : '%d సెకన్లు',\n m : 'ఒక నిమిషం',\n mm : '%d నిమిషాలు',\n h : 'ఒక గంట',\n hh : '%d గంటలు',\n d : 'ఒక రోజు',\n dd : '%d రోజులు',\n M : 'ఒక నెల',\n MM : '%d నెలలు',\n y : 'ఒక సంవత్సరం',\n yy : '%d సంవత్సరాలు'\n },\n dayOfMonthOrdinalParse : /\\d{1,2}వ/,\n ordinal : '%dవ',\n meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'రాత్రి') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ఉదయం') {\n return hour;\n } else if (meridiem === 'మధ్యాహ్నం') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'సాయంత్రం') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'రాత్రి';\n } else if (hour < 10) {\n return 'ఉదయం';\n } else if (hour < 17) {\n return 'మధ్యాహ్నం';\n } else if (hour < 20) {\n return 'సాయంత్రం';\n } else {\n return 'రాత్రి';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return te;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var sw = moment.defineLocale('sw', {\n months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),\n monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),\n weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[leo saa] LT',\n nextDay : '[kesho saa] LT',\n nextWeek : '[wiki ijayo] dddd [saat] LT',\n lastDay : '[jana] LT',\n lastWeek : '[wiki iliyopita] dddd [saat] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : '%s baadaye',\n past : 'tokea %s',\n s : 'hivi punde',\n ss : 'sekunde %d',\n m : 'dakika moja',\n mm : 'dakika %d',\n h : 'saa limoja',\n hh : 'masaa %d',\n d : 'siku moja',\n dd : 'masiku %d',\n M : 'mwezi mmoja',\n MM : 'miezi %d',\n y : 'mwaka mmoja',\n yy : 'miaka %d'\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return sw;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./enc-base64\"), require(\"./md5\"), require(\"./evpkdf\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./enc-base64\", \"./md5\", \"./evpkdf\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var BlockCipher = C_lib.BlockCipher;\n\t var C_algo = C.algo;\n\n\t // Lookup tables\n\t var SBOX = [];\n\t var INV_SBOX = [];\n\t var SUB_MIX_0 = [];\n\t var SUB_MIX_1 = [];\n\t var SUB_MIX_2 = [];\n\t var SUB_MIX_3 = [];\n\t var INV_SUB_MIX_0 = [];\n\t var INV_SUB_MIX_1 = [];\n\t var INV_SUB_MIX_2 = [];\n\t var INV_SUB_MIX_3 = [];\n\n\t // Compute lookup tables\n\t (function () {\n\t // Compute double table\n\t var d = [];\n\t for (var i = 0; i < 256; i++) {\n\t if (i < 128) {\n\t d[i] = i << 1;\n\t } else {\n\t d[i] = (i << 1) ^ 0x11b;\n\t }\n\t }\n\n\t // Walk GF(2^8)\n\t var x = 0;\n\t var xi = 0;\n\t for (var i = 0; i < 256; i++) {\n\t // Compute sbox\n\t var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4);\n\t sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63;\n\t SBOX[x] = sx;\n\t INV_SBOX[sx] = x;\n\n\t // Compute multiplication\n\t var x2 = d[x];\n\t var x4 = d[x2];\n\t var x8 = d[x4];\n\n\t // Compute sub bytes, mix columns tables\n\t var t = (d[sx] * 0x101) ^ (sx * 0x1010100);\n\t SUB_MIX_0[x] = (t << 24) | (t >>> 8);\n\t SUB_MIX_1[x] = (t << 16) | (t >>> 16);\n\t SUB_MIX_2[x] = (t << 8) | (t >>> 24);\n\t SUB_MIX_3[x] = t;\n\n\t // Compute inv sub bytes, inv mix columns tables\n\t var t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100);\n\t INV_SUB_MIX_0[sx] = (t << 24) | (t >>> 8);\n\t INV_SUB_MIX_1[sx] = (t << 16) | (t >>> 16);\n\t INV_SUB_MIX_2[sx] = (t << 8) | (t >>> 24);\n\t INV_SUB_MIX_3[sx] = t;\n\n\t // Compute next counter\n\t if (!x) {\n\t x = xi = 1;\n\t } else {\n\t x = x2 ^ d[d[d[x8 ^ x2]]];\n\t xi ^= d[d[xi]];\n\t }\n\t }\n\t }());\n\n\t // Precomputed Rcon lookup\n\t var RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];\n\n\t /**\n\t * AES block cipher algorithm.\n\t */\n\t var AES = C_algo.AES = BlockCipher.extend({\n\t _doReset: function () {\n\t // Skip reset of nRounds has been set before and key did not change\n\t if (this._nRounds && this._keyPriorReset === this._key) {\n\t return;\n\t }\n\n\t // Shortcuts\n\t var key = this._keyPriorReset = this._key;\n\t var keyWords = key.words;\n\t var keySize = key.sigBytes / 4;\n\n\t // Compute number of rounds\n\t var nRounds = this._nRounds = keySize + 6;\n\n\t // Compute number of key schedule rows\n\t var ksRows = (nRounds + 1) * 4;\n\n\t // Compute key schedule\n\t var keySchedule = this._keySchedule = [];\n\t for (var ksRow = 0; ksRow < ksRows; ksRow++) {\n\t if (ksRow < keySize) {\n\t keySchedule[ksRow] = keyWords[ksRow];\n\t } else {\n\t var t = keySchedule[ksRow - 1];\n\n\t if (!(ksRow % keySize)) {\n\t // Rot word\n\t t = (t << 8) | (t >>> 24);\n\n\t // Sub word\n\t t = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];\n\n\t // Mix Rcon\n\t t ^= RCON[(ksRow / keySize) | 0] << 24;\n\t } else if (keySize > 6 && ksRow % keySize == 4) {\n\t // Sub word\n\t t = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];\n\t }\n\n\t keySchedule[ksRow] = keySchedule[ksRow - keySize] ^ t;\n\t }\n\t }\n\n\t // Compute inv key schedule\n\t var invKeySchedule = this._invKeySchedule = [];\n\t for (var invKsRow = 0; invKsRow < ksRows; invKsRow++) {\n\t var ksRow = ksRows - invKsRow;\n\n\t if (invKsRow % 4) {\n\t var t = keySchedule[ksRow];\n\t } else {\n\t var t = keySchedule[ksRow - 4];\n\t }\n\n\t if (invKsRow < 4 || ksRow <= 4) {\n\t invKeySchedule[invKsRow] = t;\n\t } else {\n\t invKeySchedule[invKsRow] = INV_SUB_MIX_0[SBOX[t >>> 24]] ^ INV_SUB_MIX_1[SBOX[(t >>> 16) & 0xff]] ^\n\t INV_SUB_MIX_2[SBOX[(t >>> 8) & 0xff]] ^ INV_SUB_MIX_3[SBOX[t & 0xff]];\n\t }\n\t }\n\t },\n\n\t encryptBlock: function (M, offset) {\n\t this._doCryptBlock(M, offset, this._keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX);\n\t },\n\n\t decryptBlock: function (M, offset) {\n\t // Swap 2nd and 4th rows\n\t var t = M[offset + 1];\n\t M[offset + 1] = M[offset + 3];\n\t M[offset + 3] = t;\n\n\t this._doCryptBlock(M, offset, this._invKeySchedule, INV_SUB_MIX_0, INV_SUB_MIX_1, INV_SUB_MIX_2, INV_SUB_MIX_3, INV_SBOX);\n\n\t // Inv swap 2nd and 4th rows\n\t var t = M[offset + 1];\n\t M[offset + 1] = M[offset + 3];\n\t M[offset + 3] = t;\n\t },\n\n\t _doCryptBlock: function (M, offset, keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX) {\n\t // Shortcut\n\t var nRounds = this._nRounds;\n\n\t // Get input, add round key\n\t var s0 = M[offset] ^ keySchedule[0];\n\t var s1 = M[offset + 1] ^ keySchedule[1];\n\t var s2 = M[offset + 2] ^ keySchedule[2];\n\t var s3 = M[offset + 3] ^ keySchedule[3];\n\n\t // Key schedule row counter\n\t var ksRow = 4;\n\n\t // Rounds\n\t for (var round = 1; round < nRounds; round++) {\n\t // Shift rows, sub bytes, mix columns, add round key\n\t var t0 = SUB_MIX_0[s0 >>> 24] ^ SUB_MIX_1[(s1 >>> 16) & 0xff] ^ SUB_MIX_2[(s2 >>> 8) & 0xff] ^ SUB_MIX_3[s3 & 0xff] ^ keySchedule[ksRow++];\n\t var t1 = SUB_MIX_0[s1 >>> 24] ^ SUB_MIX_1[(s2 >>> 16) & 0xff] ^ SUB_MIX_2[(s3 >>> 8) & 0xff] ^ SUB_MIX_3[s0 & 0xff] ^ keySchedule[ksRow++];\n\t var t2 = SUB_MIX_0[s2 >>> 24] ^ SUB_MIX_1[(s3 >>> 16) & 0xff] ^ SUB_MIX_2[(s0 >>> 8) & 0xff] ^ SUB_MIX_3[s1 & 0xff] ^ keySchedule[ksRow++];\n\t var t3 = SUB_MIX_0[s3 >>> 24] ^ SUB_MIX_1[(s0 >>> 16) & 0xff] ^ SUB_MIX_2[(s1 >>> 8) & 0xff] ^ SUB_MIX_3[s2 & 0xff] ^ keySchedule[ksRow++];\n\n\t // Update state\n\t s0 = t0;\n\t s1 = t1;\n\t s2 = t2;\n\t s3 = t3;\n\t }\n\n\t // Shift rows, sub bytes, add round key\n\t var t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++];\n\t var t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++];\n\t var t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++];\n\t var t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++];\n\n\t // Set output\n\t M[offset] = t0;\n\t M[offset + 1] = t1;\n\t M[offset + 2] = t2;\n\t M[offset + 3] = t3;\n\t },\n\n\t keySize: 256/32\n\t });\n\n\t /**\n\t * Shortcut functions to the cipher's object interface.\n\t *\n\t * @example\n\t *\n\t * var ciphertext = CryptoJS.AES.encrypt(message, key, cfg);\n\t * var plaintext = CryptoJS.AES.decrypt(ciphertext, key, cfg);\n\t */\n\t C.AES = BlockCipher._createHelper(AES);\n\t}());\n\n\n\treturn CryptoJS.AES;\n\n}));","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var eo = moment.defineLocale('eo', {\n months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),\n monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),\n weekdays : 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),\n weekdaysShort : 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),\n weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'YYYY-MM-DD',\n LL : 'D[-a de] MMMM, YYYY',\n LLL : 'D[-a de] MMMM, YYYY HH:mm',\n LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'\n },\n meridiemParse: /[ap]\\.t\\.m/i,\n isPM: function (input) {\n return input.charAt(0).toLowerCase() === 'p';\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'p.t.m.' : 'P.T.M.';\n } else {\n return isLower ? 'a.t.m.' : 'A.T.M.';\n }\n },\n calendar : {\n sameDay : '[Hodiaŭ je] LT',\n nextDay : '[Morgaŭ je] LT',\n nextWeek : 'dddd [je] LT',\n lastDay : '[Hieraŭ je] LT',\n lastWeek : '[pasinta] dddd [je] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'post %s',\n past : 'antaŭ %s',\n s : 'sekundoj',\n ss : '%d sekundoj',\n m : 'minuto',\n mm : '%d minutoj',\n h : 'horo',\n hh : '%d horoj',\n d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo\n dd : '%d tagoj',\n M : 'monato',\n MM : '%d monatoj',\n y : 'jaro',\n yy : '%d jaroj'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}a/,\n ordinal : '%da',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return eo;\n\n})));\n","import { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function catchError(selector) {\n return function catchErrorOperatorFunction(source) {\n const operator = new CatchOperator(selector);\n const caught = source.lift(operator);\n return (operator.caught = caught);\n };\n}\nclass CatchOperator {\n constructor(selector) {\n this.selector = selector;\n }\n call(subscriber, source) {\n return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n }\n}\nclass CatchSubscriber extends OuterSubscriber {\n constructor(destination, selector, caught) {\n super(destination);\n this.selector = selector;\n this.caught = caught;\n }\n error(err) {\n if (!this.isStopped) {\n let result;\n try {\n result = this.selector(err, this.caught);\n }\n catch (err2) {\n super.error(err2);\n return;\n }\n this._unsubscribeAndRecycle();\n const innerSubscriber = new InnerSubscriber(this, undefined, undefined);\n this.add(innerSubscriber);\n const innerSubscription = subscribeToResult(this, result, undefined, undefined, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n this.add(innerSubscription);\n }\n }\n }\n}\n//# sourceMappingURL=catchError.js.map","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const LocationImagesRequest = createAction(\r\n '[Location images] Request',\r\n (ids: number[] = [], imageType: OLO.Enums.IMAGE_TYPE, width: number = 1000, height: number = 1000) => ({ ids, imageType, width, height }),\r\n);\r\n\r\nexport const LocationImagesSuccessRequest = createAction(\r\n '[Location images] Success request',\r\n props<{ imageType: OLO.Enums.IMAGE_TYPE; ids: number[]; payload: APIv1.ImageUrlModel[] }>(),\r\n);\r\n\r\nexport const LocationImagesErrorRequest = createAction(\r\n '[Location images] Error request',\r\n props<{ imageType: OLO.Enums.IMAGE_TYPE; ids: number[]; ex?: any }>(),\r\n);\r\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'shared-dev-button',\r\n styleUrls: ['./dev-button.shared.component.scss'],\r\n template: ``,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class DevButtonComponent { }\r\n","export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const IngredientsRequest = createAction(\r\n '[Ingredients] Request ingredients by locationNo & productIds',\r\n props<{ locationNo: number; productIds: number[] }>(),\r\n);\r\n\r\nexport const IngredientsSuccessRequest = createAction(\r\n '[Ingredients] Success request ingredients by locationNo & productIds',\r\n props<{ payload: APICommon.IProductLocationIngredientExtended[]; locationNo: number; productIds: number[] }>(),\r\n);\r\n\r\nexport const IngredientsErrorRequest = createAction(\r\n '[Ingredients] Error request ingredients by locationNo & productIds',\r\n props<{ locationNo: number; productIds: number[]; ex?: any }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var arTn = moment.defineLocale('ar-tn', {\n months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact : true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss : '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return arTn;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * ISO 10126 padding strategy.\n\t */\n\tCryptoJS.pad.Iso10126 = {\n\t pad: function (data, blockSize) {\n\t // Shortcut\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count padding bytes\n\t var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;\n\n\t // Pad\n\t data.concat(CryptoJS.lib.WordArray.random(nPaddingBytes - 1)).\n\t concat(CryptoJS.lib.WordArray.create([nPaddingBytes << 24], 1));\n\t },\n\n\t unpad: function (data) {\n\t // Get number of padding bytes from last byte\n\t var nPaddingBytes = data.words[(data.sigBytes - 1) >>> 2] & 0xff;\n\n\t // Remove padding\n\t data.sigBytes -= nPaddingBytes;\n\t }\n\t};\n\n\n\treturn CryptoJS.pad.Iso10126;\n\n}));","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 's': ['thodde secondanim', 'thodde second'],\n 'ss': [number + ' secondanim', number + ' second'],\n 'm': ['eka mintan', 'ek minute'],\n 'mm': [number + ' mintanim', number + ' mintam'],\n 'h': ['eka voran', 'ek vor'],\n 'hh': [number + ' voranim', number + ' voram'],\n 'd': ['eka disan', 'ek dis'],\n 'dd': [number + ' disanim', number + ' dis'],\n 'M': ['eka mhoinean', 'ek mhoino'],\n 'MM': [number + ' mhoineanim', number + ' mhoine'],\n 'y': ['eka vorsan', 'ek voros'],\n 'yy': [number + ' vorsanim', number + ' vorsam']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var gomLatn = moment.defineLocale('gom-latn', {\n months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),\n monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),\n monthsParseExact : true,\n weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\\'var'.split('_'),\n weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'A h:mm [vazta]',\n LTS : 'A h:mm:ss [vazta]',\n L : 'DD-MM-YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY A h:mm [vazta]',\n LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',\n llll: 'ddd, D MMM YYYY, A h:mm [vazta]'\n },\n calendar : {\n sameDay: '[Aiz] LT',\n nextDay: '[Faleam] LT',\n nextWeek: '[Ieta to] dddd[,] LT',\n lastDay: '[Kal] LT',\n lastWeek: '[Fatlo] dddd[,] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : '%s',\n past : '%s adim',\n s : processRelativeTime,\n ss : processRelativeTime,\n m : processRelativeTime,\n mm : processRelativeTime,\n h : processRelativeTime,\n hh : processRelativeTime,\n d : processRelativeTime,\n dd : processRelativeTime,\n M : processRelativeTime,\n MM : processRelativeTime,\n y : processRelativeTime,\n yy : processRelativeTime\n },\n dayOfMonthOrdinalParse : /\\d{1,2}(er)/,\n ordinal : function (number, period) {\n switch (period) {\n // the ordinal 'er' only applies to day of the month\n case 'D':\n return number + 'er';\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n },\n meridiemParse: /rati|sokalli|donparam|sanje/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'rati') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'sokalli') {\n return hour;\n } else if (meridiem === 'donparam') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'sanje') {\n return hour + 12;\n }\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'rati';\n } else if (hour < 12) {\n return 'sokalli';\n } else if (hour < 16) {\n return 'donparam';\n } else if (hour < 20) {\n return 'sanje';\n } else {\n return 'rati';\n }\n }\n });\n\n return gomLatn;\n\n})));\n","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, style } from '@angular/animations';\nimport { Injectable } from '@angular/core';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/shared.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @return {?}\n */\nimport * as ɵngcc0 from '@angular/core';\nfunction isBrowser() {\n return (typeof window !== 'undefined' && typeof window.document !== 'undefined');\n}\n/**\n * @return {?}\n */\nfunction isNode() {\n // Checking only for `process` isn't enough to identify whether or not we're in a Node\n // environment, because Webpack by default will polyfill the `process`. While we can discern\n // that Webpack polyfilled it by looking at `process.browser`, it's very Webpack-specific and\n // might not be future-proof. Instead we look at the stringified version of `process` which\n // is `[object process]` in Node and `[object Object]` when polyfilled.\n return typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n}\n/**\n * @param {?} players\n * @return {?}\n */\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\n/**\n * @param {?} driver\n * @param {?} normalizer\n * @param {?} element\n * @param {?} keyframes\n * @param {?=} preStyles\n * @param {?=} postStyles\n * @return {?}\n */\nfunction normalizeKeyframes(driver, normalizer, element, keyframes, preStyles = {}, postStyles = {}) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const normalizedKeyframes = [];\n /** @type {?} */\n let previousOffset = -1;\n /** @type {?} */\n let previousKeyframe = null;\n keyframes.forEach((/**\n * @param {?} kf\n * @return {?}\n */\n kf => {\n /** @type {?} */\n const offset = (/** @type {?} */ (kf['offset']));\n /** @type {?} */\n const isSameOffset = offset == previousOffset;\n /** @type {?} */\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || {};\n Object.keys(kf).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n let normalizedProp = prop;\n /** @type {?} */\n let normalizedValue = kf[prop];\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles[prop];\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles[prop];\n break;\n default:\n normalizedValue =\n normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe[normalizedProp] = normalizedValue;\n }));\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n }));\n if (errors.length) {\n /** @type {?} */\n const LINE_START = '\\n - ';\n throw new Error(`Unable to animate due to the following errors:${LINE_START}${errors.join(LINE_START)}`);\n }\n return normalizedKeyframes;\n}\n/**\n * @param {?} player\n * @param {?} eventName\n * @param {?} event\n * @param {?} callback\n * @return {?}\n */\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart((/**\n * @return {?}\n */\n () => callback(event && copyAnimationEvent(event, 'start', player))));\n break;\n case 'done':\n player.onDone((/**\n * @return {?}\n */\n () => callback(event && copyAnimationEvent(event, 'done', player))));\n break;\n case 'destroy':\n player.onDestroy((/**\n * @return {?}\n */\n () => callback(event && copyAnimationEvent(event, 'destroy', player))));\n break;\n }\n}\n/**\n * @param {?} e\n * @param {?} phaseName\n * @param {?} player\n * @return {?}\n */\nfunction copyAnimationEvent(e, phaseName, player) {\n /** @type {?} */\n const totalTime = player.totalTime;\n /** @type {?} */\n const disabled = ((/** @type {?} */ (player))).disabled ? true : false;\n /** @type {?} */\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n /** @type {?} */\n const data = ((/** @type {?} */ (e)))['_data'];\n if (data != null) {\n ((/** @type {?} */ (event)))['_data'] = data;\n }\n return event;\n}\n/**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} fromState\n * @param {?} toState\n * @param {?=} phaseName\n * @param {?=} totalTime\n * @param {?=} disabled\n * @return {?}\n */\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} defaultValue\n * @return {?}\n */\nfunction getOrSetAsInMap(map, key, defaultValue) {\n /** @type {?} */\n let value;\n if (map instanceof Map) {\n value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n }\n else {\n value = map[key];\n if (!value) {\n value = map[key] = defaultValue;\n }\n }\n return value;\n}\n/**\n * @param {?} command\n * @return {?}\n */\nfunction parseTimelineCommand(command) {\n /** @type {?} */\n const separatorPos = command.indexOf(':');\n /** @type {?} */\n const id = command.substring(1, separatorPos);\n /** @type {?} */\n const action = command.substr(separatorPos + 1);\n return [id, action];\n}\n/** @type {?} */\nlet _contains = (/**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n(elm1, elm2) => false);\nconst ɵ0 = _contains;\n/** @type {?} */\nlet _matches = (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n(element, selector) => false);\nconst ɵ1 = _matches;\n/** @type {?} */\nlet _query = (/**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n(element, selector, multi) => {\n return [];\n});\nconst ɵ2 = _query;\n// Define utility methods for browsers and platform-server(domino) where Element\n// and utility methods exist.\n/** @type {?} */\nconst _isNode = isNode();\nif (_isNode || typeof Element !== 'undefined') {\n // this is well supported in all browsers\n _contains = (/**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n (elm1, elm2) => {\n return (/** @type {?} */ (elm1.contains(elm2)));\n });\n _matches = ((/**\n * @return {?}\n */\n () => {\n if (_isNode || Element.prototype.matches) {\n return (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n (element, selector) => element.matches(selector));\n }\n else {\n /** @type {?} */\n const proto = (/** @type {?} */ (Element.prototype));\n /** @type {?} */\n const fn = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||\n proto.oMatchesSelector || proto.webkitMatchesSelector;\n if (fn) {\n return (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n (element, selector) => fn.apply(element, [selector]));\n }\n else {\n return _matches;\n }\n }\n }))();\n _query = (/**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n (element, selector, multi) => {\n /** @type {?} */\n let results = [];\n if (multi) {\n results.push(...element.querySelectorAll(selector));\n }\n else {\n /** @type {?} */\n const elm = element.querySelector(selector);\n if (elm) {\n results.push(elm);\n }\n }\n return results;\n });\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\n/** @type {?} */\nlet _CACHED_BODY = null;\n/** @type {?} */\nlet _IS_WEBKIT = false;\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = (/** @type {?} */ (_CACHED_BODY)).style ? ('WebkitAppearance' in (/** @type {?} */ (_CACHED_BODY)).style) : false;\n }\n /** @type {?} */\n let result = true;\n if ((/** @type {?} */ (_CACHED_BODY)).style && !containsVendorPrefix(prop)) {\n result = prop in (/** @type {?} */ (_CACHED_BODY)).style;\n if (!result && _IS_WEBKIT) {\n /** @type {?} */\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.substr(1);\n result = camelProp in (/** @type {?} */ (_CACHED_BODY)).style;\n }\n }\n return result;\n}\n/**\n * @return {?}\n */\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\n/** @type {?} */\nconst matchesElement = _matches;\n/** @type {?} */\nconst containsElement = _contains;\n/** @type {?} */\nconst invokeQuery = _query;\n/**\n * @param {?} object\n * @return {?}\n */\nfunction hypenatePropsObject(object) {\n /** @type {?} */\n const newObj = {};\n Object.keys(object).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newObj[newProp] = object[prop];\n }));\n return newObj;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/animation_driver.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n */\nclass NoopAnimationDriver {\n /**\n * @param {?} prop\n * @return {?}\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n matchesElement(element, selector) {\n return matchesElement(element, selector);\n }\n /**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n}\nNoopAnimationDriver.ɵfac = function NoopAnimationDriver_Factory(t) { return new (t || NoopAnimationDriver)(); };\nNoopAnimationDriver.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: NoopAnimationDriver, factory: NoopAnimationDriver.ɵfac });\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NoopAnimationDriver, [{\n type: Injectable\n }], null, null); })();\n/**\n * \\@publicApi\n * @abstract\n */\nclass AnimationDriver {\n}\nAnimationDriver.NOOP = new NoopAnimationDriver();\nif (false) {\n /** @type {?} */\n AnimationDriver.NOOP;\n /**\n * @abstract\n * @param {?} prop\n * @return {?}\n */\n AnimationDriver.prototype.validateStyleProperty = function (prop) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n AnimationDriver.prototype.matchesElement = function (element, selector) { };\n /**\n * @abstract\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n AnimationDriver.prototype.containsElement = function (elm1, elm2) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n AnimationDriver.prototype.query = function (element, selector, multi) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n AnimationDriver.prototype.computeStyle = function (element, prop, defaultValue) { };\n /**\n * @abstract\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?=} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n AnimationDriver.prototype.animate = function (element, keyframes, duration, delay, easing, previousPlayers, scrubberAccessRequested) { };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/util.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ONE_SECOND = 1000;\n/** @type {?} */\nconst SUBSTITUTION_EXPR_START = '{{';\n/** @type {?} */\nconst SUBSTITUTION_EXPR_END = '}}';\n/** @type {?} */\nconst ENTER_CLASSNAME = 'ng-enter';\n/** @type {?} */\nconst LEAVE_CLASSNAME = 'ng-leave';\n/** @type {?} */\nconst ENTER_SELECTOR = '.ng-enter';\n/** @type {?} */\nconst LEAVE_SELECTOR = '.ng-leave';\n/** @type {?} */\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\n/** @type {?} */\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\n/** @type {?} */\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\n/** @type {?} */\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\n/**\n * @param {?} value\n * @return {?}\n */\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n /** @type {?} */\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\n/**\n * @param {?} value\n * @param {?} unit\n * @return {?}\n */\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\n/**\n * @param {?} timings\n * @param {?} errors\n * @param {?=} allowNegativeValues\n * @return {?}\n */\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ?\n (/** @type {?} */ (timings)) :\n parseTimeExpression((/** @type {?} */ (timings)), errors, allowNegativeValues);\n}\n/**\n * @param {?} exp\n * @param {?} errors\n * @param {?=} allowNegativeValues\n * @return {?}\n */\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n /** @type {?} */\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n /** @type {?} */\n let duration;\n /** @type {?} */\n let delay = 0;\n /** @type {?} */\n let easing = '';\n if (typeof exp === 'string') {\n /** @type {?} */\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(`The provided timing value \"${exp}\" is invalid.`);\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n /** @type {?} */\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n /** @type {?} */\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n /** @type {?} */\n let containsErrors = false;\n /** @type {?} */\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(`Duration values below 0 are not allowed for this animation step.`);\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(`Delay values below 0 are not allowed for this animation step.`);\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, `The provided timing value \"${exp}\" is invalid.`);\n }\n }\n return { duration, delay, easing };\n}\n/**\n * @param {?} obj\n * @param {?=} destination\n * @return {?}\n */\nfunction copyObj(obj, destination = {}) {\n Object.keys(obj).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n destination[prop] = obj[prop];\n }));\n return destination;\n}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction normalizeStyles(styles) {\n /** @type {?} */\n const normalizedStyles = {};\n if (Array.isArray(styles)) {\n styles.forEach((/**\n * @param {?} data\n * @return {?}\n */\n data => copyStyles(data, false, normalizedStyles)));\n }\n else {\n copyStyles(styles, false, normalizedStyles);\n }\n return normalizedStyles;\n}\n/**\n * @param {?} styles\n * @param {?} readPrototype\n * @param {?=} destination\n * @return {?}\n */\nfunction copyStyles(styles, readPrototype, destination = {}) {\n if (readPrototype) {\n // we make use of a for-in loop so that the\n // prototypically inherited properties are\n // revealed from the backFill map\n for (let prop in styles) {\n destination[prop] = styles[prop];\n }\n }\n else {\n copyObj(styles, destination);\n }\n return destination;\n}\n/**\n * @param {?} element\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction getStyleAttributeString(element, key, value) {\n // Return the key-value pair string to be added to the style attribute for the\n // given CSS style key.\n if (value) {\n return key + ':' + value + ';';\n }\n else {\n return '';\n }\n}\n/**\n * @param {?} element\n * @return {?}\n */\nfunction writeStyleAttribute(element) {\n // Read the style property of the element and manually reflect it to the\n // style attribute. This is needed because Domino on platform-server doesn't\n // understand the full set of allowed CSS properties and doesn't reflect some\n // of them automatically.\n /** @type {?} */\n let styleAttrValue = '';\n for (let i = 0; i < element.style.length; i++) {\n /** @type {?} */\n const key = element.style.item(i);\n styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key));\n }\n for (const key in element.style) {\n // Skip internal Domino properties that don't need to be reflected.\n if (!element.style.hasOwnProperty(key) || key.startsWith('_')) {\n continue;\n }\n /** @type {?} */\n const dashKey = camelCaseToDashCase(key);\n styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]);\n }\n element.setAttribute('style', styleAttrValue);\n}\n/**\n * @param {?} element\n * @param {?} styles\n * @param {?=} formerStyles\n * @return {?}\n */\nfunction setStyles(element, styles, formerStyles) {\n if (element['style']) {\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.hasOwnProperty(prop)) {\n formerStyles[prop] = element.style[camelProp];\n }\n element.style[camelProp] = styles[prop];\n }));\n // On the server set the 'style' attribute since it's not automatically reflected.\n if (isNode()) {\n writeStyleAttribute(element);\n }\n }\n}\n/**\n * @param {?} element\n * @param {?} styles\n * @return {?}\n */\nfunction eraseStyles(element, styles) {\n if (element['style']) {\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n }));\n // On the server set the 'style' attribute since it's not automatically reflected.\n if (isNode()) {\n writeStyleAttribute(element);\n }\n }\n}\n/**\n * @param {?} steps\n * @return {?}\n */\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return (/** @type {?} */ (steps));\n}\n/**\n * @param {?} value\n * @param {?} options\n * @param {?} errors\n * @return {?}\n */\nfunction validateStyleParams(value, options, errors) {\n /** @type {?} */\n const params = options.params || {};\n /** @type {?} */\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach((/**\n * @param {?} varName\n * @return {?}\n */\n varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(`Unable to resolve the local animation param ${varName} in the given list of values`);\n }\n }));\n }\n}\n/** @type {?} */\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\n/**\n * @param {?} value\n * @return {?}\n */\nfunction extractStyleParams(value) {\n /** @type {?} */\n let params = [];\n if (typeof value === 'string') {\n /** @type {?} */\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push((/** @type {?} */ (match[1])));\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\n/**\n * @param {?} value\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\nfunction interpolateParams(value, params, errors) {\n /** @type {?} */\n const original = value.toString();\n /** @type {?} */\n const str = original.replace(PARAM_REGEX, (/**\n * @param {?} _\n * @param {?} varName\n * @return {?}\n */\n (_, varName) => {\n /** @type {?} */\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (!params.hasOwnProperty(varName)) {\n errors.push(`Please provide a value for the animation param ${varName}`);\n localVal = '';\n }\n return localVal.toString();\n }));\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\n/**\n * @param {?} iterator\n * @return {?}\n */\nfunction iteratorToArray(iterator) {\n /** @type {?} */\n const arr = [];\n /** @type {?} */\n let item = iterator.next();\n while (!item.done) {\n arr.push(item.value);\n item = iterator.next();\n }\n return arr;\n}\n/**\n * @param {?} source\n * @param {?} destination\n * @return {?}\n */\nfunction mergeAnimationOptions(source, destination) {\n if (source.params) {\n /** @type {?} */\n const p0 = source.params;\n if (!destination.params) {\n destination.params = {};\n }\n /** @type {?} */\n const p1 = destination.params;\n Object.keys(p0).forEach((/**\n * @param {?} param\n * @return {?}\n */\n param => {\n if (!p1.hasOwnProperty(param)) {\n p1[param] = p0[param];\n }\n }));\n }\n return destination;\n}\n/** @type {?} */\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n/**\n * @param {?} input\n * @return {?}\n */\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (/**\n * @param {...?} m\n * @return {?}\n */\n (...m) => m[1].toUpperCase()));\n}\n/**\n * @param {?} input\n * @return {?}\n */\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\n/**\n * @param {?} duration\n * @param {?} delay\n * @return {?}\n */\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\n/**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} previousStyles\n * @return {?}\n */\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n /** @type {?} */\n const previousStyleProps = Object.keys(previousStyles);\n if (previousStyleProps.length && keyframes.length) {\n /** @type {?} */\n let startingKeyframe = keyframes[0];\n /** @type {?} */\n let missingStyleProps = [];\n previousStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (!startingKeyframe.hasOwnProperty(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe[prop] = previousStyles[prop];\n }));\n if (missingStyleProps.length) {\n // tslint:disable-next-line\n for (var i = 1; i < keyframes.length; i++) {\n /** @type {?} */\n let kf = keyframes[i];\n missingStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n function (prop) {\n kf[prop] = computeStyle(element, prop);\n }));\n }\n }\n }\n return keyframes;\n}\n/**\n * @param {?} visitor\n * @param {?} node\n * @param {?} context\n * @return {?}\n */\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case 7 /* Trigger */:\n return visitor.visitTrigger(node, context);\n case 0 /* State */:\n return visitor.visitState(node, context);\n case 1 /* Transition */:\n return visitor.visitTransition(node, context);\n case 2 /* Sequence */:\n return visitor.visitSequence(node, context);\n case 3 /* Group */:\n return visitor.visitGroup(node, context);\n case 4 /* Animate */:\n return visitor.visitAnimate(node, context);\n case 5 /* Keyframes */:\n return visitor.visitKeyframes(node, context);\n case 6 /* Style */:\n return visitor.visitStyle(node, context);\n case 8 /* Reference */:\n return visitor.visitReference(node, context);\n case 9 /* AnimateChild */:\n return visitor.visitAnimateChild(node, context);\n case 10 /* AnimateRef */:\n return visitor.visitAnimateRef(node, context);\n case 11 /* Query */:\n return visitor.visitQuery(node, context);\n case 12 /* Stagger */:\n return visitor.visitStagger(node, context);\n default:\n throw new Error(`Unable to resolve animation metadata node #${node.type}`);\n }\n}\n/**\n * @param {?} element\n * @param {?} prop\n * @return {?}\n */\nfunction computeStyle(element, prop) {\n return ((/** @type {?} */ (window.getComputedStyle(element))))[prop];\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_transition_expr.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst ANY_STATE = '*';\n/**\n * @param {?} transitionValue\n * @param {?} errors\n * @return {?}\n */\nfunction parseTransitionExpr(transitionValue, errors) {\n /** @type {?} */\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach((/**\n * @param {?} str\n * @return {?}\n */\n str => parseInnerTransitionStr(str, expressions, errors)));\n }\n else {\n expressions.push((/** @type {?} */ (transitionValue)));\n }\n return expressions;\n}\n/**\n * @param {?} eventStr\n * @param {?} expressions\n * @param {?} errors\n * @return {?}\n */\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n /** @type {?} */\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n /** @type {?} */\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(`The provided transition expression \"${eventStr}\" is not supported`);\n return expressions;\n }\n /** @type {?} */\n const fromState = match[1];\n /** @type {?} */\n const separator = match[2];\n /** @type {?} */\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n /** @type {?} */\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n}\n/**\n * @param {?} alias\n * @param {?} errors\n * @return {?}\n */\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => parseFloat(toState) > parseFloat(fromState));\n case ':decrement':\n return (/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => parseFloat(toState) < parseFloat(fromState));\n default:\n errors.push(`The transition alias value \"${alias}\" is not supported`);\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\n/** @type {?} */\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\n/** @type {?} */\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\n/**\n * @param {?} lhs\n * @param {?} rhs\n * @return {?}\n */\nfunction makeLambdaFromStates(lhs, rhs) {\n /** @type {?} */\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n /** @type {?} */\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => {\n /** @type {?} */\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n /** @type {?} */\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n });\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_ast_builder.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst SELF_TOKEN = ':self';\n/** @type {?} */\nconst SELF_TOKEN_REGEX = new RegExp(`\\s*${SELF_TOKEN}\\s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\n/**\n * @param {?} driver\n * @param {?} metadata\n * @param {?} errors\n * @return {?}\n */\nfunction buildAnimationAst(driver, metadata, errors) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors);\n}\n/** @type {?} */\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n /**\n * @param {?} _driver\n */\n constructor(_driver) {\n this._driver = _driver;\n }\n /**\n * @param {?} metadata\n * @param {?} errors\n * @return {?}\n */\n build(metadata, errors) {\n /** @type {?} */\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n return (/** @type {?} */ (visitDslNode(this, normalizeAnimationEntry(metadata), context)));\n }\n /**\n * @private\n * @param {?} context\n * @return {?}\n */\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = {};\n context.collectedStyles[ROOT_SELECTOR] = {};\n context.currentTime = 0;\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitTrigger(metadata, context) {\n /** @type {?} */\n let queryCount = context.queryCount = 0;\n /** @type {?} */\n let depCount = context.depCount = 0;\n /** @type {?} */\n const states = [];\n /** @type {?} */\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push('animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n }\n metadata.definitions.forEach((/**\n * @param {?} def\n * @return {?}\n */\n def => {\n this._resetContextStyleTimingState(context);\n if (def.type == 0 /* State */) {\n /** @type {?} */\n const stateDef = (/** @type {?} */ (def));\n /** @type {?} */\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach((/**\n * @param {?} n\n * @return {?}\n */\n n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n }));\n stateDef.name = name;\n }\n else if (def.type == 1 /* Transition */) {\n /** @type {?} */\n const transition = this.visitTransition((/** @type {?} */ (def)), context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push('only state() and transition() definitions can sit inside of a trigger()');\n }\n }));\n return {\n type: 7 /* Trigger */,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitState(metadata, context) {\n /** @type {?} */\n const styleAst = this.visitStyle(metadata.styles, context);\n /** @type {?} */\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n /** @type {?} */\n const missingSubs = new Set();\n /** @type {?} */\n const params = astParams || {};\n styleAst.styles.forEach((/**\n * @param {?} value\n * @return {?}\n */\n value => {\n if (isObject(value)) {\n /** @type {?} */\n const stylesObj = (/** @type {?} */ (value));\n Object.keys(stylesObj).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n extractStyleParams(stylesObj[prop]).forEach((/**\n * @param {?} sub\n * @return {?}\n */\n sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n }));\n }));\n }\n }));\n if (missingSubs.size) {\n /** @type {?} */\n const missingSubsArr = iteratorToArray(missingSubs.values());\n context.errors.push(`state(\"${metadata\n .name}\", ...) must define default values for all the following style substitutions: ${missingSubsArr.join(', ')}`);\n }\n }\n return {\n type: 0 /* State */,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n /** @type {?} */\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n /** @type {?} */\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: 1 /* Transition */,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitSequence(metadata, context) {\n return {\n type: 2 /* Sequence */,\n steps: metadata.steps.map((/**\n * @param {?} s\n * @return {?}\n */\n s => visitDslNode(this, s, context))),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitGroup(metadata, context) {\n /** @type {?} */\n const currentTime = context.currentTime;\n /** @type {?} */\n let furthestTime = 0;\n /** @type {?} */\n const steps = metadata.steps.map((/**\n * @param {?} step\n * @return {?}\n */\n step => {\n context.currentTime = currentTime;\n /** @type {?} */\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n }));\n context.currentTime = furthestTime;\n return {\n type: 3 /* Group */,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitAnimate(metadata, context) {\n /** @type {?} */\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n /** @type {?} */\n let styleAst;\n /** @type {?} */\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == 5 /* Keyframes */) {\n styleAst = this.visitKeyframes((/** @type {?} */ (styleMetadata)), context);\n }\n else {\n /** @type {?} */\n let styleMetadata = (/** @type {?} */ (metadata.styles));\n /** @type {?} */\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n /** @type {?} */\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n /** @type {?} */\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: 4 /* Animate */,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitStyle(metadata, context) {\n /** @type {?} */\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n /**\n * @private\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n _makeStyleAst(metadata, context) {\n /** @type {?} */\n const styles = [];\n if (Array.isArray(metadata.styles)) {\n ((/** @type {?} */ (metadata.styles))).forEach((/**\n * @param {?} styleTuple\n * @return {?}\n */\n styleTuple => {\n if (typeof styleTuple == 'string') {\n if (styleTuple == AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(`The provided style string value ${styleTuple} is not allowed.`);\n }\n }\n else {\n styles.push(styleTuple);\n }\n }));\n }\n else {\n styles.push(metadata.styles);\n }\n /** @type {?} */\n let containsDynamicStyles = false;\n /** @type {?} */\n let collectedEasing = null;\n styles.forEach((/**\n * @param {?} styleData\n * @return {?}\n */\n styleData => {\n if (isObject(styleData)) {\n /** @type {?} */\n const styleMap = (/** @type {?} */ (styleData));\n /** @type {?} */\n const easing = styleMap['easing'];\n if (easing) {\n collectedEasing = (/** @type {?} */ (easing));\n delete styleMap['easing'];\n }\n if (!containsDynamicStyles) {\n for (let prop in styleMap) {\n /** @type {?} */\n const value = styleMap[prop];\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n }));\n return {\n type: 6 /* Style */,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n /**\n * @private\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n _validateStyleAst(ast, context) {\n /** @type {?} */\n const timings = context.currentAnimateTimings;\n /** @type {?} */\n let endTime = context.currentTime;\n /** @type {?} */\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach((/**\n * @param {?} tuple\n * @return {?}\n */\n tuple => {\n if (typeof tuple == 'string')\n return;\n Object.keys(tuple).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (!this._driver.validateStyleProperty(prop)) {\n context.errors.push(`The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n return;\n }\n /** @type {?} */\n const collectedStyles = context.collectedStyles[(/** @type {?} */ (context.currentQuerySelector))];\n /** @type {?} */\n const collectedEntry = collectedStyles[prop];\n /** @type {?} */\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(`The CSS property \"${prop}\" that exists between the times of \"${collectedEntry.startTime}ms\" and \"${collectedEntry\n .endTime}ms\" is also being animated in a parallel animation between the times of \"${startTime}ms\" and \"${endTime}ms\"`);\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles[prop] = { startTime, endTime };\n }\n if (context.options) {\n validateStyleParams(tuple[prop], context.options, context.errors);\n }\n }));\n }));\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitKeyframes(metadata, context) {\n /** @type {?} */\n const ast = { type: 5 /* Keyframes */, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(`keyframes() must be placed inside of a call to animate()`);\n return ast;\n }\n /** @type {?} */\n const MAX_KEYFRAME_OFFSET = 1;\n /** @type {?} */\n let totalKeyframesWithOffsets = 0;\n /** @type {?} */\n const offsets = [];\n /** @type {?} */\n let offsetsOutOfOrder = false;\n /** @type {?} */\n let keyframesOutOfRange = false;\n /** @type {?} */\n let previousOffset = 0;\n /** @type {?} */\n const keyframes = metadata.steps.map((/**\n * @param {?} styles\n * @return {?}\n */\n styles => {\n /** @type {?} */\n const style = this._makeStyleAst(styles, context);\n /** @type {?} */\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n /** @type {?} */\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n }));\n if (keyframesOutOfRange) {\n context.errors.push(`Please ensure that all keyframe offsets are between 0 and 1`);\n }\n if (offsetsOutOfOrder) {\n context.errors.push(`Please ensure that all keyframe offsets are in order`);\n }\n /** @type {?} */\n const length = metadata.steps.length;\n /** @type {?} */\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(`Not all style() steps within the declared keyframes() contain offsets`);\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n /** @type {?} */\n const limit = length - 1;\n /** @type {?} */\n const currentTime = context.currentTime;\n /** @type {?} */\n const currentAnimateTimings = (/** @type {?} */ (context.currentAnimateTimings));\n /** @type {?} */\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((/**\n * @param {?} kf\n * @param {?} i\n * @return {?}\n */\n (kf, i) => {\n /** @type {?} */\n const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i];\n /** @type {?} */\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n }));\n return ast;\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitReference(metadata, context) {\n return {\n type: 8 /* Reference */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: 9 /* AnimateChild */,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitAnimateRef(metadata, context) {\n return {\n type: 10 /* AnimateRef */,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitQuery(metadata, context) {\n /** @type {?} */\n const parentSelector = (/** @type {?} */ (context.currentQuerySelector));\n /** @type {?} */\n const options = (/** @type {?} */ ((metadata.options || {})));\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector =\n parentSelector.length ? (parentSelector + ' ' + selector) : selector;\n getOrSetAsInMap(context.collectedStyles, context.currentQuerySelector, {});\n /** @type {?} */\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: 11 /* Query */,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n /**\n * @param {?} metadata\n * @param {?} context\n * @return {?}\n */\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(`stagger() can only be used inside of query()`);\n }\n /** @type {?} */\n const timings = metadata.timings === 'full' ?\n { duration: 0, delay: 0, easing: 'full' } :\n resolveTiming(metadata.timings, context.errors, true);\n return {\n type: 12 /* Stagger */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationAstBuilderVisitor.prototype._driver;\n}\n/**\n * @param {?} selector\n * @return {?}\n */\nfunction normalizeSelector(selector) {\n /** @type {?} */\n const hasAmpersand = selector.split(/\\s*,\\s*/).find((/**\n * @param {?} token\n * @return {?}\n */\n token => token == SELF_TOKEN)) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // the :enter and :leave selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, (/**\n * @param {?} match\n * @return {?}\n */\n match => NG_TRIGGER_SELECTOR + '-' + match.substr(1)))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction normalizeParams(obj) {\n return obj ? copyObj(obj) : null;\n}\nclass AnimationAstBuilderContext {\n /**\n * @param {?} errors\n */\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = {};\n this.options = null;\n }\n}\nif (false) {\n /** @type {?} */\n AnimationAstBuilderContext.prototype.queryCount;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.depCount;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentTransition;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentQuery;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentQuerySelector;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentAnimateTimings;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.currentTime;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.collectedStyles;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.options;\n /** @type {?} */\n AnimationAstBuilderContext.prototype.errors;\n}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n /** @type {?} */\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach((/**\n * @param {?} styleTuple\n * @return {?}\n */\n styleTuple => {\n if (isObject(styleTuple) && styleTuple.hasOwnProperty('offset')) {\n /** @type {?} */\n const obj = (/** @type {?} */ (styleTuple));\n offset = parseFloat((/** @type {?} */ (obj['offset'])));\n delete obj['offset'];\n }\n }));\n }\n else if (isObject(styles) && styles.hasOwnProperty('offset')) {\n /** @type {?} */\n const obj = styles;\n offset = parseFloat((/** @type {?} */ (obj['offset'])));\n delete obj['offset'];\n }\n return offset;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isObject(value) {\n return !Array.isArray(value) && typeof value == 'object';\n}\n/**\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\nfunction constructTimingAst(value, errors) {\n /** @type {?} */\n let timings = null;\n if (value.hasOwnProperty('duration')) {\n timings = (/** @type {?} */ (value));\n }\n else if (typeof value == 'number') {\n /** @type {?} */\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n /** @type {?} */\n const strValue = (/** @type {?} */ (value));\n /** @type {?} */\n const isDynamic = strValue.split(/\\s+/).some((/**\n * @param {?} v\n * @return {?}\n */\n v => v.charAt(0) == '{' && v.charAt(1) == '{'));\n if (isDynamic) {\n /** @type {?} */\n const ast = (/** @type {?} */ (makeTimingAst(0, 0, '')));\n ast.dynamic = true;\n ast.strValue = strValue;\n return (/** @type {?} */ (ast));\n }\n timings = timings || resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\n/**\n * @param {?} options\n * @return {?}\n */\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = copyObj(options);\n if (options['params']) {\n options['params'] = (/** @type {?} */ (normalizeParams(options['params'])));\n }\n }\n else {\n options = {};\n }\n return options;\n}\n/**\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @return {?}\n */\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_timeline_instruction.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction AnimationTimelineInstruction() { }\nif (false) {\n /** @type {?} */\n AnimationTimelineInstruction.prototype.element;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.keyframes;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.preStyleProps;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.postStyleProps;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.duration;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.delay;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.totalTime;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.easing;\n /** @type {?|undefined} */\n AnimationTimelineInstruction.prototype.stretchStartingKeyframe;\n /** @type {?} */\n AnimationTimelineInstruction.prototype.subTimeline;\n}\n/**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} duration\n * @param {?} delay\n * @param {?=} easing\n * @param {?=} subTimeline\n * @return {?}\n */\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/element_instruction_map.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n /**\n * @param {?} element\n * @return {?}\n */\n consume(element) {\n /** @type {?} */\n let instructions = this._map.get(element);\n if (instructions) {\n this._map.delete(element);\n }\n else {\n instructions = [];\n }\n return instructions;\n }\n /**\n * @param {?} element\n * @param {?} instructions\n * @return {?}\n */\n append(element, instructions) {\n /** @type {?} */\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n /**\n * @param {?} element\n * @return {?}\n */\n has(element) {\n return this._map.has(element);\n }\n /**\n * @return {?}\n */\n clear() {\n this._map.clear();\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n ElementInstructionMap.prototype._map;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_timeline_builder.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ONE_FRAME_IN_MILLISECONDS = 1;\n/** @type {?} */\nconst ENTER_TOKEN = ':enter';\n/** @type {?} */\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\n/** @type {?} */\nconst LEAVE_TOKEN = ':leave';\n/** @type {?} */\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of prototypical inheritance, AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two wihtin a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergesort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill object. Given that each of the keyframe\n * styles are objects that prototypically inhert from the backFill object, this means that if a\n * value is added into the backFill then it will automatically propagate any missing values to all\n * keyframes. Therefore the missing `height` value will be properly filled into the already\n * processed keyframes.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * (For prototypically-inherited contents to be detected a `for(i in obj)` loop must be used.)\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\n/**\n * @param {?} driver\n * @param {?} rootElement\n * @param {?} ast\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} startingStyles\n * @param {?=} finalStyles\n * @param {?=} options\n * @param {?=} subInstructions\n * @param {?=} errors\n * @return {?}\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = {}, finalStyles = {}, options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n /**\n * @param {?} driver\n * @param {?} rootElement\n * @param {?} ast\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?} startingStyles\n * @param {?} finalStyles\n * @param {?} options\n * @param {?=} subInstructions\n * @param {?=} errors\n * @return {?}\n */\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n /** @type {?} */\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n /** @type {?} */\n const timelines = context.timelines.filter((/**\n * @param {?} timeline\n * @return {?}\n */\n timeline => timeline.containsAnimation()));\n if (timelines.length && Object.keys(finalStyles).length) {\n /** @type {?} */\n const tl = timelines[timelines.length - 1];\n if (!tl.allowOnlyTimelineStyles()) {\n tl.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ? timelines.map((/**\n * @param {?} timeline\n * @return {?}\n */\n timeline => timeline.buildKeyframes())) :\n [createTimelineInstruction(rootElement, [], [], [], 0, 0, '', false)];\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitAnimateChild(ast, context) {\n /** @type {?} */\n const elementInstructions = context.subInstructions.consume(context.element);\n if (elementInstructions) {\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options);\n /** @type {?} */\n const startTime = context.currentTimeline.currentTime;\n /** @type {?} */\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, (/** @type {?} */ (innerContext.options)));\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitAnimateRef(ast, context) {\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n /**\n * @private\n * @param {?} instructions\n * @param {?} context\n * @param {?} options\n * @return {?}\n */\n _visitSubInstructions(instructions, context, options) {\n /** @type {?} */\n const startTime = context.currentTimeline.currentTime;\n /** @type {?} */\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n /** @type {?} */\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n /** @type {?} */\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach((/**\n * @param {?} instruction\n * @return {?}\n */\n instruction => {\n /** @type {?} */\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime =\n Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n }));\n }\n return furthestTime;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitSequence(ast, context) {\n /** @type {?} */\n const subContextCount = context.subContextCount;\n /** @type {?} */\n let ctx = context;\n /** @type {?} */\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == 6 /* Style */) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n /** @type {?} */\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach((/**\n * @param {?} s\n * @return {?}\n */\n s => visitDslNode(this, s, ctx)));\n // this is here just incase the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitGroup(ast, context) {\n /** @type {?} */\n const innerTimelines = [];\n /** @type {?} */\n let furthestTime = context.currentTimeline.currentTime;\n /** @type {?} */\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach((/**\n * @param {?} s\n * @return {?}\n */\n s => {\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n }));\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach((/**\n * @param {?} timeline\n * @return {?}\n */\n timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline)));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n /**\n * @private\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n _visitTiming(ast, context) {\n if (((/** @type {?} */ (ast))).dynamic) {\n /** @type {?} */\n const strValue = ((/** @type {?} */ (ast))).strValue;\n /** @type {?} */\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitAnimate(ast, context) {\n /** @type {?} */\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n /** @type {?} */\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n /** @type {?} */\n const style = ast.style;\n if (style.type == 5 /* Keyframes */) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle((/** @type {?} */ (style)), context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitStyle(ast, context) {\n /** @type {?} */\n const timeline = context.currentTimeline;\n /** @type {?} */\n const timings = (/** @type {?} */ (context.currentAnimateTimings));\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.getCurrentStyleProperties().length) {\n timeline.forwardFrame();\n }\n /** @type {?} */\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitKeyframes(ast, context) {\n /** @type {?} */\n const currentAnimateTimings = (/** @type {?} */ (context.currentAnimateTimings));\n /** @type {?} */\n const startTime = ((/** @type {?} */ (context.currentTimeline))).duration;\n /** @type {?} */\n const duration = currentAnimateTimings.duration;\n /** @type {?} */\n const innerContext = context.createSubContext();\n /** @type {?} */\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach((/**\n * @param {?} step\n * @return {?}\n */\n step => {\n /** @type {?} */\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n }));\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n /** @type {?} */\n const startTime = context.currentTimeline.currentTime;\n /** @type {?} */\n const options = (/** @type {?} */ ((ast.options || {})));\n /** @type {?} */\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === 6 /* Style */ ||\n (startTime == 0 && context.currentTimeline.getCurrentStyleProperties().length))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n /** @type {?} */\n let furthestTime = startTime;\n /** @type {?} */\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n /** @type {?} */\n let sameElementTimeline = null;\n elms.forEach((/**\n * @param {?} element\n * @param {?} i\n * @return {?}\n */\n (element, i) => {\n context.currentQueryIndex = i;\n /** @type {?} */\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n /** @type {?} */\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n }));\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n /**\n * @param {?} ast\n * @param {?} context\n * @return {?}\n */\n visitStagger(ast, context) {\n /** @type {?} */\n const parentContext = (/** @type {?} */ (context.parentContext));\n /** @type {?} */\n const tl = context.currentTimeline;\n /** @type {?} */\n const timings = ast.timings;\n /** @type {?} */\n const duration = Math.abs(timings.duration);\n /** @type {?} */\n const maxTime = duration * (context.currentQueryTotal - 1);\n /** @type {?} */\n let delay = duration * context.currentQueryIndex;\n /** @type {?} */\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n /** @type {?} */\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n /** @type {?} */\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\n/** @type {?} */\nconst DEFAULT_NOOP_PREVIOUS_NODE = (/** @type {?} */ ({}));\nclass AnimationTimelineContext {\n /**\n * @param {?} _driver\n * @param {?} element\n * @param {?} subInstructions\n * @param {?} _enterClassName\n * @param {?} _leaveClassName\n * @param {?} errors\n * @param {?} timelines\n * @param {?=} initialTimeline\n */\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n /**\n * @return {?}\n */\n get params() {\n return this.options.params;\n }\n /**\n * @param {?} options\n * @param {?=} skipIfExists\n * @return {?}\n */\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n /** @type {?} */\n const newOptions = (/** @type {?} */ (options));\n /** @type {?} */\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n ((/** @type {?} */ (optionsToUpdate))).duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n /** @type {?} */\n const newParams = newOptions.params;\n if (newParams) {\n /** @type {?} */\n let paramsToUpdate = (/** @type {?} */ (optionsToUpdate.params));\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach((/**\n * @param {?} name\n * @return {?}\n */\n name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n }));\n }\n }\n /**\n * @private\n * @return {?}\n */\n _copyOptions() {\n /** @type {?} */\n const options = {};\n if (this.options) {\n /** @type {?} */\n const oldParams = this.options.params;\n if (oldParams) {\n /** @type {?} */\n const params = options['params'] = {};\n Object.keys(oldParams).forEach((/**\n * @param {?} name\n * @return {?}\n */\n name => {\n params[name] = oldParams[name];\n }));\n }\n }\n return options;\n }\n /**\n * @param {?=} options\n * @param {?=} element\n * @param {?=} newTime\n * @return {?}\n */\n createSubContext(options = null, element, newTime) {\n /** @type {?} */\n const target = element || this.element;\n /** @type {?} */\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n /**\n * @param {?=} newTime\n * @return {?}\n */\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n /**\n * @param {?} instruction\n * @param {?} duration\n * @param {?} delay\n * @return {?}\n */\n appendInstructionToTimeline(instruction, duration, delay) {\n /** @type {?} */\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n /** @type {?} */\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n /**\n * @param {?} time\n * @return {?}\n */\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n /**\n * @param {?} delay\n * @return {?}\n */\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n /**\n * @param {?} selector\n * @param {?} originalSelector\n * @param {?} limit\n * @param {?} includeSelf\n * @param {?} optional\n * @param {?} errors\n * @return {?}\n */\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n /** @type {?} */\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) { // if :self is only used then the selector is empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n /** @type {?} */\n const multi = limit != 1;\n /** @type {?} */\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) :\n elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(`\\`query(\"${originalSelector}\")\\` returned zero elements. (Use \\`query(\"${originalSelector}\", { optional: true })\\` if you wish to allow this.)`);\n }\n return results;\n }\n}\nif (false) {\n /** @type {?} */\n AnimationTimelineContext.prototype.parentContext;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentTimeline;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentAnimateTimings;\n /** @type {?} */\n AnimationTimelineContext.prototype.previousNode;\n /** @type {?} */\n AnimationTimelineContext.prototype.subContextCount;\n /** @type {?} */\n AnimationTimelineContext.prototype.options;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentQueryIndex;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentQueryTotal;\n /** @type {?} */\n AnimationTimelineContext.prototype.currentStaggerTime;\n /**\n * @type {?}\n * @private\n */\n AnimationTimelineContext.prototype._driver;\n /** @type {?} */\n AnimationTimelineContext.prototype.element;\n /** @type {?} */\n AnimationTimelineContext.prototype.subInstructions;\n /**\n * @type {?}\n * @private\n */\n AnimationTimelineContext.prototype._enterClassName;\n /**\n * @type {?}\n * @private\n */\n AnimationTimelineContext.prototype._leaveClassName;\n /** @type {?} */\n AnimationTimelineContext.prototype.errors;\n /** @type {?} */\n AnimationTimelineContext.prototype.timelines;\n}\nclass TimelineBuilder {\n /**\n * @param {?} _driver\n * @param {?} element\n * @param {?} startTime\n * @param {?=} _elementTimelineStylesLookup\n */\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this._previousKeyframe = {};\n this._currentKeyframe = {};\n this._keyframes = new Map();\n this._styleSummary = {};\n this._pendingStyles = {};\n this._backFill = {};\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._localTimelineStyles = Object.create(this._backFill, {});\n this._globalTimelineStyles = (/** @type {?} */ (this._elementTimelineStylesLookup.get(element)));\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n /**\n * @return {?}\n */\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.getCurrentStyleProperties().length > 0;\n default:\n return true;\n }\n }\n /**\n * @return {?}\n */\n getCurrentStyleProperties() {\n return Object.keys(this._currentKeyframe);\n }\n /**\n * @return {?}\n */\n get currentTime() {\n return this.startTime + this.duration;\n }\n /**\n * @param {?} delay\n * @return {?}\n */\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n /** @type {?} */\n const hasPreStyleStep = this._keyframes.size == 1 && Object.keys(this._pendingStyles).length;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n /**\n * @param {?} element\n * @param {?=} currentTime\n * @return {?}\n */\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n /**\n * @private\n * @return {?}\n */\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = (/** @type {?} */ (this._keyframes.get(this.duration)));\n if (!this._currentKeyframe) {\n this._currentKeyframe = Object.create(this._backFill, {});\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n /**\n * @return {?}\n */\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n /**\n * @param {?} time\n * @return {?}\n */\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n /**\n * @private\n * @param {?} prop\n * @param {?} value\n * @return {?}\n */\n _updateStyle(prop, value) {\n this._localTimelineStyles[prop] = value;\n this._globalTimelineStyles[prop] = value;\n this._styleSummary[prop] = { time: this.currentTime, value };\n }\n /**\n * @return {?}\n */\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n /**\n * @param {?} easing\n * @return {?}\n */\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe['easing'] = easing;\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n Object.keys(this._globalTimelineStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n this._backFill[prop] = this._globalTimelineStyles[prop] || AUTO_STYLE;\n this._currentKeyframe[prop] = AUTO_STYLE;\n }));\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n /**\n * @param {?} input\n * @param {?} easing\n * @param {?} errors\n * @param {?=} options\n * @return {?}\n */\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe['easing'] = easing;\n }\n /** @type {?} */\n const params = (options && options.params) || {};\n /** @type {?} */\n const styles = flattenStyles(input, this._globalTimelineStyles);\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const val = interpolateParams(styles[prop], params, errors);\n this._pendingStyles[prop] = val;\n if (!this._localTimelineStyles.hasOwnProperty(prop)) {\n this._backFill[prop] = this._globalTimelineStyles.hasOwnProperty(prop) ?\n this._globalTimelineStyles[prop] :\n AUTO_STYLE;\n }\n this._updateStyle(prop, val);\n }));\n }\n /**\n * @return {?}\n */\n applyStylesToKeyframe() {\n /** @type {?} */\n const styles = this._pendingStyles;\n /** @type {?} */\n const props = Object.keys(styles);\n if (props.length == 0)\n return;\n this._pendingStyles = {};\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const val = styles[prop];\n this._currentKeyframe[prop] = val;\n }));\n Object.keys(this._localTimelineStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (!this._currentKeyframe.hasOwnProperty(prop)) {\n this._currentKeyframe[prop] = this._localTimelineStyles[prop];\n }\n }));\n }\n /**\n * @return {?}\n */\n snapshotCurrentStyles() {\n Object.keys(this._localTimelineStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const val = this._localTimelineStyles[prop];\n this._pendingStyles[prop] = val;\n this._updateStyle(prop, val);\n }));\n }\n /**\n * @return {?}\n */\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n /**\n * @return {?}\n */\n get properties() {\n /** @type {?} */\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n /**\n * @param {?} timeline\n * @return {?}\n */\n mergeTimelineCollectedStyles(timeline) {\n Object.keys(timeline._styleSummary).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const details0 = this._styleSummary[prop];\n /** @type {?} */\n const details1 = timeline._styleSummary[prop];\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n }));\n }\n /**\n * @return {?}\n */\n buildKeyframes() {\n this.applyStylesToKeyframe();\n /** @type {?} */\n const preStyleProps = new Set();\n /** @type {?} */\n const postStyleProps = new Set();\n /** @type {?} */\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n /** @type {?} */\n let finalKeyframes = [];\n this._keyframes.forEach((/**\n * @param {?} keyframe\n * @param {?} time\n * @return {?}\n */\n (keyframe, time) => {\n /** @type {?} */\n const finalKeyframe = copyStyles(keyframe, true);\n Object.keys(finalKeyframe).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = finalKeyframe[prop];\n if (value == ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value == AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n }));\n if (!isEmpty) {\n finalKeyframe['offset'] = time / this.duration;\n }\n finalKeyframes.push(finalKeyframe);\n }));\n /** @type {?} */\n const preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n /** @type {?} */\n const postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : [];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n /** @type {?} */\n const kf0 = finalKeyframes[0];\n /** @type {?} */\n const kf1 = copyObj(kf0);\n kf0['offset'] = 0;\n kf1['offset'] = 1;\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nif (false) {\n /** @type {?} */\n TimelineBuilder.prototype.duration;\n /** @type {?} */\n TimelineBuilder.prototype.easing;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._previousKeyframe;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._currentKeyframe;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._keyframes;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._styleSummary;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._localTimelineStyles;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._globalTimelineStyles;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._pendingStyles;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._backFill;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._currentEmptyStepKeyframe;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._driver;\n /** @type {?} */\n TimelineBuilder.prototype.element;\n /** @type {?} */\n TimelineBuilder.prototype.startTime;\n /**\n * @type {?}\n * @private\n */\n TimelineBuilder.prototype._elementTimelineStylesLookup;\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n /**\n * @param {?} driver\n * @param {?} element\n * @param {?} keyframes\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} timings\n * @param {?=} _stretchStartingKeyframe\n */\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.element = element;\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n /**\n * @return {?}\n */\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n /**\n * @return {?}\n */\n buildKeyframes() {\n /** @type {?} */\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n /** @type {?} */\n const newKeyframes = [];\n /** @type {?} */\n const totalTime = duration + delay;\n /** @type {?} */\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n /** @type {?} */\n const newFirstKeyframe = copyStyles(keyframes[0], false);\n newFirstKeyframe['offset'] = 0;\n newKeyframes.push(newFirstKeyframe);\n /** @type {?} */\n const oldFirstKeyframe = copyStyles(keyframes[0], false);\n oldFirstKeyframe['offset'] = roundOffset(startingGap);\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still renderered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n /** @type {?} */\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n /** @type {?} */\n let kf = copyStyles(keyframes[i], false);\n /** @type {?} */\n const oldOffset = (/** @type {?} */ (kf['offset']));\n /** @type {?} */\n const timeAtKeyframe = delay + oldOffset * duration;\n kf['offset'] = roundOffset(timeAtKeyframe / totalTime);\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nif (false) {\n /** @type {?} */\n SubTimelineBuilder.prototype.timings;\n /** @type {?} */\n SubTimelineBuilder.prototype.element;\n /** @type {?} */\n SubTimelineBuilder.prototype.keyframes;\n /** @type {?} */\n SubTimelineBuilder.prototype.preStyleProps;\n /** @type {?} */\n SubTimelineBuilder.prototype.postStyleProps;\n /**\n * @type {?}\n * @private\n */\n SubTimelineBuilder.prototype._stretchStartingKeyframe;\n}\n/**\n * @param {?} offset\n * @param {?=} decimalPoints\n * @return {?}\n */\nfunction roundOffset(offset, decimalPoints = 3) {\n /** @type {?} */\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\n/**\n * @param {?} input\n * @param {?} allStyles\n * @return {?}\n */\nfunction flattenStyles(input, allStyles) {\n /** @type {?} */\n const styles = {};\n /** @type {?} */\n let allProperties;\n input.forEach((/**\n * @param {?} token\n * @return {?}\n */\n token => {\n if (token === '*') {\n allProperties = allProperties || Object.keys(allStyles);\n allProperties.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n styles[prop] = AUTO_STYLE;\n }));\n }\n else {\n copyStyles((/** @type {?} */ (token)), false, styles);\n }\n }));\n return styles;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass Animation {\n /**\n * @param {?} _driver\n * @param {?} input\n */\n constructor(_driver, input) {\n this._driver = _driver;\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = buildAnimationAst(_driver, input, errors);\n if (errors.length) {\n /** @type {?} */\n const errorMessage = `animation validation failed:\\n${errors.join('\\n')}`;\n throw new Error(errorMessage);\n }\n this._animationAst = ast;\n }\n /**\n * @param {?} element\n * @param {?} startingStyles\n * @param {?} destinationStyles\n * @param {?} options\n * @param {?=} subInstructions\n * @return {?}\n */\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n /** @type {?} */\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n (/** @type {?} */ (startingStyles));\n /** @type {?} */\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n (/** @type {?} */ (destinationStyles));\n /** @type {?} */\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n /** @type {?} */\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n /** @type {?} */\n const errorMessage = `animation building failed:\\n${errors.join('\\n')}`;\n throw new Error(errorMessage);\n }\n return result;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n Animation.prototype._animationAst;\n /**\n * @type {?}\n * @private\n */\n Animation.prototype._driver;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@publicApi\n * @abstract\n */\nclass AnimationStyleNormalizer {\n}\nif (false) {\n /**\n * @abstract\n * @param {?} propertyName\n * @param {?} errors\n * @return {?}\n */\n AnimationStyleNormalizer.prototype.normalizePropertyName = function (propertyName, errors) { };\n /**\n * @abstract\n * @param {?} userProvidedProperty\n * @param {?} normalizedProperty\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\n AnimationStyleNormalizer.prototype.normalizeStyleValue = function (userProvidedProperty, normalizedProperty, value, errors) { };\n}\n/**\n * \\@publicApi\n */\nclass NoopAnimationStyleNormalizer {\n /**\n * @param {?} propertyName\n * @param {?} errors\n * @return {?}\n */\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n /**\n * @param {?} userProvidedProperty\n * @param {?} normalizedProperty\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return (/** @type {?} */ (value));\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n /**\n * @param {?} propertyName\n * @param {?} errors\n * @return {?}\n */\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n /**\n * @param {?} userProvidedProperty\n * @param {?} normalizedProperty\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n /** @type {?} */\n let unit = '';\n /** @type {?} */\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_MAP[normalizedProperty] && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n /** @type {?} */\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(`Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n }\n }\n }\n return strVal + unit;\n }\n}\nconst ɵ0$1 = /**\n * @return {?}\n */\n() => makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'\n .split(','));\n/** @type {?} */\nconst DIMENSIONAL_PROP_MAP = ((ɵ0$1))();\n/**\n * @param {?} keys\n * @return {?}\n */\nfunction makeBooleanMap(keys) {\n /** @type {?} */\n const map = {};\n keys.forEach((/**\n * @param {?} key\n * @return {?}\n */\n key => map[key] = true));\n return map;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_transition_instruction.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction AnimationTransitionInstruction() { }\nif (false) {\n /** @type {?} */\n AnimationTransitionInstruction.prototype.element;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.triggerName;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.isRemovalTransition;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.fromState;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.fromStyles;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.toState;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.toStyles;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.timelines;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.queriedElements;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.preStyleProps;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.postStyleProps;\n /** @type {?} */\n AnimationTransitionInstruction.prototype.totalTime;\n /** @type {?|undefined} */\n AnimationTransitionInstruction.prototype.errors;\n}\n/**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} fromState\n * @param {?} toState\n * @param {?} isRemovalTransition\n * @param {?} fromStyles\n * @param {?} toStyles\n * @param {?} timelines\n * @param {?} queriedElements\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} totalTime\n * @param {?=} errors\n * @return {?}\n */\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_transition_factory.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n /**\n * @param {?} _triggerName\n * @param {?} ast\n * @param {?} _stateStyles\n */\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n /**\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n /**\n * @param {?} stateName\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\n buildStyles(stateName, params, errors) {\n /** @type {?} */\n const backupStateStyler = this._stateStyles['*'];\n /** @type {?} */\n const stateStyler = this._stateStyles[stateName];\n /** @type {?} */\n const backupStyles = backupStateStyler ? backupStateStyler.buildStyles(params, errors) : {};\n return stateStyler ? stateStyler.buildStyles(params, errors) : backupStyles;\n }\n /**\n * @param {?} driver\n * @param {?} element\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} currentOptions\n * @param {?=} nextOptions\n * @param {?=} subInstructions\n * @param {?=} skipAstBuild\n * @return {?}\n */\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n /** @type {?} */\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n /** @type {?} */\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n /** @type {?} */\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n /** @type {?} */\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n /** @type {?} */\n const queriedElements = new Set();\n /** @type {?} */\n const preStyleMap = new Map();\n /** @type {?} */\n const postStyleMap = new Map();\n /** @type {?} */\n const isRemoval = nextState === 'void';\n /** @type {?} */\n const animationOptions = { params: Object.assign(Object.assign({}, transitionAnimationParams), nextAnimationParams) };\n /** @type {?} */\n const timelines = skipAstBuild ?\n [] :\n buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n /** @type {?} */\n let totalTime = 0;\n timelines.forEach((/**\n * @param {?} tl\n * @return {?}\n */\n tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n }));\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach((/**\n * @param {?} tl\n * @return {?}\n */\n tl => {\n /** @type {?} */\n const elm = tl.element;\n /** @type {?} */\n const preProps = getOrSetAsInMap(preStyleMap, elm, {});\n tl.preStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => preProps[prop] = true));\n /** @type {?} */\n const postProps = getOrSetAsInMap(postStyleMap, elm, {});\n tl.postStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => postProps[prop] = true));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n }));\n /** @type {?} */\n const queriedElementsList = iteratorToArray(queriedElements.values());\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionFactory.prototype._triggerName;\n /** @type {?} */\n AnimationTransitionFactory.prototype.ast;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionFactory.prototype._stateStyles;\n}\n/**\n * @param {?} matchFns\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn(currentState, nextState, element, params)));\n}\nclass AnimationStateStyles {\n /**\n * @param {?} styles\n * @param {?} defaultParams\n */\n constructor(styles, defaultParams) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n }\n /**\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\n buildStyles(params, errors) {\n /** @type {?} */\n const finalStyles = {};\n /** @type {?} */\n const combinedParams = copyObj(this.defaultParams);\n Object.keys(params).forEach((/**\n * @param {?} key\n * @return {?}\n */\n key => {\n /** @type {?} */\n const value = params[key];\n if (value != null) {\n combinedParams[key] = value;\n }\n }));\n this.styles.styles.forEach((/**\n * @param {?} value\n * @return {?}\n */\n value => {\n if (typeof value !== 'string') {\n /** @type {?} */\n const styleObj = (/** @type {?} */ (value));\n Object.keys(styleObj).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n let val = styleObj[prop];\n if (val.length > 1) {\n val = interpolateParams(val, combinedParams, errors);\n }\n finalStyles[prop] = val;\n }));\n }\n }));\n return finalStyles;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationStateStyles.prototype.styles;\n /**\n * @type {?}\n * @private\n */\n AnimationStateStyles.prototype.defaultParams;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/dsl/animation_trigger.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @param {?} name\n * @param {?} ast\n * @return {?}\n */\nfunction buildTrigger(name, ast) {\n return new AnimationTrigger(name, ast);\n}\n/**\n * \\@publicApi\n */\nclass AnimationTrigger {\n /**\n * @param {?} name\n * @param {?} ast\n */\n constructor(name, ast) {\n this.name = name;\n this.ast = ast;\n this.transitionFactories = [];\n this.states = {};\n ast.states.forEach((/**\n * @param {?} ast\n * @return {?}\n */\n ast => {\n /** @type {?} */\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states[ast.name] = new AnimationStateStyles(ast.style, defaultParams);\n }));\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach((/**\n * @param {?} ast\n * @return {?}\n */\n ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n }));\n this.fallbackTransition = createFallbackTransition(name, this.states);\n }\n /**\n * @return {?}\n */\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n /**\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\n matchTransition(currentState, nextState, element, params) {\n /** @type {?} */\n const entry = this.transitionFactories.find((/**\n * @param {?} f\n * @return {?}\n */\n f => f.match(currentState, nextState, element, params)));\n return entry || null;\n }\n /**\n * @param {?} currentState\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nif (false) {\n /** @type {?} */\n AnimationTrigger.prototype.transitionFactories;\n /** @type {?} */\n AnimationTrigger.prototype.fallbackTransition;\n /** @type {?} */\n AnimationTrigger.prototype.states;\n /** @type {?} */\n AnimationTrigger.prototype.name;\n /** @type {?} */\n AnimationTrigger.prototype.ast;\n}\n/**\n * @param {?} triggerName\n * @param {?} states\n * @return {?}\n */\nfunction createFallbackTransition(triggerName, states) {\n /** @type {?} */\n const matchers = [(/**\n * @param {?} fromState\n * @param {?} toState\n * @return {?}\n */\n (fromState, toState) => true)];\n /** @type {?} */\n const animation = { type: 2 /* Sequence */, steps: [], options: null };\n /** @type {?} */\n const transition = {\n type: 1 /* Transition */,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\n/**\n * @param {?} obj\n * @param {?} key1\n * @param {?} key2\n * @return {?}\n */\nfunction balanceProperties(obj, key1, key2) {\n if (obj.hasOwnProperty(key1)) {\n if (!obj.hasOwnProperty(key2)) {\n obj[key2] = obj[key1];\n }\n }\n else if (obj.hasOwnProperty(key2)) {\n obj[key1] = obj[key2];\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/timeline_animation_engine.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n /**\n * @param {?} bodyNode\n * @param {?} _driver\n * @param {?} _normalizer\n */\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = {};\n this._playersById = {};\n this.players = [];\n }\n /**\n * @param {?} id\n * @param {?} metadata\n * @return {?}\n */\n register(id, metadata) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = buildAnimationAst(this._driver, metadata, errors);\n if (errors.length) {\n throw new Error(`Unable to build the animation due to the following errors: ${errors.join('\\n')}`);\n }\n else {\n this._animations[id] = ast;\n }\n }\n /**\n * @private\n * @param {?} i\n * @param {?} preStyles\n * @param {?=} postStyles\n * @return {?}\n */\n _buildPlayer(i, preStyles, postStyles) {\n /** @type {?} */\n const element = i.element;\n /** @type {?} */\n const keyframes = normalizeKeyframes(this._driver, this._normalizer, element, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n /**\n * @param {?} id\n * @param {?} element\n * @param {?=} options\n * @return {?}\n */\n create(id, element, options = {}) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = this._animations[id];\n /** @type {?} */\n let instructions;\n /** @type {?} */\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, {}, {}, options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach((/**\n * @param {?} inst\n * @return {?}\n */\n inst => {\n /** @type {?} */\n const styles = getOrSetAsInMap(autoStylesMap, inst.element, {});\n inst.postStyleProps.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => styles[prop] = null));\n }));\n }\n else {\n errors.push('The requested animation doesn\\'t exist or has already been destroyed');\n instructions = [];\n }\n if (errors.length) {\n throw new Error(`Unable to create the animation due to the following errors: ${errors.join('\\n')}`);\n }\n autoStylesMap.forEach((/**\n * @param {?} styles\n * @param {?} element\n * @return {?}\n */\n (styles, element) => {\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n styles[prop] = this._driver.computeStyle(element, prop, AUTO_STYLE);\n }));\n }));\n /** @type {?} */\n const players = instructions.map((/**\n * @param {?} i\n * @return {?}\n */\n i => {\n /** @type {?} */\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, {}, styles);\n }));\n /** @type {?} */\n const player = optimizeGroupPlayer(players);\n this._playersById[id] = player;\n player.onDestroy((/**\n * @return {?}\n */\n () => this.destroy(id)));\n this.players.push(player);\n return player;\n }\n /**\n * @param {?} id\n * @return {?}\n */\n destroy(id) {\n /** @type {?} */\n const player = this._getPlayer(id);\n player.destroy();\n delete this._playersById[id];\n /** @type {?} */\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n /**\n * @private\n * @param {?} id\n * @return {?}\n */\n _getPlayer(id) {\n /** @type {?} */\n const player = this._playersById[id];\n if (!player) {\n throw new Error(`Unable to find the timeline player referenced by ${id}`);\n }\n return player;\n }\n /**\n * @param {?} id\n * @param {?} element\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n /** @type {?} */\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return (/**\n * @return {?}\n */\n () => { });\n }\n /**\n * @param {?} id\n * @param {?} element\n * @param {?} command\n * @param {?} args\n * @return {?}\n */\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, (/** @type {?} */ (args[0])));\n return;\n }\n if (command == 'create') {\n /** @type {?} */\n const options = (/** @type {?} */ ((args[0] || {})));\n this.create(id, element, options);\n return;\n }\n /** @type {?} */\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat((/** @type {?} */ (args[0]))));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._animations;\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._playersById;\n /** @type {?} */\n TimelineAnimationEngine.prototype.players;\n /** @type {?} */\n TimelineAnimationEngine.prototype.bodyNode;\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._driver;\n /**\n * @type {?}\n * @private\n */\n TimelineAnimationEngine.prototype._normalizer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/transition_animation_engine.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\n/** @type {?} */\nconst QUEUED_SELECTOR = '.ng-animate-queued';\n/** @type {?} */\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\n/** @type {?} */\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\n/** @type {?} */\nconst STAR_CLASSNAME = 'ng-star-inserted';\n/** @type {?} */\nconst STAR_SELECTOR = '.ng-star-inserted';\n/** @type {?} */\nconst EMPTY_PLAYER_ARRAY = [];\n/** @type {?} */\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\n/** @type {?} */\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\n/**\n * @record\n */\nfunction TriggerListener() { }\nif (false) {\n /** @type {?} */\n TriggerListener.prototype.name;\n /** @type {?} */\n TriggerListener.prototype.phase;\n /** @type {?} */\n TriggerListener.prototype.callback;\n}\n/**\n * @record\n */\nfunction QueueInstruction() { }\nif (false) {\n /** @type {?} */\n QueueInstruction.prototype.element;\n /** @type {?} */\n QueueInstruction.prototype.triggerName;\n /** @type {?} */\n QueueInstruction.prototype.fromState;\n /** @type {?} */\n QueueInstruction.prototype.toState;\n /** @type {?} */\n QueueInstruction.prototype.transition;\n /** @type {?} */\n QueueInstruction.prototype.player;\n /** @type {?} */\n QueueInstruction.prototype.isFallbackTransition;\n}\n/** @type {?} */\nconst REMOVAL_FLAG = '__ng_removed';\n/**\n * @record\n */\nfunction ElementAnimationState() { }\nif (false) {\n /** @type {?} */\n ElementAnimationState.prototype.setForRemoval;\n /** @type {?} */\n ElementAnimationState.prototype.setForMove;\n /** @type {?} */\n ElementAnimationState.prototype.hasAnimation;\n /** @type {?} */\n ElementAnimationState.prototype.namespaceId;\n /** @type {?} */\n ElementAnimationState.prototype.removedBeforeQueried;\n}\nclass StateValue {\n /**\n * @param {?} input\n * @param {?=} namespaceId\n */\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n /** @type {?} */\n const isObj = input && input.hasOwnProperty('value');\n /** @type {?} */\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n /** @type {?} */\n const options = copyObj((/** @type {?} */ (input)));\n delete options['value'];\n this.options = (/** @type {?} */ (options));\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n /**\n * @return {?}\n */\n get params() {\n return (/** @type {?} */ (this.options.params));\n }\n /**\n * @param {?} options\n * @return {?}\n */\n absorbOptions(options) {\n /** @type {?} */\n const newParams = options.params;\n if (newParams) {\n /** @type {?} */\n const oldParams = (/** @type {?} */ (this.options.params));\n Object.keys(newParams).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n }));\n }\n }\n}\nif (false) {\n /** @type {?} */\n StateValue.prototype.value;\n /** @type {?} */\n StateValue.prototype.options;\n /** @type {?} */\n StateValue.prototype.namespaceId;\n}\n/** @type {?} */\nconst VOID_VALUE = 'void';\n/** @type {?} */\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n /**\n * @param {?} id\n * @param {?} hostElement\n * @param {?} _engine\n */\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = {};\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n /**\n * @param {?} element\n * @param {?} name\n * @param {?} phase\n * @param {?} callback\n * @return {?}\n */\n listen(element, name, phase, callback) {\n if (!this._triggers.hasOwnProperty(name)) {\n throw new Error(`Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n }\n if (phase == null || phase.length == 0) {\n throw new Error(`Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n }\n if (!isTriggerEventValid(phase)) {\n throw new Error(`The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n }\n /** @type {?} */\n const listeners = getOrSetAsInMap(this._elementListeners, element, []);\n /** @type {?} */\n const data = { name, phase, callback };\n listeners.push(data);\n /** @type {?} */\n const triggersWithStates = getOrSetAsInMap(this._engine.statesByElement, element, {});\n if (!triggersWithStates.hasOwnProperty(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates[name] = DEFAULT_STATE_VALUE;\n }\n return (/**\n * @return {?}\n */\n () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers[name]) {\n delete triggersWithStates[name];\n }\n }));\n });\n }\n /**\n * @param {?} name\n * @param {?} ast\n * @return {?}\n */\n register(name, ast) {\n if (this._triggers[name]) {\n // throw\n return false;\n }\n else {\n this._triggers[name] = ast;\n return true;\n }\n }\n /**\n * @private\n * @param {?} name\n * @return {?}\n */\n _getTrigger(name) {\n /** @type {?} */\n const trigger = this._triggers[name];\n if (!trigger) {\n throw new Error(`The provided animation trigger \"${name}\" has not been registered!`);\n }\n return trigger;\n }\n /**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} value\n * @param {?=} defaultToFallback\n * @return {?}\n */\n trigger(element, triggerName, value, defaultToFallback = true) {\n /** @type {?} */\n const trigger = this._getTrigger(triggerName);\n /** @type {?} */\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n /** @type {?} */\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = {});\n }\n /** @type {?} */\n let fromState = triggersWithStates[triggerName];\n /** @type {?} */\n const toState = new StateValue(value, this.id);\n /** @type {?} */\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates[triggerName] = toState;\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n /** @type {?} */\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n /** @type {?} */\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush((/**\n * @return {?}\n */\n () => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n }));\n }\n }\n return;\n }\n /** @type {?} */\n const playersOnElement = getOrSetAsInMap(this._engine.playersByElement, element, []);\n playersOnElement.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new palyer)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n }));\n /** @type {?} */\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n /** @type {?} */\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart((/**\n * @return {?}\n */\n () => {\n removeClass(element, QUEUED_CLASSNAME);\n }));\n }\n player.onDone((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n /** @type {?} */\n const players = this._engine.playersByElement.get(element);\n if (players) {\n /** @type {?} */\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n }));\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n /**\n * @param {?} name\n * @return {?}\n */\n deregister(name) {\n delete this._triggers[name];\n this._engine.statesByElement.forEach((/**\n * @param {?} stateMap\n * @param {?} element\n * @return {?}\n */\n (stateMap, element) => {\n delete stateMap[name];\n }));\n this._elementListeners.forEach((/**\n * @param {?} listeners\n * @param {?} element\n * @return {?}\n */\n (listeners, element) => {\n this._elementListeners.set(element, listeners.filter((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n return entry.name != name;\n })));\n }));\n }\n /**\n * @param {?} element\n * @return {?}\n */\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n /** @type {?} */\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => player.destroy()));\n this._engine.playersByElement.delete(element);\n }\n }\n /**\n * @private\n * @param {?} rootElement\n * @param {?} context\n * @return {?}\n */\n _signalRemovalForInnerTriggers(rootElement, context) {\n /** @type {?} */\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach((/**\n * @param {?} elm\n * @return {?}\n */\n elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n /** @type {?} */\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach((/**\n * @param {?} ns\n * @return {?}\n */\n ns => ns.triggerLeaveAnimation(elm, context, false, true)));\n }\n else {\n this.clearElementCache(elm);\n }\n }));\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone((/**\n * @return {?}\n */\n () => elements.forEach((/**\n * @param {?} elm\n * @return {?}\n */\n elm => this.clearElementCache(elm)))));\n }\n /**\n * @param {?} element\n * @param {?} context\n * @param {?=} destroyAfterComplete\n * @param {?=} defaultToFallback\n * @return {?}\n */\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n /** @type {?} */\n const triggerStates = this._engine.statesByElement.get(element);\n if (triggerStates) {\n /** @type {?} */\n const players = [];\n Object.keys(triggerStates).forEach((/**\n * @param {?} triggerName\n * @return {?}\n */\n triggerName => {\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers[triggerName]) {\n /** @type {?} */\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n }));\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone((/**\n * @return {?}\n */\n () => this._engine.processLeaveNode(element)));\n }\n return true;\n }\n }\n return false;\n }\n /**\n * @param {?} element\n * @return {?}\n */\n prepareLeaveAnimationListeners(element) {\n /** @type {?} */\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n /** @type {?} */\n const visitedTriggers = new Set();\n listeners.forEach((/**\n * @param {?} listener\n * @return {?}\n */\n listener => {\n /** @type {?} */\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n /** @type {?} */\n const trigger = this._triggers[triggerName];\n /** @type {?} */\n const transition = trigger.fallbackTransition;\n /** @type {?} */\n const elementStates = (/** @type {?} */ (this._engine.statesByElement.get(element)));\n /** @type {?} */\n const fromState = elementStates[triggerName] || DEFAULT_STATE_VALUE;\n /** @type {?} */\n const toState = new StateValue(VOID_VALUE);\n /** @type {?} */\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n }));\n }\n }\n /**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n removeNode(element, context) {\n /** @type {?} */\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n /** @type {?} */\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n /** @type {?} */\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n /** @type {?} */\n let parent = element;\n while (parent = parent.parentNode) {\n /** @type {?} */\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n /** @type {?} */\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush((/**\n * @return {?}\n */\n () => this.clearElementCache(element)));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n /**\n * @param {?} element\n * @param {?} parent\n * @return {?}\n */\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n /**\n * @param {?} microtaskId\n * @return {?}\n */\n drainQueuedTransitions(microtaskId) {\n /** @type {?} */\n const instructions = [];\n this._queue.forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n /** @type {?} */\n const player = entry.player;\n if (player.destroyed)\n return;\n /** @type {?} */\n const element = entry.element;\n /** @type {?} */\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((/**\n * @param {?} listener\n * @return {?}\n */\n (listener) => {\n if (listener.name == entry.triggerName) {\n /** @type {?} */\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n ((/** @type {?} */ (baseEvent)))['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n }));\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush((/**\n * @return {?}\n */\n () => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n }));\n }\n else {\n instructions.push(entry);\n }\n }));\n this._queue = [];\n return instructions.sort((/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\n (a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n /** @type {?} */\n const d0 = a.transition.ast.depCount;\n /** @type {?} */\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n }));\n }\n /**\n * @param {?} context\n * @return {?}\n */\n destroy(context) {\n this.players.forEach((/**\n * @param {?} p\n * @return {?}\n */\n p => p.destroy()));\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n /**\n * @param {?} element\n * @return {?}\n */\n elementContainsData(element) {\n /** @type {?} */\n let containsData = false;\n if (this._elementListeners.has(element))\n containsData = true;\n containsData =\n (this._queue.find((/**\n * @param {?} entry\n * @return {?}\n */\n entry => entry.element === element)) ? true : false) || containsData;\n return containsData;\n }\n}\nif (false) {\n /** @type {?} */\n AnimationTransitionNamespace.prototype.players;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._triggers;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._queue;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._elementListeners;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._hostClassName;\n /** @type {?} */\n AnimationTransitionNamespace.prototype.id;\n /** @type {?} */\n AnimationTransitionNamespace.prototype.hostElement;\n /**\n * @type {?}\n * @private\n */\n AnimationTransitionNamespace.prototype._engine;\n}\n/**\n * @record\n */\nfunction QueuedTransition() { }\nif (false) {\n /** @type {?} */\n QueuedTransition.prototype.element;\n /** @type {?} */\n QueuedTransition.prototype.instruction;\n /** @type {?} */\n QueuedTransition.prototype.player;\n}\nclass TransitionAnimationEngine {\n /**\n * @param {?} bodyNode\n * @param {?} driver\n * @param {?} _normalizer\n */\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n (element, context) => { });\n }\n /**\n * \\@internal\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n /**\n * @return {?}\n */\n get queuedPlayers() {\n /** @type {?} */\n const players = [];\n this._namespaceList.forEach((/**\n * @param {?} ns\n * @return {?}\n */\n ns => {\n ns.players.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (player.queued) {\n players.push(player);\n }\n }));\n }));\n return players;\n }\n /**\n * @param {?} namespaceId\n * @param {?} hostElement\n * @return {?}\n */\n createNamespace(namespaceId, hostElement) {\n /** @type {?} */\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (hostElement.parentNode) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is apart of the animation code, it\n // may or may not be inserted by a parent node that is an of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n /**\n * @private\n * @param {?} ns\n * @param {?} hostElement\n * @return {?}\n */\n _balanceNamespaceList(ns, hostElement) {\n /** @type {?} */\n const limit = this._namespaceList.length - 1;\n if (limit >= 0) {\n /** @type {?} */\n let found = false;\n for (let i = limit; i >= 0; i--) {\n /** @type {?} */\n const nextNamespace = this._namespaceList[i];\n if (this.driver.containsElement(nextNamespace.hostElement, hostElement)) {\n this._namespaceList.splice(i + 1, 0, ns);\n found = true;\n break;\n }\n }\n if (!found) {\n this._namespaceList.splice(0, 0, ns);\n }\n }\n else {\n this._namespaceList.push(ns);\n }\n this.namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n /**\n * @param {?} namespaceId\n * @param {?} hostElement\n * @return {?}\n */\n register(namespaceId, hostElement) {\n /** @type {?} */\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n /**\n * @param {?} namespaceId\n * @param {?} name\n * @param {?} trigger\n * @return {?}\n */\n registerTrigger(namespaceId, name, trigger) {\n /** @type {?} */\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} context\n * @return {?}\n */\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n /** @type {?} */\n const ns = this._fetchNamespace(namespaceId);\n this.afterFlush((/**\n * @return {?}\n */\n () => {\n this.namespacesByHostElement.delete(ns.hostElement);\n delete this._namespaceLookup[namespaceId];\n /** @type {?} */\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n }));\n this.afterFlushAnimationsDone((/**\n * @return {?}\n */\n () => ns.destroy(context)));\n }\n /**\n * @private\n * @param {?} id\n * @return {?}\n */\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n /**\n * @param {?} element\n * @return {?}\n */\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply the dedupe\n // of namespaces incase there are multiple triggers both the elm and host\n /** @type {?} */\n const namespaces = new Set();\n /** @type {?} */\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n /** @type {?} */\n const keys = Object.keys(elementStates);\n for (let i = 0; i < keys.length; i++) {\n /** @type {?} */\n const nsId = elementStates[keys[i]].namespaceId;\n if (nsId) {\n /** @type {?} */\n const ns = this._fetchNamespace(nsId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n /** @type {?} */\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} parent\n * @param {?} insertBefore\n * @return {?}\n */\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n /** @type {?} */\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n /** @type {?} */\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n /**\n * @param {?} element\n * @return {?}\n */\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n /**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} isHostElement\n * @param {?} context\n * @return {?}\n */\n removeNode(namespaceId, element, isHostElement, context) {\n if (isElementNode(element)) {\n /** @type {?} */\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n if (isHostElement) {\n /** @type {?} */\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?=} hasAnimation\n * @param {?=} context\n * @return {?}\n */\n markElementAsRemoved(namespaceId, element, hasAnimation, context) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] =\n { namespaceId, setForRemoval: context, hasAnimation, removedBeforeQueried: false };\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} name\n * @param {?} phase\n * @param {?} callback\n * @return {?}\n */\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return (/**\n * @return {?}\n */\n () => { });\n }\n /**\n * @private\n * @param {?} entry\n * @param {?} subTimelines\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} skipBuildAst\n * @return {?}\n */\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n /**\n * @param {?} containerElement\n * @return {?}\n */\n destroyInnerAnimations(containerElement) {\n /** @type {?} */\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => this.destroyActiveAnimationsForElement(element)));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => this.finishActiveQueriedAnimationOnElement(element)));\n }\n /**\n * @param {?} element\n * @return {?}\n */\n destroyActiveAnimationsForElement(element) {\n /** @type {?} */\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n }));\n }\n }\n /**\n * @param {?} element\n * @return {?}\n */\n finishActiveQueriedAnimationOnElement(element) {\n /** @type {?} */\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => player.finish()));\n }\n }\n /**\n * @return {?}\n */\n whenRenderingDone() {\n return new Promise((/**\n * @param {?} resolve\n * @return {?}\n */\n resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone((/**\n * @return {?}\n */\n () => resolve()));\n }\n else {\n resolve();\n }\n }));\n }\n /**\n * @param {?} element\n * @return {?}\n */\n processLeaveNode(element) {\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n /** @type {?} */\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (this.driver.matchesElement(element, DISABLED_SELECTOR)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n this.markElementAsDisabled(node, false);\n }));\n }\n /**\n * @param {?=} microtaskId\n * @return {?}\n */\n flush(microtaskId = -1) {\n /** @type {?} */\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((/**\n * @param {?} ns\n * @param {?} element\n * @return {?}\n */\n (ns, element) => this._balanceNamespaceList(ns, element)));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n /** @type {?} */\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n /** @type {?} */\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n /** @type {?} */\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n /** @type {?} */\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone((/**\n * @return {?}\n */\n () => {\n quietFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n }));\n }\n else {\n quietFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n }\n }\n }\n /**\n * @param {?} errors\n * @return {?}\n */\n reportError(errors) {\n throw new Error(`Unable to process animations due to the following failed trigger transitions\\n ${errors.join('\\n')}`);\n }\n /**\n * @private\n * @param {?} cleanupFns\n * @param {?} microtaskId\n * @return {?}\n */\n _flushAnimations(cleanupFns, microtaskId) {\n /** @type {?} */\n const subTimelines = new ElementInstructionMap();\n /** @type {?} */\n const skippedPlayers = [];\n /** @type {?} */\n const skippedPlayersMap = new Map();\n /** @type {?} */\n const queuedInstructions = [];\n /** @type {?} */\n const queriedElements = new Map();\n /** @type {?} */\n const allPreStyleElements = new Map();\n /** @type {?} */\n const allPostStyleElements = new Map();\n /** @type {?} */\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n disabledElementsSet.add(node);\n /** @type {?} */\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n }));\n /** @type {?} */\n const bodyNode = this.bodyNode;\n /** @type {?} */\n const allTriggerElements = Array.from(this.statesByElement.keys());\n /** @type {?} */\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n /** @type {?} */\n const enterNodeMapIds = new Map();\n /** @type {?} */\n let i = 0;\n enterNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => addClass(node, className)));\n }));\n /** @type {?} */\n const allLeaveNodes = [];\n /** @type {?} */\n const mergedLeaveNodes = new Set();\n /** @type {?} */\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n /** @type {?} */\n const element = this.collectedLeaveElements[i];\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach((/**\n * @param {?} elm\n * @return {?}\n */\n elm => mergedLeaveNodes.add(elm)));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n /** @type {?} */\n const leaveNodeMapIds = new Map();\n /** @type {?} */\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => addClass(node, className)));\n }));\n cleanupFns.push((/**\n * @return {?}\n */\n () => {\n enterNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = (/** @type {?} */ (enterNodeMapIds.get(root)));\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => removeClass(node, className)));\n }));\n leaveNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n /** @type {?} */\n const className = (/** @type {?} */ (leaveNodeMapIds.get(root)));\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => removeClass(node, className)));\n }));\n allLeaveNodes.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => {\n this.processLeaveNode(element);\n }));\n }));\n /** @type {?} */\n const allPlayers = [];\n /** @type {?} */\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n /** @type {?} */\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n /** @type {?} */\n const player = entry.player;\n /** @type {?} */\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n // move animations are currently not supported...\n if (details && details.setForMove) {\n player.destroy();\n return;\n }\n }\n /** @type {?} */\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n /** @type {?} */\n const leaveClassName = (/** @type {?} */ (leaveNodeMapIds.get(element)));\n /** @type {?} */\n const enterClassName = (/** @type {?} */ (enterNodeMapIds.get(element)));\n /** @type {?} */\n const instruction = (/** @type {?} */ (this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned)));\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be apart of the DOM, it may\n // still be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important we still style the element.\n if (nodeIsOrphaned) {\n player.onStart((/**\n * @return {?}\n */\n () => eraseStyles(element, instruction.fromStyles)));\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n skippedPlayers.push(player);\n return;\n }\n // if a unmatched transition is queued to go then it SHOULD NOT render\n // an animation and cancel the previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart((/**\n * @return {?}\n */\n () => eraseStyles(element, instruction.fromStyles)));\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub trigger\n // then it will instruct the timeline builder to not add a player delay, but\n // instead stretch the first keyframe gap up until the animation starts. The\n // reason this is important is to prevent extra initialization styles from being\n // required by the user in the animation.\n instruction.timelines.forEach((/**\n * @param {?} tl\n * @return {?}\n */\n tl => tl.stretchStartingKeyframe = true));\n subTimelines.append(element, instruction.timelines);\n /** @type {?} */\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => getOrSetAsInMap(queriedElements, element, []).push(player)));\n instruction.preStyleProps.forEach((/**\n * @param {?} stringMap\n * @param {?} element\n * @return {?}\n */\n (stringMap, element) => {\n /** @type {?} */\n const props = Object.keys(stringMap);\n if (props.length) {\n /** @type {?} */\n let setVal = (/** @type {?} */ (allPreStyleElements.get(element)));\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => setVal.add(prop)));\n }\n }));\n instruction.postStyleProps.forEach((/**\n * @param {?} stringMap\n * @param {?} element\n * @return {?}\n */\n (stringMap, element) => {\n /** @type {?} */\n const props = Object.keys(stringMap);\n /** @type {?} */\n let setVal = (/** @type {?} */ (allPostStyleElements.get(element)));\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => setVal.add(prop)));\n }));\n }));\n }\n if (erroneousTransitions.length) {\n /** @type {?} */\n const errors = [];\n erroneousTransitions.forEach((/**\n * @param {?} instruction\n * @return {?}\n */\n instruction => {\n errors.push(`@${instruction.triggerName} has failed due to:\\n`);\n (/** @type {?} */ (instruction.errors)).forEach((/**\n * @param {?} error\n * @return {?}\n */\n error => errors.push(`- ${error}\\n`)));\n }));\n allPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => player.destroy()));\n this.reportError(errors);\n }\n /** @type {?} */\n const allPreviousPlayersMap = new Map();\n // this map works to tell which element in the DOM tree is contained by\n // which animation. Further down below this map will get populated once\n // the players are built and in doing so it can efficiently figure out\n // if a sub player is skipped due to a parent player having priority.\n /** @type {?} */\n const animationElementMap = new Map();\n queuedInstructions.forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n /** @type {?} */\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n }));\n skippedPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n const element = player.element;\n /** @type {?} */\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach((/**\n * @param {?} prevPlayer\n * @return {?}\n */\n prevPlayer => {\n getOrSetAsInMap(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n }));\n }));\n // this is a special case for nodes that will be removed (either by)\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or auto since the element\n // that is being getComputedStyle'd will not be visible (since * = destination)\n /** @type {?} */\n const replaceNodes = allLeaveNodes.filter((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n }));\n // POST STAGE: fill the * styles\n /** @type {?} */\n const postStylesMap = new Map();\n /** @type {?} */\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n }));\n // PRE STAGE: fill the ! styles\n /** @type {?} */\n const preStylesMap = new Map();\n enterNodeMap.forEach((/**\n * @param {?} nodes\n * @param {?} root\n * @return {?}\n */\n (nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n }));\n replaceNodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n /** @type {?} */\n const post = postStylesMap.get(node);\n /** @type {?} */\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, (/** @type {?} */ (Object.assign(Object.assign({}, post), pre))));\n }));\n /** @type {?} */\n const rootPlayers = [];\n /** @type {?} */\n const subPlayers = [];\n /** @type {?} */\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach((/**\n * @param {?} entry\n * @return {?}\n */\n entry => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n /** @type {?} */\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n /** @type {?} */\n let elm = element;\n /** @type {?} */\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n /** @type {?} */\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach((/**\n * @param {?} parent\n * @return {?}\n */\n parent => animationElementMap.set(parent, parentWithAnimation)));\n }\n /** @type {?} */\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n /** @type {?} */\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy((/**\n * @return {?}\n */\n () => setStyles(element, instruction.toStyles)));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n }));\n // find all of the sub players' corresponding inner animation player\n subPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n // even if any players are not found for a sub animation then it\n // will still complete itself after the next tick since it's Noop\n /** @type {?} */\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n /** @type {?} */\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n }));\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n }));\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n /** @type {?} */\n const element = allLeaveNodes[i];\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n /** @type {?} */\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n /** @type {?} */\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n /** @type {?} */\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n /** @type {?} */\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n /** @type {?} */\n const activePlayers = players.filter((/**\n * @param {?} p\n * @return {?}\n */\n p => !p.destroyed));\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n this.players.push(player);\n player.onDone((/**\n * @return {?}\n */\n () => {\n player.destroy();\n /** @type {?} */\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n }));\n player.play();\n }));\n return rootPlayers;\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @return {?}\n */\n elementContainsData(namespaceId, element) {\n /** @type {?} */\n let containsData = false;\n /** @type {?} */\n const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n if (details && details.setForRemoval)\n containsData = true;\n if (this.playersByElement.has(element))\n containsData = true;\n if (this.playersByQueriedElement.has(element))\n containsData = true;\n if (this.statesByElement.has(element))\n containsData = true;\n return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData;\n }\n /**\n * @param {?} callback\n * @return {?}\n */\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n /**\n * @param {?} callback\n * @return {?}\n */\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n /**\n * @private\n * @param {?} element\n * @param {?} isQueriedElement\n * @param {?=} namespaceId\n * @param {?=} triggerName\n * @param {?=} toStateValue\n * @return {?}\n */\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n /** @type {?} */\n let players = [];\n if (isQueriedElement) {\n /** @type {?} */\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n /** @type {?} */\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n /** @type {?} */\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n }));\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n }));\n }\n return players;\n }\n /**\n * @private\n * @param {?} namespaceId\n * @param {?} instruction\n * @param {?} allPreviousPlayersMap\n * @return {?}\n */\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n /** @type {?} */\n const triggerName = instruction.triggerName;\n /** @type {?} */\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n /** @type {?} */\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n /** @type {?} */\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n /** @type {?} */\n const element = timelineInstruction.element;\n /** @type {?} */\n const isQueriedElement = element !== rootElement;\n /** @type {?} */\n const players = getOrSetAsInMap(allPreviousPlayersMap, element, []);\n /** @type {?} */\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n const realPlayer = (/** @type {?} */ (((/** @type {?} */ (player))).getRealPlayer()));\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n }));\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n /**\n * @private\n * @param {?} namespaceId\n * @param {?} instruction\n * @param {?} allPreviousPlayersMap\n * @param {?} skippedPlayersMap\n * @param {?} preStylesMap\n * @param {?} postStylesMap\n * @return {?}\n */\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n /** @type {?} */\n const triggerName = instruction.triggerName;\n /** @type {?} */\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n /** @type {?} */\n const allQueriedPlayers = [];\n /** @type {?} */\n const allConsumedElements = new Set();\n /** @type {?} */\n const allSubElements = new Set();\n /** @type {?} */\n const allNewPlayers = instruction.timelines.map((/**\n * @param {?} timelineInstruction\n * @return {?}\n */\n timelineInstruction => {\n /** @type {?} */\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n /** @type {?} */\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n /** @type {?} */\n const isQueriedElement = element !== rootElement;\n /** @type {?} */\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY)\n .map((/**\n * @param {?} p\n * @return {?}\n */\n p => p.getRealPlayer())))\n .filter((/**\n * @param {?} p\n * @return {?}\n */\n p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n /** @type {?} */\n const pp = (/** @type {?} */ (p));\n return pp.element ? pp.element === element : false;\n }));\n /** @type {?} */\n const preStyles = preStylesMap.get(element);\n /** @type {?} */\n const postStyles = postStylesMap.get(element);\n /** @type {?} */\n const keyframes = normalizeKeyframes(this.driver, this._normalizer, element, timelineInstruction.keyframes, preStyles, postStyles);\n /** @type {?} */\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n /** @type {?} */\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n }));\n allQueriedPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n getOrSetAsInMap(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone((/**\n * @return {?}\n */\n () => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player)));\n }));\n allConsumedElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => addClass(element, NG_ANIMATING_CLASSNAME)));\n /** @type {?} */\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy((/**\n * @return {?}\n */\n () => {\n allConsumedElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => removeClass(element, NG_ANIMATING_CLASSNAME)));\n setStyles(rootElement, instruction.toStyles);\n }));\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => {\n getOrSetAsInMap(skippedPlayersMap, element, []).push(player);\n }));\n return player;\n }\n /**\n * @private\n * @param {?} instruction\n * @param {?} keyframes\n * @param {?} previousPlayers\n * @return {?}\n */\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nif (false) {\n /** @type {?} */\n TransitionAnimationEngine.prototype.players;\n /** @type {?} */\n TransitionAnimationEngine.prototype.newHostElements;\n /** @type {?} */\n TransitionAnimationEngine.prototype.playersByElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.playersByQueriedElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.statesByElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.disabledNodes;\n /** @type {?} */\n TransitionAnimationEngine.prototype.totalAnimations;\n /** @type {?} */\n TransitionAnimationEngine.prototype.totalQueuedPlayers;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._namespaceLookup;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._namespaceList;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._flushFns;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._whenQuietFns;\n /** @type {?} */\n TransitionAnimationEngine.prototype.namespacesByHostElement;\n /** @type {?} */\n TransitionAnimationEngine.prototype.collectedEnterElements;\n /** @type {?} */\n TransitionAnimationEngine.prototype.collectedLeaveElements;\n /** @type {?} */\n TransitionAnimationEngine.prototype.onRemovalComplete;\n /** @type {?} */\n TransitionAnimationEngine.prototype.bodyNode;\n /** @type {?} */\n TransitionAnimationEngine.prototype.driver;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationEngine.prototype._normalizer;\n}\nclass TransitionAnimationPlayer {\n /**\n * @param {?} namespaceId\n * @param {?} triggerName\n * @param {?} element\n */\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = {};\n this.destroyed = false;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n /**\n * @param {?} player\n * @return {?}\n */\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n Object.keys(this._queuedCallbacks).forEach((/**\n * @param {?} phase\n * @return {?}\n */\n phase => {\n this._queuedCallbacks[phase].forEach((/**\n * @param {?} callback\n * @return {?}\n */\n callback => listenOnPlayer(player, phase, undefined, callback)));\n }));\n this._queuedCallbacks = {};\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n ((/** @type {?} */ (this))).queued = false;\n }\n /**\n * @return {?}\n */\n getRealPlayer() {\n return this._player;\n }\n /**\n * @param {?} totalTime\n * @return {?}\n */\n overrideTotalTime(totalTime) {\n ((/** @type {?} */ (this))).totalTime = totalTime;\n }\n /**\n * @param {?} player\n * @return {?}\n */\n syncPlayerEvents(player) {\n /** @type {?} */\n const p = (/** @type {?} */ (this._player));\n if (p.triggerCallback) {\n player.onStart((/**\n * @return {?}\n */\n () => (/** @type {?} */ (p.triggerCallback))('start')));\n }\n player.onDone((/**\n * @return {?}\n */\n () => this.finish()));\n player.onDestroy((/**\n * @return {?}\n */\n () => this.destroy()));\n }\n /**\n * @private\n * @param {?} name\n * @param {?} callback\n * @return {?}\n */\n _queueEvent(name, callback) {\n getOrSetAsInMap(this._queuedCallbacks, name, []).push(callback);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n /**\n * @return {?}\n */\n init() {\n this._player.init();\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n /**\n * @return {?}\n */\n play() {\n !this.queued && this._player.play();\n }\n /**\n * @return {?}\n */\n pause() {\n !this.queued && this._player.pause();\n }\n /**\n * @return {?}\n */\n restart() {\n !this.queued && this._player.restart();\n }\n /**\n * @return {?}\n */\n finish() {\n this._player.finish();\n }\n /**\n * @return {?}\n */\n destroy() {\n ((/** @type {?} */ (this))).destroyed = true;\n this._player.destroy();\n }\n /**\n * @return {?}\n */\n reset() {\n !this.queued && this._player.reset();\n }\n /**\n * @param {?} p\n * @return {?}\n */\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /**\n * \\@internal\n * @param {?} phaseName\n * @return {?}\n */\n triggerCallback(phaseName) {\n /** @type {?} */\n const p = (/** @type {?} */ (this._player));\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationPlayer.prototype._player;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationPlayer.prototype._containsRealPlayer;\n /**\n * @type {?}\n * @private\n */\n TransitionAnimationPlayer.prototype._queuedCallbacks;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.destroyed;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.parentPlayer;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.markedForDestroy;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.disabled;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.queued;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.totalTime;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.namespaceId;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.triggerName;\n /** @type {?} */\n TransitionAnimationPlayer.prototype.element;\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction deleteOrUnsetInMap(map, key, value) {\n /** @type {?} */\n let currentValues;\n if (map instanceof Map) {\n currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n /** @type {?} */\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n }\n else {\n currentValues = map[key];\n if (currentValues) {\n if (currentValues.length) {\n /** @type {?} */\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n delete map[key];\n }\n }\n }\n return currentValues;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\n/**\n * @param {?} eventName\n * @return {?}\n */\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\n/**\n * @param {?} element\n * @param {?=} value\n * @return {?}\n */\nfunction cloakElement(element, value) {\n /** @type {?} */\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\n/**\n * @param {?} valuesMap\n * @param {?} driver\n * @param {?} elements\n * @param {?} elementPropsMap\n * @param {?} defaultStyle\n * @return {?}\n */\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n /** @type {?} */\n const cloakVals = [];\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => cloakVals.push(cloakElement(element))));\n /** @type {?} */\n const failedElements = [];\n elementPropsMap.forEach((/**\n * @param {?} props\n * @param {?} element\n * @return {?}\n */\n (props, element) => {\n /** @type {?} */\n const styles = {};\n props.forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = styles[prop] = driver.computeStyle(element, prop, defaultStyle);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n }));\n valuesMap.set(element, styles);\n }));\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n /** @type {?} */\n let i = 0;\n elements.forEach((/**\n * @param {?} element\n * @return {?}\n */\n element => cloakElement(element, cloakVals[i++])));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\n/**\n * @param {?} roots\n * @param {?} nodes\n * @return {?}\n */\nfunction buildRootMap(roots, nodes) {\n /** @type {?} */\n const rootMap = new Map();\n roots.forEach((/**\n * @param {?} root\n * @return {?}\n */\n root => rootMap.set(root, [])));\n if (nodes.length == 0)\n return rootMap;\n /** @type {?} */\n const NULL_NODE = 1;\n /** @type {?} */\n const nodeSet = new Set(nodes);\n /** @type {?} */\n const localRootMap = new Map();\n /**\n * @param {?} node\n * @return {?}\n */\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n /** @type {?} */\n let root = localRootMap.get(node);\n if (root)\n return root;\n /** @type {?} */\n const parent = node.parentNode;\n if (rootMap.has(parent)) { // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) { // ngIf inside ngIf\n root = NULL_NODE;\n }\n else { // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach((/**\n * @param {?} node\n * @return {?}\n */\n node => {\n /** @type {?} */\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n (/** @type {?} */ (rootMap.get(root))).push(node);\n }\n }));\n return rootMap;\n}\n/** @type {?} */\nconst CLASSES_CACHE_KEY = '$$classes';\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction containsClass(element, className) {\n if (element.classList) {\n return element.classList.contains(className);\n }\n else {\n /** @type {?} */\n const classes = element[CLASSES_CACHE_KEY];\n return classes && classes[className];\n }\n}\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction addClass(element, className) {\n if (element.classList) {\n element.classList.add(className);\n }\n else {\n /** @type {?} */\n let classes = element[CLASSES_CACHE_KEY];\n if (!classes) {\n classes = element[CLASSES_CACHE_KEY] = {};\n }\n classes[className] = true;\n }\n}\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n }\n else {\n /** @type {?} */\n let classes = element[CLASSES_CACHE_KEY];\n if (classes) {\n delete classes[className];\n }\n }\n}\n/**\n * @param {?} engine\n * @param {?} element\n * @param {?} players\n * @return {?}\n */\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone((/**\n * @return {?}\n */\n () => engine.processLeaveNode(element)));\n}\n/**\n * @param {?} players\n * @return {?}\n */\nfunction flattenGroupPlayers(players) {\n /** @type {?} */\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\n/**\n * @param {?} players\n * @param {?} finalPlayers\n * @return {?}\n */\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n /** @type {?} */\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction objEquals(a, b) {\n /** @type {?} */\n const k1 = Object.keys(a);\n /** @type {?} */\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n /** @type {?} */\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\n/**\n * @param {?} element\n * @param {?} allPreStyleElements\n * @param {?} allPostStyleElements\n * @return {?}\n */\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n /** @type {?} */\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n /** @type {?} */\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach((/**\n * @param {?} data\n * @return {?}\n */\n data => (/** @type {?} */ (preEntry)).add(data)));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/animation_engine_next.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass AnimationEngine {\n /**\n * @param {?} bodyNode\n * @param {?} _driver\n * @param {?} normalizer\n */\n constructor(bodyNode, _driver, normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n (element, context) => { });\n this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, normalizer);\n this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, normalizer);\n this._transitionEngine.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} context\n * @return {?}\n */\n (element, context) => this.onRemovalComplete(element, context));\n }\n /**\n * @param {?} componentId\n * @param {?} namespaceId\n * @param {?} hostElement\n * @param {?} name\n * @param {?} metadata\n * @return {?}\n */\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n /** @type {?} */\n const cacheKey = componentId + '-' + name;\n /** @type {?} */\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n /** @type {?} */\n const errors = [];\n /** @type {?} */\n const ast = (/** @type {?} */ (buildAnimationAst(this._driver, (/** @type {?} */ (metadata)), errors)));\n if (errors.length) {\n throw new Error(`The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.join('\\n - ')}`);\n }\n trigger = buildTrigger(name, ast);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n /**\n * @param {?} namespaceId\n * @param {?} hostElement\n * @return {?}\n */\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n /**\n * @param {?} namespaceId\n * @param {?} context\n * @return {?}\n */\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} parent\n * @param {?} insertBefore\n * @return {?}\n */\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} context\n * @param {?=} isHostElement\n * @return {?}\n */\n onRemove(namespaceId, element, context, isHostElement) {\n this._transitionEngine.removeNode(namespaceId, element, isHostElement || false, context);\n }\n /**\n * @param {?} element\n * @param {?} disable\n * @return {?}\n */\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} property\n * @param {?} value\n * @return {?}\n */\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n /** @type {?} */\n const args = (/** @type {?} */ (value));\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n /**\n * @param {?} namespaceId\n * @param {?} element\n * @param {?} eventName\n * @param {?} eventPhase\n * @param {?} callback\n * @return {?}\n */\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n /**\n * @param {?=} microtaskId\n * @return {?}\n */\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n /**\n * @return {?}\n */\n get players() {\n return ((/** @type {?} */ (this._transitionEngine.players)))\n .concat((/** @type {?} */ (this._timelineEngine.players)));\n }\n /**\n * @return {?}\n */\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._transitionEngine;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._timelineEngine;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._triggerCache;\n /** @type {?} */\n AnimationEngine.prototype.onRemovalComplete;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype.bodyNode;\n /**\n * @type {?}\n * @private\n */\n AnimationEngine.prototype._driver;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/special_cased_styles.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @param {?} element\n * @param {?} styles\n * @return {?} an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n /** @type {?} */\n let startStyles = null;\n /** @type {?} */\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) :\n null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n /**\n * @param {?} _element\n * @param {?} _startStyles\n * @param {?} _endStyles\n */\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* Pending */;\n /** @type {?} */\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = {});\n }\n this._initialStyles = initialStyles;\n }\n /**\n * @return {?}\n */\n start() {\n if (this._state < 1 /* Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* Started */;\n }\n }\n /**\n * @return {?}\n */\n finish() {\n this.start();\n if (this._state < 2 /* Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* Started */;\n }\n }\n /**\n * @return {?}\n */\n destroy() {\n this.finish();\n if (this._state < 3 /* Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* Destroyed */;\n }\n }\n}\nSpecialCasedStyles.initialStylesByElement = new WeakMap();\nif (false) {\n /** @type {?} */\n SpecialCasedStyles.initialStylesByElement;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._state;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._initialStyles;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._element;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._startStyles;\n /**\n * @type {?}\n * @private\n */\n SpecialCasedStyles.prototype._endStyles;\n}\n/** @enum {number} */\nconst SpecialCasedStylesState = {\n Pending: 0,\n Started: 1,\n Finished: 2,\n Destroyed: 3,\n};\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction filterNonAnimatableStyles(styles) {\n /** @type {?} */\n let result = null;\n /** @type {?} */\n const props = Object.keys(styles);\n for (let i = 0; i < props.length; i++) {\n /** @type {?} */\n const prop = props[i];\n if (isNonAnimatableStyle(prop)) {\n result = result || {};\n result[prop] = styles[prop];\n }\n }\n return result;\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/element_animation_style_handler.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;\n/** @type {?} */\nconst ANIMATION_PROP = 'animation';\n/** @type {?} */\nconst ANIMATIONEND_EVENT = 'animationend';\n/** @type {?} */\nconst ONE_SECOND$1 = 1000;\nclass ElementAnimationStyleHandler {\n /**\n * @param {?} _element\n * @param {?} _name\n * @param {?} _duration\n * @param {?} _delay\n * @param {?} _easing\n * @param {?} _fillMode\n * @param {?} _onDoneFn\n */\n constructor(_element, _name, _duration, _delay, _easing, _fillMode, _onDoneFn) {\n this._element = _element;\n this._name = _name;\n this._duration = _duration;\n this._delay = _delay;\n this._easing = _easing;\n this._fillMode = _fillMode;\n this._onDoneFn = _onDoneFn;\n this._finished = false;\n this._destroyed = false;\n this._startTime = 0;\n this._position = 0;\n this._eventFn = (/**\n * @param {?} e\n * @return {?}\n */\n (e) => this._handleCallback(e));\n }\n /**\n * @return {?}\n */\n apply() {\n applyKeyframeAnimation(this._element, `${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`);\n addRemoveAnimationEvent(this._element, this._eventFn, false);\n this._startTime = Date.now();\n }\n /**\n * @return {?}\n */\n pause() {\n playPauseAnimation(this._element, this._name, 'paused');\n }\n /**\n * @return {?}\n */\n resume() {\n playPauseAnimation(this._element, this._name, 'running');\n }\n /**\n * @param {?} position\n * @return {?}\n */\n setPosition(position) {\n /** @type {?} */\n const index = findIndexForAnimation(this._element, this._name);\n this._position = position * this._duration;\n setAnimationStyle(this._element, 'Delay', `-${this._position}ms`, index);\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this._position;\n }\n /**\n * @private\n * @param {?} event\n * @return {?}\n */\n _handleCallback(event) {\n /** @type {?} */\n const timestamp = event._ngTestManualTimestamp || Date.now();\n /** @type {?} */\n const elapsedTime = parseFloat(event.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES)) * ONE_SECOND$1;\n if (event.animationName == this._name &&\n Math.max(timestamp - this._startTime, 0) >= this._delay && elapsedTime >= this._duration) {\n this.finish();\n }\n }\n /**\n * @return {?}\n */\n finish() {\n if (this._finished)\n return;\n this._finished = true;\n this._onDoneFn();\n addRemoveAnimationEvent(this._element, this._eventFn, true);\n }\n /**\n * @return {?}\n */\n destroy() {\n if (this._destroyed)\n return;\n this._destroyed = true;\n this.finish();\n removeKeyframeAnimation(this._element, this._name);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._eventFn;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._finished;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._destroyed;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._startTime;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._position;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._element;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._name;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._duration;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._delay;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._easing;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._fillMode;\n /**\n * @type {?}\n * @private\n */\n ElementAnimationStyleHandler.prototype._onDoneFn;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @param {?} status\n * @return {?}\n */\nfunction playPauseAnimation(element, name, status) {\n /** @type {?} */\n const index = findIndexForAnimation(element, name);\n setAnimationStyle(element, 'PlayState', status, index);\n}\n/**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\nfunction applyKeyframeAnimation(element, value) {\n /** @type {?} */\n const anim = getAnimationStyle(element, '').trim();\n /** @type {?} */\n let index = 0;\n if (anim.length) {\n index = countChars(anim, ',') + 1;\n value = `${anim}, ${value}`;\n }\n setAnimationStyle(element, '', value);\n return index;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @return {?}\n */\nfunction removeKeyframeAnimation(element, name) {\n /** @type {?} */\n const anim = getAnimationStyle(element, '');\n /** @type {?} */\n const tokens = anim.split(',');\n /** @type {?} */\n const index = findMatchingTokenIndex(tokens, name);\n if (index >= 0) {\n tokens.splice(index, 1);\n /** @type {?} */\n const newValue = tokens.join(',');\n setAnimationStyle(element, '', newValue);\n }\n}\n/**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\nfunction findIndexForAnimation(element, value) {\n /** @type {?} */\n const anim = getAnimationStyle(element, '');\n if (anim.indexOf(',') > 0) {\n /** @type {?} */\n const tokens = anim.split(',');\n return findMatchingTokenIndex(tokens, value);\n }\n return findMatchingTokenIndex([anim], value);\n}\n/**\n * @param {?} tokens\n * @param {?} searchToken\n * @return {?}\n */\nfunction findMatchingTokenIndex(tokens, searchToken) {\n for (let i = 0; i < tokens.length; i++) {\n if (tokens[i].indexOf(searchToken) >= 0) {\n return i;\n }\n }\n return -1;\n}\n/**\n * @param {?} element\n * @param {?} fn\n * @param {?} doRemove\n * @return {?}\n */\nfunction addRemoveAnimationEvent(element, fn, doRemove) {\n doRemove ? element.removeEventListener(ANIMATIONEND_EVENT, fn) :\n element.addEventListener(ANIMATIONEND_EVENT, fn);\n}\n/**\n * @param {?} element\n * @param {?} name\n * @param {?} value\n * @param {?=} index\n * @return {?}\n */\nfunction setAnimationStyle(element, name, value, index) {\n /** @type {?} */\n const prop = ANIMATION_PROP + name;\n if (index != null) {\n /** @type {?} */\n const oldValue = element.style[prop];\n if (oldValue.length) {\n /** @type {?} */\n const tokens = oldValue.split(',');\n tokens[index] = value;\n value = tokens.join(',');\n }\n }\n element.style[prop] = value;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @return {?}\n */\nfunction getAnimationStyle(element, name) {\n return element.style[ANIMATION_PROP + name];\n}\n/**\n * @param {?} value\n * @param {?} char\n * @return {?}\n */\nfunction countChars(value, char) {\n /** @type {?} */\n let count = 0;\n for (let i = 0; i < value.length; i++) {\n /** @type {?} */\n const c = value.charAt(i);\n if (c === char)\n count++;\n }\n return count;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/css_keyframes_player.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_FILL_MODE = 'forwards';\n/** @type {?} */\nconst DEFAULT_EASING = 'linear';\n/** @enum {number} */\nconst AnimatorControlState = {\n INITIALIZED: 1,\n STARTED: 2,\n FINISHED: 3,\n DESTROYED: 4,\n};\nclass CssKeyframesPlayer {\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} animationName\n * @param {?} _duration\n * @param {?} _delay\n * @param {?} easing\n * @param {?} _finalStyles\n * @param {?=} _specialStyles\n */\n constructor(element, keyframes, animationName, _duration, _delay, easing, _finalStyles, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.animationName = animationName;\n this._duration = _duration;\n this._delay = _delay;\n this._finalStyles = _finalStyles;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._started = false;\n this.currentSnapshot = {};\n this._state = 0;\n this.easing = easing || DEFAULT_EASING;\n this.totalTime = _duration + _delay;\n this._buildStyler();\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n /**\n * @return {?}\n */\n destroy() {\n this.init();\n if (this._state >= 4 /* DESTROYED */)\n return;\n this._state = 4 /* DESTROYED */;\n this._styler.destroy();\n this._flushStartFns();\n this._flushDoneFns();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDestroyFns = [];\n }\n /**\n * @private\n * @return {?}\n */\n _flushDoneFns() {\n this._onDoneFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDoneFns = [];\n }\n /**\n * @private\n * @return {?}\n */\n _flushStartFns() {\n this._onStartFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onStartFns = [];\n }\n /**\n * @return {?}\n */\n finish() {\n this.init();\n if (this._state >= 3 /* FINISHED */)\n return;\n this._state = 3 /* FINISHED */;\n this._styler.finish();\n this._flushStartFns();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._flushDoneFns();\n }\n /**\n * @param {?} value\n * @return {?}\n */\n setPosition(value) {\n this._styler.setPosition(value);\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this._styler.getPosition();\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this._state >= 2 /* STARTED */;\n }\n /**\n * @return {?}\n */\n init() {\n if (this._state >= 1 /* INITIALIZED */)\n return;\n this._state = 1 /* INITIALIZED */;\n /** @type {?} */\n const elm = this.element;\n this._styler.apply();\n if (this._delay) {\n this._styler.pause();\n }\n }\n /**\n * @return {?}\n */\n play() {\n this.init();\n if (!this.hasStarted()) {\n this._flushStartFns();\n this._state = 2 /* STARTED */;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this._styler.resume();\n }\n /**\n * @return {?}\n */\n pause() {\n this.init();\n this._styler.pause();\n }\n /**\n * @return {?}\n */\n restart() {\n this.reset();\n this.play();\n }\n /**\n * @return {?}\n */\n reset() {\n this._styler.destroy();\n this._buildStyler();\n this._styler.apply();\n }\n /**\n * @private\n * @return {?}\n */\n _buildStyler() {\n this._styler = new ElementAnimationStyleHandler(this.element, this.animationName, this._duration, this._delay, this.easing, DEFAULT_FILL_MODE, (/**\n * @return {?}\n */\n () => this.finish()));\n }\n /**\n * \\@internal\n * @param {?} phaseName\n * @return {?}\n */\n triggerCallback(phaseName) {\n /** @type {?} */\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n methods.length = 0;\n }\n /**\n * @return {?}\n */\n beforeDestroy() {\n this.init();\n /** @type {?} */\n const styles = {};\n if (this.hasStarted()) {\n /** @type {?} */\n const finished = this._state >= 3 /* FINISHED */;\n Object.keys(this._finalStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (prop != 'offset') {\n styles[prop] = finished ? this._finalStyles[prop] : computeStyle(this.element, prop);\n }\n }));\n }\n this.currentSnapshot = styles;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._onDoneFns;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._onStartFns;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._onDestroyFns;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._started;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._styler;\n /** @type {?} */\n CssKeyframesPlayer.prototype.parentPlayer;\n /** @type {?} */\n CssKeyframesPlayer.prototype.totalTime;\n /** @type {?} */\n CssKeyframesPlayer.prototype.easing;\n /** @type {?} */\n CssKeyframesPlayer.prototype.currentSnapshot;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._state;\n /** @type {?} */\n CssKeyframesPlayer.prototype.element;\n /** @type {?} */\n CssKeyframesPlayer.prototype.keyframes;\n /** @type {?} */\n CssKeyframesPlayer.prototype.animationName;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._duration;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._delay;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._finalStyles;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesPlayer.prototype._specialStyles;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/direct_style_player.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass DirectStylePlayer extends NoopAnimationPlayer {\n /**\n * @param {?} element\n * @param {?} styles\n */\n constructor(element, styles) {\n super();\n this.element = element;\n this._startingStyles = {};\n this.__initialized = false;\n this._styles = hypenatePropsObject(styles);\n }\n /**\n * @return {?}\n */\n init() {\n if (this.__initialized || !this._startingStyles)\n return;\n this.__initialized = true;\n Object.keys(this._styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n (/** @type {?} */ (this._startingStyles))[prop] = this.element.style[prop];\n }));\n super.init();\n }\n /**\n * @return {?}\n */\n play() {\n if (!this._startingStyles)\n return;\n this.init();\n Object.keys(this._styles)\n .forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => this.element.style.setProperty(prop, this._styles[prop])));\n super.play();\n }\n /**\n * @return {?}\n */\n destroy() {\n if (!this._startingStyles)\n return;\n Object.keys(this._startingStyles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = (/** @type {?} */ (this._startingStyles))[prop];\n if (value) {\n this.element.style.setProperty(prop, value);\n }\n else {\n this.element.style.removeProperty(prop);\n }\n }));\n this._startingStyles = null;\n super.destroy();\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n DirectStylePlayer.prototype._startingStyles;\n /**\n * @type {?}\n * @private\n */\n DirectStylePlayer.prototype.__initialized;\n /**\n * @type {?}\n * @private\n */\n DirectStylePlayer.prototype._styles;\n /** @type {?} */\n DirectStylePlayer.prototype.element;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/css_keyframes/css_keyframes_driver.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst KEYFRAMES_NAME_PREFIX = 'gen_css_kf_';\n/** @type {?} */\nconst TAB_SPACE = ' ';\nclass CssKeyframesDriver {\n constructor() {\n this._count = 0;\n this._head = document.querySelector('head');\n this._warningIssued = false;\n }\n /**\n * @param {?} prop\n * @return {?}\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n matchesElement(element, selector) {\n return matchesElement(element, selector);\n }\n /**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n computeStyle(element, prop, defaultValue) {\n return (/** @type {?} */ (((/** @type {?} */ (window.getComputedStyle(element))))[prop]));\n }\n /**\n * @param {?} element\n * @param {?} name\n * @param {?} keyframes\n * @return {?}\n */\n buildKeyframeElement(element, name, keyframes) {\n keyframes = keyframes.map((/**\n * @param {?} kf\n * @return {?}\n */\n kf => hypenatePropsObject(kf)));\n /** @type {?} */\n let keyframeStr = `@keyframes ${name} {\\n`;\n /** @type {?} */\n let tab = '';\n keyframes.forEach((/**\n * @param {?} kf\n * @return {?}\n */\n kf => {\n tab = TAB_SPACE;\n /** @type {?} */\n const offset = parseFloat(kf['offset']);\n keyframeStr += `${tab}${offset * 100}% {\\n`;\n tab += TAB_SPACE;\n Object.keys(kf).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n /** @type {?} */\n const value = kf[prop];\n switch (prop) {\n case 'offset':\n return;\n case 'easing':\n if (value) {\n keyframeStr += `${tab}animation-timing-function: ${value};\\n`;\n }\n return;\n default:\n keyframeStr += `${tab}${prop}: ${value};\\n`;\n return;\n }\n }));\n keyframeStr += `${tab}}\\n`;\n }));\n keyframeStr += `}\\n`;\n /** @type {?} */\n const kfElm = document.createElement('style');\n kfElm.innerHTML = keyframeStr;\n return kfElm;\n }\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n if (scrubberAccessRequested) {\n this._notifyFaultyScrubber();\n }\n /** @type {?} */\n const previousCssKeyframePlayers = (/** @type {?} */ (previousPlayers.filter((/**\n * @param {?} player\n * @return {?}\n */\n player => player instanceof CssKeyframesPlayer))));\n /** @type {?} */\n const previousStyles = {};\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousCssKeyframePlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n let styles = player.currentSnapshot;\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => previousStyles[prop] = styles[prop]));\n }));\n }\n keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n /** @type {?} */\n const finalStyles = flattenKeyframesIntoStyles(keyframes);\n // if there is no animation then there is no point in applying\n // styles and waiting for an event to get fired. This causes lag.\n // It's better to just directly apply the styles to the element\n // via the direct styling animation player.\n if (duration == 0) {\n return new DirectStylePlayer(element, finalStyles);\n }\n /** @type {?} */\n const animationName = `${KEYFRAMES_NAME_PREFIX}${this._count++}`;\n /** @type {?} */\n const kfElm = this.buildKeyframeElement(element, animationName, keyframes);\n (/** @type {?} */ (document.querySelector('head'))).appendChild(kfElm);\n /** @type {?} */\n const specialStyles = packageNonAnimatableStyles(element, keyframes);\n /** @type {?} */\n const player = new CssKeyframesPlayer(element, keyframes, animationName, duration, delay, easing, finalStyles, specialStyles);\n player.onDestroy((/**\n * @return {?}\n */\n () => removeElement(kfElm)));\n return player;\n }\n /**\n * @private\n * @return {?}\n */\n _notifyFaultyScrubber() {\n if (!this._warningIssued) {\n console.warn('@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\\n', ' visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill.');\n this._warningIssued = true;\n }\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n CssKeyframesDriver.prototype._count;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesDriver.prototype._head;\n /**\n * @type {?}\n * @private\n */\n CssKeyframesDriver.prototype._warningIssued;\n}\n/**\n * @param {?} keyframes\n * @return {?}\n */\nfunction flattenKeyframesIntoStyles(keyframes) {\n /** @type {?} */\n let flatKeyframes = {};\n if (keyframes) {\n /** @type {?} */\n const kfs = Array.isArray(keyframes) ? keyframes : [keyframes];\n kfs.forEach((/**\n * @param {?} kf\n * @return {?}\n */\n kf => {\n Object.keys(kf).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (prop == 'offset' || prop == 'easing')\n return;\n flatKeyframes[prop] = kf[prop];\n }));\n }));\n }\n return flatKeyframes;\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction removeElement(node) {\n node.parentNode.removeChild(node);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/web_animations/web_animations_player.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsPlayer {\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} options\n * @param {?=} _specialStyles\n */\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = {};\n this._duration = (/** @type {?} */ (options['duration']));\n this._delay = (/** @type {?} */ (options['delay'])) || 0;\n this.time = this._duration + this._delay;\n }\n /**\n * @private\n * @return {?}\n */\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDoneFns = [];\n }\n }\n /**\n * @return {?}\n */\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n /**\n * @private\n * @return {?}\n */\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n /** @type {?} */\n const keyframes = this.keyframes;\n ((/** @type {?} */ (this))).domPlayer =\n this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : {};\n this.domPlayer.addEventListener('finish', (/**\n * @return {?}\n */\n () => this._onFinish()));\n }\n /**\n * @private\n * @return {?}\n */\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n /**\n * \\@internal\n * @param {?} element\n * @param {?} keyframes\n * @param {?} options\n * @return {?}\n */\n _triggerWebAnimation(element, keyframes, options) {\n // jscompiler doesn't seem to know animate is a native property because it's not fully\n // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929]\n return (/** @type {?} */ (element['animate'](keyframes, options)));\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n /**\n * @return {?}\n */\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n /**\n * @return {?}\n */\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n /**\n * @return {?}\n */\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n /**\n * @return {?}\n */\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n }\n /**\n * @private\n * @return {?}\n */\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n /**\n * @return {?}\n */\n restart() {\n this.reset();\n this.play();\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this._started;\n }\n /**\n * @return {?}\n */\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n this._onDestroyFns = [];\n }\n }\n /**\n * @param {?} p\n * @return {?}\n */\n setPosition(p) {\n this.domPlayer.currentTime = p * this.time;\n }\n /**\n * @return {?}\n */\n getPosition() {\n return this.domPlayer.currentTime / this.time;\n }\n /**\n * @return {?}\n */\n get totalTime() {\n return this._delay + this._duration;\n }\n /**\n * @return {?}\n */\n beforeDestroy() {\n /** @type {?} */\n const styles = {};\n if (this.hasStarted()) {\n Object.keys(this._finalKeyframe).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => {\n if (prop != 'offset') {\n styles[prop] =\n this._finished ? this._finalKeyframe[prop] : computeStyle(this.element, prop);\n }\n }));\n }\n this.currentSnapshot = styles;\n }\n /**\n * \\@internal\n * @param {?} phaseName\n * @return {?}\n */\n triggerCallback(phaseName) {\n /** @type {?} */\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n fn => fn()));\n methods.length = 0;\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._onDoneFns;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._onStartFns;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._onDestroyFns;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._duration;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._delay;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._initialized;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._finished;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._started;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._destroyed;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._finalKeyframe;\n /** @type {?} */\n WebAnimationsPlayer.prototype.domPlayer;\n /** @type {?} */\n WebAnimationsPlayer.prototype.time;\n /** @type {?} */\n WebAnimationsPlayer.prototype.parentPlayer;\n /** @type {?} */\n WebAnimationsPlayer.prototype.currentSnapshot;\n /** @type {?} */\n WebAnimationsPlayer.prototype.element;\n /** @type {?} */\n WebAnimationsPlayer.prototype.keyframes;\n /** @type {?} */\n WebAnimationsPlayer.prototype.options;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsPlayer.prototype._specialStyles;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/render/web_animations/web_animations_driver.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsDriver {\n constructor() {\n this._isNativeImpl = /\\{\\s*\\[native\\s+code\\]\\s*\\}/.test(getElementAnimateFn().toString());\n this._cssKeyframesDriver = new CssKeyframesDriver();\n }\n /**\n * @param {?} prop\n * @return {?}\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n matchesElement(element, selector) {\n return matchesElement(element, selector);\n }\n /**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @param {?} element\n * @param {?} prop\n * @param {?=} defaultValue\n * @return {?}\n */\n computeStyle(element, prop, defaultValue) {\n return (/** @type {?} */ (((/** @type {?} */ (window.getComputedStyle(element))))[prop]));\n }\n /**\n * @param {?} supported\n * @return {?}\n */\n overrideWebAnimationsSupport(supported) {\n this._isNativeImpl = supported;\n }\n /**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @param {?=} previousPlayers\n * @param {?=} scrubberAccessRequested\n * @return {?}\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n /** @type {?} */\n const useKeyframes = !scrubberAccessRequested && !this._isNativeImpl;\n if (useKeyframes) {\n return this._cssKeyframesDriver.animate(element, keyframes, duration, delay, easing, previousPlayers);\n }\n /** @type {?} */\n const fill = delay == 0 ? 'both' : 'forwards';\n /** @type {?} */\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n /** @type {?} */\n const previousStyles = {};\n /** @type {?} */\n const previousWebAnimationPlayers = (/** @type {?} */ (previousPlayers.filter((/**\n * @param {?} player\n * @return {?}\n */\n player => player instanceof WebAnimationsPlayer))));\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach((/**\n * @param {?} player\n * @return {?}\n */\n player => {\n /** @type {?} */\n let styles = player.currentSnapshot;\n Object.keys(styles).forEach((/**\n * @param {?} prop\n * @return {?}\n */\n prop => previousStyles[prop] = styles[prop]));\n }));\n }\n keyframes = keyframes.map((/**\n * @param {?} styles\n * @return {?}\n */\n styles => copyStyles(styles, false)));\n keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n /** @type {?} */\n const specialStyles = packageNonAnimatableStyles(element, keyframes);\n return new WebAnimationsPlayer(element, keyframes, playerOptions, specialStyles);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n WebAnimationsDriver.prototype._isNativeImpl;\n /**\n * @type {?}\n * @private\n */\n WebAnimationsDriver.prototype._cssKeyframesDriver;\n}\n/**\n * @return {?}\n */\nfunction supportsWebAnimations() {\n return typeof getElementAnimateFn() === 'function';\n}\n/**\n * @return {?}\n */\nfunction getElementAnimateFn() {\n return (isBrowser() && ((/** @type {?} */ (Element))).prototype['animate']) || {};\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/private_export.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/src/browser.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/public_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/animations/browser/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, CssKeyframesDriver as ɵCssKeyframesDriver, CssKeyframesPlayer as ɵCssKeyframesPlayer, NoopAnimationDriver as ɵNoopAnimationDriver, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, SpecialCasedStyles as ɵangular_packages_animations_browser_browser_a, containsElement as ɵcontainsElement, invokeQuery as ɵinvokeQuery, matchesElement as ɵmatchesElement, supportsWebAnimations as ɵsupportsWebAnimations, validateStyleProperty as ɵvalidateStyleProperty };\n\n//# sourceMappingURL=browser.js.map","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ViewEncapsulation, Injectable, RendererFactory2, Inject, NgZone, InjectionToken, NgModule } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport { AnimationBuilder, sequence, AnimationFactory } from '@angular/animations';\nimport { ɵAnimationEngine, AnimationDriver, ɵAnimationStyleNormalizer, ɵsupportsWebAnimations, ɵWebAnimationsDriver, ɵCssKeyframesDriver, ɵWebAnimationsStyleNormalizer, ɵNoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/animation_builder.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/animations/browser';\nclass BrowserAnimationBuilder extends AnimationBuilder {\n /**\n * @param {?} rootRenderer\n * @param {?} doc\n */\n constructor(rootRenderer, doc) {\n super();\n this._nextAnimationId = 0;\n /** @type {?} */\n const typeData = (/** @type {?} */ ({ id: '0', encapsulation: ViewEncapsulation.None, styles: [], data: { animation: [] } }));\n this._renderer = (/** @type {?} */ (rootRenderer.createRenderer(doc.body, typeData)));\n }\n /**\n * @param {?} animation\n * @return {?}\n */\n build(animation) {\n /** @type {?} */\n const id = this._nextAnimationId.toString();\n this._nextAnimationId++;\n /** @type {?} */\n const entry = Array.isArray(animation) ? sequence(animation) : animation;\n issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n return new BrowserAnimationFactory(id, this._renderer);\n }\n}\nBrowserAnimationBuilder.ɵfac = function BrowserAnimationBuilder_Factory(t) { return new (t || BrowserAnimationBuilder)(ɵngcc0.ɵɵinject(ɵngcc0.RendererFactory2), ɵngcc0.ɵɵinject(DOCUMENT)); };\nBrowserAnimationBuilder.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: BrowserAnimationBuilder, factory: BrowserAnimationBuilder.ɵfac });\n/** @nocollapse */\nBrowserAnimationBuilder.ctorParameters = () => [\n { type: RendererFactory2 },\n { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(BrowserAnimationBuilder, [{\n type: Injectable\n }], function () { return [{ type: ɵngcc0.RendererFactory2 }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationBuilder.prototype._nextAnimationId;\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationBuilder.prototype._renderer;\n}\nclass BrowserAnimationFactory extends AnimationFactory {\n /**\n * @param {?} _id\n * @param {?} _renderer\n */\n constructor(_id, _renderer) {\n super();\n this._id = _id;\n this._renderer = _renderer;\n }\n /**\n * @param {?} element\n * @param {?=} options\n * @return {?}\n */\n create(element, options) {\n return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationFactory.prototype._id;\n /**\n * @type {?}\n * @private\n */\n BrowserAnimationFactory.prototype._renderer;\n}\nclass RendererAnimationPlayer {\n /**\n * @param {?} id\n * @param {?} element\n * @param {?} options\n * @param {?} _renderer\n */\n constructor(id, element, options, _renderer) {\n this.id = id;\n this.element = element;\n this._renderer = _renderer;\n this.parentPlayer = null;\n this._started = false;\n this.totalTime = 0;\n this._command('create', options);\n }\n /**\n * @private\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n _listen(eventName, callback) {\n return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);\n }\n /**\n * @private\n * @param {?} command\n * @param {...?} args\n * @return {?}\n */\n _command(command, ...args) {\n return issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDone(fn) {\n this._listen('done', fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onStart(fn) {\n this._listen('start', fn);\n }\n /**\n * @param {?} fn\n * @return {?}\n */\n onDestroy(fn) {\n this._listen('destroy', fn);\n }\n /**\n * @return {?}\n */\n init() {\n this._command('init');\n }\n /**\n * @return {?}\n */\n hasStarted() {\n return this._started;\n }\n /**\n * @return {?}\n */\n play() {\n this._command('play');\n this._started = true;\n }\n /**\n * @return {?}\n */\n pause() {\n this._command('pause');\n }\n /**\n * @return {?}\n */\n restart() {\n this._command('restart');\n }\n /**\n * @return {?}\n */\n finish() {\n this._command('finish');\n }\n /**\n * @return {?}\n */\n destroy() {\n this._command('destroy');\n }\n /**\n * @return {?}\n */\n reset() {\n this._command('reset');\n }\n /**\n * @param {?} p\n * @return {?}\n */\n setPosition(p) {\n this._command('setPosition', p);\n }\n /**\n * @return {?}\n */\n getPosition() {\n return 0;\n }\n}\nif (false) {\n /** @type {?} */\n RendererAnimationPlayer.prototype.parentPlayer;\n /**\n * @type {?}\n * @private\n */\n RendererAnimationPlayer.prototype._started;\n /** @type {?} */\n RendererAnimationPlayer.prototype.totalTime;\n /** @type {?} */\n RendererAnimationPlayer.prototype.id;\n /** @type {?} */\n RendererAnimationPlayer.prototype.element;\n /**\n * @type {?}\n * @private\n */\n RendererAnimationPlayer.prototype._renderer;\n}\n/**\n * @param {?} renderer\n * @param {?} element\n * @param {?} id\n * @param {?} command\n * @param {?} args\n * @return {?}\n */\nfunction issueAnimationCommand(renderer, element, id, command, args) {\n return renderer.setProperty(element, `@@${id}:${command}`, args);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/animation_renderer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ANIMATION_PREFIX = '@';\n/** @type {?} */\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\n/**\n * @record\n */\nfunction RecursiveAnimationTriggerMetadata() { }\nclass AnimationRendererFactory {\n /**\n * @param {?} delegate\n * @param {?} engine\n * @param {?} _zone\n */\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n this._currentId = 0;\n this._microtaskId = 1;\n this._animationCallbacksBuffer = [];\n this._rendererCache = new Map();\n this._cdRecurDepth = 0;\n this.promise = Promise.resolve(0);\n engine.onRemovalComplete = (/**\n * @param {?} element\n * @param {?} delegate\n * @return {?}\n */\n (element, delegate) => {\n // Note: if an component element has a leave animation, and the component\n // a host leave animation, the view engine will call `removeChild` for the parent\n // component renderer as well as for the child component renderer.\n // Therefore, we need to check if we already removed the element.\n if (delegate && delegate.parentNode(element)) {\n delegate.removeChild(element.parentNode, element);\n }\n });\n }\n /**\n * @param {?} hostElement\n * @param {?} type\n * @return {?}\n */\n createRenderer(hostElement, type) {\n /** @type {?} */\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n /** @type {?} */\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type || !type.data || !type.data['animation']) {\n /** @type {?} */\n let renderer = this._rendererCache.get(delegate);\n if (!renderer) {\n renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine);\n // only cache this result when the base renderer is used\n this._rendererCache.set(delegate, renderer);\n }\n return renderer;\n }\n /** @type {?} */\n const componentId = type.id;\n /** @type {?} */\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n /** @type {?} */\n const registerTrigger = (/**\n * @param {?} trigger\n * @return {?}\n */\n (trigger) => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n }\n else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n });\n /** @type {?} */\n const animationTriggers = (/** @type {?} */ (type.data['animation']));\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n /**\n * @return {?}\n */\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n /**\n * @private\n * @return {?}\n */\n _scheduleCountTask() {\n // always use promise to schedule microtask instead of use Zone\n this.promise.then((/**\n * @return {?}\n */\n () => {\n this._microtaskId++;\n }));\n }\n /**\n * \\@internal\n * @param {?} count\n * @param {?} fn\n * @param {?} data\n * @return {?}\n */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run((/**\n * @return {?}\n */\n () => fn(data)));\n return;\n }\n if (this._animationCallbacksBuffer.length == 0) {\n Promise.resolve(null).then((/**\n * @return {?}\n */\n () => {\n this._zone.run((/**\n * @return {?}\n */\n () => {\n this._animationCallbacksBuffer.forEach((/**\n * @param {?} tuple\n * @return {?}\n */\n tuple => {\n const [fn, data] = tuple;\n fn(data);\n }));\n this._animationCallbacksBuffer = [];\n }));\n }));\n }\n this._animationCallbacksBuffer.push([fn, data]);\n }\n /**\n * @return {?}\n */\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular((/**\n * @return {?}\n */\n () => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n }));\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n /**\n * @return {?}\n */\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n}\nAnimationRendererFactory.ɵfac = function AnimationRendererFactory_Factory(t) { return new (t || AnimationRendererFactory)(ɵngcc0.ɵɵinject(ɵngcc0.RendererFactory2), ɵngcc0.ɵɵinject(ɵngcc1.ɵAnimationEngine), ɵngcc0.ɵɵinject(ɵngcc0.NgZone)); };\nAnimationRendererFactory.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: AnimationRendererFactory, factory: AnimationRendererFactory.ɵfac });\n/** @nocollapse */\nAnimationRendererFactory.ctorParameters = () => [\n { type: RendererFactory2 },\n { type: ɵAnimationEngine },\n { type: NgZone }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(AnimationRendererFactory, [{\n type: Injectable\n }], function () { return [{ type: ɵngcc0.RendererFactory2 }, { type: ɵngcc1.ɵAnimationEngine }, { type: ɵngcc0.NgZone }]; }, null); })();\nif (false) {\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._currentId;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._microtaskId;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._animationCallbacksBuffer;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._rendererCache;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._cdRecurDepth;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype.promise;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype.delegate;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype.engine;\n /**\n * @type {?}\n * @private\n */\n AnimationRendererFactory.prototype._zone;\n}\nclass BaseAnimationRenderer {\n /**\n * @param {?} namespaceId\n * @param {?} delegate\n * @param {?} engine\n */\n constructor(namespaceId, delegate, engine) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this.destroyNode = this.delegate.destroyNode ? (/**\n * @param {?} n\n * @return {?}\n */\n (n) => (/** @type {?} */ (delegate.destroyNode))(n)) : null;\n }\n /**\n * @return {?}\n */\n get data() {\n return this.delegate.data;\n }\n /**\n * @return {?}\n */\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.delegate.destroy();\n }\n /**\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n /**\n * @param {?} value\n * @return {?}\n */\n createComment(value) {\n return this.delegate.createComment(value);\n }\n /**\n * @param {?} value\n * @return {?}\n */\n createText(value) {\n return this.delegate.createText(value);\n }\n /**\n * @param {?} parent\n * @param {?} newChild\n * @return {?}\n */\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n /**\n * @param {?} parent\n * @param {?} newChild\n * @param {?} refChild\n * @return {?}\n */\n insertBefore(parent, newChild, refChild) {\n this.delegate.insertBefore(parent, newChild, refChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, true);\n }\n /**\n * @param {?} parent\n * @param {?} oldChild\n * @param {?} isHostElement\n * @return {?}\n */\n removeChild(parent, oldChild, isHostElement) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement);\n }\n /**\n * @param {?} selectorOrNode\n * @param {?=} preserveContent\n * @return {?}\n */\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n /**\n * @param {?} node\n * @return {?}\n */\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n /**\n * @param {?} node\n * @return {?}\n */\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @param {?=} namespace\n * @return {?}\n */\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n /**\n * @param {?} el\n * @param {?} style\n * @param {?} value\n * @param {?=} flags\n * @return {?}\n */\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n /**\n * @param {?} el\n * @param {?} style\n * @param {?=} flags\n * @return {?}\n */\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n /**\n * @param {?} node\n * @param {?} value\n * @return {?}\n */\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n /**\n * @param {?} target\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n listen(target, eventName, callback) {\n return this.delegate.listen(target, eventName, callback);\n }\n /**\n * @protected\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nif (false) {\n /** @type {?} */\n BaseAnimationRenderer.prototype.destroyNode;\n /**\n * @type {?}\n * @protected\n */\n BaseAnimationRenderer.prototype.namespaceId;\n /** @type {?} */\n BaseAnimationRenderer.prototype.delegate;\n /** @type {?} */\n BaseAnimationRenderer.prototype.engine;\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n /**\n * @param {?} factory\n * @param {?} namespaceId\n * @param {?} delegate\n * @param {?} engine\n */\n constructor(factory, namespaceId, delegate, engine) {\n super(namespaceId, delegate, engine);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, (/** @type {?} */ (value)));\n }\n else {\n this.engine.process(this.namespaceId, el, name.substr(1), value);\n }\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n /**\n * @param {?} target\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n listen(target, eventName, callback) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n /** @type {?} */\n const element = resolveElementFromTarget(target);\n /** @type {?} */\n let name = eventName.substr(1);\n /** @type {?} */\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, (/**\n * @param {?} event\n * @return {?}\n */\n event => {\n /** @type {?} */\n const countId = ((/** @type {?} */ (event)))['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n }));\n }\n return this.delegate.listen(target, eventName, callback);\n }\n}\nif (false) {\n /** @type {?} */\n AnimationRenderer.prototype.factory;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\n/**\n * @param {?} triggerName\n * @return {?}\n */\nfunction parseTriggerCallbackName(triggerName) {\n /** @type {?} */\n const dotIndex = triggerName.indexOf('.');\n /** @type {?} */\n const trigger = triggerName.substring(0, dotIndex);\n /** @type {?} */\n const phase = triggerName.substr(dotIndex + 1);\n return [trigger, phase];\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/providers.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass InjectableAnimationEngine extends ɵAnimationEngine {\n /**\n * @param {?} doc\n * @param {?} driver\n * @param {?} normalizer\n */\n constructor(doc, driver, normalizer) {\n super(doc.body, driver, normalizer);\n }\n}\nInjectableAnimationEngine.ɵfac = function InjectableAnimationEngine_Factory(t) { return new (t || InjectableAnimationEngine)(ɵngcc0.ɵɵinject(DOCUMENT), ɵngcc0.ɵɵinject(ɵngcc1.AnimationDriver), ɵngcc0.ɵɵinject(ɵngcc1.ɵAnimationStyleNormalizer)); };\nInjectableAnimationEngine.ɵprov = ɵngcc0.ɵɵdefineInjectable({ token: InjectableAnimationEngine, factory: InjectableAnimationEngine.ɵfac });\n/** @nocollapse */\nInjectableAnimationEngine.ctorParameters = () => [\n { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },\n { type: AnimationDriver },\n { type: ɵAnimationStyleNormalizer }\n];\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(InjectableAnimationEngine, [{\n type: Injectable\n }], function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: ɵngcc1.AnimationDriver }, { type: ɵngcc1.ɵAnimationStyleNormalizer }]; }, null); })();\n/**\n * @return {?}\n */\nfunction instantiateSupportedAnimationDriver() {\n return ɵsupportsWebAnimations() ? new ɵWebAnimationsDriver() : new ɵCssKeyframesDriver();\n}\n/**\n * @return {?}\n */\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\n/**\n * @param {?} renderer\n * @param {?} engine\n * @param {?} zone\n * @return {?}\n */\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new AnimationRendererFactory(renderer, engine, zone);\n}\n/**\n * \\@publicApi\n * @type {?}\n */\nconst ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');\n/** @type {?} */\nconst SHARED_ANIMATION_PROVIDERS = [\n { provide: AnimationBuilder, useClass: BrowserAnimationBuilder },\n { provide: ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },\n { provide: ɵAnimationEngine, useClass: InjectableAnimationEngine }, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n }\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n * @type {?}\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useFactory: instantiateSupportedAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n * @type {?}\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useClass: ɵNoopAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/module.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n * for use with animations. See [Animations](guide/animations).\n * \\@publicApi\n */\nclass BrowserAnimationsModule {\n}\nBrowserAnimationsModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: BrowserAnimationsModule });\nBrowserAnimationsModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ factory: function BrowserAnimationsModule_Factory(t) { return new (t || BrowserAnimationsModule)(); }, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(BrowserAnimationsModule, { exports: function () { return [BrowserModule]; } }); })();\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(BrowserAnimationsModule, [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS\n }]\n }], null, null); })();\n/**\n * A null player that must be imported to allow disabling of animations.\n * \\@publicApi\n */\nclass NoopAnimationsModule {\n}\nNoopAnimationsModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: NoopAnimationsModule });\nNoopAnimationsModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ factory: function NoopAnimationsModule_Factory(t) { return new (t || NoopAnimationsModule)(); }, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NoopAnimationsModule, { exports: function () { return [BrowserModule]; } }); })();\n/*@__PURE__*/ (function () { ɵngcc0.ɵsetClassMetadata(NoopAnimationsModule, [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS\n }]\n }], null, null); })();\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/private_export.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/src/animations.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/public_api.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/platform-browser/animations/index.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ANIMATION_MODULE_TYPE, BrowserAnimationsModule, NoopAnimationsModule, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, BrowserAnimationBuilder as ɵBrowserAnimationBuilder, BrowserAnimationFactory as ɵBrowserAnimationFactory, InjectableAnimationEngine as ɵInjectableAnimationEngine, instantiateSupportedAnimationDriver as ɵangular_packages_platform_browser_animations_animations_a, instantiateDefaultStyleNormalizer as ɵangular_packages_platform_browser_animations_animations_b, instantiateRendererFactory as ɵangular_packages_platform_browser_animations_animations_c, BROWSER_ANIMATIONS_PROVIDERS as ɵangular_packages_platform_browser_animations_animations_d, BROWSER_NOOP_ANIMATIONS_PROVIDERS as ɵangular_packages_platform_browser_animations_animations_e, BaseAnimationRenderer as ɵangular_packages_platform_browser_animations_animations_f };\n\n//# sourceMappingURL=animations.js.map","import { mergeMap } from './mergeMap';\nexport function concatMap(project, resultSelector) {\n return mergeMap(project, resultSelector, 1);\n}\n//# sourceMappingURL=concatMap.js.map","import { isFunction } from './util/isFunction';\nimport { empty as emptyObserver } from './Observer';\nimport { Subscription } from './Subscription';\nimport { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';\nimport { config } from './config';\nimport { hostReportError } from './util/hostReportError';\nexport class Subscriber extends Subscription {\n constructor(destinationOrNext, error, complete) {\n super();\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = emptyObserver;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = emptyObserver;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n this.destination = destinationOrNext;\n destinationOrNext.add(this);\n }\n else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n [rxSubscriberSymbol]() { return this; }\n static create(next, error, complete) {\n const subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n }\n next(value) {\n if (!this.isStopped) {\n this._next(value);\n }\n }\n error(err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n super.unsubscribe();\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n this.destination.error(err);\n this.unsubscribe();\n }\n _complete() {\n this.destination.complete();\n this.unsubscribe();\n }\n _unsubscribeAndRecycle() {\n const { _parentOrParents } = this;\n this._parentOrParents = null;\n this.unsubscribe();\n this.closed = false;\n this.isStopped = false;\n this._parentOrParents = _parentOrParents;\n return this;\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(_parentSubscriber, observerOrNext, error, complete) {\n super();\n this._parentSubscriber = _parentSubscriber;\n let next;\n let context = this;\n if (isFunction(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (observerOrNext !== emptyObserver) {\n context = Object.create(observerOrNext);\n if (isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n next(value) {\n if (!this.isStopped && this._next) {\n const { _parentSubscriber } = this;\n if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n this.unsubscribe();\n }\n }\n }\n error(err) {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n const { useDeprecatedSynchronousErrorHandling } = config;\n if (this._error) {\n if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parentSubscriber.syncErrorThrowable) {\n this.unsubscribe();\n if (useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n hostReportError(err);\n }\n else {\n if (useDeprecatedSynchronousErrorHandling) {\n _parentSubscriber.syncErrorValue = err;\n _parentSubscriber.syncErrorThrown = true;\n }\n else {\n hostReportError(err);\n }\n this.unsubscribe();\n }\n }\n }\n complete() {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._complete) {\n const wrappedComplete = () => this._complete.call(this._context);\n if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(wrappedComplete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n }\n __tryOrUnsub(fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n if (config.useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n else {\n hostReportError(err);\n }\n }\n }\n __tryOrSetError(parent, fn, value) {\n if (!config.useDeprecatedSynchronousErrorHandling) {\n throw new Error('bad call');\n }\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n else {\n hostReportError(err);\n return true;\n }\n }\n return false;\n }\n _unsubscribe() {\n const { _parentSubscriber } = this;\n this._context = null;\n this._parentSubscriber = null;\n _parentSubscriber.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscriber.js.map",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * Cipher Feedback block mode.\n\t */\n\tCryptoJS.mode.CFB = (function () {\n\t var CFB = CryptoJS.lib.BlockCipherMode.extend();\n\n\t CFB.Encryptor = CFB.extend({\n\t processBlock: function (words, offset) {\n\t // Shortcuts\n\t var cipher = this._cipher;\n\t var blockSize = cipher.blockSize;\n\n\t generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);\n\n\t // Remember this block to use with next block\n\t this._prevBlock = words.slice(offset, offset + blockSize);\n\t }\n\t });\n\n\t CFB.Decryptor = CFB.extend({\n\t processBlock: function (words, offset) {\n\t // Shortcuts\n\t var cipher = this._cipher;\n\t var blockSize = cipher.blockSize;\n\n\t // Remember this block to use with next block\n\t var thisBlock = words.slice(offset, offset + blockSize);\n\n\t generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);\n\n\t // This block becomes the previous block\n\t this._prevBlock = thisBlock;\n\t }\n\t });\n\n\t function generateKeystreamAndEncrypt(words, offset, blockSize, cipher) {\n\t // Shortcut\n\t var iv = this._iv;\n\n\t // Generate keystream\n\t if (iv) {\n\t var keystream = iv.slice(0);\n\n\t // Remove IV for subsequent blocks\n\t this._iv = undefined;\n\t } else {\n\t var keystream = this._prevBlock;\n\t }\n\t cipher.encryptBlock(keystream, 0);\n\n\t // Encrypt\n\t for (var i = 0; i < blockSize; i++) {\n\t words[offset + i] ^= keystream[i];\n\t }\n\t }\n\n\t return CFB;\n\t}());\n\n\n\treturn CryptoJS.mode.CFB;\n\n}));","import { Injectable } from '@angular/core';\r\nimport { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { DrawCollapseService } from './draw-collapse.shared.service';\r\n\r\n@Injectable()\r\nexport class DrawExpandResolver implements Resolve {\r\n constructor(\r\n public drawCollapseService: DrawCollapseService,\r\n ) { }\r\n\r\n resolve(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ): Observable | Promise | any {\r\n return new Promise(resolve => {\r\n if (this.drawCollapseService.hasInitialized) {\r\n setTimeout(() => {\r\n this.drawCollapseService.tempUnlockScrollOnToggle();\r\n this.drawCollapseService.toggleDraw(true);\r\n return resolve(true);\r\n }, this.drawCollapseService.transitionTime);\r\n } else {\r\n this.drawCollapseService.tempUnlockScrollOnToggle();\r\n this.drawCollapseService.toggleDraw(true);\r\n return resolve(true);\r\n }\r\n\r\n });\r\n }\r\n}\r\n","/*\r\n Singleton - provide in shared.providers.module.ts!\r\n*/\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, BehaviorSubject, Subscription, from, Subject, fromEvent } from 'rxjs';\r\nimport { take, filter, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DrawCollapseService {\r\n private _progress: number = 1;\r\n\r\n public contentMinimumHeightObjects: Map = new Map();\r\n public totalOffsetObjects: Map = new Map();\r\n public totalOffsetMobileObjects: Map = new Map();\r\n\r\n public hasInitialized: boolean = false;\r\n public transitionTime: number = 500;\r\n public minimalHeight: number = 300; /* 200 */\r\n public maximumHeight: number = 360;\r\n public mediaBreakPoint: number = 768; /* window.innerWidth - below this, things should look a bit different */\r\n public progressBreakPoint: number = .6; /* below .6 - things should look a bit different */\r\n public mobileScrollPoint: number = 400; /* Defines when to hide nav bar when scrolling down. Bigger === Later */\r\n public transition: string = `0 linear`;\r\n public currentHeight: number = 150;\r\n public expand: boolean = false;\r\n public preventOnWindowScrolled: boolean = true; /* When user scrolled down, and will toggle collapse, this will prevent from collapsing if calculated height */\r\n\r\n public drawDirectiveInit$: BehaviorSubject = new BehaviorSubject(false);\r\n public drawCurrentHeight$: BehaviorSubject = new BehaviorSubject(this.currentHeight);\r\n public drawExpand$: BehaviorSubject = new BehaviorSubject(null);\r\n public drawOffset$: BehaviorSubject = new BehaviorSubject(0);\r\n public drawMobileOffset$: BehaviorSubject = new BehaviorSubject(0);\r\n public drawIsCollapsed$: BehaviorSubject = new BehaviorSubject(true);\r\n public drawProgress$: BehaviorSubject = new BehaviorSubject(this._progress);\r\n public drawDifference$: BehaviorSubject = new BehaviorSubject(null);\r\n public minHeightContent$: Subject = new Subject();\r\n public drawBreakPoint$: BehaviorSubject = new BehaviorSubject(null);\r\n public drawNavBarCollapseHeight$: Subject = new Subject();\r\n public drawContentMargin$: BehaviorSubject = new BehaviorSubject(0);\r\n\r\n constructor() {\r\n\r\n fromEvent(window, 'resize')\r\n .pipe(\r\n auditTime(200),\r\n ).subscribe(event => {\r\n this.drawBreakPoint$.next(this._progress < this.progressBreakPoint || window.innerWidth < this.mediaBreakPoint);\r\n\r\n /* Update offsets and contents' height values */\r\n this.minHeightContent$.next(Utils.Objects.sumMapValues(this.contentMinimumHeightObjects));\r\n this.drawOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetObjects));\r\n });\r\n }\r\n\r\n public destroy(): void {\r\n this.hasInitialized = false;\r\n this._progress = 1;\r\n this.currentHeight = 150;\r\n this.expand = false;\r\n this.contentMinimumHeightObjects = new Map();\r\n this.totalOffsetObjects = new Map();\r\n this.totalOffsetMobileObjects = new Map();\r\n }\r\n\r\n public setDrawContentMargin(margin: number): void {\r\n this.drawContentMargin$.next(margin);\r\n }\r\n\r\n public initDrawDirective(): void {\r\n this.drawDirectiveInit$.next(true);\r\n }\r\n\r\n public get drawCanvasExpandedHeight(): number {\r\n /*\r\n Returns height of a drawer canvas area when expanded,\r\n depending on user's screen resolution.\r\n Is used in draw-collapse.shared.directive and sub-nav.shared.service (for adjusting scroll position)\r\n */\r\n return window.innerWidth < this.mediaBreakPoint ? this.minimalHeight : this.maximumHeight;\r\n }\r\n\r\n public setNavBarHeight(height: number): void {\r\n /*\r\n On mobile devices after more scrolling down,\r\n page will collapse more hiding nav bar.\r\n */\r\n return this.drawNavBarCollapseHeight$.next(height);\r\n }\r\n\r\n\r\n public addMinHeight(elem: HTMLElement, height: number): void {\r\n /*\r\n This will register additional component to determine minimum height\r\n of content component\r\n */\r\n\r\n this.contentMinimumHeightObjects.set(elem, height);\r\n\r\n this.minHeightContent$.next(Utils.Objects.sumMapValues(this.contentMinimumHeightObjects));\r\n }\r\n\r\n public setProgress(progress: number, difference: number): void {\r\n /*\r\n This will provide data about collapsed progress,\r\n to handle opacity in some components depending on current\r\n 'progress'. Value is float between 0 and 1;\r\n\r\n The difference value shows how much container has expanded/collapsed in px.\r\n This is used for adding margin when initial scrolling starts and we want to\r\n prevent from content scrolling. It's a trick!\r\n */\r\n this._progress = progress;\r\n\r\n this.drawProgress$.next(progress);\r\n this.drawDifference$.next(difference);\r\n this.drawBreakPoint$.next(progress < this.progressBreakPoint || window.innerWidth < this.mediaBreakPoint);\r\n }\r\n\r\n public updateDrawHeight(height: number): void {\r\n /*\r\n This is triggered from draw-collapse directive from only 1 element.\r\n Then this value can be used be other components with draw-offset directive\r\n to set proper styling depending on their styles;\r\n */\r\n this.currentHeight = height;\r\n this.drawCurrentHeight$.next(this.currentHeight);\r\n\r\n if (height === Utils.Objects.sumMapValues(this.totalOffsetObjects)) {\r\n this.drawIsCollapsed$.next(true);\r\n return;\r\n }\r\n\r\n this.drawIsCollapsed$.next(false);\r\n }\r\n\r\n public toggleDraw(expand: boolean): void {\r\n /* Instatn toggle draw expand or draw collapse */\r\n this.drawDirectiveInit$\r\n .pipe(\r\n filter(hasInit => hasInit === true),\r\n take(1),\r\n ).subscribe(() => {\r\n this.hasInitialized = true;\r\n this.expand = expand;\r\n this.drawExpand$.next(expand);\r\n });\r\n\r\n }\r\n\r\n public addOffset(elem: HTMLElement, offset: number): void {\r\n /*\r\n This method shoul be used by additional components that will add more static\r\n top offset to the drawer, i.e. nav bar, filters draw.\r\n It's used by directive to add aditional offset to calculations.\r\n */\r\n\r\n this.totalOffsetObjects.set(elem, offset);\r\n\r\n this.drawOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetObjects));\r\n }\r\n\r\n public removeOffset(elem: HTMLElement): void {\r\n /*\r\n Removes element from offset calculations\r\n */\r\n\r\n this.totalOffsetObjects.delete(elem);\r\n\r\n this.drawOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetObjects));\r\n }\r\n\r\n public addOffsetMobile(elem: HTMLElement, offset: number): void {\r\n /*\r\n Adds additional offset height for mobile devices when nav bar collapses\r\n when scrolling more than usual.\r\n */\r\n\r\n this.totalOffsetMobileObjects.set(elem, offset);\r\n\r\n this.drawMobileOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetMobileObjects));\r\n }\r\n\r\n public removeOffsetMobile(elem: HTMLElement): void {\r\n /*\r\n Removes element from offset calculations on mobile\r\n */\r\n this.totalOffsetMobileObjects.delete(elem);\r\n\r\n this.drawMobileOffset$.next(Utils.Objects.sumMapValues(this.totalOffsetMobileObjects));\r\n }\r\n\r\n public tempUnlockScrollOnToggle(timeout: number = 100): Promise {\r\n return new Promise(resolve => {\r\n this.preventOnWindowScrolled = false;\r\n\r\n setTimeout(() => {\r\n this.preventOnWindowScrolled = true;\r\n }, timeout);\r\n });\r\n }\r\n}\r\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const MenuFlowDefaultActivationRequest = createAction(\r\n '[Menu Flow Default Activation] Request default activation for menu flow by menuFlowId',\r\n props<{ menuFlowId: number }>(),\r\n);\r\n\r\nexport const MenuFlowDefaultActivationSuccessRequest = createAction(\r\n '[Menu Flow Default Activation] Success request default activation for menu flow by menuFlowId',\r\n props<{ menuFlowId: number; payload: APIv1.MenuFlowDefaultActivation }>(),\r\n);\r\n\r\nexport const MenuFlowDefaultActivationErrorRequest = createAction(\r\n '[Menu Flow Default Activation] Error request default activation for menu flow by menuFlowId',\r\n props<{ menuFlowId: number; ex?: any }>(),\r\n);\r\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable(subscriber => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));\n}\n//# sourceMappingURL=empty.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n 'ss': withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',\n 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n 'dd': 'день_дні_днів',\n 'MM': 'місяць_місяці_місяців',\n 'yy': 'рік_роки_років'\n };\n if (key === 'm') {\n return withoutSuffix ? 'хвилина' : 'хвилину';\n }\n else if (key === 'h') {\n return withoutSuffix ? 'година' : 'годину';\n }\n else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n function weekdaysCaseReplace(m, format) {\n var weekdays = {\n 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),\n 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),\n 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')\n };\n\n if (m === true) {\n return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1));\n }\n if (!m) {\n return weekdays['nominative'];\n }\n\n var nounCase = (/(\\[[ВвУу]\\]) ?dddd/).test(format) ?\n 'accusative' :\n ((/\\[?(?:минулої|наступної)? ?\\] ?dddd/).test(format) ?\n 'genitive' :\n 'nominative');\n return weekdays[nounCase][m.day()];\n }\n function processHoursFunction(str) {\n return function () {\n return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n };\n }\n\n var uk = moment.defineLocale('uk', {\n months : {\n 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),\n 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')\n },\n monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),\n weekdays : weekdaysCaseReplace,\n weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D MMMM YYYY р.',\n LLL : 'D MMMM YYYY р., HH:mm',\n LLLL : 'dddd, D MMMM YYYY р., HH:mm'\n },\n calendar : {\n sameDay: processHoursFunction('[Сьогодні '),\n nextDay: processHoursFunction('[Завтра '),\n lastDay: processHoursFunction('[Вчора '),\n nextWeek: processHoursFunction('[У] dddd ['),\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return processHoursFunction('[Минулої] dddd [').call(this);\n case 1:\n case 2:\n case 4:\n return processHoursFunction('[Минулого] dddd [').call(this);\n }\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'за %s',\n past : '%s тому',\n s : 'декілька секунд',\n ss : relativeTimeWithPlural,\n m : relativeTimeWithPlural,\n mm : relativeTimeWithPlural,\n h : 'годину',\n hh : relativeTimeWithPlural,\n d : 'день',\n dd : relativeTimeWithPlural,\n M : 'місяць',\n MM : relativeTimeWithPlural,\n y : 'рік',\n yy : relativeTimeWithPlural\n },\n // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n meridiemParse: /ночі|ранку|дня|вечора/,\n isPM: function (input) {\n return /^(дня|вечора)$/.test(input);\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночі';\n } else if (hour < 12) {\n return 'ранку';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечора';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return number + '-й';\n case 'D':\n return number + '-го';\n default:\n return number;\n }\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return uk;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var units = {\n 'ss' : 'sekundė_sekundžių_sekundes',\n 'm' : 'minutė_minutės_minutę',\n 'mm': 'minutės_minučių_minutes',\n 'h' : 'valanda_valandos_valandą',\n 'hh': 'valandos_valandų_valandas',\n 'd' : 'diena_dienos_dieną',\n 'dd': 'dienos_dienų_dienas',\n 'M' : 'mėnuo_mėnesio_mėnesį',\n 'MM': 'mėnesiai_mėnesių_mėnesius',\n 'y' : 'metai_metų_metus',\n 'yy': 'metai_metų_metus'\n };\n function translateSeconds(number, withoutSuffix, key, isFuture) {\n if (withoutSuffix) {\n return 'kelios sekundės';\n } else {\n return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n }\n }\n function translateSingular(number, withoutSuffix, key, isFuture) {\n return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);\n }\n function special(number) {\n return number % 10 === 0 || (number > 10 && number < 20);\n }\n function forms(key) {\n return units[key].split('_');\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n if (number === 1) {\n return result + translateSingular(number, withoutSuffix, key[0], isFuture);\n } else if (withoutSuffix) {\n return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n } else {\n if (isFuture) {\n return result + forms(key)[1];\n } else {\n return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n }\n }\n }\n var lt = moment.defineLocale('lt', {\n months : {\n format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),\n standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),\n isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/\n },\n monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n weekdays : {\n format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),\n standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),\n isFormat: /dddd HH:mm/\n },\n weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),\n weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'YYYY-MM-DD',\n LL : 'YYYY [m.] MMMM D [d.]',\n LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n l : 'YYYY-MM-DD',\n ll : 'YYYY [m.] MMMM D [d.]',\n lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'\n },\n calendar : {\n sameDay : '[Šiandien] LT',\n nextDay : '[Rytoj] LT',\n nextWeek : 'dddd LT',\n lastDay : '[Vakar] LT',\n lastWeek : '[Praėjusį] dddd LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'po %s',\n past : 'prieš %s',\n s : translateSeconds,\n ss : translate,\n m : translateSingular,\n mm : translate,\n h : translateSingular,\n hh : translate,\n d : translateSingular,\n dd : translate,\n M : translateSingular,\n MM : translate,\n y : translateSingular,\n yy : translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n ordinal : function (number) {\n return number + '-oji';\n },\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return lt;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var tzm = moment.defineLocale('tzm', {\n months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),\n monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),\n weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS: 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',\n nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',\n nextWeek: 'dddd [ⴴ] LT',\n lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',\n lastWeek: 'dddd [ⴴ] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',\n past : 'ⵢⴰⵏ %s',\n s : 'ⵉⵎⵉⴽ',\n ss : '%d ⵉⵎⵉⴽ',\n m : 'ⵎⵉⵏⵓⴺ',\n mm : '%d ⵎⵉⵏⵓⴺ',\n h : 'ⵙⴰⵄⴰ',\n hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',\n d : 'ⴰⵙⵙ',\n dd : '%d oⵙⵙⴰⵏ',\n M : 'ⴰⵢoⵓⵔ',\n MM : '%d ⵉⵢⵢⵉⵔⵏ',\n y : 'ⴰⵙⴳⴰⵙ',\n yy : '%d ⵉⵙⴳⴰⵙⵏ'\n },\n week : {\n dow : 6, // Saturday is the first day of the week.\n doy : 12 // The week that contains Jan 12th is the first week of the year.\n }\n });\n\n return tzm;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const OnlineMenuProductsImagesRequest = createAction(\r\n '[Online menu products images] Request images for online menu page products',\r\n props<{ params: APICommon.IImagesGetParams; pageId: number; }>(),\r\n);\r\n\r\nexport const OnlineMenuProductsImagesSuccessRequest = createAction(\r\n '[Online menu products images] Success request images for online menu page products',\r\n props<{ pageId: number; payload: APIv1.ImageUrlModel[]; }>(),\r\n);\r\n\r\nexport const OnlineMenuProductsImagesErrorRequest = createAction(\r\n '[Online menu products images] Error request images for online menu page products',\r\n props<{ pageId: number; ex?: any; }>(),\r\n);\r\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-1 hash algorithm.\n\t */\n\t var SHA1 = C_algo.SHA1 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476,\n\t 0xc3d2e1f0\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\n\t // Computation\n\t for (var i = 0; i < 80; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];\n\t W[i] = (n << 1) | (n >>> 31);\n\t }\n\n\t var t = ((a << 5) | (a >>> 27)) + e + W[i];\n\t if (i < 20) {\n\t t += ((b & c) | (~b & d)) + 0x5a827999;\n\t } else if (i < 40) {\n\t t += (b ^ c ^ d) + 0x6ed9eba1;\n\t } else if (i < 60) {\n\t t += ((b & c) | (b & d) | (c & d)) - 0x70e44324;\n\t } else /* if (i < 80) */ {\n\t t += (b ^ c ^ d) - 0x359d3e2a;\n\t }\n\n\t e = d;\n\t d = c;\n\t c = (b << 30) | (b >>> 2);\n\t b = a;\n\t a = t;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA1('message');\n\t * var hash = CryptoJS.SHA1(wordArray);\n\t */\n\t C.SHA1 = Hasher._createHelper(SHA1);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA1(message, key);\n\t */\n\t C.HmacSHA1 = Hasher._createHmacHelper(SHA1);\n\t}());\n\n\n\treturn CryptoJS.SHA1;\n\n}));","import { Injectable, ElementRef } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\nimport * as State from '@shared/state/interface';\r\n\r\nimport { WizzardService } from './wizzard.shared.service';\r\n\r\nimport { Subscription, Subject, timer, Observable } from 'rxjs';\r\nimport { audit, filter, distinctUntilChanged, map, take } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ModalsService {\r\n private _modalContainer$: Subject = new Subject(); /* Used for effects and blocking scroll */\r\n private _bgDropClick$: Subject = new Subject();\r\n private _wizzardScrollListener$: Subscription;\r\n\r\n public onWizzardScroll$: Subject = new Subject(); /* Use this in components to connect to wizzard scroll event */\r\n\r\n constructor(\r\n public store: Store,\r\n public router: Router,\r\n public wizzardService: WizzardService,\r\n ) {\r\n this._wizzardScrollListener$ = this.wizzardService.contentScrollListener$\r\n .pipe(\r\n filter(() => window.innerWidth < 610),\r\n audit(() => timer(500)),\r\n )\r\n .subscribe(event => this.onWizzardScroll$.next(event));\r\n }\r\n\r\n public set modalContainer(modalContainer: ElementRef) {\r\n this._modalContainer$.next(modalContainer);\r\n }\r\n\r\n public get modalsList$(): Observable {\r\n return this.store.pipe(\r\n select(selectors.getAllModals),\r\n distinctUntilChanged()\r\n );\r\n }\r\n\r\n public get isAnyModalVisible$(): Observable {\r\n return this.modalsList$\r\n .pipe(\r\n map(modals => modals.length > 0),\r\n );\r\n }\r\n\r\n public get isClosingAllModals$(): Observable {\r\n return this.store.pipe(\r\n select(selectors.isLastModalHiding),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public get modalContainer$(): Subject {\r\n return this._modalContainer$;\r\n }\r\n\r\n public setLoading(modalId: number, isLoading: boolean = false): void {\r\n this.store.dispatch(actions.ModalSetLoading(modalId, isLoading));\r\n }\r\n\r\n public show(modal: State.IModal): Promise {\r\n return new Promise(resolve => {\r\n const id: number = modal.id || new Date().getTime();\r\n\r\n this.store.dispatch(actions.ModalOpen({\r\n animate: State.MODAL_ANIMATION.IN,\r\n ...modal,\r\n id\r\n }));\r\n\r\n setTimeout(() => {\r\n resolve(true);\r\n }, 0);\r\n });\r\n }\r\n\r\n public swap(modalId: number, details: State.IModalSwap = {}): void {\r\n this.store.dispatch(actions.ModalSwap(modalId, details));\r\n }\r\n\r\n public close(id: number): void {\r\n this.store.dispatch(actions.ModalRequestClose(id));\r\n }\r\n\r\n public closeAllWithAnimation(): void {\r\n this.modalsList$\r\n .pipe(\r\n take(1)\r\n ).subscribe(modals => {\r\n modals.reverse().forEach(obj => this.close(obj.id));\r\n });\r\n }\r\n\r\n public closeAll(typesExcludedFromClosing: State.MODAL_TYPE[] = [], animation: State.MODAL_ANIMATION = State.MODAL_ANIMATION.OUT): void {\r\n this.store.dispatch(actions.ModalCloseAll(typesExcludedFromClosing, animation));\r\n }\r\n\r\n /* This will help detect background clicks */\r\n public emitBgClickEvent($event: MouseEvent): void {\r\n this._bgDropClick$.next($event);\r\n }\r\n\r\n /* You can subscribe to background events here */\r\n public backgroundEvents(): Subject {\r\n return this._bgDropClick$;\r\n }\r\n public removeURLQueryParams(): Promise {\r\n /* Obsolete - used only in aramark - moved to routeService */\r\n return this.router.navigate([], {\r\n queryParams: {\r\n modal: undefined,\r\n itemId: undefined,\r\n },\r\n queryParamsHandling: 'merge',\r\n });\r\n }\r\n\r\n public closeModal(modalId: number, unmountWizzard: boolean = true, removeQueryParams: boolean = false): void {\r\n this.close(modalId);\r\n\r\n if (unmountWizzard) {\r\n this.store.dispatch(actions.WizzardUnmountAll());\r\n }\r\n\r\n if (removeQueryParams) {\r\n this.removeURLQueryParams();\r\n }\r\n }\r\n}\r\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t/**\n\t * Counter block mode.\n\t */\n\tCryptoJS.mode.CTR = (function () {\n\t var CTR = CryptoJS.lib.BlockCipherMode.extend();\n\n\t var Encryptor = CTR.Encryptor = CTR.extend({\n\t processBlock: function (words, offset) {\n\t // Shortcuts\n\t var cipher = this._cipher\n\t var blockSize = cipher.blockSize;\n\t var iv = this._iv;\n\t var counter = this._counter;\n\n\t // Generate keystream\n\t if (iv) {\n\t counter = this._counter = iv.slice(0);\n\n\t // Remove IV for subsequent blocks\n\t this._iv = undefined;\n\t }\n\t var keystream = counter.slice(0);\n\t cipher.encryptBlock(keystream, 0);\n\n\t // Increment counter\n\t counter[blockSize - 1] = (counter[blockSize - 1] + 1) | 0\n\n\t // Encrypt\n\t for (var i = 0; i < blockSize; i++) {\n\t words[offset + i] ^= keystream[i];\n\t }\n\t }\n\t });\n\n\t CTR.Decryptor = Encryptor;\n\n\t return CTR;\n\t}());\n\n\n\treturn CryptoJS.mode.CTR;\n\n}));","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const geolocationPositionRequest = createAction(\r\n '[Geolocation] Request position',\r\n);\r\n\r\nexport const geolocationPositionSuccessRequest = createAction(\r\n '[Geolocation] Success request position',\r\n props<{ payload: Coordinates }>(),\r\n);\r\n\r\nexport const geolocationPositionErrorRequest = createAction(\r\n '[Geolocation] Error request position',\r\n props<{ ex?: any }>(),\r\n);\r\n","import { multicast } from './multicast';\nimport { refCount } from './refCount';\nimport { Subject } from '../Subject';\nfunction shareSubjectFactory() {\n return new Subject();\n}\nexport function share() {\n return (source) => refCount()(multicast(shareSubjectFactory)(source));\n}\n//# sourceMappingURL=share.js.map","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),\n monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');\n function plural(n) {\n return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);\n }\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n return result + (plural(number) ? 'sekundy' : 'sekund');\n case 'm':\n return withoutSuffix ? 'minuta' : 'minutę';\n case 'mm':\n return result + (plural(number) ? 'minuty' : 'minut');\n case 'h':\n return withoutSuffix ? 'godzina' : 'godzinę';\n case 'hh':\n return result + (plural(number) ? 'godziny' : 'godzin');\n case 'MM':\n return result + (plural(number) ? 'miesiące' : 'miesięcy');\n case 'yy':\n return result + (plural(number) ? 'lata' : 'lat');\n }\n }\n\n var pl = moment.defineLocale('pl', {\n months : function (momentToFormat, format) {\n if (!momentToFormat) {\n return monthsNominative;\n } else if (format === '') {\n // Hack: if format empty we know this is used to generate\n // RegExp by moment. Give then back both valid forms of months\n // in RegExp ready format.\n return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';\n } else if (/D MMMM/.test(format)) {\n return monthsSubjective[momentToFormat.month()];\n } else {\n return monthsNominative[momentToFormat.month()];\n }\n },\n monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),\n weekdaysShort : 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),\n weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Dziś o] LT',\n nextDay: '[Jutro o] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W niedzielę o] LT';\n\n case 2:\n return '[We wtorek o] LT';\n\n case 3:\n return '[W środę o] LT';\n\n case 6:\n return '[W sobotę o] LT';\n\n default:\n return '[W] dddd [o] LT';\n }\n },\n lastDay: '[Wczoraj o] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W zeszłą niedzielę o] LT';\n case 3:\n return '[W zeszłą środę o] LT';\n case 6:\n return '[W zeszłą sobotę o] LT';\n default:\n return '[W zeszły] dddd [o] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'za %s',\n past : '%s temu',\n s : 'kilka sekund',\n ss : translate,\n m : translate,\n mm : translate,\n h : translate,\n hh : translate,\n d : '1 dzień',\n dd : '%d dni',\n M : 'miesiąc',\n MM : translate,\n y : 'rok',\n yy : translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return pl;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '۱',\n '2': '۲',\n '3': '۳',\n '4': '۴',\n '5': '۵',\n '6': '۶',\n '7': '۷',\n '8': '۸',\n '9': '۹',\n '0': '۰'\n }, numberMap = {\n '۱': '1',\n '۲': '2',\n '۳': '3',\n '۴': '4',\n '۵': '5',\n '۶': '6',\n '۷': '7',\n '۸': '8',\n '۹': '9',\n '۰': '0'\n };\n\n var fa = moment.defineLocale('fa', {\n months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),\n monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),\n weekdays : 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split('_'),\n weekdaysShort : 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split('_'),\n weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n meridiemParse: /قبل از ظهر|بعد از ظهر/,\n isPM: function (input) {\n return /بعد از ظهر/.test(input);\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 12) {\n return 'قبل از ظهر';\n } else {\n return 'بعد از ظهر';\n }\n },\n calendar : {\n sameDay : '[امروز ساعت] LT',\n nextDay : '[فردا ساعت] LT',\n nextWeek : 'dddd [ساعت] LT',\n lastDay : '[دیروز ساعت] LT',\n lastWeek : 'dddd [پیش] [ساعت] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'در %s',\n past : '%s پیش',\n s : 'چند ثانیه',\n ss : 'ثانیه d%',\n m : 'یک دقیقه',\n mm : '%d دقیقه',\n h : 'یک ساعت',\n hh : '%d ساعت',\n d : 'یک روز',\n dd : '%d روز',\n M : 'یک ماه',\n MM : '%d ماه',\n y : 'یک سال',\n yy : '%d سال'\n },\n preparse: function (string) {\n return string.replace(/[۰-۹]/g, function (match) {\n return numberMap[match];\n }).replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, '،');\n },\n dayOfMonthOrdinalParse: /\\d{1,2}م/,\n ordinal : '%dم',\n week : {\n dow : 6, // Saturday is the first day of the week.\n doy : 12 // The week that contains Jan 12th is the first week of the year.\n }\n });\n\n return fa;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var af = moment.defineLocale('af', {\n months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),\n monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),\n weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n meridiemParse: /vm|nm/i,\n isPM : function (input) {\n return /^nm$/i.test(input);\n },\n meridiem : function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'vm' : 'VM';\n } else {\n return isLower ? 'nm' : 'NM';\n }\n },\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd, D MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Vandag om] LT',\n nextDay : '[Môre om] LT',\n nextWeek : 'dddd [om] LT',\n lastDay : '[Gister om] LT',\n lastWeek : '[Laas] dddd [om] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'oor %s',\n past : '%s gelede',\n s : '\\'n paar sekondes',\n ss : '%d sekondes',\n m : '\\'n minuut',\n mm : '%d minute',\n h : '\\'n uur',\n hh : '%d ure',\n d : '\\'n dag',\n dd : '%d dae',\n M : '\\'n maand',\n MM : '%d maande',\n y : '\\'n jaar',\n yy : '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal : function (number) {\n return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter\n },\n week : {\n dow : 1, // Maandag is die eerste dag van die week.\n doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n }\n });\n\n return af;\n\n})));\n","import { createAction, props } from '@ngrx/store';\r\nimport { IAppSettings } from './app-settings.interface';\r\n\r\nexport const SetApplicationInitFlag = createAction(\r\n '[App settings] Set init flag'\r\n);\r\n\r\nexport const SetApplicationMode = createAction(\r\n '[App settings] Set location mode',\r\n props<{ mode: OLO.Enums.APP_MODE }>(),\r\n);\r\n\r\nexport const SetDeviceType = createAction(\r\n '[App settings] Set device type',\r\n props<{ deviceType: OLO.Enums.DEVICE_TYPE }>(),\r\n);\r\n\r\nexport const AppSettingsRequest = createAction(\r\n '[App settins] Request settings',\r\n);\r\n\r\nexport const AppSettingsSuccessRequest = createAction(\r\n '[App settins] Success request settings',\r\n props<{ payload: APIv1.LoyaltyAppModel }>(),\r\n);\r\n\r\nexport const AppSettingsErrorRequest = createAction(\r\n '[App settins] Error request settings',\r\n props<{ ex?: any }>(),\r\n);\r\n\r\nexport const AppSettingsSetOnlineStatus = createAction(\r\n '[App settings] Set online status',\r\n props<{ online: boolean }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var fo = moment.defineLocale('fo', {\n months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),\n monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),\n weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),\n weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY HH:mm',\n LLLL : 'dddd D. MMMM, YYYY HH:mm'\n },\n calendar : {\n sameDay : '[Í dag kl.] LT',\n nextDay : '[Í morgin kl.] LT',\n nextWeek : 'dddd [kl.] LT',\n lastDay : '[Í gjár kl.] LT',\n lastWeek : '[síðstu] dddd [kl] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'um %s',\n past : '%s síðani',\n s : 'fá sekund',\n ss : '%d sekundir',\n m : 'ein minuttur',\n mm : '%d minuttir',\n h : 'ein tími',\n hh : '%d tímar',\n d : 'ein dagur',\n dd : '%d dagar',\n M : 'ein mánaður',\n MM : '%d mánaðir',\n y : 'eitt ár',\n yy : '%d ár'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return fo;\n\n})));\n","import { Subscriber } from '../Subscriber';\nimport { noop } from '../util/noop';\nimport { isFunction } from '../util/isFunction';\nexport function tap(nextOrObserver, error, complete) {\n return function tapOperatorFunction(source) {\n return source.lift(new DoOperator(nextOrObserver, error, complete));\n };\n}\nclass DoOperator {\n constructor(nextOrObserver, error, complete) {\n this.nextOrObserver = nextOrObserver;\n this.error = error;\n this.complete = complete;\n }\n call(subscriber, source) {\n return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n }\n}\nclass TapSubscriber extends Subscriber {\n constructor(destination, observerOrNext, error, complete) {\n super(destination);\n this._tapNext = noop;\n this._tapError = noop;\n this._tapComplete = noop;\n this._tapError = error || noop;\n this._tapComplete = complete || noop;\n if (isFunction(observerOrNext)) {\n this._context = this;\n this._tapNext = observerOrNext;\n }\n else if (observerOrNext) {\n this._context = observerOrNext;\n this._tapNext = observerOrNext.next || noop;\n this._tapError = observerOrNext.error || noop;\n this._tapComplete = observerOrNext.complete || noop;\n }\n }\n _next(value) {\n try {\n this._tapNext.call(this._context, value);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(value);\n }\n _error(err) {\n try {\n this._tapError.call(this._context, err);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.error(err);\n }\n _complete() {\n try {\n this._tapComplete.call(this._context);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n return this.destination.complete();\n }\n}\n//# sourceMappingURL=tap.js.map","import { isArray } from './isArray';\nexport function isNumeric(val) {\n return !isArray(val) && (val - parseFloat(val) + 1) >= 0;\n}\n//# sourceMappingURL=isNumeric.js.map","import { Observable } from '../Observable';\nimport { async } from '../scheduler/async';\nimport { isNumeric } from '../util/isNumeric';\nimport { isScheduler } from '../util/isScheduler';\nexport function timer(dueTime = 0, periodOrScheduler, scheduler) {\n let period = -1;\n if (isNumeric(periodOrScheduler)) {\n period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);\n }\n else if (isScheduler(periodOrScheduler)) {\n scheduler = periodOrScheduler;\n }\n if (!isScheduler(scheduler)) {\n scheduler = async;\n }\n return new Observable(subscriber => {\n const due = isNumeric(dueTime)\n ? dueTime\n : (+dueTime - scheduler.now());\n return scheduler.schedule(dispatch, due, {\n index: 0, period, subscriber\n });\n });\n}\nfunction dispatch(state) {\n const { index, period, subscriber } = state;\n subscriber.next(index);\n if (subscriber.closed) {\n return;\n }\n else if (period === -1) {\n return subscriber.complete();\n }\n state.index = index + 1;\n this.schedule(state, period);\n}\n//# sourceMappingURL=timer.js.map","import { Action, createAction, props } from '@ngrx/store';\r\nimport { ICart, ICartMenuFlow, ICartSimpleItem, ICartSimpleItemExtended, ICartMenuFlowExtended } from '../interface';\r\n\r\n/* General */\r\nexport const CartPickupTimeUpdate = createAction(\r\n '[Cart] Update pickup time',\r\n props<{ modalId: number; locationNo: number; pickupTime: OLO.Ordering.IPickupTime; }>(),\r\n);\r\n\r\nexport const CartSetup = createAction(\r\n '[Cart] Setup and validate active orders crap AOLO-289',\r\n props<{ modalId: number; locationNo: number; item: ICartMenuFlow | ICartSimpleItem; }>(),\r\n);\r\n\r\nexport const CartSetupWithMultipleItems = createAction(\r\n '[Cart] Setup and validate active orders from reorder modal',\r\n (modalId: number, locationNo: number, menuFlows: ICartMenuFlow[] = [], simpleItems: ICartSimpleItem[] = []) => ({ modalId, locationNo, menuFlows, simpleItems })\r\n);\r\n\r\nexport const CartTransferItemRequest = createAction(\r\n '[Cart] Transfer item request',\r\n props<{ modalId: number; locationNo: number; item: ICartMenuFlow | ICartSimpleItem; }>(),\r\n);\r\n\r\nexport const CartActiveOrderContinue = createAction(\r\n '[Cart] Active order - continue',\r\n props<{ modalId: number; }>(),\r\n);\r\n\r\nexport const CartActiveOrderStartNew = createAction(\r\n '[Cart] Active order - start new order',\r\n props<{ modalId: number; locationNo: number; }>(),\r\n);\r\n\r\nexport const CartLoad = createAction(\r\n '[Cart] Load cart contents from browser storage',\r\n props<{ cart: ICart; }>(),\r\n);\r\n\r\n//export const CartSetPendingClear = createAction('[Cart] Set pending clear'); /* DO WE NEED THAT? */\r\n\r\nexport const CartSetLocationNo = createAction(\r\n '[Cart] Set locationNo',\r\n (locationNo: number = null) => ({ locationNo }),\r\n);\r\n\r\nexport const CartSetOnlineMenu = createAction(\r\n '[Cart] Set online menu time',\r\n props<{ onlineMenu: APIv1.OnlineMenuResponseModel; }>(),\r\n);\r\n\r\nexport const CartSetPickupTime = createAction(\r\n '[Cart] Set pickup time',\r\n (pickupTime: OLO.Ordering.IPickupTime = null) => ({ pickupTime })\r\n);\r\n\r\nexport const CartReset = createAction('[Cart] Restore entire cart to initial state');\r\n\r\nexport const CartRemoveAllItems = createAction('[Cart] Remove all products and menuflows');\r\n\r\nexport const CartEditItem = createAction(\r\n '[Cart] Edit item',\r\n props<{ item: ICartMenuFlow | ICartSimpleItem; }>(),\r\n);\r\n\r\n/* Products */\r\nexport const CartSimpleItemAdd = createAction(\r\n '[Cart] Add simple item',\r\n props<{ locationNo: number; item: ICartSimpleItem & ICartSimpleItemExtended; }>(),\r\n);\r\n\r\nexport const CartSimpleItemUpdate = createAction(\r\n '[Cart] Update simple item props/values',\r\n props<{ item: ICartSimpleItem; }>(),\r\n);\r\n\r\nexport const CartSimpleItemDecrement = createAction(\r\n '[Cart] Decrement simple item',\r\n (tempItemId: number, changeValue: number = 1) => ({ tempItemId, changeValue }),\r\n);\r\n\r\nexport const CartSimpleItemIncrement = createAction(\r\n '[Cart] Increment simple item',\r\n (tempItemId: number, changeValue: number = 1) => ({ tempItemId, changeValue }),\r\n);\r\n\r\nexport const CartSimpleItemRemove = createAction(\r\n '[Cart] Remove simple item',\r\n props<{ tempItemId: number; }>(),\r\n);\r\n\r\n\r\n/* Menu flows */\r\nexport const CartMenuFlowAdd = createAction(\r\n '[Cart] Add menu flow item',\r\n props<{ locationNo: number; item: ICartMenuFlowExtended; }>(),\r\n);\r\n\r\nexport const CartMenuFlowAddWithMerge = createAction(\r\n '[Cart] Add menu flow item but check if there is any identical in cart' /* AOLO-282 */,\r\n props<{ locationNo: number; item: ICartMenuFlowExtended; }>(),\r\n);\r\n\r\nexport const CartMenuFlowUpdate = createAction(\r\n '[Cart] Update menu flow props/values',\r\n props<{ item: ICartMenuFlowExtended; }>(),\r\n);\r\n\r\nexport const CartMenuFlowDecrement = createAction(\r\n '[Cart] Decrement menu flow item',\r\n (tempId: number, changeValue: number = 1) => ({ tempId, changeValue }),\r\n);\r\n\r\nexport const CartMenuFlowIncrement = createAction(\r\n '[Cart] Increment menu flow item',\r\n (tempId: number, changeValue: number = 1) => ({ tempId, changeValue }),\r\n);\r\n\r\nexport const CartMenuFlowRemove = createAction(\r\n '[Cart] Remove menu flow item',\r\n props<{ tempId: number; }>(),\r\n);\r\n","export type ALERT_TYPE = 'error' | 'success' | 'warning' | 'info';\r\n\r\nexport enum ALERT_ANIMATION {\r\n IN = 'in',\r\n OUT = 'out',\r\n}\r\n\r\nexport interface IAlertMessagesState {\r\n alertMessages?: IAlertMessage[];\r\n}\r\n\r\nexport interface IAlertMessage {\r\n id?: number;\r\n type?: ALERT_TYPE;\r\n animation?: ALERT_ANIMATION;\r\n title?: string;\r\n description?: string;\r\n}\r\n","import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function observeOn(scheduler, delay = 0) {\n return function observeOnOperatorFunction(source) {\n return source.lift(new ObserveOnOperator(scheduler, delay));\n };\n}\nexport class ObserveOnOperator {\n constructor(scheduler, delay = 0) {\n this.scheduler = scheduler;\n this.delay = delay;\n }\n call(subscriber, source) {\n return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n }\n}\nexport class ObserveOnSubscriber extends Subscriber {\n constructor(destination, scheduler, delay = 0) {\n super(destination);\n this.scheduler = scheduler;\n this.delay = delay;\n }\n static dispatch(arg) {\n const { notification, destination } = arg;\n notification.observe(destination);\n this.unsubscribe();\n }\n scheduleMessage(notification) {\n const destination = this.destination;\n destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n }\n _next(value) {\n this.scheduleMessage(Notification.createNext(value));\n }\n _error(err) {\n this.scheduleMessage(Notification.createError(err));\n this.unsubscribe();\n }\n _complete() {\n this.scheduleMessage(Notification.createComplete());\n this.unsubscribe();\n }\n}\nexport class ObserveOnMessage {\n constructor(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n}\n//# sourceMappingURL=observeOn.js.map","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const ProductImagesRequest = createAction(\r\n '[Product images] Request',\r\n props<{ params: APICommon.IImagesGetParams; productIds: number[] }>(),\r\n);\r\n\r\nexport const ProductImagesSuccessRequest = createAction(\r\n '[Product images] Success request',\r\n props<{ payload: APIv1.ImageUrlModel[]; productIds: number[] }>(),\r\n);\r\n\r\nexport const ProductImagesErrorRequest = createAction(\r\n '[Product images] Error request',\r\n props<{ productIds: number[]; ex?: any }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var he = moment.defineLocale('he', {\n months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),\n monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),\n weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D [ב]MMMM YYYY',\n LLL : 'D [ב]MMMM YYYY HH:mm',\n LLLL : 'dddd, D [ב]MMMM YYYY HH:mm',\n l : 'D/M/YYYY',\n ll : 'D MMM YYYY',\n lll : 'D MMM YYYY HH:mm',\n llll : 'ddd, D MMM YYYY HH:mm'\n },\n calendar : {\n sameDay : '[היום ב־]LT',\n nextDay : '[מחר ב־]LT',\n nextWeek : 'dddd [בשעה] LT',\n lastDay : '[אתמול ב־]LT',\n lastWeek : '[ביום] dddd [האחרון בשעה] LT',\n sameElse : 'L'\n },\n relativeTime : {\n future : 'בעוד %s',\n past : 'לפני %s',\n s : 'מספר שניות',\n ss : '%d שניות',\n m : 'דקה',\n mm : '%d דקות',\n h : 'שעה',\n hh : function (number) {\n if (number === 2) {\n return 'שעתיים';\n }\n return number + ' שעות';\n },\n d : 'יום',\n dd : function (number) {\n if (number === 2) {\n return 'יומיים';\n }\n return number + ' ימים';\n },\n M : 'חודש',\n MM : function (number) {\n if (number === 2) {\n return 'חודשיים';\n }\n return number + ' חודשים';\n },\n y : 'שנה',\n yy : function (number) {\n if (number === 2) {\n return 'שנתיים';\n } else if (number % 10 === 0 && number !== 10) {\n return number + ' שנה';\n }\n return number + ' שנים';\n }\n },\n meridiemParse: /אחה\"צ|לפנה\"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,\n isPM : function (input) {\n return /^(אחה\"צ|אחרי הצהריים|בערב)$/.test(input);\n },\n meridiem : function (hour, minute, isLower) {\n if (hour < 5) {\n return 'לפנות בוקר';\n } else if (hour < 10) {\n return 'בבוקר';\n } else if (hour < 12) {\n return isLower ? 'לפנה\"צ' : 'לפני הצהריים';\n } else if (hour < 18) {\n return isLower ? 'אחה\"צ' : 'אחרי הצהריים';\n } else {\n return 'בערב';\n }\n }\n });\n\n return he;\n\n})));\n","import { Inject, Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, filter, take, distinctUntilChanged, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSettingsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public get appModeLoyaltyOnly(): boolean {\r\n return this._config.appMode === IAppMode.LOYALTY_ONLY;\r\n }\r\n\r\n public get appSettingsLinksFromConfig(): IConfigLink[] {\r\n return this._config.links || [];\r\n }\r\n\r\n public onTermsAndConditionsClick(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppSettings),\r\n take(1),\r\n ).subscribe(settings => {\r\n let url: string = settings?.data?.AppSettings?.TermsAndConditionsUrl || this._config.termsAndConditionsUrl || null;\r\n\r\n if (!url) {\r\n return console.warn('Link is not defined in app settings nor in config.js file');\r\n }\r\n\r\n window.open(url, '_blank').focus();\r\n });\r\n }\r\n\r\n public onPrivacyPolicyClick(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppSettings),\r\n take(1),\r\n ).subscribe(settings => {\r\n let url: string = settings?.data?.AppSettings?.PrivacyPolicyUrl || this._config.links?.find(obj => obj.name.toLowerCase().includes('privacy'))?.url || null;\r\n\r\n if (!url) {\r\n return console.warn('Link is not defined in app settings nor in config.js file');\r\n }\r\n\r\n window.open(url, '_blank').focus();\r\n });\r\n }\r\n\r\n public appSettingsLinks$(): Observable {\r\n const extractLink = (name: string, dynamicLinks: IConfigLink[], staticLinks: IConfigLink[]) => {\r\n return dynamicLinks.find(obj => obj.name.toLowerCase() === name.toLowerCase()) || staticLinks.find(obj => obj.name.toLowerCase() === name.toLowerCase()) || null;\r\n };\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getAppSettingsLinks),\r\n filter(links => links !== null),\r\n distinctUntilChanged((prev, next) => prev.length === next.length),\r\n map(dynamiLinks => {\r\n const staticLinks = this.appSettingsLinksFromConfig;\r\n return [\r\n extractLink('Contact Us', dynamiLinks, staticLinks),\r\n extractLink('User Agreement', dynamiLinks, staticLinks),\r\n extractLink('Privacy Policy', dynamiLinks, staticLinks),\r\n ].filter(obj => obj !== null);\r\n }),\r\n );\r\n }\r\n\r\n public appLocationMode$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.getAppLocationMode\r\n ),\r\n );\r\n }\r\n\r\n public isVenueMode$(): Observable {\r\n return this.appLocationMode$()\r\n .pipe(\r\n map(mode => mode === OLO.Enums.APP_MODE.VENUE)\r\n );\r\n }\r\n\r\n public showDistance$(): Observable {\r\n return this.appLocationMode$()\r\n .pipe(\r\n map(mode => mode === OLO.Enums.APP_MODE.LOCATION),\r\n );\r\n }\r\n\r\n public deviceType$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.getDeviceType\r\n ),\r\n );\r\n }\r\n\r\n public hasInitialized$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.hasAppInitialized\r\n ),\r\n );\r\n }\r\n\r\n public isOnline$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOnline)\r\n );\r\n }\r\n\r\n public getMappedOfflineError(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOnlineMapped)\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, combineLatest, switchMap, take, filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CartController {\r\n public popupTimeout: number = 300;\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n\r\n public handleActiveOrderContinue(modalId: number, locationNo: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage),\r\n take(1)\r\n ).subscribe(isCheckoutPage => {\r\n this.activeOrderContinue(modalId);\r\n\r\n if (!isCheckoutPage) {\r\n // this._routeService.navigateToLocation(locationNo);\r\n\r\n /* Give some time to close modal before navigating to avoid modal's 'injury'. This is pure precautious */\r\n setTimeout(() => this._routeService.navigateToCartsLocation(), 501);\r\n\r\n }\r\n });\r\n }\r\n\r\n public handleActiveOrderStartNew(modalId: number, locationNo: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage),\r\n take(1)\r\n ).subscribe(isCheckoutPage => {\r\n this.activeOrderStartNew(modalId, locationNo);\r\n if (isCheckoutPage) {\r\n setTimeout(() => this._routeService.navigateToCartsLocation(), 501);\r\n }\r\n });\r\n }\r\n\r\n public getCartLocationNo$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n map(cart => cart.locationNo)\r\n );\r\n }\r\n\r\n public updateCartPickupTime(pickupTime: OLO.Ordering.IPickupTime): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n take(1)\r\n ).subscribe(cart => {\r\n this._store.dispatch(actions.CartPickupTimeUpdate({ modalId: null, locationNo: cart.locationNo, pickupTime }));\r\n });\r\n }\r\n\r\n public cartMenuFlowTotalQuantityForCurrentLocation$(menuFlowId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowTotalQuantityForCurrentLocation(menuFlowId))\r\n );\r\n }\r\n\r\n public cartSimpleProductTotalQuantityForCurrentLocation$(productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartSimpleProductTotalQuantityForCurrentLocation(productId))\r\n );\r\n }\r\n\r\n public cartTotalQuantity$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartTotalQuantity),\r\n );\r\n }\r\n\r\n public cartTotalValue$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartTotalValue),\r\n );\r\n }\r\n\r\n public cartLocationFriendlyName$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartLocationFriendlyName),\r\n );\r\n }\r\n\r\n public isPopupVisible$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isCartPopupVisible)\r\n );\r\n }\r\n\r\n public popupAnimation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.cartPopupAnimation)\r\n );\r\n }\r\n\r\n public cartPickupTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartPickupTime)\r\n );\r\n }\r\n\r\n public cartPickupTimeLabel$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getPickupTimeLabelForCart),\r\n );\r\n }\r\n\r\n public cartPickupTimeLabelFull$(prefix: string = 'PICK UP ', type: OLO.Types.PICKUP_LABEL_TYPES = 'common'): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartPickupTime),\r\n filter(pickupTime => !!pickupTime === true),\r\n map(pickupTime => {\r\n return `${prefix || ''}${Utils.Dates.createPickupLabelName(\r\n this._config.pickups.futureOrders,\r\n type,\r\n pickupTime?.Date || new Date(),\r\n pickupTime ? pickupTime.IsAsap : true,\r\n null,\r\n pickupTime?.IsAsap ? pickupTime.MinutesFromNow : null\r\n )}`;\r\n })\r\n );\r\n\r\n }\r\n\r\n public cartMenuFlowDescription$(id: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowDescription(id))\r\n );\r\n }\r\n\r\n public getAllCartItemsSorted$(): Observable> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartAllItems)\r\n );\r\n }\r\n\r\n public emptyBtnLabel$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n map(isLocationDetails => {\r\n return isLocationDetails ? 'view menu' : 'Choose store';\r\n })\r\n );\r\n }\r\n\r\n public calculateCartItemTotalValue(item: State.ICartMenuFlow & State.ICartSimpleItem): number {\r\n return item.MenuFlowId ? item.UnitTotalValue * item.Quantity : item.UnitPrice * item.Quantity;\r\n }\r\n\r\n public cartItemTotalValue$(item: State.ICartMenuFlow & State.ICartSimpleItem): Observable {\r\n if (item.MenuFlowId) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowById(item._Id)),\r\n filter(menuFlow => menuFlow !== undefined),\r\n map(menuFlow => {\r\n return menuFlow.Quantity * menuFlow.UnitTotalValue;\r\n })\r\n );\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartSimpleItemById(item._Id)),\r\n filter(product => product !== undefined),\r\n map(product => product.Quantity * product.UnitPrice)\r\n );\r\n }\r\n\r\n public cartItemTotalQuantity$(item: State.ICartMenuFlow & State.ICartSimpleItem): Observable {\r\n if (item.MenuFlowId) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartMenuFlowById(item._Id)),\r\n filter(menuFlow => menuFlow !== undefined),\r\n map(menuFlow => {\r\n return menuFlow.Quantity;\r\n })\r\n );\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartSimpleItemById(item._Id)),\r\n filter(product => {\r\n return product !== undefined;\r\n }),\r\n map(product => product.Quantity)\r\n );\r\n }\r\n\r\n public cartItemTitle(item: State.ICartMenuFlow & State.ICartSimpleItem): string {\r\n return item.IsUpsell ? item.DisplayName : item.PosDisplay;\r\n }\r\n\r\n public cartItemDescription(item: State.ICartMenuFlow & State.ICartSimpleItem): Observable {\r\n return item.MenuFlowId ? this.cartMenuFlowDescription$(item._Id) : null;\r\n }\r\n\r\n public showViewCart$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getDeviceType),\r\n combineLatest(\r\n this.cartTotalQuantity$(),\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage)\r\n )\r\n ),\r\n map(([device, total, isCheckoutPage]) => {\r\n return isCheckoutPage === false && device === OLO.Enums.DEVICE_TYPE.MOBILE && total > 0;\r\n })\r\n );\r\n }\r\n\r\n /* MOVE */\r\n public decrementCartItem(item: State.ICartMenuFlow | State.ICartSimpleItem): void {\r\n const id: number = item._Id;\r\n const isMenuFlow: boolean = !!item.MenuFlowId;\r\n const shouldRemove: boolean = item.Quantity <= 1;\r\n\r\n if (isMenuFlow) {\r\n if (shouldRemove) {\r\n return this._store.dispatch(actions.CartMenuFlowRemove({ tempId: id }));\r\n }\r\n return this._store.dispatch(actions.CartMenuFlowDecrement(id));\r\n }\r\n\r\n if (shouldRemove) {\r\n return this._store.dispatch(actions.CartSimpleItemRemove({ tempItemId: id }));\r\n }\r\n\r\n return this._store.dispatch(actions.CartSimpleItemDecrement(id));\r\n }\r\n\r\n /* MOVE */\r\n public incrementCartItem(item: State.ICartMenuFlow | State.ICartSimpleItem): void {\r\n const id: number = item._Id;\r\n const isMenuFlow: boolean = !!item.MenuFlowId;\r\n\r\n if (isMenuFlow) {\r\n return this._store.dispatch(actions.CartMenuFlowIncrement(id));\r\n }\r\n\r\n return this._store.dispatch(actions.CartSimpleItemIncrement(id));\r\n }\r\n\r\n /* MOVE */\r\n public editCartItem(item: State.ICartMenuFlow | State.ICartSimpleItem): void {\r\n return this._store.dispatch(actions.CartEditItem({ item }));\r\n }\r\n\r\n /* MOVE */\r\n public activeOrderContinue(modalId: number): void {\r\n this._store.dispatch(actions.CartActiveOrderContinue({ modalId }));\r\n }\r\n\r\n /* MOVE */\r\n public activeOrderStartNew(modalId: number, locationNo: number): void {\r\n this._store.dispatch(actions.CartActiveOrderStartNew({ modalId, locationNo }));\r\n }\r\n\r\n // public clearCart(): void {\r\n // this._store.dispatch(actions.CartReset());\r\n // this._store.dispatch(actions.OnlineOrderStateReset());\r\n // }\r\n\r\n /* MOVE */\r\n public removeAllItems(): void {\r\n /* Will preserve info about online menu and location */\r\n this._store.dispatch(actions.CartReset());\r\n }\r\n\r\n /* MOVE */\r\n public quickAddToCart(item: State.ICartMenuFlow | State.ICartSimpleItem | APIv1.OnlineMenuProductResponseModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n const convertedItem = Utils.Items.convertToSanitizedSimpleItem(item, locationNo);\r\n this._store.dispatch(actions.CartSetup({ modalId: null, locationNo, item: convertedItem }));\r\n });\r\n }\r\n\r\n public addAsIs(item: APIv1.OnlineMenuProductResponseModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n this._store.dispatch(\r\n actions.WizzardSilentSetupItem(locationNo, item)\r\n );\r\n });\r\n\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, withLatestFrom, take, filter, combineLatest } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CreditCardsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public isAddingCard$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isAddingCardRequest),\r\n );\r\n }\r\n\r\n public isDownloadingCardsList$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isDownloadingCardsList)\r\n );\r\n }\r\n\r\n public isMakingRequests$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingCards),\r\n );\r\n }\r\n\r\n public showPaymentFormForGuest$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.shouldShowCreditCardForm),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.showAddCardForm)\r\n )\r\n ),\r\n map(([shouldShowForm, formIsAddingFlag]) => {\r\n return shouldShowForm || formIsAddingFlag;\r\n }),\r\n );\r\n }\r\n\r\n public showPaymentFormForMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n combineLatest(\r\n this.isMakingRequests$(),\r\n this.isLoadingCardsFirstTime$(),\r\n this.isAccountChargeSet$(this._config)\r\n ),\r\n filter(([state, isMakingRequests, isLoadingCardsFirstTime]) => isMakingRequests === false), /* Filter this to avoid form disconnection during post */\r\n map(([state, isMakingRequests, isLoadingCardsFirstTime, hasAccount]) => {\r\n if (isMakingRequests || isLoadingCardsFirstTime || hasAccount) return false;\r\n\r\n if (!state.data || state.data.length === 0) return true;\r\n return state.showAddCardForm;\r\n })\r\n );\r\n }\r\n\r\n public canChangePaymentDetailsForGuest$(): Observable {\r\n return this.showPaymentFormForGuest$()\r\n .pipe(\r\n map(showForm => {\r\n return !showForm;\r\n }),\r\n );\r\n }\r\n\r\n public canChangePaymentDetailsForMember$(): Observable {\r\n return this.showPaymentFormForMember$()\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isUnsavedCardSelected)\r\n ),\r\n this.isMakingRequests$(),\r\n ),\r\n map(([showForm, state, isUnsavedCardSelected, isMakingRequests]) => {\r\n if (isMakingRequests) return false;\r\n\r\n const containsUnsavedCard = state.data.some(obj => obj.Id === null);\r\n return !showForm && containsUnsavedCard && isUnsavedCardSelected;\r\n }),\r\n );\r\n }\r\n\r\n public canMemberAddAnotherCard$(): Observable {\r\n return this.showPaymentFormForMember$()\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n ),\r\n this.isMakingRequests$(),\r\n this.isAccountChargeSet$(this._config)\r\n ),\r\n map(([showForm, state, isMakingRequests, hasAccount]) => {\r\n if (isMakingRequests) return false;\r\n if (hasAccount) return true;\r\n return showForm ? false : state.data.length > 0;\r\n }),\r\n );\r\n }\r\n\r\n public isAccountChargeSet$(config: IConfig): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isAccountSet(config))\r\n );\r\n }\r\n\r\n public getCardsList$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCards),\r\n );\r\n }\r\n\r\n public getActiveCardDetails$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getActiveCardDetails)\r\n );\r\n }\r\n\r\n public isCardSelected$(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isCardSelected(creditCard)),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled),\r\n )\r\n ),\r\n map(([isCardSelected, isGuest]) => {\r\n if (isGuest) return true;\r\n\r\n return isCardSelected;\r\n })\r\n );\r\n }\r\n\r\n public cardErrorMessages(creditCard: OLO.Members.IMemberCreditCardDetails): { [key: string]: string; } {\r\n if (creditCard.Id) return { cardRetry: null };\r\n return { cardChange: null };\r\n }\r\n\r\n public selectedCardIsOk$(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this.isCardSelected$(creditCard)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getPaymentErrors)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n )\r\n ),\r\n map(([isSelected, errors, guestMode, cardsState]) => {\r\n if (!guestMode) return isSelected && errors.length === 0;\r\n\r\n if (isSelected && cardsState.validation.hasFailed === true || errors.length > 0) return false;\r\n\r\n return isSelected;\r\n })\r\n );\r\n }\r\n\r\n public selectedCardHasError$(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this.isCardSelected$(creditCard)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getPaymentErrors)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n )\r\n ),\r\n map(([isSelected, errors, guestMode, cardsState]) => {\r\n const savedHasError = !guestMode && isSelected && errors.length !== 0;\r\n\r\n const validationFailed: boolean = creditCard._ValidationStatus === 'error' && isSelected;\r\n const removeFailed: boolean = cardsState.remove.id !== null && cardsState.remove.id === creditCard.Id && cardsState.remove.hasFailed;\r\n if (validationFailed || removeFailed || savedHasError) return true;\r\n\r\n return false;\r\n }),\r\n );\r\n }\r\n\r\n public getActiveCardRedirectUrl$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getActiveCardRedirectUrl)\r\n );\r\n }\r\n\r\n public canCancelAddingNewCardsForm$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasCreditCardsDefined),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState)\r\n )\r\n ),\r\n map(([hasCardsDefined, state]) => {\r\n if (state.activeCardRedirectUrl && state.data && state.data.length === 1) return false;\r\n return hasCardsDefined;\r\n })\r\n );\r\n }\r\n\r\n public isLoadingCardsFirstTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isRequestingCardsFirstTime),\r\n );\r\n }\r\n\r\n public hasDownloadedCards$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasDownloadedCards),\r\n );\r\n }\r\n\r\n public hasCards$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n combineLatest(\r\n this.isLoadingCardsFirstTime$()\r\n ),\r\n filter(([state, isLoadingFirstTime]) => isLoadingFirstTime === false),\r\n map(([state, isLoadingFirstTime]) => state.data && state.data.length > 0)\r\n );\r\n }\r\n\r\n public isRemovingCard(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isRemovingCard(creditCard.Id))\r\n );\r\n }\r\n\r\n public removeCardFailed(creditCard: OLO.Members.IMemberCreditCardDetails): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.removeFailedForCard(creditCard.Id))\r\n );\r\n }\r\n\r\n public canShowNoPaymentMethodDefined$(): Observable {\r\n return this.hasCards$()\r\n .pipe(\r\n combineLatest(\r\n this.hasDownloadedCards$(),\r\n this._store\r\n .pipe(\r\n select(selectors.showAccountPaymentMethod(this._config))\r\n ),\r\n ),\r\n map(([hasCards, hasDownloaded, hasAccountPaymentMethod]) => {\r\n return hasDownloaded === true && hasCards === false && !hasAccountPaymentMethod;\r\n })\r\n );\r\n }\r\n\r\n public resetCreditCardErrors(): void {\r\n this._store.dispatch(actions.CreditCardsResetError());\r\n }\r\n\r\n public addCreditCard(cardData: OLO.CreditCards.ICreditCardDetails): void {\r\n this._store.dispatch(actions.GetCreditCardToken(cardData));\r\n }\r\n\r\n public hideAddCardForm(): void {\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding: false }));\r\n }\r\n\r\n public toggleCreditCardFormVisibilityWithCleanUp(isAdding: boolean = true): void {\r\n this._store.dispatch(actions.CreditCardsClearAllUnsavedCards());\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding }));\r\n }\r\n\r\n public removeAllUnsavedCards(): void {\r\n return this._store.dispatch(actions.CreditCardsClearAllUnsavedCards());\r\n }\r\n\r\n public resetCreditCardDetails(): void {\r\n this._store.dispatch(actions.CreditCardsStateReset());\r\n }\r\n\r\n public removeUnsavedSelectedCard(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n take(1)\r\n ).subscribe(state => {\r\n const activeToken = state.activeCardToken;\r\n const card = state.data.find(obj => obj.Token === activeToken && obj.Id === null);\r\n\r\n if (!card) return;\r\n\r\n this._store.dispatch(actions.CreditCardsRemoveUnsavedCard({ token: activeToken }));\r\n });\r\n }\r\n public selectCardForPayment(card: OLO.Members.IMemberCreditCardDetails): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isPaying),\r\n take(1)\r\n ).subscribe(isPaying => {\r\n if (isPaying) return;\r\n\r\n this._store.dispatch(actions.PaymentReset());\r\n this._store.dispatch(actions.CreditCardsResetError());\r\n if (card.Id) {\r\n return this._store.dispatch(actions.SelectActiveCreditCardId({ cardId: card.Id }));\r\n }\r\n\r\n return this._store.dispatch(actions.SelectActiveCreditCardToken({ token: card.Token }));\r\n });\r\n }\r\n\r\n public requestCardsList(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.isDownloading === false),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n ),\r\n ),\r\n take(1),\r\n ).subscribe(([state, isAuthorized, isGuest]) => {\r\n if (isAuthorized && !isGuest) {\r\n this._store.dispatch(actions.CreditCardsRequest());\r\n }\r\n });\r\n }\r\n\r\n public removeCreditCard(card: OLO.Members.IMemberCreditCardDetails): void {\r\n return this._store.dispatch(actions.CreditCardsRemoveRequest({ cardId: card.Id }));\r\n }\r\n\r\n public memberCardErrorHandler(card: OLO.Members.IMemberCreditCardDetails): void {\r\n this._store.dispatch(actions.PaymentReset());\r\n }\r\n\r\n public isAccountChargeSelected$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isAccountChargeSelected)\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, combineLatest, filter, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HistoryOrdersController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n private _orderWithStateMapper(withState: boolean, ...filterByLocationNos: number[]): (orders: State.IOnlineOrderStateItemObj[]) => State.IOnlineOrderStateItemObj[] | APIv1.OnlineOrderDetailedBusinessModel[] {\r\n return (orders: State.IOnlineOrderStateItemObj[]) => {\r\n if (withState) {\r\n return filterByLocationNos.length === 0 ? orders : orders.filter(order => order.data && filterByLocationNos.includes(order.data.PickupLocation));\r\n }\r\n\r\n const reducedOrders: APIv1.OnlineOrderDetailedBusinessModel[] = orders.reduce((acc, order) => {\r\n if (!order.data) return acc;\r\n return [\r\n ...acc,\r\n order.data\r\n ];\r\n }, []);\r\n\r\n return filterByLocationNos.length === 0 ? reducedOrders : reducedOrders.filter(order => filterByLocationNos.includes(order.PickupLocation));\r\n };\r\n }\r\n\r\n public activeOrders$(withState: boolean = true, ...filterByLocationNos: number[]): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryActiveOrders),\r\n map(this._orderWithStateMapper(withState, ...filterByLocationNos)),\r\n );\r\n }\r\n\r\n public historyOrders$(withState: boolean = true, ...filterByLocationNos: number[]): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrders),\r\n map(this._orderWithStateMapper(withState, ...filterByLocationNos)),\r\n );\r\n }\r\n\r\n public mappedOrderItems$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId)),\r\n filter(order => order !== null && order.data !== null),\r\n map(order => Utils.OnlineOrders.mapOnlineOrderProducts(order.data, true))\r\n );\r\n }\r\n\r\n public status$(): Observable<{\r\n isDownloading: boolean;\r\n hasSucceeded: boolean;\r\n hasFailed: boolean;\r\n }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrdersStatus)\r\n );\r\n }\r\n\r\n public titleForActiveOrder$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId)),\r\n map(order => {\r\n if (!order || !order.data) return '';\r\n\r\n return `Ready for pick up at ${Utils.Dates.transformHours(order.data.PickUpDate)}`;\r\n })\r\n );\r\n }\r\n\r\n public isOrderActive$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.historyOrderIsActive(orderId)),\r\n filter(isActive => isActive !== null),\r\n );\r\n }\r\n\r\n public isOrderFinalized$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.historyOrderIsFinalized(orderId))\r\n );\r\n }\r\n\r\n public isLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingAnyHistoryOrder)\r\n );\r\n }\r\n\r\n public isLoadingFirstTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isRequestingHistoryOrderFirstTime),\r\n );\r\n }\r\n\r\n public hasOrders$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasAnyHistoryOrder)\r\n );\r\n }\r\n\r\n public hasHistoryOrders$(): Observable {\r\n return this.isLoading$()\r\n .pipe(\r\n combineLatest(\r\n this.historyOrders$()\r\n ),\r\n map(([loading, orders]) => {\r\n if (loading) return null;\r\n\r\n return orders.length > 0;\r\n })\r\n );\r\n }\r\n\r\n public hasActiveOrders$(): Observable {\r\n return this.isLoading$()\r\n .pipe(\r\n combineLatest(\r\n this.activeOrders$()\r\n ),\r\n map(([loading, orders]) => {\r\n if (loading) return null;\r\n\r\n return orders.length > 0;\r\n })\r\n );\r\n }\r\n\r\n public noHistoryOrders$(): Observable {\r\n return this.isLoadingFirstTime$()\r\n .pipe(\r\n combineLatest(\r\n this.isLoading$(),\r\n this.hasOrders$()\r\n ),\r\n map(([isLoadingFirstTime, isLoading, hasOrders]) => isLoading === false && !hasOrders)\r\n );\r\n }\r\n\r\n public getHistoryOrder$(orderId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId)),\r\n );\r\n }\r\n\r\n public getHistoryOrderMemberId$(orderId: number) {\r\n return this.getHistoryOrder$(orderId)\r\n .pipe(\r\n map(order => order && order.data ? order.data.MemberId : null)\r\n );\r\n }\r\n\r\n public getHistoryOrderSummary$(orderId: number): Observable {\r\n return this.getHistoryOrder$(orderId)\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => {\r\n return {\r\n Subtotal: order.data.TotalNettValue,\r\n Tax: order.data.TotalTaxes[0] ? order.data.TotalTaxes[0].Value : null,\r\n Total: order.data.TotalGrossValue,\r\n Surcharges: order.data.Surcharges,\r\n };\r\n })\r\n );\r\n }\r\n\r\n public getHistoryOrderTitle$(orderId: number, includeLocationName: boolean = false): Observable {\r\n return this.getHistoryOrder$(orderId)\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n switchMap(order => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(order.data.PickupLocation)),\r\n filter(location => location !== null),\r\n map(location => {\r\n const isActiveOrder = Utils.OnlineOrders.isOrderActive(order.data.Status);\r\n const locationName: string = includeLocationName ? `${location.LocationFriendlyName} - ` : '';\r\n if (isActiveOrder) {\r\n return `${locationName}Pickup at ${Utils.Dates.transformHours(order.data.PickUpDate)}`;\r\n }\r\n\r\n return `${locationName}${Utils.Dates.descriptionDate(order.data.PickUpDate)}`;\r\n })\r\n );\r\n })\r\n );\r\n }\r\n\r\n public canShowHistoryOrders$(active: boolean = false, ...locationNos): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canShowHistoryOrders(active, ...locationNos)),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GeolocationController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public get userCoordsState$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getGeolocationState),\r\n );\r\n }\r\n\r\n public getDistanceToLocation$(coords: OLO.Maps.IMapSimpleCoords, toFixed: number = 2): Observable {\r\n return this.userCoordsState$\r\n .pipe(\r\n map(state => {\r\n if (state.data && coords.latitude && coords.longitude) {\r\n let distance: number = Services.GeolocationService.getDistanceFromTo(\r\n {\r\n longitude: state.data.longitude,\r\n latitude: state.data.latitude,\r\n }, {\r\n ...coords\r\n });\r\n\r\n if (this._config.localization.units === 'imperial') {\r\n distance = Utils.Numbers.kilometersToMiles(distance);\r\n }\r\n\r\n if (toFixed !== null && toFixed !== undefined && toFixed >= 0) {\r\n distance = +distance.toFixed(toFixed);\r\n }\r\n\r\n return distance;\r\n }\r\n return null;\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, MemoizedSelector, createSelector } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, auditTime, filter, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FiltersController {\r\n private _pickupModes: OLO.Components.DropDown.IDropDownOption[] = [\r\n {\r\n Id: 1,\r\n Name: 'ASAP'\r\n },\r\n {\r\n Id: 2,\r\n Name: 'Later today',\r\n }\r\n ];\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public get pickupModes(): OLO.Components.DropDown.IDropDownOption[] {\r\n return this._pickupModes.map(mode => {\r\n if (mode.Id === 2 && this.config.pickups.futureOrders) {\r\n return {\r\n ...mode,\r\n Name: 'Schedule'\r\n };\r\n }\r\n return {\r\n ...mode,\r\n };\r\n });\r\n }\r\n\r\n // public getAvailablePickupTimesForAllLocations(\r\n // orderTimeoutBufferMins: number = this.config.pickups.orderTimeoutBufferMins,\r\n // startBufferMins: number = this.config.pickups.startBufferMins,\r\n // nextTick: number = this.config.pickups.nextTick,\r\n // ): MemoizedSelector {\r\n // return createSelector(\r\n // selectors.getEdgeOrderingTimeInfoForLocations(),\r\n // (edgeCases) => {\r\n // const DayOfWeek: number = new Date().getDay();\r\n\r\n // if (edgeCases.MinimumPickupTime === null) {\r\n // return null;\r\n // }\r\n // return Utils.Dates.generatePickupTimesList({\r\n // location: null,\r\n // asapPickupMins: edgeCases.MinimumPickupTime,\r\n // openingHours: {\r\n // DayOfWeek: (DayOfWeek as APICommon.DayOfWeek),\r\n // OpeningTime: edgeCases.OpeningTime,\r\n // ClosingTime: edgeCases.ClosingTime,\r\n // // LocationId: 0, /* API bug */\r\n // },\r\n // orderTimeoutBufferMins,\r\n // startBufferMins,\r\n // nextTick,\r\n // });\r\n // }\r\n // );\r\n // }\r\n\r\n // public generatePickupTimesListForAllLocations$(\r\n // orderTimeoutBufferMins: number = this.config.pickups.orderTimeoutBufferMins,\r\n // startBufferMins: number = this.config.pickups.startBufferMins,\r\n // nextTick: number = this.config.pickups.nextTick,\r\n // ): Observable {\r\n // return this._store.pipe(\r\n // select(selectors.generatedPickupTimesForAllLocations(orderTimeoutBufferMins, startBufferMins, nextTick)),\r\n // filter(c => c !== null && c.length > 0),\r\n // distinct(c => c[0].Id && c[c.length - 1].Id),\r\n // );\r\n // }\r\n\r\n\r\n public getLocationFilters$(): Observable {\r\n return this._store.pipe(select(selectors.getLocationFilters));\r\n }\r\n\r\n public getLocationFilterCurrentMode$(): Observable {\r\n return this._store.pipe(select(selectors.getLocationFiltersPickupMode));\r\n }\r\n\r\n public getLocationFilterSelectedPickupTime$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationFilterSelectedPickupTime)\r\n );\r\n }\r\n\r\n public getLocationsSearchInput$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.getLocationFiltersSearchInput),\r\n );\r\n }\r\n\r\n public asapPickupTimeForLocation$(locationNo: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getMinimumPickupTimeForLocation(locationNo)),\r\n map(obj => {\r\n if (!obj || obj.isDownloading) return null;\r\n return obj.MinimumPickupTime;\r\n }),\r\n auditTime(0),\r\n );\r\n }\r\n\r\n // public locationFilterPickupTimeOptions$(): Observable {\r\n // return this._store.pipe(\r\n // select(selectors.generatedPickupTimesForAllLocations(\r\n // this.config.pickups.orderTimeoutBufferMins,\r\n // this.config.pickups.startBufferMins,\r\n // this.config.pickups.nextTick\r\n // )),\r\n // filter(c => c !== null && c.length > 0),\r\n // distinct(c => c[0].Id && c[c.length - 1].Id),\r\n // );\r\n // }\r\n\r\n public pickupTimesListForLocation$(period: OLO.Ordering.IPeriod, locationNo: number) {\r\n return this._store\r\n .pipe(\r\n select(selectors.generatedPickupTimesForLocationForPeriod(period, locationNo))\r\n );\r\n }\r\n\r\n public pickupTimesListForAllLocations$(includeDayName: boolean = true, limit: number = null, isSchedule: boolean = false): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.generatedFiltersPickupTimesForAllLocations(\r\n this.config,\r\n includeDayName,\r\n limit,\r\n isSchedule,\r\n ))\r\n );\r\n // return this.locationFilterPickupTimeOptions$()\r\n // .pipe(\r\n // map(obj => {\r\n // let list = [\r\n // {\r\n // Date: null,\r\n // DateLocalISO: null,\r\n // Hour: null,\r\n // Id: 1,\r\n // Index: null,\r\n // IsAsap: true,\r\n // MinutesFromNow: null,\r\n // Name: `${isSchedule ? 'Today - ' : ''}ASAP`,\r\n // DisplayName: `${isSchedule ? 'Today - ' : ''}ASAP`,\r\n // PlaceOrderTimeout: null,\r\n // IsToday: true,\r\n // DayNo: 0,\r\n // },\r\n // ...obj\r\n // .filter(pickup => {\r\n // return pickup.IsAsap === false;\r\n // })\r\n // .map(pickup => {\r\n // let Name: string = includeDayName ? `${Utils.Dates.getDayNameFromDate(pickup.Date)} ${pickup.Name}` : pickup.Name;\r\n\r\n // if (isSchedule) {\r\n // const diff = Utils.Dates.datesDiffInDays(new Date(), pickup.Date);\r\n\r\n // switch (true) {\r\n // case diff === 0:\r\n // Name = `Today - ${pickup.Name}`;\r\n // break;\r\n // case diff === 1:\r\n // Name = `Tomorrow - ${pickup.Name}`;\r\n // break;\r\n // }\r\n\r\n // return {\r\n // ...pickup,\r\n // Name\r\n // };\r\n // }\r\n // return {\r\n // ...pickup,\r\n // Name,\r\n // };\r\n // })];\r\n\r\n // if (limit && list.length > limit) {\r\n // list.length = limit;\r\n // }\r\n\r\n // if (isSchedule) {\r\n // list.push({\r\n // Date: null,\r\n // DateLocalISO: null,\r\n // Hour: null,\r\n // Id: -1,\r\n // Index: null,\r\n // IsAsap: false,\r\n // MinutesFromNow: null,\r\n // Name: `Schedule for later`,\r\n // DisplayName: `Schedule for later`,\r\n // PlaceOrderTimeout: null,\r\n // IsToday: null,\r\n // DayNo: null,\r\n // });\r\n // }\r\n\r\n // return list;\r\n // })\r\n // );\r\n }\r\n\r\n\r\n public pickupTimesListForAllLocationsForPeriod$(period: OLO.Ordering.IPeriod/* , includeDayName: boolean = true, limit: number = null, isSchedule: boolean = false */): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.generatedPickupTimesForAllLocationsForPeriod(\r\n period,\r\n 0,\r\n 60,\r\n 60\r\n ))\r\n );\r\n }\r\n\r\n public getPickupTimeByScheduleValues$(periodId: number, pickupTimeId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAllLocationsPeriods()),\r\n map(periods => periods?.find(obj => obj.Id === periodId)),\r\n switchMap(period => {\r\n if (period.IsToday) {\r\n return this.pickupTimesListForAllLocations$();\r\n }\r\n return this.pickupTimesListForAllLocationsForPeriod$(period);\r\n }),\r\n map(pickups => pickups?.find(obj => obj.Id === pickupTimeId))\r\n );\r\n }\r\n\r\n private _dispatchLocationsFiltersActions(data: OLO.Ordering.IPickupTime): void {\r\n /* Just update state */\r\n this._store.dispatch(actions.LocationsFiltersSetPickupTime(data));\r\n this._store.dispatch(actions.CurrentLocationFiltersPickupTimeSync(data));\r\n }\r\n\r\n public onLocationsFilterModeChange(modeId: number): void {\r\n this._store.dispatch(actions.LocationsFiltersSetPickupMode(this.pickupModes[modeId] as OLO.Ordering.IFilterForPickupMode));\r\n }\r\n\r\n public onLocationsFilterChange($event: OLO.Ordering.IPickupTime): void {\r\n this._dispatchLocationsFiltersActions($event as OLO.Ordering.IPickupTime);\r\n }\r\n\r\n public clearPickupFilters(): void {\r\n this._store.dispatch(actions.LocationsFiltersRestorePickupTime());\r\n this._store.dispatch(actions.CurrentLocationFiltersPickupTimeSync(null));\r\n }\r\n\r\n public selectPickupTimeOption(option: OLO.Ordering.IPickupTime, processName: boolean = false): void {\r\n if (option.Id === 1) {\r\n this.clearPickupFilters();\r\n return;\r\n }\r\n\r\n const processedOption = {\r\n ...option,\r\n Name: processName ? option.Name.includes(' ') ? option.Name.split(' ')[1] : option.Name : option.Name,\r\n };\r\n\r\n this.onLocationsFilterChange(processedOption);\r\n }\r\n\r\n public setLocationsFiltersSearchTerm(term: string = null): void {\r\n this._store.dispatch(actions.LocationsFiltersSetSearch(term));\r\n }\r\n\r\n public setOnlineMenuFiltersSearchTerm(term: string = null): void {\r\n this._store.dispatch(actions.OnlineMenuFiltersSetSearch(term));\r\n }\r\n\r\n public getOnlineMenuFiltersSearchTerm$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuFiltersSearchInput)\r\n );\r\n }\r\n\r\n public openScheduleModal(modalId: number, locationNo: number = null, update: boolean = false): void {\r\n this._modalsService.show({\r\n id: modalId || new Date().getTime(),\r\n type: 'schedule',\r\n locationNo,\r\n params: {\r\n update,\r\n }\r\n });\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, delay, auditTime, filter, combineLatest, switchMap, take, withLatestFrom, distinct } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoyaltyController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n\r\n public getLoyaltyMessages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyMessages)\r\n );\r\n }\r\n\r\n // this.image$ = this.controllers.loyalty.getMemberLoyaltyCardBarcode$(this.memberId, this.barcodeType)\r\n public getMemberLoyaltyCardBarcode$(memberId: number, barcodeType: OLO.Enums.BARCODE_SYMBOLOGY = OLO.Enums.BARCODE_SYMBOLOGY.CODE_QR): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberCardBarcodeImage(memberId || (state.data && state.data.MemberId), barcodeType))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public getLoyaltyHeaderText(): string[] {\r\n return this._config.ui.loyalty.heroText || [];\r\n }\r\n\r\n public createAccountWithMemberCard(): void {\r\n if (this._config.memberCard) {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER_CARD }));\r\n } else {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n }\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n }\r\n\r\n public openModalForReward(freeProductId: number): void {\r\n this._modalsService.show({\r\n type: 'reward',\r\n productId: freeProductId,\r\n });\r\n }\r\n\r\n public showMemberCardButton$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n map(([isAuthorized, state]) => {\r\n if (!isAuthorized || !state.data || !state.data.MemberCardNumber) return false;\r\n return true;\r\n })\r\n );\r\n }\r\n\r\n public openModalForMemberCard(memberId: number): void {\r\n this._modalsService.show({\r\n type: 'member-card',\r\n memberId,\r\n feel: 'brand-accent'\r\n });\r\n }\r\n\r\n public checkForLoyaltyIntroductionPages(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPages),\r\n take(1)\r\n ).subscribe(pages => {\r\n if (pages.data || pages.isDownloading) return;\r\n\r\n this._loyaltyAppService.requestLoyaltyIntroductionPages();\r\n });\r\n }\r\n\r\n public isLoadingLoyaltyIntroductionPages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPages),\r\n map(pages => pages.isDownloading),\r\n );\r\n }\r\n\r\n public loyaltyIntroductionPagesPromotionModel$(): Observable> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPages),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyIntroductionPagesImages)\r\n )\r\n ),\r\n map(([pages, images]) => {\r\n return pages.data && pages.data.reduce((acc, page) => {\r\n const img: State.ILoyaltyIntroductionPageImage = images.find(obj => obj.PageId === page.Id);\r\n const model: APICommon.IPromotionItem = {\r\n Id: page.Id,\r\n Title: page.Title,\r\n Description: page.Text,\r\n ImgURL: null\r\n };\r\n\r\n if (img && img.data) {\r\n model.ImgURL = img.data;\r\n }\r\n\r\n return [\r\n ...acc,\r\n model,\r\n ];\r\n }, []) || null;\r\n })\r\n );\r\n }\r\n\r\n public getCurrentMemberLoyaltyProgramProducts$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyProgramProductItemsForCurrentMember)\r\n );\r\n }\r\n\r\n public getCurrentMemberLoyaltyFreeProductsGrouped$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyFreeProductsForCurrentMemberGrouped)\r\n );\r\n }\r\n\r\n public isLoadingLoyaltyInfoForMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingLoyaltyInfoForCurrentMember),\r\n );\r\n }\r\n\r\n public getRewardsForMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.freeValidProducts),\r\n map(items => items ? items.sort((a, b) => {\r\n switch (true) {\r\n case new Date(a.DateIssued) < new Date(b.DateIssued):\r\n return 1;\r\n case new Date(a.DateIssued) > new Date(b.DateIssued):\r\n return -1;\r\n default:\r\n return 0;\r\n }\r\n }) : items)\r\n );\r\n }\r\n /* *ngIf=\"!(loading$ | async) && ((rewards$ | async)?.length === 0 || !(rewards$ | async))\" */\r\n public showNoRewardsInfo$(): Observable {\r\n return this.getRewardsForMember$()\r\n .pipe(\r\n withLatestFrom(\r\n this.isLoadingLoyaltyInfoForMember$(),\r\n ),\r\n map(([rewards, isLoading]) => isLoading === false && rewards && rewards.length === 0)\r\n );\r\n }\r\n public getRewardsTotalQuantity$(): Observable {\r\n return this.getRewardsForMember$()\r\n .pipe(\r\n map(rewards => rewards && rewards.length || 0)\r\n );\r\n }\r\n\r\n public getFreeProduct$(freeProductId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFreeProduct(freeProductId))\r\n );\r\n }\r\n\r\n public getFreeProductTitle$(freeProductId: number): Observable {\r\n return this.getFreeProduct$(freeProductId)\r\n .pipe(\r\n map(product => !product ? null : product.OnlineName || product.POSDisplay)\r\n );\r\n }\r\n\r\n public currentMemberHasLoyaltyCard$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n map(([isAuthorized, state]) => {\r\n if (\r\n this._config.appMode === IAppMode.ORDERING_ONLY\r\n || !isAuthorized\r\n || !state.data\r\n || !state.data.MemberCardNumber\r\n ) return false;\r\n\r\n return true;\r\n })\r\n );\r\n }\r\n\r\n public showMemberCardCode(modalId: number = null, barcodeType: OLO.Enums.BARCODE_SYMBOLOGY = OLO.Enums.BARCODE_SYMBOLOGY.CODE_QR): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n take(1),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberCardBarcodeImage(state.data.MemberId)),\r\n take(1),\r\n map(memberCardImage => {\r\n if (!state.data.MemberCardNumber) return null;\r\n\r\n if (!memberCardImage || !memberCardImage.isDownloading && !memberCardImage.data) {\r\n this._store.dispatch(actions.MemberCardBarcodesImagesRequest({\r\n memberId: state.data.MemberId,\r\n barcodeType,\r\n }));\r\n }\r\n\r\n return state.data.MemberId;\r\n })\r\n );\r\n }),\r\n ).subscribe(memberId => {\r\n if (!memberId) {\r\n console.warn('MemberCardNumber is not assigned to current user');\r\n return;\r\n }\r\n this._modalsService.show({\r\n type: 'member-card',\r\n memberId,\r\n id: modalId,\r\n feel: 'brand-accent'\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinctUntilChanged, auditTime, filter, combineLatest, switchMap, take, tap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LocationsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public getPeriodsForAllLocations$(format: string = 'ddd, D MMM', prefixes: boolean = true): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAllLocationsPeriods()),\r\n );\r\n }\r\n\r\n\r\n public getPeriodsForLocation$(locationNo: number, format: string = 'ddd, D MMM', prefixes: boolean = true): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationPeriods(locationNo, format, prefixes)),\r\n );\r\n }\r\n\r\n public currentLocationNoByRoute$(): Observable {\r\n const isVenueSet = this._config.venue !== null && this._config.venue !== undefined && !!this._config.venue.name;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRoute),\r\n combineLatest(\r\n this._store.pipe(\r\n select(selectors.getLocationsState),\r\n )\r\n ),\r\n filter(([route, locations]) => locations.isDownloading === false && locations.data !== null),\r\n map(([route, locations]) => {\r\n if (!route || !locations) return null;\r\n if (!isVenueSet) return route.params.id ? +route.params.id : null;\r\n\r\n const foundLocation: APIv1.LocationBusinessModel = locations.data.find(location => {\r\n if (location.OnlineOrderingStatus !== 0 || location.LocationOLOIsActive !== true || !location.LocationFriendlyName || !route.params.LocationFriendlyName) return false;\r\n\r\n return location.LocationFriendlyName.toLowerCase().replace(/\\s/gi, '') === route.params.LocationFriendlyName.toLowerCase();\r\n });\r\n\r\n return foundLocation ? foundLocation.LocationNo : null;\r\n })\r\n );\r\n }\r\n\r\n public isLocationViewStable$(): Observable {\r\n /* Check if locationNo by route equals currentLocation state - used to check if can make action after location details view is checked, activated and stable */\r\n return this.currentLocationNoByRoute$()\r\n .pipe(\r\n\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo)\r\n )\r\n ),\r\n filter(([urlLocationNo, currentLocationNo]) => urlLocationNo !== null && currentLocationNo !== null && currentLocationNo !== undefined),\r\n map(([urlLocationNo, currentLocationNo]) => {\r\n return urlLocationNo === currentLocationNo;\r\n })\r\n );\r\n }\r\n\r\n public locationsListBy(sortTag: 'Popular' | 'Distance' = null, filterParams: OLO.Common.ILocationFilterParams = {}, limit: number = 3): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFilteredLocations(sortTag, filterParams)),\r\n map(locations => {\r\n if (limit) {\r\n if (locations.length > 3) {\r\n locations.length = 3;\r\n }\r\n }\r\n return locations;\r\n }),\r\n distinctUntilChanged(),\r\n auditTime(0),\r\n );\r\n }\r\n\r\n public locationsListByAppMode$(limit: number = 3): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode),\r\n switchMap(mode => {\r\n if (mode === OLO.Enums.APP_MODE.VENUE) {\r\n return this.locationsListBy('Popular', { byOpenStatus: false, byPickupTime: true, bySearch: false, }, limit);\r\n }\r\n\r\n return this.locationsListBy('Distance', { byOpenStatus: false, byPickupTime: false, bySearch: true, }, limit);\r\n })\r\n );\r\n }\r\n\r\n public isLoadingLocations$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isLoadingDataForAnyLocation),\r\n );\r\n }\r\n\r\n public hasRequestedLocations$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasRequestedLocations)\r\n );\r\n }\r\n\r\n public currentLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationBusinessModel),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public locationDetails$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(locationNo)),\r\n distinctUntilChanged()\r\n );\r\n }\r\n\r\n public locationFriendlyName$(locationNo: number): Observable {\r\n return this.locationDetails$(locationNo)\r\n .pipe(\r\n map(location => {\r\n if (!location) return null;\r\n\r\n return location.LocationFriendlyName || null;\r\n })\r\n );\r\n }\r\n\r\n public locationAddress$(locationNo: number): Observable {\r\n return this.locationDetails$(locationNo)\r\n .pipe(\r\n map(location => {\r\n if (!location) return null;\r\n const arr: string[] = [];\r\n if (location.StreetAddress) arr.push(location.StreetAddress);\r\n if (location.Suburb) arr.push(location.Suburb);\r\n if (location.PostCode) arr.push(location.PostCode);\r\n\r\n return arr.join(', ');\r\n }),\r\n );\r\n }\r\n\r\n public googleMapsLocationAddressLink$(locationNo: number): Observable {\r\n return this.locationAddress$(locationNo)\r\n .pipe(\r\n map(address => `https://maps.google.com/maps?q=${window.encodeURIComponent(address)}`)\r\n );\r\n }\r\n\r\n public openStatus(locationNo: number, shortHour: boolean = false): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationOpenStatus(locationNo)),\r\n distinctUntilChanged(),\r\n filter(obj => obj !== null),\r\n map(obj => {\r\n\r\n if (shortHour) {\r\n const split: string[] = obj.hour.replace(/[a-zA-Z]/gi, '').split(':');\r\n const isFullHour: boolean = split[1] === '00';\r\n return {\r\n ...obj,\r\n hour: isFullHour ? obj.hour.replace(/\\:\\d\\d\\s?/, '') : obj.hour,\r\n };\r\n }\r\n return obj;\r\n }),\r\n );\r\n }\r\n\r\n public locationDescription$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode),\r\n combineLatest(\r\n this.locationDetails$(locationNo),\r\n ),\r\n map(([appMode, location]) => {\r\n const isVenue: boolean = appMode === OLO.Enums.APP_MODE.VENUE;\r\n\r\n let address: string = '';\r\n let coma: string = `, `;\r\n if (location.StreetAddress) {\r\n address = location.StreetAddress;\r\n }\r\n if (location.Suburb) {\r\n address = address ? `${address}${coma}${location.Suburb}` : location.Suburb;\r\n }\r\n if (location.PostCode) {\r\n address = address ? `${address}${coma}${location.PostCode}` : location.PostCode;\r\n }\r\n\r\n if (!isVenue) return address;\r\n\r\n return location.LocationNotes || address || '';\r\n }),\r\n );\r\n }\r\n\r\n public openingHours$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderingTimeInfoByLocationNo(locationNo, false)),\r\n distinctUntilChanged(),\r\n filter(obj => obj !== undefined && obj !== null),\r\n map(obj => {\r\n const sunday: APIv1.LocationOrderingTimeInfoModel[] = [];\r\n const reduced = obj.reduce((acc, day, index) => {\r\n if (index < 7) {\r\n if (day.DayOfWeek === 0) {\r\n sunday.push(day);\r\n return acc;\r\n }\r\n return [\r\n ...acc,\r\n day\r\n ];\r\n }\r\n return acc;\r\n }, [] as APIv1.LocationOrderingTimeInfoModel[]);\r\n\r\n return [\r\n ...reduced.sort((a, b) => a.DayOfWeek - b.DayOfWeek),\r\n ...sunday\r\n ];\r\n }),\r\n );\r\n }\r\n\r\n public locationImage$(locationNo: number, type: OLO.Enums.IMAGE_TYPE): Observable {\r\n return this._store.pipe(select(selectors.getLocationImage(type, locationNo)));\r\n }\r\n\r\n public locationImageSrc$(locationNo: number, type: OLO.Enums.IMAGE_TYPE): Observable {\r\n return this.locationImage$(locationNo, type)\r\n .pipe(\r\n filter(img => img !== null && img !== undefined && img.data !== null),\r\n map(img => img.data.ImageUrl || null)\r\n );\r\n }\r\n\r\n public isLocationOpenNow$(locationNo: number): Observable {\r\n return this._store.pipe(select(selectors.isLocationOpenNowByOrderingTimeInfoObj(locationNo)));\r\n }\r\n\r\n public isValidatingLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.currentLocationIsValidating)\r\n );\r\n }\r\n\r\n public isLocationValid$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.currentLocationIsValid)\r\n );\r\n }\r\n\r\n public canChangeLocation$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo),\r\n map(cartLocationNo => {\r\n if (!cartLocationNo) return false;\r\n\r\n return locationNo !== cartLocationNo;\r\n }),\r\n );\r\n }\r\n\r\n public canOrderFromLocationIncludingFutureOpening(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canOrderFromLocation(locationNo, this._config))\r\n );\r\n }\r\n\r\n public hasLocations$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasLocations)\r\n );\r\n }\r\n\r\n public restoreValidationFlags(): void {\r\n this._store.dispatch(actions.CurrentLocationValidationReset());\r\n }\r\n\r\n public openCartLocationOpenHoursModal(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n this._modalsService.show({ type: 'location-open-hours', locationNo, params: { canNavigate: true } });\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class IngredientsController {\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n\r\n public getIngredientsForWizzardProduct(product: APIv1.MenuFlowProduct): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n filter(wizzardMenuFlow => wizzardMenuFlow !== null),\r\n switchMap(wizzardMenuFlow =>\r\n this._store\r\n .pipe(\r\n select(selectors.getIngredientsForProduct(product.ProductId, wizzardMenuFlow.LocationNo)))\r\n )\r\n );\r\n }\r\n\r\n public isIngredientForWizzardProductMandatory(product: APIv1.MenuFlowProduct): Observable {\r\n return this.getIngredientsForWizzardProduct(product)\r\n .pipe(\r\n map(ingredient => {\r\n // Model has changed, there is no IsOptional flag any more in api model\r\n /* return ingredient.data.Ingredients[0].IsOptional === false */\r\n return true;\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, distinctUntilChanged, filter, combineLatest, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ImagesController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public imageForOrderType$(orderTypeId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypeImage(orderTypeId))\r\n );\r\n }\r\n\r\n public imageForCurrentLocation$(): Observable {\r\n return this._store.select(selectors.getLocationImageForCurrentLocation);\r\n }\r\n\r\n public imageForOnlineMenuPageProduct$(pageId: number, productId: number) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForOnlineMenuPageProduct(pageId, productId)),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public dietaryTagsImages(dietaryTags: APIv1.TagModel[]): Observable {\r\n return this._store.pipe(\r\n select(selectors.getDietaryTagsByTags(dietaryTags || []))\r\n );\r\n }\r\n\r\n public wizzardMenuFlowProductImage$(productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForProduct(productId)),\r\n distinctUntilChanged(),\r\n filter(image => image !== undefined),\r\n );\r\n }\r\n\r\n public venueImage$(imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb): Observable {\r\n const venueId: number = this._config.venue && this._config.venue.id ? this._config.venue.id : null;\r\n\r\n return !venueId ? of(null) : this._store\r\n .pipe(\r\n select(\r\n selectors.getVenueImage(imageType, venueId)\r\n ),\r\n );\r\n }\r\n\r\n public currentLocationImage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationImageForCurrentLocation)\r\n );\r\n }\r\n\r\n public heroHeaderImage$(imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb): Observable {\r\n const defaultImg: string = `\\/assets\\/images\\/hero.bg.jpg`;\r\n const defaultLoyaltyImg: string = `\\/assets\\/images\\/loyalty.bg.jpg`;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.routeIsErrorPage()),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.routeIsAccountPage())\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isCurrentRouteLoyalty)\r\n ),\r\n this._store\r\n .pipe(\r\n select(\r\n selectors.getAppLocationMode\r\n ),\r\n ),\r\n ),\r\n switchMap(([isLocationDetailsPage, isErrorPage, isAccountPage, isLoyaltyPage, appLocationMode]) => {\r\n if (isLoyaltyPage) return of(defaultLoyaltyImg);\r\n\r\n if (isAccountPage || isErrorPage) return of(null);\r\n\r\n if (isLocationDetailsPage) {\r\n return this._store\r\n .pipe(\r\n select(selectors.currentLocationNoByRoute),\r\n filter(locationNo => locationNo !== undefined),\r\n switchMap(locationNo => this._store\r\n .pipe(\r\n select(selectors.getLocationImage(OLO.Enums.IMAGE_TYPE.ForWeb, locationNo)),\r\n map(obj => {\r\n if (obj && obj.data && obj.data.ImageUrl) {\r\n return obj.data.ImageUrl;\r\n }\r\n return null;\r\n })\r\n ))\r\n );\r\n }\r\n\r\n if (appLocationMode === OLO.Enums.APP_MODE.VENUE) {\r\n return this.venueImage$()\r\n .pipe(\r\n filter(obj => obj.isDownloading === false),\r\n map(obj => {\r\n if (obj !== null && obj !== undefined && obj.data && obj.data.ImageUrl) {\r\n return obj.data.ImageUrl;\r\n }\r\n\r\n if (obj.hasSucceeded === false && obj.hasFailed === false) {\r\n return null;\r\n }\r\n\r\n return defaultImg;\r\n\r\n })\r\n );\r\n }\r\n\r\n /* Default preuploaded locally image */\r\n return of(defaultImg);\r\n }),\r\n );\r\n }\r\n\r\n public getImageForFreeProduct$(productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFreeProductsImageImage(productId))\r\n );\r\n }\r\n\r\n public getImageForFreeProductByFreeProductId$(freeProductId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getFreeProduct(freeProductId)),\r\n switchMap(freeProduct => {\r\n if (!freeProduct) return of(null);\r\n return this.getImageForFreeProduct$(freeProduct.ProductId);\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of, combineLatest as ObservableCombineLatest } from 'rxjs';\r\nimport { map, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MembersController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public getAccountBalance$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getAccountBalance)\r\n );\r\n }\r\n\r\n public verifyLinkRewardsAccount(memberCardNumber: string, memberEmail: string): void {\r\n this._store.dispatch(actions.MemberLinkRewardsAccountVerifyRequest({ params: { memberCardNumber, memberEmail } }));\r\n }\r\n\r\n public linkRewardsAccount(password: string): void {\r\n this._store.dispatch(actions.MemberLinkRewardsAccountRequest({ password }));\r\n }\r\n\r\n public hideAccountBalanceAmount$(): Observable {\r\n return this.getAccountBalance$()\r\n .pipe(\r\n map(balance => {\r\n return balance?.data?.AvailableBalance > this._config.accountCharge?.balanceDisplayThreshold ? true : false;\r\n })\r\n );\r\n }\r\n\r\n public showAccountBalance$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.showAccountBalance(this._config))\r\n );\r\n }\r\n\r\n public showAccountPaymentMethod$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.showAccountPaymentMethod(this._config))\r\n );\r\n }\r\n\r\n public uniqueCodeErrorText$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n const unavailable: string = `This link is no longer available`;\r\n const registered: string = `It looks like you’re already registered.`;\r\n return state.uniqueCode.hasFailed ? unavailable : registered;\r\n })\r\n );\r\n }\r\n\r\n public uniqueCodeErrorType$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n return state.uniqueCode.hasFailed ? 0 : 1;\r\n })\r\n );\r\n }\r\n\r\n public signOut(redirect: boolean | string = '/', resetCart: boolean = false): void {\r\n this._store.dispatch(actions.MemberSignOut({ redirect, resetCart }));\r\n }\r\n\r\n public getCurrentMemberCardNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.data && state.data.MemberCardNumber || null)\r\n );\r\n }\r\n\r\n public updateMemberProfile(memberData: APIv1.MemberModel, modalId: number = -100): void {\r\n this._store.dispatch(actions.MemberProfileUpdateInit({\r\n userModel: { ...memberData },\r\n modalId,\r\n }));\r\n }\r\n\r\n\r\n public skipBirthdayRewardsForNow(modal: boolean): void {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.BIRTHDAY_REWARDS, 'skip');\r\n if (modal) {\r\n this._modalsService.closeAllWithAnimation();\r\n }\r\n }\r\n\r\n public setSignUpStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER }));\r\n }\r\n\r\n public setLinkRewardsAccountStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_SIGN_UP }));\r\n }\r\n\r\n public setNewPasswordStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_PASSWORD }));\r\n }\r\n\r\n public openMemberSignUpForm(): void {\r\n this.setSignUpStep();\r\n\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n }\r\n\r\n\r\n public openMemberSignInForm(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n }\r\n\r\n public skipMemberCardSignUp(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n }\r\n\r\n public goToLoginAuthStep(resetValidation: boolean = false): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getAllModals),\r\n take(1),\r\n ).subscribe(modals => {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n\r\n if (resetValidation) {\r\n this.resetValidationState();\r\n }\r\n\r\n if (modals.find(obj => obj.type === 'auth')) {\r\n return;\r\n }\r\n\r\n this._modalsService.show({\r\n type: 'auth'\r\n });\r\n });\r\n }\r\n\r\n public getMemberEmailConfirmState$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberEmailConfirmState)\r\n );\r\n }\r\n\r\n public isAuthorized$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n );\r\n }\r\n\r\n public getSignInLabel$(defaultLabel: string = 'Sign in'): Observable {\r\n return this.isAuthorized$()\r\n .pipe(\r\n switchMap(isAuthorized => {\r\n if (!isAuthorized) return of(defaultLabel);\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentMember),\r\n map(member => {\r\n if (member) return member.MemberName;\r\n return 'You';\r\n })\r\n );\r\n })\r\n );\r\n }\r\n\r\n public isGuestMember$(): Observable {\r\n return this.isAuthorized$()\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n )\r\n ),\r\n map(([isAuthorized, isGuestModeEnabled]) => isAuthorized === false && isGuestModeEnabled === true)\r\n );\r\n }\r\n\r\n public canCompleteAccountSetup$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canCompleteAccountSetup),\r\n auditTime(10),\r\n );\r\n }\r\n\r\n public isMemberLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberLoading)\r\n );\r\n }\r\n\r\n public getAccountLogin$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.authorizationType === OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN && state.accountLogin || null),\r\n );\r\n }\r\n\r\n public getAccountLoginCellPhoneNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n if (state.authorizationType !== OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN) {\r\n return state.data && state.data.MobilePhone || null;\r\n }\r\n return state.accountLogin;\r\n }),\r\n );\r\n }\r\n\r\n public getObfuscatedMemberPhoneNo$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getObfuscatedMemberPhoneNo)\r\n );\r\n }\r\n\r\n public getObfuscatedEmail$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getObfuscatedMemberEmail)\r\n );\r\n }\r\n\r\n public getObfuscatedForgotEmail$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getObfuscatedForgotMemberEmail)\r\n );\r\n }\r\n\r\n public isMakingRequests$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberLoading),\r\n map(isLoading => {\r\n return isLoading;\r\n })\r\n );\r\n }\r\n\r\n public isMakingRequestsAsStatus$(): Observable {\r\n return this.isMakingRequests$()\r\n .pipe(\r\n map(isLoading => (isLoading ? 'loading' : null) as OLO.Components.LOADING_STATUS)\r\n );\r\n }\r\n\r\n public getAuthenticationStep$(): Observable {\r\n return this.isMakingRequests$()\r\n .pipe(\r\n filter(isMakingRequests => isMakingRequests === false),\r\n switchMap(() => this._store\r\n .pipe(\r\n select(selectors.getAuthorizationStep),\r\n )\r\n ),\r\n );\r\n }\r\n\r\n public canOmmitEmailVerificationStep$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canOmmitEmailVerification(this._config.unverifiedEmailQuickLogin)),\r\n filter(canOmmit => canOmmit !== null),\r\n );\r\n }\r\n\r\n public isEmailValidated$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isEmailValidated)\r\n );\r\n }\r\n\r\n public hasGuestSignedUp$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasGuestSignedUp)\r\n );\r\n }\r\n\r\n public isPartialMemberSet$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getGuestData),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isGuestModeEnabled)\r\n )\r\n ),\r\n map(([guestData, guestMode]) => {\r\n return guestData !== null && guestMode === true;\r\n })\r\n );\r\n }\r\n\r\n public getMemberDetails$(includeUniqueCode: boolean = false): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentMember),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n map(([memberDetails, state]) => {\r\n if (includeUniqueCode === true && state.uniqueCode.hasSucceeded && state.uniqueCode.data) return state.uniqueCode.data;\r\n\r\n return memberDetails;\r\n })\r\n );\r\n }\r\n\r\n public getPartialMemberDetails$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getGuestData)\r\n );\r\n }\r\n\r\n public memberSignUpFormModel$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n if (!state.data || state.isDownloading || state.hasFailed) return null;\r\n return {\r\n name: state.data.MemberName,\r\n email: state.data.EmailAddress,\r\n cellNumber: state.data.MobilePhone,\r\n };\r\n })\r\n );\r\n }\r\n\r\n public canNavBackAuthProcess$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n const step: OLO.Enums.AUTH_STEP = state.authorizationStep;\r\n\r\n switch (true) {\r\n case step === OLO.Enums.AUTH_STEP.REGISTER_CARD:\r\n case step === OLO.Enums.AUTH_STEP.ON_LOGIN_DATA_VALIDATION:\r\n case step === OLO.Enums.AUTH_STEP.LOGIN:\r\n case step === OLO.Enums.AUTH_STEP.FORGOT_PASSWORD_SENT:\r\n case step === OLO.Enums.AUTH_STEP.REGISTER_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.PARTIAL_MEMBER_PASSWORD:\r\n case step === OLO.Enums.AUTH_STEP.LOGIN_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.UPDATE_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR:\r\n case step === OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_PASSWORD:\r\n case step === null:\r\n return false;\r\n\r\n default:\r\n return true;\r\n }\r\n })\r\n );\r\n }\r\n\r\n public showNavBackAuthProcess$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => {\r\n const step: OLO.Enums.AUTH_STEP = state.authorizationStep;\r\n switch (true) {\r\n case step === OLO.Enums.AUTH_STEP.BIRTHDAY_REWARDS:\r\n case step === OLO.Enums.AUTH_STEP.FORGOT_PASSWORD_SENT:\r\n case step === OLO.Enums.AUTH_STEP.REGISTER_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.LOGIN_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.UPDATE_SUCCESS:\r\n case step === OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE:\r\n case step === OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR:\r\n case step === null:\r\n return false;\r\n\r\n default:\r\n return true;\r\n }\r\n })\r\n );\r\n }\r\n\r\n public getMemberFirstName$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n map(state => state.data.MemberName)\r\n );\r\n }\r\n\r\n public getMemberFullName$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberFullName),\r\n filter(name => name !== null),\r\n );\r\n }\r\n\r\n public showMemberCardNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n map(state => this._config.appMode !== IAppMode.ORDERING_ONLY && state.data.MemberCardNumber !== null),\r\n );\r\n }\r\n\r\n public memberCardNumber$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n map(state => state.data.MemberCardNumber),\r\n );\r\n }\r\n\r\n public signUpInitStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.isMemberLoading$()\r\n .pipe(\r\n map(isLoading => isLoading ? 'loading' : null)\r\n );\r\n }\r\n public partialMemberSignUpStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('signUpPartialMember.isSigningUp', 'signUpPartialMember.hasSucceeded', 'signUpPartialMember.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberSignInStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('signIn.isSigningIn', 'signIn.hasSucceeded', 'signIn.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberPasswordChangeStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('changePassword.isChanging', 'changePassword.hasSucceeded', 'changePassword.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberLinkRewardsAccountVerifyStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('verifyLinkRewardsAccount.isVerifying', 'verifyLinkRewardsAccount.hasSucceeded', 'verifyLinkRewardsAccount.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public memberLinkRewardsAccountStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('linkRewardsAccount.isLinking', 'linkRewardsAccount.hasSucceeded', 'linkRewardsAccount.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public verifyMobilePhoneStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('verifyPhone.isVerifying', 'verifyPhone.hasSucceeded', 'verifyPhone.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public tokenMobilePhoneStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('tokenForPhone.isSending', 'tokenForPhone.hasSucceeded', 'tokenForPhone.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public mobilePhoneStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return ObservableCombineLatest(\r\n this.verifyMobilePhoneStatus$(restoreStatusTimeout),\r\n this.tokenMobilePhoneStatus$(restoreStatusTimeout)\r\n ).pipe(\r\n map(([status1, status2]) => {\r\n if (status1 === 'error' || status2 === 'error') {\r\n return 'error';\r\n }\r\n\r\n if (status1 === 'loading' || status2 === 'loading') {\r\n return 'loading';\r\n }\r\n\r\n if (status1 === 'success' || status2 === 'success') {\r\n return 'success';\r\n }\r\n\r\n return null;\r\n })\r\n );\r\n }\r\n\r\n public validateEmailStatus$(restoreStatusTimeout: number = 2000): Observable {\r\n return this.loadingStatusAutoChange$('verifyEmail.isVerifying', 'verifyEmail.hasSucceeded', 'verifyEmail.hasFailed', restoreStatusTimeout);\r\n }\r\n\r\n public loadingStatusAutoChange$(loadingProperty: string, successProperty: string, failedProperty: string, restoreStatusTimeout: number = 2000): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n auditTime(20),\r\n switchMap(state => {\r\n return Observable.create(observer => {\r\n const loadingState = Utils.Objects.extractSubValue(state, loadingProperty);\r\n const successState = Utils.Objects.extractSubValue(state, successProperty);\r\n const failedState = Utils.Objects.extractSubValue(state, failedProperty);\r\n\r\n const propsInvalid: boolean = loadingState === undefined || successState === undefined || failedState === undefined;\r\n if (propsInvalid) {\r\n console.warn(`One of following properties are invalid. loadingState (\"${loadingProperty}\"):`,\r\n loadingState, ` OR successState (\"${successProperty}\"):`, successState, ` OR failedState (\"${failedProperty}\"):`, failedState);\r\n\r\n observer.next(null);\r\n observer.complete();\r\n return;\r\n }\r\n\r\n let timeout: number;\r\n\r\n const neutral = () => {\r\n observer.next(null);\r\n observer.complete();\r\n };\r\n\r\n const loading = () => {\r\n observer.next('loading');\r\n observer.complete();\r\n };\r\n\r\n const success = () => {\r\n observer.next('success');\r\n timeout = window.setTimeout(() => {\r\n observer.next(null);\r\n observer.complete();\r\n }, restoreStatusTimeout);\r\n };\r\n\r\n const error = () => {\r\n observer.next('error');\r\n timeout = window.setTimeout(() => {\r\n observer.next(null);\r\n observer.complete();\r\n }, restoreStatusTimeout);\r\n };\r\n\r\n const singlePropertyToDetermineSuccessError: boolean = failedProperty === successProperty;\r\n if (singlePropertyToDetermineSuccessError) {\r\n if (loadingState) {\r\n loading();\r\n } else {\r\n if (!successState && !failedState) {\r\n error();\r\n } else {\r\n success();\r\n }\r\n }\r\n } else {\r\n if (loadingState) {\r\n loading();\r\n } else if (failedState) {\r\n error();\r\n } else if (successState) {\r\n success();\r\n } else {\r\n neutral();\r\n }\r\n }\r\n\r\n return () => window.clearTimeout(timeout);\r\n\r\n }) as Observable;\r\n }),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n\r\n public linkAccountRewardsError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state?.verifyLinkRewardsAccount?.hasFailed === true ? { email: 'Incorrect email address' } : null)\r\n );\r\n }\r\n\r\n public signUpPartialMemberError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.partialMemberSignUpFailed),\r\n map(hasFailed => hasFailed && { partialMemberSignUpError: 'Something went wrong' } || null)\r\n );\r\n }\r\n\r\n public signInError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(({ signIn }) => {\r\n if (signIn.hasFailed) return { incorrectPassword: 'Incorrect password' };\r\n return null;\r\n })\r\n );\r\n }\r\n\r\n public cellVerificationError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberPhoneVeryficationCodeInvalid)\r\n );\r\n }\r\n\r\n public passwordChangeError$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.passwordChangeError)\r\n );\r\n }\r\n\r\n public getMemberForgottenPasswordState$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberResetForgottenPasswordState)\r\n );\r\n }\r\n\r\n public emailConfirmationIsCheckingTokens$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isCheckingTokensForEmailConfirmation)\r\n );\r\n }\r\n\r\n public emailConfirmationGUIDTokenIsValid$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isEmailGUIDTokenValid)\r\n );\r\n }\r\n\r\n public emailConfirmationHasSucceeded$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isEmailConfirmationSuccess)\r\n );\r\n }\r\n\r\n public isSendingPhoneToken$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.tokenForPhone.isSending),\r\n );\r\n }\r\n\r\n public isSendingEmailToken$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n map(state => state.tokenForEmail.isSending),\r\n );\r\n }\r\n\r\n public partialMemberInitFlowReset(): void {\r\n this._store.dispatch(actions.MemberPartialSignUpResetState());\r\n this._store.dispatch(actions.MemberPasswordSetResetState());\r\n }\r\n\r\n public confirmMemberEmailAddress(guidToken: string): void {\r\n this._store.dispatch(actions.MemberConfirmEmailRequest({ token: guidToken }));\r\n }\r\n\r\n public confirmGUIDTokenForEmailConfirmation(guidToken: string): void {\r\n this._store.dispatch(actions.MemberConfirmEmailTokenRequest({ token: guidToken }));\r\n }\r\n\r\n public resetPasswordInit(guidToken: string, NewPassword: string): void {\r\n this._store.dispatch(actions.MemberForgottenPasswordResetRequest({\r\n model: {\r\n Token: guidToken,\r\n NewPassword\r\n }\r\n }));\r\n }\r\n\r\n public resetPasswordGUIDTokenValidate(guidToken: string): void {\r\n this._store.dispatch(actions.MemberValidatePasswordResetTokenRequest({ token: guidToken }));\r\n }\r\n\r\n public resetPasswordValidationTokenState(): void {\r\n this._store.dispatch(actions.MemberValidatePasswordResetTokenReset());\r\n }\r\n\r\n public updatePassword(values: APIv1.MemberChangePasswordBusinessModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1)\r\n ).subscribe(state => {\r\n this._store.dispatch(\r\n actions.MemberPasswordChangeRequest({ ...values, MemberId: state.data.MemberId }),\r\n );\r\n });\r\n }\r\n\r\n public checkMemberToCompleteAccountSetup(orderId: number): void {\r\n this._store.dispatch(actions.MemberCompleteAccountSetupGuestCheck({ orderId }));\r\n }\r\n\r\n public setAuthStep(step: OLO.Enums.AUTH_STEP = OLO.Enums.AUTH_STEP.LOGIN): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step }));\r\n }\r\n\r\n public forgotPasswordResetInit(email: string = null): void {\r\n if (email) {\r\n return this._store.dispatch(actions.MemberForgotPasswordDataRequest({ email }));\r\n }\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n ).subscribe(state => {\r\n if (state.forgotPassword.email) {\r\n this._store.dispatch(actions.MemberForgotPasswordDataRequest({ email: state.forgotPassword.email }));\r\n }\r\n });\r\n }\r\n\r\n public signIn(login: string, password: string): void {\r\n this._store.dispatch(actions.MemberSignInDataRequest({ login, password }));\r\n }\r\n\r\n public resetValidationState(): void {\r\n this._store.dispatch(actions.MemberGuestDataReset());\r\n this._store.dispatch(actions.MemberUnsetAddData());\r\n this._store.dispatch(actions.MemberUnsetAccountCredentials());\r\n this._store.dispatch(actions.MemberUnsetUpdateAndValidation());\r\n }\r\n\r\n public resetMemberDataFields(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }));\r\n\r\n this.resetValidationState();\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberLoading),\r\n filter(isLoading => isLoading === false),\r\n take(1)\r\n )\r\n ),\r\n take(1)\r\n ).subscribe(([isAuthorized, isLoading]) => {\r\n if (isAuthorized) {\r\n this._store.dispatch(actions.MemberGuestModeSet({ flag: false }));\r\n } else {\r\n this._store.dispatch(actions.MemberGuestModeSet({ flag: true }));\r\n }\r\n });\r\n }\r\n\r\n\r\n public cleanupAfterOrderComplete(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n take(1)\r\n ).subscribe(isAuthorized => {\r\n if (isAuthorized) return;\r\n\r\n this.resetMemberDataFields();\r\n });\r\n }\r\n\r\n public initSignIn(accountLogin: string, authorizationType: OLO.Enums.LOGIN_TYPE = OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN): void {\r\n this._store.dispatch(actions.MemberAuthorizationInit({ authorizationType, accountLogin }));\r\n this._store.dispatch(actions.MemberGuestModeSet({ flag: false }));\r\n }\r\n\r\n public continueEmailVerification(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(memberState => memberState !== null && memberState.accountId !== null && memberState.data !== null),\r\n take(1)\r\n ).subscribe(memberState => {\r\n this._store.dispatch(actions.MemberDataRequest({ memberId: memberState.accountId }));\r\n this._store.dispatch(actions.MemberVerifyEmailRequest());\r\n });\r\n }\r\n\r\n public restoreEmailVerificationFlags(): void {\r\n this._store.dispatch(actions.MemberVerifyEmaiResetFlags());\r\n }\r\n\r\n public resendVerificationEmail(resetVerifyFlags: boolean = true): void {\r\n if (resetVerifyFlags) {\r\n this.restoreEmailVerificationFlags();\r\n }\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(member => member !== null && member.data !== null),\r\n take(1)\r\n ).subscribe(({ data }) => {\r\n this._store.dispatch(actions.MemberVerifyEmailRestoreFlags());\r\n this._store.dispatch(actions.MemberSendEmailVeryficationRequest({ email: data.EmailAddress }));\r\n });\r\n }\r\n\r\n public verifyTemporaryVerificationCode(token: string): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberPhoneNo),\r\n take(1),\r\n ).subscribe(phoneNo => {\r\n return this._store.dispatch(actions.MemberVerifyPhoneDataRequest({ phoneNo, token }));\r\n });\r\n }\r\n\r\n public async completeMemberAccountSetup(memberId: number): Promise {\r\n return new Promise((resolve, reject) => {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n ).subscribe(state => {\r\n if (!state.data) return reject(`Invalid user data`);\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1)\r\n ).subscribe(() => {\r\n setTimeout(() => {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.PARTIAL_MEMBER_PASSWORD }));\r\n resolve(true);\r\n }, 0);\r\n });\r\n });\r\n });\r\n }\r\n\r\n public signUpPartialMember(memberId: number, memberData: APIv1.MemberModel): void {\r\n this._store.dispatch(actions.MemberPartialSignUpRequest({ memberId, memberData }));\r\n }\r\n\r\n public signUpInit(memberData: APIv1.MemberModel): void {\r\n this._store.dispatch(actions.MemberSignUpProcessInit({ memberData }));\r\n }\r\n\r\n public createGuestPartialMember(guestData: APICommon.IOnlineOrderPartialMember): void {\r\n this._store.dispatch(actions.MemberGuestDataRevalidateAndSet({ guestData }));\r\n }\r\n\r\n // public checkMemberFreeProductsAndPrograms(): void {\r\n // this._store\r\n // .pipe(\r\n // select(selectors.getMemberState),\r\n // filter(state => state.isDownloading === false && state.data !== null),\r\n // withLatestFrom(\r\n // this._store\r\n // .pipe(\r\n // select(selectors.isMemberAuthorizedJWT)\r\n // )\r\n // ),\r\n // take(1)\r\n // ).subscribe(([state, isAuthorized]) => {\r\n // console.log(state, isAuthorized);\r\n // if (!isAuthorized || state.freeProducts.data || state.freeProducts.isDownloading) return;\r\n\r\n // this._store.dispatch(actions.MemberFreeProductsRequest({ memberId: state.data.MemberId }));\r\n // });\r\n // }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { auditTime } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OnlineMenuController {\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n public getPageDetails$(pageId: number, imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb) {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuPageDetails(pageId, imageType))\r\n );\r\n }\r\n\r\n public onlineMenu$(): Observable {\r\n return this._store.select(selectors.getOnlineMenu);\r\n }\r\n\r\n public onlineMenuPages$(): Observable {\r\n return this._store.select(selectors.getOnlineMenuPages);\r\n }\r\n\r\n public onlineMenuPagesFiltered$(): Observable {\r\n return this._store.select(selectors.getOnlineMenuPagesFiltered)\r\n .pipe(\r\n auditTime(0)\r\n );\r\n }\r\n\r\n public getModalDataForOnlineMenuSingleProductItem(productId: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getModalDataForOnlineMenuItem(productId, false))\r\n );\r\n }\r\n\r\n public getStatsForSingleProductItem(productId: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getStatsForSingleProduct(productId))\r\n );\r\n }\r\n\r\n public canShowOnlineMenuForCurrentLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canShowOnlineMenuForCurrentLocation)\r\n );\r\n }\r\n}\r\n","import { Injectable, ElementRef } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ModalsController {\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n\r\n public get modalsList$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.getAllModals),\r\n distinctUntilChanged()\r\n );\r\n }\r\n\r\n public get isAnyModalVisible$(): Observable {\r\n return this.modalsList$\r\n .pipe(\r\n map(modals => modals.length > 0),\r\n );\r\n }\r\n\r\n public get isClosingAllModals$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isLastModalHiding),\r\n distinctUntilChanged(),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, skipWhile, auditTime, filter, combineLatest, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MenuFlowsController {\r\n private _pageMockContainer: APIv1.MenuFlowPage = {\r\n PageIdentifier: null,\r\n PageNo: null,\r\n PageName: null,\r\n PageMinQuantity: null,\r\n PageMaxQuantity: null,\r\n SpecialPriceQuantity: null,\r\n SpecialPrice: null,\r\n SpecialPriceSelection: null,\r\n PriceChangeMode: null,\r\n PriceChangeValue: null,\r\n IsUpsell: false,\r\n UpsellText: null,\r\n Products: [],\r\n HideFromKiosk: false,\r\n };\r\n\r\n constructor(\r\n private _store: Store,\r\n ) { }\r\n\r\n public getCombinedMenuFlowPages$(menuFlowId: number, locationNo: number): Observable {\r\n return this._store.pipe(\r\n select(selectors.getMenuFlowPages(menuFlowId, locationNo)),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getMenuFlowDefaultActivation(menuFlowId)),\r\n skipWhile(obj => obj === undefined || obj.data === undefined || obj.data === null),\r\n )\r\n ),\r\n map(([pages, activations]) => {\r\n const whatsIncludedPage: APIv1.MenuFlowPage = {\r\n ...this._pageMockContainer,\r\n PageIdentifier: 1,\r\n PageNo: 1,\r\n PageName: `What's Included`,\r\n Products: [],\r\n };\r\n\r\n const suggestedExtrasPage: APIv1.MenuFlowPage = {\r\n ...this._pageMockContainer,\r\n PageIdentifier: 2,\r\n PageNo: 2,\r\n PageName: `Suggested Extras`,\r\n Products: [],\r\n };\r\n\r\n pages.forEach(page => {\r\n page.Products.forEach(product => {\r\n /* _OriginalPage is used to persist product page functionality and validation */\r\n const p = { ...product, _OriginalPage: { ...page } } as APIv1.MenuFlowProduct;\r\n\r\n const isDefaultActive = activations.data.MenuFlowItems.find(activation => activation.PLU === product.Plu && activation.MenuFlowPageId === page.PageNo);\r\n\r\n if (isDefaultActive) {\r\n return whatsIncludedPage.Products.push(p);\r\n }\r\n\r\n suggestedExtrasPage.Products.push(p);\r\n });\r\n });\r\n\r\n return [\r\n whatsIncludedPage,\r\n suggestedExtrasPage,\r\n ].filter(page => page.Products.length > 0);\r\n }),\r\n );\r\n }\r\n\r\n public menuFlowDetails$(menuFlowId: number, locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(menuFlowId, locationNo)),\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n );\r\n }\r\n\r\n public menuFlowPages$(menuFlowId: number, locationNo: number): Observable {\r\n return this.menuFlowDetails$(menuFlowId, locationNo)\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow.data !== null),\r\n map(menuFlow => menuFlow.data.Pages.filter(page => page.HideFromKiosk !== true && page.Products.length > 0)),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, take, tap, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionsController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public getTransactionSummary$(transactionId: number): Observable {\r\n return this.getTransaction$(transactionId)\r\n .pipe(\r\n filter(transaction => transaction !== undefined && transaction !== null),\r\n map(transaction => ({\r\n Subtotal: transaction.Total,\r\n Tax: transaction.TaxTotal,\r\n Total: transaction.TotalGross,\r\n }))\r\n );\r\n }\r\n\r\n public requestLatestTransactionsForCurrentMember(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLatestTransactionsForMember(state.data.MemberId)),\r\n map(transactions => ({\r\n transactions,\r\n memberId: state.data.MemberId\r\n }))\r\n );\r\n }),\r\n take(1)\r\n ).subscribe(({ transactions, memberId }) => {\r\n if (!transactions || transactions.isDownloading === false || transactions.hasSucceeded === true && transactions.data.length === 0) {\r\n this._store.dispatch(actions.LatestTransactionsRequest({ memberId }));\r\n }\r\n });\r\n }\r\n\r\n public getLatestTransactionsForCurrentMember$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLatestTransactionsForMember(state.data.MemberId)),\r\n map(transactions => transactions && transactions.data ? transactions.data : null)\r\n );\r\n })\r\n );\r\n }\r\n\r\n public isLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isDownloadingAnyTransaction)\r\n );\r\n }\r\n\r\n public getTransaction$(transactionId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getTransactionById(transactionId)),\r\n map(transaction => {\r\n if (!transaction) return transaction;\r\n\r\n return {\r\n ...transaction,\r\n TransactionProducts: transaction.TransactionProducts.filter(obj => obj.PLU !== -99999)\r\n };\r\n })\r\n );\r\n }\r\n\r\n public hasNoTransactionsHistory$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n switchMap(state => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLatestTransactionsForMember(state.data.MemberId)),\r\n map(transactions => transactions ? transactions.downloadedDate && transactions.hasSucceeded && (!transactions.data || transactions.data.length === 0) : false)\r\n );\r\n })\r\n );\r\n\r\n }\r\n\r\n public getTransactionTitle$(transactionId: number, locationNo: number, includeLocationName: boolean = true): Observable {\r\n return this.getTransaction$(transactionId)\r\n .pipe(\r\n filter(transaction => transaction !== undefined && transaction !== null),\r\n switchMap(transaction => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(locationNo)),\r\n filter(location => location !== null),\r\n map(location => {\r\n const locationName: string = includeLocationName ? `${location.LocationFriendlyName} - ` : '';\r\n\r\n return `${locationName}${Utils.Dates.descriptionDate(transaction.Date)}`;\r\n })\r\n );\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { ISubNavPage } from '@shared/core/components/subNav';\r\nimport { Observable, of, combineLatest as ObservableCombineLatest } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoutesController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _queryParamsService: Services.QueryParamsService,\r\n private _cryptoService: Services.CryptoService,\r\n private _routeService: Services.RouteService,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public navigateToLocationsSearchView(): Promise {\r\n return this._routeService.navigateToLocationsSearchView();\r\n }\r\n\r\n public navigateToCartsLocation(): Promise {\r\n return this._routeService.navigateToCartsLocation();\r\n }\r\n\r\n public authAction(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n take(1)\r\n ).subscribe(isAuthorized => {\r\n if (!isAuthorized) {\r\n return this._modalsService.show({\r\n type: 'auth'\r\n });\r\n }\r\n\r\n if (this._config.appMode === IAppMode.ORDERING_ONLY) {\r\n return this._routeService.navigateToProfileView();\r\n }\r\n return this._routeService.navigateToProfileLoyaltyHome();\r\n });\r\n }\r\n\r\n public navToHome(): Promise {\r\n return this._routeService.navigateToHomeView();\r\n }\r\n\r\n public isHomePage$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isCurrentRouteHome)\r\n );\r\n }\r\n\r\n public isLoyaltyHomePage$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isCurrentRouteLoyalty)\r\n );\r\n }\r\n\r\n public isAppModeHomePage$(): Observable {\r\n return ObservableCombineLatest(\r\n this.isHomePage$(),\r\n this.isLoyaltyHomePage$(),\r\n ).pipe(\r\n map(([orderingHome, loyaltyHome]) => orderingHome || loyaltyHome)\r\n );\r\n }\r\n\r\n public isCheckoutPage$(): Observable {\r\n return this._store.pipe(\r\n select(selectors.isCheckoutPage)\r\n );\r\n }\r\n\r\n public isLocationsSearchPage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationsSearchPage(this._config)),\r\n );\r\n }\r\n\r\n public isLocationDetailsPage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n );\r\n }\r\n\r\n public isAccountPage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsAccountPage())\r\n );\r\n }\r\n\r\n public isError404Page$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.routeIsErrorPage()),\r\n );\r\n }\r\n\r\n public get accountPagesList(): ISubNavPage[] {\r\n const links: ISubNavPage[] = [\r\n {\r\n Id: 1,\r\n Name: 'Home',\r\n Url: '/account/loyalty',\r\n },\r\n {\r\n Id: 2,\r\n Name: 'Rewards',\r\n Url: '/account/rewards',\r\n },\r\n {\r\n Id: 3,\r\n Name: 'Program',\r\n Url: '/account/program',\r\n },\r\n {\r\n Id: 4,\r\n Name: 'Profile',\r\n Url: '/account'\r\n },\r\n {\r\n Id: 5,\r\n Name: 'Orders',\r\n Url: '/account/orders'\r\n },\r\n {\r\n Id: 6,\r\n Name: 'History',\r\n Url: '/account/history'\r\n },\r\n {\r\n Id: 7,\r\n Name: `Password`,\r\n Url: `/account/password`\r\n },\r\n {\r\n Id: 8,\r\n Name: `Payment`,\r\n Url: `/account/payment`\r\n },\r\n ];\r\n\r\n\r\n switch (true) {\r\n case this._config.appMode === IAppMode.ORDERING_ONLY:\r\n return links.filter(link => link.Id === 4 || link.Id === 5 || link.Id === 7 || link.Id === 8);\r\n\r\n case this._config.appMode === IAppMode.LOYALTY_ONLY:\r\n return links.filter(link => link.Id === 1 || link.Id === 2 || link.Id === 3 || link.Id === 4 || link.Id === 6 || link.Id === 7);\r\n\r\n default:\r\n return links.filter(link => link.Id !== 6);\r\n }\r\n }\r\n\r\n public accountPages$(pages: ISubNavPage[] = null, extraOptions: ISubNavPage[] = [], excludeWithIds: number[] = []): Observable {\r\n return Observable.create(observer => {\r\n let commonPages: ISubNavPage[] = this.accountPagesList;\r\n\r\n if (pages) {\r\n commonPages = pages;\r\n }\r\n\r\n const filtered = [\r\n ...commonPages,\r\n ...extraOptions,\r\n ].filter(obj => {\r\n return !excludeWithIds.includes(obj.Id);\r\n });\r\n\r\n observer.next(filtered);\r\n });\r\n }\r\n\r\n public accountPagesForUCP$(pages: ISubNavPage[] = null, extraOptions: ISubNavPage[] = [], excludeWithIds: number[] = [3]): Observable {\r\n return this.accountPages$(pages, [...extraOptions, {\r\n Id: -1,\r\n Name: `Sign out`,\r\n Url: null,\r\n }], excludeWithIds)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.freeValidProducts)\r\n )\r\n ),\r\n map(([p, freeValidProducts]) => {\r\n return p.map(page => {\r\n if (page.Id === 2) {\r\n return {\r\n ...page,\r\n Counter: freeValidProducts ? freeValidProducts.length : 0\r\n };\r\n }\r\n return page;\r\n }).filter(page => page.Id !== 7 && page.Id !== 8);\r\n })\r\n );\r\n }\r\n\r\n public mapAccountRouteUrlToId$(customMap: { [name: string]: { url: string; id: number; }; } = null): Observable {\r\n /* This is a way to get active id for sub-nav component */\r\n const defaultRoutes: ISubNavPage[] = this.accountPagesList;\r\n const defaultMap = defaultRoutes.reduce((acc, route) => {\r\n let mappedName = route.Url.split('/')[2];\r\n if (!mappedName) {\r\n mappedName = 'profile';\r\n }\r\n acc[mappedName] = {\r\n id: route.Id,\r\n url: route.Url\r\n };\r\n\r\n return acc;\r\n }, {} as { [name: string]: { url: string; id: number; }; });\r\n\r\n const targetMap = customMap || defaultMap;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRoute),\r\n combineLatest(\r\n this.isAccountPage$(),\r\n ),\r\n filter(([route, isAccountPage]) => route !== null && isAccountPage === true),\r\n map(([route]) => {\r\n let id: number = null;\r\n\r\n Object.keys(targetMap).map(key => {\r\n if (id !== null) return;\r\n\r\n const obj = targetMap[key];\r\n\r\n const foundMatch = route.url === obj.url;\r\n if (foundMatch) {\r\n id = obj.id;\r\n return;\r\n }\r\n });\r\n\r\n return id;\r\n })\r\n );\r\n }\r\n\r\n public canNavigateToCheckoutAuthorizedOnly$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canNavigateToCheckoutAuthorizedOnly)\r\n );\r\n }\r\n\r\n public canNavigateToCheckoutUnauthorized$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.canNavigateToCheckoutUnauthorized)\r\n );\r\n }\r\n\r\n public getCurrentRouteQueryParams$(): Observable<{ [key: string]: string; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRouteQueryParams)\r\n );\r\n }\r\n\r\n public getPaymentGatewayStatusFromQueryParams$(): Observable {\r\n /* null, true, false */\r\n return this.getCurrentRouteQueryParams$()\r\n .pipe(\r\n map(params => {\r\n if (!params || !params.status) return null;\r\n const decrypt: string = this._cryptoService.decrypt(params.status, false, null);\r\n if (!decrypt || typeof decrypt !== 'string') return false;\r\n\r\n const response = decrypt[decrypt.length - 1];\r\n\r\n return response === '1' ? true : false;\r\n })\r\n );\r\n }\r\n\r\n public extractOrderConfirmationQueryParams$(): Observable<{ orderId: number; locationNo: number; }> {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRouteQueryParams),\r\n map(params => {\r\n if (!params || !params.order) return null;\r\n return this._queryParamsService.decryptOrderData(params);\r\n })\r\n );\r\n }\r\n\r\n public extractLocationFromQueryParams$(): Observable {\r\n return this.extractOrderConfirmationQueryParams$()\r\n .pipe(\r\n switchMap(params => {\r\n if (!params) return of(null);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(params.locationNo))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public extractLocationFriendlyNameFromQueryParams$(): Observable {\r\n return this.extractLocationFromQueryParams$()\r\n .pipe(\r\n map(location => location ? location.LocationFriendlyName : null)\r\n );\r\n }\r\n\r\n public extractLocationFullAddressFromQueryParams$(): Observable {\r\n return this.extractLocationFromQueryParams$()\r\n .pipe(\r\n map(location => {\r\n if (!location) return null;\r\n const arr: string[] = [];\r\n if (location.StreetAddress) arr.push(location.StreetAddress);\r\n if (location.Suburb) arr.push(location.Suburb);\r\n if (location.PostCode) arr.push(location.PostCode);\r\n\r\n return arr.join(', ');\r\n })\r\n );\r\n }\r\n\r\n public extractOrderDetailsFromQueryParams$(): Observable {\r\n return this.extractOrderConfirmationQueryParams$()\r\n .pipe(\r\n switchMap(params => {\r\n if (!params) return of(null);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(params.orderId))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public extractOrderIdFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n map(order => order ? order.OrderId || null : null)\r\n );\r\n }\r\n\r\n public extractLocationNoFromQueryParams$(): Observable {\r\n return this.extractOrderConfirmationQueryParams$()\r\n .pipe(\r\n map(params => params ? params.locationNo : null)\r\n );\r\n }\r\n\r\n public extractOrderProductsFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => Utils.OnlineOrders.mapOnlineOrderProducts(order.data, true))\r\n );\r\n }\r\n\r\n public extractOrderSummaryFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => ({\r\n Subtotal: order.data.TotalNettValue,\r\n Tax: order.data.TotalTaxes[0] ? order.data.TotalTaxes[0].Value : null,\r\n Total: order.data.TotalGrossValue,\r\n\r\n }))\r\n );\r\n }\r\n\r\n public extractOrderWithLocationLoadingFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n combineLatest(\r\n this.extractLocationFriendlyNameFromQueryParams$()\r\n ),\r\n map(([order, locationName]) => order === undefined || order === null || order.data === null || locationName === null || locationName === undefined)\r\n );\r\n }\r\n\r\n public extractOrderMemberIdFromQueryParams$(): Observable {\r\n return this.extractOrderDetailsFromQueryParams$()\r\n .pipe(\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n map(order => order.data.MemberId),\r\n );\r\n }\r\n\r\n public extractGUIDTokenFromQueryParams$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentRoute),\r\n filter(route => route !== null),\r\n map(route => {\r\n if (route.queryParams.hasOwnProperty('guid')) {\r\n return route.queryParams.guid;\r\n }\r\n\r\n return null;\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, distinct, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, switchMap, take, tap, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PaymentController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n ) { }\r\n\r\n public getErrors$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getPaymentErrors)\r\n );\r\n }\r\n\r\n public getMappedError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getPaymentErrorsMapped)\r\n );\r\n }\r\n\r\n public getMappedRecalcError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.hasRecalculateFailedErrorMapped),\r\n );\r\n }\r\n\r\n public isPaying$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isPaying)\r\n );\r\n }\r\n\r\n public isPaymentComplete$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isPaymentComplete)\r\n );\r\n }\r\n\r\n public paymentProvider(): OLO.Enums.PAYMENT_PROVIDER {\r\n return this._config.paymentProvider;\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { map, delay, distinctUntilChanged, auditTime, filter, combineLatest, withLatestFrom, take, tap, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OnlineOrdersController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n public sendEmailReceipt(orderId: number): void {\r\n this._store.dispatch(actions.OnlineOrderSendEmailReceiptRequest({ orderId }));\r\n }\r\n\r\n public isSendingEmailReceipt$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isSendingEmailReceipt)\r\n );\r\n }\r\n\r\n public resetSendingEmailReceiptState(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isSendingEmailReceipt),\r\n filter(isSending => isSending === false),\r\n take(1)\r\n ).subscribe(() => {\r\n this._store.dispatch(actions.OnlineOrderSendEmailReceiptReset());\r\n });\r\n }\r\n\r\n public isOrderTypeValid$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOrderTypeValid),\r\n );\r\n }\r\n\r\n public getMappedErrors$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderErrorsMapped)\r\n );\r\n }\r\n\r\n public async fillOutOrderType(formValues: { [key: string]: string; }, orderType: APIv1.OrderType): Promise {\r\n const values: APICommon.OrderTypeDetailDefinitionExtended[] = Object.keys(formValues).reduce((acc, key) => {\r\n const found: APIv1.OrderTypeDetailDefinition = orderType.Details.find(obj => Utils.Forms.labelToName(obj.CustomerFriendlyName) === key);\r\n if (!found) return acc;\r\n acc.push({\r\n ...found,\r\n _Value: formValues[key]\r\n });\r\n return acc;\r\n }, []);\r\n\r\n if (values) {\r\n this._store.dispatch(actions.OnlineOrderTypeUpdateValues({ values }));\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public showOrderTypesInfoForCurrentCart(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => {\r\n this._modalsService.show({\r\n type: 'order-types',\r\n locationNo,\r\n });\r\n });\r\n }\r\n\r\n public getOrderTypesForCartsLocation$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypesForCartsLocation)\r\n );\r\n }\r\n\r\n public getOrderTypesForCartsLocationMapped$(): Observable {\r\n return this.getOrderTypesForCartsLocation$()\r\n .pipe(\r\n map(types => {\r\n if (!types) return null;\r\n\r\n return types.map(obj => ({\r\n Id: obj.Id,\r\n Name: obj.Description,\r\n ...obj,\r\n }));\r\n })\r\n );\r\n }\r\n\r\n public selectOrderType(orderType: APIv1.OrderType, forceRecalculate: boolean = false): void {\r\n this._store.dispatch(actions.OnlineOrderTypeSelect({ orderType }));\r\n if (forceRecalculate) {\r\n this._store.dispatch(actions.OnlineOrderRecalculateRequest());\r\n }\r\n }\r\n\r\n public resetOrderTypeValues(): void {\r\n this._store.dispatch(actions.OnlineOrderResetOrderTypeValues());\r\n }\r\n\r\n public selectDefaultOrderType(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.isDownloadingAnyOrderTypes),\r\n delay(100),\r\n filter(isDownloading => isDownloading === false),\r\n take(1),\r\n switchMap(() => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypesForCartsLocation),\r\n take(1),\r\n );\r\n }),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState)\r\n )\r\n )\r\n ).subscribe(([orderTypes, state]) => {\r\n if (!orderTypes || state.orderType !== null) return;\r\n\r\n this._store.dispatch(actions.OnlineOrderTypeSelect({ orderType: orderTypes[0] }));\r\n });\r\n }\r\n\r\n public getSelectedOrderType$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getSelectedOrderType)\r\n );\r\n }\r\n\r\n public getOrderTypesForLocation$(locationNo: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypesForLocation(locationNo))\r\n );\r\n }\r\n\r\n public orderSummary$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderSummary)\r\n );\r\n }\r\n\r\n public isRecalculating$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isOnlineOrderRecalculating)\r\n );\r\n }\r\n\r\n public canPlaceOrder$(): Observable {\r\n return this._store\r\n .pipe(\r\n // select(this._config.demoMode ? selectors.__DEMO__isPaymentDisabled : selectors.isPaymentDisabled),\r\n select(selectors.isPaymentDisabled(this._config)),\r\n map(isDisabled => !isDisabled)\r\n );\r\n }\r\n\r\n public totalGrossValue$(): Observable {\r\n return this.orderSummary$()\r\n .pipe(\r\n map(summary => summary ? summary.Total : 0)\r\n );\r\n }\r\n\r\n public getReorder$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentPickupTime),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId))\r\n ),\r\n ),\r\n switchMap(([statePickupTime, order]) => {\r\n if (!statePickupTime && !pickupTime || !order || !order.data) return of(null);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getReorder(orderId, locationNo || order.data.PickupLocation, pickupTime || statePickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderTotalSelectedItems$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n switchMap(reorder => {\r\n if (!reorder) return of(0);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.reorderSelectedItemsTotalQuantity(reorder.OrderId, reorder.LocationNo, reorder.PickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderTotalValue$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n switchMap(reorder => {\r\n if (!reorder) return of(0);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.reorderSelectedItemsTotalValue(reorder.OrderId, reorder.LocationNo, reorder.PickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderIsValid$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n switchMap(reorder => {\r\n if (!reorder || reorder.isDownloading === true || reorder.hasSucceeded !== true || reorder.data === null) return of(false);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.canAddToCartReorderItems(reorder.OrderId, reorder.LocationNo, reorder.PickupTime))\r\n );\r\n })\r\n );\r\n }\r\n\r\n public reorderItemsMappedFromOrder$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable {\r\n return this.getReorder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getHistoryOrder(orderId))\r\n ),\r\n ),\r\n map(([reorder, order]) => {\r\n if (!reorder || !reorder.data || !order || !order.data) return null;\r\n return Utils.OnlineOrders.mapOnlineOrderProducts(order.data, true);\r\n }),\r\n );\r\n }\r\n\r\n public reorderItems$(orderId: number, locationNo: number = null, pickupTime: OLO.Ordering.IPickupTime = null): Observable> {\r\n return this.reorderItemsMappedFromOrder$(orderId, locationNo, pickupTime)\r\n .pipe(\r\n combineLatest(\r\n this.getReorder$(orderId, locationNo, pickupTime),\r\n ),\r\n map(([orderItems, reorder]) => {\r\n if (!reorder || !reorder.data || !reorder.data.cart || !orderItems) return null;\r\n if (orderItems.itemsMenuFlow.length === 0 && orderItems.itemsSimple.length === 0) {\r\n console.error('Corrupted data in online order', orderItems);\r\n return null;\r\n }\r\n return [\r\n ...orderItems.itemsMenuFlow.reduce((acc, orderItem) => {\r\n const found = reorder.data.cart.itemsMenuFlow.find(obj => obj._Id === orderItem.Id);\r\n if (found) {\r\n acc.push(found);\r\n }\r\n return acc;\r\n }, []),\r\n\r\n ...orderItems.itemsSimple.reduce((acc, orderItem) => {\r\n const found = reorder.data.cart.itemsSimple.find(obj => obj._Id === orderItem.Id);\r\n if (found) {\r\n acc.push(found);\r\n }\r\n return acc;\r\n }, []),\r\n ];\r\n }),\r\n );\r\n }\r\n}\r\n","/*\r\n These controllers contain extended selectors and actions\r\n for components only!.\r\n These shouldn't be used by any services, guards, effects, interceptors, pipes, resolvers, validators, directives.\r\n If you think action from a controller should be used in one of these above, move this action to service,\r\n and reimplement it in controller and other service.\r\n*/\r\n\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport { AppSettingsController } from './appSettings';\r\nimport { CartController } from './cart';\r\nimport { CreditCardsController } from './creditCards';\r\nimport { FiltersController } from './filters';\r\nimport { GeolocationController } from './geolocation';\r\nimport { HistoryOrdersController } from './historyOrders';\r\nimport { ImagesController } from './images';\r\nimport { IngredientsController } from './ingredients';\r\nimport { LocationsController } from './locations';\r\nimport { LoyaltyController } from './loyalty';\r\nimport { MembersController } from './members';\r\nimport { MenuFlowsController } from './menuFlows';\r\nimport { ModalsController } from './modals';\r\nimport { OnlineMenuController } from './onlineMenu';\r\nimport { OnlineOrdersController } from './onlineOrders';\r\nimport { PaymentController } from './payment';\r\nimport { RoutesController } from './routes';\r\nimport { TransactionsController } from './transactions';\r\nimport { WizzardController } from './wizzard';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class Controllers {\r\n constructor(\r\n public appSettings: AppSettingsController,\r\n public cart: CartController,\r\n public creditCards: CreditCardsController,\r\n public filters: FiltersController,\r\n public geolocation: GeolocationController,\r\n public historyOrders: HistoryOrdersController,\r\n public images: ImagesController,\r\n public ingredients: IngredientsController,\r\n public locations: LocationsController,\r\n public loyalty: LoyaltyController,\r\n public members: MembersController,\r\n public menuFlows: MenuFlowsController,\r\n public modals: ModalsController,\r\n public onlineMenu: OnlineMenuController,\r\n public onlineOrders: OnlineOrdersController,\r\n public payment: PaymentController,\r\n public routes: RoutesController,\r\n public transactions: TransactionsController,\r\n public wizzard: WizzardController,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as selectors from '@shared/state/selectors';\r\nimport * as actions from '@shared/state/actions';\r\n\r\nimport * as State from '@shared/state';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, pipe } from 'rxjs';\r\nimport { map, filter, distinctUntilChanged, combineLatest, switchMap, take, pairwise, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WizzardController {\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n\r\n public wizzardSimpleItem$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem)\r\n );\r\n }\r\n\r\n public wizzardMenuFlow$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow)\r\n );\r\n }\r\n\r\n public isEditing$(isMenuFlow: boolean): Observable {\r\n if (isMenuFlow) {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== null),\r\n map(menuFlow => !!menuFlow['_Id'])\r\n );\r\n }\r\n\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n filter(item => item !== null),\r\n map(item => !!item['_Id'])\r\n );\r\n }\r\n\r\n public getWizzardMenuFlowPages$(includeHidden: boolean = false): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== null),\r\n map(menuFlow => {\r\n if (includeHidden) {\r\n return menuFlow.Pages;\r\n }\r\n\r\n return menuFlow.Pages.filter(page => page.HideFromKiosk !== true);\r\n })\r\n );\r\n }\r\n\r\n public wizzardMenuFlowUnitPrice$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemUnitPrice)\r\n );\r\n }\r\n\r\n public wizzardSimpleItemUnitPrice$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemUnitPrice)\r\n );\r\n }\r\n\r\n public wizzardMenuFlowQuantity$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowQuantity)\r\n );\r\n }\r\n\r\n public wizzardSimpleItemQuantity$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemQuantity)\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTotalValue$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowTotalValue)\r\n );\r\n }\r\n\r\n public wizzardSimpleItemTotalValue$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItemTotalValue)\r\n );\r\n }\r\n\r\n public wizzardMenuFlowImage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForWizzardItem(true)),\r\n );\r\n }\r\n\r\n public wizzardSimpleItemImage$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getImageForWizzardItem(false)),\r\n );\r\n }\r\n\r\n public wizzardItemImageLoading$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isDownloadingAnyOnlineMenuPageImages),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTagsImages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getDietaryTagImagesForWizzardItem(true))\r\n );\r\n }\r\n\r\n public wizzardSimpleItemTagsImages$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getDietaryTagImagesForWizzardItem(false))\r\n );\r\n }\r\n\r\n\r\n public wizzardMenuFlowStats$(label: string = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getStatsForWizzardItem(true, label))\r\n );\r\n }\r\n\r\n public wizzardSimpleItemStats$(label: string = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getStatsForWizzardItem(false, label))\r\n );\r\n }\r\n\r\n public getMenuFlowPageIdentifierOneNewError$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n pairwise(),\r\n distinctUntilChanged(),\r\n map(([prev, curr]) => {\r\n if (!curr[0]) return null;\r\n const pageIdentifier: number = curr[0].pageIdentifier;\r\n const isNewError: boolean = !prev.find(err => err.pageIdentifier === pageIdentifier);\r\n return isNewError ? pageIdentifier : null;\r\n })\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTotalSelectedProducts$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardTotalSelectedProducts)\r\n );\r\n }\r\n\r\n public wizzardAcceptBtnLabel$(customLabels: { add?: string; edit?: string; no?: string; } = {}): Observable {\r\n const defaults = {\r\n add: 'Add to bag',\r\n edit: 'Edit',\r\n no: 'No, thanks'\r\n };\r\n\r\n const labels = {\r\n ...defaults,\r\n ...customLabels\r\n };\r\n\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n combineLatest(\r\n this.wizzardMenuFlowTotalSelectedProducts$()\r\n ),\r\n map(([menuFlow, totalSelected]) => {\r\n if (menuFlow.IsUpsell && totalSelected === 0) {\r\n return labels.no;\r\n }\r\n\r\n if (menuFlow._Id) return labels.edit;\r\n\r\n return labels.add;\r\n })\r\n );\r\n\r\n }\r\n\r\n public wizzardAcceptBtnLabelPrice$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n combineLatest(\r\n this.wizzardMenuFlowTotalSelectedProducts$(),\r\n this.wizzardMenuFlowTotalValue$()\r\n ),\r\n map(([menuFlow, totalSelected, totalValue]) => {\r\n if (menuFlow.IsUpsell && totalSelected === 0) {\r\n return null;\r\n }\r\n\r\n return totalValue;\r\n }),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowTitle$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n map(menuFlow => {\r\n if (!menuFlow.IsUpsell) return menuFlow.PosDisplay;\r\n\r\n return menuFlow.MenuFlowNotes;\r\n }),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowDescription$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(menuFlow => menuFlow !== undefined && menuFlow !== null),\r\n map(menuFlow => {\r\n if (!menuFlow.IsUpsell) return menuFlow.PosDescription;\r\n\r\n return menuFlow.PosDescription;\r\n }),\r\n );\r\n }\r\n\r\n public menuFlowPageHasErrors$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n map(errors => {\r\n return errors.find(error => error.pageIdentifier === pageIdentifier) ? true : false;\r\n })\r\n );\r\n }\r\n\r\n public isMenuFlowPageQuantityValid$(page: APIv1.MenuFlowPage): Observable {\r\n /* Will be more advanced */\r\n return this._store.pipe(\r\n select(selectors.isWizzardPageQuantityValid(page))\r\n );\r\n }\r\n\r\n public isMenuFlowPageQuantityMaxedOut$(page: APIv1.MenuFlowPage): Observable {\r\n return this._store.pipe(\r\n select(selectors.isWizzardPageQuantityMaxedOut(page))\r\n );\r\n }\r\n\r\n public pageHasSomeProductsSelected$(page: APIv1.MenuFlowPage): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.wizzardPageHasSelectedAnyProduct(page))\r\n );\r\n }\r\n\r\n public isMenuFlowProductSelectable$(pageIdentifier: number, productId: number, productState: number = null): Observable {\r\n /* Decide if product is selectable when one is allowed or when multiple allowed and page limit is reached */\r\n const isPageOneAllowed$ = this._store.pipe(select(selectors.isWizzardPageOneAllowed(pageIdentifier)));\r\n const isPageLimitReached$ = this._store.pipe(select(selectors.isWizzardPageLimitReached(pageIdentifier)));\r\n const productWizzardQuantity$ = this._store.pipe(select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)));\r\n\r\n return productWizzardQuantity$\r\n .pipe(\r\n combineLatest(\r\n isPageLimitReached$,\r\n isPageOneAllowed$,\r\n ),\r\n map(([productQty, pageLimitReached, isPageOneAllowed]) => {\r\n if (isPageOneAllowed) return true;\r\n const isClickable: boolean = productQty === 0 && pageLimitReached === false;\r\n\r\n return productState === null ? isClickable : isClickable && productState === 0;\r\n })\r\n );\r\n }\r\n\r\n public isPageLimitReached$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.isWizzardPageLimitReached(pageIdentifier)\r\n )\r\n );\r\n }\r\n\r\n public canShowNextPrice$(pageIdentifier: number, product: APIv1.MenuFlowProduct): Observable {\r\n return this.menuFlowProductQuantity$(pageIdentifier, product.ProductId)\r\n .pipe(\r\n combineLatest(\r\n this.nextProductPrice$(pageIdentifier, product.ProductId)\r\n ),\r\n map(([quantity, nextPrice]) => {\r\n return !!nextPrice === true && quantity > 0; // && product.MaximumQuantity > 1; TOLO-47 fix\r\n })\r\n );\r\n }\r\n\r\n public nextProductPrice$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getNextPriceForMenuFlowProduct(productId, pageIdentifier))\r\n );\r\n }\r\n\r\n public productAddReplaceRemove$(pageIdentifier: number, productId: number): Observable {\r\n /* Decide what to do with the product - add, remove, replace */\r\n const isPageOneAllowed$ = this._store.pipe(select(selectors.isWizzardPageOneAllowed(pageIdentifier)));\r\n const isPageLimitReached$ = this._store.pipe(select(selectors.isWizzardPageLimitReached(pageIdentifier)));\r\n const productWizzardQuantity$ = this._store.pipe(select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)));\r\n const pageWizzardQuantity$ = this._store.pipe(select(selectors.getWizzardMenuFlowPageItemsTotalQuantity(pageIdentifier)));\r\n\r\n return this.isMenuFlowProductSelectable$(pageIdentifier, productId)\r\n .pipe(\r\n switchMap(canSelect => {\r\n if (!canSelect) return of(null);\r\n\r\n return productWizzardQuantity$\r\n .pipe(\r\n combineLatest(\r\n isPageLimitReached$,\r\n isPageOneAllowed$,\r\n pageWizzardQuantity$,\r\n ),\r\n map(([productQty, pageLimitReached, isPageOneAllowed]) => {\r\n if (isPageOneAllowed) {\r\n if (pageLimitReached && productQty !== 0) {\r\n return 'remove';\r\n }\r\n\r\n if (pageLimitReached && productQty === 0) {\r\n return 'replace';\r\n }\r\n\r\n if (!pageLimitReached) {\r\n return 'add';\r\n }\r\n } else {\r\n if (!pageLimitReached) {\r\n return 'add';\r\n }\r\n\r\n return null;\r\n }\r\n })\r\n );\r\n\r\n })\r\n );\r\n\r\n }\r\n\r\n public getIngredientsForWizzardProductForDropdown$(product: APIv1.MenuFlowProduct): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n filter(wizzardMenuFlow => wizzardMenuFlow !== null),\r\n switchMap(wizzardMenuFlow =>\r\n this._store\r\n .pipe(\r\n select(selectors.getIngredientsForProduct(product.ProductId, wizzardMenuFlow.LocationNo)))\r\n ),\r\n filter(ingredient => ingredient !== undefined\r\n && !ingredient.isDownloading\r\n && !ingredient.hasFailed\r\n && ingredient.data !== null\r\n && ingredient.data.Ingredients !== null\r\n && ingredient.data.Ingredients[0] !== undefined\r\n && ingredient.data.Ingredients[0].Modifiers !== null\r\n ),\r\n map(ingredient => {\r\n return ingredient.data.Ingredients[0].Modifiers.map(modifier => ({\r\n ...modifier,\r\n Id: modifier.ModifierID,\r\n Name: modifier.ModifierName\r\n }));\r\n }),\r\n );\r\n }\r\n\r\n public getSelectedIngredientForWizzardProduct$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardSelectedModifierForMenuFlowProduct(pageIdentifier, productId)),\r\n filter(selected => selected !== null),\r\n map(selected => ({\r\n ...selected,\r\n Id: selected.ModifierID,\r\n Name: selected.ModifierName\r\n })),\r\n );\r\n }\r\n\r\n\r\n public isProductDisabledByPageLimit$(pageIdentifier: number, productId: number, productState: number = null): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n combineLatest(this._store.select(selectors.isWizzardPageLimitReached(pageIdentifier))),\r\n map(([qty, limitReached]) => {\r\n const isDisabled = qty === 0 && limitReached === true;\r\n if (productState == null) {\r\n return isDisabled;\r\n }\r\n\r\n return isDisabled && productState !== 0;\r\n })\r\n );\r\n }\r\n\r\n public menuFlowProductQuantity$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId))\r\n );\r\n }\r\n\r\n public isProductSelected$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n map(qty => qty > 0),\r\n );\r\n }\r\n\r\n public isProductDisabled$(pageIdentifier: number, productId: number, productState: number = null): Observable {\r\n return this.isProductDisabledByPageLimit$(pageIdentifier, productId, productState)\r\n .pipe(\r\n combineLatest(\r\n this.isPageLimitReached$(pageIdentifier),\r\n this.isProductSelected$(pageIdentifier, productId),\r\n this.isMenuFlowProductSelectable$(pageIdentifier, productId, productState),\r\n this._store\r\n .pipe(\r\n select(\r\n selectors.getWizzardMenuFlowProduct(pageIdentifier, productId)\r\n )\r\n )\r\n ),\r\n map(([isDisabled, isPageLimitReached, isSelected, isClickable, product]) => {\r\n return (product && product.State !== 0) ||\r\n productState !== null && productState !== 0 ||\r\n isDisabled ||\r\n isPageLimitReached && !isSelected && !isClickable;\r\n }),\r\n );\r\n }\r\n\r\n public showRemoveButton$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n combineLatest(this._store.select(selectors.isWizzardPageOneAllowed(pageIdentifier))),\r\n map(([qty, isOneAllowed]) => qty > 0 && isOneAllowed === true),\r\n );\r\n }\r\n\r\n public showCounterButtons$(pageIdentifier: number, productId: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n combineLatest(this._store.select(selectors.isWizzardPageOneAllowed(pageIdentifier))),\r\n map(([qty, isOneAllowed]) => qty > 0 && isOneAllowed === false)\r\n );\r\n }\r\n\r\n public wizzardPageTotalQuantity$(pageIdentifier: number): Observable {\r\n return this._store.pipe(select(selectors.getWizzardMenuFlowPageItemsTotalQuantity(pageIdentifier)));\r\n }\r\n\r\n public wizzardPageHasErrors$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n map(errors => !!errors.find(error => error.pageIdentifier === pageIdentifier))\r\n );\r\n }\r\n\r\n /* Wizzard hints */\r\n\r\n public wizzardHintShowAddUpTo$(page: APIv1.MenuFlowPage): Observable {\r\n /*\r\n If the minimum page quantity is 0, and no items have been selected in that page:\r\n Add up to {{MaximumPageQty}}\r\n */\r\n const minPageQty: number = page.PageMinQuantity;\r\n const maxPageQty: number = page.PageMaxQuantity;\r\n\r\n return this.wizzardPageTotalQuantity$(page.PageIdentifier)\r\n .pipe(\r\n map(wizzardQty => {\r\n return minPageQty !== maxPageQty && wizzardQty === 0;\r\n })\r\n );\r\n }\r\n\r\n public wizzardHintShowCounter$(page: APIv1.MenuFlowPage): Observable {\r\n /*\r\n If the minimum page quantity has been met (e.g. Min Qty = 0, user has selected 2):\r\n {{CurrentSelectedPageCount}} / {{MaximumPageQty}}\r\n OR If the minimum page quantity matches the maximum page quantity (e.g. Min 1 / Max 1), and the current selected count HAS reached the maximum\r\n {{CurrentSelectedPageCount}} / {{MaximumPageQty}}\r\n */\r\n const minPageQty: number = page.PageMinQuantity;\r\n const maxPageQty: number = page.PageMaxQuantity;\r\n\r\n return this.wizzardPageTotalQuantity$(page.PageIdentifier)\r\n .pipe(\r\n map(wizzardQty => {\r\n return (minPageQty <= wizzardQty && wizzardQty !== 0)\r\n || (minPageQty === maxPageQty && wizzardQty === maxPageQty);\r\n })\r\n );\r\n }\r\n\r\n public wizzardHintShowChooseMinimumQuantity$(page: APIv1.MenuFlowPage): Observable {\r\n /*\r\n If the minimum page quantity matches the maximum page quantity (e.g. Min 1 / Max 1), and the current selected count HAS NOT reached the maximum\r\n Choose {{MinimumPageQty}}\r\n */\r\n const minPageQty: number = page.PageMinQuantity;\r\n const maxPageQty: number = page.PageMaxQuantity;\r\n\r\n return this.wizzardPageTotalQuantity$(page.PageIdentifier)\r\n .pipe(\r\n map(wizzardQty => {\r\n return minPageQty === maxPageQty && wizzardQty === 0;\r\n })\r\n );\r\n }\r\n\r\n /* Collapse pages */\r\n public wizzardAllProductsForMenuFlowPage$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowAllProductsForPage(pageIdentifier))\r\n );\r\n }\r\n\r\n public wizzardFirstProductForMenuFlowPage$(pageIdentifier: number): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowFirstProductForPage(pageIdentifier))\r\n );\r\n }\r\n\r\n public wizzardCollapsePageTitlePrefix$(page: APIv1.MenuFlowPage): Observable {\r\n return this.isMenuFlowPageQuantityValid$(page)\r\n .pipe(\r\n map(isComplete => isComplete ? page.PageName : null)\r\n );\r\n }\r\n\r\n public wizzardCollapsePageTitle$(page: APIv1.MenuFlowPage, defaultPrefix: string = 'Choose your '): Observable {\r\n return this.wizzardCollapsePageTitlePrefix$(page)\r\n .pipe(\r\n combineLatest(\r\n this.wizzardAllProductsForMenuFlowPage$(page.PageIdentifier)\r\n ),\r\n map(([isComplete, selectedProducts]) => {\r\n if (!isComplete || !selectedProducts) return `${defaultPrefix}${page.PageName}`;\r\n return selectedProducts.reduce((acc, product, index) => {\r\n /* ProductName */\r\n if (!index) return product.ProductName;\r\n return acc += `, ${product.ProductName}`;\r\n }, '');\r\n }),\r\n );\r\n }\r\n\r\n public wizzardMenuFlowPagesReports$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.wizzardMenuFlowPagesReports)\r\n );\r\n }\r\n\r\n public getWizzardErrors$(limit: number = 1): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzardErrors),\r\n map(errors => {\r\n if (errors.length === 0) return [];\r\n\r\n if (limit) {\r\n errors.length = limit;\r\n }\r\n\r\n return errors;\r\n }),\r\n );\r\n }\r\n\r\n public getWizzardErrorsMessages$(limit: number = 1): Observable {\r\n return this.getWizzardErrors$(limit)\r\n .pipe(\r\n combineLatest(\r\n this._store.pipe(\r\n select(selectors.getMenuFlowDetailsPagesByWizzard)\r\n )\r\n ),\r\n filter(([errors, pages]) => errors !== null && pages !== null),\r\n map(([errors, pages]) => {\r\n return errors.map(error => {\r\n const page = pages.find(obj => obj.PageIdentifier === error.pageIdentifier);\r\n if (!page) return null;\r\n\r\n switch (true) {\r\n case error.error === State.WIZZARD_ERROR.REQUIRED:\r\n if (page.PageMaxQuantity === page.PageMinQuantity) {\r\n return `Please select ${page.PageMinQuantity} ${page.PageName.toLowerCase()}`;\r\n }\r\n\r\n if (page.PageMinQuantity !== page.PageMaxQuantity) {\r\n return `Please select minimum ${page.PageMinQuantity} ${page.PageName.toLowerCase()}`;\r\n }\r\n\r\n break;\r\n default:\r\n /* TODO - State.WIZZARD_ERROR.OVERFLOW */\r\n return 'OVERFLOW';\r\n }\r\n\r\n return 'unknown error';\r\n });\r\n })\r\n );\r\n }\r\n\r\n public getSpecialInstructions(type: State.MODAL_TYPE): Observable {\r\n if (type === 'product') {\r\n return this.wizzardProductSpecialInstructions$();\r\n }\r\n\r\n return this.wizzardMenuFlowSpecialInstructions$();\r\n }\r\n\r\n\r\n public wizzardMenuFlowSpecialInstructions$(): Observable {\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n filter(wizzard => wizzard !== null),\r\n map(wizzard => wizzard.SpecialInstructions)\r\n );\r\n }\r\n\r\n public wizzardProductSpecialInstructions$(): Observable {\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n filter(product => product !== null),\r\n map(product => product.SpecialInstructions),\r\n );\r\n }\r\n\r\n\r\n public hasSpecialInstructions$(type: State.MODAL_TYPE): Observable {\r\n const specialInstructionsPipe = pipe(\r\n filter(product => product !== undefined && product !== null),\r\n map((product: State.IWizzardSimpleItem | State.IWizzardMenuFlow) => {\r\n return product.SpecialInstructions ? true : false;\r\n })\r\n );\r\n\r\n if (type === 'product') {\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n\r\n public showSpecialInstructions$(type: State.MODAL_TYPE): Observable {\r\n const specialInstructionsPipe = pipe(\r\n filter(product => product !== undefined && product !== null),\r\n map((product: State.IWizzardSimpleItem | State.IWizzardMenuFlow) => {\r\n if (product.SpecialInstructions) return true;\r\n if (product.Tags && product.Tags instanceof Array && product.Tags.find(tag => tag.Name.toLowerCase().replace(/\\s/, '') === 'specialinstruction')) return true;\r\n if (this._config.showSpecialInstructionsForProducts === true && (type === 'product')) return true;\r\n if (this._config.showSpecialInstructionsForMenuFlows === true && (type !== 'product')) return true;\r\n\r\n return false;\r\n })\r\n );\r\n\r\n if (type === 'product') {\r\n return this.wizzardSimpleItem$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n return this.wizzardMenuFlow$()\r\n .pipe(\r\n specialInstructionsPipe\r\n );\r\n }\r\n\r\n public wizzardMenuFlowIncrement(): void {\r\n this._store.dispatch(actions.WizzardMenuFlowIncrement());\r\n }\r\n\r\n public wizzardSimpleItemIncrement(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem),\r\n take(1)\r\n ).subscribe(product => this._store.dispatch(actions.WizzardSimpleItemIncrement(product)));\r\n }\r\n\r\n public wizzardMenuFlowDecrement(): void {\r\n this._store.dispatch(actions.WizzardMenuFlowDecrement());\r\n }\r\n\r\n public wizzardSimpleItemDecrement(): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem),\r\n take(1)\r\n ).subscribe(product => this._store.dispatch(actions.WizzardSimpleItemDecrement(product)));\r\n }\r\n\r\n public wizzardMenuFlowCTAButtonClick(modal: State.IModal): void {\r\n if (modal.type === 'upsell') {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardTotalSelectedProducts),\r\n take(1)\r\n ).subscribe(total => {\r\n if (!total) {\r\n return this._store.dispatch(actions.WizzardCancel({ modalId: modal.id }));\r\n }\r\n\r\n this.wizzardMenuFlowAddToCart(modal.id, modal.locationNo);\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.wizzardMenuFlowAddToCart(modal.id, modal.locationNo);\r\n }\r\n\r\n public wizzardMenuFlowAddToCart(modalId: number, locationNo: number, clearQueryParams: boolean = true): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.wizzardRecalculatePricesObj)\r\n )\r\n ),\r\n filter(([menuFlow, recalculatePrices]) => recalculatePrices.hasSucceeded === true),\r\n take(1)\r\n ).subscribe(([menuFlow]) => {\r\n if (clearQueryParams) {\r\n this._routeService.removeURLQueryParams();\r\n }\r\n\r\n this._store.dispatch(actions.CartSetup({ modalId, locationNo, item: menuFlow }));\r\n });\r\n }\r\n\r\n public canAddWizzardMenuFlowToCart$(): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.wizzardRecalculatePricesObj),\r\n map(obj => obj.hasSucceeded === true),\r\n );\r\n }\r\n\r\n public wizzardSimpleItemAddToCart(modalId: number, locationNo: number, clearQueryParams: boolean = true): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardSimpleItem),\r\n take(1)\r\n ).subscribe(product => {\r\n if (clearQueryParams) {\r\n this._routeService.removeURLQueryParams();\r\n }\r\n\r\n this._store.dispatch(actions.CartSetup({ modalId, locationNo, item: product }));\r\n });\r\n }\r\n\r\n public selectOnlineMenuProduct(product: APIv1.OnlineMenuProductResponseModel): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n take(1)\r\n ).subscribe(locationNo => this._store.dispatch(actions.WizzardSetupItem(locationNo, product)));\r\n }\r\n\r\n public selectIngredientForWizzardMenuFlowProduct(pageIdentifier: number, productId: number, option: APICommon.IIngredientModifierExtended & OLO.Components.DropDown.IDropDownOption): void {\r\n this._store.dispatch(\r\n actions.WizzardMenuFlowSelectModifier({ modifier: option, pageIdentifier: pageIdentifier, productId: productId })\r\n );\r\n }\r\n\r\n public handleWizzardMenuFlowProductClick(pageIdentifier: number, product: APIv1.MenuFlowProduct): void {\r\n this._store\r\n .pipe(\r\n select(selectors.productActionToTake(pageIdentifier, product.ProductId)),\r\n take(1)\r\n ).subscribe(decision => {\r\n if (!decision) return;\r\n\r\n switch (decision) {\r\n case 'add':\r\n return this._store.dispatch(\r\n actions.WizzardMenuFlowAddProduct({\r\n pageIdentifier: pageIdentifier,\r\n product: {\r\n ...product,\r\n IngredientsChanges: {\r\n IngredientsModified: [], /* TODO */\r\n IngredientsAdded: [], /* TODO */\r\n IngredientsRemoved: [], /* NOT IN USE */\r\n IngredientsSwapped: [], /* NOT IN USE */\r\n }\r\n }\r\n }\r\n )\r\n );\r\n\r\n case 'remove':\r\n return this._store.dispatch(\r\n actions.WizzardMenuFlowRemoveProduct({\r\n pageIdentifier: pageIdentifier,\r\n productId: product.ProductId\r\n }\r\n )\r\n );\r\n\r\n case 'replace':\r\n return this._store.dispatch(\r\n actions.WizzardMenuFlowReplaceAllWithNew({\r\n pageIdentifier: pageIdentifier,\r\n product: {\r\n ...product,\r\n IngredientsChanges: {\r\n IngredientsModified: [], /* TODO */\r\n IngredientsAdded: [], /* TODO */\r\n IngredientsRemoved: [], /* NOT IN USE */\r\n IngredientsSwapped: [], /* NOT IN USE */\r\n }\r\n }\r\n }\r\n )\r\n );\r\n }\r\n });\r\n }\r\n\r\n public incrementMenuFlowProduct(pageIdentifier: number, productId: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProduct(pageIdentifier, productId)),\r\n take(1)\r\n ).subscribe(product => {\r\n if (product.Quantity < product.MaximumQuantity) {\r\n return this._store.dispatch(actions.WizzardMenuFlowProductIncrement(pageIdentifier, productId));\r\n }\r\n console.warn(`You cannot add more product than maximum quantity`);\r\n });\r\n\r\n\r\n }\r\n\r\n public decrementMenuFlowProduct(pageIdentifier: number, productId: number): void {\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlowProductTotalQuantity(pageIdentifier, productId)),\r\n take(1)\r\n ).subscribe(total => {\r\n if (total <= 1) {\r\n return this._store.dispatch(actions.WizzardMenuFlowRemoveProduct({ pageIdentifier, productId }));\r\n }\r\n this._store.dispatch(actions.WizzardMenuFlowProductDecrement(pageIdentifier, productId));\r\n });\r\n }\r\n\r\n\r\n\r\n public setWizzardSpecialInstructions(type: State.MODAL_TYPE, instruction: string): void {\r\n if (type === 'product') {\r\n return this.setProductWizzardInstructions(instruction);\r\n }\r\n\r\n this.setMenuFlowWizzardInstructions(instruction);\r\n }\r\n\r\n public setMenuFlowWizzardInstructions(instruction: string): void {\r\n this._store.dispatch(actions.WizzardMenuFlowSpecialInstructions(instruction));\r\n }\r\n\r\n public setProductWizzardInstructions(instruction: string): void {\r\n this._store.dispatch(actions.WizzardSimpleItemSpecialInstructions(null, instruction));\r\n }\r\n}\r\n","export * from './appSettings';\r\nexport * from './cart';\r\nexport * from './creditCards';\r\nexport * from './filters';\r\nexport * from './geolocation';\r\nexport * from './historyOrders';\r\nexport * from './images';\r\nexport * from './ingredients';\r\nexport * from './locations';\r\nexport * from './loyalty';\r\nexport * from './members';\r\nexport * from './menuFlows';\r\nexport * from './modals';\r\nexport * from './onlineMenu';\r\nexport * from './onlineOrders';\r\nexport * from './payment';\r\nexport * from './routes';\r\nexport * from './transactions';\r\nexport * from './wizzard';\r\n\r\nexport * from './controllers';\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var ka = moment.defineLocale('ka', {\n months : {\n standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),\n format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')\n },\n monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),\n weekdays : {\n standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),\n format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),\n isFormat: /(წინა|შემდეგ)/\n },\n weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),\n weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),\n longDateFormat : {\n LT : 'h:mm A',\n LTS : 'h:mm:ss A',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY h:mm A',\n LLLL : 'dddd, D MMMM YYYY h:mm A'\n },\n calendar : {\n sameDay : '[დღეს] LT[-ზე]',\n nextDay : '[ხვალ] LT[-ზე]',\n lastDay : '[გუშინ] LT[-ზე]',\n nextWeek : '[შემდეგ] dddd LT[-ზე]',\n lastWeek : '[წინა] dddd LT-ზე',\n sameElse : 'L'\n },\n relativeTime : {\n future : function (s) {\n return (/(წამი|წუთი|საათი|წელი)/).test(s) ?\n s.replace(/ი$/, 'ში') :\n s + 'ში';\n },\n past : function (s) {\n if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {\n return s.replace(/(ი|ე)$/, 'ის წინ');\n }\n if ((/წელი/).test(s)) {\n return s.replace(/წელი$/, 'წლის წინ');\n }\n },\n s : 'რამდენიმე წამი',\n ss : '%d წამი',\n m : 'წუთი',\n mm : '%d წუთი',\n h : 'საათი',\n hh : '%d საათი',\n d : 'დღე',\n dd : '%d დღე',\n M : 'თვე',\n MM : '%d თვე',\n y : 'წელი',\n yy : '%d წელი'\n },\n dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n ordinal : function (number) {\n if (number === 0) {\n return number;\n }\n if (number === 1) {\n return number + '-ლი';\n }\n if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {\n return 'მე-' + number;\n }\n return number + '-ე';\n },\n week : {\n dow : 1,\n doy : 7\n }\n });\n\n return ka;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 'm': ['eine Minute', 'einer Minute'],\n 'h': ['eine Stunde', 'einer Stunde'],\n 'd': ['ein Tag', 'einem Tag'],\n 'dd': [number + ' Tage', number + ' Tagen'],\n 'M': ['ein Monat', 'einem Monat'],\n 'MM': [number + ' Monate', number + ' Monaten'],\n 'y': ['ein Jahr', 'einem Jahr'],\n 'yy': [number + ' Jahre', number + ' Jahren']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var de = moment.defineLocale('de', {\n months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),\n monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact : true,\n weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),\n weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D. MMMM YYYY',\n LLL : 'D. MMMM YYYY HH:mm',\n LLLL : 'dddd, D. MMMM YYYY HH:mm'\n },\n calendar : {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]'\n },\n relativeTime : {\n future : 'in %s',\n past : 'vor %s',\n s : 'ein paar Sekunden',\n ss : '%d Sekunden',\n m : processRelativeTime,\n mm : '%d Minuten',\n h : processRelativeTime,\n hh : '%d Stunden',\n d : processRelativeTime,\n dd : processRelativeTime,\n M : processRelativeTime,\n MM : processRelativeTime,\n y : processRelativeTime,\n yy : processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return de;\n\n})));\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { DrawCollapseService } from '@shared/core/directives/drawCollapse/draw-collapse.shared.service';\r\n\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { take } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SubNavService {\r\n public scrollingTime: number = 500;\r\n public activationThreshold: number = 70;\r\n public isScrolling: boolean = false;\r\n\r\n public targetRegistry: { [registryId: string]: Map; } = {};\r\n public currentRegistry: { [registryId: string]: number; } = {};\r\n\r\n public currentTargets$: BehaviorSubject<{ [currentId: string]: number; }> = new BehaviorSubject(this.currentRegistry);\r\n public heightUpdate$: Subject = new Subject();\r\n\r\n constructor(\r\n public drawCollapseService: DrawCollapseService,\r\n public router: Router,\r\n ) { }\r\n\r\n public forceHeightUpdate(): void {\r\n this.heightUpdate$.next(true);\r\n }\r\n\r\n public registerTarget(registryId: string, targetId: number, elem: HTMLElement, setDefault: boolean = true): void {\r\n /*\r\n Register target to scroll\r\n and set default currentTarget if not set\r\n */\r\n if (!this.targetRegistry[registryId]) {\r\n this.targetRegistry[registryId] = new Map();\r\n }\r\n\r\n this.targetRegistry[registryId].set(targetId, elem);\r\n\r\n if (!this.currentRegistry[registryId] && setDefault) {\r\n this.setCurrent(registryId, targetId);\r\n }\r\n }\r\n\r\n public setCurrent(registryId: string, targetId: number): void {\r\n if (this.isScrolling) return;\r\n /*\r\n Updates current element\r\n */\r\n this.currentRegistry[registryId] = targetId;\r\n\r\n this.currentTargets$.next(this.currentRegistry);\r\n }\r\n\r\n public removeTarget(registryId: string, targetId: number): void {\r\n /*\r\n Remove target areas and cleanup in current registry\r\n */\r\n if (!this.targetRegistry[registryId]) return;\r\n\r\n this.targetRegistry[registryId].delete(targetId);\r\n\r\n if (this.targetRegistry[registryId].size === 0) {\r\n delete this.targetRegistry[registryId];\r\n }\r\n\r\n this.currentTargets$\r\n .pipe(\r\n take(1)\r\n ).subscribe(obj => {\r\n if (obj[registryId] === targetId) {\r\n if (this.targetRegistry[registryId]) {\r\n this.setCurrent(registryId, null);\r\n } else {\r\n delete this.currentRegistry[registryId];\r\n\r\n this.currentTargets$.next(this.currentRegistry);\r\n }\r\n }\r\n });\r\n }\r\n\r\n public unsetRegistry(registryId: string): void {\r\n delete this.currentRegistry[registryId];\r\n delete this.targetRegistry[registryId];\r\n }\r\n\r\n public clear(): void {\r\n this.currentRegistry = {};\r\n this.targetRegistry = {};\r\n this.currentTargets$.next(this.currentRegistry);\r\n }\r\n\r\n public navToUrl(url: string): Promise {\r\n return this.router.navigate([url]);\r\n }\r\n\r\n public globalScrollTo(registryId: string, targetId: number, index: number = null): void {\r\n const registry = this.targetRegistry[registryId];\r\n if (!registry) return;\r\n\r\n const elem: HTMLElement = registry.get(targetId);\r\n\r\n if (!elem) return;\r\n\r\n this.setCurrent(registryId, targetId);\r\n this.isScrolling = true;\r\n\r\n const additionalDrawerOffset: number = this.drawCollapseService.drawCanvasExpandedHeight;\r\n\r\n /*\r\n Due to draw directive and f** scrolling page ideas, we need to\r\n 'help' scroller to scroll back to first element... so CS with 'index'\r\n */\r\n const targetOffset: number = index === 0 ? 0 : elem.offsetTop + additionalDrawerOffset;\r\n\r\n Utils.Scroll.smoothScrollTo(targetOffset, this.scrollingTime, 'easeInOutCubic', () => {\r\n setTimeout(() => {\r\n this.isScrolling = false;\r\n }, 200);\r\n });\r\n }\r\n}\r\n","import { async } from '../scheduler/async';\nimport { isDate } from '../util/isDate';\nimport { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function delay(delay, scheduler = async) {\n const absoluteDelay = isDate(delay);\n const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);\n return (source) => source.lift(new DelayOperator(delayFor, scheduler));\n}\nclass DelayOperator {\n constructor(delay, scheduler) {\n this.delay = delay;\n this.scheduler = scheduler;\n }\n call(subscriber, source) {\n return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n }\n}\nclass DelaySubscriber extends Subscriber {\n constructor(destination, delay, scheduler) {\n super(destination);\n this.delay = delay;\n this.scheduler = scheduler;\n this.queue = [];\n this.active = false;\n this.errored = false;\n }\n static dispatch(state) {\n const source = state.source;\n const queue = source.queue;\n const scheduler = state.scheduler;\n const destination = state.destination;\n while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {\n queue.shift().notification.observe(destination);\n }\n if (queue.length > 0) {\n const delay = Math.max(0, queue[0].time - scheduler.now());\n this.schedule(state, delay);\n }\n else {\n this.unsubscribe();\n source.active = false;\n }\n }\n _schedule(scheduler) {\n this.active = true;\n const destination = this.destination;\n destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n source: this, destination: this.destination, scheduler: scheduler\n }));\n }\n scheduleNotification(notification) {\n if (this.errored === true) {\n return;\n }\n const scheduler = this.scheduler;\n const message = new DelayMessage(scheduler.now() + this.delay, notification);\n this.queue.push(message);\n if (this.active === false) {\n this._schedule(scheduler);\n }\n }\n _next(value) {\n this.scheduleNotification(Notification.createNext(value));\n }\n _error(err) {\n this.errored = true;\n this.queue = [];\n this.destination.error(err);\n this.unsubscribe();\n }\n _complete() {\n this.scheduleNotification(Notification.createComplete());\n this.unsubscribe();\n }\n}\nclass DelayMessage {\n constructor(time, notification) {\n this.time = time;\n this.notification = notification;\n }\n}\n//# sourceMappingURL=delay.js.map","export function isDate(value) {\n return value instanceof Date && !isNaN(+value);\n}\n//# sourceMappingURL=isDate.js.map","import { Subject } from './Subject';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n if (subscription && !subscription.closed) {\n subscriber.next(this._value);\n }\n return subscription;\n }\n getValue() {\n if (this.hasError) {\n throw this.thrownError;\n }\n else if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n else {\n return this._value;\n }\n }\n next(value) {\n super.next(this._value = value);\n }\n}\n//# sourceMappingURL=BehaviorSubject.js.map","import { Component, OnInit, AfterViewInit, Input, Inject, HostListener } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as State from '@shared/state';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as actions from '@shared/state/actions';\r\nimport * as selectors from '@shared/state/selectors';\r\n\r\nimport { Observable, Subscription, BehaviorSubject } from 'rxjs';\r\nimport { combineLatest, map, take } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'shared-dev',\r\n templateUrl: './dev.shared.component.html',\r\n styleUrls: ['./dev.shared.component.scss'],\r\n})\r\nexport class DevComponent implements OnInit, AfterViewInit {\r\n public readonly states = {\r\n HIDDEN: '0',\r\n MINIMIZED: '1',\r\n VISIBLE: '2',\r\n };\r\n\r\n public devBoxVisibility: 'is-hidden' | 'is-maximized' | 'is-minimized' = null;\r\n public state$: Observable;\r\n public stateFilter$ = new BehaviorSubject('');\r\n public textFilter: string = '';\r\n\r\n @Input() public position = 'bl';\r\n @Input() public sticky: boolean = true;\r\n\r\n @HostListener('window:keypress', ['$event']) public specialKeyListener(e: KeyboardEvent): void {\r\n if (e.charCode === 96 && (e.target as HTMLElement).nodeName !== 'INPUT') {\r\n const current: string = this._getStore();\r\n if (this.states.VISIBLE === current) {\r\n this.hide();\r\n } else {\r\n this.maximize();\r\n }\r\n }\r\n }\r\n\r\n constructor(\r\n @Inject(Tokens.ENV_BUILD_TOKEN) private _envBuildToken: IEnvironment,\r\n private _store: Store,\r\n private _memberService: Services.MembersService,\r\n ) { }\r\n\r\n public get isDevmode(): boolean {\r\n return this._envBuildToken.production === false || Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_MODE) === '1';\r\n }\r\n\r\n /* Storage methods */\r\n private _getStore(): string {\r\n return Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE);\r\n }\r\n\r\n public handleFilterChange($event) {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER, $event.target.value);\r\n this.stateFilter$.next($event.target.value);\r\n }\r\n\r\n public get autoRestoreState(): boolean {\r\n return Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE) === '1';\r\n }\r\n\r\n ngOnInit() {\r\n // console.log(this._envBuildToken);\r\n\r\n this.textFilter = Utils.Storage.getItem(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER) || '';\r\n this.stateFilter$.next(this.textFilter);\r\n this.state$ = this._store.select(selectors.getState)\r\n .pipe(\r\n combineLatest(this.stateFilter$),\r\n map(([state, filter]) => {\r\n if (!filter) {\r\n return state;\r\n }\r\n const filteredState = {};\r\n\r\n for (const prop in state) {\r\n if (prop.toLowerCase().includes(filter.toLowerCase())) {\r\n filteredState[prop] = state[prop];\r\n }\r\n }\r\n\r\n return filteredState;\r\n })\r\n );\r\n\r\n if (this.autoRestoreState) {\r\n Utils.Redirect.setRedirect();\r\n }\r\n\r\n switch (this._getStore()) {\r\n case this.states.VISIBLE:\r\n this.maximize();\r\n break;\r\n case this.states.MINIMIZED:\r\n this.minimize();\r\n break;\r\n default:\r\n this.hide();\r\n return;\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n\r\n\r\n if (this.autoRestoreState) {\r\n setTimeout(() => {\r\n this.restoreState();\r\n }, 10);\r\n\r\n }\r\n }\r\n\r\n /* Custom methods */\r\n public saveState() {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE, '1');\r\n Utils.Redirect.setRedirect();\r\n this._store.dispatch(actions.StateSave());\r\n }\r\n\r\n public restoreState() {\r\n this._store.dispatch(actions.StateRestore({ setProps: null }));\r\n setTimeout(() => {\r\n this._store.dispatch(actions.StateSave());\r\n }, 10);\r\n }\r\n\r\n public toggleDevAutoRestoreState(): void {\r\n if (this.autoRestoreState) {\r\n Utils.Redirect.unsetRedirect();\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE);\r\n } else {\r\n Utils.Redirect.setRedirect();\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_AUTORESTORE_STATE, '1');\r\n }\r\n }\r\n\r\n public setLinkInfoStep(): void {\r\n this._store.dispatch(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_INFO }));\r\n }\r\n\r\n public payAsGuest() {\r\n const model: APICommon.IOnlineOrderPartialMember = {\r\n FirstName: 'Pawciu',\r\n LastName: 'Test',\r\n Email: `tro${new Date().getTime()}@test.pl`,\r\n MobileNumber: '6666666669',\r\n };\r\n\r\n this._store.dispatch(actions.OnlineOrderRecalculateRequest());\r\n\r\n return this._store.dispatch(actions.PaymentInitAramark({\r\n cardNo: '4000000000000002',\r\n expDate: `11-01-22`,\r\n save: false,\r\n }, model));\r\n }\r\n\r\n\r\n public onFilter($event: string): void {\r\n if ($event) {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER, $event);\r\n this.stateFilter$.next($event);\r\n } else {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.DEV_CONSOLE_FILTER);\r\n this.stateFilter$.next('');\r\n }\r\n }\r\n\r\n\r\n /* Custom */\r\n public setupGuestDataAfterSignUp(memberId: number = 2149): void {\r\n this._memberService.getUserData(memberId)\r\n .subscribe(member => {\r\n\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n ).subscribe(currentState => {\r\n\r\n this._store.dispatch(actions.__DevSetState({\r\n state: {\r\n members: {\r\n ...currentState,\r\n signUp: {\r\n isSigningUp: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n isGuestModeEnabled: true,\r\n accountId: memberId,\r\n data: member,\r\n }\r\n }\r\n }));\r\n\r\n\r\n });\r\n\r\n });\r\n\r\n }\r\n\r\n public initPaymentRedirectFlow(): void {\r\n Utils.Redirect.setRedirect();\r\n this._store.dispatch(actions.StateSave());\r\n\r\n setTimeout(() => {\r\n window.location.reload();\r\n });\r\n }\r\n\r\n\r\n public finishPaymentRedirectFlow(): void {\r\n Utils.Redirect.unsetRedirect()\r\n .then(() => {\r\n this._store.dispatch(actions.StateRestore({ setProps: null }));\r\n });\r\n }\r\n\r\n /* Common dev box methods */\r\n public normalize(): void {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE);\r\n this.devBoxVisibility = null;\r\n }\r\n\r\n public hide(): void {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE, this.states.HIDDEN);\r\n this.devBoxVisibility = 'is-hidden';\r\n }\r\n\r\n public maximize(): void {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE, this.states.VISIBLE);\r\n this.devBoxVisibility = 'is-maximized';\r\n }\r\n\r\n public minimize(): void {\r\n this.normalize();\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.DEV_DEBUG_STATE, this.states.MINIMIZED);\r\n this.devBoxVisibility = 'is-minimized';\r\n }\r\n\r\n}\r\n","\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n\r\n
    {{(state$ | async) | json}}
    \r\n
    \r\n RESTORE STATE\r\n SAVE STATE\r\n AUTO RESTORE STATE {{autoRestoreState}}\r\n \r\n \r\n set link info step\r\n \r\n DEV: setupGuestSignUp\r\n DEV: initPaymentRedirectFlow\r\n DEV: finishPaymentRedirectFlow\r\n \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n\r\n \r\n
    ","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n function relativeTimeMr(number, withoutSuffix, string, isFuture)\n {\n var output = '';\n if (withoutSuffix) {\n switch (string) {\n case 's': output = 'काही सेकंद'; break;\n case 'ss': output = '%d सेकंद'; break;\n case 'm': output = 'एक मिनिट'; break;\n case 'mm': output = '%d मिनिटे'; break;\n case 'h': output = 'एक तास'; break;\n case 'hh': output = '%d तास'; break;\n case 'd': output = 'एक दिवस'; break;\n case 'dd': output = '%d दिवस'; break;\n case 'M': output = 'एक महिना'; break;\n case 'MM': output = '%d महिने'; break;\n case 'y': output = 'एक वर्ष'; break;\n case 'yy': output = '%d वर्षे'; break;\n }\n }\n else {\n switch (string) {\n case 's': output = 'काही सेकंदां'; break;\n case 'ss': output = '%d सेकंदां'; break;\n case 'm': output = 'एका मिनिटा'; break;\n case 'mm': output = '%d मिनिटां'; break;\n case 'h': output = 'एका तासा'; break;\n case 'hh': output = '%d तासां'; break;\n case 'd': output = 'एका दिवसा'; break;\n case 'dd': output = '%d दिवसां'; break;\n case 'M': output = 'एका महिन्या'; break;\n case 'MM': output = '%d महिन्यां'; break;\n case 'y': output = 'एका वर्षा'; break;\n case 'yy': output = '%d वर्षां'; break;\n }\n }\n return output.replace(/%d/i, number);\n }\n\n var mr = moment.defineLocale('mr', {\n months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),\n monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),\n monthsParseExact : true,\n weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat : {\n LT : 'A h:mm वाजता',\n LTS : 'A h:mm:ss वाजता',\n L : 'DD/MM/YYYY',\n LL : 'D MMMM YYYY',\n LLL : 'D MMMM YYYY, A h:mm वाजता',\n LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'\n },\n calendar : {\n sameDay : '[आज] LT',\n nextDay : '[उद्या] LT',\n nextWeek : 'dddd, LT',\n lastDay : '[काल] LT',\n lastWeek: '[मागील] dddd, LT',\n sameElse : 'L'\n },\n relativeTime : {\n future: '%sमध्ये',\n past: '%sपूर्वी',\n s: relativeTimeMr,\n ss: relativeTimeMr,\n m: relativeTimeMr,\n mm: relativeTimeMr,\n h: relativeTimeMr,\n hh: relativeTimeMr,\n d: relativeTimeMr,\n dd: relativeTimeMr,\n M: relativeTimeMr,\n MM: relativeTimeMr,\n y: relativeTimeMr,\n yy: relativeTimeMr\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,\n meridiemHour : function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात्री') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सकाळी') {\n return hour;\n } else if (meridiem === 'दुपारी') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'सायंकाळी') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात्री';\n } else if (hour < 10) {\n return 'सकाळी';\n } else if (hour < 17) {\n return 'दुपारी';\n } else if (hour < 20) {\n return 'सायंकाळी';\n } else {\n return 'रात्री';\n }\n },\n week : {\n dow : 0, // Sunday is the first day of the week.\n doy : 6 // The week that contains Jan 6th is the first week of the year.\n }\n });\n\n return mr;\n\n})));\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var se = moment.defineLocale('se', {\n months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),\n monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),\n weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),\n weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n weekdaysMin : 's_v_m_g_d_b_L'.split('_'),\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'MMMM D. [b.] YYYY',\n LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',\n LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'\n },\n calendar : {\n sameDay: '[otne ti] LT',\n nextDay: '[ihttin ti] LT',\n nextWeek: 'dddd [ti] LT',\n lastDay: '[ikte ti] LT',\n lastWeek: '[ovddit] dddd [ti] LT',\n sameElse: 'L'\n },\n relativeTime : {\n future : '%s geažes',\n past : 'maŋit %s',\n s : 'moadde sekunddat',\n ss: '%d sekunddat',\n m : 'okta minuhta',\n mm : '%d minuhtat',\n h : 'okta diimmu',\n hh : '%d diimmut',\n d : 'okta beaivi',\n dd : '%d beaivvit',\n M : 'okta mánnu',\n MM : '%d mánut',\n y : 'okta jahki',\n yy : '%d jagit'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return se;\n\n})));\n",";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./sha1\"), require(\"./hmac\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./sha1\", \"./hmac\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var Base = C_lib.Base;\n\t var WordArray = C_lib.WordArray;\n\t var C_algo = C.algo;\n\t var MD5 = C_algo.MD5;\n\n\t /**\n\t * This key derivation function is meant to conform with EVP_BytesToKey.\n\t * www.openssl.org/docs/crypto/EVP_BytesToKey.html\n\t */\n\t var EvpKDF = C_algo.EvpKDF = Base.extend({\n\t /**\n\t * Configuration options.\n\t *\n\t * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)\n\t * @property {Hasher} hasher The hash algorithm to use. Default: MD5\n\t * @property {number} iterations The number of iterations to perform. Default: 1\n\t */\n\t cfg: Base.extend({\n\t keySize: 128/32,\n\t hasher: MD5,\n\t iterations: 1\n\t }),\n\n\t /**\n\t * Initializes a newly created key derivation function.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for the derivation.\n\t *\n\t * @example\n\t *\n\t * var kdf = CryptoJS.algo.EvpKDF.create();\n\t * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });\n\t * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });\n\t */\n\t init: function (cfg) {\n\t this.cfg = this.cfg.extend(cfg);\n\t },\n\n\t /**\n\t * Derives a key from a password.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @example\n\t *\n\t * var key = kdf.compute(password, salt);\n\t */\n\t compute: function (password, salt) {\n\t // Shortcut\n\t var cfg = this.cfg;\n\n\t // Init hasher\n\t var hasher = cfg.hasher.create();\n\n\t // Initial values\n\t var derivedKey = WordArray.create();\n\n\t // Shortcuts\n\t var derivedKeyWords = derivedKey.words;\n\t var keySize = cfg.keySize;\n\t var iterations = cfg.iterations;\n\n\t // Generate key\n\t while (derivedKeyWords.length < keySize) {\n\t if (block) {\n\t hasher.update(block);\n\t }\n\t var block = hasher.update(password).finalize(salt);\n\t hasher.reset();\n\n\t // Iterations\n\t for (var i = 1; i < iterations; i++) {\n\t block = hasher.finalize(block);\n\t hasher.reset();\n\t }\n\n\t derivedKey.concat(block);\n\t }\n\t derivedKey.sigBytes = keySize * 4;\n\n\t return derivedKey;\n\t }\n\t });\n\n\t /**\n\t * Derives a key from a password.\n\t *\n\t * @param {WordArray|string} password The password.\n\t * @param {WordArray|string} salt A salt.\n\t * @param {Object} cfg (Optional) The configuration options to use for this computation.\n\t *\n\t * @return {WordArray} The derived key.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var key = CryptoJS.EvpKDF(password, salt);\n\t * var key = CryptoJS.EvpKDF(password, salt, { keySize: 8 });\n\t * var key = CryptoJS.EvpKDF(password, salt, { keySize: 8, iterations: 1000 });\n\t */\n\t C.EvpKDF = function (password, salt, cfg) {\n\t return EvpKDF.create(cfg).compute(password, salt);\n\t };\n\t}());\n\n\n\treturn CryptoJS.EvpKDF;\n\n}));","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n var pt = moment.defineLocale('pt', {\n months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),\n monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),\n weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'HH:mm',\n LTS : 'HH:mm:ss',\n L : 'DD/MM/YYYY',\n LL : 'D [de] MMMM [de] YYYY',\n LLL : 'D [de] MMMM [de] YYYY HH:mm',\n LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'\n },\n calendar : {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return (this.day() === 0 || this.day() === 6) ?\n '[Último] dddd [às] LT' : // Saturday + Sunday\n '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L'\n },\n relativeTime : {\n future : 'em %s',\n past : 'há %s',\n s : 'segundos',\n ss : '%d segundos',\n m : 'um minuto',\n mm : '%d minutos',\n h : 'uma hora',\n hh : '%d horas',\n d : 'um dia',\n dd : '%d dias',\n M : 'um mês',\n MM : '%d meses',\n y : 'um ano',\n yy : '%d anos'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal : '%dº',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 4 // The week that contains Jan 4th is the first week of the year.\n }\n });\n\n return pt;\n\n})));\n","export class Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n this.SchedulerAction = SchedulerAction;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.SchedulerAction(this, work).schedule(state, delay);\n }\n}\nScheduler.now = () => Date.now();\n//# sourceMappingURL=Scheduler.js.map","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, () => {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.now();\n }\n else {\n return now();\n }\n });\n this.actions = [];\n this.active = false;\n this.scheduled = undefined;\n }\n schedule(work, delay = 0, state) {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.schedule(work, delay, state);\n }\n else {\n return super.schedule(work, delay, state);\n }\n }\n flush(action) {\n const { actions } = this;\n if (this.active) {\n actions.push(action);\n return;\n }\n let error;\n this.active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift());\n this.active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n//# sourceMappingURL=AsyncScheduler.js.map","import { Injectable } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AppSettingsEffects {\r\n @Effect() public requestApiSettings$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.AppSettingsRequest\r\n ),\r\n switchMap(action => {\r\n return this._loyaltyAppService.apiGetLoyaltyAppInfo()\r\n .pipe(\r\n map(payload => actions.AppSettingsSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Loyalty app settings request error:', ex);\r\n return of(actions.AppSettingsErrorRequest({ ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, Action, select } from '@ngrx/store';\r\nimport { Actions, ofType, Effect } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, combineLatest, take, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class AvailablePickupsEffects {\r\n @Effect() public onLocationSuccessRequestDataCalculate$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.LocationsSuccessRequest),\r\n switchMap(({ payload }) => {\r\n return payload.map(obj => actions.AvailablePickupsCalculateRequest({ locationNo: obj.LocationNo }));\r\n })\r\n );\r\n\r\n /* This effect is triggered from orderingTimeInfo effects when data is downloaded after successful locations request */\r\n @Effect() public calculateAvailablePickupOptionsForLocation: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.AvailablePickupsCalculateRequest),\r\n switchMap(action =>\r\n of(action.locationNo)\r\n .pipe(\r\n combineLatest(\r\n this._store.pipe(\r\n select(selectors.getOrderingTimeInfoByLocationNo(action.locationNo)),\r\n filter(obj => obj !== undefined && obj !== null),\r\n take(1)\r\n ),\r\n this._store.pipe(\r\n select(\r\n selectors.getOrderInfoCompleteForLocationByDate(action.locationNo) /* FIX THIS any */\r\n ),\r\n filter(obj => obj !== undefined && obj.hasSucceeded === true),\r\n take(1)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getLocationDetails(action.locationNo)),\r\n filter(location => location !== null && location !== undefined),\r\n take(1)\r\n )\r\n ),\r\n switchMap(([locationNo, openingHours, orderInfo, location]) => {\r\n return of(actions.AvailablePickupsCalculateSuccessRequest({\r\n locationNo,\r\n payload: Utils.Dates.generatePickupTimesList(\r\n {\r\n location,\r\n asapPickupMins: orderInfo.MinimumPickupTime,\r\n openingHours,\r\n orderTimeoutBufferMins: this._config.pickups.orderTimeoutBufferMins,\r\n startBufferMins: this._config.pickups.startBufferMins,\r\n nextTick: this._config.pickups.nextTick,\r\n schedule: this._config.pickups.futureOrders === true,\r\n }\r\n )\r\n }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\nimport { Action, Store, select } from '@ngrx/store';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never, timer, defer } from 'rxjs';\r\nimport { switchMap, auditTime, withLatestFrom, take, audit, map, tap, combineLatest } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CartEffects {\r\n /*\r\n Set up basic props for cart\r\n - pickupTime\r\n - onlineMenu\r\n - locationNo\r\n\r\n Validate these comparing to current selection.\r\n Check if user has changed pickup time, locationNo, or there is different onlineMenu (overlaps with pickupTime).\r\n\r\n If anything has changed comparing to cart setup, clear cart and show info.\r\n */\r\n @Effect() public onTransferItemToCartValidateAndSetBasicCartProperties$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartSetup,\r\n actions.CartSetupWithMultipleItems,\r\n actions.CartPickupTimeUpdate,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationFriendlyName),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentPickupTime),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuData),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getMenuFlowDetailsByWizzard)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isCheckoutPage)\r\n )\r\n ),\r\n switchMap(([action, cart, cartLocationFriendlyName, currentLocationNo, currentPickupTime, onlineMenu, menuFlowDetails, wizzardMenuFlow, isCheckoutPage]) => {\r\n if (action.type === actions.CartPickupTimeUpdate.type) {\r\n currentPickupTime = action.pickupTime;\r\n }\r\n\r\n if (isCheckoutPage) {\r\n onlineMenu = cart.onlineMenu;\r\n }\r\n\r\n if (\r\n action.type === actions.CartSetup.type\r\n && action.item.MenuFlowId\r\n ) {\r\n /* Validate menuFlow wizzard errors first */\r\n const errors: State.IWizzardError[] = this._wizzardService.validateWizzardItems(menuFlowDetails, wizzardMenuFlow);\r\n if (errors.length > 0) {\r\n return of(actions.WizzardValidate({ errors }));\r\n }\r\n }\r\n\r\n const isEditing: boolean = action.type === actions.CartSetup.type && !!action.item['_Id'] === true;\r\n\r\n const summary = {\r\n cartIsEmpty: cart.itemsSimple.length === 0 && cart.itemsMenuFlow.length === 0,\r\n isCartLocationNoSet: !!cart.locationNo,\r\n isCartPickupTimeSet: !!cart.pickupTime,\r\n isOnlineMenuTimeSet: !!cart.onlineMenu && !!cart.onlineMenu.StartTime && !!cart.onlineMenu.EndTime,\r\n /* checks for warning */\r\n isAddingToCartFromDifferentLocation: isEditing ? false : cart.locationNo !== currentLocationNo,\r\n isCurrentPickupTimeDifferentThanCartPickupTime: isEditing ? false : currentPickupTime === null || cart.pickupTime === null || currentPickupTime.Id !== cart.pickupTime.Id, /* unsafe - show warning modal */\r\n isCartOnlineMenuTimeDifferentThanCurrent: isEditing ?\r\n false : cart.onlineMenu !== null ?\r\n cart.onlineMenu.StartTime !== onlineMenu.StartTime\r\n || cart.onlineMenu.EndTime !== onlineMenu.EndTime : true, /* unsafe - show warning modal - onlineMenu might be null if user is editing item without onlineMenu context */\r\n /* summary for 3 above */\r\n showEmptyWarningModal: false,\r\n forceCartReset: false,\r\n };\r\n\r\n /* Fix ordering when page reloads when in asap */\r\n const isOrderingInASAPMode: boolean = currentPickupTime !== null && currentPickupTime.IsAsap === true && (cart.pickupTime === null || cart.pickupTime !== null && cart.pickupTime.IsAsap === true);\r\n if (isOrderingInASAPMode) {\r\n /* Check if difference is less then pickupTimeOrderTimeout */\r\n summary.isCurrentPickupTimeDifferentThanCartPickupTime = false;\r\n }\r\n const dispatchActions = (...extraActions: Action[]) => {\r\n const arr: Action[] = [];\r\n /* #1 Cart locationNo */\r\n if (!summary.isCartLocationNoSet || summary.isAddingToCartFromDifferentLocation) {\r\n arr.push(actions.CartSetLocationNo(currentLocationNo));\r\n }\r\n /* #2 Cart PickupTime */\r\n if (!summary.isCartPickupTimeSet || summary.isCurrentPickupTimeDifferentThanCartPickupTime) {\r\n arr.push(actions.CartSetPickupTime({ ...currentPickupTime }));\r\n }\r\n /* #3 OnlineMenu time */\r\n if (!summary.isOnlineMenuTimeSet || summary.isCartOnlineMenuTimeDifferentThanCurrent) {\r\n arr.push(actions.CartSetOnlineMenu({ onlineMenu }));\r\n }\r\n\r\n if (action.type === actions.CartSetup.type) {\r\n arr.push(\r\n actions.CartTransferItemRequest({\r\n modalId: action.modalId,\r\n locationNo: currentLocationNo,\r\n item: action.item,\r\n }),\r\n\r\n );\r\n }\r\n\r\n if (action.type === actions.CartSetupWithMultipleItems.type) {\r\n const menuFlows: State.ICartMenuFlow[] = action.menuFlows;\r\n const simpleItems: State.ICartSimpleItem[] = action.simpleItems;\r\n\r\n if (menuFlows && menuFlows.length) {\r\n menuFlows.forEach(menuFlow => {\r\n arr.push(\r\n actions.CartMenuFlowAddWithMerge({\r\n locationNo: currentLocationNo,\r\n item: {\r\n ...Utils.Items.convertToSanitizedMenuFlowItem(menuFlow)\r\n },\r\n }\r\n )\r\n );\r\n });\r\n }\r\n\r\n if (simpleItems && simpleItems.length) {\r\n simpleItems.forEach(simpleItem => {\r\n arr.push(\r\n actions.CartSimpleItemAdd({\r\n locationNo: currentLocationNo,\r\n item: {\r\n ...Utils.Items.convertToSanitizedSimpleItem(simpleItem)\r\n }\r\n }\r\n )\r\n );\r\n });\r\n }\r\n }\r\n\r\n if (summary.forceCartReset) {\r\n arr.unshift(actions.CartRemoveAllItems());\r\n }\r\n return extraActions ? arr.concat(extraActions) : arr;\r\n };\r\n if (!summary.cartIsEmpty) {\r\n summary.forceCartReset = summary.isAddingToCartFromDifferentLocation || summary.isCurrentPickupTimeDifferentThanCartPickupTime || summary.isCartOnlineMenuTimeDifferentThanCurrent;\r\n }\r\n\r\n summary.showEmptyWarningModal = summary.forceCartReset === true && summary.cartIsEmpty === false;\r\n\r\n if (!summary.showEmptyWarningModal) {\r\n\r\n if (action.type === actions.CartSetupWithMultipleItems.type) {\r\n this._modalsService.close(action.modalId);\r\n }\r\n return dispatchActions();\r\n\r\n } else {\r\n /* Handle modal */\r\n const modalParams: State.IModal = {\r\n type: 'active-order-prompt',\r\n animate: null,\r\n };\r\n if (action.modalId) {\r\n this._modalsService.swap(action.modalId, modalParams);\r\n } else {\r\n this._modalsService.show(modalParams);\r\n }\r\n\r\n return this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartActiveOrderContinue,\r\n actions.CartActiveOrderStartNew,\r\n ),\r\n take(1),\r\n switchMap(activeOrderDecision => {\r\n const closeModal = () => this._modalsService.close(action.modalId);\r\n closeModal();\r\n if (activeOrderDecision.type === actions.CartActiveOrderContinue.type) {\r\n // closeModal();\r\n\r\n // /* Give some time to close modal before navigating to avoid modal's 'injury'. This is pure precautious */\r\n // setTimeout(() => this._routeService.navigateToCartsLocation(), 501);\r\n\r\n return [\r\n actions.CurrentLocationPickupTimeSet({ ...cart.pickupTime })\r\n ];\r\n }\r\n\r\n if (activeOrderDecision.type === actions.CartActiveOrderStartNew.type) {\r\n return dispatchActions(\r\n actions.CartSetPickupTime({ ...currentPickupTime }) /* AOLO-384 - fix */\r\n );\r\n }\r\n })\r\n );\r\n }\r\n\r\n }),\r\n );\r\n\r\n @Effect() public addItemToCartAndCheckForAnyUpsells$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartTransferItemRequest,\r\n ),\r\n switchMap(action => {\r\n return this._store.pipe(\r\n select(selectors.getModalById(action.modalId)),\r\n take(1),\r\n withLatestFrom(\r\n this._store.select(selectors.getMenuFlowDetailsByWizzard),\r\n this._store.select(selectors.getWizzardMenuFlow),\r\n ),\r\n switchMap(([modal, menuFlow, fromWizzardMenuFlow]) => {\r\n\r\n const isMenuFlow: boolean = !!action.item.MenuFlowId;\r\n if (!isMenuFlow) {\r\n /* for SIMPLE ITEM */\r\n const isEditing: boolean = Number.isInteger(action.item._Id);\r\n\r\n this._modalsService.close(action.modalId);\r\n\r\n if (!isEditing) {\r\n const productWithId = {\r\n ...action.item\r\n } as State.ICartSimpleItem;\r\n productWithId._Id = new Date().getTime();\r\n return [\r\n actions.CartSimpleItemAdd({ locationNo: action.locationNo, item: Utils.Items.convertToSanitizedSimpleItem(productWithId) }),\r\n actions.WizzardUnmountAll(),\r\n ];\r\n }\r\n return [\r\n actions.CartSimpleItemUpdate({ item: Utils.Items.convertToSanitizedSimpleItem(action.item as State.ICartSimpleItem) }),\r\n actions.WizzardUnmountAll(),\r\n ];\r\n }\r\n\r\n /* for MENU FLOW */\r\n /* If any errors, just show errors */\r\n const bundleActions: Action[] = [];\r\n const wizzardMenuFlow: State.IWizzardMenuFlow = fromWizzardMenuFlow as State.IWizzardMenuFlow;\r\n const menuFlowDetails: APIv1.MenuFlowDetailsModel = menuFlow as APIv1.MenuFlowDetailsModel;\r\n const isNew: boolean = wizzardMenuFlow._Id === null;\r\n\r\n const errors: State.IWizzardError[] = this._wizzardService.validateWizzardItems(menuFlow, wizzardMenuFlow);\r\n if (errors.length > 0) {\r\n return of(actions.WizzardValidate({ errors }));\r\n }\r\n\r\n if (isNew) {\r\n /* Add to cart */\r\n wizzardMenuFlow._Id = new Date().getTime();\r\n\r\n bundleActions.push(\r\n actions.CartMenuFlowAddWithMerge({\r\n locationNo: wizzardMenuFlow.LocationNo, item: { /* AOLO-282 */\r\n _Id: new Date().getTime(),\r\n ...wizzardMenuFlow\r\n }\r\n })\r\n );\r\n\r\n } else {\r\n /* Update in cart */\r\n bundleActions.push(\r\n actions.CartMenuFlowUpdate({ item: wizzardMenuFlow })\r\n );\r\n }\r\n\r\n bundleActions.push(\r\n actions.WizzardUnmountAll(),\r\n );\r\n\r\n /* Show Upsell */\r\n const showUpsellModal: boolean = isNew && Number.isInteger((menuFlowDetails as APIv1.MenuFlowDetailsModel).UpsellMenuFlowId);\r\n if (showUpsellModal) {\r\n bundleActions.push(\r\n actions.WizzardMenuFlowUpsellSetupRequest((menuFlowDetails as APIv1.MenuFlowDetailsModel).UpsellMenuFlowId, wizzardMenuFlow.LocationNo, action.modalId)\r\n );\r\n }\r\n\r\n /* And hide modal if there is no upsell to show */\r\n if (action.modalId && !showUpsellModal) {\r\n this._modalsService.close(action.modalId);\r\n }\r\n return bundleActions;\r\n })\r\n );\r\n }),\r\n\r\n );\r\n\r\n @Effect() public findDuplicatedMenuFlowAndMerge$: Observable = this._actions$ /* AOLO-282 */\r\n .pipe(\r\n ofType(\r\n actions.CartMenuFlowAddWithMerge\r\n ),\r\n withLatestFrom(\r\n this._store.select(selectors.getCartMenuFlows),\r\n ),\r\n switchMap(([action, cartMenuFlows]) => {\r\n\r\n const newItem: State.ICartMenuFlowExtended = action.item;\r\n const foundSimilarInCart: State.ICartMenuFlow = cartMenuFlows.find(obj => obj.MenuFlowId === newItem.MenuFlowId\r\n && obj.PosDescription === newItem.PosDescription\r\n && obj.PosDisplay === newItem.PosDisplay\r\n && obj.SpecialInstructions === newItem.SpecialInstructions\r\n && obj.UnitPrice === newItem.UnitPrice);\r\n return of(foundSimilarInCart)\r\n .pipe(\r\n take(1),\r\n switchMap(() => {\r\n if (!foundSimilarInCart) return of(false);\r\n let isSimilar: boolean = true;\r\n\r\n if (foundSimilarInCart.Pages.length !== newItem.Pages.length) { return of(isSimilar = false); }\r\n foundSimilarInCart.Pages.forEach(Page => {\r\n /* Check if all pages have same PageIdentifier and products QTY prop */\r\n const foundPage = newItem.Pages.find(obj => obj.PageIdentifier === Page.PageIdentifier);\r\n if (!foundPage || foundPage.Products.length !== Page.Products.length) {\r\n return isSimilar = false;\r\n }\r\n\r\n /* Check products */\r\n Page.Products.forEach(Product => {\r\n const foundProduct = foundPage.Products.find(obj => obj.ProductId === Product.ProductId\r\n && obj.Quantity === Product.Quantity\r\n && obj.OriginalPrice === Product.OriginalPrice\r\n && obj.OverridedPrice === Product.OverridedPrice\r\n && obj.PageProductIdentifier === Product.PageProductIdentifier\r\n && obj.Plu === Product.Plu\r\n && obj.ProductName === Product.ProductName\r\n && obj.ProductDescription === Product.ProductDescription);\r\n\r\n if (!foundProduct) { return isSimilar = false; }\r\n\r\n /* Check IngredientsAdded */\r\n const foundIngredients = foundProduct.IngredientsChanges ? foundProduct.IngredientsChanges : null;\r\n const productIngredients = Product.IngredientsChanges ? Product.IngredientsChanges : null;\r\n if (foundIngredients === null && productIngredients === null) {\r\n return;\r\n }\r\n if (typeof foundIngredients !== typeof productIngredients) {\r\n return isSimilar = false;\r\n }\r\n\r\n if (foundProduct.IngredientsChanges.IngredientsAdded.length !== Product.IngredientsChanges.IngredientsAdded.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsAdded.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsAdded.find(obj => obj.ExtraPrice === ingredient.ExtraPrice\r\n && obj.IngredientPLU === ingredient.IngredientPLU\r\n && obj.ModifierID === ingredient.ModifierID\r\n && obj.IngredientPLU === ingredient.IngredientPLU);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n\r\n /* Check IngredientsModified */\r\n if (foundProduct.IngredientsChanges.IngredientsModified.length !== Product.IngredientsChanges.IngredientsModified.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsModified.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsModified.find(obj => obj.ExtraPrice === ingredient.ExtraPrice\r\n && obj.IngredientPLU === ingredient.IngredientPLU\r\n && obj.ModifierID === ingredient.ModifierID\r\n && obj.IngredientPLU === ingredient.IngredientPLU);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n\r\n /* Check IngredientsRemoved */\r\n if (foundProduct.IngredientsChanges.IngredientsRemoved.length !== Product.IngredientsChanges.IngredientsRemoved.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsRemoved.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsRemoved.find(obj =>\r\n obj.IngredientPLU === ingredient.IngredientPLU\r\n && obj.ID === ingredient.ID\r\n && obj.IngredientPLU === ingredient.IngredientPLU);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n\r\n /* Check IngredientsRemoved */\r\n if (foundProduct.IngredientsChanges.IngredientsSwapped.length !== Product.IngredientsChanges.IngredientsSwapped.length) {\r\n return isSimilar = false;\r\n }\r\n Product.IngredientsChanges.IngredientsSwapped.forEach(ingredient => {\r\n const foundIngredient = foundProduct.IngredientsChanges.IngredientsSwapped.find(obj =>\r\n obj.ExtraPrice === ingredient.ExtraPrice\r\n && obj.ID === ingredient.ID\r\n && obj.ModifierID === ingredient.ModifierID\r\n && obj.ModifierName === ingredient.ModifierName\r\n && obj.NewIngredientPLU === ingredient.NewIngredientPLU\r\n && obj.OldIngredientPLU === ingredient.OldIngredientPLU\r\n && obj.OrderItemId === obj.OrderItemId);\r\n if (!foundIngredient) { return isSimilar = false; }\r\n });\r\n });\r\n\r\n });\r\n return of(isSimilar);\r\n\r\n\r\n\r\n }),\r\n // withLatestFrom(\r\n // this._store.pipe(\r\n // select(selectors.getAllModals)\r\n // )\r\n // ),\r\n switchMap(isSimilar => { /* */\r\n /* Handle result here / dispatch proper action */\r\n if (!isSimilar) {\r\n /* AOLO-517 */\r\n const markedHidden = {\r\n ...newItem,\r\n Pages: newItem.Pages.map(page => {\r\n if (page.HideFromKiosk === true) {\r\n return {\r\n ...page,\r\n Products: page.Products.map(product => {\r\n return {\r\n ...product,\r\n _HideFromKiosk: true,\r\n };\r\n })\r\n };\r\n }\r\n return page;\r\n })\r\n };\r\n\r\n return of(actions.CartMenuFlowAdd({ locationNo: action.locationNo, item: markedHidden }));\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isDeviceMobile),\r\n take(1),\r\n switchMap(isMobile => {\r\n if (!isMobile) {\r\n setTimeout(() => {\r\n this._cartService.showPopup();\r\n }, 100);\r\n }\r\n return of(actions.CartMenuFlowIncrement(foundSimilarInCart._Id, newItem.Quantity));\r\n })\r\n );\r\n\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public closeActiveOrderPromptWhenUsingReorder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartSimpleItemAdd,\r\n actions.CartMenuFlowAdd,\r\n ),\r\n audit(() => timer(100)),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getAllModals)\r\n ),\r\n this._store.pipe(\r\n select(selectors.isDeviceMobile)\r\n ),\r\n (action, modals, isMobile) => {\r\n /*\r\n Reorder case with Active order prompt\r\n Reordering items ommit upsell checks, where modals are controlled, so they won't get closed.\r\n I know this is a bit robust, but when doing things other way around - starting project from the middle, this is\r\n easier than refactoring complicated flow.\r\n This should be handled better, but for now, let's just pretend it works\r\n */\r\n let modal: State.IModal;\r\n if (action.item._IsReorder) {\r\n /* We've got item from reorder here - should close modal now */\r\n modal = modals.find(obj => obj.type === 'active-order-prompt');\r\n }\r\n\r\n return [action, modal, isMobile];\r\n }\r\n ),\r\n switchMap(([action, modal, isMobile]) => {\r\n if (modal) {\r\n this._modalsService.close((modal as State.IModal).id);\r\n }\r\n\r\n /* TOLO-106 */\r\n if (!isMobile) {\r\n this._cartService.showPopup();\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public setupWizzardOnCartItemEdit$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CartEditItem),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart)\r\n ),\r\n (action, cart: State.ICart) => [action.item, cart.locationNo],\r\n ),\r\n switchMap(([item, locationNo]) => of(actions.WizzardSetupItem(locationNo as number, (item as State.ICartMenuFlow | State.ICartSimpleItem)))),\r\n );\r\n\r\n /* https://media2.giphy.com/media/ErdfMetILIMko/giphy.gif?cid=3640f6095c111836466d35436759d9a8 */\r\n @Effect({ dispatch: false }) saveCartContentsInStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartReset,\r\n actions.CartRemoveAllItems,\r\n actions.CartMenuFlowAdd,\r\n actions.CartMenuFlowDecrement,\r\n actions.CartMenuFlowIncrement,\r\n actions.CartMenuFlowRemove,\r\n actions.CartMenuFlowUpdate,\r\n actions.CartSimpleItemAdd,\r\n actions.CartSimpleItemDecrement,\r\n actions.CartSimpleItemIncrement,\r\n actions.CartSimpleItemRemove,\r\n actions.CartSimpleItemUpdate,\r\n // actions.CartSetPendingClear\r\n ),\r\n auditTime(500),\r\n withLatestFrom(\r\n this._store.select(selectors.getCart),\r\n ),\r\n switchMap(([action, cart]) => {\r\n if (action.type === actions.CartReset.type) {\r\n Utils.Storage.remove(OLO.Enums.CART_STORAGE.DATA);\r\n } else {\r\n Utils.Storage.set(OLO.Enums.CART_STORAGE.DATA, this._cryptoService.encrypt(JSON.stringify(cart)));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n /* Remove cart data from storage */\r\n @Effect({ dispatch: false }) removeCartDataFromStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartReset,\r\n ),\r\n switchMap(() => {\r\n Utils.Storage.remove(OLO.Enums.CART_STORAGE.DATA as unknown as string);\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public recalculateCartContents$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n // actions.CART_RESET,\r\n actions.CartRemoveAllItems,\r\n actions.CartMenuFlowAdd,\r\n actions.CartMenuFlowDecrement,\r\n actions.CartMenuFlowIncrement,\r\n actions.CartMenuFlowRemove,\r\n actions.CartMenuFlowUpdate,\r\n actions.CartSimpleItemAdd,\r\n actions.CartSimpleItemDecrement,\r\n actions.CartSimpleItemIncrement,\r\n actions.CartSimpleItemRemove,\r\n actions.CartSimpleItemUpdate\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.isCheckoutPage)\r\n )\r\n ),\r\n switchMap(([data, isCheckout]) => {\r\n // if (currentRoute && currentRoute.urlAfterRedirects !== undefined && currentRoute.urlAfterRedirects.includes('/checkout/summary')) {\r\n // return of(actions.OnlineOrderRecalculateRequest());\r\n // }\r\n\r\n if (isCheckout) return of(actions.OnlineOrderRecalculateRequest());\r\n\r\n return never();\r\n\r\n }),\r\n );\r\n\r\n @Effect() public resetCartOnLastItemRemoved$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartMenuFlowRemove,\r\n actions.CartSimpleItemRemove,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart)\r\n )\r\n ),\r\n switchMap(([action, cart]) => {\r\n const productsTotal: number = cart.itemsSimple ? cart.itemsSimple.length : 0;\r\n const menuFlowsTotal: number = cart.itemsMenuFlow ? cart.itemsMenuFlow.length : 0;\r\n\r\n if (productsTotal || menuFlowsTotal) return never();\r\n return of(actions.CartReset());\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _cryptoService: Services.CryptoService,\r\n private _modalsService: Services.ModalsService,\r\n private _wizzardService: Services.WizzardService,\r\n private _cartService: Services.CartService,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, throwError, never } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, delay, take, tap, filter, combineLatest, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CreditCardEffects {\r\n @Effect() public requestCardToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.GetCreditCardToken,\r\n actions.GetCreditCardTokenWithRedirect\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo)\r\n )\r\n ),\r\n switchMap(([action, locationNo]) => {\r\n const cardType = Utils.CreditCards.detectCardType(action.cardNumber);\r\n const expiryDate: string = Utils.CreditCards.dateToApiFormat(action.expiryDate);\r\n // console.warn('DEMO MODE IS TEMP DISABLED HERE - REMEMBER TO UNCOMMENT BELOW LINE AFTER DEVELOPMENT FINISH!!!')\r\n if (this._config.demoMode === true) return of(actions.__DEMO__getCardToken(action));\r\n\r\n /*\r\n Create card, get token, allow redirect if needed.\r\n Redirects are controlled in specific form component on form submit. At least for payment express.\r\n */\r\n\r\n return this._creditCardsService.requestCardTokenForDefaultPaymentProvider({\r\n cardNumber: action.cardNumber,\r\n expiryDate\r\n }, locationNo)\r\n .pipe(\r\n switchMap(({ token, redirectUrl }) => {\r\n const isDefaultPaymentMethod = typeof action.isDefaultPaymentMethod !== 'boolean' ? true : action.isDefaultPaymentMethod;\r\n const saveCard = typeof action.saveCard === 'boolean' ? action.saveCard : false;\r\n\r\n const successData: State.ICreditCardTokenResponse = {\r\n token,\r\n cardNumber: action.cardNumber,\r\n expiryDate,\r\n cardType,\r\n saveCard: action.saveCard,\r\n isDefaultPaymentMethod,\r\n redirectUrl: redirectUrl || null,\r\n };\r\n if (action.type === actions.GetCreditCardTokenWithRedirect.type) {\r\n const model: OLO.Members.IMemberCreditCardDetails = {\r\n ...Utils.CreditCards.createCardModel(this._config.paymentProvider, action.cardNumber, cardType, action.expiryDate, null, isDefaultPaymentMethod, saveCard),\r\n _ValidationStatus: 'validating',\r\n };\r\n\r\n return [\r\n actions.AddCardToState({ card: model }),\r\n actions.CreditCardsSuccessRequestTokenWithRedirect(successData)\r\n ]; /* Handled in credit cards service and then passed to formPaymentMethodWithRedirect */\r\n }\r\n\r\n return of(actions.CreditCardsSuccessRequestToken(successData));\r\n }),\r\n catchError(ex => {\r\n console.warn('cc errror', ex);\r\n return of(actions.CreditCardsErrorRequestToken({ ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n /* After redirect validation */\r\n @Effect() public validateCardOnAfterRedirect$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsValidateRequest),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppSettings),\r\n filter(appSettings => appSettings.data !== null),\r\n take(1),\r\n switchMap(appSettings => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getSessionToken),\r\n take(1),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(\r\n selectors.getCartLocationNo\r\n )\r\n )\r\n ),\r\n switchMap(([sessionToken, cartLocationNo]) => {\r\n\r\n return this._paymentExpressPaymentProviderService.getCardDetails({ sessionToken, appId: appSettings.data.AppSettings.Id, locationNo: cartLocationNo })\r\n .pipe(\r\n map((response: APIv2.PaymentExpressCardIdResponse) => {\r\n return actions.CreditCardsValidateSuccessRequest({ card: response });\r\n }),\r\n catchError(ex => {\r\n console.error('Unable to get payment express card details', ex);\r\n return of(actions.CreditCardsValidateErrorRequest());\r\n })\r\n );\r\n\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n console.error('Unable to get payment express card details', ex);\r\n return of(actions.CreditCardsValidateErrorRequest());\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public checkCardsToSaveCardAfterSuccessfulRedirectReturn$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsValidateSuccessRequest\r\n ),\r\n switchMap(action => {\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCards),\r\n take(1),\r\n switchMap(cards => {\r\n const payloadToken: string = action.card.CardId;\r\n const card: OLO.Members.IMemberCreditCardDetails = cards.find(obj => obj.Token === payloadToken && obj.hasOwnProperty('_SaveAwait') === true && obj._SaveAwait === true && obj.Id === null);\r\n\r\n if (!card) return never();\r\n\r\n return of(actions.CreditCardsAddAfterRedirectRequest({ card }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public saveCardAfterSuccessfulRedirectReturnCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsAddAfterRedirectRequest\r\n ),\r\n switchMap(action => {\r\n return this._creditCardsService.addMemberCard(\r\n Utils.CreditCards.createCardModel(\r\n this._config.paymentProvider,\r\n action.card.NiceName || action.card.DisplayName,\r\n action.card.CardType,\r\n action.card.ExpirationDate,\r\n action.card.Token,\r\n !!action.card.IsDefault,\r\n )\r\n )\r\n .pipe(\r\n switchMap(response => {\r\n return [\r\n actions.SelectActiveCreditCardId({ cardId: response.Id }),\r\n actions.CreditCardsAddAfterRedirectSuccessRequest({ card: action.card, newCard: response }),\r\n ];\r\n }),\r\n catchError(ex => {\r\n return of(actions.CreditCardsAddAfterRedirectErrorRequest({ card: action.card, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onGetTokenSuccessSaveOrSetupCardStateForPayment$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsSuccessRequestToken),\r\n switchMap(action => {\r\n const card: OLO.Members.IMemberCreditCardDetails = {\r\n ...Utils.CreditCards.createCardModel(this._config.paymentProvider, action.cardNumber, action.cardType, action.expiryDate, action.token, action.isDefaultPaymentMethod),\r\n _ValidationStatus: action.saveCard ? 'validating' : 'success',\r\n };\r\n\r\n if (action.saveCard) {\r\n return of(actions.CreditCardsAddRequest({ card }));\r\n } else {\r\n return [\r\n actions.AddCardToState({ card }),\r\n actions.SelectActiveCreditCardToken({ token: action.token })\r\n ];\r\n }\r\n\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardAddRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsAddRequest),\r\n switchMap(action => {\r\n return this._creditCardsService.addMemberCard(action.card)\r\n .pipe(\r\n map(response =>\r\n response ?\r\n actions.CreditCardsAddSuccessRequest({ newCard: response }) :\r\n actions.CreditCardsAddErrorRequest({})),\r\n catchError(ex => {\r\n return of(actions.CreditCardsAddErrorRequest({ ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardAddRequestSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsAddSuccessRequest),\r\n switchMap(action => {\r\n return [\r\n actions.CreditCardsRequest(),\r\n actions.SelectActiveCreditCardId({ cardId: action.newCard.Id }),\r\n actions.CreditCardShowForm({ isAdding: false }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardsRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsRequest),\r\n switchMap(action => {\r\n return this._creditCardsService.getCardItems()\r\n .pipe(\r\n map((freshCardsList) =>\r\n freshCardsList ?\r\n actions.CreditCardsSuccessRequest({ payload: freshCardsList.Items }) :\r\n actions.CreditCardsErrorRequest({})),\r\n catchError(ex => {\r\n return of(actions.CreditCardsErrorRequest({ ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public selectDefaultPaymentMethod$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsSuccessRequest,\r\n actions.MemberAccountBalanceSuccessRequest,\r\n ),\r\n switchMap(() => {\r\n return this._store\r\n .pipe(\r\n select(selectors.memberHasAvailableBalanceToPayForCartOrder),\r\n filter(hasAccountAvailable => this._config.accountCharge?.enabled && hasAccountAvailable !== null || this._config.accountCharge?.enabled !== true),\r\n take(1),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n take(1)\r\n )\r\n ),\r\n tap(([hasAccountAvailable, state]) => {\r\n if (!hasAccountAvailable && state.data?.length === 0) {\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding: true }));\r\n } else {\r\n this._store.dispatch(actions.CreditCardShowForm({ isAdding: false }));\r\n }\r\n }),\r\n switchMap(([hasAccountAvailable, state]) => {\r\n if (state.activeCardId || state.activeCardToken) return never();\r\n\r\n const hasUnsavedCreditCard = state.data.find(obj => obj.Id === null && obj.Token === null && (obj._SaveAwait === true || obj._ValidationStatus === 'validating' || obj._ValidationStatus === 'error'));\r\n if (hasUnsavedCreditCard) return never();\r\n\r\n if (hasAccountAvailable) {\r\n return of(actions.SelectActiveCreditCardId({ cardId: -1 }));\r\n }\r\n const defaultCard = state.data.find(obj => obj.IsDefault === true && obj.Id !== null);\r\n\r\n if (defaultCard) {\r\n return of(actions.SelectActiveCreditCardId({ cardId: defaultCard.Id }));\r\n } else if (state.data.length > 0) {\r\n const firstAvailableCard = state.data.find(obj => obj.Id !== null && obj.Id !== undefined);\r\n if (firstAvailableCard) {\r\n return of(actions.SelectActiveCreditCardId({ cardId: firstAvailableCard.Id }));\r\n }\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onCreditCardRemove$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreditCardsRemoveRequest),\r\n switchMap(({ cardId }) => {\r\n if (cardId !== 0) {\r\n return this._creditCardsService.removeMemberCardRequest(cardId)\r\n .pipe(\r\n map(response =>\r\n response ?\r\n actions.CreditCardsRemoveSuccessRequest({ cardId }) :\r\n actions.CreditCardsRemoveErrorRequest({})),\r\n catchError(ex => {\r\n return of(actions.CreditCardsRemoveErrorRequest({ ex }));\r\n })\r\n );\r\n } else {\r\n return [actions.CreditCardsRemoveSuccessRequest({ cardId })];\r\n }\r\n })\r\n );\r\n\r\n /* DEMO MODE */\r\n @Effect() public __DEMO__requestConvergeCardToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.__DEMO__getCardToken),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCartLocationNo)\r\n )\r\n ),\r\n delay(2000),\r\n switchMap(([action, locationNo]) => {\r\n const cardType = Utils.CreditCards.detectCardType(action.cardNumber);\r\n\r\n return of(actions.__DEMO__CreditCardsSuccessRequestToken({ token: `demo-mode-${new Date().getTime()}`, cardNumber: action.cardNumber, expiryDate: action.expiryDate, cardType, saveCard: action.saveCard }));\r\n })\r\n );\r\n\r\n @Effect() public __DEMO__onGetConvergeTokenSuccessSaveOrSetupCardStateForPayment$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.__DEMO__CreditCardsSuccessRequestToken),\r\n switchMap(action => {\r\n\r\n const model: OLO.Members.IMemberCreditCardDetails = {\r\n ExpirationDate: action.expiryDate,\r\n CardType: action.cardType,\r\n Token: action.token,\r\n DisplayName: action.cardNumber.substring(action.cardNumber.length - 4),\r\n Id: null,\r\n _ValidationStatus: 'success',\r\n };\r\n\r\n return [\r\n actions.AddCardToState({ card: model }),\r\n actions.SelectActiveCreditCardToken({ token: action.token })\r\n ];\r\n\r\n })\r\n );\r\n\r\n @Effect() public setErrorValidationFlagToCardsAwaitingValidationStatusSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CreditCardsAddAfterRedirectErrorRequest,\r\n actions.CreditCardsAddErrorRequest,\r\n actions.CreditCardsValidateErrorRequest\r\n ),\r\n switchMap(() => of(actions.CreditCardsSetErrorValidationStatusToValidatingCards()))\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _actions$: Actions,\r\n private _creditCardsService: Services.CreditCardsService,\r\n private _paymentExpressPaymentProviderService: Services.PaymentExpressPaymentProviderService\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, never, } from 'rxjs';\r\nimport { switchMap, tap, distinct, withLatestFrom, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class CurrentLocationEffects {\r\n @Effect() public onCartPickupTimeUpdateForceUpdateCurrentLocationPickupTime$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartPickupTimeUpdate\r\n ),\r\n switchMap(action => {\r\n return of(actions.CurrentLocationPickupTimeSet(action.pickupTime));\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public removeLocalStorageDataOnReset$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationReset\r\n ),\r\n switchMap(action => {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_PICKUP_TIME as unknown as string);\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_LOCATION as unknown as string);\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_LOCATION_UPDATE_DATA as unknown as string);\r\n return never();\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public savePickupTimeInLocalStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationPickupTimeSet,\r\n actions.CurrentLocationFiltersPickupTimeSync,\r\n ),\r\n switchMap(({ pickupTime }) => {\r\n if (!pickupTime) {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.CURRENT_PICKUP_TIME as unknown as string);\r\n return never();\r\n }\r\n\r\n const obj = {\r\n ...pickupTime,\r\n Date: pickupTime.Date.getTime(),\r\n PlaceOrderTimeout: pickupTime.Date.getTime(),\r\n };\r\n\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.CURRENT_PICKUP_TIME as unknown as string, obj);\r\n return never();\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public onLocationSetSaveItToLocalStorage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationSet\r\n ),\r\n distinct(action => {\r\n return action.locationNo;\r\n }),\r\n switchMap(action => {\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.CURRENT_LOCATION as unknown as string, action.locationNo);\r\n return never();\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, catchError, map, mergeMap } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class FreeProductsImagesEffects {\r\n @Effect() public onFreeProductsSuccessGetImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberFreeProductsSuccessRequest\r\n ),\r\n switchMap(({ payload }) => {\r\n return payload.map(product => {\r\n return actions.FreeProductImageRequest({ productId: product.ProductId });\r\n });\r\n })\r\n );\r\n\r\n @Effect() public requestFreeProductImage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.FreeProductImageRequest\r\n ),\r\n mergeMap(({ productId }) => {\r\n const params = {\r\n width: window.innerWidth,\r\n height: window.innerHeight,\r\n };\r\n\r\n if (window.innerWidth > 768) {\r\n params.width = Math.floor(window.innerWidth / 3),\r\n params.height = Math.floor(window.innerHeight / 3);\r\n }\r\n return this._imagesService.getImageForMemberFreeProduct(productId, params)\r\n .pipe(\r\n map(payload => actions.FreeProductImageSuccessRequest({ productId, payload })),\r\n catchError(ex => {\r\n console.error(ex);\r\n return of(actions.FreeProductImageErrorRequest({ productId, ex }));\r\n }),\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, withLatestFrom, first } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class DietaryTagsImagesEffects {\r\n @Effect() onOnlineMenuSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesSuccessRequest\r\n ),\r\n withLatestFrom(this._store.select('dietaryTagsImages')),\r\n switchMap(([action, images]) => {\r\n const dietaryTags: Set = new Set();\r\n\r\n action.payload.Pages.forEach(page => {\r\n page.Products.forEach(product => {\r\n if (product.DietaryTags) {\r\n product.DietaryTags.forEach(tag => dietaryTags.add(tag.Id));\r\n }\r\n });\r\n });\r\n\r\n /* Filter existing */\r\n images.forEach(image => dietaryTags.delete(image.Id));\r\n\r\n return of(actions.DietaryTagsImagesRequest({ params: { width: 150, height: 150, }, dietaryTagIds: Array.from(dietaryTags) }));\r\n })\r\n );\r\n\r\n @Effect() onRequestProductImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.DietaryTagsImagesRequest\r\n ),\r\n mergeMap(({ params, dietaryTagIds }) => {\r\n if (dietaryTagIds.length === 0) return [actions.DietaryTagsImagesSuccessRequest({ payload: [], dietaryTagIds: [] })];\r\n\r\n return this._imagesService.getDietaryTagsImages(params, ...dietaryTagIds)\r\n .pipe(\r\n map((images: APIv1.ImageUrlModel[]) => actions.DietaryTagsImagesSuccessRequest({ payload: images, dietaryTagIds })),\r\n catchError(ex => of(actions.DietaryTagsImagesErrorRequest({ ex, dietaryTagIds })))\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class LoaderEffects {\r\n constructor() { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin, never } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LatestTransactionsEffects {\r\n @Effect() public resetLoyaltyProgramOnSignOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSignOut,\r\n ),\r\n switchMap(() => {\r\n return of(actions.LatestTransactionsReset());\r\n })\r\n );\r\n\r\n @Effect() public requestLatestTransactions$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LatestTransactionsRequest\r\n ),\r\n mergeMap(({ memberId }) => {\r\n return this._transactionsService.getLatestTransactionsForMember(memberId, 10)\r\n .pipe(\r\n map(payload => actions.LatestTransactionsSuccessRequest({ memberId, payload })),\r\n catchError(ex => {\r\n console.error('getLatestTransactionsForMember', ex);\r\n return of(actions.LatestTransactionsErrorRequest({ memberId, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _transactionsService: Services.TransactionsService,\r\n ) { }\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable } from '@angular/core';\r\nimport { Action, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, mergeMap, map, switchMap, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class IngredientsEffects {\r\n @Effect() public onMenuFlowSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowsDetailsSuccessRequest\r\n ),\r\n withLatestFrom(\r\n this._store.select('ingredients')\r\n ),\r\n switchMap(([action, ingredients]) => {\r\n /* Get regular images after menu flow downloads */\r\n const Pages: APIv1.MenuFlowPage[] = action.payload.Pages;\r\n const productIds: number[] = Pages.reduce((acc, page) => acc.concat(page.Products.map(p => p.ProductId)), []);\r\n const filtered: number[] = productIds.filter(productId => !ingredients.find(ingredient => ingredient.ProductId === productId && (ingredient.isDownloading || ingredient.hasSucceeded)));\r\n\r\n return of(actions.IngredientsRequest({ locationNo: action.locationNo, productIds: filtered }));\r\n })\r\n );\r\n\r\n @Effect() public onRequestIngredient$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.IngredientsRequest\r\n ),\r\n mergeMap(({ locationNo, productIds }) => {\r\n if (productIds.length === 0) return [actions.IngredientsSuccessRequest({ payload: [], locationNo, productIds: [] })];\r\n\r\n return this._productsService.getIngredientsForLocationExtended(locationNo, ...productIds)\r\n .pipe(\r\n map(payload => actions.IngredientsSuccessRequest({ payload, locationNo, productIds })),\r\n catchError(ex => {\r\n return of(actions.IngredientsErrorRequest({ locationNo, productIds, ex }));\r\n })\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _productsService: Services.ProductsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class HistoryOrdersEffects {\r\n @Effect() public requestSingleHistoryOrder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.HistoryOrderRequest,\r\n ),\r\n switchMap(action => {\r\n return this._onlineOrdersService.getOnlineOrder(action.orderId)\r\n .pipe(\r\n map(payload => actions.HistoryOrderSuccessRequest({ orderId: action.orderId, payload })),\r\n catchError(ex => of(actions.HistoryOrderErrorRequest({ orderId: action.orderId, ex }))),\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onRequestHistoryOrders$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.HistoryOrdersRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCurrentMember),\r\n filter(member => member !== null),\r\n take(1),\r\n switchMap(member => this._onlineOrdersService.getOnlineOrders({\r\n ...action.params,\r\n memberIds: member.MemberId,\r\n }).pipe(\r\n map(response => actions.HistoryOrdersSuccessRequest({ params: action.params, payload: response.Items })),\r\n catchError(ex => of(actions.HistoryOrdersErrorRequest({ params: action.params, ex }))),\r\n ))\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _onlineOrdersService: Services.OnlineOrdersService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, from, never } from 'rxjs';\r\nimport { map, catchError, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class GeolocationEffects {\r\n @Effect() public requestGeolocationCoordsBasedOnLocationMode$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.SetApplicationMode\r\n ),\r\n switchMap(action => {\r\n const canRequestCoords: boolean = this._config.geolocation === true && action.mode === OLO.Enums.APP_MODE.LOCATION;\r\n if (!canRequestCoords) return never();\r\n\r\n return of(actions.geolocationPositionRequest());\r\n })\r\n );\r\n\r\n @Effect() public getUserGeolocation$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.geolocationPositionRequest\r\n ),\r\n switchMap(action =>\r\n from(this._geolocationService.getUserCoords())\r\n .pipe(\r\n map(payload => actions.geolocationPositionSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Geolocation - not permitted', ex);\r\n return of(actions.geolocationPositionErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _geolocationService: Services.GeolocationService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { switchMap, take, map, mergeMap, combineLatest, auditTime, withLatestFrom } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LocationFiltersEffects {\r\n @Effect() public onRestoreCurrentLocationDetailsRestoreFilters$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationPickupTimeRestore\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode)\r\n )\r\n ),\r\n switchMap(([action, locationMode]) => {\r\n const arr: Array = [\r\n\r\n ];\r\n\r\n if (locationMode === OLO.Enums.APP_MODE.VENUE) {\r\n arr.push(actions.LocationsFiltersSetPickupTime(action.pickupTime || null));\r\n }\r\n\r\n return arr.length ? arr : never();\r\n })\r\n );\r\n\r\n @Effect() public updateModeOnPickupTimeSet$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LocationsFiltersSetPickupTime,\r\n actions.LocationsFiltersSyncPickupTime,\r\n ),\r\n switchMap(({ pickupTime }) => {\r\n if (pickupTime) {\r\n return of(\r\n actions.LocationsFiltersSetPickupMode({ Id: 2, Name: this.config.pickups?.futureOrders === true ? 'Schedule' : 'Later today' })\r\n );\r\n } else {\r\n return of(\r\n actions.LocationsFiltersSetPickupMode({ Id: 1, Name: 'ASAP' })\r\n );\r\n }\r\n })\r\n );\r\n\r\n @Effect() public onCartSelectedNewActiveOrder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationPickupTimeSet,\r\n actions.CartSetPickupTime,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getAppLocationMode)\r\n )\r\n ),\r\n switchMap(([action, cart, locationMode]) => {\r\n if (locationMode === OLO.Enums.APP_MODE.LOCATION) return never();\r\n return [\r\n actions.LocationsFiltersSetPickupTime(action.pickupTime),\r\n actions.CurrentLocationFiltersPickupTimeSync(action.pickupTime),\r\n ];\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n private _store: Store,\r\n private _actions$: Actions,\r\n ) { }\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from './locations.actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, catchError, map } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class LocationsEffects {\r\n\r\n // @Effect() requestLocations$: Observable = this._actions$\r\n // .pipe(\r\n // ofType(actions.LocationsRequest),\r\n // mergeMap(action => {\r\n // return this._locationsService.getLocations(action.params)\r\n // .pipe(\r\n // map(response => actions.LocationsSuccessRequest({ params: action.params, payload: response.Items })),\r\n // catchError(ex => {\r\n // return of(actions.LocationsErrorRequest(action.params, ex));\r\n // })\r\n // );\r\n // }),\r\n // );\r\n\r\n @Effect() requestLocations$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.LocationsRequest),\r\n mergeMap(action => {\r\n return this._locationsService.getLocationsWithOnlineOrdering(action.params)\r\n .pipe(\r\n map(payload => actions.LocationsSuccessRequest({ params: action.params, payload })),\r\n catchError(ex => {\r\n return of(actions.LocationsErrorRequest(action.params, ex));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _locationsService: Services.LocationsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, catchError, map, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class MemberCardBarcodesImagesEffects {\r\n @Effect() public requestMemberBarcodeImage$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberCardBarcodesImagesRequest,\r\n ),\r\n switchMap(({ memberId, barcodeType }) => {\r\n return this._imagesService.getMemberCardBarcode(memberId, { width: window.innerWidth, height: window.innerHeight }, barcodeType)\r\n .pipe(\r\n map(payload => actions.MemberCardBarcodesImagesSuccessRequest({ memberId, barcodeType, payload })),\r\n catchError(ex => {\r\n console.error('getMemberCardBarcode error', ex);\r\n return of(actions.MemberCardBarcodesImagesErrorRequest({ memberId, barcodeType, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin, never } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyProductProgramsEffects {\r\n @Effect() public resetLoyaltyProgramOnSignOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSignOut,\r\n ),\r\n switchMap(() => {\r\n return of(actions.LoyaltyProductProgramsReset());\r\n })\r\n );\r\n\r\n @Effect() public requestLoyaltyInfoForCurrentMemberOnAppInit$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.AppSettingsSuccessRequest,\r\n actions.MemberJwtDataResponseSuccess,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.hasRequestedLoyaltyProductPrograms)\r\n )\r\n ),\r\n switchMap(([action, isAuthorized, hasRequestedPrograms]) => {\r\n if (this._config.appMode !== IAppMode.ORDERING_ONLY && isAuthorized && !hasRequestedPrograms) {\r\n return [\r\n actions.LoyaltyProductProgramsRequest({ requestParams: { programName: 'hot' } }),\r\n actions.LoyaltyProductProgramsRequest({ requestParams: { programName: 'cold' } })\r\n ];\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public requestLoyaltyProductPrograms$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyProductProgramsRequest\r\n ),\r\n mergeMap(({ requestParams }) => {\r\n return this._loyaltyAppService.apiGetLoyaltyProductPrograms(requestParams.programName)\r\n .pipe(\r\n map(payload => actions.LoyaltyProductProgramsSuccessRequest({ requestParams, payload })),\r\n catchError(ex => {\r\n console.error('apiGetLoyaltyProductPrograms', ex);\r\n return of(actions.LoyaltyProductProgramsErrorRequest({ requestParams, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyMessagesEffects {\r\n @Effect() public requestMessagesOnSettingsDownloaded$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.AppSettingsSuccessRequest),\r\n switchMap(() => of(actions.LoyaltyMessagesRequest()))\r\n );\r\n\r\n @Effect() public requestMessages$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.LoyaltyMessagesRequest),\r\n switchMap(() => this._loyaltyAppService.apiGetMessages()\r\n .pipe(\r\n map(payload => actions.LoyaltyMessagesSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Request Messages Error', ex);\r\n return of(actions.LoyaltyMessagesErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, catchError, map, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyIntroductionPagesImagesEffects {\r\n @Effect() public onLoyaltyIntroductionPagesSuccessRequestGetImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyIntroductionPagesSuccessRequest\r\n ),\r\n switchMap(pages => {\r\n return pages.payload.map(page => {\r\n return actions.LoyaltyIntroductionPageImageRequest({ pageId: page.Id });\r\n });\r\n })\r\n );\r\n\r\n @Effect() public requestIntroductionPagesImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyIntroductionPageImageRequest\r\n ),\r\n mergeMap(({ pageId }) => {\r\n const params = {\r\n width: window.innerWidth,\r\n height: window.innerHeight,\r\n };\r\n\r\n if (window.innerWidth > 768) {\r\n params.width = Math.floor(window.innerWidth / 3),\r\n params.height = Math.floor(window.innerHeight / 3);\r\n }\r\n return this._imagesService.getImageForLoyaltyIntroductionPage(pageId, params)\r\n .pipe(\r\n map(payload => actions.LoyaltyIntroductionPageImageSuccessRequest({ pageId, payload })),\r\n catchError(ex => {\r\n console.error(ex);\r\n return of(actions.LoyaltyIntroductionPageImageErrorRequest({ pageId, ex }));\r\n }),\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LoyaltyIntroductionPagesEffects {\r\n @Effect() public requestIntroductionPages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyIntroductionPagesRequest\r\n ),\r\n switchMap(() => this._loyaltyAppService.apiGetLoyaltyIntroductionPages()\r\n .pipe(\r\n map(response => actions.LoyaltyIntroductionPagesSuccessRequest({ payload: response.Items.sort((a, b) => a.DisplayIndex - b.DisplayIndex) })),\r\n catchError(ex => {\r\n console.error('LoyaltyPagesRequest error', ex);\r\n return of(actions.LoyaltyIntroductionPagesErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _loyaltyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { switchMap, catchError, map, withLatestFrom, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class LocationsImagesEffects {\r\n @Effect() public onSuccessLocationsRequestGetImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LocationsSuccessRequest\r\n ),\r\n switchMap(action => {\r\n const width = Math.floor(window.innerWidth + (window.innerWidth * 0.1));\r\n const height = Math.floor(window.innerHeight + (window.innerHeight * 0.1));\r\n const webWidth: number = window.innerWidth > window.innerHeight ? window.innerWidth : null;\r\n const webHeight: number = window.innerWidth > window.innerHeight ? null : window.innerHeight;\r\n\r\n let thumbSizeRation: number = 3.2;\r\n\r\n if (window.innerWidth > 2000) {\r\n thumbSizeRation = 4.2;\r\n }\r\n\r\n if (window.innerWidth < 1000) {\r\n thumbSizeRation = 2.2;\r\n }\r\n\r\n if (window.innerWidth < 610) {\r\n thumbSizeRation = 1.2;\r\n }\r\n\r\n return [\r\n actions.LocationImagesRequest(action.payload.map(location => location.LocationNo), OLO.Enums.IMAGE_TYPE.ForList, Math.floor(width / thumbSizeRation), Math.floor(height / thumbSizeRation)),\r\n actions.LocationImagesRequest(action.payload.map(location => location.LocationNo), OLO.Enums.IMAGE_TYPE.ForWeb, webWidth, webHeight)\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public requestImagesForLocations$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LocationImagesRequest\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(\r\n selectors.getAllLocationImages\r\n )\r\n )\r\n ),\r\n mergeMap(([action, images]) => {\r\n const { imageType, height, width, ids } = action;\r\n let targetImageType: string = Utils.Images.toImageTypeString(imageType);\r\n /*\r\n Prevent from redownloading same image\r\n */\r\n const imagesFiltered = {\r\n downloaded: [],\r\n required: [],\r\n };\r\n\r\n ids.forEach(id => {\r\n const img = images[targetImageType].find(obj => obj.Id === id);\r\n\r\n if (img.data) {\r\n imagesFiltered.downloaded.push(img);\r\n } else {\r\n imagesFiltered.required.push(img.Id);\r\n }\r\n });\r\n\r\n if (imagesFiltered.downloaded.length) {\r\n this._store.dispatch(actions.LocationImagesSuccessRequest({ imageType, ids: imagesFiltered.downloaded.map(img => img.Id), payload: imagesFiltered.downloaded }));\r\n }\r\n\r\n return this._imagesService.getImagesForLocationsByType({ imageType: imageType > 100 ? imageType / 100 : imageType, height, width }, ...imagesFiltered.required)\r\n .pipe(\r\n switchMap(payload => {\r\n if (this._config.predownloadImages && this._config.predownloadImages.forLocations) {\r\n // console.log('predownloading images for locations', this._config.predownloadImages);\r\n return forkJoin(\r\n ...payload.map(img => this._imagesService.preloadImageInMemory(img.ImageUrl))\r\n ).pipe(\r\n map(() => actions.LocationImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload })),\r\n );\r\n }\r\n\r\n return of(actions.LocationImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload }));\r\n }),\r\n catchError(ex => of(actions.LocationImagesErrorRequest({ imageType, ids: imagesFiltered.required, ex })))\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function distinct(keySelector, flushes) {\n return (source) => source.lift(new DistinctOperator(keySelector, flushes));\n}\nclass DistinctOperator {\n constructor(keySelector, flushes) {\n this.keySelector = keySelector;\n this.flushes = flushes;\n }\n call(subscriber, source) {\n return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));\n }\n}\nexport class DistinctSubscriber extends OuterSubscriber {\n constructor(destination, keySelector, flushes) {\n super(destination);\n this.keySelector = keySelector;\n this.values = new Set();\n if (flushes) {\n this.add(subscribeToResult(this, flushes));\n }\n }\n notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.values.clear();\n }\n notifyError(error, innerSub) {\n this._error(error);\n }\n _next(value) {\n if (this.keySelector) {\n this._useKeySelector(value);\n }\n else {\n this._finalizeNext(value, value);\n }\n }\n _useKeySelector(value) {\n let key;\n const { destination } = this;\n try {\n key = this.keySelector(value);\n }\n catch (err) {\n destination.error(err);\n return;\n }\n this._finalizeNext(key, value);\n }\n _finalizeNext(key, value) {\n const { values } = this;\n if (!values.has(key)) {\n values.add(key);\n this.destination.next(value);\n }\n }\n}\n//# sourceMappingURL=distinct.js.map","import { defer } from './defer';\nimport { EMPTY } from './empty';\nexport function iif(condition, trueResult = EMPTY, falseResult = EMPTY) {\n return defer(() => condition() ? trueResult : falseResult);\n}\n//# sourceMappingURL=iif.js.map","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, throwError, of, never, iif } from 'rxjs';\r\nimport { catchError, switchMap, map, tap, withLatestFrom, filter, take, delay, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MembersEffects {\r\n @Effect() public verifyLinkRewardsAccount$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberLinkRewardsAccountVerifyRequest\r\n ),\r\n switchMap(({ params }) => {\r\n return this._membersService.getMembers(params)\r\n .pipe(\r\n map(({ Items }) => {\r\n if (!Items.length) throw new Error('Member not found by params: ' + params);\r\n return actions.MemberLinkRewardsAccountVerifySuccessRequest({ params, payload: Items[0] });\r\n }),\r\n catchError(ex => {\r\n return of(actions.MemberLinkRewardsAccountVerifyErrorRequest({ params }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onVerifyLinkRequestMemberDataToUpdateStep$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberLinkRewardsAccountVerifySuccessRequest),\r\n switchMap(({ payload }) => of(actions.MemberDataRequest({ memberId: payload.MemberId })))\r\n );\r\n\r\n @Effect() public requestUserDataSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberDataSuccessRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([action, memberState, isAuthorized]) => {\r\n const member = action.payload;\r\n\r\n const isLinkingRewardsAccount = memberState.authorizationStep === OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_SIGN_UP &&\r\n memberState.verifyLinkRewardsAccount.data !== null;\r\n\r\n if (isLinkingRewardsAccount) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_PASSWORD })\r\n ];\r\n }\r\n\r\n\r\n const requireUpdate: boolean = member && member.IsOnlineRegistered === false;\r\n if (!isAuthorized && requireUpdate) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER })\r\n ];\r\n }\r\n\r\n const memberRequiresRevalidation: boolean = (member.IsEmailValidated === false || member.IsMobileValidated === false);\r\n const isVeryfiying: boolean = memberState.authorizationStep === OLO.Enums.AUTH_STEP.ON_LOGIN_DATA_VALIDATION;\r\n\r\n const shouldCheckValidation: boolean = isVeryfiying === true\r\n || ((memberState.authorizationStep === OLO.Enums.AUTH_STEP.VERIFY_EMAIL || memberState.authorizationStep === OLO.Enums.AUTH_STEP.VERIFY_PHONE)\r\n && memberRequiresRevalidation);\r\n\r\n if (shouldCheckValidation) {\r\n if (!member.IsMobileValidated) {\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: memberState.data.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE })\r\n ];\r\n }\r\n\r\n if (!member.IsEmailValidated) {\r\n /* AOLO-465 */\r\n if (this._config.unverifiedEmailQuickLogin) {\r\n\r\n if (member.IsMobileValidated && memberState.authorizationStep === OLO.Enums.AUTH_STEP.VERIFY_EMAIL) {\r\n return of(\r\n actions.MemberQuickLoginRequest({\r\n login: member.MobilePhone,\r\n password: this._getPasswordForQuickLogin(),\r\n authorizationType: memberState.authorizationType,\r\n })\r\n );\r\n }\r\n\r\n }\r\n\r\n return [\r\n actions.MemberSendEmailVeryficationRequest({ email: member.EmailAddress }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN_SUCCESS }),\r\n actions.MemberJwtDataRequest({ email: member.EmailAddress, password: memberState.accountPassword }),\r\n ];\r\n }\r\n\r\n /*\r\n This part is new - for TOLO - not tested in ARAMARK\r\n Finish registration or update process?\r\n */\r\n if (isAuthorized && memberState.update.updateHasSucceeded) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UPDATE_SUCCESS })\r\n ];\r\n }\r\n\r\n if (!isAuthorized && memberState.data && memberState.data.IsOnlineRegistered && memberState.data.IsEmailValidated && memberState.data.IsMobileValidated && memberState.authorizationStep > OLO.Enums.AUTH_STEP.REGISTER) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER_SUCCESS })\r\n ];\r\n }\r\n\r\n return never();\r\n\r\n }),\r\n );\r\n\r\n @Effect() public simulateEmailVerifyRequests$ = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberVerifyEmailRequest,\r\n ),\r\n switchMap(() => this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.isDownloading === false),\r\n take(1),\r\n switchMap(state => {\r\n /* This stupid action is required to control proper button behavior. We don't have valid endpoint that will check email validation flag */\r\n if (state.hasSucceeded && state.data && state.data.IsEmailValidated) {\r\n return of(actions.MemberVerifyEmailSuccessRequest());\r\n }\r\n\r\n return this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSendEmailVeryficationSuccessRequest,\r\n actions.MemberSendEmailVeryficationDataResponseError,\r\n ),\r\n take(1),\r\n switchMap(() => of(actions.MemberVerifyEmailErrorRequest()))\r\n );\r\n }),\r\n )\r\n ),\r\n );\r\n\r\n @Effect() public checkGuestMemberToCompleteAccountSetup$ = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberCompleteAccountSetupGuestCheck,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([{ orderId }, isAuthorized]) => {\r\n if (isAuthorized) return never();\r\n\r\n return this._store\r\n .pipe(\r\n select(\r\n selectors.getHistoryOrder(orderId),\r\n ),\r\n filter(order => order !== undefined && order !== null && order.data !== null),\r\n take(1),\r\n switchMap(order => {\r\n return of(actions.MemberDataRequest({ memberId: order.data.MemberId }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public revalidateAndSetGuestData$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberGuestDataRevalidateAndSet\r\n ),\r\n switchMap(action => {\r\n return [\r\n actions.MemberGuestDataReset(),\r\n actions.MemberGuestDataSet({ guestData: action.guestData as APICommon.IOnlineOrderPartialMember }),\r\n actions.MemberVerifyEmailRestoreFlags(),\r\n actions.MemberVerifyPhoneRestoreFlags(),\r\n actions.MemberValidateEmailDataRequest({ email: action.guestData.Email }),\r\n actions.MemberValidatePhoneRequest({ phone: action.guestData.MobileNumber }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public memberSignOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSignOut,\r\n ),\r\n switchMap(action => {\r\n this._authService.signOut(action.redirect, action.resetCart || false);\r\n\r\n return [\r\n actions.MemberAccountBalanceReset()\r\n ];\r\n }),\r\n );\r\n\r\n @Effect() public initUpdateMemberProfile$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberProfileUpdateInit\r\n ),\r\n switchMap(({ userModel, modalId }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n switchMap(memberState => {\r\n if (!memberState.data) {\r\n console.error('Members data is not available', memberState.data);\r\n return never();\r\n }\r\n\r\n /* Update without verification */\r\n if (!userModel.hasOwnProperty('EmailAddress')\r\n && !userModel.hasOwnProperty('MobilePhone')\r\n && memberState.data.IsEmailValidated\r\n && memberState.data.IsMobileValidated\r\n ) {\r\n return [\r\n actions.MemberProfileUpdateRequest({\r\n ...memberState.data,\r\n ...userModel,\r\n }, modalId)\r\n ];\r\n }\r\n\r\n const IsEmailValidated: boolean = memberState.data.IsEmailValidated === true && memberState.data.EmailAddress === userModel.EmailAddress;\r\n\r\n if (memberState.data.MobilePhone === userModel.MobilePhone) {\r\n if (!IsEmailValidated && modalId) {\r\n this._modalsService.show({\r\n type: 'auth',\r\n id: modalId,\r\n });\r\n }\r\n\r\n return [\r\n actions.MemberProfileUpdateRequest({\r\n ...memberState.data,\r\n ...userModel,\r\n IsEmailValidated,\r\n }),\r\n ...(IsEmailValidated ? [] : [\r\n actions.MemberSendEmailVeryficationRequest({ email: userModel.EmailAddress }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n ]),\r\n ];\r\n }\r\n\r\n if (modalId) {\r\n this._modalsService.show({\r\n type: 'auth',\r\n id: modalId,\r\n });\r\n }\r\n\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: userModel.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE })\r\n ];\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public updateMemberProfileData$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberProfileUpdateRequest\r\n ),\r\n switchMap(({ userModel, modalId }) => {\r\n return this._membersService.validateUserNewProfileData(userModel)\r\n .pipe(\r\n switchMap(response => {\r\n if (!response) return of(actions.MemberProfileUpdateErrorRequest({ userModel, ex: new Error('User with provied details already exists') }));\r\n\r\n return this._membersService.updateUser(userModel)\r\n .pipe(\r\n map(() => actions.MemberProfileUpdateSuccessRequest({ userModel, payload: userModel, modalId })),\r\n catchError(ex => of(actions.MemberProfileUpdateErrorRequest({ userModel, ex })))\r\n );\r\n\r\n })\r\n );\r\n })\r\n\r\n );\r\n\r\n @Effect() public revalidateEmailAndCellAfterProfileUpdate$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberProfileUpdateSuccessRequest,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getAllModals)\r\n )\r\n ),\r\n switchMap(([{ userModel, payload, modalId }, modals]) => {\r\n if (!modalId) return never();\r\n\r\n const isCellValidated = payload.IsMobileValidated === true;\r\n const isEmailValidated = payload.IsEmailValidated === true;\r\n\r\n if (!modals.find(obj => obj.id === modalId)) {\r\n this._modalsService.show({\r\n type: 'auth',\r\n id: modalId,\r\n });\r\n }\r\n\r\n if (!isCellValidated) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE }),\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: payload.MobilePhone }),\r\n ];\r\n }\r\n\r\n if (!isEmailValidated) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n actions.MemberSendEmailVeryficationRequest({ email: payload.EmailAddress }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UPDATE_SUCCESS }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public signOutIfUserWontValidateDataAfterUpdate$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalClose,\r\n actions.ModalCloseAll,\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([action, memberState]) => {\r\n const member = memberState.data;\r\n if (!member) return never();\r\n\r\n const isValid: boolean = member.IsEmailValidated && member.IsMobileValidated;\r\n if (isValid) return never();\r\n\r\n\r\n if (action.type === actions.ModalClose.type && action.id === -100 || action.type === actions.ModalCloseAll.type) {\r\n return of(actions.MemberSignOut({ redirect: true }));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public validateConfirmEmailToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberConfirmEmailTokenRequest\r\n ),\r\n switchMap(({ token }) =>\r\n this._membersService.validateMemberConfirmEmailToken(token)\r\n .pipe(\r\n map(payload => actions.MemberConfirmEmailTokenSuccessRequest({ token, payload })),\r\n catchError(ex => of(actions.MemberConfirmEmailTokenErrorRequest({ token, ex })))\r\n )\r\n )\r\n );\r\n\r\n @Effect() public confirmEmailAddress$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberConfirmEmailRequest\r\n ),\r\n switchMap(({ token }) =>\r\n this._membersService.confirmEmailAddress(token)\r\n .pipe(\r\n map(payload => actions.MemberConfirmEmailSuccessRequest({ token, payload })),\r\n catchError(ex => of(actions.MemberConfirmEmailErrorRequest({ token, ex }))),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public validateResetPasswordToken$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberValidatePasswordResetTokenRequest\r\n ),\r\n switchMap(({ token }) =>\r\n this._membersService.validateMemberPasswordResetToken(token)\r\n .pipe(\r\n map(payload => actions.MemberValidatePasswordResetTokenSuccessRequest({ token, payload })),\r\n catchError(ex => of(actions.MemberValidatePasswordResetTokenErrorRequest({ token, ex }))),\r\n )\r\n ),\r\n );\r\n\r\n @Effect() public resetForgottenPassword$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberForgottenPasswordResetRequest\r\n ),\r\n switchMap(({ model }) =>\r\n this._membersService.resetForgottenPassword({ Token: model.Token, NewPassword: model.NewPassword })\r\n .pipe(\r\n map(payload => actions.MemberForgottenPasswordResetSuccessRequest({ model, payload })),\r\n catchError(ex => of(actions.MemberForgottenPasswordResetErrorRequest({ model, ex }))),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public requestUserData$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberDataRequest),\r\n switchMap(action => {\r\n return this._membersService.getUserData(action.memberId)\r\n .pipe(\r\n map(response => actions.MemberDataSuccessRequest({ memberId: action.memberId, payload: response })),\r\n catchError((ex) => {\r\n return throwError(actions.MemberDataErrorRequest(ex));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public quickLoginRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberQuickLoginRequest),\r\n switchMap(action => {\r\n return this._authService.signIn({\r\n Login: action.login,\r\n Password: action.password,\r\n LoginType: action.authorizationType\r\n })\r\n .pipe(\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([sessionKey, memberState]) => {\r\n return of(\r\n actions.MemberQuickLoginSuccessRequest({\r\n login: action.login,\r\n password: action.password,\r\n authorizationType: action.authorizationType,\r\n sessionKey: sessionKey\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n return of(actions.MemberQuickLoginErrorRequest({\r\n login: action.login,\r\n password: action.password,\r\n authorizationType: action.authorizationType,\r\n ex,\r\n }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public quickLoginOnSuccessSetup$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberQuickLoginSuccessRequest),\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([{ sessionKey, authorizationType, password }, memberState]) => {\r\n return [\r\n actions.CreateMemberSession({ sessionKey, accountId: String(memberState.data.MemberId), authorizationType: authorizationType }),\r\n actions.MemberAuthorizationSetFlag({ flag: true }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN_SUCCESS }),\r\n actions.MemberJwtDataRequest({ email: memberState.data.EmailAddress, password: password }),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public linkRewardsAccountInit$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberLinkRewardsAccountRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([{ password }, state]) => {\r\n return this._membersService.changeMemberPassword(state.data.MemberId, password)\r\n .pipe(\r\n switchMap(response => {\r\n if (!response) return throwError('Unable to change member password');\r\n const extractedMobile: string[] = state.accountLogin?.split(':').map(v => v);\r\n const model: APIv1.MemberModel = {\r\n ...state.data,\r\n MemberGroupId: this._config.defaultMemberGroupId,\r\n };\r\n if (this._config.countries && extractedMobile?.length === 2) {\r\n const foundCountry = this._config.countries.find(obj => obj.Id === +extractedMobile[0]);\r\n if (foundCountry) {\r\n model.MobilePhone = foundCountry.PhonePrefix + extractedMobile[1];\r\n }\r\n }\r\n\r\n return this._membersService.updateUser(model)\r\n .pipe(\r\n map(hasUpdated => {\r\n if (!hasUpdated) throw new Error('Unable to update member');\r\n return actions.MemberLinkRewardsAccountSuccessRequest({ password, payload: model });\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n console.error('Link Reward Account error', ex);\r\n return of(actions.MemberLinkRewardsAccountErrorRequest({ password, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onSuccessLinkingAccountVerifyPhone$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberLinkRewardsAccountSuccessRequest),\r\n switchMap(({ payload }) => {\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: payload.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE })\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public requestUpdateUserData$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberUpdateRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([{ userModel }, state]) => {\r\n return this._membersService.updateUser(userModel)\r\n .pipe(\r\n map(response => {\r\n return actions.MemberUpdateSuccessRequest({ userModel, payload: userModel });\r\n }),\r\n catchError((ex) => {\r\n return of(actions.MemberUpdateErrorRequest({ userModel, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public onSuccessfulMemberUpdateShowOk$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberUpdateSuccessRequest\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n switchMap(([action, state]) => {\r\n if (state.authorizationStep === OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE) {\r\n if (action.payload.IsEmailValidated) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UPDATE_SUCCESS }),\r\n ];\r\n } else {\r\n return [\r\n actions.MemberProfileUpdateInit({ userModel: action.payload, modalId: null })\r\n ];\r\n }\r\n }\r\n\r\n return never();\r\n }),\r\n );\r\n\r\n @Effect() public requestPasswordChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberPasswordChangeRequest),\r\n switchMap(({ NewPassword, OldPassword, MemberId }) => {\r\n return this._membersService.updatePasswordRequest({ OldPassword, NewPassword }, MemberId)\r\n .pipe(\r\n map(response => response ? actions.MemberPasswordChangeSuccessRequest({ OldPassword, NewPassword, MemberId }) : actions.MemberPasswordChangeErrorRequest({ OldPassword, NewPassword, MemberId })),\r\n catchError((ex) => {\r\n return of(actions.MemberPasswordChangeErrorRequest({ OldPassword, NewPassword, MemberId, ex: ex.error && ex.error.Message && typeof ex.error.Message === 'string' ? ex.error : null }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public initAuthorization$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberAuthorizationInit),\r\n switchMap(({ authorizationType, accountLogin }) => {\r\n\r\n switch (authorizationType) {\r\n case OLO.Enums.LOGIN_TYPE.MEMBER_CARD_NUMBER_BASED_LOGIN:\r\n case OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN:\r\n return of(actions.MemberValidateLoginRequest({ login: accountLogin, loginType: authorizationType }));\r\n }\r\n\r\n }),\r\n );\r\n\r\n @Effect() public requestLoginValidation$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidateLoginRequest),\r\n switchMap(({ login, loginType }) => {\r\n return this._membersService.validateLogin(login, loginType)\r\n .pipe(\r\n map(payload => {\r\n return actions.MemberValidateLoginSuccessRequest({ login, loginType, payload });\r\n }),\r\n catchError(ex => {\r\n return of(actions.MemberValidateLoginErrorRequest({ login, loginType, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public loginValidationSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidateLoginSuccessRequest),\r\n switchMap(action => {\r\n if (action.payload !== null && action.payload.MemberId && action.payload.IsOnlineRegistered) {\r\n\r\n return of(actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.PASSWORD }));\r\n } else {\r\n if (action.payload === null && this._config.signUpRewardsAccountLinking?.enabled === true) {\r\n return of(\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ACCOUNT_LINKING_REWARDS_INFO })\r\n );\r\n }\r\n\r\n const returnedActions: Action[] = [actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.REGISTER })];\r\n\r\n if (action.payload && action.payload.MemberId) {\r\n returnedActions.push(actions.MemberDataRequest({ memberId: action.payload.MemberId }));\r\n }\r\n\r\n return returnedActions;\r\n }\r\n }),\r\n );\r\n\r\n @Effect() public requestMemberLogin$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignInDataRequest),\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([action, memberState]) => {\r\n const password = action.password;\r\n const login = action.login || memberState.accountLogin;\r\n const credentials: OLO.Members.IMemberLogin = { Login: login, Password: password, LoginType: memberState.authorizationType };\r\n\r\n this._storePasswordForQuickLogin(action.password);\r\n\r\n return this._authService.signIn(credentials)\r\n .pipe(\r\n map(response => response !== null ? actions.MemberSignInDataResponseSuccess({ password, sessionKey: response }) : actions.MemberSignInDataResponseError({ password })),\r\n catchError(ex => {\r\n return of(actions.MemberSignInDataResponseError({ password, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestJWTLogin$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberJwtDataRequest),\r\n switchMap(({ email, password }) => {\r\n return this._jwtService.reqestJWToken({ Email: email, Password: password })\r\n .pipe(\r\n map(response => response ? actions.MemberJwtDataResponseSuccess({ email, password }) : actions.MemberJwtDataResponseError({ email, password })),\r\n catchError(ex => {\r\n return of(actions.MemberJwtDataResponseError({ email, password }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n\r\n @Effect() public requestMemberLoginSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignInDataResponseSuccess),\r\n withLatestFrom(this._store.select(selectors.getMemberState)),\r\n switchMap(([action, memberState]) => {\r\n const sessionKey = action.sessionKey;\r\n\r\n const bundleActions: any[] = [\r\n actions.MemberAuthorizationSetFlag({ flag: true }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.ON_LOGIN_DATA_VALIDATION }),\r\n actions.MemberDataRequest({ memberId: memberState.accountId }),\r\n ];\r\n\r\n if (memberState.data && memberState.data.IsMobileValidated && memberState.data.IsEmailValidated && memberState.accountId && sessionKey) {\r\n bundleActions.push(actions.CreateMemberSession({ sessionKey, accountId: memberState.accountId as string, authorizationType: memberState.authorizationType }));\r\n }\r\n\r\n return bundleActions;\r\n }),\r\n );\r\n\r\n @Effect() public validatePhone$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidatePhoneRequest),\r\n switchMap(({ phone }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(memberState => memberState.isDownloading === false),\r\n take(1),\r\n switchMap(memberState => {\r\n // return this._membersService.validatePhoneNumber(phone, memberState.data !== null ? memberState.data.MemberId : null)\r\n return this._membersService.validateMemberByProperty(phone, OLO.Enums.LOGIN_TYPE.MOBILE_PHONE_BASED_LOGIN, memberState.data !== null ? memberState.data.MemberId : null)\r\n .pipe(\r\n map(response => {\r\n return response ? actions.MemberValidatePhoneSuccessRequest({ phone }) : actions.MemberValidatePhoneDataResponseError({ phone });\r\n }),\r\n catchError(ex => {\r\n console.error('Phone check validation error:', ex);\r\n return of(actions.MemberValidatePhoneDataResponseError({ phone, ex }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public validateEmail$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberValidateEmailDataRequest),\r\n switchMap(({ email }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n take(1),\r\n switchMap(memberState => {\r\n // return this._membersService.validateEmailAddress(email, memberState.data ? memberState.data.MemberId : null)\r\n return this._membersService.validateMemberByProperty(email, OLO.Enums.LOGIN_TYPE.EMAIL_BASED_LOGIN, memberState.data ? memberState.data.MemberId : null)\r\n .pipe(\r\n map(response => response ? actions.MemberValidateEmailDataResponseSuccess({ email }) : actions.MemberValidateEmailDataResponseError({ email })),\r\n catchError(ex => {\r\n console.error('Email check validation error:', ex);\r\n return of(actions.MemberValidateEmailDataResponseError({ email, ex }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n\r\n }),\r\n );\r\n\r\n\r\n\r\n @Effect() public requestForgotPassword$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberForgotPasswordDataRequest),\r\n switchMap(({ email }) => {\r\n return this._membersService.resendForgotPasswordConfirmation(email)\r\n .pipe(\r\n switchMap(response => {\r\n /*\r\n We don't care here if response is false due to security reasons.\r\n We navigate to success step.\r\n */\r\n return [\r\n actions.MemberForgotPasswordDataResponseSuccess({ email }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.FORGOT_PASSWORD_SENT }),\r\n ];\r\n }),\r\n catchError(ex => {\r\n console.error('EXEPTION', ex, typeof ex);\r\n return of(actions.MemberForgotPasswordDataResponseError({ email, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public setMemberNewPassword$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberPasswordSetRequest),\r\n switchMap(({ memberId, password }) => {\r\n return this._membersService.changeMemberPassword(memberId, password)\r\n .pipe(\r\n map(response => {\r\n if (response) return actions.MemberPasswordSetSuccessRequest({ memberId, password });\r\n\r\n return actions.MemberPasswordSetErrorRequest({ memberId, password });\r\n }),\r\n catchError(ex => {\r\n console.error('Unable to set user password', ex);\r\n return of(actions.MemberPasswordSetErrorRequest({ memberId, password }));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public initializePartialMemberSignUpProcess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberPartialSignUpRequest),\r\n switchMap(({ memberId, memberData }) => {\r\n return this._membersService.getUserData(memberId)\r\n .pipe(\r\n tap(() => {\r\n this._store.dispatch(actions.MemberPasswordSetRequest({ memberId, password: memberData.Password }));\r\n }),\r\n switchMap(memberDetails => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n delay(100),\r\n filter(state => state.setPassword.isSetting === false),\r\n take(1),\r\n switchMap(state => {\r\n if (state.setPassword.hasFailed) {\r\n throw new Error('Password set has failed');\r\n }\r\n\r\n const newMemberModel: APIv1.MemberModel = {\r\n ...memberDetails,\r\n RecievePromo: memberData.RecievePromo,\r\n };\r\n return this._membersService.updateUser(newMemberModel).pipe(\r\n switchMap(updateResponse => {\r\n if (updateResponse) {\r\n this._membersService.resendTemporaryVerificationCode();\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE }),\r\n actions.MemberPartialSignUpSuccessRequest({ memberId, memberData, payload: newMemberModel }),\r\n ];\r\n }\r\n\r\n throw new Error('Unable to update user');\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n console.error('Unable do register partial member', ex);\r\n return of(actions.MemberPartialSignUpErrorRequest({ memberId, memberData }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public initializeSignUpProcess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignUpProcessInit),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n )\r\n ),\r\n tap(([{ memberData }, initialState]) => {\r\n if (initialState.uniqueCode.hasSucceeded === false && !initialState.uniqueCode.data) {\r\n this._store.dispatch(actions.MemberValidatePhoneRequest({ phone: memberData.MobilePhone }));\r\n this._store.dispatch(actions.MemberValidateEmailDataRequest({ email: memberData.EmailAddress }));\r\n }\r\n }),\r\n switchMap(([{ memberData }, initialState]) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.uniqueCode.hasSucceeded === true && state.uniqueCode.data !== null ||\r\n state.validatePhone.isValidating === false && (state.validatePhone.hasSucceeded === true || state.validatePhone.hasFailed === true) &&\r\n state.validateEmail.isValidating === false && (state.validateEmail.hasSucceeded === true || state.validateEmail.hasFailed === true)\r\n ),\r\n take(1),\r\n switchMap(state => {\r\n if (state.validatePhone.hasFailed || state.validateEmail.hasFailed) return never();\r\n\r\n this._storePasswordForQuickLogin(memberData.Password);\r\n\r\n if (state.uniqueCode.hasSucceeded === true && state.uniqueCode.data !== null) {\r\n return [\r\n actions.MemberSignUpRequest({\r\n memberData: {\r\n ...memberData,\r\n IsMobileValidated: true,\r\n },\r\n existingMember: state.uniqueCode.data\r\n })\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberSendPhoneVerificationCodeDataRequest({ phoneNo: memberData.MobilePhone }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_PHONE })\r\n ];\r\n }),\r\n );\r\n })\r\n );\r\n\r\n @Effect() public requestRegisterMember$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignUpRequest),\r\n switchMap(({ memberData, existingMember }) => {\r\n /* There might be user without phone number due to new linking account cases - make sure it's not there */\r\n return iif(() => {\r\n return !!existingMember === true;\r\n },\r\n of(existingMember),\r\n this._membersService.getMembers({\r\n memberEmail: memberData?.EmailAddress || existingMember?.EmailAddress || null,\r\n }).pipe(\r\n map(({ Items }) => Items[0] || null)\r\n )\r\n ).pipe(\r\n switchMap(existingMemberChecked => {\r\n return this._authService.signUp(memberData, existingMemberChecked)\r\n .pipe(\r\n map(payload => actions.MemberSignUpSuccessRequest({ memberData: payload })),\r\n catchError(ex => {\r\n return of(actions.MemberSignUpErrorRequest({ memberData, existingMember: existingMemberChecked, ex }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestRegisterMemberSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSignUpSuccessRequest),\r\n withLatestFrom(\r\n this._store.\r\n pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([action, memberState, isAuthorized]) => {\r\n const bundleActions: Action[] = [];\r\n\r\n if (!isAuthorized) {\r\n\r\n if (memberState.addData || memberState.data.IsEmailValidated === false) {\r\n bundleActions.push(\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.VERIFY_EMAIL }),\r\n actions.MemberSendEmailVeryficationRequest({ email: memberState.addData ? memberState.addData.EmailAddress : memberState.data.EmailAddress }),\r\n );\r\n } else {\r\n bundleActions.push(\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.LOGIN }),\r\n );\r\n }\r\n } else {\r\n bundleActions.push(\r\n actions.MemberDataRequest({ memberId: memberState.accountId })\r\n );\r\n }\r\n\r\n return bundleActions;\r\n }),\r\n );\r\n\r\n @Effect() public requestSendPhoneVeryficationCode$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSendPhoneVerificationCodeDataRequest),\r\n switchMap(({ phoneNo }) => {\r\n return this._authService.verifyPhoneNumber(phoneNo)\r\n .pipe(\r\n map(response => response ? actions.MemberSendPhoneVerificationCodeDataResponseSuccess({ phoneNo }) : actions.MemberSendPhoneVerificationCodeDataResponseError({ phoneNo })),\r\n catchError(ex => {\r\n console.error('VerifyPhoneNoError', ex);\r\n return of(actions.MemberSendPhoneVerificationCodeDataResponseError({ phoneNo, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestVerifyPhoneCode$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberVerifyPhoneDataRequest),\r\n switchMap(({ phoneNo, token }) => {\r\n\r\n return this._authService.verifyPhoneNumberToken(phoneNo, token)\r\n .pipe(\r\n map(response => response ? actions.MemberVerifyPhoneDataSuccessRequest({ phoneNo, token }) : actions.MemberVerifyPhoneDataErrorRequest({ phoneNo, token })),\r\n catchError(ex => {\r\n console.error('VerifyPhoneNumberToken', ex);\r\n return of(actions.MemberVerifyPhoneDataErrorRequest({ phoneNo, token, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestPhoneVeryficationSuccess$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberVerifyPhoneDataSuccessRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n ),\r\n switchMap(([action, memberState]) => {\r\n if (memberState.authorizationStep === OLO.Enums.AUTH_STEP.BEFORE_UPDATE_VERIFY_PHONE && memberState.update.data !== null && memberState.data !== null) {\r\n const IsEmailValidated: boolean = memberState.data.EmailAddress === memberState.update.data.EmailAddress;\r\n return [\r\n actions.MemberUpdateRequest({\r\n userModel: {\r\n ...memberState.data,\r\n ...memberState.update.data,\r\n IsMobileValidated: true,\r\n IsEmailValidated,\r\n }\r\n }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.MemberSignUpRequest({ memberData: memberState.addData, existingMember: memberState.data }),\r\n ];\r\n }),\r\n );\r\n\r\n @Effect() public requestVerifyEmail$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSendEmailVeryficationRequest),\r\n switchMap(({ email }) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n auditTime(100),\r\n filter(state => state.update.isUpdating !== true),\r\n take(1),\r\n switchMap(state => {\r\n console.log(state.update);\r\n const model: APIv1.MemberEmailConfirmationRequestModel = {\r\n MemberEmail: email,\r\n };\r\n return this._membersService.resendEmailConfirmation(model)\r\n .pipe(\r\n map(response => response ? actions.MemberSendEmailVeryficationSuccessRequest({ email }) : actions.MemberSendEmailVeryficationDataResponseError({ email })),\r\n catchError(ex => {\r\n console.error('ResendEmailConfirmation', ex);\r\n return of(actions.MemberSendEmailVeryficationDataResponseError({ email, ex }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect({ dispatch: false }) public createSession$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CreateMemberSession),\r\n switchMap(({ sessionKey, accountId, authorizationType }) => {\r\n this._clearPasswordForQuickLogin();\r\n this._sessionService.createSession(sessionKey, accountId, authorizationType);\r\n\r\n return never();\r\n }),\r\n );\r\n\r\n\r\n @Effect() public checkUserSessionOnAppInit$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSessionRequest),\r\n switchMap(action => {\r\n return this._sessionService.getSession()\r\n .pipe(\r\n switchMap(response => {\r\n if (!response) {\r\n return of(actions.MemberSessionErrorRequest({ sessionKey: null, accountId: null, authorizationType: null }));\r\n }\r\n\r\n return this._authService.validateSession()\r\n .pipe(\r\n switchMap(isValid => {\r\n if (!isValid) {\r\n return of(actions.MemberSessionErrorRequest({ sessionKey: null, accountId: null, authorizationType: null }));\r\n }\r\n\r\n return of(actions.MemberSessionSuccessRequest({ sessionKey: response.SessionKey, accountId: response.AccountId as string, authorizationType: response.AuthorizationType }));\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public setSessionFlags: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberSessionSuccessRequest),\r\n switchMap(({ accountId }) => {\r\n return [\r\n actions.MemberAuthorizationSetFlag({ flag: true }),\r\n actions.MemberDataRequest({ memberId: accountId }),\r\n actions.MemberJwtDataResponseSuccess({ email: null, password: null }),\r\n ];\r\n }),\r\n );\r\n\r\n @Effect() public removeSessionDataOnError$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberSessionErrorRequest\r\n ),\r\n withLatestFrom(\r\n this._sessionService.getSession()\r\n ),\r\n switchMap(([action, session]) => {\r\n /* Sign out only if there was session detected */\r\n if (session) {\r\n this._sessionService.removeSession();\r\n return of(actions.MemberSignOut({ redirect: false }));\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public onLoyaltyProductSuccessRequestGetInfoAboutMemberProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.LoyaltyProductProgramsSuccessRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(state => state.data !== null),\r\n take(1),\r\n switchMap(state => {\r\n const actionsBundle: Action[] = [];\r\n\r\n if (!state.freeProducts.data && !state.freeProducts.isDownloading) {\r\n actionsBundle.push(\r\n actions.MemberFreeProductsRequest({ memberId: state.data.MemberId })\r\n );\r\n }\r\n\r\n if (!state.loyaltyProducts.data && !state.loyaltyProducts.isDownloading) {\r\n actionsBundle.push(\r\n actions.MemberLoyaltyProductsRequest({ memberId: state.data.MemberId })\r\n );\r\n }\r\n\r\n return actionsBundle;\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public requestFeeProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberFreeProductsRequest\r\n ),\r\n switchMap(({ memberId }) => this._membersService.apiGetFreeProductsForMemberRequest(memberId)\r\n .pipe(\r\n map(payload => actions.MemberFreeProductsSuccessRequest({ memberId, payload })),\r\n catchError(ex => {\r\n console.error('MemberFreeProducts request error for member', memberId, ex);\r\n return of(actions.MemberFreeProductsErrorRequest({ memberId, ex }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public requestLoyaltyProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberLoyaltyProductsRequest\r\n ),\r\n switchMap(({ memberId }) => this._membersService.apiGetLoyaltyProductsForMemberRequest(memberId)\r\n .pipe(\r\n map(payload => actions.MemberLoyaltyProductsSuccessRequest({ memberId, payload })),\r\n catchError(ex => {\r\n console.error('MemberLoyaltyProducts request error for member', memberId, ex);\r\n return of(actions.MemberLoyaltyProductsErrorRequest({ memberId, ex }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n @Effect() public requestMemberCodeCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberUniqueCodeCheckRequest\r\n ),\r\n switchMap(({ memberCode }) => {\r\n return this._membersService.checkMemberUniqueCode(memberCode)\r\n .pipe(\r\n map(payload => actions.MemberUniqueCodeCheckSuccessRequest({ memberCode, payload })),\r\n catchError(ex => {\r\n console.error('Check member code error', ex);\r\n // actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.FAILED });\r\n return [\r\n actions.MemberUniqueCodeCheckErrorRequest({ memberCode, ex }),\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR }),\r\n ];\r\n })\r\n );\r\n\r\n })\r\n );\r\n\r\n @Effect() public setStepAfterUniqueCodeRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberUniqueCodeCheckSuccessRequest\r\n ),\r\n switchMap(({ payload }) => {\r\n if (payload && payload.IsOnlineRegistered === true) {\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.UNIQUE_CODE_ERROR }),\r\n // actions.MemberDataRequest({ memberId: payload.MemberId })\r\n ];\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public showBirthdayPopupOnSignIn$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberJwtDataResponseSuccess,\r\n ),\r\n delay(3000),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT)\r\n )\r\n ),\r\n switchMap(([action, state, isAuthorized]) => {\r\n if (!isAuthorized\r\n || this._config.birthdayRewards !== true\r\n || this._config.appMode === IAppMode.ORDERING_ONLY\r\n || Utils.Storage.getItem(OLO.Enums.USER_STORAGE.BIRTHDAY_REWARDS) === 'skip'\r\n || !state.data\r\n || state.data.Birthday\r\n ) return never();\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isMemberLoading),\r\n filter(isLoading => isLoading === false),\r\n take(1),\r\n switchMap(() => {\r\n this._modalsService.show({\r\n type: 'auth',\r\n });\r\n\r\n return [\r\n actions.MemberAuthorizationSetStep({ step: OLO.Enums.AUTH_STEP.BIRTHDAY_REWARDS })\r\n ];\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public triggerRequestAccountBalanceForMemberAfterSuccessTransaction$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepComplete\r\n ),\r\n filter(() => this._config.accountCharge?.enabled === true),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isAccountChargeSelected)\r\n )\r\n ),\r\n switchMap(([action, isMemberAuthorized, hasPaidWithAccountCharge]) => {\r\n if (isMemberAuthorized && hasPaidWithAccountCharge) return of(actions.MemberAccountBalanceRequest({}));\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public triggerRequestAccountBalanceForMemberWhenAuthorized$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberDataSuccessRequest,\r\n actions.MemberJwtDataResponseSuccess,\r\n ),\r\n filter(() => this._config.accountCharge?.enabled === true),\r\n auditTime(100),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isMemberAuthorizedJWT),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n )\r\n ),\r\n switchMap(([action, isAuthorized, state]) => {\r\n if (!state.data?.HasAccount || state.accountBalance.hasSucceeded === true || !isAuthorized) return never();\r\n\r\n return of(actions.MemberAccountBalanceRequest({ memberId: state.data.MemberId }));\r\n })\r\n );\r\n\r\n @Effect() public requestAccountBalance$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MemberAccountBalanceRequest),\r\n switchMap(() => this._membersService.apiGetMemberAccountBalance()\r\n .pipe(\r\n map(payload => actions.MemberAccountBalanceSuccessRequest({ payload })),\r\n catchError(ex => {\r\n console.error('Request account balance error', ex);\r\n return of(actions.MemberAccountBalanceErrorRequest({ ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n private _storePasswordForQuickLogin(password: string): void {\r\n if (!this._config.unverifiedEmailQuickLogin) return;\r\n\r\n Utils.Storage.set(OLO.Enums.USER_STORAGE.PASSWORD, this._cryptoService.encrypt(password), 'sessionStorage');\r\n }\r\n\r\n private _getPasswordForQuickLogin(): string {\r\n if (!this._config.unverifiedEmailQuickLogin) return null;\r\n const storage: string = Utils.Storage.getItem(OLO.Enums.USER_STORAGE.PASSWORD, 'sessionStorage');\r\n\r\n if (!storage) return null;\r\n\r\n const decrypted: string = this._cryptoService.decrypt(storage);\r\n\r\n return decrypted || null;\r\n }\r\n\r\n private _clearPasswordForQuickLogin(): void {\r\n Utils.Storage.remove(OLO.Enums.USER_STORAGE.PASSWORD, 'sessionStorage');\r\n }\r\n /* https://stackoverflow.com/questions/43226681/how-to-subscribe-to-action-success-callback-using-ngrx-and-effects */\r\n /* https://medium.com/@amcdnl/handling-errors-in-ngrx-effects-2a116640d6bb */\r\n /* https://github.com/ngrx/example-app/issues/132 */\r\n /* https://stackoverflow.com/questions/41685519/ngrx-effects-error-handling */\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _membersService: Services.MembersService,\r\n private _authService: Services.AuthService,\r\n private _sessionService: Services.SessionService,\r\n private _jwtService: Services.JWTService,\r\n private _cryptoService: Services.CryptoService,\r\n private _modalsService: Services.ModalsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, filter, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MenuFlowDefaultActivationsEffects {\r\n @Effect() public requestDefaultActivationOnMenuFlowDetailsForCartEditItem$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartEditItem\r\n ),\r\n switchMap((action) => {\r\n if (!action.item.MenuFlowId) return never();\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getCartOnlineMenuItemById(action.item.MenuFlowId)),\r\n take(1),\r\n switchMap(cartOnlineMenu => {\r\n const requireDefaultActivation: boolean = cartOnlineMenu.Tags ? Utils.Items.requireDefaultActivation(cartOnlineMenu) : true;\r\n if (!requireDefaultActivation) return never();\r\n\r\n return of(\r\n actions.MenuFlowDefaultActivationRequest({ menuFlowId: action.item.MenuFlowId })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n\r\n @Effect() public requestDefaultActivationOnMenuFlowDetailsSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowsDetailsSuccessRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuItemById(action.payload.MenuFlowId)),\r\n filter(onlineMenuItem => onlineMenuItem !== null),\r\n take(1),\r\n switchMap(onlineMenu => {\r\n const requireDefaultActivation: boolean = onlineMenu.Tags ? Utils.Items.requireDefaultActivation(onlineMenu) : true;\r\n if (!requireDefaultActivation) return never();\r\n\r\n return of(\r\n actions.MenuFlowDefaultActivationRequest({ menuFlowId: action.menuFlowId })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public onMenuFlowDefaultActivationsRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MenuFlowDefaultActivationRequest),\r\n mergeMap(({ menuFlowId }) =>\r\n this._menuFlowsService.getDefaultActivation(menuFlowId)\r\n .pipe(\r\n map(payload => actions.MenuFlowDefaultActivationSuccessRequest({ menuFlowId, payload })),\r\n catchError(ex => of(actions.MenuFlowDefaultActivationErrorRequest({ menuFlowId, ex })))\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _menuFlowsService: Services.MenuFlowsService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never, iif } from 'rxjs';\r\nimport { switchMap, take, first, filter, map, mergeMap, catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MenuFlowsEffects {\r\n @Effect() public onRequestMenuFlowDetails$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MenuFlowsDetailsRequest),\r\n mergeMap(({ locationNo, menuFlowId }) => {\r\n return this._store.select(selectors.getMenuFlow(menuFlowId, locationNo))\r\n .pipe(\r\n first(),\r\n filter(menuFlow => menuFlow.MenuFlowId !== null),\r\n mergeMap(({ LocationNo, MenuFlowId }) => {\r\n return this._menuFlowsService.getMenuFlowDetailsForLocation(MenuFlowId, LocationNo)\r\n .pipe(\r\n map(payload => actions.MenuFlowsDetailsSuccessRequest({ menuFlowId: MenuFlowId, locationNo: LocationNo, payload })),\r\n catchError(ex => of(actions.MenuFlowsDetailsErrorRequest({ menuFlowId: MenuFlowId, locationNo: LocationNo, ex })))\r\n );\r\n }\r\n ),\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public onMenuFlowSuccessRequestGetUpsell$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.MenuFlowsDetailsSuccessRequest),\r\n switchMap(action => {\r\n /* Get upsell upon success menuflow request due to EDIT problems on cart when hitting page with different url */\r\n return iif(() => !action.payload.UpsellMenuFlowId, never(), this._store.pipe(\r\n select(selectors.getMenuFlow(action.payload.UpsellMenuFlowId, action.locationNo)),\r\n filter(upsellMenuFlow => upsellMenuFlow === undefined || upsellMenuFlow === null || upsellMenuFlow.hasFailed === true),\r\n take(1),\r\n switchMap(upsell => of(actions.MenuFlowsDetailsRequest({ menuFlowId: action.payload.UpsellMenuFlowId, locationNo: action.locationNo })))\r\n ));\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _menuFlowsService: Services.MenuFlowsService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, withLatestFrom, first } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class MenuFlowImagesEffects {\r\n @Effect() onOnlineMenuSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesSuccessRequest\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getMenuFlowImagesState),\r\n first(),\r\n )\r\n ),\r\n switchMap(([action, images]) => {\r\n /* Get regular images for menu flow */\r\n const Pages: APIv1.OnlineMenuPageResponseModel[] = action.payload.Pages;\r\n const menuFlowIds: number[] = Pages.reduce((acc, page) => {\r\n const filterMenuFlowsIds: number[] = page.Products.filter(item => item.MenuFlowId && !item.ProductId).map(item => item.MenuFlowId);\r\n\r\n return acc.concat(filterMenuFlowsIds);\r\n }, []);\r\n const filtered: number[] = menuFlowIds.filter(menuFlowId => !images.find(image => image.MenuFlowId === menuFlowId && (image.isDownloading || image.hasSucceeded)));\r\n\r\n return of(actions.MenuFlowImagesRequest({ params: { width: 150, height: 150, }, menuFlowIds: filtered }));\r\n })\r\n );\r\n\r\n /* Move this to wizzard */\r\n @Effect() onRequestMenuFlowImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowImagesRequest\r\n ),\r\n mergeMap(({ params, menuFlowIds }) => {\r\n if (menuFlowIds.length === 0) return [actions.MenuFlowImagesSuccessRequest({ payload: [], menuFlowIds: [] })];\r\n\r\n return this._imagesService.getMenuFlowImages(params, ...menuFlowIds)\r\n .pipe(\r\n map((payload: APIv1.ImageUrlModel[]) => actions.MenuFlowImagesSuccessRequest({ payload, menuFlowIds })),\r\n catchError(ex => of(actions.MenuFlowImagesErrorRequest({ ex, menuFlowIds })))\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\nimport { Action, Store, select } from '@ngrx/store';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never, iif, timer } from 'rxjs';\r\nimport { switchMap, audit, withLatestFrom, map, take, combineLatest, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class PickupTimeValidateEffects {\r\n /*\r\n This will validate cart itself comparing to current date.\r\n - check cart.pickupTime orderTimeout and pickupTime if user hasn't spent too much time ordering,\r\n - check cart.onlineMenu dates and compare it to current date,\r\n - check if it's TODAY if there was anything in the cart from other days,\r\n\r\n Check it only if there is anything in the cart.\r\n */\r\n\r\n @Effect() public validateCartPickupTimeAndOnlineMenuTime$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ROUTER_NAVIGATION,\r\n\r\n // actions.WIZZARD_VALIDATE,\r\n actions.WizzardValidate,\r\n\r\n actions.CartLoad,\r\n // actions.CartSetPendingClear,\r\n actions.CartSetLocationNo,\r\n actions.CartSetOnlineMenu,\r\n actions.CartEditItem,\r\n actions.CartMenuFlowAdd,\r\n actions.CartMenuFlowDecrement,\r\n actions.CartMenuFlowIncrement,\r\n actions.CartMenuFlowRemove,\r\n actions.CartMenuFlowUpdate,\r\n actions.CartSimpleItemAdd,\r\n actions.CartSimpleItemDecrement,\r\n actions.CartSimpleItemIncrement,\r\n actions.CartSimpleItemRemove,\r\n actions.CartSimpleItemUpdate\r\n ),\r\n audit(() => timer(10)),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getCart)\r\n )\r\n ),\r\n switchMap(([action, cartObj]) => {\r\n return iif(\r\n () => cartObj.itemsMenuFlow.length === 0 && cartObj.itemsSimple.length === 0,\r\n never(),\r\n this.isPickupOrderTimeValid$()\r\n .pipe(\r\n switchMap((isValid) => {\r\n return iif(\r\n () => isValid === true,\r\n never(),\r\n of(cartObj)\r\n .pipe(\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getAllModals)\r\n )\r\n ),\r\n switchMap(([cart, modals]) => {\r\n /* Scenario when cart pickup time is invalid */\r\n console.error('Cart pickup time isn\\'t valid any more!');\r\n\r\n this._modalsService.removeURLQueryParams();\r\n\r\n if (modals.length > 0) {\r\n this._modalsService.closeAll(['alert'], StateModels.MODAL_ANIMATION.NONE); /* Close all modals except alerts */\r\n\r\n this._modalsService.show({\r\n type: 'alert',\r\n animate: StateModels.MODAL_ANIMATION.NONE,\r\n params: {\r\n title: 'Your cart is empty',\r\n body: `Some items you have added to the cart are no longer available. Pickup time has changed.`,\r\n showButton: true,\r\n }\r\n });\r\n }\r\n\r\n return [\r\n actions.CartReset(),\r\n actions.AvailablePickupsCalculateRequest({ locationNo: cart.locationNo }), /* Generate new pickup times */\r\n actions.WizzardUnmountAll(),\r\n ];\r\n })\r\n )\r\n );\r\n })\r\n )\r\n );\r\n })\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n private _pickupsService: Services.PickupsService,\r\n ) { }\r\n\r\n public isPickupOrderTimeValid$(date: Date = new Date()): Observable {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCart),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getOrderingTimeInfoForTodayByCartLocation),\r\n filter(obj => obj !== undefined && obj !== null),\r\n take(1)\r\n )\r\n ),\r\n take(1),\r\n map(([cart, orderingTimeInfo]) => this._pickupsService.validateSelectedPickupTimeObjForOnlineMenu(date, cart.pickupTime, cart.onlineMenu, orderingTimeInfo)),\r\n );\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter, withLatestFrom, delay, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class PaymentsEffects {\r\n @Effect() public paymentInitWithPrevalidatedCard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentInit\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getCardState)),\r\n this._store.pipe(select(selectors.getMemberState)),\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n this._store.pipe(select(selectors.getPaymentState))\r\n ),\r\n switchMap(([action, cardState, memberState, paymentHasErrors, step, paymentState]) => {\r\n if (paymentHasErrors) {\r\n if (paymentState.OrderId && paymentState.data.TransactionId) {\r\n if (this._config.demoMode === true) {\r\n return [\r\n actions.PaymentClearErrors(),\r\n actions.__DEMO__PaymentStepPaymentStatusCheck({ TransactionId: paymentState.data.TransactionId, OrderId: paymentState.OrderId }),\r\n ];\r\n }\r\n\r\n return [\r\n actions.PaymentClearErrors(),\r\n actions.PaymentStepPaymentStatusCheck({ TransactionId: paymentState.data.TransactionId, OrderId: paymentState.OrderId }),\r\n ];\r\n }\r\n\r\n return this._error(`#33 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'init') {\r\n return this._error(`#37 Payment step error. Should be \"init\", is: ${step}`);\r\n }\r\n\r\n if (this._config.paymentProvider === undefined || this._config.paymentProvider === null) {\r\n return this._error('#41 Payment provider not defined. Defined it config.js file');\r\n }\r\n\r\n const isGuest: boolean = memberState.isGuestModeEnabled && memberState.guestData !== null;\r\n if (isGuest) {\r\n return [\r\n actions.MemberValidateEmailDataRequest({ email: memberState.guestData.Email }),\r\n actions.MemberValidatePhoneRequest({ phone: memberState.guestData.MobileNumber }),\r\n actions.PaymentStepValidateGuestData(null),\r\n ];\r\n }\r\n\r\n if (this._config.demoMode === true) {\r\n return of(actions.__DEMO__PaymentStepCreateOrder());\r\n }\r\n\r\n /* For members */\r\n return of(actions.PaymentStepCreateOrder());\r\n })\r\n );\r\n\r\n @Effect() public paymentInitAramarkFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentInitAramark\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([action, paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error(`#73 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'init') {\r\n return this._error(`#77 Payment step error. Should be \"init\", is: ${step}`);\r\n }\r\n\r\n if (this._config.paymentProvider === undefined || this._config.paymentProvider === null) {\r\n return this._error('#81 Payment provider not defined. Defined it config.js file');\r\n }\r\n\r\n if (action.member) {\r\n /* For guests */\r\n return [\r\n actions.MemberVerifyEmailRestoreFlags(),\r\n actions.MemberVerifyPhoneRestoreFlags(),\r\n actions.MemberGuestDataReset(),\r\n actions.MemberGuestDataSet({ guestData: action.member as APICommon.IOnlineOrderPartialMember }),\r\n actions.CreditCardTokenDataReset(),\r\n\r\n actions.MemberValidateEmailDataRequest({ email: action.member.Email }),\r\n actions.MemberValidatePhoneRequest({ phone: action.member.MobileNumber }),\r\n\r\n actions.PaymentStepValidateGuestData(action.creditCard),\r\n ];\r\n }\r\n\r\n if (this._config.demoMode === true) {\r\n return of(actions.__DEMO__PaymentStepCreateOrder());\r\n }\r\n\r\n /* For members */\r\n return of(actions.PaymentStepCreateOrder());\r\n })\r\n );\r\n\r\n @Effect() public stepValidateGuestData$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.PaymentStepValidateGuestData),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMemberState),\r\n filter(member => member.validateEmail.isValidating !== true && member.validatePhone.isValidating !== true),\r\n take(1),\r\n switchMap(state => {\r\n if (state.validateEmail.hasFailed || state.validatePhone.hasFailed) {\r\n return this._error('#120 Invalid guest\\'s email address or phone number');\r\n }\r\n\r\n return forkJoin(\r\n this._membersService.getMembers({ mobilePhoneNumber: state.guestData.MobileNumber }),\r\n this._membersService.getMembers({ memberEmail: state.guestData.Email }),\r\n ).pipe(\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([[byPhone, byEmail], paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error(`#133 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'validate_guest') {\r\n return this._error(`#137 Payment step error. Should be \"validate_guest\", is: ${step}`);\r\n }\r\n\r\n const nextStep = () => {\r\n if (this._config.demoMode === true) {\r\n return of(actions.__DEMO__PaymentStepCreateOrder());\r\n }\r\n\r\n /* If card is provided but not saved, run these steps */\r\n if (action.creditCard) {\r\n switch (this._config.paymentProvider) {\r\n case OLO.Enums.PAYMENT_PROVIDER.CONVERGE:\r\n return [\r\n actions.GetCreditCardToken({\r\n cardNumber: action.creditCard.cardNo,\r\n expiryDate: action.creditCard.expDate,\r\n saveCard: action.creditCard.save\r\n }\r\n ),\r\n actions.PaymentStepValidateGuestCardToken()\r\n ];\r\n\r\n case OLO.Enums.PAYMENT_PROVIDER.PAYMENT_EXPRESS:\r\n return of(actions.PaymentStepCreateOrder());\r\n // return [\r\n // actions.GetCreditCardToken({\r\n // cardNumber: action.creditCard.cardNo,\r\n // expiryDate: action.creditCard.expDate,\r\n // saveCard: action.creditCard.save\r\n // }),\r\n // ];\r\n\r\n case OLO.Enums.PAYMENT_PROVIDER.CARD_CONNECT:\r\n console.warn('TODO - HANDLE CARD CONNECT');\r\n return [];\r\n\r\n default:\r\n console.error('Payment provider not provided in config.js');\r\n return [];\r\n }\r\n }\r\n\r\n return of(actions.PaymentStepCreateOrder());\r\n };\r\n\r\n const memberByPhone: APIv1.MemberModel = byPhone.Items[0];\r\n const memberByEmail: APIv1.MemberModel = byEmail.Items[0];\r\n\r\n const isUpdatedRequired: boolean = memberByPhone && memberByEmail && memberByPhone.MemberId !== memberByEmail.MemberId\r\n || memberByPhone && !memberByEmail && memberByPhone.EmailAddress !== state.guestData.Email;\r\n if (isUpdatedRequired) {\r\n /* We update member with phone number found */\r\n const updatedModel: APIv1.MemberModel = {\r\n ...memberByPhone,\r\n EmailAddress: state.guestData.Email,\r\n };\r\n\r\n return this._membersService.updateUser(updatedModel)\r\n .pipe(\r\n switchMap(success => {\r\n if (!success) throw new Error('Error on user update request');\r\n\r\n return nextStep();\r\n })\r\n );\r\n }\r\n\r\n return nextStep();\r\n\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n return this._error('#212 Payment failed', ex);\r\n })\r\n\r\n );\r\n\r\n @Effect() public stepValidateGuestCardTokens$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepValidateGuestCardToken\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getCardState),\r\n filter(cardsState => cardsState.token.isGettingToken === false && (cardsState.token.hasSucceeded === true && cardsState.activeCardToken !== null || cardsState.token.hasFailed === true)),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([cardsState, paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error(`#234 Payment process has errors`);\r\n }\r\n\r\n if (step !== 'validate_card_token') {\r\n return this._error(`#238 Payment step error. Should be \"validate_card_token\", is: ${step}`);\r\n }\r\n\r\n if (cardsState.token.hasFailed || cardsState.activeCardToken === null) {\r\n return this._error('#242 Unable to get card token');\r\n }\r\n\r\n return of(actions.PaymentStepCreateOrder());\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepCreateOrder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepCreateOrder,\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.canPostOnlineOrder)),\r\n this._store.pipe(select(selectors.isPaymentProcessValid)),\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([action, canPostOnlineOrder, isPaymentProcessValid, paymentHasErrors, step]) => {\r\n if (!canPostOnlineOrder || !isPaymentProcessValid || paymentHasErrors) {\r\n return this._error('#264 Unable to create order - insufficient data or data corrupted');\r\n }\r\n\r\n if (step !== 'create_order') {\r\n return this._error(`#268 Payment step error. Should be \"create_order\", is: ${step}`);\r\n }\r\n\r\n return [\r\n actions.OnlineOrderClearPostOrderRequestFlags(),\r\n actions.OnlineOrderCreateRequest(),\r\n actions.PaymentStepPay(),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public stepPay$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepPay\r\n ),\r\n switchMap(action => {\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState),\r\n filter(orderState => orderState.createRequest.isCreating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getActiveCardId)),\r\n this._store.pipe(select(selectors.getActiveCardToken)),\r\n this._store.pipe(select(selectors.getOnlineOrder)),\r\n this._store.pipe(select(selectors.getActiveCardDetails)),\r\n this._store.pipe(select(selectors.isAccountChargeSelected))\r\n ),\r\n switchMap(([orderState, activeCardId, activeCardToken, onlineOrder, cardDetails, isAccountChargeSelected]) => {\r\n if (orderState.createRequest.hasFailed) {\r\n return this._error('#299 Unable to create order');\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isCartLocationsPickupsCalculating),\r\n filter(isCalculating => isCalculating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.paymentHasErrors)),\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n switchMap(([calculated, paymentHasErrors, step]) => {\r\n if (paymentHasErrors) {\r\n return this._error('#312 Unable to create order due to payment process errors');\r\n }\r\n\r\n if (step !== 'paying') {\r\n return this._error(`#317 Payment step error. Should be \"paying\", is: ${step}`);\r\n }\r\n if (isAccountChargeSelected) {\r\n /* Handle account charge */\r\n return this._paymentsService.payWithAccountCharge(onlineOrder.Id, {\r\n Amount: onlineOrder.TotalGrossValue,\r\n SetOrderAsValidatedOnSuccess: true,\r\n })\r\n .pipe(\r\n switchMap(payload => {\r\n switch (payload.Status) {\r\n case OLO.Enums.PAYMENT_STATUS.SUCCESS:\r\n return of(actions.PaymentStepComplete({ OrderId: onlineOrder.Id, payload }));\r\n\r\n case OLO.Enums.PAYMENT_STATUS.FAILED:\r\n return [\r\n actions.PaymentReset(),\r\n ...this._error('#373 Payment declined by Payment Provider. Status: ' + payload.Status, payload.Status)\r\n ];\r\n }\r\n }),\r\n );\r\n }\r\n\r\n const OrderId: number = onlineOrder.Id;\r\n const PaymentMethod: APIv2.ExecutePaymentModel = {\r\n Amount: onlineOrder.TotalLeftToPay,\r\n PaymentAccountId: activeCardId,\r\n Token: activeCardToken,\r\n SetOrderAsValidatedOnSuccess: true,\r\n PaymentProvider: this._config.paymentProvider, // OLO.Enums.PAYMENT_PROVIDER.CONVERGE\r\n };\r\n\r\n if (this._config.paymentProvider === OLO.Enums.PAYMENT_PROVIDER.CARD_CONNECT) {\r\n // const d = cardDetails.ExpirationDate.split('-');\r\n // const lastDay = new Date(+`20${d[2]}`, +d[0], 0).getDate();\r\n PaymentMethod.ExpirationDate = Utils.CreditCards.dateToISOString(cardDetails.ExpirationDate); // `20${d[2]}-${d[0]}-${lastDay < 10 ? `0${lastDay}` : `${lastDay}`}T23:59:59.000Z`;\r\n }\r\n\r\n return this._paymentsService.pay(OrderId, PaymentMethod)\r\n .pipe(\r\n map(({ TransactionId }) => {\r\n return actions.PaymentStepPaymentStatusCheck({ TransactionId, OrderId });\r\n }),\r\n );\r\n })\r\n );\r\n })\r\n );\r\n }),\r\n catchError(ex => {\r\n return this._error('#350 Payment failed', ex);\r\n })\r\n );\r\n\r\n @Effect() public stepPaymentStatusCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.PaymentStepPaymentStatusCheck\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getPaymentStepsStatus)),\r\n ),\r\n mergeMap(([action, step]) => {\r\n if (step !== 'payment_status_check') {\r\n return this._error(`#361 Payment step error. Should be \"payment_status_check\", is: ${step}`);\r\n }\r\n\r\n return this._paymentsService.getPaymentStatus(action.TransactionId)\r\n .pipe(\r\n delay(1000),\r\n switchMap(payload => {\r\n switch (payload.Status) {\r\n case OLO.Enums.PAYMENT_STATUS.SUCCESS:\r\n return of(actions.PaymentStepComplete({ OrderId: action.OrderId, payload }));\r\n\r\n case OLO.Enums.PAYMENT_STATUS.FAILED:\r\n return [\r\n actions.PaymentReset(),\r\n ...this._error('#373 Payment declined by Payment Provider. Status: ' + payload.Status, payload.Status)\r\n ];\r\n\r\n default:\r\n return of(actions.PaymentStepPaymentStatusCheck({ TransactionId: action.TransactionId, OrderId: action.OrderId }));\r\n }\r\n }),\r\n );\r\n }),\r\n catchError(ex => {\r\n return this._error('#382 Payment status check failed', ex);\r\n })\r\n );\r\n\r\n @Effect() public cleanUpOnSuccessfulPayment$ = this._actions$\r\n .pipe(\r\n ofType(actions.PaymentStepComplete),\r\n switchMap(action => {\r\n const bundleActions: Action[] = [\r\n actions.CreditCardTokenDataReset(),\r\n actions.OnlineOrderStateReset(),\r\n actions.CartReset(),\r\n actions.LocationsFiltersReset(),\r\n actions.CurrentLocationReset(),\r\n ];\r\n\r\n if (this._config.onlineOrders?.sendAutoConfirmationEmail === true) {\r\n bundleActions.push(\r\n actions.OnlineOrderSendConfrimationEmailRequest({ orderId: action.OrderId })\r\n );\r\n }\r\n\r\n return bundleActions;\r\n }),\r\n );\r\n\r\n private _error(error: string = '', ex: any = null): Array {\r\n console.error('Payment error:', error, ex);\r\n return [\r\n actions.OnlineOrderClearPostOrderRequestFlags(),\r\n // actions.CreditCardTokenDataReset(),\r\n actions.PaymentStepFailed(error)\r\n ];\r\n }\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _paymentsService: Services.PaymentsService,\r\n private _membersService: Services.MembersService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as selectors from '../selectors';\r\nimport * as actions from '../actions';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OrderTypesImagesEffects {\r\n @Effect() public onSuccessOrderTypeRequestImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OrderTypesSuccessRequest\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOrderTypeImages),\r\n take(1),\r\n switchMap(images => {\r\n const filterOut = action.payload.reduce((acc, orderType) => {\r\n const imageExists = images.some(obj => obj.Id === orderType.Id && obj.data !== null && obj.isDownloading === false);\r\n if (imageExists) return acc;\r\n\r\n return [...acc, orderType.Id];\r\n }, [] as number[]);\r\n\r\n if (filterOut.length === 0) return never();\r\n\r\n return of(\r\n actions.OrderTypesImagesRequest({\r\n params: { width: 150, height: 150 },\r\n orderTypesIds: filterOut,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public requestImagesForOrderTypes$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OrderTypesImagesRequest\r\n ),\r\n mergeMap(action => this._imagesService.getImageForOrderType(action.params, ...action.orderTypesIds)\r\n .pipe(\r\n map(payload => actions.OrderTypesImagesSuccessRequest({\r\n params: action.params,\r\n payload,\r\n orderTypesIds: action.orderTypesIds\r\n })),\r\n catchError(ex => {\r\n console.error(`Error requestImagesForOrderTypes`, ex);\r\n return of(\r\n actions.OrderTypesImagesErrorRequest({\r\n params: action.params,\r\n ex,\r\n orderTypesIds: action.orderTypesIds\r\n })\r\n );\r\n })\r\n )\r\n )\r\n )\r\n ;\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, Action } from '@ngrx/store';\r\nimport { Actions, ofType, Effect } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { switchMap, map, mergeMap, catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OrderTypesEffects {\r\n @Effect() public requestOrderTypeForLocation$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CurrentLocationSet,\r\n actions.CartSetup,\r\n ),\r\n switchMap(action => {\r\n return of(actions.OrderTypesRequest({ locationNo: action.locationNo }));\r\n })\r\n );\r\n\r\n @Effect() public requestOrderTypes$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OrderTypesRequest\r\n ),\r\n mergeMap(({ locationNo }) => this._loylatyAppService.apiGetOrderTypes(locationNo)\r\n .pipe(\r\n map(payload => actions.OrderTypesSuccessRequest({ locationNo, payload })),\r\n catchError(ex => {\r\n console.error('OrderTypes request error', ex);\r\n return of(actions.OrderTypesErrorRequest({ locationNo, ex }));\r\n })\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _loylatyAppService: Services.LoyaltyAppService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { take, map, catchError, withLatestFrom, switchMap, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineOrdersEffects {\r\n @Effect() onOnlineOrderCreateRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderCreateRequest),\r\n withLatestFrom(\r\n this._store.select(selectors.getGuestData),\r\n this._store.select(selectors.getCurrentMember),\r\n ),\r\n switchMap(([action, guestData, memberData]) => {\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderRecalcData),\r\n filter(calculatedOrder => calculatedOrder.isRecalculating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppId)\r\n )\r\n ),\r\n switchMap(([calculatedOrder, orderState, LoyaltyAppId]) => {\r\n if (calculatedOrder.hasFailed || !calculatedOrder.data) throw new Error('Invalid recalculated order data');\r\n\r\n let email: string = null;\r\n if (this._config.onlineOrders?.sendAutoReceiptEmail === true) {\r\n if (guestData?.Email) {\r\n email = guestData.Email;\r\n }\r\n\r\n if (memberData?.EmailAddress) {\r\n email = memberData.EmailAddress;\r\n }\r\n }\r\n const model: APIv1.OnlineOrderDetailedBusinessModel = {\r\n ...calculatedOrder.data,\r\n Id: null,\r\n MemberId: memberData ? memberData.MemberId : null,\r\n PartialMember: guestData,\r\n LoyaltyAppId,\r\n ...Utils.OnlineOrders.extendWithOrderTypeSurcharges(calculatedOrder.data, orderState.orderType, false)\r\n };\r\n\r\n return this._onlineOrdersService.createNewOnlineOrder(model, email)\r\n .pipe(\r\n map(payload => {\r\n return actions.OnlineOrderCreateSuccessRequest({ payload });\r\n }),\r\n );\r\n }),\r\n catchError(ex => of(actions.OnlineOrderCreateErrorRequest({ order: null, ex })))\r\n );\r\n })\r\n\r\n );\r\n\r\n @Effect() onOnlineOrderSendConfirmationEmail$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderSendConfrimationEmailRequest),\r\n switchMap(action => {\r\n return this._onlineOrdersService.sendEmailWithOrderConfirmation(action.orderId)\r\n .pipe(\r\n map(result => result ? actions.OnlineOrderSendConfrimationEmailSuccessRequest({ result }) : actions.OnlineOrderSendConfrimationEmailErrorRequest({})),\r\n catchError(ex => of(actions.OnlineOrderSendConfrimationEmailErrorRequest({ ex })))\r\n );\r\n }),\r\n );\r\n\r\n\r\n\r\n @Effect() onOnlineOrderRecalculateRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderRecalculateRequest),\r\n withLatestFrom(\r\n this._store.select(selectors.getCart),\r\n this._store.select(selectors.getCartTotalValue),\r\n this._store.select(selectors.getCurrentMember),\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getLoyaltyAppId)\r\n )\r\n ),\r\n switchMap(([action, cart, cartTotalValue, member, orderState, LoyaltyAppId]) => {\r\n const _tempOrderModel = Utils.OnlineOrders.convertCart(this._config.saleName, cart, cart.pickupTime, {\r\n MemberId: member ? member.MemberId : null,\r\n OrderTypeId: this._config.onlineOrders.OrderTypeId,\r\n OnlineOrderType: this._config.onlineOrders.OnlineOrderType,\r\n RemoveModifiers: this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false ? true : false,\r\n });\r\n\r\n const orderModel = {\r\n ..._tempOrderModel,\r\n ...Utils.OnlineOrders.extendWithOrderTypeSurcharges(_tempOrderModel, orderState.orderType, true),\r\n LoyaltyAppId,\r\n };\r\n\r\n return this._onlineOrdersService.recalculateOnlineOrder(orderModel)\r\n .pipe(\r\n map(payload => actions.OnlineOrderRecalculateSuccessRequest({ payload })),\r\n catchError(ex => of(actions.OnlineOrderRecalculateErrorRequest({ order: orderModel, ex })))\r\n );\r\n }),\r\n );\r\n\r\n @Effect() onlineOrderRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderRequest),\r\n switchMap(({ orderId }) => {\r\n return this._onlineOrdersService.getOnlineOrder(orderId)\r\n .pipe(\r\n map(payload => {\r\n return actions.OnlineOrderSuccessRequest({ payload });\r\n }),\r\n catchError(ex => of(actions.OnlineOrderErrorRequest({ orderId, ex })))\r\n );\r\n })\r\n );\r\n\r\n @Effect() sendOrderReceipt$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineOrderSendEmailReceiptRequest),\r\n switchMap(({ orderId }) => this._onlineOrdersService.sendOnlineOrderReceipt(orderId)\r\n .pipe(\r\n map(response => response ? actions.OnlineOrderSendEmailReceiptSuccessRequest({ orderId }) : actions.OnlineOrderSendEmailReceiptErrorRequest({ orderId })),\r\n catchError(ex => {\r\n console.log(`Send order receipt error`, ex);\r\n return of(actions.OnlineOrderSendEmailReceiptErrorRequest({ orderId, ex }));\r\n }),\r\n )\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _onlineOrdersService: Services.OnlineOrdersService,\r\n private _store: Store\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as Services from '@shared/core/services';\r\nimport * as State from '@shared/state/interface';\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { map, catchError, switchMap, mergeMap, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineMenuProductsImagesEffects {\r\n private _imgParams: APICommon.IImagesGetParams = { width: 150, height: 150 };\r\n\r\n @Effect() public onCartItemEditRequestImageForItem$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.CartEditItem\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCart)\r\n )\r\n ),\r\n switchMap(([action, cart]) => {\r\n const itemId: number = action.item.MenuFlowId ? action.item.MenuFlowId : (action.item as State.ICartSimpleItemExtended).ProductId;\r\n const isMenuFlow: boolean = action.item.MenuFlowId ? true : false;\r\n\r\n if (!cart.onlineMenu || !cart.onlineMenu.Pages) return never();\r\n return cart.onlineMenu.Pages.map(page => actions.OnlineMenuProductsImagesRequest({ params: this._imgParams, pageId: page.Id }));\r\n // let pageId: number = null;\r\n // cart.onlineMenu.Pages.forEach(page => {\r\n // if (pageId) return;\r\n // page.Products.forEach(product => {\r\n // if (pageId) return;\r\n\r\n // if (isMenuFlow && itemId === product.MenuFlowId) {\r\n // return pageId = page.Id;\r\n // }\r\n\r\n // if (!isMenuFlow && itemId === product.ProductId) {\r\n // return pageId = page.Id;\r\n // }\r\n // });\r\n // });\r\n\r\n // if (!pageId) return never();\r\n // console.log('pageId', pageId, 'cartItem', action.item);\r\n // return of(\r\n // actions.OnlineMenuPageImagesRequest({ params: this._imgParams, pageId })\r\n // );\r\n })\r\n );\r\n\r\n @Effect() public onOnlineMenuSuccessRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineMenuPagesSuccessRequest),\r\n switchMap(({ payload }) =>\r\n payload.Pages.map(Page =>\r\n actions.OnlineMenuProductsImagesRequest({ params: this._imgParams, pageId: Page.Id })\r\n )\r\n )\r\n );\r\n\r\n @Effect() public onPageImagesRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineMenuProductsImagesRequest),\r\n mergeMap(({ params, pageId }) =>\r\n this._imagesService.getImagesForOnlineMenuPageProducts(params, pageId)\r\n .pipe(\r\n map(payload => actions.OnlineMenuProductsImagesSuccessRequest({ pageId, payload })),\r\n catchError(ex => of(actions.OnlineMenuProductsImagesErrorRequest({ pageId, ex }))),\r\n )\r\n )\r\n );\r\n\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { map, catchError, switchMap, delay, withLatestFrom, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineMenuPagesImagesEffects {\r\n @Effect() public onOnlineMenuSuccessGetPagesImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.OnlineMenuPagesSuccessRequest),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getOnlineMenuPagesImages),\r\n )\r\n ),\r\n switchMap(([action, images]) => {\r\n const imageType: OLO.Enums.IMAGE_TYPE = OLO.Enums.IMAGE_TYPE.ForWeb;\r\n const imageTypeName: string = Utils.Images.toImageTypeString(imageType);\r\n const pageIds = action.payload.Pages.reduce((acc, page) => {\r\n\r\n const foundImg = images[imageTypeName].reduce((imgFound, type) => {\r\n if (imgFound) return imgFound;\r\n return type[imageType]?.find(obj => obj.pageId === page.Id) || null;\r\n\r\n }, null);\r\n\r\n const shouldDownload = !foundImg || foundImg.hasSucceeded === false && foundImg.isDownloading === false;\r\n if (shouldDownload) {\r\n return [\r\n ...acc,\r\n page.Id,\r\n ];\r\n }\r\n\r\n return acc;\r\n\r\n }, [] as Array);\r\n\r\n if (!pageIds.length) return never();\r\n\r\n return of(actions.OnlineMenuPagesImagesRequest({\r\n params: {\r\n width: window.innerWidth,\r\n },\r\n imageType,\r\n pageIds\r\n }));\r\n })\r\n );\r\n\r\n @Effect() public requestOnlineMenuPagesImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesImagesRequest\r\n ),\r\n switchMap(action => {\r\n return this._imagesService.getImagesForOnlineMenuPages(action.params, action.imageType, action.pageIds)\r\n .pipe(\r\n delay(1000),\r\n map(payload => actions.OnlineMenuPagesImagesSuccessRequest({ pageIds: action.pageIds, imageType: action.imageType, payload })),\r\n catchError(ex => {\r\n console.error('Error downloading online menu pages images', ex);\r\n return of(actions.OnlineMenuPagesImagesErrorRequest({ pageIds: action.pageIds, imageType: action.imageType, ex }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, select, Store } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { catchError, switchMap, map, withLatestFrom } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class OnlineMenuEffects {\r\n @Effect() public onPickupTimeSetGetOnlineMenu$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.CurrentLocationPickupTimeSet),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n ),\r\n this._store.pipe(\r\n select(selectors.getCurrentLocationNoWithMemberId)\r\n ),\r\n this._store.pipe(\r\n select(selectors.getCurrentPickupTime)\r\n ),\r\n this._store.pipe(\r\n select(selectors.getOnlineMenu)\r\n )\r\n ),\r\n switchMap(([action, isOnLocationDetailsPage, { memberId, locationNo }, pickupTime, onlineMenu]) => {\r\n const pickupTimeIsSet: boolean = !!pickupTime;\r\n const pickupTimeMatchesOnlineMenuRange: boolean = onlineMenu.data !== null && Utils.Dates.isHourInTimeRange(pickupTime.Hour, onlineMenu.data.StartTime, onlineMenu.data.EndTime);\r\n const isSameDay: boolean = pickupTime?.DateLocalISO.split('T')[0] === onlineMenu.pickupDate?.split('T')[0];\r\n const locationHasChanged: boolean = locationNo !== onlineMenu.locationNo;\r\n const menuHasDownloaded: boolean = onlineMenu.data !== null;\r\n\r\n const shouldRequestOnlineMenu: boolean = isOnLocationDetailsPage\r\n && (locationHasChanged\r\n || !menuHasDownloaded\r\n || !pickupTimeMatchesOnlineMenuRange\r\n || !isSameDay\r\n || !pickupTimeIsSet);\r\n if (!shouldRequestOnlineMenu) return never();\r\n\r\n return of(actions.OnlineMenuPagesRequest(\r\n locationNo,\r\n memberId,\r\n Utils.Dates.getLocalISOFormatDate(pickupTime.Date, true)\r\n ));\r\n })\r\n );\r\n\r\n @Effect() public requestOnlineMenu$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesRequest\r\n ),\r\n switchMap(({ locationNo, memberId, pickupDate }) => {\r\n return this._onlineMenuService.getMenuPages({\r\n locationNo,\r\n memberId,\r\n menuDate: pickupDate\r\n }).pipe(\r\n map(response => {\r\n /* Sort first by DisplayIndex */\r\n response.Pages = response.Pages.sort((a, b) => {\r\n switch (true) {\r\n case a.DisplayIndex < b.DisplayIndex:\r\n return -1;\r\n case a.DisplayIndex > b.DisplayIndex:\r\n return 1;\r\n default:\r\n return 0;\r\n }\r\n });\r\n\r\n return actions.OnlineMenuPagesSuccessRequest(\r\n locationNo,\r\n memberId,\r\n pickupDate,\r\n response\r\n );\r\n }),\r\n catchError(ex => of(actions.OnlineMenuPageErrorRequest(\r\n locationNo,\r\n memberId,\r\n pickupDate,\r\n ex\r\n )))\r\n );\r\n })\r\n );\r\n\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _onlineMenuService: Services.OnlineMenuService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","/* https://github.com/pmiatkowski/angularNgrx/blob/master/src/app/state/effects/currency.effects.ts */\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport { ModalsService } from '@shared/core/services/modals.shared.service';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { switchMap, takeWhile, delay, map, filter, withLatestFrom, auditTime } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ModalEffects {\r\n private _animationTimeout: number = this._config && (this._config.modals || this._config.modals.animateTimeout) ? this._config.modals.animateTimeout : 500;\r\n\r\n @Effect() public closeAllModalsWithExeptionTypes$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalCloseAll,\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getAllModals)),\r\n ),\r\n switchMap(([action, modals]) => {\r\n return modals.filter(modal => {\r\n if (action.typesExcludedFromClosing.includes(modal.type)) {\r\n return false;\r\n }\r\n return true;\r\n }).map(modal => action.animation === StateModels.MODAL_ANIMATION.OUT ? actions.ModalRequestClose(modal.id) : actions.ModalClose({ id: modal.id }));\r\n }),\r\n );\r\n\r\n @Effect({ dispatch: false }) public onModalAnyAction$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalOpen,\r\n actions.ModalRequestClose,\r\n actions.ModalBackgroundClicked,\r\n actions.ModalAnimate,\r\n actions.ModalClose,\r\n ),\r\n takeWhile(() => this._config.modals && this._config.modals.preventGlobalScroll),\r\n auditTime(0),\r\n withLatestFrom(\r\n this._store.select(selectors.getAllModals),\r\n this._modalsSharedService.modalContainer$\r\n ),\r\n switchMap(([action, modals, container]) => {\r\n const isModalOpen: boolean = modals.length > 0;\r\n const isScrollVisible: boolean = document.body.clientHeight > window.innerHeight;\r\n\r\n if (isModalOpen) {\r\n /* When open */\r\n /* TODO! FIX TOPBAR tick WHEN OPENING AND CLOSING DUE TO POSITION:FIXED! */\r\n if (isScrollVisible && container) {\r\n container.nativeElement.style.overflowY = 'scroll';\r\n /* If any difference because scrollbar */\r\n const bodyWidth: number = document.body.clientWidth;\r\n const windowInnerWidth: number = window.innerWidth || window.outerWidth;\r\n const diff: number = windowInnerWidth - bodyWidth;\r\n\r\n if (diff) {\r\n document.body.style.paddingRight = `${diff}px`;\r\n }\r\n\r\n document.body.style.overflowY = 'hidden';\r\n\r\n }\r\n\r\n } else {\r\n /* When closed */\r\n if (container) {\r\n container.nativeElement.style.overflowY = null;\r\n }\r\n /* IE FIX - AOLO-208 */\r\n document.body.removeAttribute('style');\r\n }\r\n\r\n return never();\r\n })\r\n\r\n );\r\n\r\n @Effect() public onModalCloseRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ModalRequestClose),\r\n map(action => actions.ModalAnimate(action.modalId, StateModels.MODAL_ANIMATION.OUT)),\r\n );\r\n\r\n @Effect() public onModalAnimateOut$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ModalAnimate),\r\n filter(action => action.animation === StateModels.MODAL_ANIMATION.OUT),\r\n delay(this._animationTimeout),\r\n map(action => actions.ModalClose({ id: action.id }))\r\n );\r\n\r\n @Effect() public onModalBackgroundClick$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ModalBackgroundClicked),\r\n switchMap(action => {\r\n\r\n if (this._config.modals && this._config.modals.bgClickClose) {\r\n return of(actions.ModalRequestClose());\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _modalsSharedService: ModalsService,\r\n ) {\r\n }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { switchMap, withLatestFrom, skipWhile } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class TopBarEffects {\r\n @Effect() public onRouteChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ROUTER_NAVIGATION),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.getCurrentRoute),\r\n skipWhile(route => route === null),\r\n ),\r\n (action, route) => route\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config))\r\n )\r\n ),\r\n switchMap(([route, isOnLocationPage]) => {\r\n /*\r\n TODO:\r\n Cover more cases and show different back buttons\r\n */\r\n\r\n let showOrderMore: boolean = /(sign-in|sign-up|account\\/profile|checkout)/gi.test(route.url);\r\n let showCartIcon: boolean = !(/(checkout)/gi.test(route.url) || route.urlAfterRedirects === '/checkout/summary');\r\n return [\r\n actions.TopBarSetBackToStoreIconVisibility({ isVisible: showOrderMore }),\r\n actions.TopBarSetBackToLandingIconVisibility({ isVisible: isOnLocationPage }),\r\n actions.TopBarSetCartIconVisibility({ isVisible: showCartIcon }),\r\n ];\r\n })\r\n );\r\n\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { switchMap, withLatestFrom } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class StateEffects {\r\n @Effect() public saveState$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.StateSave\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getState)\r\n )\r\n ),\r\n switchMap(([action, state]) => {\r\n /* Fixing date objects - convert to timestamp */\r\n if (Utils.Storage.set(OLO.Enums.SESSION_STORAGE.STATE, this._cryptoService.encrypt(JSON.stringify(state)), 'sessionStorage')) {\r\n return of(actions.StateSaveSuccess());\r\n }\r\n\r\n return of(actions.StateSaveError());\r\n }),\r\n );\r\n\r\n @Effect() public restoreSavedState$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.StateRestore\r\n ),\r\n switchMap(({ setProps }) => {\r\n const stateEncrypted: string = Utils.Storage.getItem(OLO.Enums.SESSION_STORAGE.STATE, 'sessionStorage');\r\n\r\n const exit = (error: string) => {\r\n Utils.Storage.remove(OLO.Enums.SESSION_STORAGE.STATE, 'sessionStorage');\r\n console.error(error);\r\n return never();\r\n };\r\n\r\n if (!stateEncrypted) {\r\n return exit('#1 Unable to restore app state! Please check if www to non-www redirects are set properly both on domain and in provider\\'s settings');\r\n }\r\n\r\n const stateDecrypted: string = this._cryptoService.decrypt(stateEncrypted);\r\n if (!stateDecrypted) {\r\n return exit('#2 `Unable to read app state! There was a problem decrypting state: ' + stateEncrypted);\r\n }\r\n\r\n Utils.Storage.remove(OLO.Enums.SESSION_STORAGE.STATE, 'sessionStorage');\r\n\r\n try {\r\n const state: StateModels.IStateShared = JSON.parse(stateDecrypted);\r\n if (!state) {\r\n throw new Error('JSON invalid');\r\n }\r\n\r\n /* Fix dates */\r\n if (state.cart.pickupTime) {\r\n state.cart.pickupTime.Date = new Date(state.cart.pickupTime.Date);\r\n state.cart.pickupTime.PlaceOrderTimeout = new Date(state.cart.pickupTime.PlaceOrderTimeout);\r\n }\r\n\r\n if (state.currentLocation.pickupTime) {\r\n state.currentLocation.pickupTime.Date = new Date(state.currentLocation.pickupTime.Date);\r\n state.currentLocation.pickupTime.PlaceOrderTimeout = new Date(state.currentLocation.pickupTime.PlaceOrderTimeout);\r\n }\r\n\r\n if (state.availablePickups.length) {\r\n state.availablePickups = state.availablePickups.map(obj => {\r\n return {\r\n ...obj,\r\n data: obj.data.map(pickup => {\r\n return {\r\n ...pickup,\r\n Date: new Date(pickup.Date),\r\n PlaceOrderTimeout: new Date(pickup.PlaceOrderTimeout),\r\n };\r\n })\r\n };\r\n });\r\n }\r\n\r\n if (setProps !== null) {\r\n Object.keys(setProps).forEach(key => {\r\n state[key] = setProps[key];\r\n });\r\n }\r\n\r\n return of(actions.StateRestored({ state }));\r\n\r\n } catch (ex) {\r\n console.error(ex);\r\n return exit('Unable to rebuild app state!');\r\n }\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _cryptoService: Services.CryptoService,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, throwError, of, never, forkJoin } from 'rxjs';\r\nimport { catchError, switchMap, map, tap, withLatestFrom, filter, take, delay, auditTime, combineLatest } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class RouterEffects {\r\n @Effect({ dispatch: false }) public redirectToHomeOnSuccessfulSignIn$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MemberJwtDataResponseSuccess\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.isEmailConfirmationPage)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isResetPasswordPage)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isError404Page)\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.isCurrentRouteLoyalty)\r\n )\r\n ),\r\n switchMap(([action, isEmailConfrimationPage, isResetPasswordPage, isError404Page, isLoyaltyPage]) => {\r\n const isLoyaltyModeOnly = this._config.appMode === IAppMode.LOYALTY_ONLY;\r\n\r\n if (isLoyaltyPage && this._config.appMode !== IAppMode.ORDERING_ONLY) {\r\n this._routeService.navigateToProfileLoyaltyHome();\r\n return never();\r\n }\r\n\r\n if (isLoyaltyModeOnly\r\n || isEmailConfrimationPage\r\n || isResetPasswordPage\r\n || isError404Page\r\n ) {\r\n this._routeService.navigateToHomeView();\r\n }\r\n return never();\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _routeService: Services.RouteService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, Action, select } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, never, of, forkJoin } from 'rxjs';\r\nimport { switchMap, tap, mergeMap, withLatestFrom, take, map, filter } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ReorderEffects {\r\n private _activeModalsWithReordersRegistry: Map = new Map();\r\n\r\n @Effect() public setupModalAndRequestDataForReorder$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ReorderSetup\r\n ),\r\n tap(action => this._onlineOrdersService.reorderInitCalculations(action.orderId)),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentPickupTime)\r\n )\r\n ),\r\n switchMap(([action, pickupTime]) => {\r\n const modalId = action.modalId || new Date().getTime();\r\n this._modalsService.show({\r\n type: 'loading',\r\n id: modalId,\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n });\r\n\r\n this._activeModalsWithReordersRegistry.set(modalId, action.orderId);\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getReorder(action.orderId, action.locationNo, pickupTime)),\r\n filter(reorder => reorder !== null && reorder !== undefined && reorder.isDownloading === false),\r\n take(1),\r\n switchMap(reorder => {\r\n if (reorder.hasFailed || !reorder.data) {\r\n console.error(`There was an error during reorder calculations`, reorder);\r\n return never();\r\n }\r\n\r\n this._modalsService.swap(modalId, {\r\n type: 'reorder'\r\n });\r\n\r\n return never();\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() requestDataForReorder$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ReorderCalculateRequest),\r\n switchMap(action => {\r\n return this._store.select(selectors.getReorder(action.orderId, action.locationNo, action.pickupTime))\r\n .pipe(\r\n take(1),\r\n withLatestFrom(\r\n this._store.select(selectors.getCurrentMember),\r\n this._store.select(selectors.getCurrentPickupTime),\r\n this._store.select(selectors.getHistoryOrder(action.orderId)),\r\n ),\r\n switchMap(([reorder, member, currentPickupTime, order]) => {\r\n // if (reorder.data.cart || reorder.data.onlineMenu) return of(new actions.ReorderCalculateSuccessRequest(action.orderId, action.locationNo, action.pickupTime, reorder.data));\r\n\r\n if (!member || !currentPickupTime) {\r\n console.error(`Error in reorder recalc request. Member: ${member}, CurrentPickupTime ${currentPickupTime} - one of these params is not set`);\r\n return of(actions.ReorderCalculateErrorRequest({\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n pickupTime: action.pickupTime,\r\n ex: new Error(`Error in reorder recalc request. Member: ${member}, CurrentPickupTime ${currentPickupTime} - one of these params is not set`)\r\n }));\r\n }\r\n\r\n const onlineMenuRequestParams: APICommon.IOnlineMenuGetParams = {\r\n locationNo: action.locationNo,\r\n includePrices: true,\r\n memberId: member.MemberId,\r\n menuDate: currentPickupTime.DateLocalISO + 'Z',\r\n };\r\n\r\n const summary: StateModels.IReorderDetails = {\r\n onlineMenu: null,\r\n menuFlowsDetails: [],\r\n ingredients: [],\r\n\r\n errors: null,\r\n cart: null,\r\n };\r\n\r\n return this._onlineMenuService.getMenuPages(onlineMenuRequestParams)\r\n .pipe(\r\n mergeMap(onlineMenu => {\r\n summary.onlineMenu = { ...onlineMenu };\r\n /* Get details about each menuFlow */\r\n const menuFlowsRequests: Observable[] = [];\r\n const relevantMenuFlowsIds: number[] = order.data.MenuFlowActivations.map(menuFlowActivation => menuFlowActivation.MenuFlowId);\r\n\r\n onlineMenu.Pages.forEach(Page => {\r\n Page.Products.forEach(Product => {\r\n if (Product.MenuFlowId && relevantMenuFlowsIds.includes(Product.MenuFlowId)) {\r\n menuFlowsRequests.push(\r\n this._menuFlowsService.getMenuFlowDetailsForLocation(Product.MenuFlowId, action.locationNo)\r\n );\r\n }\r\n });\r\n });\r\n\r\n if (!menuFlowsRequests.length) {\r\n if (this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false) {\r\n summary.ingredients = [];\r\n }\r\n\r\n const finalPayload = Utils.OnlineOrders.covertOrderToCart(order.data, summary.onlineMenu, summary.menuFlowsDetails, summary.ingredients, currentPickupTime);\r\n\r\n return of(actions.ReorderCalculateSuccessRequest({\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n pickupTime: action.pickupTime,\r\n payload: {\r\n ...summary,\r\n cart: finalPayload.cart,\r\n errors: finalPayload.errors,\r\n }\r\n }));\r\n }\r\n\r\n return forkJoin(menuFlowsRequests)\r\n .pipe(\r\n mergeMap((menuFlowsDetails) => {\r\n summary.menuFlowsDetails = [...menuFlowsDetails];\r\n /* Get details about upsells */\r\n const upsellMenuflowsRequsts = [];\r\n\r\n menuFlowsDetails.forEach((MenuFlow: APIv1.MenuFlowDetailsModel) => {\r\n if (MenuFlow.UpsellMenuFlowId) {\r\n upsellMenuflowsRequsts.push(\r\n this._menuFlowsService.getMenuFlowDetailsForLocation(MenuFlow.UpsellMenuFlowId, action.locationNo)\r\n );\r\n }\r\n });\r\n\r\n return (upsellMenuflowsRequsts.length ? forkJoin(upsellMenuflowsRequsts) : of([]))\r\n .pipe(\r\n mergeMap(upsellsMenuFlowDetails => {\r\n summary.menuFlowsDetails = [\r\n ...summary.menuFlowsDetails,\r\n ...upsellsMenuFlowDetails as APIv1.MenuFlowDetailsModel[],\r\n ];\r\n\r\n /* Get ingredients for all products in menuflows */\r\n let productIds = [];\r\n\r\n summary.menuFlowsDetails.forEach(MenuFlow => {\r\n const currentMenuFlowProductIds = this._menuFlowsService.getFlatProductsFromMenuFlow(MenuFlow).map(Product => Product.ProductId);\r\n productIds = [...productIds, ...currentMenuFlowProductIds];\r\n });\r\n const unduplicatedProductIds = Array.from(new Set(productIds));\r\n /*\r\n Warning - when there are too many IDS, API endpoint will return 404 ERROR. This might need some refactor\r\n */\r\n return this._productsService.getIngredientsForLocationExtended(action.locationNo, ...unduplicatedProductIds)\r\n .pipe(\r\n map(ingredients => {\r\n summary.ingredients = [...ingredients];\r\n\r\n if (this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false) {\r\n summary.ingredients = [];\r\n }\r\n\r\n const finalPayload: OLO.Ordering.IOnlineOrder2CartConverter = Utils.OnlineOrders.covertOrderToCart(order.data, summary.onlineMenu, summary.menuFlowsDetails, summary.ingredients, currentPickupTime);\r\n\r\n return actions.ReorderCalculateSuccessRequest({\r\n orderId: action.orderId,\r\n locationNo: action.locationNo,\r\n pickupTime: action.pickupTime,\r\n payload: {\r\n ...summary,\r\n cart: finalPayload.cart,\r\n errors: finalPayload.errors,\r\n }\r\n });\r\n })\r\n );\r\n\r\n })\r\n );\r\n })\r\n );\r\n\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public cleanupAfterReorderModalsIsClosed$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalClose,\r\n actions.ModalCloseAll,\r\n ),\r\n switchMap(action => {\r\n if (action.type === actions.ModalClose.type) {\r\n const orderId = this._activeModalsWithReordersRegistry.get(action.id);\r\n\r\n if (orderId) {\r\n return of(actions.ReorderUnmount({ orderId }));\r\n }\r\n\r\n return never();\r\n }\r\n\r\n this._activeModalsWithReordersRegistry.clear();\r\n return of(actions.ReorderUnmount({}));\r\n })\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _onlineMenuService: Services.OnlineMenuService,\r\n private _menuFlowsService: Services.MenuFlowsService,\r\n private _productsService: Services.ProductsService,\r\n private _modalsService: Services.ModalsService,\r\n private _onlineOrdersService: Services.OnlineOrdersService,\r\n ) { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap, map, catchError, switchMap, withLatestFrom, skipWhile, take } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ProductImagesEffects {\r\n @Effect() requestProductsImagesForMountedMenuFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.MenuFlowsDetailsSuccessRequest\r\n ),\r\n /* AOLO-345 */\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(action.menuFlowId, action.locationNo)),\r\n skipWhile(menuFlow => menuFlow === undefined || menuFlow === null || menuFlow.isDownloading === true || menuFlow.data === null || menuFlow.hasFailed === true),\r\n take(1),\r\n withLatestFrom(\r\n this._store.select('productImages')\r\n ),\r\n switchMap(([menuFlow, images]) => {\r\n\r\n let productIds: number[] = menuFlow.data.Pages.reduce((acc, page) => {\r\n return acc.concat(page.Products.map(product => product.ProductId));\r\n }, []);\r\n\r\n const filtered: number[] = productIds.filter(productId => !images.find(image => image.ProductId === productId && (image.isDownloading || image.hasSucceeded)));\r\n\r\n return of(actions.ProductImagesRequest({ params: { width: 100, height: 100, }, productIds: filtered }));\r\n })\r\n );\r\n }),\r\n );\r\n\r\n @Effect() onRequestProductImages$: Observable = this._actions$\r\n .pipe(\r\n ofType(actions.ProductImagesRequest),\r\n mergeMap(({ params, productIds }) => {\r\n if (productIds.length === 0) return [actions.ProductImagesSuccessRequest({ payload: [], productIds: [] })];\r\n\r\n return this._imagesService.getProductImages(params, ...productIds)\r\n .pipe(\r\n map((payload: APIv1.ImageUrlModel[]) => actions.ProductImagesSuccessRequest({ payload, productIds })),\r\n catchError(ex => of(actions.ProductImagesErrorRequest({ ex, productIds })))\r\n );\r\n\r\n }),\r\n );\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Action, Store, select } from '@ngrx/store';\r\nimport { Effect, Actions, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as StateModels from '../interface';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport { Observable, of, never } from 'rxjs';\r\nimport { delay, tap, exhaustMap, switchMap, map, filter, skipWhile, take, withLatestFrom, combineLatest, pairwise } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class WizzardEffects {\r\n private readonly _queryModalIds: number[] = [];\r\n\r\n @Effect() public cancelWizzard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardCancel\r\n ),\r\n switchMap(action => {\r\n this._modalsService.close(action.modalId);\r\n return of(actions.WizzardUnmountAll());\r\n })\r\n );\r\n\r\n @Effect() public initWizzardFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardSetupItem\r\n ),\r\n switchMap(action => {\r\n /* MenuFlow */\r\n if (action.item.MenuFlowId) return of(actions.WizzardStepMenuFlowInit(action.locationNo, action.item, action.modalId));\r\n\r\n /* Simple item */\r\n if (!action.item.hasOwnProperty('_Id')) {\r\n /* New */\r\n return of(\r\n actions.WizzardStepSimpleItemMount(Utils.Items.convertToSanitizedSimpleItem({ ...action.item }, action.locationNo), action.modalId)\r\n );\r\n }\r\n\r\n /* Edit */\r\n return of(\r\n actions.WizzardStepSimpleItemMount(\r\n Utils.Items.convertToSanitizedSimpleItem(action.item as StateModels.ICartSimpleItem),\r\n action.modalId\r\n )\r\n );\r\n })\r\n );\r\n\r\n @Effect({ dispatch: false }) public showModalForSimpleItem$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepSimpleItemMount\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getAllModals)\r\n )\r\n ),\r\n switchMap(([{ item, modalId }, modals]) => {\r\n if (modalId && modals.find(obj => obj.id === modalId)) {\r\n this._modalsService.swap(modalId, {\r\n type: 'product',\r\n locationNo: item.LocationNo,\r\n menuFlowId: item.MenuFlowId,\r\n isLoading: false,\r\n\r\n });\r\n } else {\r\n this._modalsService.show({\r\n id: modalId || null,\r\n type: 'product',\r\n locationNo: item.LocationNo,\r\n productId: item.ProductId,\r\n });\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public stepInitMenuFlowWizzard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowInit,\r\n ),\r\n switchMap(action => {\r\n const modalMenuFlowPreSetup = () => {\r\n const modalId: number = action.modalId ? action.modalId : new Date().getTime() + Math.floor(Math.random() * 1000);\r\n\r\n this._modalsService.show({\r\n id: modalId,\r\n type: 'loading',\r\n menuFlowId: action.item.MenuFlowId || null,\r\n locationNo: action.locationNo,\r\n });\r\n\r\n return of(\r\n actions.WizzardStepMenuFlowRequestData({ locationNo: action.locationNo, item: action.item, modalId })\r\n );\r\n };\r\n\r\n /* Check if item is edited - no need to check online menu - context is in cart's model */\r\n if (action.item.hasOwnProperty('_Id') && action.item['_Id']) {\r\n return modalMenuFlowPreSetup();\r\n }\r\n\r\n /* Wait for online menu to be downloaded - current location context */\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenu),\r\n filter(onlineMenu => onlineMenu.isDownloading === false && onlineMenu.data !== null),\r\n take(1),\r\n switchMap(onlineMenu => modalMenuFlowPreSetup())\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepSilentInitMenuFlowWizzard$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardSilentSetupItem,\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineMenu),\r\n filter(onlineMenu => onlineMenu.isDownloading === false && onlineMenu.data !== null),\r\n take(1),\r\n tap(() => {\r\n this._modalsService.show({\r\n id: -1,\r\n type: 'loading',\r\n menuFlowId: action.item.MenuFlowId || null,\r\n locationNo: action.locationNo,\r\n });\r\n }),\r\n switchMap(onlineMenu => of(\r\n actions.WizzardStepMenuFlowRequestData({ locationNo: action.locationNo, item: action.item, modalId: -1 })\r\n ))\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepRequestData$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowRequestData,\r\n ),\r\n tap(action => {\r\n this._store.dispatch(actions.MenuFlowsDetailsRequest({ menuFlowId: action.item.MenuFlowId, locationNo: action.locationNo }));\r\n }),\r\n delay(100),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(action.item.MenuFlowId, action.locationNo)),\r\n filter(menuFlow => menuFlow.data !== null && menuFlow.isDownloading === false && menuFlow.hasFailed === false),\r\n take(1),\r\n switchMap(menuFlow => {\r\n /* Edit */\r\n if ((action.item as StateModels.ICartMenuFlow)._Id) {\r\n return of(\r\n actions.WizzardStepMenuFlowMount({\r\n locationNo: action.locationNo,\r\n menuFlowId: action.item.MenuFlowId,\r\n item: action.item as StateModels.ICartMenuFlow,\r\n modalId: action.modalId\r\n }\r\n )\r\n );\r\n }\r\n\r\n /* New */\r\n return of(\r\n actions.WizzardStepMenuFlowActivateProducts({\r\n locationNo: action.locationNo,\r\n item: action.item,\r\n modalId: action.modalId\r\n }\r\n ),\r\n );\r\n }),\r\n );\r\n }),\r\n );\r\n\r\n @Effect() public stepActivateMenuFlowProducts$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowActivateProducts,\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n delay(100),\r\n select(selectors.getMenuFlow(action.item.MenuFlowId, action.locationNo)),\r\n combineLatest(\r\n this._store.pipe(select(selectors.isDownloadingAnyMenuFlowDefaultActivation)),\r\n this._store.pipe(select(selectors.isDownloadingAnyIngredientModifiers)),\r\n ),\r\n filter(([menuFlow, downloadingIngredients, downloadingActivations]) => downloadingIngredients === false && downloadingActivations === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getMenuFlowDefaultActivation(action.item.MenuFlowId))),\r\n this._store.select(selectors.getOnlineMenuItemById(action.item.MenuFlowId)),\r\n this._store.select(selectors.getIngredientsByLocationNo(action.locationNo))\r\n ),\r\n switchMap(([[menuFlow, downloadingIngredients, downloadingActivations], defaultActivations, onlineMenuItem, modifiers]) => {\r\n /* New */\r\n const menuFlowItem: StateModels.IWizzardMenuFlow = Utils.Items.createMenuFlowItemFromMenuFlowDetailsModel((menuFlow as StateModels.IMenuFlows).data, {\r\n MenuFlowId: action.item.MenuFlowId,\r\n LocationNo: action.locationNo as number,\r\n DisplayName: onlineMenuItem.DisplayName,\r\n Quantity: onlineMenuItem.MinQty || 1,\r\n DietaryTags: onlineMenuItem.DietaryTags,\r\n Tags: onlineMenuItem.Tags,\r\n Kilojoules: onlineMenuItem.Kilojoules,\r\n PosDisplay: onlineMenuItem.PosDisplay,\r\n PosDescription: onlineMenuItem.PosDescription,\r\n UnitTotalValue: null,\r\n UnitPrice: null,\r\n });\r\n\r\n /*\r\n Proper default activation\r\n */\r\n menuFlow.data.Pages.forEach(Page => {\r\n Page.Products.forEach(Product => {\r\n\r\n const canActivate: boolean = Product.State === 0 && Number.isInteger(Product.KioskAutoAddQty) && Product.KioskAutoAddQty > 0;\r\n if (canActivate) {\r\n\r\n const targetPage: StateModels.IWizzardMenuFlowPage = menuFlowItem.Pages.find(obj => obj.PageIdentifier === Page.PageIdentifier);\r\n if (targetPage) {\r\n const canUseModifiers = this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false ? false : true;\r\n const modifier = modifiers.find(obj => obj.ProductId === Product.ProductId && obj.data !== null);\r\n const product: StateModels.IWizzardMenuFlowItem = Utils.Items.generateWizzardMenuFlowItem(Product, modifier && modifier.data ? modifier.data : null, {\r\n Quantity: Product.KioskAutoAddQty,\r\n\r\n ...(canUseModifiers === true ? {} : {\r\n IngredientsChanges: {\r\n IngredientsModified: [],\r\n IngredientsAdded: [],\r\n IngredientsRemoved: [],\r\n IngredientsSwapped: [],\r\n }\r\n })\r\n\r\n });\r\n\r\n targetPage.Products.push(\r\n product\r\n );\r\n\r\n targetPage._AutoAddProducts.push({\r\n ...product\r\n });\r\n }\r\n }\r\n });\r\n });\r\n\r\n return of(\r\n actions.WizzardStepMenuFlowMount({\r\n locationNo: action.locationNo,\r\n menuFlowId: action.item.MenuFlowId,\r\n item: menuFlowItem,\r\n modalId: action.modalId\r\n }\r\n )\r\n );\r\n\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public stepMountMenuFlow$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowMount\r\n ),\r\n switchMap(action => {\r\n if (action.modalId && action.modalId !== -1) {\r\n this._modalsService.swap(action.modalId, {\r\n type: action.item.IsUpsell ? 'upsell' : Utils.MenuFlows.extractType(action.item.Tags),\r\n });\r\n\r\n return never();\r\n }\r\n\r\n /* Add as is scenario */\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlowDetailsByWizzard),\r\n take(1),\r\n tap(menuFlowDetails => {\r\n if (menuFlowDetails) {\r\n this._store.dispatch(actions.WizzardRecalculatePricesForMenuFlowRequest({ menuFlowDetails, wizzardMenuFlowDetails: action.item }));\r\n }\r\n }),\r\n switchMap(menuFlowDetails => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getWizzard),\r\n delay(10),\r\n filter(wizzard => wizzard.recalculatePrices.hasSucceeded === true),\r\n take(1),\r\n switchMap(wizzard => of(actions.CartSetup({ modalId: action.modalId, locationNo: wizzard.itemsMenuFlow.LocationNo, item: wizzard.itemsMenuFlow })))\r\n );\r\n }),\r\n );\r\n })\r\n );\r\n\r\n /* Upsell request is dispatched from cartEffects after cart and location valiation */\r\n @Effect() public onUpsellSetupRequest$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMenuFlowUpsellSetupRequest\r\n ),\r\n tap(({ menuFlowId, locationNo, modalId }) => {\r\n this._modalsService.swap(modalId, {\r\n type: 'loading',\r\n locationNo: locationNo,\r\n menuFlowId: menuFlowId,\r\n });\r\n\r\n this._store.dispatch(actions.MenuFlowsDetailsRequest({ menuFlowId, locationNo }));\r\n }),\r\n delay(50),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getMenuFlow(action.menuFlowId, action.locationNo)),\r\n combineLatest(\r\n this._store.pipe(select(selectors.isDownloadingAnyMenuFlowDefaultActivation)),\r\n this._store.pipe(select(selectors.isDownloadingAnyIngredientModifiers)),\r\n this._store.pipe(select(selectors.wizzardRecalculatePricesObj))\r\n ),\r\n filter(([menuFlow, isDownloadingAnyMenuFlowDefaultActivation, isDownloadingAnyIngredientModifiers, recalculatePrices]) => menuFlow.isDownloading === false\r\n && menuFlow.data !== null\r\n && isDownloadingAnyIngredientModifiers === false\r\n && isDownloadingAnyMenuFlowDefaultActivation === false\r\n && recalculatePrices.isCalculating !== true && recalculatePrices.hasSucceeded !== true\r\n ),\r\n take(1),\r\n switchMap(([menuFlow]) => {\r\n const item: StateModels.IWizzardMenuFlow = Utils.Items.createMenuFlowItemFromMenuFlowDetailsModel(menuFlow.data, {\r\n IsUpsell: true,\r\n _Id: null,\r\n LocationNo: action.locationNo,\r\n Quantity: 1,\r\n PosDisplay: menuFlow.data.MenuFlowDescription || menuFlow.data.MenuFlowName,\r\n PosDescription: menuFlow.data.MenuFlowDescription || menuFlow.data.MenuFlowName,\r\n UnitTotalValue: null,\r\n UnitPrice: menuFlow.data.OverridePrice || 0,\r\n });\r\n\r\n return of(\r\n actions.WizzardMountMenuFlowUpsell({ item, modalId: action.modalId })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public setWizzardForUpsell$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMountMenuFlowUpsell,\r\n ),\r\n switchMap(action => {\r\n this._modalsService.swap(action.modalId, {\r\n type: 'upsell',\r\n });\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public onWizzardProductSelectedActivateDefaultModifier$ = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMenuFlowAddProduct\r\n ),\r\n withLatestFrom(\r\n this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow)\r\n )\r\n ),\r\n switchMap(([action, wizzardMenuFlow]) => {\r\n const pageIdentifier = action.pageIdentifier;\r\n const productId = action.product.ProductId;\r\n const locationNo = wizzardMenuFlow.LocationNo;\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.getIngredientsForProduct(productId, locationNo)),\r\n skipWhile(ingredient => ingredient === undefined),\r\n filter(ingredient => ingredient.hasSucceeded === true && ingredient.data !== null && ingredient.data.Ingredients !== null && ingredient.data.Ingredients.length !== 0),\r\n take(1),\r\n map(ingredient => ({\r\n ingredient: ingredient.data.Ingredients[0],\r\n pageIdentifier,\r\n product: action.product,\r\n wizzardMenuFlow,\r\n }))\r\n );\r\n }),\r\n switchMap(({ ingredient, pageIdentifier, product, wizzardMenuFlow }) => {\r\n /* TODO!!!! What to do if modifier is optional? For now, just select first */\r\n if (this._config.onlineOrders && this._config.onlineOrders.allowModifiers === false) return never();\r\n\r\n // Model has changed, there is no IsOptional flag in our api model\r\n // if (ingredient.IsOptional || !ingredient.IsOptional) {\r\n // return of(actions.WizzardMenuFlowSelectModifier({ modifier: ingredient.Modifiers[0], pageIdentifier, productId: product.ProductId }));\r\n // }\r\n if (ingredient) {\r\n return of(actions.WizzardMenuFlowSelectModifier({ modifier: ingredient.Modifiers[0], pageIdentifier, productId: product.ProductId }));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n\r\n @Effect() public requestPricesUpdateWizzardMenuFlowPricesOnChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardStepMenuFlowMount,\r\n actions.WizzardMenuFlowSpecialInstructions,\r\n actions.WizzardMenuFlowRemoveProduct,\r\n actions.WizzardMenuFlowAddProduct,\r\n actions.WizzardMenuFlowProductIncrement,\r\n actions.WizzardMenuFlowProductDecrement,\r\n actions.WizzardMenuFlowIncrement,\r\n actions.WizzardMenuFlowDecrement,\r\n actions.WizzardMenuFlowSelectModifier,\r\n\r\n actions.WizzardMountMenuFlowUpsell,\r\n // actions.WizzardMenuFlowUpsellSetupRequest,\r\n actions.WizzardMenuFlowReplaceAllWithNew,\r\n ),\r\n switchMap(() => this._store\r\n .pipe(\r\n select(selectors.getWizzardMenuFlow),\r\n filter(wizzardMenuFlow => wizzardMenuFlow !== null && wizzardMenuFlow !== undefined),\r\n take(1),\r\n switchMap(wizzardMenuFlow => {\r\n\r\n return this._store.select(selectors.getMenuFlow(wizzardMenuFlow.MenuFlowId, wizzardMenuFlow.LocationNo))\r\n .pipe(\r\n filter(menuFlow => menuFlow !== null && menuFlow !== undefined && menuFlow.hasSucceeded === true && menuFlow.data !== null),\r\n take(1),\r\n map(menuFlow => {\r\n return actions.WizzardRecalculatePricesForMenuFlowRequest({ menuFlowDetails: menuFlow.data, wizzardMenuFlowDetails: wizzardMenuFlow });\r\n // return actions.WizzardRecalculatePricesForMenuFlowSuccessRequest({ priceObj: Utils.Pricing.calculatePricesFroMenuFlow(menuFlow.data, wizzardMenuFlow) });\r\n }),\r\n );\r\n }),\r\n )\r\n ),\r\n );\r\n\r\n @Effect() public updatePricesWizzardMenuFlowDetaisl$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardRecalculatePricesForMenuFlowRequest\r\n ),\r\n switchMap(({ menuFlowDetails, wizzardMenuFlowDetails }) => {\r\n const priceObj: OLO.Ordering.IPricingMenuFlow = Utils.Pricing.calculatePricesFroMenuFlow(menuFlowDetails, wizzardMenuFlowDetails);\r\n\r\n if (priceObj.HasErrors) {\r\n console.error('Adding to cart menu flow with bad price setup has been disabled');\r\n return of(\r\n actions.WizzardRecalculatePricesForMenuFlowErrorRequest({ menuFlowDetails, wizzardMenuFlowDetails, ex: 'Setup issue' })\r\n );\r\n }\r\n\r\n return of(\r\n actions.WizzardRecalculatePricesForMenuFlowSuccessRequest({ menuFlowDetails, wizzardMenuFlowDetails, priceObj })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public validateErrorsOnWizzardChange$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.WizzardMenuFlowRemoveProduct,\r\n actions.WizzardMenuFlowAddProduct,\r\n actions.WizzardMenuFlowProductIncrement,\r\n actions.WizzardMenuFlowProductDecrement,\r\n actions.WizzardMenuFlowIncrement,\r\n actions.WizzardMenuFlowDecrement,\r\n ),\r\n withLatestFrom(\r\n this._store.select(selectors.getWizzardErrors),\r\n this._store.select(selectors.getMenuFlowDetailsByWizzard),\r\n this._store.select(selectors.getWizzardMenuFlow),\r\n ),\r\n switchMap(([action, errors, menuFlow, wizzardMenuFlow]) => {\r\n if (errors && errors.length > 0) {\r\n return of(actions.WizzardValidate({ errors: this._wizzardService.validateWizzardItems(menuFlow, wizzardMenuFlow) }));\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n @Effect() public openWizzardByUrlParams$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.OnlineMenuPagesSuccessRequest\r\n ),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentLocationNo),\r\n filter(location => location !== undefined),\r\n take(1),\r\n )\r\n ),\r\n switchMap(([action, locationNo]) => {\r\n return this._store\r\n .pipe(\r\n select(selectors.canOrderFromLocation(locationNo, this._config)),\r\n filter(canOrder => canOrder !== null),\r\n take(1),\r\n combineLatest(\r\n this._store\r\n .pipe(\r\n select(selectors.routeIsLocationDetailsPage(this._config)),\r\n filter(isLocationDetailsView => isLocationDetailsView !== null),\r\n take(1),\r\n ),\r\n this._store\r\n .pipe(\r\n select(selectors.getCurrentRouteQueryParams),\r\n take(1),\r\n )\r\n\r\n ),\r\n switchMap(([canOrder, isLocationDetailsView, params]) => {\r\n const exit = () => {\r\n if (params && isLocationDetailsView && action.locationNo === locationNo) {\r\n this._queryParamsService.clearQueryParams('menuFlowId', 'productId', 'menuflowId', 'menuflowid', 'productid');\r\n }\r\n return never();\r\n };\r\n if (!canOrder || !locationNo || !isLocationDetailsView || !params || Object.keys(params).length === 0 || action.locationNo !== locationNo) return exit();\r\n\r\n const transformedParams: { menuflowid?: number; productid?: number; } = {};\r\n Object.keys(params).forEach(param => {\r\n transformedParams[param.toLowerCase()] = +params[param];\r\n });\r\n\r\n const menuFlowId: number = transformedParams.menuflowid || null;\r\n const productId: number = transformedParams.productid || null;\r\n\r\n if (!menuFlowId && !productId) return exit();\r\n\r\n let product: StateModels.ICartMenuFlow | StateModels.ICartSimpleItem | APIv1.OnlineMenuProductResponseModel = null;\r\n for (let i = 0, j = action.payload.Pages.length; i < j; i++) {\r\n if (product) break;\r\n\r\n const page: APIv1.OnlineMenuPageResponseModel = action.payload.Pages[i];\r\n for (let k = 0, l = page.Products.length; k < l; k++) {\r\n if (product) break;\r\n\r\n const pageProduct = page.Products[k];\r\n if (menuFlowId && pageProduct.MenuFlowId === menuFlowId) {\r\n product = pageProduct;\r\n break;\r\n }\r\n\r\n if (productId && pageProduct.ProductId === productId) {\r\n product = pageProduct;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (!product) return exit();\r\n\r\n const modalId: number = Math.floor(Math.random() * 1000000) + new Date().getTime();\r\n this._queryModalIds.push(modalId);\r\n\r\n return of(actions.WizzardSetupItem(locationNo, product, modalId));\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public removeQueryParamsOnQueryModalClose$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.ModalClose,\r\n actions.ModalCloseAll,\r\n ),\r\n switchMap(action => {\r\n let unmountWizzard: boolean = false;\r\n\r\n if (this._queryModalIds.length) {\r\n if (action.type === actions.ModalCloseAll.type) {\r\n unmountWizzard = true;\r\n this._queryModalIds.length = 0;\r\n } else {\r\n const index = this._queryModalIds.indexOf(action.id);\r\n if (index !== -1) {\r\n unmountWizzard = true;\r\n this._queryModalIds.splice(index, 1);\r\n }\r\n }\r\n }\r\n\r\n if (unmountWizzard) {\r\n this._queryParamsService.clearQueryParams('menuFlowId', 'productId');\r\n return of(actions.WizzardUnmountAll());\r\n }\r\n\r\n return never();\r\n })\r\n );\r\n\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _actions$: Actions,\r\n private _store: Store,\r\n private _modalsService: Services.ModalsService,\r\n private _wizzardService: Services.WizzardService,\r\n private _queryParamsService: Services.QueryParamsService,\r\n ) { }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\nimport { Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as selectors from '../selectors';\r\nimport * as actions from '../actions';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\nimport * as Services from '@shared/core/services';\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { catchError, exhaustMap, map, withLatestFrom, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class VenueImagesEffects {\r\n @Effect() public requestImagesForVenues$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.VenueImagesRequest\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(\r\n select(\r\n selectors.getAllVenueImages\r\n )\r\n )\r\n ),\r\n exhaustMap(([action, images]) => {\r\n const { imageType, height, width, ids } = action;\r\n let targetImageType: string = Utils.Images.toImageTypeString(imageType);\r\n /*\r\n Prevent from redownloading same image\r\n */\r\n const imagesFiltered = {\r\n downloaded: [],\r\n required: [],\r\n };\r\n\r\n ids.forEach(id => {\r\n const img = images[targetImageType].find(obj => obj.Id === id);\r\n\r\n if (img.data) {\r\n imagesFiltered.downloaded.push(img);\r\n } else {\r\n imagesFiltered.required.push(img.Id);\r\n }\r\n });\r\n\r\n if (imagesFiltered.downloaded.length) {\r\n this._store.dispatch(actions.VenueImagesSuccessRequest({ imageType, ids: imagesFiltered.downloaded.map(img => img.Id), payload: imagesFiltered.downloaded }));\r\n }\r\n\r\n return this._imagesService.getVenueImagesByType({ imageType, height, width }, ...imagesFiltered.required)\r\n .pipe(\r\n switchMap(payload => {\r\n if (this._config.predownloadImages && this._config.predownloadImages.forVenue) {\r\n return forkJoin(\r\n ...payload.map(img => this._imagesService.preloadImageInMemory(img.ImageUrl)),\r\n ).pipe(\r\n map(() => {\r\n return actions.VenueImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload });\r\n }),\r\n );\r\n }\r\n\r\n return of(actions.VenueImagesSuccessRequest({ imageType, ids: imagesFiltered.required, payload }));\r\n\r\n }),\r\n catchError(ex => of(actions.VenueImagesErrorRequest({ imageType, ids: imagesFiltered.required, ex })))\r\n );\r\n }\r\n\r\n )\r\n );\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) private _config: IConfig,\r\n private _store: Store,\r\n private _actions$: Actions,\r\n private _imagesService: Services.ImagesService,\r\n ) { }\r\n}\r\n","import { Subscriber } from '../Subscriber';\nexport function takeWhile(predicate, inclusive = false) {\n return (source) => source.lift(new TakeWhileOperator(predicate, inclusive));\n}\nclass TakeWhileOperator {\n constructor(predicate, inclusive) {\n this.predicate = predicate;\n this.inclusive = inclusive;\n }\n call(subscriber, source) {\n return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));\n }\n}\nclass TakeWhileSubscriber extends Subscriber {\n constructor(destination, predicate, inclusive) {\n super(destination);\n this.predicate = predicate;\n this.inclusive = inclusive;\n this.index = 0;\n }\n _next(value) {\n const destination = this.destination;\n let result;\n try {\n result = this.predicate(value, this.index++);\n }\n catch (err) {\n destination.error(err);\n return;\n }\n this.nextOrComplete(value, result);\n }\n nextOrComplete(value, predicateResult) {\n const destination = this.destination;\n if (Boolean(predicateResult)) {\n destination.next(value);\n }\n else {\n if (this.inclusive) {\n destination.next(value);\n }\n destination.complete();\n }\n }\n}\n//# sourceMappingURL=takeWhile.js.map","import { MetaReducer, Action } from '@ngrx/store';\r\nimport { IStateShared } from './interface';\r\n\r\nimport { __devMetaReducer } from './dev/dev.meta-reducers';\r\nimport { resetMetaReducer } from './reset/reset.meta-reducers';\r\n// import { routerMetaReducer } from './router/router.meta-reducers';\r\nimport { stateMetaReducer } from './state/state.meta-reducer';\r\n\r\nexport {\r\n __devMetaReducer,\r\n resetMetaReducer,\r\n // routerMetaReducer,\r\n stateMetaReducer,\r\n};\r\n\r\nexport const stateMetaReducers: MetaReducer[] = [\r\n __devMetaReducer,\r\n resetMetaReducer,\r\n // routerMetaReducer,\r\n stateMetaReducer,\r\n];\r\n","import { ActionReducer, Action } from '@ngrx/store';\r\nimport * as StateModels from '../interface';\r\n\r\nimport * as actions from './dev.actions';\r\n\r\nexport function __devMetaReducer(reducer: ActionReducer): ActionReducer {\r\n return function newReducer(state: StateModels.IStateShared, action: Action): StateModels.IStateShared {\r\n\r\n switch (action.type) {\r\n case '[__DevSetState] Set state':\r\n return {\r\n ...state,\r\n ...(action as any).state,\r\n };\r\n\r\n default: {\r\n return reducer(state, action);\r\n }\r\n }\r\n };\r\n}\r\n","import { ActionReducer, Action } from '@ngrx/store';\r\nimport * as StateModels from '../interface';\r\n\r\nexport function resetMetaReducer(reducer: ActionReducer): ActionReducer {\r\n return function (state: StateModels.IStateShared, action: Action): StateModels.IStateShared {\r\n switch (action.type) {\r\n case 'RESET':\r\n return reducer(undefined, action);\r\n\r\n default: {\r\n return reducer(state, action);\r\n }\r\n }\r\n };\r\n}\r\n","import { ActionReducer, Action } from '@ngrx/store';\r\nimport * as StateModels from '../interface';\r\n\r\n/* This meta reducer should be attached directly into root Store */\r\n\r\nexport function stateMetaReducer(reducer: ActionReducer): ActionReducer {\r\n return function newReducer(state: StateModels.IStateShared, action: Action): StateModels.IStateShared {\r\n\r\n switch (action.type) {\r\n case '[State] Restored':\r\n return { ...(action as any).state };\r\n\r\n default: {\r\n return reducer(state, action);\r\n }\r\n }\r\n };\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './app-settings.actions';\r\n\r\nimport { IAppSettings } from './app-settings.interface';\r\n\r\nconst initialState: IAppSettings = {\r\n isOnline: true,\r\n hasInitialized: false,\r\n locationMode: null,\r\n deviceType: null,\r\n apiSettings: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n};\r\n\r\nexport function appSettingsReducer(state: IAppSettings | undefined, action: Action) {\r\n return createReducer(\r\n initialState,\r\n on(\r\n actions.AppSettingsSetOnlineStatus,\r\n (state, action) => ({\r\n ...state,\r\n isOnline: action.online,\r\n })\r\n ),\r\n on(\r\n actions.AppSettingsRequest,\r\n state => ({\r\n ...state,\r\n apiSettings: {\r\n ...state.apiSettings,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.AppSettingsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n apiSettings: {\r\n ...state.apiSettings,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.AppSettingsErrorRequest,\r\n state => ({\r\n ...state,\r\n apiSettings: {\r\n ...state.apiSettings,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.SetApplicationInitFlag,\r\n state => ({\r\n ...state,\r\n hasInitialized: true,\r\n })\r\n ),\r\n on(\r\n actions.SetApplicationMode,\r\n (state, action) => ({\r\n ...state,\r\n locationMode: action.mode,\r\n })\r\n ),\r\n on(\r\n actions.SetDeviceType,\r\n (state, { deviceType }) => ({\r\n ...state,\r\n deviceType,\r\n })\r\n )\r\n )(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './available-pickups.actions';\r\nimport { IAvailablePickup } from './available-pickups.interface';\r\n\r\nconst initialState: IAvailablePickup[] = [];\r\n\r\nexport const availablePickupsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.AvailablePickupsCalculateRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.locationNo === action.locationNo);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n locationNo: action.locationNo,\r\n isCalculating: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isCalculating: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.AvailablePickupsCalculateSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isCalculating: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n data: action.payload,\r\n calculatedDate: new Date().getTime(),\r\n };\r\n }\r\n return obj;\r\n }),\r\n ),\r\n on(\r\n actions.AvailablePickupsCalculateErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isCalculating: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n })\r\n )\r\n);\r\n\r\nexport function availablePickupsReducer(state: IAvailablePickup[] | undefined, action: Action) {\r\n return availablePickupsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './cart.actions';\r\n\r\nimport { ICart } from './cart.interface';\r\n\r\nimport * as State from '@shared/state/interface';\r\n\r\nconst initialState: ICart = {\r\n locationNo: null,\r\n pickupTime: null,\r\n onlineMenu: null,\r\n itemsMenuFlow: [],\r\n itemsSimple: [],\r\n // pendingCartClear: false,\r\n};\r\n\r\nexport const cartReducerFn = createReducer(\r\n initialState,\r\n\r\n on(\r\n actions.CartLoad,\r\n (state, action) => {\r\n let json = action.cart;\r\n if (!json) return {\r\n ...state,\r\n };\r\n /* Convert string dates to object dates */\r\n if (json.pickupTime && json.pickupTime.Date && json.pickupTime.PlaceOrderTimeout) {\r\n json = {\r\n ...json,\r\n pickupTime: {\r\n ...json.pickupTime,\r\n Date: new Date(json.pickupTime.Date),\r\n PlaceOrderTimeout: new Date(json.pickupTime.PlaceOrderTimeout),\r\n }\r\n };\r\n }\r\n\r\n return json;\r\n }\r\n ),\r\n on(\r\n actions.CartSetOnlineMenu,\r\n (state, action) => ({\r\n ...state,\r\n onlineMenu: JSON.parse(JSON.stringify(action.onlineMenu)),\r\n })\r\n ),\r\n on(\r\n actions.CartSetPickupTime,\r\n (state, action) => ({\r\n ...state,\r\n pickupTime: {\r\n ...action.pickupTime,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CartSetLocationNo,\r\n (state, action) => ({\r\n ...state,\r\n locationNo: action.locationNo\r\n })\r\n ),\r\n // on(\r\n // actions.CartSetPendingClear,\r\n // (state, action) => ({\r\n // ...state,\r\n // pendingCartClear: true,\r\n // })\r\n // ),\r\n on(\r\n actions.CartReset,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: [],\r\n itemsSimple: [],\r\n // pendingCartClear: false,\r\n\r\n /* Here? */\r\n pickupTime: null,\r\n locationNo: null,\r\n onlineMenu: null,\r\n })\r\n ),\r\n on(\r\n actions.CartRemoveAllItems,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: [],\r\n itemsSimple: [],\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemAdd,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const newItemsArray = state.itemsSimple.map((obj: State.ICartSimpleItemExtended) => {\r\n if (obj.Plu === action.item.Plu && obj.UnitPrice === action.item.UnitPrice && obj.SpecialInstructions === action.item.SpecialInstructions) {\r\n found = true;\r\n return {\r\n ...obj,\r\n Quantity: obj.Quantity + action.item.Quantity,\r\n };\r\n }\r\n\r\n return obj;\r\n });\r\n\r\n if (!found) {\r\n newItemsArray.push({\r\n ...action.item\r\n });\r\n }\r\n\r\n return {\r\n ...state,\r\n itemsSimple: newItemsArray\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CartSimpleItemUpdate,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.map(item => {\r\n if (item._Id === action.item._Id) {\r\n return {\r\n ...item,\r\n ...action.item,\r\n };\r\n }\r\n\r\n return item;\r\n }),\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemRemove,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.filter(item => item._Id !== action.tempItemId)\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.map(item => {\r\n if (item._Id === action.tempItemId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity - action.changeValue,\r\n };\r\n }\r\n\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartSimpleItemIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: state.itemsSimple.map(item => {\r\n if (item._Id === action.tempItemId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity + action.changeValue,\r\n };\r\n }\r\n\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowAdd,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: [\r\n ...state.itemsMenuFlow,\r\n {\r\n ...action.item,\r\n }\r\n ]\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowUpdate,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.map(item => {\r\n if (item._Id === action.item._Id) {\r\n return {\r\n ...item,\r\n ...action.item,\r\n };\r\n }\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowRemove,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.filter(item => item._Id !== action.tempId),\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.map(item => {\r\n if (item._Id === action.tempId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity - action.changeValue,\r\n };\r\n }\r\n return item;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CartMenuFlowIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: state.itemsMenuFlow.map(item => {\r\n if (item._Id === action.tempId) {\r\n return {\r\n ...item,\r\n Quantity: item.Quantity + action.changeValue,\r\n };\r\n }\r\n return item;\r\n })\r\n })\r\n ),\r\n);\r\n\r\nexport function cartReducer(state: ICart | undefined, action: Action) {\r\n return cartReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './cart-popup.actions';\r\n\r\nimport { ICartPopup } from './cart-popup.interface';\r\n\r\nconst initialState: ICartPopup = {\r\n isVisible: false,\r\n animation: null,\r\n};\r\n\r\nexport function cartPopupReducer(state: ICartPopup | undefined, action: Action) {\r\n return createReducer(\r\n initialState,\r\n on(\r\n actions.SetCartPopup,\r\n (state, action) => ({\r\n ...state,\r\n ...action.options,\r\n })\r\n ),\r\n )(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ICreditCards } from './credit-cards.interface';\r\nimport * as actions from './credit-cards.actions';\r\n\r\nconst initialState: ICreditCards = {\r\n activeCardId: null,\r\n activeCardToken: null,\r\n activeCardRedirectUrl: null,\r\n sessionToken: null,\r\n showAddCardForm: false, /* WARNING! This is just to show cc form on UI! Shouldn't be here!!! Boldman's idea. I've renamed it to showAddCardForm from isAddingNewCard */\r\n data: [],\r\n download: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n },\r\n add: {\r\n isAdding: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n remove: {\r\n id: null,\r\n isRemoving: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n removedDate: null,\r\n },\r\n token: {\r\n isGettingToken: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n validation: { /* Required card validation after payment express rediredc return */\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n};\r\n\r\nexport const creditCardReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.CreditCardsClearAllUnsavedCards,\r\n state => ({\r\n ...state,\r\n data: state.data.filter(obj => !(obj._SaveAwait === true && obj.Id === null) && !(obj.Id === null && obj.Token === null)),\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsStateReset,\r\n (state, action) => ({\r\n ...state,\r\n ...JSON.parse(JSON.stringify(initialState))\r\n })\r\n ),\r\n on(\r\n actions.CreditCardTokenDataReset,\r\n (state, action) => {\r\n return {\r\n ...JSON.parse(JSON.stringify(initialState)),\r\n showAddCardForm: true,\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsResetError,\r\n (state, action) => ({\r\n ...state,\r\n download: {\r\n ...state.download,\r\n hasFailed: false,\r\n },\r\n token: {\r\n ...state.token,\r\n hasFailed: false,\r\n },\r\n remove: {\r\n ...state.remove,\r\n hasFailed: false,\r\n },\r\n add: {\r\n ...state.add,\r\n hasFailed: false,\r\n },\r\n validation: {\r\n ...state.validation,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardShowForm,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n showAddCardForm: action.isAdding,\r\n };\r\n }\r\n ),\r\n on(\r\n actions.SelectActiveCreditCardId,\r\n (state, action) => ({\r\n ...state,\r\n activeCardId: action.cardId,\r\n activeCardToken: null,\r\n })\r\n ),\r\n on(\r\n actions.SelectActiveCreditCardToken,\r\n (state, action) => ({\r\n ...state,\r\n activeCardToken: action.token,\r\n activeCardId: null,\r\n })\r\n ),\r\n on(\r\n actions.AddCardToState,\r\n (state, action) => ({\r\n ...state,\r\n showAddCardForm: false,\r\n data:\r\n [\r\n ...state.data,\r\n action.card\r\n ]\r\n })\r\n ),\r\n on(\r\n actions.GetCreditCardToken,\r\n (state, action) => ({\r\n ...state,\r\n token: {\r\n ...state.token,\r\n isGettingToken: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.GetCreditCardTokenWithRedirect,\r\n (state, action) => ({\r\n ...state,\r\n activeCardRedirectUrl: null,\r\n activeCardToken: null,\r\n sessionToken: null,\r\n\r\n token: {\r\n ...state.token,\r\n isGettingToken: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsSuccessRequestToken,\r\n (state, action) => ({\r\n ...state,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n\r\n actions.CreditCardsSuccessRequestTokenWithRedirect,\r\n (state, action) => ({\r\n ...state,\r\n activeCardRedirectUrl: action.redirectUrl,\r\n sessionToken: action.token,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.__DEMO__CreditCardsSuccessRequestToken,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n showAddCardForm: false,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsErrorRequestToken,\r\n (state, action) => ({\r\n ...state,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsErrorRequestTokenWithRedirect,\r\n (state, action) => ({\r\n ...state,\r\n activeCardRedirectUrl: null,\r\n activeCardToken: null,\r\n sessionToken: null,\r\n token: {\r\n ...state.token,\r\n isGettingToken: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsAddRequest,\r\n actions.CreditCardsAddAfterRedirectRequest,\r\n (state, action) => ({\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n },\r\n\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsAddSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n }\r\n\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsAddAfterRedirectSuccessRequest,\r\n (state, action) => {\r\n const isNewDefault = action.newCard.IsDefault;\r\n return {\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n },\r\n data: state.data.map(card => {\r\n if (card.Token === action.card.Token) {\r\n const c = {\r\n ...card,\r\n ...action.newCard,\r\n };\r\n\r\n delete c._SaveAwait;\r\n return c;\r\n } else {\r\n if (isNewDefault) {\r\n return {\r\n ...card,\r\n IsDefault: false,\r\n };\r\n }\r\n\r\n return card;\r\n\r\n }\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsAddErrorRequest,\r\n actions.CreditCardsAddAfterRedirectErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n add: {\r\n ...state.add,\r\n isAdding: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRemoveRequest,\r\n (state, action) => ({\r\n ...state,\r\n remove: {\r\n ...state.remove,\r\n id: action.cardId,\r\n removedDate: null,\r\n isRemoving: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRemoveSuccessRequest,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n remove: {\r\n ...state.remove,\r\n id: null,\r\n removedDate: new Date().getTime(),\r\n isRemoving: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: state.data.filter(cart => cart.Id !== action.cardId),\r\n showAddCardForm: state.data.filter(cart => cart.Id !== action.cardId).length === 0 && state.activeCardId !== -1\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsRemoveErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n remove: {\r\n ...state.remove,\r\n isRemoving: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRequest,\r\n (state, action) => ({\r\n ...state,\r\n download: {\r\n ...state.download,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsSuccessRequest,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n download: {\r\n ...state.download,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n },\r\n data: action.payload.reduce((acc, card) => {\r\n const found = acc.find(obj => obj.Id === card.Id);\r\n if (!found) {\r\n return [\r\n ...acc,\r\n card,\r\n ];\r\n }\r\n\r\n return acc.map(obj => {\r\n if (obj.Id === card.Id) {\r\n return card;\r\n }\r\n return obj;\r\n });\r\n }, [\r\n ...state.data\r\n ]),\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n download: {\r\n ...state.download,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateReset,\r\n state => ({\r\n ...state,\r\n validation: {\r\n ...state.validation,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateRequest,\r\n state => ({\r\n ...state,\r\n activeCardRedirectUrl: null,\r\n validation: {\r\n ...state.validation,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n activeCardToken: action.card.CardId,\r\n activeCardRedirectUrl: null,\r\n sessionToken: null,\r\n showAddCardForm: false,\r\n validation: {\r\n ...state.validation,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: state.data.map(obj => {\r\n if (obj.Id === null && obj.Token === null) {\r\n return {\r\n ...obj,\r\n Token: action.card.CardId\r\n };\r\n }\r\n return obj;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsValidateErrorRequest,\r\n state => ({\r\n ...state,\r\n activeCardToken: null,\r\n activeCardRedirectUrl: null,\r\n sessionToken: null,\r\n validation: {\r\n ...state.validation,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CreditCardsRemoveUnsavedCard,\r\n (state, action) => {\r\n return {\r\n ...state,\r\n activeCardToken: null,\r\n showAddCardForm: state.activeCardId !== -1,\r\n data: state.data.filter(card => card.Id === null && card.Token === action.token),\r\n };\r\n }\r\n ),\r\n on(\r\n actions.CreditCardsSetErrorValidationStatusToValidatingCards,\r\n state => ({\r\n ...state,\r\n data: state.data.map(card => {\r\n if (card._ValidationStatus === 'validating') {\r\n return {\r\n ...card,\r\n _ValidationStatus: 'error',\r\n };\r\n }\r\n return card;\r\n })\r\n })\r\n ),\r\n);\r\n\r\nexport function creditCardReducer(state: ICreditCards | undefined, action: Action) {\r\n return creditCardReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ICurrentLocation } from './current-location.interface';\r\nimport * as actions from './current-location.actions';\r\n\r\nconst initialState: ICurrentLocation = {\r\n locationNo: null,\r\n pickupTime: null,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n};\r\n\r\nexport const currentLocationReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.CurrentLocationValidationRequest,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationValidationSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationValidationErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationValidationReset,\r\n (state, action) => ({\r\n ...state,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationReset,\r\n (state, action) => ({\r\n locationNo: null,\r\n pickupTime: null,\r\n validation: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.CurrentLocationPickupTimeRestore,\r\n actions.CurrentLocationPickupTimeSet,\r\n actions.CurrentLocationFiltersPickupTimeSync,\r\n (state, action) => {\r\n // console.trace('SET PICKUP TIME', action);\r\n return ({\r\n ...state,\r\n pickupTime: action.pickupTime\r\n });\r\n }\r\n ),\r\n on(\r\n actions.CurrentLocationSet,\r\n (state, action) => ({\r\n ...state,\r\n locationNo: action.locationNo,\r\n })\r\n )\r\n);\r\n\r\n// export function currentLocationReducerX(state: ICurrentLocation = initialState, action:\r\n// actions.CurrentLocationPickupTimeSet |\r\n// actions.CurrentLocationFiltersPickupTimeSync |\r\n// actions.CurrentLocationPickupTimeRestore |\r\n// actions.CurrentLocationSet |\r\n// actions.CurrentLocationReset\r\n// ): ICurrentLocation {\r\n// switch (action.type) {\r\n// case actions.CURRENT_RESET:\r\n// return {\r\n// locationNo: null,\r\n// pickupTime: null,\r\n// };\r\n\r\n// case actions.CURRENT_LOCATION_PICKUP_TIME_RESTORE:\r\n// case actions.CURRENT_LOCATION_PICKUP_TIME_SET:\r\n// case actions.CURRENT_LOCATION_FILTERS_PICKUP_TIME_SYNC:\r\n// return {\r\n// ...state,\r\n// pickupTime: (action as actions.CurrentLocationPickupTimeSet).pickupTime\r\n// }\r\n\r\n// case actions.CURRENT_LOCATION_SET:\r\n// return {\r\n// ...state,\r\n// locationNo: (action as actions.CurrentLocationSet).locationNo\r\n// };\r\n\r\n// default:\r\n// return state;\r\n// }\r\n// }\r\n\r\nexport function currentLocationReducer(state: ICurrentLocation | undefined, action: Action) {\r\n return currentLocationReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IDietaryTagImage } from './dietary-tags-images.interface';\r\nimport * as actions from './dietary-tags-images.actions';\r\n\r\nconst initialState: IDietaryTagImage[] = [];\r\n\r\nexport const dietaryTagsImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.DietaryTagsImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IDietaryTagImage[] = [];\r\n\r\n action.dietaryTagIds.forEach(id => {\r\n if (state.find(image => image.Id === id)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n Id: id,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IDietaryTagImage) => {\r\n if (action.dietaryTagIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n\r\n }\r\n ),\r\n on(\r\n actions.DietaryTagsImagesSuccessRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IDietaryTagImage) => {\r\n\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.Id);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n });\r\n }\r\n ),\r\n on(\r\n actions.DietaryTagsImagesErrorRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IDietaryTagImage) => {\r\n if (action.dietaryTagIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n });\r\n }\r\n ),\r\n);\r\n\r\nexport function dietaryTagsImagesReducer(state: IDietaryTagImage[] | undefined, action: Action) {\r\n return dietaryTagsImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './free-products-images.actions';\r\nimport { IFreeProductImage } from './free-products-images.interface';\r\n\r\nconst initialState: IFreeProductImage[] = [];\r\n\r\nexport const freeProductsImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.FreeProductImageRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: IFreeProductImage[] = state.reduce((acc, item) => {\r\n if (item.ProductId === action.productId) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n ProductId: action.productId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.FreeProductImageSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProductId === action.productId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.FreeProductImageErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProductId === action.productId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function freeProductsImagesReducer(state: IFreeProductImage[] | undefined, action: Action) {\r\n return freeProductsImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './geolocation.actions';\r\n\r\nimport { IGeolocation } from './geolocation.interface';\r\n\r\nconst initialState: IGeolocation = {\r\n isRequesting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n};\r\n\r\nexport function geolocationReducer(state: IGeolocation | undefined, action: Action) {\r\n return createReducer(\r\n initialState,\r\n on(\r\n actions.geolocationPositionRequest,\r\n (state, action) => ({\r\n ...state,\r\n isRequesting: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.geolocationPositionSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isRequesting: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload,\r\n })\r\n ),\r\n on(\r\n actions.geolocationPositionErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isRequesting: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n )(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './history-orders.actions';\r\nimport { IHistoryOrderState, IOnlineOrderStateItemObj } from './history-orders.interface';\r\n\r\nconst initialState: IHistoryOrderState = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n orders: []\r\n};\r\n\r\nexport const historyOrdersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.HistoryOrdersReset,\r\n (state, action) => ({\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n orders: [],\r\n })\r\n ),\r\n on(\r\n actions.HistoryOrdersRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.HistoryOrdersSuccessRequest,\r\n (state, action) => {\r\n const mapIds = action.payload.map(order => order.Id);\r\n const oldToUpdate = [];\r\n const newToAdd = [];\r\n for (let i = 0, j = mapIds.length; i < j; i++) {\r\n if (state.orders.find(order => order.OrderId === mapIds[i])) {\r\n oldToUpdate.push(mapIds[i]);\r\n } else {\r\n newToAdd.push(mapIds[i]);\r\n }\r\n }\r\n\r\n return {\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n orders: [\r\n ...state.orders.map(order => {\r\n if (oldToUpdate.includes(order.OrderId)) {\r\n return {\r\n ...order,\r\n data: action.payload.find(obj => obj.Id === order.OrderId),\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n OrderId: order.OrderId,\r\n };\r\n }\r\n return order;\r\n }),\r\n ...newToAdd.map(id => ({\r\n OrderId: id,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload.find(obj => obj.Id === id),\r\n }))\r\n ]\r\n };\r\n }\r\n ),\r\n on(\r\n actions.HistoryOrdersErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n\r\n /* Single */\r\n on(\r\n actions.HistoryOrderRequest,\r\n (state, action) => {\r\n const foundOrder: IOnlineOrderStateItemObj = state.orders.find(order => order.OrderId === action.orderId);\r\n\r\n if (!foundOrder) {\r\n return {\r\n ...state,\r\n orders: [\r\n ...state.orders,\r\n {\r\n OrderId: action.orderId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }\r\n ]\r\n };\r\n }\r\n\r\n return {\r\n ...state,\r\n orders: state.orders.map(order => {\r\n if (order.OrderId === action.orderId) {\r\n return {\r\n ...order,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return order;\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.HistoryOrderSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n orders: state.orders.map(order => {\r\n if (order.OrderId === action.orderId) {\r\n return {\r\n ...order,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload\r\n };\r\n }\r\n\r\n return order;\r\n })\r\n })\r\n ),\r\n on(\r\n actions.HistoryOrderErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n orders: state.orders.map(order => {\r\n if (order.OrderId === action.orderId) {\r\n return {\r\n ...order,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return order;\r\n })\r\n })\r\n ),\r\n\r\n);\r\n\r\nexport function historyOrdersReducer(state: IHistoryOrderState | undefined, action: Action) {\r\n return historyOrdersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IIngredient } from './ingredients.interface';\r\nimport * as actions from './ingredients.actions';\r\n\r\nconst initialState: IIngredient[] = [];\r\n\r\nexport const ingredientsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.IngredientsRequest,\r\n (state, action) => {\r\n const newToConcat: IIngredient[] = [];\r\n\r\n action.productIds.forEach(productId => {\r\n if (state.find(ingredient => ingredient.ProductId === productId && ingredient.LocationNo === action.locationNo)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n ProductId: productId,\r\n LocationNo: action.locationNo,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((modifier: IIngredient) => {\r\n if (action.productIds.find(productId => productId === modifier.ProductId && modifier.LocationNo === action.locationNo)) {\r\n return {\r\n ...modifier,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return modifier;\r\n }),\r\n ...newToConcat,\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.IngredientsSuccessRequest,\r\n (state, action) => state.map((modifier: IIngredient) => {\r\n if (!(action.productIds.includes(modifier.ProductId) && modifier.LocationNo === action.locationNo)) {\r\n return modifier;\r\n }\r\n const foundIngredientObj = action.payload.find(ingredient => ingredient.ProductID === modifier.ProductId && ingredient._LocationNo === modifier.LocationNo);\r\n\r\n return {\r\n ...modifier,\r\n data: { ...foundIngredientObj },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n })\r\n ),\r\n on(\r\n actions.IngredientsErrorRequest,\r\n (state, action) => state.map((modifier: IIngredient) => {\r\n if (action.productIds.find(productId => productId === modifier.ProductId && modifier.LocationNo === action.locationNo)) {\r\n return {\r\n ...modifier,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return modifier;\r\n })\r\n ),\r\n);\r\n\r\nexport function ingredientsReducer(state: IIngredient[] | undefined, action: Action) {\r\n return ingredientsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './latest-transactions.actions';\r\nimport { ILatestTransaction } from './latest-transactions.interface';\r\n\r\nconst initialState: ILatestTransaction[] = [];\r\n\r\nexport const latestTransactionsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LatestTransactionsReset,\r\n () => ([])\r\n ),\r\n on(\r\n actions.LatestTransactionsRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: ILatestTransaction[] = state.reduce((acc, item) => {\r\n if (item.memberId === action.memberId) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n memberId: action.memberId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.LatestTransactionsSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.LatestTransactionsErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function latestTransactionsReducer(state: ILatestTransaction[] | undefined, action: Action) {\r\n return latestTransactionsReducerFn(state, action);\r\n}\r\n","import * as actions from './loader.actions';\r\nimport { ILoader } from './loader.interface';\r\n\r\nconst initialState: ILoader = {\r\n isVisible: false,\r\n};\r\n\r\nexport function loaderReducer(state: ILoader = initialState, action: actions.LoaderShow | actions.LoaderHide): ILoader {\r\n switch (action.type) {\r\n case actions.LOADER_SHOW:\r\n return {\r\n ...state,\r\n isVisible: true,\r\n };\r\n\r\n case actions.LOADER_HIDE:\r\n return {\r\n ...state,\r\n isVisible: false,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ILocations } from './locations.interface';\r\nimport * as actions from './locations.actions';\r\n\r\nconst initialState: ILocations = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: []\r\n};\r\n\r\nexport const locationsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LocationsRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.LocationsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: [\r\n ...action.payload\r\n ],\r\n })\r\n ),\r\n on(\r\n actions.LocationsErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n )\r\n);\r\n\r\n\r\nexport function locationsReducer(state: ILocations | undefined, action: Action) {\r\n return locationsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './locations-filters.actions';\r\nimport { ILocationsFilters } from './locations-filters.interface';\r\n\r\nconst initialState: ILocationsFilters = {\r\n pickupMode: {\r\n Id: 1,\r\n Name: 'ASAP',\r\n },\r\n pickupTime: null,\r\n search: null,\r\n};\r\n\r\nexport const locationsFiltersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LocationsFiltersReset,\r\n (state, action) => JSON.parse(JSON.stringify(initialState))\r\n ),\r\n on(\r\n actions.LocationsFiltersRestorePickupTime,\r\n (state, action) => ({\r\n ...state,\r\n pickupMode: {\r\n ...initialState.pickupMode\r\n },\r\n pickupTime: null,\r\n })\r\n ),\r\n on(\r\n actions.LocationsFiltersSetPickupMode,\r\n (state, action) => ({\r\n ...state,\r\n pickupMode: action.mode,\r\n })\r\n ),\r\n on(\r\n actions.LocationsFiltersSyncPickupTime,\r\n actions.LocationsFiltersSetPickupTime,\r\n (state, action) => {\r\n return ({\r\n ...state,\r\n pickupTime: action.pickupTime,\r\n });\r\n }\r\n ),\r\n on(\r\n actions.LocationsFiltersSetSearch,\r\n (state, action) => ({\r\n ...state,\r\n search: action.search,\r\n })\r\n ),\r\n);\r\n\r\nexport function locationsFiltersReducer(state: ILocationsFilters | undefined, action: Action) {\r\n return locationsFiltersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './locations-images.actions';\r\nimport * as Utils from '@shared/core/utils';\r\nimport { ILocationsImages } from './locations-images.interface';\r\n\r\nconst initialState: ILocationsImages = {\r\n default: [],\r\n forList: [],\r\n forDetails: [],\r\n forWeb: [],\r\n forWebThumb: [],\r\n forMobile: [],\r\n};\r\n\r\nexport const locationImagesReducerFn = createReducer(\r\n initialState,\r\n\r\n on(\r\n actions.LocationImagesRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n const newImages: number[] = action.ids.filter(id => !state[imagesType].find((img: OLO.Common.IImageStateObj) => img.Id === id));\r\n return {\r\n ...state,\r\n [imagesType]: [\r\n ...state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return image;\r\n }),\r\n\r\n ...newImages.map(id => ({\r\n Id: id,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }))\r\n\r\n ]\r\n };\r\n }\r\n ),\r\n\r\n on(\r\n actions.LocationImagesSuccessRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n const imageIsUpdating = action.ids.includes(image.Id);\r\n if (imageIsUpdating) {\r\n const newImage = action.payload.find(obj => obj.ParentId === image.Id);\r\n const previousImage = state[imagesType].find(obj => obj.Id === image.Id);\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: newImage ? newImage : previousImage && previousImage.data ? previousImage.data : null,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n };\r\n }\r\n ),\r\n\r\n on(\r\n actions.LocationImagesErrorRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return image;\r\n })\r\n };\r\n }\r\n ),\r\n);\r\n\r\n\r\nexport function locationImagesReducer(state: ILocationsImages | undefined, action: Action) {\r\n return locationImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-introduction-pages.actions';\r\nimport { ILoyaltyIntroductionPages } from './loyalty-introduction-pages.interface';\r\n\r\nconst initialState: ILoyaltyIntroductionPages = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n};\r\n\r\nexport const loyaltyIntroductionPagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyIntroductionPagesRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPagesSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [...action.payload]\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPagesErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyIntroductionPagesReducer(state: ILoyaltyIntroductionPages | undefined, action: Action) {\r\n return loyaltyIntroductionPagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-introduction-pages-images.actions';\r\nimport { ILoyaltyIntroductionPageImage } from './loyalty-introduction-pages-images.interface';\r\n\r\nconst initialState: ILoyaltyIntroductionPageImage[] = [];\r\n\r\nexport const loyaltyIntroductionPagesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyIntroductionPageImageRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: ILoyaltyIntroductionPageImage[] = state.reduce((acc, item) => {\r\n if (item.PageId === action.pageId) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n PageId: action.pageId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPageImageSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.PageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyIntroductionPageImageErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.PageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyIntroductionPagesImagesReducer(state: ILoyaltyIntroductionPageImage[] | undefined, action: Action) {\r\n return loyaltyIntroductionPagesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-messages.actions';\r\nimport { ILoyaltyMessages } from './loyalty-messages.interface';\r\n\r\nconst initialState: ILoyaltyMessages = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n};\r\n\r\nexport const loyaltyMessagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyMessagesRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyMessagesSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [...action.payload]\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyMessagesErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyMessagesReducer(state: ILoyaltyMessages | undefined, action: Action) {\r\n return loyaltyMessagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './loyalty-product-programs.actions';\r\nimport { ILoyaltyProductProgramItem } from './loyalty-product-programs.interface';\r\n\r\nconst initialState: ILoyaltyProductProgramItem[] = [];\r\n\r\nexport const loyaltyProductProgramsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.LoyaltyProductProgramsReset,\r\n () => ([])\r\n ),\r\n on(\r\n actions.LoyaltyProductProgramsRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: ILoyaltyProductProgramItem[] = state.reduce((acc, item) => {\r\n if (item.ProgramName === action.requestParams.programName) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n ProgramName: action.requestParams.programName,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.LoyaltyProductProgramsSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProgramName === action.requestParams.programName) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.LoyaltyProductProgramsErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.ProgramName === action.requestParams.programName) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function loyaltyProductProgramsReducer(state: ILoyaltyProductProgramItem[] | undefined, action: Action) {\r\n return loyaltyProductProgramsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './member-card-barcodes-images.actions';\r\nimport { IMemberCardBarcodeImage } from './member-card-barcodes-images.interface';\r\n\r\nconst initialState: IMemberCardBarcodeImage[] = [];\r\n\r\nexport const memberCardBarcodesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MemberCardBarcodesImagesRequest,\r\n (state, action) => {\r\n let found: boolean = false;\r\n const recalculatedState: IMemberCardBarcodeImage[] = state.reduce((acc, item) => {\r\n if (item.memberId === action.memberId && item.barcodeType === action.barcodeType) {\r\n found = true;\r\n return [\r\n ...acc,\r\n {\r\n ...item,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n ];\r\n }\r\n return [\r\n ...acc,\r\n item,\r\n ];\r\n }, []);\r\n\r\n return found ? recalculatedState : [\r\n ...state,\r\n {\r\n memberId: action.memberId,\r\n barcodeType: action.barcodeType,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.MemberCardBarcodesImagesSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId && obj.barcodeType === action.barcodeType) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload || null,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.MemberCardBarcodesImagesErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.memberId === action.memberId && obj.barcodeType === action.barcodeType) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function memberCardBarcodesImagesReducer(state: IMemberCardBarcodeImage[] | undefined, action: Action) {\r\n return memberCardBarcodesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IMembers } from './members.interface';\r\nimport * as actions from './members.actions';\r\n\r\nconst initialState: IMembers = {\r\n isDownloading: false,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n\r\n accountBalance: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n uniqueCode: {\r\n memberCode: null,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n freeProducts: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n loyaltyProducts: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n forgottenPasswordReset: {\r\n isResetting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n token: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isValid: null,\r\n },\r\n },\r\n\r\n emailConfirm: {\r\n isConfirming: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n token: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isValid: null,\r\n },\r\n },\r\n\r\n update: {\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n data: null\r\n },\r\n\r\n setPassword: {\r\n isSetting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n },\r\n\r\n changePassword: {\r\n isChanging: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n },\r\n\r\n forgotPassword: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n email: null,\r\n },\r\n\r\n validateLogin: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n validatePhone: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n validateEmail: {\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n signIn: {\r\n isSigningIn: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n signUp: {\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n signUpPartialMember: {\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n jwt: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n verifyPhone: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n verifyEmail: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n verifyLinkRewardsAccount: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n\r\n tokenForPhone: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n tokenForEmail: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n\r\n linkRewardsAccount: {\r\n isLinking: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n linkedDate: null,\r\n },\r\n\r\n isAuthorized: false,\r\n accountId: null,\r\n accountLogin: null,\r\n accountPassword: null,\r\n authorizationType: null,\r\n authorizationStep: OLO.Enums.AUTH_STEP.LOGIN,\r\n\r\n sessionKey: null,\r\n\r\n isGuestModeEnabled: false,\r\n guestData: null,\r\n\r\n addData: null,\r\n data: null,\r\n};\r\n\r\nexport const memberReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MemberAccountBalanceReset,\r\n (state, action) => ({\r\n ...state,\r\n accountBalance: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifyReset,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifyRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n ...state.verifyLinkRewardsAccount,\r\n isVerifying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifySuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n ...state.verifyLinkRewardsAccount,\r\n isVerifying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberLinkRewardsAccountVerifyErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyLinkRewardsAccount: {\r\n ...state.verifyLinkRewardsAccount,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLinkRewardsAccountRequest,\r\n (state, action) => ({\r\n ...state,\r\n linkRewardsAccount: {\r\n ...state.linkRewardsAccount,\r\n isLinking: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLinkRewardsAccountSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n linkRewardsAccount: {\r\n ...state.linkRewardsAccount,\r\n isLinking: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n linkedDate: new Date().getTime(),\r\n },\r\n data: action.payload,\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLinkRewardsAccountErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n linkRewardsAccount: {\r\n ...state.linkRewardsAccount,\r\n isLinking: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberAccountBalanceRequest,\r\n (state) => ({\r\n ...state,\r\n accountBalance: {\r\n ...state.accountBalance,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberAccountBalanceSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n accountBalance: {\r\n ...state.accountBalance,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberAccountBalanceErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n accountBalance: {\r\n ...state.accountBalance,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberUniqueCodeCheckReset,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: null,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberUniqueCodeCheckRequest,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: action.memberCode,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberUniqueCodeCheckSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: action.memberCode,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: { ...action.payload },\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberUniqueCodeCheckErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n uniqueCode: {\r\n memberCode: action.memberCode,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n downloadedDate: null,\r\n data: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberFreeProductsRequest,\r\n state => ({\r\n ...state,\r\n freeProducts: {\r\n ...state.freeProducts,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberFreeProductsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n freeProducts: {\r\n ...state.freeProducts,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [\r\n ...action.payload\r\n ]\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberFreeProductsErrorRequest,\r\n state => ({\r\n ...state,\r\n freeProducts: {\r\n ...state.freeProducts,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberLoyaltyProductsRequest,\r\n state => ({\r\n ...state,\r\n loyaltyProducts: {\r\n ...state.loyaltyProducts,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberLoyaltyProductsSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n loyaltyProducts: {\r\n ...state.loyaltyProducts,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: [\r\n ...action.payload\r\n ]\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberLoyaltyProductsErrorRequest,\r\n state => ({\r\n ...state,\r\n loyaltyProducts: {\r\n ...state.loyaltyProducts,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberUnsetUpdateAndValidation,\r\n state => ({\r\n ...state,\r\n update: {\r\n ...initialState.update,\r\n },\r\n tokenForEmail: {\r\n ...initialState.tokenForEmail,\r\n },\r\n tokenForPhone: {\r\n ...initialState.tokenForPhone,\r\n },\r\n verifyEmail: {\r\n ...initialState.verifyEmail,\r\n },\r\n verifyPhone: {\r\n ...initialState.verifyPhone,\r\n },\r\n verifyLinkRewardsAccount: {\r\n ...initialState.verifyLinkRewardsAccount,\r\n },\r\n linkRewardsAccount: {\r\n ...initialState.linkRewardsAccount\r\n },\r\n emailConfirm: {\r\n ...initialState.emailConfirm,\r\n token: {\r\n ...initialState.emailConfirm.token\r\n }\r\n },\r\n forgottenPasswordReset: {\r\n ...initialState.forgottenPasswordReset,\r\n token: {\r\n ...initialState.forgottenPasswordReset.token,\r\n }\r\n },\r\n forgotPassword: {\r\n ...initialState.forgotPassword,\r\n },\r\n validateLogin: {\r\n ...initialState.validateLogin,\r\n },\r\n validateEmail: {\r\n ...initialState.validateEmail,\r\n },\r\n validatePhone: {\r\n ...initialState.validatePhone,\r\n },\r\n uniqueCode: {\r\n ...initialState.uniqueCode,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberUnsetAccountCredentials,\r\n (state, action) => ({\r\n ...state,\r\n accountLogin: null,\r\n accountPassword: null,\r\n })\r\n ),\r\n on(\r\n actions.MemberUnsetAddData,\r\n (state, action) => ({\r\n ...state,\r\n addData: null,\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailReset,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isConfirming: false,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValidating: false,\r\n isValid: null,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n isConfirming: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n isConfirming: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n isConfirming: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailTokenRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValidating: true,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailTokenSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n isValidating: false,\r\n isValid: action.payload\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberConfirmEmailTokenErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n emailConfirm: {\r\n ...state.emailConfirm,\r\n token: {\r\n ...state.emailConfirm.token,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n isValidating: false,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgottenPasswordResetRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isResetting: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgottenPasswordResetSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n isResetting: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgottenPasswordResetErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n isResetting: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValid: null,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n isValid: action.payload,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePasswordResetTokenReset,\r\n (state, action) => ({\r\n ...state,\r\n forgottenPasswordReset: {\r\n ...state.forgottenPasswordReset,\r\n token: {\r\n ...state.forgottenPasswordReset.token,\r\n isValidating: false,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n isValid: null,\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberAuthorizationSetFlag,\r\n (state, action) => ({\r\n ...state,\r\n isAuthorized: action.flag\r\n })\r\n ),\r\n on(\r\n actions.MemberAuthorizationSetStep,\r\n (state, action) => ({\r\n ...state,\r\n authorizationStep: action.step\r\n })\r\n ),\r\n on(\r\n actions.MemberAuthorizationInit,\r\n (state, action) => ({\r\n ...JSON.parse(JSON.stringify(initialState)),\r\n accountLogin: action.accountLogin,\r\n authorizationType: action.authorizationType,\r\n authorizationStep: state.authorizationStep,\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateLoginRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateLogin: {\r\n ...state.validateLogin,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateLoginErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateLogin: {\r\n ...state.validateLogin,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateLoginSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateLogin: {\r\n ...state.validateLogin,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n accountId: action.payload ? action.payload.MemberId : null,\r\n accountIsValid: action.payload ? action.payload.IsOnlineRegistered : null, /* NOT NEEDED ANY MORE! */\r\n data: action.payload ? { ...action.payload } : null,\r\n })\r\n ),\r\n on(\r\n actions.MemberSignInDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n signIn: {\r\n ...state.signIn,\r\n isSigningIn: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n accountPassword: action.password\r\n })\r\n ),\r\n on(\r\n actions.MemberSignInDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n signIn: {\r\n ...state.signIn,\r\n isSigningIn: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSignInDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n signIn: {\r\n ...state.signIn,\r\n isSigningIn: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n sessionKey: action.sessionKey,\r\n })\r\n ),\r\n on(\r\n actions.MemberJwtDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n jwt: {\r\n ...state.jwt,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberJwtDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n jwt: {\r\n ...state.jwt,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberJwtDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n jwt: {\r\n ...state.jwt,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n accountPassword: null,\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePhoneRequest,\r\n (state, action) => ({\r\n ...state,\r\n validatePhone: {\r\n ...state.validatePhone,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePhoneDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n validatePhone: {\r\n ...state.validatePhone,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidatePhoneSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n validatePhone: {\r\n ...state.validatePhone,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateEmailDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n validateEmail: {\r\n ...state.validateEmail,\r\n isValidating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateEmailDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n validateEmail: {\r\n ...state.validateEmail,\r\n isValidating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberValidateEmailDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n validateEmail: {\r\n ...state.validateEmail,\r\n isValidating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSessionSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n sessionKey: action.sessionKey,\r\n accountId: action.accountId,\r\n authorizationType: action.authorizationType,\r\n })\r\n ),\r\n on(\r\n actions.MemberSessionErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n data: null,\r\n isGuestModeEnabled: true,\r\n isAuthorized: false,\r\n sessionKey: action.sessionKey,\r\n accountId: action.accountId,\r\n authorizationType: action.authorizationType,\r\n })\r\n ),\r\n on(\r\n actions.MemberGuestModeSet,\r\n (state, action) => ({\r\n ...state,\r\n isGuestModeEnabled: action.flag\r\n })\r\n ),\r\n on(\r\n actions.MemberGuestDataSet,\r\n (state, action) => ({\r\n ...state,\r\n guestData: action.guestData\r\n })\r\n ),\r\n on(\r\n actions.MemberGuestDataReset,\r\n (state, action) => ({\r\n ...state,\r\n guestData: null\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpProcessInit,\r\n (state, action) => ({\r\n ...state,\r\n addData: action.memberData\r\n })\r\n ),\r\n on(\r\n actions.MemberPartialSignUpRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPartialSignUpSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...action.payload\r\n },\r\n })\r\n ),\r\n\r\n on(\r\n actions.MemberPartialSignUpErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPartialSignUpResetState,\r\n (state, action) => ({\r\n ...state,\r\n signUpPartialMember: {\r\n ...state.signUpPartialMember,\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUp: {\r\n ...state.signUp,\r\n isSigningUp: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUp: {\r\n ...state.signUp,\r\n isSigningUp: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...state.data,\r\n ...action.memberData\r\n },\r\n accountId: action.memberData.MemberId,\r\n\r\n })\r\n ),\r\n on(\r\n actions.MemberSignUpErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n signUp: {\r\n ...state.signUp,\r\n isSigningUp: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n })\r\n ),\r\n on(\r\n actions.MemberDataSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n data: {\r\n ...state.data,\r\n ...action.payload\r\n },\r\n isDownloading: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n })\r\n ),\r\n on(\r\n actions.MemberDataErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateInit,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n data: {\r\n ...action.userModel\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: true,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n data: {\r\n ...action.userModel\r\n }\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: true,\r\n updateHasFailed: false,\r\n data: null,\r\n },\r\n data: action.payload\r\n })\r\n ),\r\n on(\r\n actions.MemberProfileUpdateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: true,\r\n data: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberUpdateRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: true,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberUpdateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: true,\r\n updateHasFailed: false,\r\n },\r\n data: action.payload\r\n })\r\n ),\r\n on(\r\n actions.MemberUpdateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberRestoreUpdateFlags,\r\n (state, action) => ({\r\n ...state,\r\n update: {\r\n ...state.update,\r\n isUpdating: false,\r\n updateHasSucceeded: false,\r\n updateHasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetRequest,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n error: action.ex || null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordSetResetState,\r\n (state, action) => ({\r\n ...state,\r\n setPassword: {\r\n ...state.setPassword,\r\n isSetting: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeRequest,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n error: action.ex || null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberPasswordChangeRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n changePassword: {\r\n ...state.changePassword,\r\n isChanging: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n error: null,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n email: action.email,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberForgotPasswordRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n forgotPassword: {\r\n ...state.forgotPassword,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n email: null,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendPhoneVerificationCodeDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendPhoneVerificationCodeDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendPhoneVerificationCodeDataResponseSuccess,\r\n (state, action) => ({\r\n ...state,\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneDataRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneDataErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneDataSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmaiResetFlags,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n verifyEmail: {\r\n ...state.verifyEmail,\r\n isVerifying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyPhoneRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n verifyPhone: {\r\n ...state.verifyPhone,\r\n isVerifying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n tokenForPhone: {\r\n ...state.tokenForPhone,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendEmailVeryficationRequest,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendEmailVeryficationSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberSendEmailVeryficationDataResponseError,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberVerifyEmailRestoreFlags,\r\n (state, action) => ({\r\n ...state,\r\n tokenForEmail: {\r\n ...state.tokenForEmail,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.MemberStateReset,\r\n (state, action) => (JSON.parse(JSON.stringify(initialState)))\r\n ),\r\n\r\n);\r\n\r\nexport function memberReducer(state: IMembers | undefined, action: Action) {\r\n return memberReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './menu-flow-default-activations.actions';\r\nimport { IMenuFlowDefaultActivation } from './menu-flow-default-activations.interface';\r\n\r\nconst initialState: IMenuFlowDefaultActivation[] = [];\r\n\r\nexport const menuFlowDefaultActivationsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MenuFlowDefaultActivationRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.MenuFlowId === action.menuFlowId);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n MenuFlowId: action.menuFlowId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.MenuFlowId === action.menuFlowId) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.MenuFlowDefaultActivationSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.MenuFlowId === action.menuFlowId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload,\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.MenuFlowDefaultActivationErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.MenuFlowId === action.menuFlowId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\n\r\nexport function menuFlowDefaultActivationsReducer(state: IMenuFlowDefaultActivation[] | undefined, action: Action) {\r\n return menuFlowDefaultActivationsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IMenuFlowImage } from './menu-flow-images.interface';\r\nimport * as actions from './menu-flow-images.actions';\r\n\r\nconst initialState: IMenuFlowImage[] = [];\r\n\r\nexport const menuFlowImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MenuFlowImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IMenuFlowImage[] = [];\r\n\r\n action.menuFlowIds.forEach(menuFlowId => {\r\n if (state.find(image => image.MenuFlowId === menuFlowId)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n MenuFlowId: menuFlowId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IMenuFlowImage) => {\r\n if (action.menuFlowIds.find(menuFlowId => menuFlowId === image.MenuFlowId)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n },\r\n ),\r\n on(\r\n actions.MenuFlowImagesSuccessRequest,\r\n (state, action) => [\r\n ...state.map((image: IMenuFlowImage) => {\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.MenuFlowId);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n })\r\n ],\r\n ),\r\n on(\r\n actions.MenuFlowImagesErrorRequest,\r\n (state, action) => state.map((image: IMenuFlowImage) => {\r\n if (action.menuFlowIds.find(menuFlowId => menuFlowId === image.MenuFlowId)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n ),\r\n);\r\n\r\nexport function menuFlowImagesReducer(state: IMenuFlowImage[] | undefined, action: Action) {\r\n return menuFlowImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IMenuFlows } from './menu-flows.interface';\r\nimport * as actions from './menu-flows.actions';\r\n\r\nconst initialState: IMenuFlows[] = [];\r\n\r\nexport const menuFlowsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.MenuFlowsDetailsRequest,\r\n (state, action) => {\r\n const foundIndex: number = state.findIndex(menuFlow => menuFlow.MenuFlowId === action.menuFlowId && menuFlow.LocationNo === action.locationNo);\r\n\r\n if (foundIndex === -1) {\r\n return [\r\n ...state,\r\n {\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n LocationNo: action.locationNo,\r\n MenuFlowId: action.menuFlowId,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map((menuFlow, index) => {\r\n if (index === foundIndex) {\r\n return {\r\n ...menuFlow,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return menuFlow;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.MenuFlowsDetailsSuccessRequest,\r\n (state, action) => {\r\n const foundIndex: number = state.findIndex(menuFlow => menuFlow.MenuFlowId === action.menuFlowId && menuFlow.LocationNo === action.locationNo);\r\n\r\n if (foundIndex === -1) {\r\n return [\r\n ...state,\r\n {\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n LocationNo: action.locationNo,\r\n MenuFlowId: action.menuFlowId,\r\n data: action.payload,\r\n }\r\n ];\r\n }\r\n\r\n return state.map((menuFlow, index) => {\r\n if (index === foundIndex) {\r\n return {\r\n ...menuFlow,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload\r\n };\r\n }\r\n\r\n return menuFlow;\r\n });\r\n }\r\n ),\r\n\r\n\r\n on(\r\n actions.MenuFlowsDetailsErrorRequest,\r\n (state, action) => {\r\n const foundIndex: number = state.findIndex(menuFlow => menuFlow.MenuFlowId === action.menuFlowId && menuFlow.LocationNo === action.locationNo);\r\n\r\n if (foundIndex === -1) {\r\n return [\r\n ...state,\r\n {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n LocationNo: action.locationNo,\r\n MenuFlowId: action.menuFlowId,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map((menuFlow, index) => {\r\n if (index === foundIndex) {\r\n return {\r\n ...menuFlow,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return menuFlow;\r\n });\r\n }\r\n ),\r\n\r\n\r\n);\r\n\r\n\r\nexport function menuFlowsReducer(state: IMenuFlows[] | undefined, action: Action) {\r\n return menuFlowsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IModal } from './modal.interface';\r\nimport * as actions from './modal.actions';\r\n\r\nconst initialState: IModal[] = [];\r\n\r\n\r\nexport const modalReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.ModalOpen,\r\n (state, action) => {\r\n const foundModal = state.find(modal => modal.id === action.modal.id);\r\n\r\n if (foundModal) {\r\n return state;\r\n }\r\n return [\r\n ...state,\r\n action.modal\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.ModalSwap,\r\n (state, action) => state.map(modal => {\r\n if (modal.id === action.modalId) {\r\n return {\r\n ...modal,\r\n ...action.details,\r\n };\r\n }\r\n\r\n return modal;\r\n })\r\n ),\r\n on(\r\n actions.ModalClose,\r\n (state, action) => {\r\n /* If id is null, close ALL! */\r\n if (!action.id) {\r\n return [];\r\n }\r\n\r\n return state.filter(modal => modal.id !== action.id);\r\n }\r\n ),\r\n\r\n on(\r\n actions.ModalCloseAll,\r\n (state, action) => state.filter(modal => {\r\n if (action.typesExcludedFromClosing.includes(modal.type)) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n ),\r\n on(\r\n actions.ModalAnimate,\r\n (state, action) => state.map(modal => {\r\n const idMatchesOrIdNotProvided: boolean = !action.id || modal.id === action.id;\r\n\r\n if (idMatchesOrIdNotProvided) {\r\n return {\r\n ...modal,\r\n animate: action.animation,\r\n };\r\n }\r\n\r\n return modal;\r\n })\r\n ),\r\n on(\r\n actions.ModalSetLoading,\r\n (state, action) => state.map(modal => {\r\n if (modal.id === action.id) {\r\n return {\r\n ...modal,\r\n isLoading: action.isLoading,\r\n };\r\n }\r\n return modal;\r\n })\r\n ),\r\n);\r\n\r\nexport function modalReducer(state: IModal[] | undefined, action: Action) {\r\n return modalReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './online-menu.actions';\r\nimport { IOnlineMenu } from './online-menu.interface';\r\n\r\nconst initialState: IOnlineMenu = {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n pickupDate: null,\r\n locationNo: null,\r\n data: null,\r\n};\r\n\r\nexport const onlineMenuReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuPagesRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n pickupDate: action.pickupDate,\r\n locationNo: action.locationNo,\r\n })\r\n ),\r\n on(\r\n actions.OnlineMenuPagesSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n locationNo: action.locationNo,\r\n data: action.payload,\r\n downloadedDate: new Date().getTime(),\r\n })\r\n ),\r\n on(\r\n actions.OnlineMenuPageErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n locationNo: action.locationNo,\r\n })\r\n ),\r\n);\r\n\r\nexport function onlineMenuReducer(state: IOnlineMenu | undefined, action: Action) {\r\n return onlineMenuReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './online-menu-filters.actions';\r\nimport { IOnlineMenuFilters } from './online-menu-filters.interface';\r\n\r\nconst initialState: IOnlineMenuFilters = {\r\n search: null,\r\n};\r\n\r\nexport const onlineMenuFiltersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuFiltersReset,\r\n (state, action) => JSON.parse(JSON.stringify(initialState))\r\n ),\r\n on(\r\n actions.OnlineMenuFiltersSetSearch,\r\n (state, action) => ({\r\n ...state,\r\n search: action.search,\r\n })\r\n ),\r\n);\r\n\r\nexport function onlineMenuFiltersReducer(state: IOnlineMenuFilters | undefined, action: Action) {\r\n return onlineMenuFiltersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOnlineMenuPagesImages } from './online-menu-pages-images.interface';\r\nimport * as actions from './online-menu-pages-images.actions';\r\nimport * as Utils from '@shared/core/utils';\r\nconst initialState: IOnlineMenuPagesImages = {\r\n default: [],\r\n forList: [],\r\n forDetails: [],\r\n forWeb: [],\r\n forWebThumb: [],\r\n forMobile: [],\r\n};\r\n\r\nexport const onlineMenuPagesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuPagesImagesRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: action.pageIds.reduce((stateAcc, pageId) => {\r\n const index = stateAcc.findIndex(obj => obj.pageId === pageId);\r\n\r\n if (index === -1) {\r\n stateAcc.push({\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n downloadedDate: null,\r\n pageId,\r\n data: null\r\n });\r\n } else {\r\n stateAcc[index] = {\r\n ...stateAcc[index],\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return stateAcc;\r\n\r\n }, [...state[imagesType]])\r\n };\r\n }\r\n ),\r\n on(\r\n actions.OnlineMenuPagesImagesSuccessRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(obj => {\r\n const hasRequested = action.pageIds.find(pageId => pageId === obj.pageId);\r\n if (!hasRequested) {\r\n return obj;\r\n }\r\n const found = action.payload.find(o => o.ParentId === obj.pageId);\r\n\r\n if (found) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: {\r\n ...found,\r\n }\r\n };\r\n }\r\n\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n downloadedDate: new Date().getTime(),\r\n data: null,\r\n };\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.OnlineMenuPagesImagesErrorRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(obj => {\r\n const found = action.pageIds.find(pageId => pageId === obj.pageId);\r\n\r\n if (found) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n };\r\n }\r\n ),\r\n);\r\n\r\nexport function onlineMenuPagesImagesReducer(state: IOnlineMenuPagesImages | undefined, action: Action) {\r\n return onlineMenuPagesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOnlineMenuPageProductsImage } from './online-menu-products-images.interface';\r\nimport * as actions from './online-menu-products-images.actions';\r\n\r\nconst initialState: IOnlineMenuPageProductsImage[] = [];\r\n\r\nexport const onlineMenuProductsImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineMenuProductsImagesRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.pageId === action.pageId);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n pageId: action.pageId,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.pageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.OnlineMenuProductsImagesSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.pageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.OnlineMenuProductsImagesErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.pageId === action.pageId) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function onlineMenuProductsImagesReducer(state: IOnlineMenuPageProductsImage[] | undefined, action: Action) {\r\n return onlineMenuProductsImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOnlineOrder } from './online-order.interface';\r\nimport * as actions from './online-order.actions';\r\n\r\nconst initialState: IOnlineOrder = {\r\n createRequest: {\r\n isCreating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n updateRequest: {\r\n isUpdating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n downloadRequest: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n recalculateRequest: {\r\n isRecalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n },\r\n sendEmailReceipt: {\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n orderId: null,\r\n },\r\n orderType: null,\r\n\r\n data: null,\r\n};\r\n\r\nexport const onlineOrdersReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OnlineOrderStateReset,\r\n (state, action) => ({\r\n ...initialState\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSendEmailReceiptRequest,\r\n (state, action) => ({\r\n ...state,\r\n sendEmailReceipt: {\r\n ...state.sendEmailReceipt,\r\n isSending: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n orderId: action.orderId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSendEmailReceiptSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n sendEmailReceipt: {\r\n ...state.sendEmailReceipt,\r\n isSending: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n orderId: action.orderId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSendEmailReceiptErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n sendEmailReceipt: {\r\n ...state.sendEmailReceipt,\r\n isSending: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n orderId: action.orderId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderTypeSelect,\r\n (state, action) => ({\r\n ...state,\r\n orderType: action.orderType\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderTypeUpdateValues,\r\n (state, action) => ({\r\n ...state,\r\n orderType: {\r\n ...state.orderType,\r\n Details: state.orderType.Details.map(obj => {\r\n const found = action.values.find(val => val.Id === obj.Id);\r\n if (found) {\r\n return {\r\n ...obj,\r\n _Value: found._Value\r\n };\r\n }\r\n return obj;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderResetOrderTypeValues,\r\n (state, action) => ({\r\n ...state,\r\n orderType: {\r\n ...state.orderType,\r\n Details: state.orderType.Details.map(obj => {\r\n const newObj = { ...obj };\r\n delete newObj._Value;\r\n return newObj;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderClearPostOrderRequestFlags,\r\n (state, action) => ({\r\n ...state,\r\n createRequest:\r\n {\r\n isCreating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderCreateRequest,\r\n (state, action) => ({\r\n ...state,\r\n createRequest: {\r\n isCreating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderCreateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n createRequest: {\r\n isCreating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...state.data, // important. Some properties are filled only during recalculate call we don't want to override them\r\n ...{ ...action.payload },\r\n }\r\n\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderCreateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n createRequest: {\r\n isCreating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderUpdateRequest,\r\n (state, action) => ({\r\n ...state,\r\n updateRequest: {\r\n ...state.createRequest,\r\n isUpdating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderUpdateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n updateRequest: {\r\n ...state.createRequest,\r\n isUpdating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: {\r\n ...state.data,\r\n ...action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderUpdateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n updateRequest: {\r\n ...state.createRequest,\r\n isUpdating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRequest,\r\n (state, action) => ({\r\n ...state,\r\n downloadRequest: {\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n downloadRequest: {\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n data: action.payload,\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n downloadRequest: {\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRecalculateRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculateRequest: {\r\n ...state.recalculateRequest,\r\n isRecalculating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRecalculateSuccessRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculateRequest: {\r\n isRecalculating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: action.payload\r\n },\r\n data: {\r\n ...state.data,\r\n ...action.payload,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.OnlineOrderRecalculateErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculateRequest: {\r\n ...state.recalculateRequest,\r\n isRecalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n }\r\n })\r\n ),\r\n);\r\n\r\n\r\nexport function onlineOrdersReducer(state: IOnlineOrder | undefined, action: Action) {\r\n return onlineOrdersReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './order-types.actions';\r\nimport { IOrderType } from './order-types.interface';\r\n\r\nconst initialState: IOrderType[] = [];\r\n\r\nexport const orderTypesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OrderTypesRequest,\r\n (state, action) => {\r\n const foundObj = state.find(obj => obj.locationNo === action.locationNo);\r\n\r\n if (!foundObj) {\r\n return [\r\n ...state,\r\n {\r\n locationNo: action.locationNo,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: null,\r\n }\r\n ];\r\n }\r\n\r\n return state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n ),\r\n on(\r\n actions.OrderTypesSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasFailed: false,\r\n hasSucceeded: true,\r\n data: action.payload,\r\n downloadedDate: new Date().getTime(),\r\n };\r\n }\r\n return obj;\r\n }),\r\n ),\r\n on(\r\n actions.OrderTypesErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.locationNo === action.locationNo) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasFailed: true,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n })\r\n )\r\n);\r\n\r\nexport function orderTypesReducer(state: IOrderType[] | undefined, action: Action) {\r\n return orderTypesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IOrderTypeImage } from './order-types-images.interface';\r\nimport * as actions from './order-types-images.actions';\r\n\r\nconst initialState: IOrderTypeImage[] = [];\r\n\r\nexport const orderTypesImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.OrderTypesImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IOrderTypeImage[] = [];\r\n\r\n action.orderTypesIds.forEach(id => {\r\n if (state.find(image => image.Id === id)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n Id: id,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IOrderTypeImage) => {\r\n if (action.orderTypesIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n\r\n }\r\n ),\r\n on(\r\n actions.OrderTypesImagesSuccessRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IOrderTypeImage) => {\r\n\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.Id);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n });\r\n }\r\n ),\r\n on(\r\n actions.OrderTypesImagesErrorRequest,\r\n (state, action) => {\r\n\r\n return state.map((image: IOrderTypeImage) => {\r\n if (action.orderTypesIds.find(productId => productId === image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n });\r\n }\r\n ),\r\n);\r\n\r\nexport function orderTypesImagesReducer(state: IOrderTypeImage[] | undefined, action: Action) {\r\n return orderTypesImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './payment.actions';\r\nimport { IPayment } from './payment.interface';\r\n\r\nconst initialState: IPayment = {\r\n OrderId: null,\r\n PaymentMethod: null,\r\n\r\n Errors: [],\r\n PaymentStepStatus: null,\r\n\r\n isPaying: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n};\r\n\r\nexport const paymentsReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.PaymentClearErrors,\r\n state => ({\r\n ...state,\r\n Errors: [],\r\n }),\r\n ),\r\n on(\r\n actions.PaymentInitAramark,\r\n actions.PaymentInit,\r\n (state, action) => ({\r\n OrderId: null,\r\n PaymentMethod: null,\r\n Errors: [],\r\n PaymentStepStatus: 'init',\r\n\r\n isPaying: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepValidateGuestData,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'validate_guest'\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepValidateGuestCardToken,\r\n actions.PaymentStepValidateMemberCardToken,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'validate_card_token',\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepCreateOrder,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'create_order',\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepPay,\r\n (state, action) => ({\r\n ...state,\r\n PaymentStepStatus: 'paying',\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepPaymentStatusCheck,\r\n (state, action) => ({\r\n ...state,\r\n OrderId: action.OrderId,\r\n PaymentStepStatus: 'payment_status_check',\r\n data: {\r\n TransactionId: action.TransactionId,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepComplete,\r\n (state, action) => ({\r\n ...state,\r\n OrderId: action.OrderId,\r\n PaymentStepStatus: 'complete',\r\n data: {\r\n ...action.payload,\r\n },\r\n isPaying: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n })\r\n ),\r\n on(\r\n actions.PaymentStepFailed,\r\n (state, action) => ({\r\n ...state,\r\n\r\n PaymentStepStatus: 'failed',\r\n Errors: [\r\n ...state.Errors,\r\n {\r\n Id: action.Id,\r\n Message: action.Message,\r\n }\r\n ],\r\n isPaying: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n })\r\n ),\r\n on(\r\n actions.PaymentReset,\r\n (state, action) => JSON.parse(JSON.stringify(initialState))\r\n ),\r\n);\r\n\r\nexport function paymentsReducer(state: IPayment | undefined, action: Action) {\r\n return paymentsReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IProductImage } from './product-images.interface';\r\nimport * as actions from './product-images.actions';\r\n\r\nconst initialState: IProductImage[] = [];\r\n\r\nexport const productImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.ProductImagesRequest,\r\n (state, action) => {\r\n const newToConcat: IProductImage[] = [];\r\n\r\n action.productIds.forEach(productId => {\r\n if (state.find(image => image.ProductId === productId)) {\r\n return;\r\n }\r\n\r\n newToConcat.push({\r\n ProductId: productId,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n });\r\n });\r\n\r\n return [\r\n ...state.map((image: IProductImage) => {\r\n if (action.productIds.find(productId => productId === image.ProductId)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return image;\r\n }),\r\n ...newToConcat,\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.ProductImagesSuccessRequest,\r\n (state, action) => state.map((image: IProductImage) => {\r\n const foundItem: APIv1.ImageUrlModel = action.payload.find(newImage => newImage.ParentId === image.ProductId);\r\n\r\n if (foundItem) {\r\n\r\n return {\r\n ...image,\r\n data: { ...foundItem },\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n }\r\n\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n };\r\n\r\n })\r\n ),\r\n\r\n on(\r\n actions.ProductImagesErrorRequest,\r\n (state, action) => state.map((image: IProductImage) => {\r\n if (action.productIds.find(productId => productId === image.ProductId)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n ),\r\n);\r\n\r\nexport function productImagesReducer(state: IProductImage[] | undefined, action: Action) {\r\n return productImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IReorder } from './reorder.interface';\r\nimport * as actions from './reorder.actions';\r\n\r\nconst initialState: IReorder[] = [];\r\n\r\nexport const reorderReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.ReorderUnmount,\r\n (state, action) => {\r\n if (action.orderId) return state.filter(obj => obj.OrderId !== action.orderId);\r\n\r\n return [];\r\n }\r\n ),\r\n on(\r\n actions.ReorderDeselectAll,\r\n (state, action) => state.map(obj => {\r\n if (obj.OrderId === action.orderId) {\r\n return {\r\n ...obj,\r\n data: !obj.data ? null : {\r\n ...obj.data,\r\n cart: !obj.data.cart ? null : {\r\n ...obj.data.cart,\r\n itemsMenuFlow: obj.data.cart.itemsMenuFlow.map(item => ({\r\n ...item,\r\n _IsSelected: false,\r\n })),\r\n itemsSimple: obj.data.cart.itemsSimple.map(item => ({\r\n ...item,\r\n _IsSelected: false,\r\n })),\r\n }\r\n }\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderSelectItem,\r\n (state, action) => state.map(obj => {\r\n if (obj.OrderId === action.orderId) {\r\n let type = 'itemsMenuFlow';\r\n if (!action.item.MenuFlowId) {\r\n type = 'itemsSimple';\r\n }\r\n\r\n let id = action.item._Id;\r\n\r\n\r\n return {\r\n ...obj,\r\n data: {\r\n ...obj.data,\r\n cart: {\r\n ...obj.data.cart,\r\n [type]: obj.data.cart[type].map(obj => {\r\n if (obj._Id === id) {\r\n return {\r\n ...obj,\r\n _IsSelected: true,\r\n };\r\n }\r\n return obj;\r\n })\r\n }\r\n }\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderDeselectItem,\r\n (state, action) => state.map(obj => {\r\n if (obj.OrderId === action.orderId) {\r\n let type = 'itemsMenuFlow';\r\n if (!action.item.MenuFlowId) {\r\n type = 'itemsSimple';\r\n }\r\n\r\n let id = action.item._Id;\r\n\r\n return {\r\n ...obj,\r\n data: {\r\n ...obj.data,\r\n cart: {\r\n ...obj.data.cart,\r\n [type]: obj.data.cart[type].map(obj => {\r\n if (obj._Id === id) {\r\n return {\r\n ...obj,\r\n _IsSelected: false,\r\n };\r\n }\r\n return obj;\r\n })\r\n }\r\n }\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderCalculateRequest,\r\n (state, action) => {\r\n const foundReorder = state.find(obj => obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id);\r\n if (foundReorder) {\r\n return state.map(obj => {\r\n if (obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id) {\r\n return {\r\n ...obj,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n };\r\n }\r\n return obj;\r\n });\r\n }\r\n\r\n return [\r\n ...state,\r\n {\r\n LocationNo: action.locationNo,\r\n OrderId: action.orderId,\r\n PickupTime: action.pickupTime,\r\n isDownloading: true,\r\n hasFailed: false,\r\n hasSucceeded: false,\r\n data: {\r\n onlineMenu: null,\r\n menuFlowsDetails: [],\r\n ingredients: [],\r\n\r\n errors: null,\r\n cart: null,\r\n },\r\n }\r\n ];\r\n }\r\n ),\r\n on(\r\n actions.ReorderCalculateSuccessRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n data: { ...action.payload },\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n on(\r\n actions.ReorderCalculateErrorRequest,\r\n (state, action) => state.map(obj => {\r\n if (obj.LocationNo === action.locationNo && obj.OrderId === action.orderId && obj.PickupTime.Id === action.pickupTime.Id) {\r\n return {\r\n ...obj,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n\r\n return obj;\r\n })\r\n ),\r\n);\r\n\r\nexport function reorderReducer(state: IReorder[] | undefined, action: Action) {\r\n return reorderReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { IRouter, IRouterNavigationPayload } from './router.interface';\r\nimport * as actions from './router.actions';\r\n\r\nconst initialState: IRouter = {\r\n previous: null,\r\n current: null,\r\n history: [],\r\n};\r\n\r\n\r\nexport const routeReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.RouterNavigation,\r\n (state, action) => {\r\n /* Run serialization */\r\n const payload: IRouterNavigationPayload = action.payload;\r\n const { id, url, urlAfterRedirects } = payload.event;\r\n\r\n if (!payload.routerState) return state;\r\n\r\n let route = payload.routerState.root;\r\n while (route.firstChild) {\r\n route = route.firstChild;\r\n }\r\n const {\r\n params,\r\n queryParams,\r\n data,\r\n fragment, /* Hash */\r\n } = route;\r\n\r\n const current = {\r\n id,\r\n url,\r\n urlAfterRedirects,\r\n params,\r\n queryParams,\r\n data,\r\n fragment,\r\n timestamp: new Date().getTime(),\r\n };\r\n\r\n const previous = state.current ? { ...state.current } : null;\r\n return {\r\n ...state,\r\n previous: {\r\n ...previous\r\n },\r\n\r\n current,\r\n /*\r\n TODO:\r\n Currently history state doesn't give a ... about browser 'GO BACK' action.\r\n This way we will have preview of full REAL history.\r\n Previous route is REAL previous route of ANGULAR state, not browser! It's not duplication.\r\n These might be different\r\n */\r\n history: previous ? [\r\n ...state.history,\r\n previous\r\n ] : state.history,\r\n };\r\n\r\n }\r\n ),\r\n);\r\n\r\nexport function routeReducer(state: IRouter | undefined, action: Action) {\r\n return routeReducerFn(state, action);\r\n}","import { createReducer, on, Action } from '@ngrx/store';\r\nimport { ITopBar } from './top-bar.interface';\r\nimport * as actions from './top-bar.actions';\r\n\r\nconst initialState: ITopBar = {\r\n isSticky: false,\r\n isCartVisible: true,\r\n isBackToLandingVisible: false,\r\n isBackToStoreVisible: false,\r\n};\r\n\r\nexport const topBarReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.TopBarSetStickyFlag,\r\n (state, action) => ({\r\n ...state,\r\n isSticky: action.isSticky,\r\n })\r\n ),\r\n on(\r\n actions.TopBarSetCartIconVisibility,\r\n (state, action) => ({\r\n ...state,\r\n isCartVisible: action.isVisible\r\n })\r\n ),\r\n on(\r\n actions.TopBarSetBackToStoreIconVisibility,\r\n (state, action) => ({\r\n ...state,\r\n isBackToStoreVisible: action.isVisible\r\n })\r\n ),\r\n on(\r\n actions.TopBarSetBackToLandingIconVisibility,\r\n (state, action) => ({\r\n ...state,\r\n isBackToLandingVisible: action.isVisible\r\n })\r\n ),\r\n);\r\n\r\nexport function topBarReducer(state: ITopBar | undefined, action: Action) {\r\n return topBarReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\n\r\nimport * as actions from './venues-images.actions';\r\nimport * as Utils from '@shared/core/utils';\r\nimport { IVenuesImages } from './venues-images.interface';\r\n\r\nconst initialState: IVenuesImages = {\r\n default: [],\r\n forList: [],\r\n forDetails: [],\r\n forWeb: [],\r\n forWebThumb: [],\r\n forMobile: [],\r\n};\r\nexport const venueImagesReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.VenueImagesRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n\r\n const notExistingImages: number[] = action.ids.filter(id => !state[imagesType].find((img: OLO.Common.IImageStateObj) => img.Id === id));\r\n\r\n return {\r\n ...state,\r\n [imagesType]: [\r\n ...state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n };\r\n }\r\n return image;\r\n }),\r\n\r\n ...notExistingImages.map(id => ({\r\n Id: id,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n data: null,\r\n }))\r\n\r\n ]\r\n };\r\n }\r\n ),\r\n on(\r\n actions.VenueImagesSuccessRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n const imageIsUpdating = action.ids.includes(image.Id);\r\n if (imageIsUpdating) {\r\n const newImage = action.payload.find(obj => obj.ParentId === image.Id);\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: true,\r\n hasFailed: true,\r\n data: newImage || null,\r\n };\r\n }\r\n\r\n return image;\r\n })\r\n };\r\n }\r\n ),\r\n on(\r\n actions.VenueImagesErrorRequest,\r\n (state, action) => {\r\n let imagesType: string = Utils.Images.toImageTypeString(action.imageType);\r\n return {\r\n ...state,\r\n [imagesType]: state[imagesType].map(image => {\r\n if (action.ids.includes(image.Id)) {\r\n return {\r\n ...image,\r\n isDownloading: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n };\r\n }\r\n return image;\r\n })\r\n };\r\n\r\n }\r\n ),\r\n\r\n);\r\n\r\nexport function venueImagesReducer(state: IVenuesImages | undefined, action: Action) {\r\n return venueImagesReducerFn(state, action);\r\n}\r\n","import { createReducer, on, Action } from '@ngrx/store';\r\nimport * as actions from './wizzard.actions';\r\nimport { IWizzard } from './wizzard.interface';\r\n\r\nconst initialState: IWizzard = {\r\n errors: [],\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: null,\r\n itemsSimple: null,\r\n};\r\n\r\nexport const wizzardReducerFn = createReducer(\r\n initialState,\r\n on(\r\n actions.WizzardStepMenuFlowInit,\r\n (state, action) => ({\r\n ...state,\r\n errors: [],\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsSimple: null,\r\n itemsMenuFlow: null,\r\n })\r\n ),\r\n on(\r\n actions.WizzardStepMenuFlowMount,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: {\r\n ...action.item\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardValidate,\r\n (state, action) => ({\r\n ...state,\r\n errors: action.errors,\r\n })\r\n ),\r\n on(\r\n actions.WizzardUnmountAll,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsSimple: null,\r\n itemsMenuFlow: null,\r\n errors: [],\r\n })\r\n ),\r\n on(\r\n actions.WizzardStepSimpleItemMount,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsSimple: { ...action.item }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowUpsellSetupRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardMountMenuFlowUpsell,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: { ...action.item }\r\n })\r\n ),\r\n on(\r\n actions.WizzardSimpleItemDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: {\r\n ...state.itemsSimple,\r\n Quantity: state.itemsSimple.Quantity - action.changeValue\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardSimpleItemIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: {\r\n ...state.itemsSimple,\r\n Quantity: state.itemsSimple.Quantity + action.changeValue\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardSimpleItemSpecialInstructions,\r\n (state, action) => ({\r\n ...state,\r\n itemsSimple: {\r\n ...state.itemsSimple,\r\n SpecialInstructions: action.specialInstruction\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowReplaceAllWithNew,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(Page => {\r\n if (Page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...Page,\r\n Products: [\r\n {\r\n ...action.product,\r\n Quantity: action.product.Quantity ? action.product.Quantity : 1,\r\n }\r\n ],\r\n };\r\n }\r\n return Page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardRecalculatePricesForMenuFlowRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: true,\r\n hasSucceeded: false,\r\n hasFailed: false,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardRecalculatePricesForMenuFlowSuccessRequest,\r\n (state, action) => {\r\n const priceObj = action.priceObj;\r\n /*\r\n Because pickupTimeValidator removes unsets everything on some actions taken, we need to\r\n check if state is still set or it's null.\r\n */\r\n return {\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: true,\r\n hasFailed: false,\r\n },\r\n itemsMenuFlow: state.itemsMenuFlow === null ? null : {\r\n ...state.itemsMenuFlow,\r\n UnitPrice: priceObj.UnitPrice,\r\n UnitTotalValue: priceObj.UnitTotalValue,\r\n Pages: state.itemsMenuFlow.Pages.map(Page => {\r\n const pageFromPriceObj = priceObj.Pages.find(obj => obj.PageIdentifier === Page.PageIdentifier);\r\n\r\n if (pageFromPriceObj) {\r\n return {\r\n ...Page,\r\n Products: Page.Products.map(Product => {\r\n const productFromPriceObj = pageFromPriceObj.Products.find(obj => obj.ProductId === Product.ProductId && obj.PageProductIdentifier === Product.PageProductIdentifier);\r\n\r\n if (productFromPriceObj) {\r\n return {\r\n ...Product,\r\n UnitPrice: productFromPriceObj.UnitPrice,\r\n TotalValue: productFromPriceObj.TotalValue,\r\n };\r\n }\r\n\r\n return Product;\r\n }),\r\n };\r\n }\r\n\r\n return Page;\r\n }),\r\n }\r\n };\r\n }\r\n ),\r\n on(\r\n actions.WizzardRecalculatePricesForMenuFlowErrorRequest,\r\n (state, action) => ({\r\n ...state,\r\n recalculatePrices: {\r\n isCalculating: false,\r\n hasSucceeded: false,\r\n hasFailed: true,\r\n },\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowAddProduct,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...page,\r\n Products: [\r\n ...page.Products,\r\n {\r\n ...action.product,\r\n Quantity: action.product.Quantity ? action.product.Quantity : 1,\r\n },\r\n ]\r\n };\r\n }\r\n\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowRemoveProduct,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n\r\n return {\r\n ...page,\r\n Products: page.Products.filter(product => {\r\n return product.ProductId !== action.productId;\r\n })\r\n };\r\n }\r\n\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowProductDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...page,\r\n Products: page.Products.map(product => {\r\n if (product.ProductId === action.productId) {\r\n return {\r\n ...product,\r\n Quantity: product.Quantity - action.changeValue,\r\n };\r\n }\r\n return product;\r\n })\r\n };\r\n }\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowProductIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(page => {\r\n if (page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...page,\r\n Products: page.Products.map(product => {\r\n if (product.ProductId === action.productId) {\r\n return {\r\n ...product,\r\n Quantity: product.Quantity + action.changeValue,\r\n };\r\n }\r\n return product;\r\n })\r\n };\r\n }\r\n return page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowSelectModifier,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Pages: state.itemsMenuFlow.Pages.map(Page => {\r\n if (Page.PageIdentifier === action.pageIdentifier) {\r\n return {\r\n ...Page,\r\n Products: Page.Products.map(Product => {\r\n if (Product.ProductId === action.productId) {\r\n const modifier = action.modifier;\r\n\r\n /*\r\n * Optional items put into IngredientsAdded array, mandatory IngredientsModified\r\n * for this project we only allow one modifier, but we keep it in array (same as online order)\r\n * remember to put this modifier into NEW array\r\n */\r\n\r\n if (modifier._IsOptional) {\r\n\r\n const ingrExists = Product.IngredientsChanges.IngredientsAdded.find(mod => mod.ModifierID === modifier.ModifierID);\r\n\r\n if (ingrExists) {\r\n return Product;\r\n }\r\n\r\n return {\r\n ...Product,\r\n IngredientsChanges: {\r\n ...Product.IngredientsChanges,\r\n IngredientsAdded: [{ ...modifier }]\r\n }\r\n };\r\n }\r\n\r\n const ingredientExists = Product.IngredientsChanges.IngredientsModified.find(mod => mod.ModifierID === modifier.ModifierID);\r\n\r\n if (ingredientExists) {\r\n return Product;\r\n }\r\n\r\n return {\r\n ...Product,\r\n IngredientsChanges: {\r\n ...Product.IngredientsChanges,\r\n IngredientsModified: [{ ...modifier }]\r\n }\r\n };\r\n }\r\n\r\n return Product;\r\n })\r\n };\r\n }\r\n\r\n return Page;\r\n })\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowDecrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Quantity: state.itemsMenuFlow.Quantity - action.changeValue\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowIncrement,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n Quantity: state.itemsMenuFlow.Quantity + action.changeValue,\r\n }\r\n })\r\n ),\r\n on(\r\n actions.WizzardMenuFlowSpecialInstructions,\r\n (state, action) => ({\r\n ...state,\r\n itemsMenuFlow: {\r\n ...state.itemsMenuFlow,\r\n SpecialInstructions: action.specialInstructions\r\n }\r\n })\r\n ),\r\n);\r\n\r\nexport function wizzardReducer(state: IWizzard | undefined, action: Action) {\r\n return wizzardReducerFn(state, action);\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { WizzardEffects } from './wizzard.effects';\r\nimport { wizzardReducer } from './wizzard.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('wizzard', wizzardReducer),\r\n EffectsModule.forFeature([\r\n WizzardEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class WizzardStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { VenueImagesEffects } from './venues-images.effects';\r\nimport { venueImagesReducer } from './venues-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('venuesImages', venueImagesReducer),\r\n EffectsModule.forFeature([\r\n VenueImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class VenuesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { TopBarEffects } from './top-bar.effects';\r\nimport { topBarReducer } from './top-bar.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('topBar', topBarReducer),\r\n EffectsModule.forFeature([\r\n TopBarEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class TopBarStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { StateEffects } from './state.effects';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n EffectsModule.forFeature([\r\n StateEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class AppStateStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { RouterEffects } from './router.effects';\r\nimport { routeReducer } from './router.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('router', routeReducer, {\r\n metaReducers: [\r\n ]\r\n }),\r\n EffectsModule.forFeature([\r\n RouterEffects\r\n ]),\r\n ],\r\n})\r\nexport class RouterStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { ReorderEffects } from './reorder.effects';\r\nimport { reorderReducer } from './reorder.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('reorder', reorderReducer),\r\n EffectsModule.forFeature([\r\n ReorderEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class ReorderStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { ProductImagesEffects } from './product-images.effects';\r\nimport { productImagesReducer } from './product-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('productImages', productImagesReducer),\r\n EffectsModule.forFeature([\r\n ProductImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class ProductImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { PickupTimeValidateEffects } from './pickup-time-validate.effects';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n EffectsModule.forFeature([\r\n PickupTimeValidateEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class PickupTimeValidateStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { PaymentsEffects } from './payment.effects';\r\nimport { PaymentsDemoEffects } from './payment-demo.effects';\r\nimport { paymentsReducer } from './payment.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('payment', paymentsReducer),\r\n EffectsModule.forFeature([\r\n PaymentsEffects,\r\n PaymentsDemoEffects,\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class PaymentStateModule { }\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Store, select, Action } from '@ngrx/store';\r\nimport { Actions, Effect, ofType } from '@ngrx/effects';\r\n\r\nimport * as actions from '../actions';\r\nimport * as selectors from '../selectors';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport * as State from '@shared/state/interface';\r\nimport * as Services from '@shared/core/services';\r\n\r\nimport * as StateModels from '../interface';\r\n\r\nimport { Observable, of, forkJoin } from 'rxjs';\r\nimport { catchError, map, switchMap, take, filter, withLatestFrom, delay, mergeMap } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class PaymentsDemoEffects {\r\n @Effect() public __DEMO__stepCreateOrderFor$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.__DEMO__PaymentStepCreateOrder,\r\n ),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.__DEMO__canPostOnlineOrder))\r\n ),\r\n switchMap(([action, canPostOnlineOrder]) => {\r\n if (!canPostOnlineOrder) {\r\n return this._error('Unable to create order - insufficient data');\r\n }\r\n\r\n return [\r\n actions.OnlineOrderClearPostOrderRequestFlags(),\r\n actions.OnlineOrderCreateRequest(),\r\n actions.__DEMO__PaymentStepPay(),\r\n ];\r\n })\r\n );\r\n\r\n @Effect() public __DEMO__stepPay$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.__DEMO__PaymentStepPay\r\n ),\r\n switchMap(action => {\r\n return this._store\r\n .pipe(\r\n select(selectors.getOnlineOrderState),\r\n filter(orderState => orderState.createRequest.isCreating === false),\r\n take(1),\r\n withLatestFrom(\r\n this._store.pipe(select(selectors.getOnlineOrder))\r\n ),\r\n switchMap(([orderState, onlineOrder]) => {\r\n if (orderState.createRequest.hasFailed) {\r\n return this._error('Unable to create order');\r\n }\r\n\r\n return this._store\r\n .pipe(\r\n select(selectors.isCartLocationsPickupsCalculating),\r\n filter(isCalculating => isCalculating === false),\r\n take(1),\r\n switchMap(calculated => {\r\n const OrderId: number = onlineOrder.Id;\r\n const PaymentMethod: APIv2.ExecutePaymentModel = {\r\n Amount: onlineOrder.TotalGrossValue,\r\n PaymentAccountId: null,\r\n Token: 'demo-mode-on',\r\n SetOrderAsValidatedOnSuccess: true,\r\n PaymentProvider: OLO.Enums.PAYMENT_PROVIDER.CONVERGE\r\n };\r\n\r\n return this._paymentsService.pay(OrderId, PaymentMethod)\r\n .pipe(\r\n map(({ TransactionId }) => {\r\n return actions.__DEMO__PaymentStepPaymentStatusCheck({ TransactionId, OrderId });\r\n }),\r\n catchError(ex => {\r\n return this._error('Payment failed', ex);\r\n })\r\n );\r\n })\r\n );\r\n\r\n\r\n })\r\n );\r\n })\r\n );\r\n\r\n @Effect() public __DEMO__stepPaymentStatusCheck$: Observable = this._actions$\r\n .pipe(\r\n ofType(\r\n actions.__DEMO__PaymentStepPaymentStatusCheck\r\n ),\r\n mergeMap(action => {\r\n return this._paymentsService.getPaymentStatus(action.TransactionId)\r\n .pipe(\r\n delay(1000),\r\n switchMap(payload => {\r\n return of(actions.PaymentStepComplete({ OrderId: action.OrderId, payload }));\r\n }),\r\n catchError(ex => {\r\n return this._error('Payment status check failed', ex);\r\n })\r\n );\r\n })\r\n );\r\n\r\n private _error(error: string = '', ex: any = null): Array {\r\n console.error('DEMO Payment error:', error, ex);\r\n return [\r\n actions.OnlineOrderStateReset(),\r\n actions.PaymentStepFailed(error)\r\n ];\r\n }\r\n\r\n constructor(\r\n private _actions$: Actions,\r\n private _paymentsService: Services.PaymentsService,\r\n private _store: Store,\r\n ) { }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OrderTypesImagesEffects } from './order-types-images.effects';\r\nimport { orderTypesImagesReducer } from './order-types-images.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('orderTypesImages', orderTypesImagesReducer),\r\n EffectsModule.forFeature([\r\n OrderTypesImagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OrderTypesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OrderTypesEffects } from './order-types.effects';\r\nimport { orderTypesReducer } from './order-types.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('orderTypes', orderTypesReducer),\r\n EffectsModule.forFeature([\r\n OrderTypesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OrderTypesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineOrdersEffects } from './online-order.effects';\r\nimport { onlineOrdersReducer } from './online-order.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('onlineOrder', onlineOrdersReducer),\r\n EffectsModule.forFeature([\r\n OnlineOrdersEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class OnlineOrderStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineMenuProductsImagesEffects } from './online-menu-products-images.effects';\r\nimport { onlineMenuProductsImagesReducer } from './online-menu-products-images.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('onlineMenuProductsImages', onlineMenuProductsImagesReducer),\r\n EffectsModule.forFeature([\r\n OnlineMenuProductsImagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OnlineMenuProductsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineMenuPagesImagesEffects } from './online-menu-pages-images.effects';\r\nimport { onlineMenuPagesImagesReducer } from './online-menu-pages-images.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('onlineMenuPagesImages', onlineMenuPagesImagesReducer),\r\n EffectsModule.forFeature([\r\n OnlineMenuPagesImagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class OnlineMenuPagesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\n\r\nimport { onlineMenuFiltersReducer } from './online-menu-filters.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('onlineMenuFilters', onlineMenuFiltersReducer),\r\n ],\r\n})\r\nexport class OnlineMenuFiltersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { OnlineMenuEffects } from './online-menu.effects';\r\nimport { onlineMenuReducer } from './online-menu.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('onlineMenu', onlineMenuReducer),\r\n EffectsModule.forFeature([\r\n OnlineMenuEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class OnlineMenuStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { modalReducer } from './modal.reducer';\r\nimport { ModalEffects } from './modal.effects';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('modals', modalReducer),\r\n EffectsModule.forFeature([\r\n ModalEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class ModalsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MenuFlowsEffects } from './menu-flows.effects';\r\nimport { menuFlowsReducer } from './menu-flows.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('menuFlows', menuFlowsReducer),\r\n EffectsModule.forFeature([\r\n MenuFlowsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MenuFlowsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MenuFlowImagesEffects } from './menu-flow-images.effects';\r\nimport { menuFlowImagesReducer } from './menu-flow-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('menuFlowImages', menuFlowImagesReducer),\r\n EffectsModule.forFeature([\r\n MenuFlowImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MenuFlowImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MenuFlowDefaultActivationsEffects } from './menu-flow-default-activations.effects';\r\nimport { menuFlowDefaultActivationsReducer } from './menu-flow-default-activations.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('menuFlowDefaultActivations', menuFlowDefaultActivationsReducer),\r\n EffectsModule.forFeature([\r\n MenuFlowDefaultActivationsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MenuFlowDefaultActivationsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MembersEffects } from './members.effects';\r\nimport { memberReducer } from './members.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('members', memberReducer),\r\n EffectsModule.forFeature([\r\n MembersEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MembersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { MemberCardBarcodesImagesEffects } from './member-card-barcodes-images.effects';\r\nimport { memberCardBarcodesImagesReducer } from './member-card-barcodes-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('memberCardBarcodesImages', memberCardBarcodesImagesReducer),\r\n EffectsModule.forFeature([\r\n MemberCardBarcodesImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class MemberCardBarcodesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyProductProgramsEffects } from './loyalty-product-programs.effects';\r\nimport { loyaltyProductProgramsReducer } from './loyalty-product-programs.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loyaltyProductPrograms', loyaltyProductProgramsReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyProductProgramsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoyaltyProductProgramsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyMessagesEffects } from './loyalty-messages.effects';\r\nimport { loyaltyMessagesReducer } from './loyalty-messages.reducer';\r\n\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('loyaltyMessages', loyaltyMessagesReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyMessagesEffects\r\n ]),\r\n ],\r\n})\r\nexport class LoyaltyMessagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyIntroductionPagesImagesEffects } from './loyalty-introduction-pages-images.effects';\r\nimport { loyaltyIntroductionPagesImagesReducer } from './loyalty-introduction-pages-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loyaltyIntroductionPagesImages', loyaltyIntroductionPagesImagesReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyIntroductionPagesImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoyaltyIntroductionPagesImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoyaltyIntroductionPagesEffects } from './loyalty-introduction-pages.effects';\r\nimport { loyaltyIntroductionPagesReducer } from './loyalty-introduction-pages.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loyaltyIntroductionPages', loyaltyIntroductionPagesReducer),\r\n EffectsModule.forFeature([\r\n LoyaltyIntroductionPagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoyaltyIntroductionPagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LocationsImagesEffects } from './locations-images.effects';\r\nimport { locationImagesReducer } from './locations-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('locationsImages', locationImagesReducer),\r\n EffectsModule.forFeature([\r\n LocationsImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LocationsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { locationsFiltersReducer } from './locations-filters.reducer';\r\nimport { LocationFiltersEffects } from './locations-filters.effects';\r\n@NgModule({\r\n imports: [\r\n StoreModule.forFeature('locationsFilters', locationsFiltersReducer),\r\n EffectsModule.forFeature([\r\n LocationFiltersEffects\r\n ]),\r\n ],\r\n})\r\nexport class LocationsFiltersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LocationsEffects } from './locations.effects';\r\nimport { locationsReducer } from './locations.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('locations', locationsReducer),\r\n EffectsModule.forFeature([\r\n LocationsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LocationsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LoaderEffects } from './loader.effects';\r\nimport { loaderReducer } from './loader.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('loader', loaderReducer),\r\n EffectsModule.forFeature([\r\n LoaderEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LoaderStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { LatestTransactionsEffects } from './latest-transactions.effects';\r\nimport { latestTransactionsReducer } from './latest-transactions.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('latestTransactions', latestTransactionsReducer),\r\n EffectsModule.forFeature([\r\n LatestTransactionsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class LatestTransactionsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { IngredientsEffects } from './ingredients.effects';\r\nimport { ingredientsReducer } from './ingredients.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('ingredients', ingredientsReducer),\r\n EffectsModule.forFeature([\r\n IngredientsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class IngredientsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { HistoryOrdersEffects } from './history-orders.effects';\r\nimport { historyOrdersReducer } from './history-orders.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('historyOrders', historyOrdersReducer),\r\n EffectsModule.forFeature([\r\n HistoryOrdersEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class HistoryOrdersStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { GeolocationEffects } from './geolocation.effects';\r\nimport { geolocationReducer } from './geolocation.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('geolocation', geolocationReducer),\r\n EffectsModule.forFeature([\r\n GeolocationEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class GeolocationStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { FreeProductsImagesEffects } from './free-products-images.effects';\r\nimport { freeProductsImagesReducer } from './free-products-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('freeProductsImages', freeProductsImagesReducer),\r\n EffectsModule.forFeature([\r\n FreeProductsImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class FreeProductsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { DietaryTagsImagesEffects } from './dietary-tags-images.effects';\r\nimport { dietaryTagsImagesReducer } from './dietary-tags-images.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('dietaryTagsImages', dietaryTagsImagesReducer),\r\n EffectsModule.forFeature([\r\n DietaryTagsImagesEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class DietaryTagsImagesStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { CurrentLocationEffects } from './current-location.effects';\r\nimport { currentLocationReducer } from './current-location.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('currentLocation', currentLocationReducer),\r\n EffectsModule.forFeature([\r\n CurrentLocationEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CurrentLocationStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { CreditCardEffects } from './credit-cards.effects';\r\nimport { creditCardReducer } from './credit-cards.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('creditCards', creditCardReducer),\r\n EffectsModule.forFeature([\r\n CreditCardEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CreditCardsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\n\r\nimport { cartPopupReducer } from './cart-popup.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('cartPopup', cartPopupReducer),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CartPopupStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { CartEffects } from './cart.effects';\r\nimport { cartReducer } from './cart.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('cart', cartReducer),\r\n EffectsModule.forFeature([\r\n CartEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class CartStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { AvailablePickupsEffects } from './available-pickups.effects';\r\nimport { availablePickupsReducer } from './available-pickups.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('availablePickups', availablePickupsReducer),\r\n EffectsModule.forFeature([\r\n AvailablePickupsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class AvailablePickupsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { AppSettingsEffects } from './app-settings.effects';\r\nimport { appSettingsReducer } from './app-settings.reducer';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n StoreModule.forFeature('appSettings', appSettingsReducer),\r\n EffectsModule.forFeature([\r\n AppSettingsEffects\r\n ]),\r\n ],\r\n exports: [],\r\n providers: [],\r\n})\r\nexport class AppSettingsStateModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport {\r\n AlertMessagesStateModule,\r\n AppSettingsStateModule,\r\n AvailablePickupsStateModule,\r\n CartStateModule,\r\n CartPopupStateModule,\r\n CreditCardsStateModule,\r\n CurrentLocationStateModule,\r\n DietaryTagsImagesStateModule,\r\n FreeProductsImagesStateModule,\r\n GeolocationStateModule,\r\n HistoryOrdersStateModule,\r\n IngredientsStateModule,\r\n LatestTransactionsStateModule,\r\n LoaderStateModule,\r\n LocationsStateModule,\r\n LocationsFiltersStateModule,\r\n LocationsImagesStateModule,\r\n LoyaltyIntroductionPagesStateModule,\r\n LoyaltyIntroductionPagesImagesStateModule,\r\n LoyaltyMessagesStateModule,\r\n LoyaltyProductProgramsStateModule,\r\n MemberCardBarcodesImagesStateModule,\r\n MembersStateModule,\r\n MenuFlowDefaultActivationsStateModule,\r\n MenuFlowImagesStateModule,\r\n MenuFlowsStateModule,\r\n ModalsStateModule,\r\n OnlineMenuStateModule,\r\n OnlineMenuFiltersStateModule,\r\n OnlineMenuPagesImagesStateModule,\r\n OnlineMenuProductsImagesStateModule,\r\n OnlineOrderStateModule,\r\n // OrderingTimeInfoStateModule,\r\n OrderTypesStateModule,\r\n OrderTypesImagesStateModule,\r\n PaymentStateModule,\r\n PickupTimeValidateStateModule,\r\n ProductImagesStateModule,\r\n ReorderStateModule,\r\n RouterStateModule,\r\n AppStateStateModule,\r\n TopBarStateModule,\r\n VenuesImagesStateModule,\r\n WizzardStateModule,\r\n} from './modules';\r\n\r\n/*\r\n If you need to customize shared effects, create own module in your current project with new effects,\r\n and include it as a feature\r\n*/\r\nconst stateModules: any[] = [\r\n AlertMessagesStateModule,\r\n AppSettingsStateModule,\r\n AvailablePickupsStateModule,\r\n CartStateModule,\r\n CartPopupStateModule,\r\n CreditCardsStateModule,\r\n CurrentLocationStateModule,\r\n DietaryTagsImagesStateModule,\r\n FreeProductsImagesStateModule,\r\n GeolocationStateModule,\r\n HistoryOrdersStateModule,\r\n IngredientsStateModule,\r\n LatestTransactionsStateModule,\r\n LoaderStateModule,\r\n LocationsStateModule,\r\n LocationsFiltersStateModule,\r\n LocationsImagesStateModule,\r\n LoyaltyIntroductionPagesStateModule,\r\n LoyaltyIntroductionPagesImagesStateModule,\r\n LoyaltyMessagesStateModule,\r\n LoyaltyProductProgramsStateModule,\r\n MemberCardBarcodesImagesStateModule,\r\n MembersStateModule,\r\n MenuFlowDefaultActivationsStateModule,\r\n MenuFlowImagesStateModule,\r\n MenuFlowsStateModule,\r\n ModalsStateModule,\r\n OnlineMenuStateModule,\r\n OnlineMenuFiltersStateModule,\r\n OnlineMenuPagesImagesStateModule,\r\n OnlineMenuProductsImagesStateModule,\r\n OnlineOrderStateModule,\r\n // OrderingTimeInfoStateModule,\r\n OrderTypesStateModule,\r\n OrderTypesImagesStateModule,\r\n PaymentStateModule,\r\n PickupTimeValidateStateModule,\r\n ProductImagesStateModule,\r\n ReorderStateModule,\r\n RouterStateModule,\r\n AppStateStateModule,\r\n TopBarStateModule,\r\n VenuesImagesStateModule,\r\n WizzardStateModule,\r\n];\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n ...stateModules,\r\n ],\r\n exports: [\r\n ...stateModules\r\n ],\r\n})\r\nexport class StateSharedModule { }\r\n","\r\nimport * as actions from './actions';\r\nimport * as effects from './effects';\r\nimport * as models from './interface';\r\nimport * as metaReducers from './meta-reducers';\r\nimport * as reducers from './reducers';\r\nimport * as selectors from './selectors';\r\n\r\nexport * from './actions';\r\nexport * from './effects';\r\nexport * from './interface';\r\nexport * from './modules';\r\nexport * from './meta-reducers';\r\nexport * from './reducers';\r\nexport * from './selectors';\r\n\r\nexport * from './state.shared.module';\r\n\r\nexport {\r\n actions,\r\n effects,\r\n models,\r\n metaReducers,\r\n reducers,\r\n selectors,\r\n};\r\n","import { createAction, props } from '@ngrx/store';\r\n\r\nexport const FreeProductImageRequest = createAction(\r\n '[Free Products Images] Request image',\r\n props<{ productId: number; }>(),\r\n);\r\n\r\nexport const FreeProductImageSuccessRequest = createAction(\r\n '[Free Products Images] Success request image',\r\n props<{ productId: number, payload: string; }>(),\r\n);\r\n\r\nexport const FreeProductImageErrorRequest = createAction(\r\n '[Free Products Images] Error request image',\r\n props<{ productId: number, ex?: any; }>(),\r\n);\r\n","//! moment.js locale configuration\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n return result;\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n return result;\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n return result;\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n return result;\n }\n }\n\n var bs = moment.defineLocale('bs', {\n months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),\n monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),\n weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact : true,\n longDateFormat : {\n LT : 'H:mm',\n LTS : 'H:mm:ss',\n L : 'DD.MM.YYYY',\n LL : 'D. MMMM YYYY',\n LLL : 'D. MMMM YYYY H:mm',\n LLLL : 'dddd, D. MMMM YYYY H:mm'\n },\n calendar : {\n sameDay : '[danas u] LT',\n nextDay : '[sutra u] LT',\n nextWeek : function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay : '[jučer u] LT',\n lastWeek : function () {\n switch (this.day()) {\n case 0:\n case 3:\n return '[prošlu] dddd [u] LT';\n case 6:\n return '[prošle] [subote] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prošli] dddd [u] LT';\n }\n },\n sameElse : 'L'\n },\n relativeTime : {\n future : 'za %s',\n past : 'prije %s',\n s : 'par sekundi',\n ss : translate,\n m : translate,\n mm : translate,\n h : translate,\n hh : translate,\n d : 'dan',\n dd : translate,\n M : 'mjesec',\n MM : translate,\n y : 'godinu',\n yy : translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal : '%d.',\n week : {\n dow : 1, // Monday is the first day of the week.\n doy : 7 // The week that contains Jan 7th is the first week of the year.\n }\n });\n\n return bs;\n\n})));\n","/**\n * @license Angular v9.1.11\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Subject, Subscription, Observable, merge as merge$1 } from 'rxjs';\nimport { share } from 'rxjs/operators';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n return { toString: fn }.toString();\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function DecoratorFactory(...args) {\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, ...args);\n return this;\n }\n const annotationInstance = new DecoratorFactory(...args);\n return function TypeDecorator(cls) {\n if (typeFn)\n typeFn(cls, ...args);\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const annotations = cls.hasOwnProperty(ANNOTATIONS) ?\n cls[ANNOTATIONS] :\n Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS];\n annotations.push(annotationInstance);\n if (additionalProcessing)\n additionalProcessing(cls);\n return cls;\n };\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.ngMetadataName = name;\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n });\n}\nfunction makeMetadataCtor(props) {\n return function ctor(...args) {\n if (props) {\n const values = props(...args);\n for (const propName in values) {\n this[propName] = values[propName];\n }\n }\n };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory(...args) {\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const annotationInstance = new ParamDecoratorFactory(...args);\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const parameters = cls.hasOwnProperty(PARAMETERS) ?\n cls[PARAMETERS] :\n Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n (parameters[index] = parameters[index] || []).push(annotationInstance);\n return cls;\n }\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.ngMetadataName = name;\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n });\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory(...args) {\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const decoratorInstance = new PropDecoratorFactory(...args);\n function PropDecorator(target, name) {\n const constructor = target.constructor;\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const meta = constructor.hasOwnProperty(PROP_METADATA) ?\n constructor[PROP_METADATA] :\n Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA];\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n if (additionalProcessing)\n additionalProcessing(target, name, ...args);\n }\n return PropDecorator;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.ngMetadataName = name;\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n });\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/metadata.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Type of the Inject decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction InjectDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ0 = /**\n * @param {?} token\n * @return {?}\n */\n(token) => ({ token });\n/**\n * Inject decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Inject = makeParamDecorator('Inject', (ɵ0));\n/**\n * Type of the Optional decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction OptionalDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Optional decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Optional = makeParamDecorator('Optional');\n/**\n * Type of the Self decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction SelfDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Self decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Self = makeParamDecorator('Self');\n/**\n * Type of the SkipSelf decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction SkipSelfDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * SkipSelf decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst SkipSelf = makeParamDecorator('SkipSelf');\n/**\n * Type of the Host decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction HostDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Host decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Host = makeParamDecorator('Host');\n/**\n * Type of the Attribute decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction AttributeDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ1 = /**\n * @param {?=} attributeName\n * @return {?}\n */\n(attributeName) => ({ attributeName });\n/**\n * Attribute decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Attribute = makeParamDecorator('Attribute', (ɵ1));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection flags for DI.\n *\n * @publicApi\n */\nvar InjectFlags;\n(function (InjectFlags) {\n // TODO(alxhub): make this 'const' when ngc no longer writes exports of it into ngfactory files.\n /** Check self and check parent injector if needed */\n InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n /**\n * Specifies that an injector should retrieve a dependency from any injector until reaching the\n * host element of the current component. (Only used with Element Injector)\n */\n InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n /** Don't ascend to ancestors of the node requesting injection. */\n InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n /** Skip the node that is requesting injection. */\n InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n /** Inject `defaultValue` instead if token not found. */\n InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n})(InjectFlags || (InjectFlags = {}));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n for (let key in objWithPropertyToExtract) {\n if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n return key;\n }\n }\n throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n target[key] = source[key];\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Construct an `InjectableDef` which defines how a token will be constructed by the DI system, and\n * in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ɵprov` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n * provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n * The factory can call `inject` to access the `Injector` and request injection of dependencies.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjectable(opts) {\n return {\n token: opts.token,\n providedIn: opts.providedIn || null,\n factory: opts.factory,\n value: undefined,\n };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only be generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `factory`: an `InjectorType` is an instantiable type, so a zero argument `factory` function to\n * create the type must be provided. If that factory function needs to inject arguments, it can\n * use the `inject` function.\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n * either have a factory or point to a type which has a `ɵprov` static property (the\n * type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n * whose providers will also be added to the injector. Locally provided types will override\n * providers from imports.\n *\n * @publicApi\n */\nfunction ɵɵdefineInjector(options) {\n return {\n factory: options.factory,\n providers: options.providers || [],\n imports: options.imports || [],\n };\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading\n * inherited value.\n *\n * @param type A type which may have its own (non-inherited) `ɵprov`.\n */\nfunction getInjectableDef(type) {\n return getOwnDefinition(type, type[NG_PROV_DEF]) ||\n getOwnDefinition(type, type[NG_INJECTABLE_DEF]);\n}\n/**\n * Return `def` only if it is defined directly on `type` and is not inherited from a base\n * class of `type`.\n *\n * The function `Object.hasOwnProperty` is not sufficient to distinguish this case because in older\n * browsers (e.g. IE10) static property inheritance is implemented by copying the properties.\n *\n * Instead, the definition's `token` is compared to the `type`, and if they don't match then the\n * property was not defined directly on the type itself, and was likely inherited. The definition\n * is only returned if the `type` matches the `def.token`.\n */\nfunction getOwnDefinition(type, def) {\n return def && def.token === type ? def : null;\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.\n *\n * @param type A type which may have `ɵprov`, via inheritance.\n *\n * @deprecated Will be removed in v10, where an error will occur in the scenario if we find the\n * `ɵprov` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n // See `jit/injectable.ts#compileInjectable` for context on NG_PROV_DEF_FALLBACK.\n const def = type &&\n (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF] ||\n (type[NG_PROV_DEF_FALLBACK] && type[NG_PROV_DEF_FALLBACK]()));\n if (def) {\n const typeName = getTypeName(type);\n // TODO(FW-1307): Re-add ngDevMode when closure can handle it\n // ngDevMode &&\n console.warn(`DEPRECATED: DI is instantiating a token \"${typeName}\" that inherits its @Injectable decorator but does not provide one itself.\\n` +\n `This will become an error in v10. Please add @Injectable() to the \"${typeName}\" class.`);\n return def;\n }\n else {\n return null;\n }\n}\n/** Gets the name of a type, accounting for some cross-browser differences. */\nfunction getTypeName(type) {\n // `Function.prototype.name` behaves differently between IE and other browsers. In most browsers\n // it'll always return the name of the function itself, no matter how many other functions it\n // inherits from. On IE the function doesn't have its own `name` property, but it takes it from\n // the lowest level in the prototype chain. E.g. if we have `class Foo extends Parent` most\n // browsers will evaluate `Foo.name` to `Foo` while IE will return `Parent`. We work around\n // the issue by converting the function to a string and parsing its name out that way via a regex.\n if (type.hasOwnProperty('name')) {\n return type.name;\n }\n const match = ('' + type).match(/^function\\s*([^\\s(]+)/);\n return match === null ? '' : match[1];\n}\n/**\n * Read the injector def type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have an injector def (`ɵinj`)\n */\nfunction getInjectorDef(type) {\n return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ?\n type[NG_INJ_DEF] :\n null;\n}\nconst NG_PROV_DEF = getClosureSafeProperty({ ɵprov: getClosureSafeProperty });\nconst NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });\n// On IE10 properties defined via `defineProperty` won't be inherited by child classes,\n// which will break inheriting the injectable definition from a grandparent through an\n// undecorated parent class. We work around it by defining a fallback method which will be\n// used to retrieve the definition. This should only be a problem in JIT mode, because in\n// AOT TypeScript seems to have a workaround for static properties. When inheriting from an\n// undecorated parent is no longer supported in v10, this can safely be removed.\nconst NG_PROV_DEF_FALLBACK = getClosureSafeProperty({ ɵprovFallback: getClosureSafeProperty });\n// We need to keep these around so we can read off old defs if new defs are unavailable\nconst NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });\nconst NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (Array.isArray(token)) {\n return '[' + token.map(stringify).join(', ') + ']';\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return `${token.overriddenName}`;\n }\n if (token.name) {\n return `${token.name}`;\n }\n const res = token.toString();\n if (res == null) {\n return '' + res;\n }\n const newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n/**\n * Concatenates two strings with separator, allocating new strings only when necessary.\n *\n * @param before before string.\n * @param separator separator string.\n * @param after after string.\n * @returns concatenated string.\n */\nfunction concatStringsWithSpace(before, after) {\n return (before == null || before === '') ?\n (after === null ? '' : after) :\n ((after == null || after === '') ? before : before + ' ' + after);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/forward_ref.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An interface that a function passed into {\\@link forwardRef} has to implement.\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref_fn'}\n * \\@publicApi\n * @record\n */\nfunction ForwardRefFn() { }\n/** @type {?} */\nconst __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * \\@usageNotes\n * ### Example\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n * \\@publicApi\n * @param {?} forwardRefFn\n * @return {?}\n */\nfunction forwardRef(forwardRefFn) {\n ((/** @type {?} */ (forwardRefFn))).__forward_ref__ = forwardRef;\n ((/** @type {?} */ (forwardRefFn))).toString = (/**\n * @return {?}\n */\n function () {\n return stringify(this());\n });\n return ((/** @type {?} */ ((/** @type {?} */ (forwardRefFn)))));\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see `forwardRef`\n * \\@publicApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction resolveForwardRef(type) {\n return isForwardRef(type) ? type() : type;\n}\n/**\n * Checks whether a function is wrapped by a `forwardRef`.\n * @param {?} fn\n * @return {?}\n */\nfunction isForwardRef(fn) {\n return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) &&\n fn.__forward_ref__ === forwardRef;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst __globalThis = typeof globalThis !== 'undefined' && globalThis;\nconst __window = typeof window !== 'undefined' && window;\nconst __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n self instanceof WorkerGlobalScope && self;\nconst __global = typeof global !== 'undefined' && global;\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case.\nconst _global = __globalThis || __global || __window || __self;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar R3ResolvedDependencyType;\n(function (R3ResolvedDependencyType) {\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"Token\"] = 0] = \"Token\";\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"Attribute\"] = 1] = \"Attribute\";\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"ChangeDetectorRef\"] = 2] = \"ChangeDetectorRef\";\n R3ResolvedDependencyType[R3ResolvedDependencyType[\"Invalid\"] = 3] = \"Invalid\";\n})(R3ResolvedDependencyType || (R3ResolvedDependencyType = {}));\nvar R3FactoryTarget;\n(function (R3FactoryTarget) {\n R3FactoryTarget[R3FactoryTarget[\"Directive\"] = 0] = \"Directive\";\n R3FactoryTarget[R3FactoryTarget[\"Component\"] = 1] = \"Component\";\n R3FactoryTarget[R3FactoryTarget[\"Injectable\"] = 2] = \"Injectable\";\n R3FactoryTarget[R3FactoryTarget[\"Pipe\"] = 3] = \"Pipe\";\n R3FactoryTarget[R3FactoryTarget[\"NgModule\"] = 4] = \"NgModule\";\n})(R3FactoryTarget || (R3FactoryTarget = {}));\nvar ViewEncapsulation;\n(function (ViewEncapsulation) {\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation || (ViewEncapsulation = {}));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction getCompilerFacade() {\n const globalNg = _global['ng'];\n if (!globalNg || !globalNg.ɵcompilerFacade) {\n throw new Error(`Angular JIT compilation failed: '@angular/compiler' not loaded!\\n` +\n ` - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\\n` +\n ` - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\\n` +\n ` - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`);\n }\n return globalNg.ɵcompilerFacade;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/fields.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });\n/** @type {?} */\nconst NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });\n/** @type {?} */\nconst NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });\n/** @type {?} */\nconst NG_MOD_DEF = getClosureSafeProperty({ ɵmod: getClosureSafeProperty });\n/** @type {?} */\nconst NG_LOC_ID_DEF = getClosureSafeProperty({ ɵloc: getClosureSafeProperty });\n/** @type {?} */\nconst NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty });\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n * @type {?}\n */\nconst NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction ngDevModeResetPerfCounters() {\n const locationString = typeof location !== 'undefined' ? location.toString() : '';\n const newCounters = {\n namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n firstCreatePass: 0,\n tNode: 0,\n tView: 0,\n rendererCreateTextNode: 0,\n rendererSetText: 0,\n rendererCreateElement: 0,\n rendererAddEventListener: 0,\n rendererSetAttribute: 0,\n rendererRemoveAttribute: 0,\n rendererSetProperty: 0,\n rendererSetClassName: 0,\n rendererAddClass: 0,\n rendererRemoveClass: 0,\n rendererSetStyle: 0,\n rendererRemoveStyle: 0,\n rendererDestroy: 0,\n rendererDestroyNode: 0,\n rendererMoveNode: 0,\n rendererRemoveNode: 0,\n rendererAppendChild: 0,\n rendererInsertBefore: 0,\n rendererCreateComment: 0,\n };\n // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When using checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n // reset the counters.\n // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n // yet.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (typeof ngDevMode !== 'object') {\n ngDevModeResetPerfCounters();\n }\n return !!ngDevMode;\n }\n return false;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/injection_token.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides additional level of type safety.\n *\n * ```\n * interface MyInterface {...}\n * var myInterface = injector.get(new InjectionToken('SomeToken'));\n * // myInterface is inferred to be MyInterface.\n * ```\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the `inject` function. See below for an example.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `\\@NgModule`. As\n * mentioned above, `'root'` is the default value for `providedIn`.\n *\n * \\@usageNotes\n * ### Basic Example\n *\n * ### Plain InjectionToken\n *\n * {\\@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n *\n * \\@publicApi\n * @template T\n */\nclass InjectionToken {\n /**\n * @param {?} _desc\n * @param {?=} options\n */\n constructor(_desc, options) {\n this._desc = _desc;\n /**\n * \\@internal\n */\n this.ngMetadataName = 'InjectionToken';\n this.ɵprov = undefined;\n if (typeof options == 'number') {\n // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n // __NG_ELEMENT_ID__ is Used by Ivy to determine bloom filter id.\n // We are using it to assign `-1` which is used to identify `Injector`.\n ((/** @type {?} */ (this))).__NG_ELEMENT_ID__ = options;\n }\n else if (options !== undefined) {\n this.ɵprov = ɵɵdefineInjectable({\n token: this,\n providedIn: options.providedIn || 'root',\n factory: options.factory,\n });\n }\n }\n /**\n * @return {?}\n */\n toString() {\n return `InjectionToken ${this._desc}`;\n }\n}\nif (false) {\n /**\n * \\@internal\n * @type {?}\n */\n InjectionToken.prototype.ngMetadataName;\n /** @type {?} */\n InjectionToken.prototype.ɵprov;\n /**\n * @type {?}\n * @protected\n */\n InjectionToken.prototype._desc;\n}\n/**\n * @record\n * @template T\n */\nfunction InjectableDefToken() { }\nif (false) {\n /** @type {?} */\n InjectableDefToken.prototype.ɵprov;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/injector_compatibility.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n *\n * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n * project.\n *\n * \\@publicApi\n * @type {?}\n */\nconst INJECTOR = new InjectionToken('INJECTOR', (/** @type {?} */ (-1)));\n/** @type {?} */\nconst _THROW_IF_NOT_FOUND = {};\n/** @type {?} */\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/** @type {?} */\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\n/** @type {?} */\nconst NG_TOKEN_PATH = 'ngTokenPath';\n/** @type {?} */\nconst NEW_LINE = /\\n/gm;\n/** @type {?} */\nconst NO_NEW_LINE = 'ɵ';\n/** @type {?} */\nconst SOURCE = '__source';\nconst ɵ0$1 = getClosureSafeProperty;\n/** @type {?} */\nconst USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ0$1 });\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n * @type {?}\n */\nlet _currentInjector = undefined;\n/**\n * @param {?} injector\n * @return {?}\n */\nfunction setCurrentInjector(injector) {\n /** @type {?} */\n const former = _currentInjector;\n _currentInjector = injector;\n return former;\n}\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n * 1. `Injector` should not depend on ivy logic.\n * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n * @type {?}\n */\nlet _injectImplementation;\n/**\n * Sets the current inject implementation.\n * @param {?} impl\n * @return {?}\n */\nfunction setInjectImplementation(impl) {\n /** @type {?} */\n const previous = _injectImplementation;\n _injectImplementation = impl;\n return previous;\n}\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n if (_currentInjector === undefined) {\n throw new Error(`inject() must be called from an injection context`);\n }\n else if (_currentInjector === null) {\n return injectRootLimpMode(token, undefined, flags);\n }\n else {\n return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n }\n}\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n return (_injectImplementation || injectInjectorOnly)(resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * This instruction allows the actual error message to be optimized away when ngDevMode is turned\n * off, saving bytes of generated code while still providing a good experience in dev mode.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * \\@codeGenApi\n * @param {?} index\n * @return {?}\n */\nfunction ɵɵinvalidFactoryDep(index) {\n /** @type {?} */\n const msg = ngDevMode ?\n `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.` :\n 'invalid';\n throw new Error(msg);\n}\n/**\n * Injects a token from the currently active injector.\n *\n * Must be used in the context of a factory function such as one defined for an\n * `InjectionToken`. Throws an error if not called from such a context.\n *\n * Within such a factory function, using this function to request injection of a dependency\n * is faster and more type-safe than providing an additional array of dependencies\n * (as has been common with `useFactory` providers).\n *\n * \\@param token The injection token for the dependency to be injected.\n * \\@param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `\\@Host`, `\\@Self`, `\\@SkipSef`, and `\\@Optional`.\n * \\@return True if injection is successful, null otherwise.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n * \\@publicApi\n * @type {?}\n */\nconst inject = ɵɵinject;\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * `InjectableDef`.\n * @template T\n * @param {?} token\n * @param {?} notFoundValue\n * @param {?} flags\n * @return {?}\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n /** @type {?} */\n const injectableDef = getInjectableDef(token);\n if (injectableDef && injectableDef.providedIn == 'root') {\n return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() :\n injectableDef.value;\n }\n if (flags & InjectFlags.Optional)\n return null;\n if (notFoundValue !== undefined)\n return notFoundValue;\n throw new Error(`Injector: NOT_FOUND [${stringify(token)}]`);\n}\n/**\n * @param {?} types\n * @return {?}\n */\nfunction injectArgs(types) {\n /** @type {?} */\n const args = [];\n for (let i = 0; i < types.length; i++) {\n /** @type {?} */\n const arg = resolveForwardRef(types[i]);\n if (Array.isArray(arg)) {\n if (arg.length === 0) {\n throw new Error('Arguments array must have arguments.');\n }\n /** @type {?} */\n let type = undefined;\n /** @type {?} */\n let flags = InjectFlags.Default;\n for (let j = 0; j < arg.length; j++) {\n /** @type {?} */\n const meta = arg[j];\n if (meta instanceof Optional || meta.ngMetadataName === 'Optional' || meta === Optional) {\n flags |= InjectFlags.Optional;\n }\n else if (meta instanceof SkipSelf || meta.ngMetadataName === 'SkipSelf' || meta === SkipSelf) {\n flags |= InjectFlags.SkipSelf;\n }\n else if (meta instanceof Self || meta.ngMetadataName === 'Self' || meta === Self) {\n flags |= InjectFlags.Self;\n }\n else if (meta instanceof Inject || meta === Inject) {\n type = meta.token;\n }\n else {\n type = meta;\n }\n }\n args.push(ɵɵinject((/** @type {?} */ (type)), flags));\n }\n else {\n args.push(ɵɵinject(arg));\n }\n }\n return args;\n}\nclass NullInjector {\n /**\n * @param {?} token\n * @param {?=} notFoundValue\n * @return {?}\n */\n get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n if (notFoundValue === THROW_IF_NOT_FOUND) {\n // Intentionally left behind: With dev tools open the debugger will stop here. There is no\n // reason why correctly written application should cause this exception.\n // TODO(misko): uncomment the next line once `ngDevMode` works with closure.\n // if (ngDevMode) debugger;\n /** @type {?} */\n const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);\n error.name = 'NullInjectorError';\n throw error;\n }\n return notFoundValue;\n }\n}\n/**\n * @param {?} e\n * @param {?} token\n * @param {?} injectorErrorName\n * @param {?} source\n * @return {?}\n */\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n /** @type {?} */\n const tokenPath = e[NG_TEMP_TOKEN_PATH];\n if (token[SOURCE]) {\n tokenPath.unshift(token[SOURCE]);\n }\n e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n e[NG_TOKEN_PATH] = tokenPath;\n e[NG_TEMP_TOKEN_PATH] = null;\n throw e;\n}\n/**\n * @param {?} text\n * @param {?} obj\n * @param {?} injectorErrorName\n * @param {?=} source\n * @return {?}\n */\nfunction formatError(text, obj, injectorErrorName, source = null) {\n text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text;\n /** @type {?} */\n let context = stringify(obj);\n if (Array.isArray(obj)) {\n context = obj.map(stringify).join(' -> ');\n }\n else if (typeof obj === 'object') {\n /** @type {?} */\n let parts = (/** @type {?} */ ([]));\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n /** @type {?} */\n let value = obj[key];\n parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n }\n }\n context = `{${parts.join(', ')}}`;\n }\n return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n ')}`;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/di/jit/environment.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A mapping of the \\@angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of \\@angular/core.\n * @type {?}\n */\nconst angularCoreDiEnv = {\n 'ɵɵdefineInjectable': ɵɵdefineInjectable,\n 'ɵɵdefineInjector': ɵɵdefineInjector,\n 'ɵɵinject': ɵɵinject,\n 'ɵɵgetFactoryOf': getFactoryOf,\n 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n};\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getFactoryOf(type) {\n /** @type {?} */\n const typeAny = (/** @type {?} */ (type));\n if (isForwardRef(type)) {\n return (/** @type {?} */ (((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const factory = getFactoryOf(resolveForwardRef(typeAny));\n return factory ? factory() : null;\n }))));\n }\n /** @type {?} */\n const def = getInjectableDef(typeAny) || getInjectorDef(typeAny);\n if (!def || def.factory === undefined) {\n return null;\n }\n return def.factory;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/linker/ng_module_factory.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Represents an instance of an NgModule created via a {\\@link NgModuleFactory}.\n *\n * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this\n * NgModule Instance.\n *\n * \\@publicApi\n * @abstract\n * @template T\n */\nclass NgModuleRef {\n}\nif (false) {\n /**\n * The injector that contains all of the providers of the NgModule.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.injector = function () { };\n /**\n * The ComponentFactoryResolver to get hold of the ComponentFactories\n * declared in the `entryComponents` property of the module.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.componentFactoryResolver = function () { };\n /**\n * The NgModule instance.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.instance = function () { };\n /**\n * Destroys the module instance and all of the data structures associated with it.\n * @abstract\n * @return {?}\n */\n NgModuleRef.prototype.destroy = function () { };\n /**\n * Allows to register a callback that will be called when the module is destroyed.\n * @abstract\n * @param {?} callback\n * @return {?}\n */\n NgModuleRef.prototype.onDestroy = function (callback) { };\n}\n/**\n * @record\n * @template T\n */\nfunction InternalNgModuleRef() { }\nif (false) {\n /** @type {?} */\n InternalNgModuleRef.prototype._bootstrapComponents;\n}\n/**\n * \\@publicApi\n * @abstract\n * @template T\n */\nclass NgModuleFactory {\n}\nif (false) {\n /**\n * @abstract\n * @return {?}\n */\n NgModuleFactory.prototype.moduleType = function () { };\n /**\n * @abstract\n * @param {?} parentInjector\n * @return {?}\n */\n NgModuleFactory.prototype.create = function (parentInjector) { };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction assertNumber(actual, msg) {\n if (!(typeof actual === 'number')) {\n throwError(msg, typeof actual, 'number', '===');\n }\n}\nfunction assertNumberInRange(actual, minInclusive, maxInclusive) {\n assertNumber(actual, 'Expected a number');\n assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');\n assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');\n}\nfunction assertString(actual, msg) {\n if (!(typeof actual === 'string')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');\n }\n}\nfunction assertEqual(actual, expected, msg) {\n if (!(actual == expected)) {\n throwError(msg, actual, expected, '==');\n }\n}\nfunction assertNotEqual(actual, expected, msg) {\n if (!(actual != expected)) {\n throwError(msg, actual, expected, '!=');\n }\n}\nfunction assertSame(actual, expected, msg) {\n if (!(actual === expected)) {\n throwError(msg, actual, expected, '===');\n }\n}\nfunction assertNotSame(actual, expected, msg) {\n if (!(actual !== expected)) {\n throwError(msg, actual, expected, '!==');\n }\n}\nfunction assertLessThan(actual, expected, msg) {\n if (!(actual < expected)) {\n throwError(msg, actual, expected, '<');\n }\n}\nfunction assertLessThanOrEqual(actual, expected, msg) {\n if (!(actual <= expected)) {\n throwError(msg, actual, expected, '<=');\n }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n if (!(actual > expected)) {\n throwError(msg, actual, expected, '>');\n }\n}\nfunction assertGreaterThanOrEqual(actual, expected, msg) {\n if (!(actual >= expected)) {\n throwError(msg, actual, expected, '>=');\n }\n}\nfunction assertNotDefined(actual, msg) {\n if (actual != null) {\n throwError(msg, actual, null, '==');\n }\n}\nfunction assertDefined(actual, msg) {\n if (actual == null) {\n throwError(msg, actual, null, '!=');\n }\n}\nfunction throwError(msg, actual, expected, comparison) {\n throw new Error(`ASSERTION ERROR: ${msg}` +\n (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));\n}\nfunction assertDomNode(node) {\n // If we're in a worker, `Node` will not be defined.\n assertEqual((typeof Node !== 'undefined' && node instanceof Node) ||\n (typeof node === 'object' && node != null &&\n node.constructor.name === 'WebWorkerRenderNode'), true, `The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n}\nfunction assertDataInRange(arr, index) {\n const maxLen = arr ? arr.length : 0;\n assertLessThan(index, maxLen, `Index expected to be less than ${maxLen} but got ${index}`);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Equivalent to ES6 spread, add each item to an array.\n *\n * @param items The items to add\n * @param arr The array to which you want to add the items\n */\nfunction addAllToArray(items, arr) {\n for (let i = 0; i < items.length; i++) {\n arr.push(items[i]);\n }\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list, dst) {\n if (dst === undefined)\n dst = list;\n for (let i = 0; i < list.length; i++) {\n let item = list[i];\n if (Array.isArray(item)) {\n // we need to inline it.\n if (dst === list) {\n // Our assumption that the list was already flat was wrong and\n // we need to clone flat since we need to write to it.\n dst = list.slice(0, i);\n }\n flatten(item, dst);\n }\n else if (dst !== list) {\n dst.push(item);\n }\n }\n return dst;\n}\nfunction deepForEach(input, fn) {\n input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n // perf: array.push is faster than array.splice!\n if (index >= arr.length) {\n arr.push(value);\n }\n else {\n arr.splice(index, 0, value);\n }\n}\nfunction removeFromArray(arr, index) {\n // perf: array.pop is faster than array.splice!\n if (index >= arr.length - 1) {\n return arr.pop();\n }\n else {\n return arr.splice(index, 1)[0];\n }\n}\nfunction newArray(size, value) {\n const list = [];\n for (let i = 0; i < size; i++) {\n list.push(value);\n }\n return list;\n}\n/**\n * Remove item from array (Same as `Array.splice()` but faster.)\n *\n * `Array.splice()` is not as fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * https://jsperf.com/fast-array-splice (About 20x faster)\n *\n * @param array Array to splice\n * @param index Index of element in array to remove.\n * @param count Number of items to remove.\n */\nfunction arraySplice(array, index, count) {\n const length = array.length - count;\n while (index < length) {\n array[index] = array[index + count];\n index++;\n }\n while (count--) {\n array.pop(); // shrink the array\n }\n}\n/**\n * Same as `Array.splice(index, 0, value)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value Value to add to array.\n */\nfunction arrayInsert(array, index, value) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n while (end > index) {\n const previousEnd = end - 1;\n array[end] = array[previousEnd];\n end = previousEnd;\n }\n array[index] = value;\n}\n/**\n * Same as `Array.splice2(index, 0, value1, value2)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value1 Value to add to array.\n * @param value2 Value to add to array.\n */\nfunction arrayInsert2(array, index, value1, value2) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n if (end == index) {\n // inserting at the end.\n array.push(value1, value2);\n }\n else if (end === 1) {\n // corner case when we have less items in array than we have items to insert.\n array.push(value2, array[0]);\n array[0] = value1;\n }\n else {\n end--;\n array.push(array[end - 1], array[end]);\n while (end > index) {\n const previousEnd = end - 2;\n array[end] = array[previousEnd];\n end--;\n }\n array[index] = value1;\n array[index + 1] = value2;\n }\n}\n/**\n * Insert a `value` into an `array` so that the array remains sorted.\n *\n * NOTE:\n * - Duplicates are not allowed, and are ignored.\n * - This uses binary search algorithm for fast inserts.\n *\n * @param array A sorted array to insert into.\n * @param value The value to insert.\n * @returns index of the inserted value.\n */\nfunction arrayInsertSorted(array, value) {\n let index = arrayIndexOfSorted(array, value);\n if (index < 0) {\n // if we did not find it insert it.\n index = ~index;\n arrayInsert(array, index, value);\n }\n return index;\n}\n/**\n * Remove `value` from a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to remove from.\n * @param value The value to remove.\n * @returns index of the removed value.\n * - positive index if value found and removed.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction arrayRemoveSorted(array, value) {\n const index = arrayIndexOfSorted(array, value);\n if (index >= 0) {\n arraySplice(array, index, 1);\n }\n return index;\n}\n/**\n * Get an index of an `value` in a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * located)\n */\nfunction arrayIndexOfSorted(array, value) {\n return _arrayIndexOfSorted(array, value, 0);\n}\n/**\n * Set a `value` for a `key`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or create.\n * @param value The value to set for a `key`.\n * @returns index (always even) of where the value vas set.\n */\nfunction keyValueArraySet(keyValueArray, key, value) {\n let index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it set it.\n keyValueArray[index | 1] = value;\n }\n else {\n index = ~index;\n arrayInsert2(keyValueArray, index, key, value);\n }\n return index;\n}\n/**\n * Retrieve a `value` for a `key` (on `undefined` if not found.)\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @return The `value` stored at the `key` location or `undefined if not found.\n */\nfunction keyValueArrayGet(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it retrieve it.\n return keyValueArray[index | 1];\n }\n return undefined;\n}\n/**\n * Retrieve a `key` index value in the array or `-1` if not found.\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @returns index of where the key is (or should have been.)\n * - positive (even) index if key found.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been inserted.)\n */\nfunction keyValueArrayIndexOf(keyValueArray, key) {\n return _arrayIndexOfSorted(keyValueArray, key, 1);\n}\n/**\n * Delete a `key` (and `value`) from the `KeyValueArray`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or delete (if exist).\n * @returns index of where the key was (or should have been.)\n * - positive (even) index if key found and deleted.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been.)\n */\nfunction keyValueArrayDelete(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it remove it.\n arraySplice(keyValueArray, index, 2);\n }\n return index;\n}\n/**\n * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @param shift grouping shift.\n * - `0` means look at every location\n * - `1` means only look at every other (even) location (the odd locations are to be ignored as\n * they are values.)\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction _arrayIndexOfSorted(array, value, shift) {\n ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');\n let start = 0;\n let end = array.length >> shift;\n while (end !== start) {\n const middle = start + ((end - start) >> 1); // find the middle.\n const current = array[middle << shift];\n if (value === current) {\n return (middle << shift);\n }\n else if (current > value) {\n end = middle;\n }\n else {\n start = middle + 1; // We already searched middle so make it non-inclusive by adding 1\n }\n }\n return ~(end << shift);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/change_detection/constants.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst ChangeDetectionStrategy = {\n /**\n * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n * Change detection can still be explicitly invoked.\n * This strategy applies to all child directives and cannot be overridden.\n */\n OnPush: 0,\n /**\n * Use the default `CheckAlways` strategy, in which change detection is automatic until\n * explicitly deactivated.\n */\n Default: 1,\n};\nChangeDetectionStrategy[ChangeDetectionStrategy.OnPush] = 'OnPush';\nChangeDetectionStrategy[ChangeDetectionStrategy.Default] = 'Default';\n/** @enum {number} */\nconst ChangeDetectorStatus = {\n /**\n * A state in which, after calling `detectChanges()`, the change detector\n * state becomes `Checked`, and must be explicitly invoked or reactivated.\n */\n CheckOnce: 0,\n /**\n * A state in which change detection is skipped until the change detector mode\n * becomes `CheckOnce`.\n */\n Checked: 1,\n /**\n * A state in which change detection continues automatically until explicitly\n * deactivated.\n */\n CheckAlways: 2,\n /**\n * A state in which a change detector sub tree is not a part of the main tree and\n * should be skipped.\n */\n Detached: 3,\n /**\n * Indicates that the change detector encountered an error checking a binding\n * or calling a directive lifecycle method and is now in an inconsistent state. Change\n * detectors in this state do not detect changes.\n */\n Errored: 4,\n /**\n * Indicates that the change detector has been destroyed.\n */\n Destroyed: 5,\n};\nChangeDetectorStatus[ChangeDetectorStatus.CheckOnce] = 'CheckOnce';\nChangeDetectorStatus[ChangeDetectorStatus.Checked] = 'Checked';\nChangeDetectorStatus[ChangeDetectorStatus.CheckAlways] = 'CheckAlways';\nChangeDetectorStatus[ChangeDetectorStatus.Detached] = 'Detached';\nChangeDetectorStatus[ChangeDetectorStatus.Errored] = 'Errored';\nChangeDetectorStatus[ChangeDetectorStatus.Destroyed] = 'Destroyed';\n/**\n * Reports whether a given strategy is currently the default for change detection.\n * @see `ChangeDetectorStatus` / `ChangeDetectorRef`\n * @param {?} changeDetectionStrategy The strategy to check.\n * @return {?} True if the given strategy is the current default, false otherwise.\n */\nfunction isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n return changeDetectionStrategy == null ||\n changeDetectionStrategy === ChangeDetectionStrategy.Default;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/metadata/view.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst ViewEncapsulation$1 = {\n /**\n * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\n * Element and pre-processing the style rules provided via {@link Component#styles styles} or\n * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all\n * selectors.\n *\n * This is the default option.\n */\n Emulated: 0,\n /**\n * @deprecated v6.1.0 - use {ViewEncapsulation.ShadowDom} instead.\n * Use the native encapsulation mechanism of the renderer.\n *\n * For the DOM this means using the deprecated [Shadow DOM\n * v0](https://w3c.github.io/webcomponents/spec/shadow/) and\n * creating a ShadowRoot for Component's Host Element.\n */\n Native: 1,\n /**\n * Don't provide any template or style encapsulation.\n */\n None: 2,\n /**\n * Use Shadow DOM to encapsulate styles.\n *\n * For the DOM this means using modern [Shadow\n * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\n * creating a ShadowRoot for Component's Host Element.\n */\n ShadowDom: 3,\n};\nViewEncapsulation$1[ViewEncapsulation$1.Emulated] = 'Emulated';\nViewEncapsulation$1[ViewEncapsulation$1.Native] = 'Native';\nViewEncapsulation$1[ViewEncapsulation$1.None] = 'None';\nViewEncapsulation$1[ViewEncapsulation$1.ShadowDom] = 'ShadowDom';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/empty.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n * @type {?}\n */\nconst EMPTY_OBJ = {};\n/** @type {?} */\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {\n // These property accesses can be ignored because ngDevMode will be set to false\n // when optimizing code and the whole if statement will be dropped.\n // tslint:disable-next-line:no-toplevel-property-access\n Object.freeze(EMPTY_OBJ);\n // tslint:disable-next-line:no-toplevel-property-access\n Object.freeze(EMPTY_ARRAY);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/definition.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nlet _renderCompCount = 0;\n/**\n * Create a component definition object.\n *\n *\n * # Example\n * ```\n * class MyDirective {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵcmp = defineComponent({\n * ...\n * });\n * }\n * ```\n * \\@codeGenApi\n * @template T\n * @param {?} componentDefinition\n * @return {?}\n */\nfunction ɵɵdefineComponent(componentDefinition) {\n return noSideEffects((/**\n * @return {?}\n */\n () => {\n // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.\n // See the `initNgDevMode` docstring for more information.\n (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n /** @type {?} */\n const type = componentDefinition.type;\n /** @type {?} */\n const typePrototype = type.prototype;\n /** @type {?} */\n const declaredInputs = (/** @type {?} */ ({}));\n /** @type {?} */\n const def = {\n type: type,\n providersResolver: null,\n decls: componentDefinition.decls,\n vars: componentDefinition.vars,\n factory: null,\n template: componentDefinition.template || (/** @type {?} */ (null)),\n consts: componentDefinition.consts || null,\n ngContentSelectors: componentDefinition.ngContentSelectors,\n hostBindings: componentDefinition.hostBindings || null,\n hostVars: componentDefinition.hostVars || 0,\n hostAttrs: componentDefinition.hostAttrs || null,\n contentQueries: componentDefinition.contentQueries || null,\n declaredInputs: declaredInputs,\n inputs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n outputs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n exportAs: componentDefinition.exportAs || null,\n onChanges: null,\n onInit: typePrototype.ngOnInit || null,\n doCheck: typePrototype.ngDoCheck || null,\n afterContentInit: typePrototype.ngAfterContentInit || null,\n afterContentChecked: typePrototype.ngAfterContentChecked || null,\n afterViewInit: typePrototype.ngAfterViewInit || null,\n afterViewChecked: typePrototype.ngAfterViewChecked || null,\n onDestroy: typePrototype.ngOnDestroy || null,\n onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n directiveDefs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n pipeDefs: (/** @type {?} */ (null)),\n // assigned in noSideEffects\n selectors: componentDefinition.selectors || EMPTY_ARRAY,\n viewQuery: componentDefinition.viewQuery || null,\n features: (/** @type {?} */ (componentDefinition.features)) || null,\n data: componentDefinition.data || {},\n // TODO(misko): convert ViewEncapsulation into const enum so that it can be used directly in\n // the next line. Also `None` should be 0 not 2.\n encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,\n id: 'c',\n styles: componentDefinition.styles || EMPTY_ARRAY,\n _: (/** @type {?} */ (null)),\n setInput: null,\n schemas: componentDefinition.schemas || null,\n tView: null,\n };\n /** @type {?} */\n const directiveTypes = (/** @type {?} */ (componentDefinition.directives));\n /** @type {?} */\n const feature = componentDefinition.features;\n /** @type {?} */\n const pipeTypes = (/** @type {?} */ (componentDefinition.pipes));\n def.id += _renderCompCount++;\n def.inputs = invertObject(componentDefinition.inputs, declaredInputs),\n def.outputs = invertObject(componentDefinition.outputs),\n feature && feature.forEach((/**\n * @param {?} fn\n * @return {?}\n */\n (fn) => fn(def)));\n def.directiveDefs = directiveTypes ?\n (/**\n * @return {?}\n */\n () => (typeof directiveTypes === 'function' ? directiveTypes() : directiveTypes)\n .map(extractDirectiveDef)) :\n null;\n def.pipeDefs = pipeTypes ?\n (/**\n * @return {?}\n */\n () => (typeof pipeTypes === 'function' ? pipeTypes() : pipeTypes).map(extractPipeDef)) :\n null;\n return (/** @type {?} */ (def));\n }));\n}\n/**\n * \\@codeGenApi\n * @param {?} type\n * @param {?} directives\n * @param {?} pipes\n * @return {?}\n */\nfunction ɵɵsetComponentScope(type, directives, pipes) {\n /** @type {?} */\n const def = ((/** @type {?} */ (type.ɵcmp)));\n def.directiveDefs = (/**\n * @return {?}\n */\n () => directives.map(extractDirectiveDef));\n def.pipeDefs = (/**\n * @return {?}\n */\n () => pipes.map(extractPipeDef));\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extractDirectiveDef(type) {\n /** @type {?} */\n const def = getComponentDef(type) || getDirectiveDef(type);\n if (ngDevMode && !def) {\n throw new Error(`'${type.name}' is neither 'ComponentType' or 'DirectiveType'.`);\n }\n return (/** @type {?} */ (def));\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extractPipeDef(type) {\n /** @type {?} */\n const def = getPipeDef(type);\n if (ngDevMode && !def) {\n throw new Error(`'${type.name}' is not a 'PipeType'.`);\n }\n return (/** @type {?} */ (def));\n}\n/** @type {?} */\nconst autoRegisterModuleById = {};\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} def\n * @return {?}\n */\nfunction ɵɵdefineNgModule(def) {\n /** @type {?} */\n const res = {\n type: def.type,\n bootstrap: def.bootstrap || EMPTY_ARRAY,\n declarations: def.declarations || EMPTY_ARRAY,\n imports: def.imports || EMPTY_ARRAY,\n exports: def.exports || EMPTY_ARRAY,\n transitiveCompileScopes: null,\n schemas: def.schemas || null,\n id: def.id || null,\n };\n if (def.id != null) {\n noSideEffects((/**\n * @return {?}\n */\n () => {\n autoRegisterModuleById[(/** @type {?} */ (def.id))] = (/** @type {?} */ ((/** @type {?} */ (def.type))));\n }));\n }\n return (/** @type {?} */ (res));\n}\n/**\n * Adds the module metadata that is necessary to compute the module's transitive scope to an\n * existing module definition.\n *\n * Scope metadata of modules is not used in production builds, so calls to this function can be\n * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n * to become eligible for tree-shaking as well.\n *\n * \\@codeGenApi\n * @param {?} type\n * @param {?} scope\n * @return {?}\n */\nfunction ɵɵsetNgModuleScope(type, scope) {\n return (/** @type {?} */ (noSideEffects((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const ngModuleDef = getNgModuleDef(type, true);\n ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n }))));\n}\n/**\n * Inverts an inputs or outputs lookup such that the keys, which were the\n * minified keys, are part of the values, and the values are parsed so that\n * the publicName of the property is the new key\n *\n * e.g. for\n *\n * ```\n * class Comp {\n * \\@Input()\n * propName1: string;\n *\n * \\@Input('publicName2')\n * declaredPropName2: number;\n * }\n * ```\n *\n * will be serialized as\n *\n * ```\n * {\n * propName1: 'propName1',\n * declaredPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * which is than translated by the minifier as:\n *\n * ```\n * {\n * minifiedPropName1: 'propName1',\n * minifiedPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * becomes: (public name => minifiedName)\n *\n * ```\n * {\n * 'propName1': 'minifiedPropName1',\n * 'publicName2': 'minifiedPropName2',\n * }\n * ```\n *\n * Optionally the function can take `secondary` which will result in: (public name => declared name)\n *\n * ```\n * {\n * 'propName1': 'propName1',\n * 'publicName2': 'declaredPropName2',\n * }\n * ```\n *\n * @template T\n * @param {?=} obj\n * @param {?=} secondary\n * @return {?}\n */\nfunction invertObject(obj, secondary) {\n if (obj == null)\n return (/** @type {?} */ (EMPTY_OBJ));\n /** @type {?} */\n const newLookup = {};\n for (const minifiedKey in obj) {\n if (obj.hasOwnProperty(minifiedKey)) {\n /** @type {?} */\n let publicName = (/** @type {?} */ (obj[minifiedKey]));\n /** @type {?} */\n let declaredName = publicName;\n if (Array.isArray(publicName)) {\n declaredName = publicName[1];\n publicName = publicName[0];\n }\n newLookup[publicName] = minifiedKey;\n if (secondary) {\n (secondary[publicName] = (/** @type {?} */ (declaredName)));\n }\n }\n }\n return newLookup;\n}\n/**\n * Create a directive definition object.\n *\n * # Example\n * ```ts\n * class MyDirective {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵdir = ɵɵdefineDirective({\n * ...\n * });\n * }\n * ```\n *\n * \\@codeGenApi\n * @type {?}\n */\nconst ɵɵdefineDirective = (/** @type {?} */ ((/** @type {?} */ (ɵɵdefineComponent))));\n/**\n * Create a pipe definition object.\n *\n * # Example\n * ```\n * class MyPipe implements PipeTransform {\n * // Generated by Angular Template Compiler\n * static ɵpipe = definePipe({\n * ...\n * });\n * }\n * ```\n * \\@codeGenApi\n * @template T\n * @param {?} pipeDef Pipe definition generated by the compiler\n *\n * @return {?}\n */\nfunction ɵɵdefinePipe(pipeDef) {\n return (/** @type {?} */ (((/** @type {?} */ ({\n type: pipeDef.type,\n name: pipeDef.name,\n factory: null,\n pure: pipeDef.pure !== false,\n onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n })))));\n}\n/**\n * The following getter methods retrieve the definition form the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getComponentDef(type) {\n return type[NG_COMP_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getDirectiveDef(type) {\n return type[NG_DIR_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getPipeDef(type) {\n return type[NG_PIPE_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @param {?=} throwNotFound\n * @return {?}\n */\nfunction getFactoryDef(type, throwNotFound) {\n /** @type {?} */\n const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);\n if (!hasFactoryDef && throwNotFound === true && ngDevMode) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);\n }\n return hasFactoryDef ? type[NG_FACTORY_DEF] : null;\n}\n/**\n * @template T\n * @param {?} type\n * @param {?=} throwNotFound\n * @return {?}\n */\nfunction getNgModuleDef(type, throwNotFound) {\n /** @type {?} */\n const ngModuleDef = type[NG_MOD_DEF] || null;\n if (!ngModuleDef && throwNotFound === true) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);\n }\n return ngModuleDef;\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getNgLocaleIdDef(type) {\n return ((/** @type {?} */ (type)))[NG_LOC_ID_DEF] || null;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/view.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\n/** @type {?} */\nconst HOST = 0;\n/** @type {?} */\nconst TVIEW = 1;\n/** @type {?} */\nconst FLAGS = 2;\n/** @type {?} */\nconst PARENT = 3;\n/** @type {?} */\nconst NEXT = 4;\n/** @type {?} */\nconst TRANSPLANTED_VIEWS_TO_REFRESH = 5;\n/** @type {?} */\nconst T_HOST = 6;\n/** @type {?} */\nconst CLEANUP = 7;\n/** @type {?} */\nconst CONTEXT = 8;\n/** @type {?} */\nconst INJECTOR$1 = 9;\n/** @type {?} */\nconst RENDERER_FACTORY = 10;\n/** @type {?} */\nconst RENDERER = 11;\n/** @type {?} */\nconst SANITIZER = 12;\n/** @type {?} */\nconst CHILD_HEAD = 13;\n/** @type {?} */\nconst CHILD_TAIL = 14;\n/** @type {?} */\nconst DECLARATION_VIEW = 15;\n/** @type {?} */\nconst DECLARATION_COMPONENT_VIEW = 16;\n/** @type {?} */\nconst DECLARATION_LCONTAINER = 17;\n/** @type {?} */\nconst PREORDER_HOOK_FLAGS = 18;\n/** @type {?} */\nconst QUERIES = 19;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n * @type {?}\n */\nconst HEADER_OFFSET = 20;\n/**\n * @record\n */\nfunction OpaqueViewState() { }\nif (false) {\n /** @type {?} */\n OpaqueViewState.prototype.__brand__;\n}\n/**\n * `LView` stores all of the information needed to process the instructions as\n * they are invoked from the template. Each embedded view and component view has its\n * own `LView`. When processing a particular view, we set the `viewData` to that\n * `LView`. When that view is done processing, the `viewData` is set back to\n * whatever the original `viewData` was before (the parent `LView`).\n *\n * Keeping separate state for each view facilities view insertion / deletion, so we\n * don't have to edit the data array based on which views are present.\n * @record\n */\nfunction LView() { }\nif (false) {\n /* Skipping unnamed member:\n [HOST]: RElement|null;*/\n /* Skipping unnamed member:\n readonly[TVIEW]: TView;*/\n /* Skipping unnamed member:\n [FLAGS]: LViewFlags;*/\n /* Skipping unnamed member:\n [PARENT]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [NEXT]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [QUERIES]: LQueries|null;*/\n /* Skipping unnamed member:\n [T_HOST]: TViewNode|TElementNode|null;*/\n /* Skipping unnamed member:\n [CLEANUP]: any[]|null;*/\n /* Skipping unnamed member:\n [CONTEXT]: {}|RootContext|null;*/\n /* Skipping unnamed member:\n readonly[INJECTOR]: Injector|null;*/\n /* Skipping unnamed member:\n [RENDERER_FACTORY]: RendererFactory3;*/\n /* Skipping unnamed member:\n [RENDERER]: Renderer3;*/\n /* Skipping unnamed member:\n [SANITIZER]: Sanitizer|null;*/\n /* Skipping unnamed member:\n [CHILD_HEAD]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [CHILD_TAIL]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [DECLARATION_VIEW]: LView|null;*/\n /* Skipping unnamed member:\n [DECLARATION_COMPONENT_VIEW]: LView;*/\n /* Skipping unnamed member:\n [DECLARATION_LCONTAINER]: LContainer|null;*/\n /* Skipping unnamed member:\n [PREORDER_HOOK_FLAGS]: PreOrderHookFlags;*/\n /* Skipping unnamed member:\n [TRANSPLANTED_VIEWS_TO_REFRESH]: number;*/\n}\n/** @enum {number} */\nconst LViewFlags = {\n /** The state of the init phase on the first 2 bits */\n InitPhaseStateIncrementer: 1,\n InitPhaseStateMask: 3,\n /**\n * Whether or not the view is in creationMode.\n *\n * This must be stored in the view rather than using `data` as a marker so that\n * we can properly support embedded views. Otherwise, when exiting a child view\n * back into the parent view, `data` will be defined and `creationMode` will be\n * improperly reported as false.\n */\n CreationMode: 4,\n /**\n * Whether or not this LView instance is on its first processing pass.\n *\n * An LView instance is considered to be on its \"first pass\" until it\n * has completed one creation mode run and one update mode run. At this\n * time, the flag is turned off.\n */\n FirstLViewPass: 8,\n /** Whether this view has default change detection strategy (checks always) or onPush */\n CheckAlways: 16,\n /**\n * Whether or not manual change detection is turned on for onPush components.\n *\n * This is a special mode that only marks components dirty in two cases:\n * 1) There has been a change to an @Input property\n * 2) `markDirty()` has been called manually by the user\n *\n * Note that in this mode, the firing of events does NOT mark components\n * dirty automatically.\n *\n * Manual mode is turned off by default for backwards compatibility, as events\n * automatically mark OnPush components dirty in View Engine.\n *\n * TODO: Add a public API to ChangeDetectionStrategy to turn this mode on\n */\n ManualOnPush: 32,\n /** Whether or not this view is currently dirty (needing check) */\n Dirty: 64,\n /** Whether or not this view is currently attached to change detection tree. */\n Attached: 128,\n /** Whether or not this view is destroyed. */\n Destroyed: 256,\n /** Whether or not this view is the root view */\n IsRoot: 512,\n /**\n * Whether this moved LView was needs to be refreshed at the insertion location because the\n * declaration was dirty.\n */\n RefreshTransplantedView: 1024,\n /**\n * Index of the current init phase on last 21 bits\n */\n IndexWithinInitPhaseIncrementer: 2048,\n IndexWithinInitPhaseShift: 11,\n IndexWithinInitPhaseReset: 2047,\n};\n/** @enum {number} */\nconst InitPhaseState = {\n OnInitHooksToBeRun: 0,\n AfterContentInitHooksToBeRun: 1,\n AfterViewInitHooksToBeRun: 2,\n InitPhaseCompleted: 3,\n};\n/** @enum {number} */\nconst PreOrderHookFlags = {\n /**\n The index of the next pre-order hook to be called in the hooks array, on the first 16\n bits\n */\n IndexOfTheNextPreOrderHookMaskMask: 65535,\n /**\n * The number of init hooks that have already been called, on the last 16 bits\n */\n NumberOfInitHooksCalledIncrementer: 65536,\n NumberOfInitHooksCalledShift: 16,\n NumberOfInitHooksCalledMask: 4294901760,\n};\n/**\n * Set of instructions used to process host bindings efficiently.\n *\n * See VIEW_DATA.md for more information.\n * @record\n */\nfunction ExpandoInstructions() { }\n/** @enum {number} */\nconst TViewType = {\n /**\n * Root `TView` is the used to bootstrap components into. It is used in conjunction with\n * `LView` which takes an existing DOM node not owned by Angular and wraps it in `TView`/`LView`\n * so that other components can be loaded into it.\n */\n Root: 0,\n /**\n * `TView` associated with a Component. This would be the `TView` directly associated with the\n * component view (as opposed an `Embedded` `TView` which would be a child of `Component` `TView`)\n */\n Component: 1,\n /**\n * `TView` associated with a template. Such as `*ngIf`, `` etc... A `Component`\n * can have zero or more `Embedede` `TView`s.\n */\n Embedded: 2,\n};\n/**\n * The static data for an LView (shared between all templates of a\n * given type).\n *\n * Stored on the `ComponentDef.tView`.\n * @record\n */\nfunction TView() { }\nif (false) {\n /**\n * Type of `TView` (`Root`|`Component`|`Embedded`).\n * @type {?}\n */\n TView.prototype.type;\n /**\n * ID for inline views to determine whether a view is the same as the previous view\n * in a certain position. If it's not, we know the new view needs to be inserted\n * and the one that exists needs to be removed (e.g. if/else statements)\n *\n * If this is -1, then this is a component view or a dynamically created view.\n * @type {?}\n */\n TView.prototype.id;\n /**\n * This is a blueprint used to generate LView instances for this TView. Copying this\n * blueprint is faster than creating a new LView from scratch.\n * @type {?}\n */\n TView.prototype.blueprint;\n /**\n * The template function used to refresh the view of dynamically created views\n * and components. Will be null for inline views.\n * @type {?}\n */\n TView.prototype.template;\n /**\n * A function containing query-related instructions.\n * @type {?}\n */\n TView.prototype.viewQuery;\n /**\n * Pointer to the host `TNode` (not part of this TView).\n *\n * If this is a `TViewNode` for an `LViewNode`, this is an embedded view of a container.\n * We need this pointer to be able to efficiently find this node when inserting the view\n * into an anchor.\n *\n * If this is a `TElementNode`, this is the view of a root component. It has exactly one\n * root TNode.\n *\n * If this is null, this is the view of a component that is not at root. We do not store\n * the host TNodes for child component views because they can potentially have several\n * different host TNodes, depending on where the component is being used. These host\n * TNodes cannot be shared (due to different indices, etc).\n * @type {?}\n */\n TView.prototype.node;\n /**\n * Whether or not this template has been processed in creation mode.\n * @type {?}\n */\n TView.prototype.firstCreatePass;\n /**\n * Whether or not this template has been processed in update mode (e.g. change detected)\n *\n * `firstUpdatePass` is used by styling to set up `TData` to contain metadata about the styling\n * instructions. (Mainly to build up a linked list of styling priority order.)\n *\n * Typically this function gets cleared after first execution. If exception is thrown then this\n * flag can remain turned un until there is first successful (no exception) pass. This means that\n * individual styling instructions keep track of if they have already been added to the linked\n * list to prevent double adding.\n * @type {?}\n */\n TView.prototype.firstUpdatePass;\n /**\n * Static data equivalent of LView.data[]. Contains TNodes, PipeDefInternal or TI18n.\n * @type {?}\n */\n TView.prototype.data;\n /**\n * The binding start index is the index at which the data array\n * starts to store bindings only. Saving this value ensures that we\n * will begin reading bindings at the correct point in the array when\n * we are in update mode.\n *\n * -1 means that it has not been initialized.\n * @type {?}\n */\n TView.prototype.bindingStartIndex;\n /**\n * The index where the \"expando\" section of `LView` begins. The expando\n * section contains injectors, directive instances, and host binding values.\n * Unlike the \"decls\" and \"vars\" sections of `LView`, the length of this\n * section cannot be calculated at compile-time because directives are matched\n * at runtime to preserve locality.\n *\n * We store this start index so we know where to start checking host bindings\n * in `setHostBindings`.\n * @type {?}\n */\n TView.prototype.expandoStartIndex;\n /**\n * Whether or not there are any static view queries tracked on this view.\n *\n * We store this so we know whether or not we should do a view query\n * refresh after creation mode to collect static query results.\n * @type {?}\n */\n TView.prototype.staticViewQueries;\n /**\n * Whether or not there are any static content queries tracked on this view.\n *\n * We store this so we know whether or not we should do a content query\n * refresh after creation mode to collect static query results.\n * @type {?}\n */\n TView.prototype.staticContentQueries;\n /**\n * A reference to the first child node located in the view.\n * @type {?}\n */\n TView.prototype.firstChild;\n /**\n * Set of instructions used to process host bindings efficiently.\n *\n * See VIEW_DATA.md for more information.\n * @type {?}\n */\n TView.prototype.expandoInstructions;\n /**\n * Full registry of directives and components that may be found in this view.\n *\n * It's necessary to keep a copy of the full def list on the TView so it's possible\n * to render template functions without a host component.\n * @type {?}\n */\n TView.prototype.directiveRegistry;\n /**\n * Full registry of pipes that may be found in this view.\n *\n * The property is either an array of `PipeDefs`s or a function which returns the array of\n * `PipeDefs`s. The function is necessary to be able to support forward declarations.\n *\n * It's necessary to keep a copy of the full def list on the TView so it's possible\n * to render template functions without a host component.\n * @type {?}\n */\n TView.prototype.pipeRegistry;\n /**\n * Array of ngOnInit, ngOnChanges and ngDoCheck hooks that should be executed for this view in\n * creation mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.preOrderHooks;\n /**\n * Array of ngOnChanges and ngDoCheck hooks that should be executed for this view in update mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.preOrderCheckHooks;\n /**\n * Array of ngAfterContentInit and ngAfterContentChecked hooks that should be executed\n * for this view in creation mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.contentHooks;\n /**\n * Array of ngAfterContentChecked hooks that should be executed for this view in update\n * mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.contentCheckHooks;\n /**\n * Array of ngAfterViewInit and ngAfterViewChecked hooks that should be executed for\n * this view in creation mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.viewHooks;\n /**\n * Array of ngAfterViewChecked hooks that should be executed for this view in\n * update mode.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.viewCheckHooks;\n /**\n * Array of ngOnDestroy hooks that should be executed when this view is destroyed.\n *\n * Even indices: Directive index\n * Odd indices: Hook function\n * @type {?}\n */\n TView.prototype.destroyHooks;\n /**\n * When a view is destroyed, listeners need to be released and outputs need to be\n * unsubscribed. This cleanup array stores both listener data (in chunks of 4)\n * and output data (in chunks of 2) for a particular view. Combining the arrays\n * saves on memory (70 bytes per array) and on a few bytes of code size (for two\n * separate for loops).\n *\n * If it's a native DOM listener or output subscription being stored:\n * 1st index is: event name `name = tView.cleanup[i+0]`\n * 2nd index is: index of native element or a function that retrieves global target (window,\n * document or body) reference based on the native element:\n * `typeof idxOrTargetGetter === 'function'`: global target getter function\n * `typeof idxOrTargetGetter === 'number'`: index of native element\n *\n * 3rd index is: index of listener function `listener = lView[CLEANUP][tView.cleanup[i+2]]`\n * 4th index is: `useCaptureOrIndx = tView.cleanup[i+3]`\n * `typeof useCaptureOrIndx == 'boolean' : useCapture boolean\n * `typeof useCaptureOrIndx == 'number':\n * `useCaptureOrIndx >= 0` `removeListener = LView[CLEANUP][useCaptureOrIndx]`\n * `useCaptureOrIndx < 0` `subscription = LView[CLEANUP][-useCaptureOrIndx]`\n *\n * If it's an output subscription or query list destroy hook:\n * 1st index is: output unsubscribe function / query list destroy function\n * 2nd index is: index of function context in LView.cleanupInstances[]\n * `tView.cleanup[i+0].call(lView[CLEANUP][tView.cleanup[i+1]])`\n * @type {?}\n */\n TView.prototype.cleanup;\n /**\n * A list of element indices for child components that will need to be\n * refreshed when the current view has finished its check. These indices have\n * already been adjusted for the HEADER_OFFSET.\n *\n * @type {?}\n */\n TView.prototype.components;\n /**\n * A collection of queries tracked in a given view.\n * @type {?}\n */\n TView.prototype.queries;\n /**\n * An array of indices pointing to directives with content queries alongside with the\n * corresponding\n * query index. Each entry in this array is a tuple of:\n * - index of the first content query index declared by a given directive;\n * - index of a directive.\n *\n * We are storing those indexes so we can refresh content queries as part of a view refresh\n * process.\n * @type {?}\n */\n TView.prototype.contentQueries;\n /**\n * Set of schemas that declare elements to be allowed inside the view.\n * @type {?}\n */\n TView.prototype.schemas;\n /**\n * Array of constants for the view. Includes attribute arrays, local definition arrays etc.\n * Used for directive matching, attribute bindings, local definitions and more.\n * @type {?}\n */\n TView.prototype.consts;\n /**\n * Indicates that there was an error before we managed to complete the first create pass of the\n * view. This means that the view is likely corrupted and we should try to recover it.\n * @type {?}\n */\n TView.prototype.incompleteFirstPass;\n}\n/** @enum {number} */\nconst RootContextFlags = {\n Empty: 0,\n DetectChanges: 1,\n FlushPlayers: 2,\n};\n/**\n * RootContext contains information which is shared for all components which\n * were bootstrapped with {\\@link renderComponent}.\n * @record\n */\nfunction RootContext() { }\nif (false) {\n /**\n * A function used for scheduling change detection in the future. Usually\n * this is `requestAnimationFrame`.\n * @type {?}\n */\n RootContext.prototype.scheduler;\n /**\n * A promise which is resolved when all components are considered clean (not dirty).\n *\n * This promise is overwritten every time a first call to {\\@link markDirty} is invoked.\n * @type {?}\n */\n RootContext.prototype.clean;\n /**\n * RootComponents - The components that were instantiated by the call to\n * {\\@link renderComponent}.\n * @type {?}\n */\n RootContext.prototype.components;\n /**\n * The player flushing handler to kick off all animations\n * @type {?}\n */\n RootContext.prototype.playerHandler;\n /**\n * What render-related operations to run once a scheduler has been set\n * @type {?}\n */\n RootContext.prototype.flags;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/container.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n * @type {?}\n */\nconst TYPE = 1;\n/**\n * Flag to signify that this `LContainer` may have transplanted views which need to be change\n * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.\n *\n * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip\n * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify\n * that the `MOVED_VIEWS` are transplanted and on-push.\n * @type {?}\n */\nconst HAS_TRANSPLANTED_VIEWS = 2;\n// PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5\n// As we already have these constants in LView, we don't need to re-create them.\n// T_HOST is index 6\n// We already have this constants in LView, we don't need to re-create it.\n/** @type {?} */\nconst NATIVE = 7;\n/** @type {?} */\nconst VIEW_REFS = 8;\n/** @type {?} */\nconst MOVED_VIEWS = 9;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n * @type {?}\n */\nconst CONTAINER_HEADER_OFFSET = 10;\n/**\n * The state associated with a container.\n *\n * This is an array so that its structure is closer to LView. This helps\n * when traversing the view tree (which is a mix of containers and component\n * views), so we can jump to viewOrContainer[NEXT] in the same way regardless\n * of type.\n * @record\n */\nfunction LContainer() { }\nif (false) {\n /* Skipping unnamed member:\n readonly[HOST]: RElement|RComment|LView;*/\n /* Skipping unnamed member:\n [TYPE]: true;*/\n /* Skipping unnamed member:\n [HAS_TRANSPLANTED_VIEWS]: boolean;*/\n /* Skipping unnamed member:\n [PARENT]: LView;*/\n /* Skipping unnamed member:\n [NEXT]: LView|LContainer|null;*/\n /* Skipping unnamed member:\n [TRANSPLANTED_VIEWS_TO_REFRESH]: number;*/\n /* Skipping unnamed member:\n [MOVED_VIEWS]: LView[]|null;*/\n /* Skipping unnamed member:\n [T_HOST]: TNode;*/\n /* Skipping unnamed member:\n readonly[NATIVE]:\n RComment;*/\n /* Skipping unnamed member:\n [VIEW_REFS]: ViewRef[]|null;*/\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$1 = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/type_checks.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * True if `value` is `LView`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction isLView(value) {\n return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction isLContainer(value) {\n return Array.isArray(value) && value[TYPE] === true;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isContentQueryHost(tNode) {\n return (tNode.flags & 8 /* hasContentQuery */) !== 0;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isComponentHost(tNode) {\n return (tNode.flags & 2 /* isComponentHost */) === 2 /* isComponentHost */;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isDirectiveHost(tNode) {\n return (tNode.flags & 1 /* isDirectiveHost */) === 1 /* isDirectiveHost */;\n}\n/**\n * @template T\n * @param {?} def\n * @return {?}\n */\nfunction isComponentDef(def) {\n return ((/** @type {?} */ (def))).template !== null;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction isRootView(target) {\n return (target[FLAGS] & 512 /* IsRoot */) !== 0;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/assert.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// [Assert functions do not constraint type when they are guarded by a truthy\n// expression.](https://github.com/microsoft/TypeScript/issues/37295)\n/**\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction assertTNodeForLView(tNode, lView) {\n tNode.hasOwnProperty('tView_') &&\n assertEqual(((/** @type {?} */ ((/** @type {?} */ (tNode))))).tView_, lView[TVIEW], 'This TNode does not belong to this LView.');\n}\n/**\n * @param {?} actual\n * @param {?=} msg\n * @return {?}\n */\nfunction assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \\'ɵcmp\\' property.') {\n if (!getComponentDef(actual)) {\n throwError(msg);\n }\n}\n/**\n * @param {?} actual\n * @param {?=} msg\n * @return {?}\n */\nfunction assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \\'ɵmod\\' property.') {\n if (!getNgModuleDef(actual)) {\n throwError(msg);\n }\n}\n/**\n * @param {?} isParent\n * @return {?}\n */\nfunction assertPreviousIsParent(isParent) {\n assertEqual(isParent, true, 'previousOrParentTNode should be a parent');\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction assertHasParent(tNode) {\n assertDefined(tNode, 'previousOrParentTNode should exist!');\n assertDefined((/** @type {?} */ (tNode)).parent, 'previousOrParentTNode should have a parent');\n}\n/**\n * @param {?} lView\n * @param {?} index\n * @param {?=} arr\n * @return {?}\n */\nfunction assertDataNext(lView, index, arr) {\n if (arr == null)\n arr = lView;\n assertEqual(arr.length, index, `index ${index} expected to be at the end of arr (length ${arr.length})`);\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLContainer(value) {\n assertDefined(value, 'LContainer must be defined');\n assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLViewOrUndefined(value) {\n value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLView(value) {\n assertDefined(value, 'LView must be defined');\n assertEqual(isLView(value), true, 'Expecting LView');\n}\n/**\n * @param {?} tView\n * @param {?=} errMessage\n * @return {?}\n */\nfunction assertFirstCreatePass(tView, errMessage) {\n assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');\n}\n/**\n * @param {?} tView\n * @param {?=} errMessage\n * @return {?}\n */\nfunction assertFirstUpdatePass(tView, errMessage) {\n assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');\n}\n/**\n * This is a basic sanity check that an object is probably a directive def. DirectiveDef is\n * an interface, so we can't do a direct instanceof check.\n * @template T\n * @param {?} obj\n * @return {?}\n */\nfunction assertDirectiveDef(obj) {\n if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {\n throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/namespaces.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n/** @type {?} */\nconst MATH_ML_NAMESPACE = 'http://www.w3.org/1998/MathML/';\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/context.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This property will be monkey-patched on elements, components and directives\n * @type {?}\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n * @record\n */\nfunction LContext() { }\nif (false) {\n /**\n * The component's parent view data.\n * @type {?}\n */\n LContext.prototype.lView;\n /**\n * The index instance of the node.\n * @type {?}\n */\n LContext.prototype.nodeIndex;\n /**\n * The instance of the DOM node that is attached to the lNode.\n * @type {?}\n */\n LContext.prototype.native;\n /**\n * The instance of the Component node.\n * @type {?}\n */\n LContext.prototype.component;\n /**\n * The list of active directives that exist on this element.\n * @type {?}\n */\n LContext.prototype.directives;\n /**\n * The map of local references (local reference name => element or directive instance) that exist\n * on this element.\n * @type {?}\n */\n LContext.prototype.localRefs;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/document.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Most of the use of `document` in Angular is from within the DI system so it is possible to simply\n * inject the `DOCUMENT` token and are done.\n *\n * Ivy is special because it does not rely upon the DI and must get hold of the document some other\n * way.\n *\n * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy.\n * Wherever ivy needs the global document, it calls `getDocument()` instead.\n *\n * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to\n * tell ivy what the global `document` is.\n *\n * Angular does this for us in each of the standard platforms (`Browser`, `Server`, and `WebWorker`)\n * by calling `setDocument()` when providing the `DOCUMENT` token.\n * @type {?}\n */\nlet DOCUMENT = undefined;\n/**\n * Tell ivy what the `document` is for this platform.\n *\n * It is only necessary to call this if the current platform is not a browser.\n *\n * @param {?} document The object representing the global `document` in this environment.\n * @return {?}\n */\nfunction setDocument(document) {\n DOCUMENT = document;\n}\n/**\n * Access the object that represents the `document` for this platform.\n *\n * Ivy calls this whenever it needs to access the `document` object.\n * For example to create the renderer or to do sanitization.\n * @return {?}\n */\nfunction getDocument() {\n if (DOCUMENT !== undefined) {\n return DOCUMENT;\n }\n else if (typeof document !== 'undefined') {\n return document;\n }\n // No \"document\" can be found. This should only happen if we are running ivy outside Angular and\n // the current platform is not a browser. Since this is not a supported scenario at the moment\n // this should not happen in Angular apps.\n // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a\n // public API. Meanwhile we just return `undefined` and let the application fail.\n return (/** @type {?} */ (undefined));\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/renderer.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst RendererStyleFlags3 = {\n Important: 1,\n DashCase: 2,\n};\nRendererStyleFlags3[RendererStyleFlags3.Important] = 'Important';\nRendererStyleFlags3[RendererStyleFlags3.DashCase] = 'DashCase';\n/**\n * Object Oriented style of API needed to create elements and text nodes.\n *\n * This is the native browser API style, e.g. operations are methods on individual objects\n * like HTMLElement. With this style, no additional code is needed as a facade\n * (reducing payload size).\n *\n * @record\n */\nfunction ObjectOrientedRenderer3() { }\nif (false) {\n /**\n * @param {?} data\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createComment = function (data) { };\n /**\n * @param {?} tagName\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createElement = function (tagName) { };\n /**\n * @param {?} namespace\n * @param {?} tagName\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createElementNS = function (namespace, tagName) { };\n /**\n * @param {?} data\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.createTextNode = function (data) { };\n /**\n * @param {?} selectors\n * @return {?}\n */\n ObjectOrientedRenderer3.prototype.querySelector = function (selectors) { };\n}\n/**\n * Returns whether the `renderer` is a `ProceduralRenderer3`\n * @param {?} renderer\n * @return {?}\n */\nfunction isProceduralRenderer(renderer) {\n return !!(((/** @type {?} */ (renderer))).listen);\n}\n/**\n * Procedural style of API needed to create elements and text nodes.\n *\n * In non-native browser environments (e.g. platforms such as web-workers), this is the\n * facade that enables element manipulation. This also facilitates backwards compatibility\n * with Renderer2.\n * @record\n */\nfunction ProceduralRenderer3() { }\nif (false) {\n /**\n * This property is allowed to be null / undefined,\n * in which case the view engine won't call it.\n * This is used as a performance optimization for production mode.\n * @type {?|undefined}\n */\n ProceduralRenderer3.prototype.destroyNode;\n /**\n * @return {?}\n */\n ProceduralRenderer3.prototype.destroy = function () { };\n /**\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.createComment = function (value) { };\n /**\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n ProceduralRenderer3.prototype.createElement = function (name, namespace) { };\n /**\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.createText = function (value) { };\n /**\n * @param {?} parent\n * @param {?} newChild\n * @return {?}\n */\n ProceduralRenderer3.prototype.appendChild = function (parent, newChild) { };\n /**\n * @param {?} parent\n * @param {?} newChild\n * @param {?} refChild\n * @return {?}\n */\n ProceduralRenderer3.prototype.insertBefore = function (parent, newChild, refChild) { };\n /**\n * @param {?} parent\n * @param {?} oldChild\n * @param {?=} isHostElement\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeChild = function (parent, oldChild, isHostElement) { };\n /**\n * @param {?} selectorOrNode\n * @param {?=} preserveContent\n * @return {?}\n */\n ProceduralRenderer3.prototype.selectRootElement = function (selectorOrNode, preserveContent) { };\n /**\n * @param {?} node\n * @return {?}\n */\n ProceduralRenderer3.prototype.parentNode = function (node) { };\n /**\n * @param {?} node\n * @return {?}\n */\n ProceduralRenderer3.prototype.nextSibling = function (node) { };\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @param {?=} namespace\n * @return {?}\n */\n ProceduralRenderer3.prototype.setAttribute = function (el, name, value, namespace) { };\n /**\n * @param {?} el\n * @param {?} name\n * @param {?=} namespace\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeAttribute = function (el, name, namespace) { };\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n ProceduralRenderer3.prototype.addClass = function (el, name) { };\n /**\n * @param {?} el\n * @param {?} name\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeClass = function (el, name) { };\n /**\n * @param {?} el\n * @param {?} style\n * @param {?} value\n * @param {?=} flags\n * @return {?}\n */\n ProceduralRenderer3.prototype.setStyle = function (el, style, value, flags) { };\n /**\n * @param {?} el\n * @param {?} style\n * @param {?=} flags\n * @return {?}\n */\n ProceduralRenderer3.prototype.removeStyle = function (el, style, flags) { };\n /**\n * @param {?} el\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.setProperty = function (el, name, value) { };\n /**\n * @param {?} node\n * @param {?} value\n * @return {?}\n */\n ProceduralRenderer3.prototype.setValue = function (node, value) { };\n /**\n * @param {?} target\n * @param {?} eventName\n * @param {?} callback\n * @return {?}\n */\n ProceduralRenderer3.prototype.listen = function (target, eventName, callback) { };\n}\n/**\n * @record\n */\nfunction RendererFactory3() { }\nif (false) {\n /**\n * @param {?} hostElement\n * @param {?} rendererType\n * @return {?}\n */\n RendererFactory3.prototype.createRenderer = function (hostElement, rendererType) { };\n /**\n * @return {?}\n */\n RendererFactory3.prototype.begin = function () { };\n /**\n * @return {?}\n */\n RendererFactory3.prototype.end = function () { };\n}\nconst ɵ0$2 = /**\n * @param {?} hostElement\n * @param {?} rendererType\n * @return {?}\n */\n(hostElement, rendererType) => {\n return getDocument();\n};\n/** @type {?} */\nconst domRendererFactory3 = {\n createRenderer: (ɵ0$2)\n};\n/**\n * Subset of API needed for appending elements and text nodes.\n * @record\n */\nfunction RNode() { }\nif (false) {\n /**\n * Returns the parent Element, Document, or DocumentFragment\n * @type {?}\n */\n RNode.prototype.parentNode;\n /**\n * Returns the parent Element if there is one\n * @type {?}\n */\n RNode.prototype.parentElement;\n /**\n * Gets the Node immediately following this one in the parent's childNodes\n * @type {?}\n */\n RNode.prototype.nextSibling;\n /**\n * Removes a child from the current node and returns the removed node\n * @param {?} oldChild the child node to remove\n * @return {?}\n */\n RNode.prototype.removeChild = function (oldChild) { };\n /**\n * Insert a child node.\n *\n * Used exclusively for adding View root nodes into ViewAnchor location.\n * @param {?} newChild\n * @param {?} refChild\n * @param {?} isViewRoot\n * @return {?}\n */\n RNode.prototype.insertBefore = function (newChild, refChild, isViewRoot) { };\n /**\n * Append a child node.\n *\n * Used exclusively for building up DOM which are static (ie not View roots)\n * @param {?} newChild\n * @return {?}\n */\n RNode.prototype.appendChild = function (newChild) { };\n}\n/**\n * Subset of API needed for writing attributes, properties, and setting up\n * listeners on Element.\n * @record\n */\nfunction RElement() { }\nif (false) {\n /** @type {?} */\n RElement.prototype.style;\n /** @type {?} */\n RElement.prototype.classList;\n /** @type {?} */\n RElement.prototype.className;\n /** @type {?} */\n RElement.prototype.textContent;\n /**\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n RElement.prototype.setAttribute = function (name, value) { };\n /**\n * @param {?} name\n * @return {?}\n */\n RElement.prototype.removeAttribute = function (name) { };\n /**\n * @param {?} namespaceURI\n * @param {?} qualifiedName\n * @param {?} value\n * @return {?}\n */\n RElement.prototype.setAttributeNS = function (namespaceURI, qualifiedName, value) { };\n /**\n * @param {?} type\n * @param {?} listener\n * @param {?=} useCapture\n * @return {?}\n */\n RElement.prototype.addEventListener = function (type, listener, useCapture) { };\n /**\n * @param {?} type\n * @param {?=} listener\n * @param {?=} options\n * @return {?}\n */\n RElement.prototype.removeEventListener = function (type, listener, options) { };\n /**\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\n RElement.prototype.setProperty = function (name, value) { };\n}\n/**\n * @record\n */\nfunction RCssStyleDeclaration() { }\nif (false) {\n /**\n * @param {?} propertyName\n * @return {?}\n */\n RCssStyleDeclaration.prototype.removeProperty = function (propertyName) { };\n /**\n * @param {?} propertyName\n * @param {?} value\n * @param {?=} priority\n * @return {?}\n */\n RCssStyleDeclaration.prototype.setProperty = function (propertyName, value, priority) { };\n}\n/**\n * @record\n */\nfunction RDomTokenList() { }\nif (false) {\n /**\n * @param {?} token\n * @return {?}\n */\n RDomTokenList.prototype.add = function (token) { };\n /**\n * @param {?} token\n * @return {?}\n */\n RDomTokenList.prototype.remove = function (token) { };\n}\n/**\n * @record\n */\nfunction RText() { }\nif (false) {\n /** @type {?} */\n RText.prototype.textContent;\n}\n/**\n * @record\n */\nfunction RComment() { }\nif (false) {\n /** @type {?} */\n RComment.prototype.textContent;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$2 = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/view_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n * - `typeof value[TYPE] === 'object'` => `LView`\n * - This happens when we have a component at a given location\n * - `typeof value[TYPE] === true` => `LContainer`\n * - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapRNode(value) {\n while (Array.isArray(value)) {\n value = (/** @type {?} */ (value[HOST]));\n }\n return (/** @type {?} */ (value));\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapLView(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLView()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (typeof value[TYPE] === 'object')\n return (/** @type {?} */ (value));\n value = (/** @type {?} */ (value[HOST]));\n }\n return null;\n}\n/**\n * Returns `LContainer` or `null` if not found.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapLContainer(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLContainer()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (value[TYPE] === true)\n return (/** @type {?} */ (value));\n value = (/** @type {?} */ (value[HOST]));\n }\n return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n * @param {?} index\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByIndex(index, lView) {\n return unwrapRNode(lView[index + HEADER_OFFSET]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByTNode(tNode, lView) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n ngDevMode && assertDataInRange(lView, tNode.index);\n /** @type {?} */\n const node = unwrapRNode(lView[tNode.index]);\n ngDevMode && !isProceduralRenderer(lView[RENDERER]) && assertDomNode(node);\n return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n /** @type {?} */\n const index = tNode.index;\n if (index !== -1) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n /** @type {?} */\n const node = unwrapRNode(lView[index]);\n ngDevMode && node !== null && !isProceduralRenderer(lView[RENDERER]) && assertDomNode(node);\n return node;\n }\n return null;\n}\n/**\n * @param {?} tView\n * @param {?} index\n * @return {?}\n */\nfunction getTNode(tView, index) {\n ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');\n return (/** @type {?} */ (tView.data[index + HEADER_OFFSET]));\n}\n/**\n * Retrieves a value from any `LView` or `TData`.\n * @template T\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction load(view, index) {\n ngDevMode && assertDataInRange(view, index + HEADER_OFFSET);\n return view[index + HEADER_OFFSET];\n}\n/**\n * @param {?} nodeIndex\n * @param {?} hostView\n * @return {?}\n */\nfunction getComponentLViewByIndex(nodeIndex, hostView) {\n // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n ngDevMode && assertDataInRange(hostView, nodeIndex);\n /** @type {?} */\n const slotValue = hostView[nodeIndex];\n /** @type {?} */\n const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n return lView;\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n * @param {?} target\n * @return {?}\n */\nfunction readPatchedData(target) {\n ngDevMode && assertDefined(target, 'Target expected');\n return target[MONKEY_PATCH_KEY_NAME] || null;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction readPatchedLView(target) {\n /** @type {?} */\n const value = readPatchedData(target);\n if (value) {\n return Array.isArray(value) ? value : ((/** @type {?} */ (value))).lView;\n }\n return null;\n}\n/**\n * Checks whether a given view is in creation mode\n * @param {?} view\n * @return {?}\n */\nfunction isCreationMode(view) {\n return (view[FLAGS] & 4 /* CreationMode */) === 4 /* CreationMode */;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n * @param {?} view\n * @return {?}\n */\nfunction viewAttachedToChangeDetector(view) {\n return (view[FLAGS] & 128 /* Attached */) === 128 /* Attached */;\n}\n/**\n * Returns a boolean for whether the view is attached to a container.\n * @param {?} view\n * @return {?}\n */\nfunction viewAttachedToContainer(view) {\n return isLContainer(view[PARENT]);\n}\n/**\n * Returns a constant from `TConstants` instance.\n * @template T\n * @param {?} consts\n * @param {?} index\n * @return {?}\n */\nfunction getConstant(consts, index) {\n return consts === null || index == null ? null : (/** @type {?} */ ((/** @type {?} */ (consts[index]))));\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param {?} lView the LView on which the flags are reset\n * @return {?}\n */\nfunction resetPreOrderHookFlags(lView) {\n lView[PREORDER_HOOK_FLAGS] = 0;\n}\n/**\n * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents\n * whose\n * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh\n * or\n * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh\n * @param {?} lContainer\n * @param {?} amount\n * @return {?}\n */\nfunction updateTransplantedViewCount(lContainer, amount) {\n lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n /** @type {?} */\n let viewOrContainer = lContainer;\n /** @type {?} */\n let parent = lContainer[PARENT];\n while (parent !== null &&\n ((amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1) ||\n (amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0))) {\n parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n viewOrContainer = parent;\n parent = parent[PARENT];\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/state.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * @record\n */\nfunction LFrame() { }\nif (false) {\n /**\n * Parent LFrame.\n *\n * This is needed when `leaveView` is called to restore the previous state.\n * @type {?}\n */\n LFrame.prototype.parent;\n /**\n * Child LFrame.\n *\n * This is used to cache existing LFrames to relieve the memory pressure.\n * @type {?}\n */\n LFrame.prototype.child;\n /**\n * State of the current view being processed.\n *\n * An array of nodes (text, element, container, etc), pipes, their bindings, and\n * any local variables that need to be stored between invocations.\n * @type {?}\n */\n LFrame.prototype.lView;\n /**\n * Current `TView` associated with the `LFrame.lView`.\n *\n * One can get `TView` from `lFrame[TVIEW]` however because it is so common it makes sense to\n * store it in `LFrame` for perf reasons.\n * @type {?}\n */\n LFrame.prototype.tView;\n /**\n * Used to set the parent property when nodes are created and track query results.\n *\n * This is used in conjunction with `isParent`.\n * @type {?}\n */\n LFrame.prototype.previousOrParentTNode;\n /**\n * If `isParent` is:\n * - `true`: then `previousOrParentTNode` points to a parent node.\n * - `false`: then `previousOrParentTNode` points to previous node (sibling).\n * @type {?}\n */\n LFrame.prototype.isParent;\n /**\n * Index of currently selected element in LView.\n *\n * Used by binding instructions. Updated as part of advance instruction.\n * @type {?}\n */\n LFrame.prototype.selectedIndex;\n /**\n * Current pointer to the binding index.\n * @type {?}\n */\n LFrame.prototype.bindingIndex;\n /**\n * The last viewData retrieved by nextContext().\n * Allows building nextContext() and reference() calls.\n *\n * e.g. const inner = x().$implicit; const outer = x().$implicit;\n * @type {?}\n */\n LFrame.prototype.contextLView;\n /**\n * Store the element depth count. This is used to identify the root elements of the template\n * so that we can then attach patch data `LView` to only those elements. We know that those\n * are the only places where the patch data could change, this way we will save on number\n * of places where tha patching occurs.\n * @type {?}\n */\n LFrame.prototype.elementDepthCount;\n /**\n * Current namespace to be used when creating elements\n * @type {?}\n */\n LFrame.prototype.currentNamespace;\n /**\n * Current sanitizer\n * @type {?}\n */\n LFrame.prototype.currentSanitizer;\n /**\n * The root index from which pure function instructions should calculate their binding\n * indices. In component views, this is TView.bindingStartIndex. In a host binding\n * context, this is the TView.expandoStartIndex + any dirs/hostVars before the given dir.\n * @type {?}\n */\n LFrame.prototype.bindingRootIndex;\n /**\n * Current index of a View or Content Query which needs to be processed next.\n * We iterate over the list of Queries and increment current query index at every step.\n * @type {?}\n */\n LFrame.prototype.currentQueryIndex;\n /**\n * When host binding is executing this points to the directive index.\n * `TView.data[currentDirectiveIndex]` is `DirectiveDef`\n * `LView[currentDirectiveIndex]` is directive instance.\n * @type {?}\n */\n LFrame.prototype.currentDirectiveIndex;\n}\n/**\n * All implicit instruction state is stored here.\n *\n * It is useful to have a single object where all of the state is stored as a mental model\n * (rather it being spread across many different variables.)\n *\n * PERF NOTE: Turns out that writing to a true global variable is slower than\n * having an intermediate object with properties.\n * @record\n */\nfunction InstructionState() { }\nif (false) {\n /**\n * Current `LFrame`\n *\n * `null` if we have not called `enterView`\n * @type {?}\n */\n InstructionState.prototype.lFrame;\n /**\n * Stores whether directives should be matched to elements.\n *\n * When template contains `ngNonBindable` then we need to prevent the runtime from matching\n * directives on children of that element.\n *\n * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
    \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n *
    \n * ```\n * @type {?}\n */\n InstructionState.prototype.bindingsEnabled;\n /**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n * @type {?}\n */\n InstructionState.prototype.checkNoChangesMode;\n}\n/** @type {?} */\nconst instructionState = {\n lFrame: createLFrame(null),\n bindingsEnabled: true,\n checkNoChangesMode: false,\n};\n/**\n * @return {?}\n */\nfunction getElementDepthCount() {\n return instructionState.lFrame.elementDepthCount;\n}\n/**\n * @return {?}\n */\nfunction increaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount++;\n}\n/**\n * @return {?}\n */\nfunction decreaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount--;\n}\n/**\n * @return {?}\n */\nfunction getBindingsEnabled() {\n return instructionState.bindingsEnabled;\n}\n/**\n * Enables directive matching on elements.\n *\n * * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
    \n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
    \n * ```\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵenableBindings() {\n instructionState.bindingsEnabled = true;\n}\n/**\n * Disables directive matching on element.\n *\n * * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
    \n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
    \n * ```\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵdisableBindings() {\n instructionState.bindingsEnabled = false;\n}\n/**\n * Return the current `LView`.\n * @return {?}\n */\nfunction getLView() {\n return instructionState.lFrame.lView;\n}\n/**\n * Return the current `TView`.\n * @return {?}\n */\nfunction getTView() {\n return instructionState.lFrame.tView;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * \\@codeGenApi\n * @param {?} viewToRestore The OpaqueViewState instance to restore.\n *\n * @return {?}\n */\nfunction ɵɵrestoreView(viewToRestore) {\n instructionState.lFrame.contextLView = (/** @type {?} */ ((/** @type {?} */ (viewToRestore))));\n}\n/**\n * @return {?}\n */\nfunction getPreviousOrParentTNode() {\n return instructionState.lFrame.previousOrParentTNode;\n}\n/**\n * @param {?} tNode\n * @param {?} isParent\n * @return {?}\n */\nfunction setPreviousOrParentTNode(tNode, isParent) {\n instructionState.lFrame.previousOrParentTNode = tNode;\n instructionState.lFrame.isParent = isParent;\n}\n/**\n * @return {?}\n */\nfunction getIsParent() {\n return instructionState.lFrame.isParent;\n}\n/**\n * @return {?}\n */\nfunction setIsNotParent() {\n instructionState.lFrame.isParent = false;\n}\n/**\n * @return {?}\n */\nfunction setIsParent() {\n instructionState.lFrame.isParent = true;\n}\n/**\n * @return {?}\n */\nfunction getContextLView() {\n return instructionState.lFrame.contextLView;\n}\n/**\n * @return {?}\n */\nfunction getCheckNoChangesMode() {\n // TODO(misko): remove this from the LView since it is ngDevMode=true mode only.\n return instructionState.checkNoChangesMode;\n}\n/**\n * @param {?} mode\n * @return {?}\n */\nfunction setCheckNoChangesMode(mode) {\n instructionState.checkNoChangesMode = mode;\n}\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\n/**\n * @return {?}\n */\nfunction getBindingRoot() {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n /** @type {?} */\n let index = lFrame.bindingRootIndex;\n if (index === -1) {\n index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;\n }\n return index;\n}\n/**\n * @return {?}\n */\nfunction getBindingIndex() {\n return instructionState.lFrame.bindingIndex;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setBindingIndex(value) {\n return instructionState.lFrame.bindingIndex = value;\n}\n/**\n * @return {?}\n */\nfunction nextBindingIndex() {\n return instructionState.lFrame.bindingIndex++;\n}\n/**\n * @param {?} count\n * @return {?}\n */\nfunction incrementBindingIndex(count) {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n /** @type {?} */\n const index = lFrame.bindingIndex;\n lFrame.bindingIndex = lFrame.bindingIndex + count;\n return index;\n}\n/**\n * Set a new binding root index so that host template functions can execute.\n *\n * Bindings inside the host template are 0 index. But because we don't know ahead of time\n * how many host bindings we have we can't pre-compute them. For this reason they are all\n * 0 index and we just shift the root so that they match next available location in the LView.\n *\n * @param {?} bindingRootIndex Root index for `hostBindings`\n * @param {?} currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive\n * whose `hostBindings` are being processed.\n * @return {?}\n */\nfunction setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;\n setCurrentDirectiveIndex(currentDirectiveIndex);\n}\n/**\n * When host binding is executing this points to the directive index.\n * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`\n * `LView[getCurrentDirectiveIndex()]` is directive instance.\n * @return {?}\n */\nfunction getCurrentDirectiveIndex() {\n return instructionState.lFrame.currentDirectiveIndex;\n}\n/**\n * Sets an index of a directive whose `hostBindings` are being processed.\n *\n * @param {?} currentDirectiveIndex `TData` index where current directive instance can be found.\n * @return {?}\n */\nfunction setCurrentDirectiveIndex(currentDirectiveIndex) {\n instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;\n}\n/**\n * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being\n * executed.\n *\n * @param {?} tData Current `TData` where the `DirectiveDef` will be looked up at.\n * @return {?}\n */\nfunction getCurrentDirectiveDef(tData) {\n /** @type {?} */\n const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;\n return currentDirectiveIndex === -1 ? null : (/** @type {?} */ (tData[currentDirectiveIndex]));\n}\n/**\n * @return {?}\n */\nfunction getCurrentQueryIndex() {\n return instructionState.lFrame.currentQueryIndex;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setCurrentQueryIndex(value) {\n instructionState.lFrame.currentQueryIndex = value;\n}\n/**\n * This is a light weight version of the `enterView` which is needed by the DI system.\n * @param {?} newView\n * @param {?} tNode\n * @return {?}\n */\nfunction enterDI(newView, tNode) {\n ngDevMode && assertLViewOrUndefined(newView);\n /** @type {?} */\n const newLFrame = allocLFrame();\n instructionState.lFrame = newLFrame;\n newLFrame.previousOrParentTNode = (/** @type {?} */ (tNode));\n newLFrame.lView = newView;\n}\n/**\n * Swap the current lView with a new lView.\n *\n * For performance reasons we store the lView in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the lView for later, and when the view is\n * exited the state has to be restored\n *\n * @param {?} newView New lView to become active\n * @param {?} tNode Element to which the View is a child of\n * @return {?} the previously active lView;\n */\nfunction enterView(newView, tNode) {\n ngDevMode && assertLViewOrUndefined(newView);\n /** @type {?} */\n const newLFrame = allocLFrame();\n if (ngDevMode) {\n assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');\n assertEqual(newLFrame.lView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.tView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.selectedIndex, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');\n assertEqual(newLFrame.currentSanitizer, null, 'Expected clean LFrame');\n assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');\n }\n /** @type {?} */\n const tView = newView[TVIEW];\n instructionState.lFrame = newLFrame;\n newLFrame.previousOrParentTNode = (/** @type {?} */ (tNode));\n newLFrame.lView = newView;\n newLFrame.tView = tView;\n newLFrame.contextLView = (/** @type {?} */ (newView));\n newLFrame.bindingIndex = tView.bindingStartIndex;\n}\n/**\n * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.\n * @return {?}\n */\nfunction allocLFrame() {\n /** @type {?} */\n const currentLFrame = instructionState.lFrame;\n /** @type {?} */\n const childLFrame = currentLFrame === null ? null : currentLFrame.child;\n /** @type {?} */\n const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;\n return newLFrame;\n}\n/**\n * @param {?} parent\n * @return {?}\n */\nfunction createLFrame(parent) {\n /** @type {?} */\n const lFrame = {\n previousOrParentTNode: (/** @type {?} */ (null)),\n //\n isParent: true,\n //\n lView: (/** @type {?} */ (null)),\n //\n tView: (/** @type {?} */ (null)),\n //\n selectedIndex: 0,\n //\n contextLView: (/** @type {?} */ (null)),\n //\n elementDepthCount: 0,\n //\n currentNamespace: null,\n //\n currentSanitizer: null,\n //\n currentDirectiveIndex: -1,\n //\n bindingRootIndex: -1,\n //\n bindingIndex: -1,\n //\n currentQueryIndex: 0,\n //\n parent: (/** @type {?} */ (parent)),\n //\n child: null,\n };\n parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.\n return lFrame;\n}\n/**\n * A lightweight version of leave which is used with DI.\n *\n * This function only resets `previousOrParentTNode` and `LView` as those are the only properties\n * used with DI (`enterDI()`).\n *\n * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where\n * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.\n * @return {?}\n */\nfunction leaveViewLight() {\n /** @type {?} */\n const oldLFrame = instructionState.lFrame;\n instructionState.lFrame = oldLFrame.parent;\n oldLFrame.previousOrParentTNode = (/** @type {?} */ (null));\n oldLFrame.lView = (/** @type {?} */ (null));\n return oldLFrame;\n}\n/**\n * This is a lightweight version of the `leaveView` which is needed by the DI system.\n *\n * NOTE: this function is an alias so that we can change the type of the function to have `void`\n * return type.\n * @type {?}\n */\nconst leaveDI = leaveViewLight;\n/**\n * Leave the current `LView`\n *\n * This pops the `LFrame` with the associated `LView` from the stack.\n *\n * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is\n * because for performance reasons we don't release `LFrame` but rather keep it for next use.\n * @return {?}\n */\nfunction leaveView() {\n /** @type {?} */\n const oldLFrame = leaveViewLight();\n oldLFrame.isParent = true;\n oldLFrame.tView = (/** @type {?} */ (null));\n oldLFrame.selectedIndex = 0;\n oldLFrame.contextLView = (/** @type {?} */ (null));\n oldLFrame.elementDepthCount = 0;\n oldLFrame.currentDirectiveIndex = -1;\n oldLFrame.currentNamespace = null;\n oldLFrame.currentSanitizer = null;\n oldLFrame.bindingRootIndex = -1;\n oldLFrame.bindingIndex = -1;\n oldLFrame.currentQueryIndex = 0;\n}\n/**\n * @template T\n * @param {?} level\n * @return {?}\n */\nfunction nextContextImpl(level) {\n /** @type {?} */\n const contextLView = instructionState.lFrame.contextLView =\n walkUpViews(level, (/** @type {?} */ (instructionState.lFrame.contextLView)));\n return (/** @type {?} */ (contextLView[CONTEXT]));\n}\n/**\n * @param {?} nestingLevel\n * @param {?} currentView\n * @return {?}\n */\nfunction walkUpViews(nestingLevel, currentView) {\n while (nestingLevel > 0) {\n ngDevMode &&\n assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n currentView = (/** @type {?} */ (currentView[DECLARATION_VIEW]));\n nestingLevel--;\n }\n return currentView;\n}\n/**\n * Gets the currently selected element index.\n *\n * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n * @return {?}\n */\nfunction getSelectedIndex() {\n return instructionState.lFrame.selectedIndex;\n}\n/**\n * Sets the most recent index passed to {\\@link select}\n *\n * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n *\n * (Note that if an \"exit function\" was set earlier (via `setElementExitFn()`) then that will be\n * run if and when the provided `index` value is different from the current selected index value.)\n * @param {?} index\n * @return {?}\n */\nfunction setSelectedIndex(index) {\n instructionState.lFrame.selectedIndex = index;\n}\n/**\n * Gets the `tNode` that represents currently selected element.\n * @return {?}\n */\nfunction getSelectedTNode() {\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n return getTNode(lFrame.tView, lFrame.selectedIndex);\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceSVG() {\n instructionState.lFrame.currentNamespace = SVG_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceMathML() {\n instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceHTML() {\n namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n * @return {?}\n */\nfunction namespaceHTMLInternal() {\n instructionState.lFrame.currentNamespace = null;\n}\n/**\n * @return {?}\n */\nfunction getNamespace() {\n return instructionState.lFrame.currentNamespace;\n}\n/**\n * @param {?} sanitizer\n * @return {?}\n */\nfunction setCurrentStyleSanitizer(sanitizer) {\n instructionState.lFrame.currentSanitizer = sanitizer;\n}\n/**\n * @return {?}\n */\nfunction resetCurrentStyleSanitizer() {\n setCurrentStyleSanitizer(null);\n}\n/**\n * @return {?}\n */\nfunction getCurrentStyleSanitizer() {\n // TODO(misko): This should throw when there is no LView, but it turns out we can get here from\n // `NodeStyleDebug` hence we return `null`. This should be fixed\n /** @type {?} */\n const lFrame = instructionState.lFrame;\n return lFrame === null ? null : lFrame.currentSanitizer;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/hooks.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {\\@link HookData} for details about the data structure.\n *\n * @param {?} directiveIndex The index of the directive in LView\n * @param {?} directiveDef The definition containing the hooks to setup in tView\n * @param {?} tView The current TView\n * @return {?}\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView) {\n ngDevMode && assertFirstCreatePass(tView);\n const { onChanges, onInit, doCheck } = directiveDef;\n if (onChanges) {\n (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, onChanges);\n (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, onChanges);\n }\n if (onInit) {\n (tView.preOrderHooks || (tView.preOrderHooks = [])).push(-directiveIndex, onInit);\n }\n if (doCheck) {\n (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, doCheck);\n (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, doCheck);\n }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {\\@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param {?} tView The current TView\n * @param {?} tNode The TNode whose directives are to be searched for hooks to queue\n * @return {?}\n */\nfunction registerPostOrderHooks(tView, tNode) {\n ngDevMode && assertFirstCreatePass(tView);\n // It's necessary to loop through the directives at elementEnd() (rather than processing in\n // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n // hooks for projected components and directives must be called *before* their hosts.\n for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n /** @type {?} */\n const directiveDef = (/** @type {?} */ (tView.data[i]));\n if (directiveDef.afterContentInit) {\n (tView.contentHooks || (tView.contentHooks = [])).push(-i, directiveDef.afterContentInit);\n }\n if (directiveDef.afterContentChecked) {\n (tView.contentHooks || (tView.contentHooks = [])).push(i, directiveDef.afterContentChecked);\n (tView.contentCheckHooks || (tView.contentCheckHooks = []))\n .push(i, directiveDef.afterContentChecked);\n }\n if (directiveDef.afterViewInit) {\n (tView.viewHooks || (tView.viewHooks = [])).push(-i, directiveDef.afterViewInit);\n }\n if (directiveDef.afterViewChecked) {\n (tView.viewHooks || (tView.viewHooks = [])).push(i, directiveDef.afterViewChecked);\n (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, directiveDef.afterViewChecked);\n }\n if (directiveDef.onDestroy != null) {\n (tView.destroyHooks || (tView.destroyHooks = [])).push(i, directiveDef.onDestroy);\n }\n }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the array\n * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were\n * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read\n * / write of the init-hooks related flags.\n * @param {?} lView The LView where hooks are defined\n * @param {?} hooks Hooks to be run\n * @param {?=} nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction executeCheckHooks(lView, hooks, nodeIndex) {\n callHooks(lView, hooks, 3 /* InitPhaseCompleted */, nodeIndex);\n}\n/**\n * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,\n * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.\n * @param {?} lView The LView where hooks are defined\n * @param {?} hooks Hooks to be run\n * @param {?} initPhase A phase for which hooks should be run\n * @param {?=} nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {\n ngDevMode &&\n assertNotEqual(initPhase, 3 /* InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');\n if ((lView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhase) {\n callHooks(lView, hooks, initPhase, nodeIndex);\n }\n}\n/**\n * @param {?} lView\n * @param {?} initPhase\n * @return {?}\n */\nfunction incrementInitPhaseFlags(lView, initPhase) {\n ngDevMode &&\n assertNotEqual(initPhase, 3 /* InitPhaseCompleted */, 'Init hooks phase should not be incremented after all init hooks have been run.');\n /** @type {?} */\n let flags = lView[FLAGS];\n if ((flags & 3 /* InitPhaseStateMask */) === initPhase) {\n flags &= 2047 /* IndexWithinInitPhaseReset */;\n flags += 1 /* InitPhaseStateIncrementer */;\n lView[FLAGS] = flags;\n }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param {?} currentView The current view\n * @param {?} arr The array in which the hooks are found\n * @param {?} initPhase\n * @param {?} currentNodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n ngDevMode &&\n assertEqual(getCheckNoChangesMode(), false, 'Hooks should never be run in the check no changes mode.');\n /** @type {?} */\n const startIndex = currentNodeIndex !== undefined ?\n (currentView[PREORDER_HOOK_FLAGS] & 65535 /* IndexOfTheNextPreOrderHookMaskMask */) :\n 0;\n /** @type {?} */\n const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n /** @type {?} */\n let lastNodeIndexFound = 0;\n for (let i = startIndex; i < arr.length; i++) {\n /** @type {?} */\n const hook = (/** @type {?} */ (arr[i + 1]));\n if (typeof hook === 'number') {\n lastNodeIndexFound = (/** @type {?} */ (arr[i]));\n if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n break;\n }\n }\n else {\n /** @type {?} */\n const isInitHook = arr[i] < 0;\n if (isInitHook)\n currentView[PREORDER_HOOK_FLAGS] += 65536 /* NumberOfInitHooksCalledIncrementer */;\n if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n callHook(currentView, initPhase, arr, i);\n currentView[PREORDER_HOOK_FLAGS] =\n (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* NumberOfInitHooksCalledMask */) + i +\n 2;\n }\n i++;\n }\n }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param {?} currentView The current view\n * @param {?} initPhase\n * @param {?} arr The array in which the hooks are found\n * @param {?} i The current index within the hook data array\n * @return {?}\n */\nfunction callHook(currentView, initPhase, arr, i) {\n /** @type {?} */\n const isInitHook = arr[i] < 0;\n /** @type {?} */\n const hook = (/** @type {?} */ (arr[i + 1]));\n /** @type {?} */\n const directiveIndex = isInitHook ? -arr[i] : (/** @type {?} */ (arr[i]));\n /** @type {?} */\n const directive = currentView[directiveIndex];\n if (isInitHook) {\n /** @type {?} */\n const indexWithintInitPhase = currentView[FLAGS] >> 11 /* IndexWithinInitPhaseShift */;\n // The init phase state must be always checked here as it may have been recursively\n // updated\n if (indexWithintInitPhase <\n (currentView[PREORDER_HOOK_FLAGS] >> 16 /* NumberOfInitHooksCalledShift */) &&\n (currentView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhase) {\n currentView[FLAGS] += 2048 /* IndexWithinInitPhaseIncrementer */;\n hook.call(directive);\n }\n }\n else {\n hook.call(directive);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/interfaces/injector.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst TNODE = 8;\n/** @type {?} */\nconst PARENT_INJECTOR = 8;\n/** @type {?} */\nconst INJECTOR_BLOOM_PARENT_SIZE = 9;\n/**\n * Represents a relative location of parent injector.\n *\n * The interfaces encodes number of parents `LView`s to traverse and index in the `LView`\n * pointing to the parent injector.\n * @record\n */\nfunction RelativeInjectorLocation() { }\nif (false) {\n /** @type {?} */\n RelativeInjectorLocation.prototype.__brand__;\n}\n/** @enum {number} */\nconst RelativeInjectorLocationFlags = {\n InjectorIndexMask: 32767,\n ViewOffsetShift: 16,\n NO_PARENT: -1,\n};\n/** @type {?} */\nconst NO_PARENT_INJECTOR = (/** @type {?} */ (-1));\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array {\n *\n * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Cumulative bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Cumulative bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Cumulative bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Cumulative bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Cumulative bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Cumulative bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Cumulative bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // We need to store a reference to the injector's parent so DI can keep looking up\n * // the injector tree until it finds the dependency it's looking for.\n * [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array {\n *\n * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Shared node bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Shared node bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Shared node bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Shared node bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Shared node bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Shared node bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Shared node bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // Necessary to find directive indices for a particular node.\n * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n * }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n /**\n * @param {?} factory\n * @param {?} isViewProvider\n * @param {?} injectImplementation\n */\n constructor(factory, \n /**\n * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n */\n isViewProvider, injectImplementation) {\n this.factory = factory;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n */\n this.resolving = false;\n this.canSeeViewProviders = isViewProvider;\n this.injectImpl = injectImplementation;\n }\n}\nif (false) {\n /**\n * The inject implementation to be activated when using the factory.\n * @type {?}\n */\n NodeInjectorFactory.prototype.injectImpl;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n * @type {?}\n */\n NodeInjectorFactory.prototype.resolving;\n /**\n * Marks that the token can see other Tokens declared in `viewProviders` on the same node.\n * @type {?}\n */\n NodeInjectorFactory.prototype.canSeeViewProviders;\n /**\n * An array of factories to use in case of `multi` provider.\n * @type {?}\n */\n NodeInjectorFactory.prototype.multi;\n /**\n * Number of `multi`-providers which belong to the component.\n *\n * This is needed because when multiple components and directives declare the `multi` provider\n * they have to be concatenated in the correct order.\n *\n * Example:\n *\n * If we have a component and directive active an a single element as declared here\n * ```\n * component:\n * provides: [ {provide: String, useValue: 'component', multi: true} ],\n * viewProvides: [ {provide: String, useValue: 'componentView', multi: true} ],\n *\n * directive:\n * provides: [ {provide: String, useValue: 'directive', multi: true} ],\n * ```\n *\n * Then the expected results are:\n *\n * ```\n * providers: ['component', 'directive']\n * viewProviders: ['component', 'componentView', 'directive']\n * ```\n *\n * The way to think about it is that the `viewProviders` have been inserted after the component\n * but before the directives, which is why we need to know how many `multi`s have been declared by\n * the component.\n * @type {?}\n */\n NodeInjectorFactory.prototype.componentProviders;\n /**\n * Current index of the Factory in the `data`. Needed for `viewProviders` and `providers` merging.\n * See `providerFactory`.\n * @type {?}\n */\n NodeInjectorFactory.prototype.index;\n /**\n * Because the same `multi` provider can be declared in `provides` and `viewProvides` it is\n * possible for `viewProvides` to shadow the `provides`. For this reason we store the\n * `provideFactory` of the `providers` so that `providers` can be extended with `viewProviders`.\n *\n * Example:\n *\n * Given:\n * ```\n * provides: [ {provide: String, useValue: 'all', multi: true} ],\n * viewProvides: [ {provide: String, useValue: 'viewOnly', multi: true} ],\n * ```\n *\n * We have to return `['all']` in case of content injection, but `['all', 'viewOnly']` in case\n * of view injection. We further have to make sure that the shared instances (in our case\n * `all`) are the exact same instance in both the content as well as the view injection. (We\n * have to make sure that we don't double instantiate.) For this reason the `viewProvides`\n * `Factory` has a pointer to the shadowed `provides` factory so that it can instantiate the\n * `providers` (`['all']`) and then extend it with `viewProviders` (`['all'] + ['viewOnly'] =\n * ['all', 'viewOnly']`).\n * @type {?}\n */\n NodeInjectorFactory.prototype.providerFactory;\n /**\n * Factory to invoke in order to create a new instance.\n * @type {?}\n */\n NodeInjectorFactory.prototype.factory;\n}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction isFactory(obj) {\n return obj instanceof NodeInjectorFactory;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$3 = 1;\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/node_assert.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} tNode\n * @param {?} type\n * @return {?}\n */\nfunction assertNodeType(tNode, type) {\n assertDefined(tNode, 'should be called with a TNode');\n assertEqual(tNode.type, type, `should be a ${typeName(type)}`);\n}\n/**\n * @param {?} tNode\n * @param {...?} types\n * @return {?}\n */\nfunction assertNodeOfPossibleTypes(tNode, ...types) {\n assertDefined(tNode, 'should be called with a TNode');\n /** @type {?} */\n const found = types.some((/**\n * @param {?} type\n * @return {?}\n */\n type => tNode.type === type));\n assertEqual(found, true, `Should be one of ${types.map(typeName).join(', ')} but got ${typeName(tNode.type)}`);\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction typeName(type) {\n if (type == 1 /* Projection */)\n return 'Projection';\n if (type == 0 /* Container */)\n return 'Container';\n if (type == 5 /* IcuContainer */)\n return 'IcuContainer';\n if (type == 2 /* View */)\n return 'View';\n if (type == 3 /* Element */)\n return 'Element';\n if (type == 4 /* ElementContainer */)\n return 'ElementContainer';\n return '';\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/attrs_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n * attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n * @param {?} renderer The renderer to be used\n * @param {?} native The element that the attributes will be assigned to\n * @param {?} attrs The attribute array of values that will be assigned to the element\n * @return {?} the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(renderer, native, attrs) {\n /** @type {?} */\n const isProc = isProceduralRenderer(renderer);\n /** @type {?} */\n let i = 0;\n while (i < attrs.length) {\n /** @type {?} */\n const value = attrs[i];\n if (typeof value === 'number') {\n // only namespaces are supported. Other value types (such as style/class\n // entries) are not supported in this function.\n if (value !== 0 /* NamespaceURI */) {\n break;\n }\n // we just landed on the marker value ... therefore\n // we should skip to the next entry\n i++;\n /** @type {?} */\n const namespaceURI = (/** @type {?} */ (attrs[i++]));\n /** @type {?} */\n const attrName = (/** @type {?} */ (attrs[i++]));\n /** @type {?} */\n const attrVal = (/** @type {?} */ (attrs[i++]));\n ngDevMode && ngDevMode.rendererSetAttribute++;\n isProc ?\n ((/** @type {?} */ (renderer))).setAttribute(native, attrName, attrVal, namespaceURI) :\n native.setAttributeNS(namespaceURI, attrName, attrVal);\n }\n else {\n // attrName is string;\n /** @type {?} */\n const attrName = (/** @type {?} */ (value));\n /** @type {?} */\n const attrVal = attrs[++i];\n // Standard attributes\n ngDevMode && ngDevMode.rendererSetAttribute++;\n if (isAnimationProp(attrName)) {\n if (isProc) {\n ((/** @type {?} */ (renderer))).setProperty(native, attrName, attrVal);\n }\n }\n else {\n isProc ?\n ((/** @type {?} */ (renderer))).setAttribute(native, attrName, (/** @type {?} */ (attrVal))) :\n native.setAttribute(attrName, (/** @type {?} */ (attrVal)));\n }\n i++;\n }\n }\n // another piece of code may iterate over the same attributes array. Therefore\n // it may be helpful to return the exact spot where the attributes array exited\n // whether by running into an unsupported marker or if all the static values were\n // iterated over.\n return i;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param {?} marker The attribute marker to test.\n * @return {?} true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n return marker === 3 /* Bindings */ || marker === 4 /* Template */ ||\n marker === 6 /* I18n */;\n}\n/**\n * @param {?} name\n * @return {?}\n */\nfunction isAnimationProp(name) {\n // Perf note: accessing charCodeAt to check for the first character of a string is faster as\n // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that\n // charCodeAt doesn't allocate memory to return a substring.\n return name.charCodeAt(0) === 64 /* AT_SIGN */;\n}\n/**\n * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.\n *\n * This merge function keeps the order of attrs same.\n *\n * @param {?} dst Location of where the merged `TAttributes` should end up.\n * @param {?} src `TAttributes` which should be appended to `dst`\n * @return {?}\n */\nfunction mergeHostAttrs(dst, src) {\n if (src === null || src.length === 0) {\n // do nothing\n }\n else if (dst === null || dst.length === 0) {\n // We have source, but dst is empty, just make a copy.\n dst = src.slice();\n }\n else {\n /** @type {?} */\n let srcMarker = -1 /* ImplicitAttributes */;\n for (let i = 0; i < src.length; i++) {\n /** @type {?} */\n const item = src[i];\n if (typeof item === 'number') {\n srcMarker = item;\n }\n else {\n if (srcMarker === 0 /* NamespaceURI */) {\n // Case where we need to consume `key1`, `key2`, `value` items.\n }\n else if (srcMarker === -1 /* ImplicitAttributes */ ||\n srcMarker === 2 /* Styles */) {\n // Case where we have to consume `key1` and `value` only.\n mergeHostAttribute(dst, srcMarker, (/** @type {?} */ (item)), null, (/** @type {?} */ (src[++i])));\n }\n else {\n // Case where we have to consume `key1` only.\n mergeHostAttribute(dst, srcMarker, (/** @type {?} */ (item)), null, null);\n }\n }\n }\n }\n return dst;\n}\n/**\n * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.\n *\n * @param {?} dst `TAttributes` to append to.\n * @param {?} marker Region where the `key`/`value` should be added.\n * @param {?} key1 Key to add to `TAttributes`\n * @param {?} key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)\n * @param {?} value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.\n * @return {?}\n */\nfunction mergeHostAttribute(dst, marker, key1, key2, value) {\n /** @type {?} */\n let i = 0;\n // Assume that new markers will be inserted at the end.\n /** @type {?} */\n let markerInsertPosition = dst.length;\n // scan until correct type.\n if (marker === -1 /* ImplicitAttributes */) {\n markerInsertPosition = -1;\n }\n else {\n while (i < dst.length) {\n /** @type {?} */\n const dstValue = dst[i++];\n if (typeof dstValue === 'number') {\n if (dstValue === marker) {\n markerInsertPosition = -1;\n break;\n }\n else if (dstValue > marker) {\n // We need to save this as we want the markers to be inserted in specific order.\n markerInsertPosition = i - 1;\n break;\n }\n }\n }\n }\n // search until you find place of insertion\n while (i < dst.length) {\n /** @type {?} */\n const item = dst[i];\n if (typeof item === 'number') {\n // since `i` started as the index after the marker, we did not find it if we are at the next\n // marker\n break;\n }\n else if (item === key1) {\n // We already have same token\n if (key2 === null) {\n if (value !== null) {\n dst[i + 1] = value;\n }\n return;\n }\n else if (key2 === dst[i + 1]) {\n dst[i + 2] = (/** @type {?} */ (value));\n return;\n }\n }\n // Increment counter.\n i++;\n if (key2 !== null)\n i++;\n if (value !== null)\n i++;\n }\n // insert at location.\n if (markerInsertPosition !== -1) {\n dst.splice(markerInsertPosition, 0, marker);\n i = markerInsertPosition + 1;\n }\n dst.splice(i++, 0, key1);\n if (key2 !== null) {\n dst.splice(i++, 0, key2);\n }\n if (value !== null) {\n dst.splice(i++, 0, value);\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/injector_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction hasParentInjector(parentLocation) {\n return parentLocation !== NO_PARENT_INJECTOR;\n}\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction getParentInjectorIndex(parentLocation) {\n return ((/** @type {?} */ ((/** @type {?} */ (parentLocation))))) & 32767 /* InjectorIndexMask */;\n}\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction getParentInjectorViewOffset(parentLocation) {\n return ((/** @type {?} */ ((/** @type {?} */ (parentLocation))))) >> 16 /* ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param {?} location The location of the parent injector, which contains the view offset\n * @param {?} startView The LView instance from which to start walking up the view tree\n * @return {?} The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n /** @type {?} */\n let viewOffset = getParentInjectorViewOffset(location);\n /** @type {?} */\n let parentView = startView;\n // For most cases, the parent injector can be found on the host node (e.g. for component\n // or container), but we must keep the loop here to support the rarer case of deeply nested\n // tags or inline views, where the parent injector might live many views\n // above the child injector.\n while (viewOffset > 0) {\n parentView = (/** @type {?} */ (parentView[DECLARATION_VIEW]));\n viewOffset--;\n }\n return parentView;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/util/misc_utils.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * @param {?} value\n * @return {?}\n */\nfunction renderStringify(value) {\n if (typeof value === 'string')\n return value;\n if (value == null)\n return '';\n return '' + value;\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n * @param {?} value\n * @return {?}\n */\nfunction stringifyForError(value) {\n if (typeof value === 'function')\n return value.name || value.toString();\n if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n return value.type.name || value.type.toString();\n }\n return renderStringify(value);\n}\nconst ɵ0$3 = /**\n * @return {?}\n */\n() => (typeof requestAnimationFrame !== 'undefined' &&\n requestAnimationFrame || // browser only\n setTimeout // everything else\n)\n .bind(_global);\n/** @type {?} */\nconst defaultScheduler = ((ɵ0$3))();\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveWindow(element) {\n return { name: 'window', target: element.ownerDocument.defaultView };\n}\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveDocument(element) {\n return { name: 'document', target: element.ownerDocument };\n}\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveBody(element) {\n return { name: 'body', target: element.ownerDocument.body };\n}\n/**\n * The special delimiter we use to separate property names, prefixes, and suffixes\n * in property binding metadata. See storeBindingMetadata().\n *\n * We intentionally use the Unicode \"REPLACEMENT CHARACTER\" (U+FFFD) as a delimiter\n * because it is a very uncommon character that is unlikely to be part of a user's\n * property names or interpolation strings. If it is in fact used in a property\n * binding, DebugElement.properties will not return the correct value for that\n * binding. However, there should be no runtime effect for real applications.\n *\n * This character is typically rendered as a question mark inside of a diamond.\n * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)\n *\n * @type {?}\n */\nconst INTERPOLATION_DELIMITER = `�`;\n/**\n * Unwrap a value which might be behind a closure (for forward declaration reasons).\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction maybeUnwrapFn(value) {\n if (value instanceof Function) {\n return value();\n }\n else {\n return value;\n }\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/render3/di.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```\n * \\@Injectable()\n * class MyService {\n * constructor(public value: String) {}\n * }\n *\n * \\@Component({\n * providers: [\n * MyService,\n * {provide: String, value: 'providers' }\n * ]\n * viewProviders: [\n * {provide: String, value: 'viewProviders'}\n * ]\n * })\n * class MyComponent {\n * constructor(myService: MyService, value: String) {\n * // We expect that Component can see into `viewProviders`.\n * expect(value).toEqual('viewProviders');\n * // `MyService` was not declared in `viewProviders` hence it can't see it.\n * expect(myService.value).toEqual('providers');\n * }\n * }\n *\n * ```\n * @type {?}\n */\nlet includeViewProviders = true;\n/**\n * @param {?} v\n * @return {?}\n */\nfunction setIncludeViewProviders(v) {\n /** @type {?} */\n const oldValue = includeViewProviders;\n includeViewProviders = v;\n return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n * @type {?}\n */\nconst BLOOM_SIZE = 256;\n/** @type {?} */\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * Counter used to generate unique IDs for directives.\n * @type {?}\n */\nlet nextNgElementId = 0;\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param {?} injectorIndex The index of the node injector where this token should be registered\n * @param {?} tView The TView for the injector's bloom filters\n * @param {?} type The directive token to register\n * @return {?}\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');\n /** @type {?} */\n let id = typeof type !== 'string' ? ((/** @type {?} */ (type)))[NG_ELEMENT_ID] : type.charCodeAt(0) || 0;\n // Set a unique ID on the directive type, so if something tries to inject the directive,\n // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n if (id == null) {\n id = ((/** @type {?} */ (type)))[NG_ELEMENT_ID] = nextNgElementId++;\n }\n // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n /** @type {?} */\n const bloomBit = id & BLOOM_MASK;\n // Create a mask that targets the specific bit associated with the directive.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n /** @type {?} */\n const mask = 1 << bloomBit;\n // Use the raw bloomBit number to determine which bloom filter bucket we should check\n // e.g: bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc\n /** @type {?} */\n const b7 = bloomBit & 0x80;\n /** @type {?} */\n const b6 = bloomBit & 0x40;\n /** @type {?} */\n const b5 = bloomBit & 0x20;\n /** @type {?} */\n const tData = (/** @type {?} */ (tView.data));\n if (b7) {\n b6 ? (b5 ? (tData[injectorIndex + 7] |= mask) : (tData[injectorIndex + 6] |= mask)) :\n (b5 ? (tData[injectorIndex + 5] |= mask) : (tData[injectorIndex + 4] |= mask));\n }\n else {\n b6 ? (b5 ? (tData[injectorIndex + 3] |= mask) : (tData[injectorIndex + 2] |= mask)) :\n (b5 ? (tData[injectorIndex + 1] |= mask) : (tData[injectorIndex] |= mask));\n }\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param {?} tNode for which an injector should be retrieved / created.\n * @param {?} hostView View where the node is stored\n * @return {?} Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, hostView) {\n /** @type {?} */\n const existingInjectorIndex = getInjectorIndex(tNode, hostView);\n if (existingInjectorIndex !== -1) {\n return existingInjectorIndex;\n }\n /** @type {?} */\n const tView = hostView[TVIEW];\n if (tView.firstCreatePass) {\n tNode.injectorIndex = hostView.length;\n insertBloom(tView.data, tNode); // foundation for node bloom\n insertBloom(hostView, null); // foundation for cumulative bloom\n insertBloom(tView.blueprint, null);\n }\n /** @type {?} */\n const parentLoc = getParentInjectorLocation(tNode, hostView);\n /** @type {?} */\n const injectorIndex = tNode.injectorIndex;\n // If a parent injector can't be found, its location is set to -1.\n // In that case, we don't need to set up a cumulative bloom\n if (hasParentInjector(parentLoc)) {\n /** @type {?} */\n const parentIndex = getParentInjectorIndex(parentLoc);\n /** @type {?} */\n const parentLView = getParentInjectorView(parentLoc, hostView);\n /** @type {?} */\n const parentData = (/** @type {?} */ (parentLView[TVIEW].data));\n // Creates a cumulative bloom filter that merges the parent's bloom filter\n // and its own cumulative bloom (which contains tokens for all ancestors)\n for (let i = 0; i < 8; i++) {\n hostView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n }\n }\n hostView[injectorIndex + PARENT_INJECTOR] = parentLoc;\n return injectorIndex;\n}\n/**\n * @param {?} arr\n * @param {?} footer\n * @return {?}\n */\nfunction insertBloom(arr, footer) {\n arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\n/**\n * @param {?} tNode\n * @param {?} hostView\n * @return {?}\n */\nfunction getInjectorIndex(tNode, hostView) {\n if (tNode.injectorIndex === -1 ||\n // If the injector index is the same as its parent's injector index, then the index has been\n // copied down from the parent node. No injector has been created yet on this node.\n (tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex) ||\n // After the first template pass, the injector index might exist but the parent values\n // might not have been calculated yet for this instance\n hostView[tNode.injectorIndex + PARENT_INJECTOR] == null) {\n return -1;\n }\n else {\n return tNode.injectorIndex;\n }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * Returns a combination of number of `ViewData` we have to go up and index in that `Viewdata`\n * @param {?} tNode\n * @param {?} view\n * @return {?}\n */\nfunction getParentInjectorLocation(tNode, view) {\n if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n return (/** @type {?} */ (tNode.parent.injectorIndex)); // ViewOffset is 0\n }\n // For most cases, the parent injector index can be found on the host node (e.g. for component\n // or container), so this loop will be skipped, but we must keep the loop here to support\n // the rarer case of deeply nested tags or inline views.\n /** @type {?} */\n let hostTNode = view[T_HOST];\n /** @type {?} */\n let viewOffset = 1;\n while (hostTNode && hostTNode.injectorIndex === -1) {\n view = (/** @type {?} */ (view[DECLARATION_VIEW]));\n hostTNode = view ? view[T_HOST] : null;\n viewOffset++;\n }\n return hostTNode ?\n hostTNode.injectorIndex | (viewOffset << 16 /* ViewOffsetShift */) :\n (/** @type {?} */ (-1));\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param {?} injectorIndex\n * @param {?} tView\n * @param {?} token The type or the injection token to be made public\n * @return {?}\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n * at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```\n * \\@Component(...)\n * class MyComponent {\n * constructor(\\@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```\n * \n * ```\n *\n * Then factory method generated is:\n * ```\n * MyComponent.ɵcmp = defineComponent({\n * factory: () => new MyComponent(injectAttribute('title'))\n * ...\n * })\n * ```\n *\n * \\@publicApi\n * @param {?} tNode\n * @param {?} attrNameToInject\n * @return {?}\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n ngDevMode &&\n assertNodeOfPossibleTypes(tNode, 0 /* Container */, 3 /* Element */, 4 /* ElementContainer */);\n ngDevMode && assertDefined(tNode, 'expecting tNode');\n if (attrNameToInject === 'class') {\n return tNode.classes;\n }\n if (attrNameToInject === 'style') {\n return tNode.styles;\n }\n /** @type {?} */\n const attrs = tNode.attrs;\n if (attrs) {\n /** @type {?} */\n const attrsLength = attrs.length;\n /** @type {?} */\n let i = 0;\n while (i < attrsLength) {\n /** @type {?} */\n const value = attrs[i];\n // If we hit a `Bindings` or `Template` marker then we are done.\n if (isNameOnlyAttributeMarker(value))\n break;\n // Skip namespaced attributes\n if (value === 0 /* NamespaceURI */) {\n // we skip the next two values\n // as namespaced attributes looks like\n // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n // 'existValue', ...]\n i = i + 2;\n }\n else if (typeof value === 'number') {\n // Skip to the first value of the marked attribute.\n i++;\n while (i < attrsLength && typeof attrs[i] === 'string') {\n i++;\n }\n }\n else if (value === attrNameToInject) {\n return (/** @type {?} */ (attrs[i + 1]));\n }\n else {\n i = i + 2;\n }\n }\n }\n return null;\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. Negative values are reserved for special objects.\n * - `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @template T\n * @param {?} tNode The Node where the search for the injector should start\n * @param {?} lView The `LView` that contains the `tNode`\n * @param {?} token The token to look for\n * @param {?=} flags Injection flags\n * @param {?=} notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @return {?} the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n if (tNode !== null) {\n /** @type {?} */\n const bloomHash = bloomHashBitOrFactory(token);\n // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n // so just call the factory function to create it.\n if (typeof bloomHash === 'function') {\n enterDI(lView, tNode);\n try {\n /** @type {?} */\n const value = bloomHash();\n if (value == null && !(flags & InjectFlags.Optional)) {\n throw new Error(`No provider for ${stringifyForError(token)}!`);\n }\n else {\n return value;\n }\n }\n finally {\n leaveDI();\n }\n }\n else if (typeof bloomHash == 'number') {\n if (bloomHash === -1) {\n // `-1` is a special value used to identify `Injector` types.\n return (/** @type {?} */ (new NodeInjector(tNode, lView)));\n }\n // If the token has a bloom hash, then it is a token which could be in NodeInjector.\n // A reference to the previous injector TView that was found while climbing the element\n // injector tree. This is used to know if viewProviders can be accessed on the current\n // injector.\n /** @type {?} */\n let previousTView = null;\n /** @type {?} */\n let injectorIndex = getInjectorIndex(tNode, lView);\n /** @type {?} */\n let parentLocation = NO_PARENT_INJECTOR;\n /** @type {?} */\n let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null;\n // If we should skip this injector, or if there is no injector on this node, start by\n // searching\n // the parent injector.\n if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) :\n lView[injectorIndex + PARENT_INJECTOR];\n if (!shouldSearchParent(flags, false)) {\n injectorIndex = -1;\n }\n else {\n previousTView = lView[TVIEW];\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n }\n // Traverse up the injector tree until we find a potential match or until we know there\n // *isn't* a match.\n while (injectorIndex !== -1) {\n parentLocation = lView[injectorIndex + PARENT_INJECTOR];\n // Check the current injector. If it matches, see if it contains token.\n /** @type {?} */\n const tView = lView[TVIEW];\n if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n // At this point, we have an injector which *may* contain the token, so we step through\n // the providers and directives associated with the injector's corresponding node to get\n // the instance.\n /** @type {?} */\n const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n if (instance !== NOT_FOUND) {\n return instance;\n }\n }\n if (shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + TNODE] === hostTElementNode) &&\n bloomHasToken(bloomHash, injectorIndex, lView)) {\n // The def wasn't found anywhere on this node, so it was a false positive.\n // Traverse up the tree and continue searching.\n previousTView = tView;\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n else {\n // If we should not search parent OR If the ancestor bloom filter value does not have the\n // bit corresponding to the directive we can give up on traversing up to find the specific\n // injector.\n injectorIndex = -1;\n }\n }\n }\n }\n if (flags & InjectFlags.Optional && notFoundValue === undefined) {\n // This must be set or the NullInjector will throw for optional deps\n notFoundValue = null;\n }\n if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n /** @type {?} */\n const moduleInjector = lView[INJECTOR$1];\n // switch to `injectInjectorOnly` implementation for module injector, since module injector\n // should not have access to Component/Directive DI scope (that may happen through\n // `directiveInject` implementation)\n /** @type {?} */\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n if (moduleInjector) {\n return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n }\n else {\n return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n }\n }\n finally {\n setInjectImplementation(previousInjectImplementation);\n }\n }\n if (flags & InjectFlags.Optional) {\n return notFoundValue;\n }\n else {\n throw new Error(`NodeInjector: NOT_FOUND [${stringifyForError(token)}]`);\n }\n}\n/** @type {?} */\nconst NOT_FOUND = {};\n/**\n * @template T\n * @param {?} injectorIndex\n * @param {?} lView\n * @param {?} token\n * @param {?} previousTView\n * @param {?} flags\n * @param {?} hostTElementNode\n * @return {?}\n */\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n /** @type {?} */\n const currentTView = lView[TVIEW];\n /** @type {?} */\n const tNode = (/** @type {?} */ (currentTView.data[injectorIndex + TNODE]));\n // First, we need to determine if view providers can be accessed by the starting element.\n // There are two possibities\n /** @type {?} */\n const canAccessViewProviders = previousTView == null ?\n // 1) This is the first invocation `previousTView == null` which means that we are at the\n // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n // to look into the ViewProviders is if:\n // - we are on a component\n // - AND the injector set `includeViewProviders` to true (implying that the token can see\n // ViewProviders because it is the Component or a Service which itself was declared in\n // ViewProviders)\n (isComponentHost(tNode) && includeViewProviders) :\n // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n // In such a case we are only allowed to look into the ViewProviders if:\n // - We just crossed from child View to Parent View `previousTView != currentTView`\n // - AND the parent TNode is an Element.\n // This means that we just came from the Component's View and therefore are allowed to see\n // into the ViewProviders.\n (previousTView != currentTView && (tNode.type === 3 /* Element */));\n // This special case happens when there is a @host on the inject and when we are searching\n // on the host element node.\n /** @type {?} */\n const isHostSpecialCase = (flags & InjectFlags.Host) && hostTElementNode === tNode;\n /** @type {?} */\n const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n if (injectableIdx !== null) {\n return getNodeInjectable(lView, currentTView, injectableIdx, (/** @type {?} */ (tNode)));\n }\n else {\n return NOT_FOUND;\n }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @template T\n * @param {?} tNode TNode on which directives are present.\n * @param {?} tView The tView we are currently processing\n * @param {?} token Provider token or type of a directive to look for.\n * @param {?} canAccessViewProviders Whether view providers should be considered.\n * @param {?} isHostSpecialCase Whether the host special case applies.\n * @return {?} Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n /** @type {?} */\n const nodeProviderIndexes = tNode.providerIndexes;\n /** @type {?} */\n const tInjectables = tView.data;\n /** @type {?} */\n const injectablesStart = nodeProviderIndexes & 65535 /* ProvidersStartIndexMask */;\n /** @type {?} */\n const directivesStart = tNode.directiveStart;\n /** @type {?} */\n const directiveEnd = tNode.directiveEnd;\n /** @type {?} */\n const cptViewProvidersCount = nodeProviderIndexes >> 16 /* CptViewProvidersCountShift */;\n /** @type {?} */\n const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n // When the host special case applies, only the viewProviders and the component are visible\n /** @type {?} */\n const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n for (let i = startingIndex; i < endIndex; i++) {\n /** @type {?} */\n const providerTokenOrDef = (/** @type {?} */ (tInjectables[i]));\n if (i < directivesStart && token === providerTokenOrDef ||\n i >= directivesStart && ((/** @type {?} */ (providerTokenOrDef))).type === token) {\n return i;\n }\n }\n if (isHostSpecialCase) {\n /** @type {?} */\n const dirDef = (/** @type {?} */ (tInjectables[directivesStart]));\n if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n return directivesStart;\n }\n }\n return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `LView` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n * @param {?} lView\n * @param {?} tView\n * @param {?} index\n * @param {?} tNode\n * @return {?}\n */\nfunction getNodeInjectable(lView, tView, index, tNode) {\n /** @type {?} */\n let value = lView[index];\n /** @type {?} */\n const tData = tView.data;\n if (isFactory(value)) {\n /** @type {?} */\n const factory = value;\n if (factory.resolving) {\n throw new Error(`Circular dep for ${stringifyForError(tData[index])}`);\n }\n /** @type {?} */\n const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n factory.resolving = true;\n /** @type {?} */\n let previousInjectImplementation;\n if (factory.injectImpl) {\n previousInjectImplementation = setInjectImplementation(factory.injectImpl);\n }\n enterDI(lView, tNode);\n try {\n value = lView[index] = factory.factory(undefined, tData, lView, tNode);\n // This code path is hit for both directives and providers.\n // For perf reasons, we want to avoid searching for hooks on providers.\n // It does no harm to try (the hooks just won't exist), but the extra\n // checks are unnecessary and this is a hot path. So we check to see\n // if the index of the dependency is in the directive range for this\n // tNode. If it's not, we know it's a provider and skip hook registration.\n if (tView.firstCreatePass && index >= tNode.directiveStart) {\n ngDevMode && assertDirectiveDef(tData[index]);\n registerPreOrderHooks(index, (/** @type {?} */ (tData[index])), tView);\n }\n }\n finally {\n if (factory.injectImpl)\n setInjectImplementation(previousInjectImplementation);\n setIncludeViewProviders(previousIncludeViewProviders);\n factory.resolving = false;\n leaveDI();\n }\n }\n return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param {?} token the injection token\n * @return {?} the matching bit to check in the bloom filter or `null` if the token is not known.\n * When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n ngDevMode && assertDefined(token, 'token must be defined');\n if (typeof token === 'string') {\n return token.charCodeAt(0) || 0;\n }\n /** @type {?} */\n const tokenId = ((/** @type {?} */ (token)))[NG_ELEMENT_ID];\n // Negative token IDs are used for special objects such as `Injector`\n return (typeof tokenId === 'number' && tokenId > 0) ? tokenId & BLOOM_MASK : tokenId;\n}\n/**\n * @param {?} bloomHash\n * @param {?} injectorIndex\n * @param {?} injectorView\n * @return {?}\n */\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n // Create a mask that targets the specific bit associated with the directive we're looking for.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n /** @type {?} */\n const mask = 1 << bloomHash;\n /** @type {?} */\n const b7 = bloomHash & 0x80;\n /** @type {?} */\n const b6 = bloomHash & 0x40;\n /** @type {?} */\n const b5 = bloomHash & 0x20;\n // Our bloom filter size is 256 bits, which is eight 32-bit bloom filter buckets:\n // bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc.\n // Get the bloom filter value from the appropriate bucket based on the directive's bloomBit.\n /** @type {?} */\n let value;\n if (b7) {\n value = b6 ? (b5 ? injectorView[injectorIndex + 7] : injectorView[injectorIndex + 6]) :\n (b5 ? injectorView[injectorIndex + 5] : injectorView[injectorIndex + 4]);\n }\n else {\n value = b6 ? (b5 ? injectorView[injectorIndex + 3] : injectorView[injectorIndex + 2]) :\n (b5 ? injectorView[injectorIndex + 1] : injectorView[injectorIndex]);\n }\n // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n // this injector is a potential match.\n return !!(value & mask);\n}\n/**\n * Returns true if flags prevent parent injector from being searched for tokens\n * @param {?} flags\n * @param {?} isFirstHostTNode\n * @return {?}\n */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nclass NodeInjector {\n /**\n * @param {?} _tNode\n * @param {?} _lView\n */\n constructor(_tNode, _lView) {\n this._tNode = _tNode;\n this._lView = _lView;\n }\n /**\n * @param {?} token\n * @param {?=} notFoundValue\n * @return {?}\n */\n get(token, notFoundValue) {\n return getOrCreateInjectable(this._tNode, this._lView, token, undefined, notFoundValue);\n }\n}\nif (false) {\n /**\n * @type {?}\n * @private\n */\n NodeInjector.prototype._tNode;\n /**\n * @type {?}\n * @private\n */\n NodeInjector.prototype._lView;\n}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction ɵɵgetFactoryOf(type) {\n /** @type {?} */\n const typeAny = (/** @type {?} */ (type));\n if (isForwardRef(type)) {\n return (/** @type {?} */ (((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const factory = ɵɵgetFactoryOf(resolveForwardRef(typeAny));\n return factory ? factory() : null;\n }))));\n }\n /** @type {?} */\n let factory = getFactoryDef(typeAny);\n if (factory === null) {\n /** @type {?} */\n const injectorDef = getInjectorDef(typeAny);\n factory = injectorDef && injectorDef.factory;\n }\n return factory || null;\n}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction ɵɵgetInheritedFactory(type) {\n return noSideEffects((/**\n * @return {?}\n */\n () => {\n /** @type {?} */\n const proto = (/** @type {?} */ (Object.getPrototypeOf(type.prototype).constructor));\n /** @type {?} */\n const factory = ((/** @type {?} */ (proto)))[NG_FACTORY_DEF] || ɵɵgetFactoryOf(proto);\n if (factory !== null) {\n return factory;\n }\n else {\n // There is no factory defined. Either this was improper usage of inheritance\n // (no Angular decorator on the superclass) or there is no constructor at all\n // in the inheritance chain. Since the two cases cannot be distinguished, the\n // latter has to be assumed.\n return (/**\n * @param {?} t\n * @return {?}\n */\n (t) => new t());\n }\n }));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ERROR_TYPE = 'ngType';\nconst ERROR_DEBUG_CONTEXT = 'ngDebugContext';\nconst ERROR_ORIGINAL_ERROR = 'ngOriginalError';\nconst ERROR_LOGGER = 'ngErrorLogger';\nfunction wrappedError(message, originalError) {\n const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;\n const error = Error(msg);\n error[ERROR_ORIGINAL_ERROR] = originalError;\n return error;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/errors.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getType(error) {\n return ((/** @type {?} */ (error)))[ERROR_TYPE];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getDebugContext(error) {\n return ((/** @type {?} */ (error)))[ERROR_DEBUG_CONTEXT];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getOriginalError(error) {\n return ((/** @type {?} */ (error)))[ERROR_ORIGINAL_ERROR];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getErrorLogger(error) {\n return ((/** @type {?} */ (error)))[ERROR_LOGGER] || defaultErrorLogger;\n}\n/**\n * @param {?} console\n * @param {...?} values\n * @return {?}\n */\nfunction defaultErrorLogger(console, ...values) {\n ((/** @type {?} */ (console.error)))(...values);\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/error_handler.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Provides a hook for centralized exception handling.\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```\n * class MyErrorHandler implements ErrorHandler {\n * handleError(error) {\n * // do something with the exception\n * }\n * }\n *\n * \\@NgModule({\n * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * \\@publicApi\n */\nclass ErrorHandler {\n constructor() {\n /**\n * \\@internal\n */\n this._console = console;\n }\n /**\n * @param {?} error\n * @return {?}\n */\n handleError(error) {\n /** @type {?} */\n const originalError = this._findOriginalError(error);\n /** @type {?} */\n const context = this._findContext(error);\n // Note: Browser consoles show the place from where console.error was called.\n // We can use this to give users additional information about the error.\n /** @type {?} */\n const errorLogger = getErrorLogger(error);\n errorLogger(this._console, `ERROR`, error);\n if (originalError) {\n errorLogger(this._console, `ORIGINAL ERROR`, originalError);\n }\n if (context) {\n errorLogger(this._console, 'ERROR CONTEXT', context);\n }\n }\n /**\n * \\@internal\n * @param {?} error\n * @return {?}\n */\n _findContext(error) {\n if (error) {\n return getDebugContext(error) ? getDebugContext(error) :\n this._findContext(getOriginalError(error));\n }\n return null;\n }\n /**\n * \\@internal\n * @param {?} error\n * @return {?}\n */\n _findOriginalError(error) {\n /** @type {?} */\n let e = getOriginalError(error);\n while (e && getOriginalError(e)) {\n e = getOriginalError(e);\n }\n return e;\n }\n}\nif (false) {\n /**\n * \\@internal\n * @type {?}\n */\n ErrorHandler.prototype._console;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/metadata/schema.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A schema definition associated with an NgModule.\n *\n * @see `\\@NgModule`, `CUSTOM_ELEMENTS_SCHEMA`, `NO_ERRORS_SCHEMA`\n *\n * @param name The name of a defined schema.\n *\n * \\@publicApi\n * @record\n */\nfunction SchemaMetadata() { }\nif (false) {\n /** @type {?} */\n SchemaMetadata.prototype.name;\n}\n/**\n * Defines a schema that allows an NgModule to contain the following:\n * - Non-Angular elements named with dash case (`-`).\n * - Element properties named with dash case (`-`).\n * Dash case is the naming convention for custom elements.\n *\n * \\@publicApi\n * @type {?}\n */\nconst CUSTOM_ELEMENTS_SCHEMA = {\n name: 'custom-elements'\n};\n/**\n * Defines a schema that allows any property on any element.\n *\n * \\@publicApi\n * @type {?}\n */\nconst NO_ERRORS_SCHEMA = {\n name: 'no-errors-schema'\n};\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/sanitization/bypass.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {string} */\nconst BypassType = {\n Url: \"URL\",\n Html: \"HTML\",\n ResourceUrl: \"ResourceURL\",\n Script: \"Script\",\n Style: \"Style\",\n};\n/**\n * Marker interface for a value that's safe to use in a particular context.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeValue() { }\n/**\n * Marker interface for a value that's safe to use as HTML.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeHtml() { }\n/**\n * Marker interface for a value that's safe to use as style (CSS).\n *\n * \\@publicApi\n * @record\n */\nfunction SafeStyle() { }\n/**\n * Marker interface for a value that's safe to use as JavaScript.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeScript() { }\n/**\n * Marker interface for a value that's safe to use as a URL linking to a document.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeUrl() { }\n/**\n * Marker interface for a value that's safe to use as a URL to load executable code from.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeResourceUrl() { }\n/**\n * @abstract\n */\nclass SafeValueImpl {\n /**\n * @param {?} changingThisBreaksApplicationSecurity\n */\n constructor(changingThisBreaksApplicationSecurity) {\n this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n }\n /**\n * @return {?}\n */\n toString() {\n return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` +\n ` (see http://g.co/ng/security#xss)`;\n }\n}\nif (false) {\n /** @type {?} */\n SafeValueImpl.prototype.changingThisBreaksApplicationSecurity;\n /**\n * @abstract\n * @return {?}\n */\n SafeValueImpl.prototype.getTypeName = function () { };\n}\nclass SafeHtmlImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"HTML\" /* Html */;\n }\n}\nclass SafeStyleImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"Style\" /* Style */;\n }\n}\nclass SafeScriptImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"Script\" /* Script */;\n }\n}\nclass SafeUrlImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"URL\" /* Url */;\n }\n}\nclass SafeResourceUrlImpl extends SafeValueImpl {\n /**\n * @return {?}\n */\n getTypeName() {\n return \"ResourceURL\" /* ResourceUrl */;\n }\n}\n/**\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction unwrapSafeValue(value) {\n return value instanceof SafeValueImpl ? (/** @type {?} */ ((/** @type {?} */ (value.changingThisBreaksApplicationSecurity)))) :\n (/** @type {?} */ ((/** @type {?} */ (value))));\n}\n/**\n * @param {?} value\n * @param {?} type\n * @return {?}\n */\nfunction allowSanitizationBypassAndThrow(value, type) {\n /** @type {?} */\n const actualType = getSanitizationBypassType(value);\n if (actualType != null && actualType !== type) {\n // Allow ResourceURLs in URL contexts, they are strictly more trusted.\n if (actualType === \"ResourceURL\" /* ResourceUrl */ && type === \"URL\" /* Url */)\n return true;\n throw new Error(`Required a safe ${type}, got a ${actualType} (see http://g.co/ng/security#xss)`);\n }\n return actualType === type;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction getSanitizationBypassType(value) {\n return value instanceof SafeValueImpl && (/** @type {?} */ (value.getTypeName())) || null;\n}\n/**\n * Mark `html` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link htmlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedHtml `html` string which needs to be implicitly trusted.\n * @return {?} a `html` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustHtml(trustedHtml) {\n return new SafeHtmlImpl(trustedHtml);\n}\n/**\n * Mark `style` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link styleSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedStyle `style` string which needs to be implicitly trusted.\n * @return {?} a `style` hich has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustStyle(trustedStyle) {\n return new SafeStyleImpl(trustedStyle);\n}\n/**\n * Mark `script` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link scriptSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedScript `script` string which needs to be implicitly trusted.\n * @return {?} a `script` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustScript(trustedScript) {\n return new SafeScriptImpl(trustedScript);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link urlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedUrl `url` string which needs to be implicitly trusted.\n * @return {?} a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustUrl(trustedUrl) {\n return new SafeUrlImpl(trustedUrl);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link resourceUrlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedResourceUrl `url` string which needs to be implicitly trusted.\n * @return {?} a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustResourceUrl(trustedResourceUrl) {\n return new SafeResourceUrlImpl(trustedResourceUrl);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This file is used to control if the default rendering pipeline should be `ViewEngine` or `Ivy`.\n *\n * For more information on how to run and debug tests with either Ivy or View Engine (legacy),\n * please see [BAZEL.md](./docs/BAZEL.md).\n */\nlet _devMode = true;\nlet _runModeLocked = false;\n/**\n * Returns whether Angular is in development mode. After called once,\n * the value is locked and won't change any more.\n *\n * By default, this is true, unless a user calls `enableProdMode` before calling this.\n *\n * @publicApi\n */\nfunction isDevMode() {\n _runModeLocked = true;\n return _devMode;\n}\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n *\n * @publicApi\n */\nfunction enableProdMode() {\n if (_runModeLocked) {\n throw new Error('Cannot enable prod mode after platform setup.');\n }\n _devMode = false;\n}\n\n/**\n * @fileoverview added by tsickle\n * Generated from: packages/core/src/sanitization/inert_body.ts\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This helper class is used to get hold of an inert tree of DOM elements containing dirty HTML\n * that needs sanitizing.\n * Depending upon browser support we must use one of three strategies for doing this.\n * Support: Safari 10.x -> XHR strategy\n * Support: Firefox -> DomParser strategy\n * Default: InertDocument strategy\n */\nclass InertBodyHelper {\n /**\n * @param {?} defaultDoc\n */\n constructor(defaultDoc) {\n this.defaultDoc = defaultDoc;\n this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');\n /** @type {?} */\n let inertBodyElement = this.inertDocument.body;\n if (inertBodyElement == null) {\n // usually there should be only one body element in the document, but IE doesn't have any, so\n // we need to create one.\n /** @type {?} */\n const inertHtml = this.inertDocument.createElement('html');\n this.inertDocument.appendChild(inertHtml);\n inertBodyElement = this.inertDocument.createElement('body');\n inertHtml.appendChild(inertBodyElement);\n }\n inertBodyElement.innerHTML = '';\n if (inertBodyElement.querySelector && !inertBodyElement.querySelector('svg')) {\n // We just hit the Safari 10.1 bug - which allows JS to run inside the SVG G element\n // so use the XHR strategy.\n this.getInertBodyElement = this.getInertBodyElement_XHR;\n return;\n }\n inertBodyElement.innerHTML = '

    ';\n if (inertBodyElement.querySelector && inertBodyElement.querySelector('svg img')) {\n // We just hit the Firefox bug - which prevents the inner img JS from being sanitized\n // so use the DOMParser strategy, if it is available.\n // If the DOMParser is not available then we are not in Firefox (Server/WebWorker?) so we\n // fall through to the default strategy below.\n if (isDOMParserAvailable()) {\n this.getInertBodyElement = this.getInertBodyElement_DOMParser;\n return;\n }\n }\n // None of the bugs were hit so it is safe for us to use the default InertDocument strategy\n this.getInertBodyElement = this.getInertBodyElement_InertDocument;\n }\n /**\n * Use XHR to create and fill an inert body element (on Safari 10.1)\n * See\n * https://github.com/cure53/DOMPurify/blob/a992d3a75031cb8bb032e5ea8399ba972bdf9a65/src/purify.js#L439-L449\n * @private\n * @param {?} html\n * @return {?}\n */\n getInertBodyElement_XHR(html) {\n // We add these extra elements to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `` do not get hoisted to the\n // `` tag.\n html = '' + html + '';\n try {\n html = encodeURI(html);\n }\n catch (_a) {\n return null;\n }\n /** @type {?} */\n const xhr = new XMLHttpRequest();\n xhr.responseType = 'document';\n xhr.open('GET', 'data:text/html;charset=utf-8,' + html, false);\n xhr.send(undefined);\n /** @type {?} */\n const body = xhr.response.body;\n body.removeChild((/** @type {?} */ (body.firstChild)));\n return body;\n }\n /**\n * Use DOMParser to create and fill an inert body element (on Firefox)\n * See https://github.com/cure53/DOMPurify/releases/tag/0.6.7\n *\n * @private\n * @param {?} html\n * @return {?}\n */\n getInertBodyElement_DOMParser(html) {\n // We add these extra elements to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `` do not get hoisted to the\n // `` tag.\n html = '' + html + '';\n try {\n /** @type {?} */\n const body = (/** @type {?} */ (new ((/** @type {?} */ (window))).DOMParser().parseFromString(html, 'text/html').body));\n body.removeChild((/** @type {?} */ (body.firstChild)));\n return body;\n }\n catch (_a) {\n return null;\n }\n }\n /**\n * Use an HTML5 `template` element, if supported, or an inert body element created via\n * `createHtmlDocument` to create and fill an inert DOM element.\n * This is the default sane strategy to use if the browser does not require one of the specialised\n * strategies above.\n * @private\n * @param {?} html\n * @return {?}\n */\n getInertBodyElement_InertDocument(html) {\n // Prefer using