(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([[267],{ /***/ 42496: /*!*****************************************************************!*\ !*** ./src/app/logistic-events/view-event/view-event.module.ts ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ViewEventPageModule": () => (/* binding */ ViewEventPageModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ 61380); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var src_app_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/shared-module/shared-module.module */ 69270); /* harmony import */ var _view_event_page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./view-event.page */ 16469); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 45449); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_3__); const routes = [ { path: '', component: _view_event_page__WEBPACK_IMPORTED_MODULE_2__.ViewEventPage } ]; class ViewEventPageModule { } ViewEventPageModule.ɵfac = function ViewEventPageModule_Factory(t) { return new (t || ViewEventPageModule)(); }; ViewEventPageModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: ViewEventPageModule }); ViewEventPageModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [src_app_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_1__.SharedModuleModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule.forChild(routes)] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](ViewEventPageModule, { declarations: [_view_event_page__WEBPACK_IMPORTED_MODULE_2__.ViewEventPage], imports: [src_app_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_1__.SharedModuleModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule] }); })(); /***/ }), /***/ 16469: /*!***************************************************************!*\ !*** ./src/app/logistic-events/view-event/view-event.page.ts ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ViewEventPage": () => (/* binding */ ViewEventPage) /* harmony export */ }); /* harmony import */ var _Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 71670); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ 59584); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_common_http__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 45449); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @shared/services */ 17253); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ 61380); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ionic/angular */ 93819); /* harmony import */ var _awesome_cordova_plugins_android_permissions_ngx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @awesome-cordova-plugins/android-permissions/ngx */ 4824); /* harmony import */ var _shared_services_state_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @shared/services/state.service */ 21284); /* harmony import */ var _shared_services_sessionaddflow_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @shared/services/sessionaddflow.service */ 80698); /* harmony import */ var _shared_services_operation_action_to_render_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @shared/services/operation-action-to-render.service */ 73093); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 90944); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_9__); /* harmony import */ var _shared_components_avatar_avatar_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../shared/components/avatar/avatar.component */ 87871); /* harmony import */ var _shared_components_status_invite_status_invite_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../shared/components/status-invite/status-invite.component */ 58517); /* harmony import */ var _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../shared/components/header/header.component */ 36290); /* harmony import */ var _shared_components_list_recurrence_dates_list_recurrence_dates_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../shared/components/list-recurrence-dates/list-recurrence-dates.component */ 96893); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ngx-translate/core */ 38699); /* eslint-disable @typescript-eslint/naming-convention */ function ViewEventPage_div_7_Template(rf, ctx) { if (rf & 1) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 29)(1, "button", 30); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ViewEventPage_div_7_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r17); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r16.addToCalendar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 1, "PG_VIEW_EVENT_LG_BTN_CALENDAR_INVITATION"), " "); } } function ViewEventPage_div_8_button_1_Template(rf, ctx) { if (rf & 1) { const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "button", 30); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ViewEventPage_div_8_button_1_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r20); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r19.shareEvent()); }); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "PG_VIEW_EVENT_LG_BTN_LINK_SHARE"), " "); } } function ViewEventPage_div_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 31); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, ViewEventPage_div_8_button_1_Template, 3, 3, "button", 32); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r1.isNew); } } function ViewEventPage_div_15_Template(rf, ctx) { if (rf & 1) { const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 8)(1, "button", 9); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ViewEventPage_div_15_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r21.onFixEventErrors()); }); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 1, "PG_VIEW_EVENT_LG_BTN_EDIT"), " "); } } function ViewEventPage_div_35_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 33)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](4, "app-list-recurrence-dates", 34); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 3, "TEXT_RECURRENCES_DATES")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("showShortDateList", true)("recurrenceDates", ctx_r3.recurrenceDates); } } function ViewEventPage_div_40_div_8_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", ctx_r24.momentService.formatAsEventAt(ctx_r24.driver.lastModifiedDate), " "); } } function ViewEventPage_div_40_div_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 43)(1, "div", 44); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_40_div_8_div_4_Template, 2, 1, "div", 45); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_TEXT_CHECK_PERFORMED_AT"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r23.driver.lastModifiedDate); } } function ViewEventPage_div_40_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 35)(1, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](2, "app-avatar", 37); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "div", 38)(4, "div", 39); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "div", 40); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](8, ViewEventPage_div_40_div_8_Template, 5, 4, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](9, "app-status-invite", 42); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); let tmp_0_0; let tmp_1_0; let tmp_1_1; let tmp_2_0; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("firstName", (tmp_0_0 = (tmp_0_0 = ctx_r4.driver == null ? null : ctx_r4.driver["firstName"]) !== null && tmp_0_0 !== undefined ? tmp_0_0 : ctx_r4.driver == null ? null : ctx_r4.driver.fullName == null ? null : (tmp_0_0 = ctx_r4.driver.fullName.split(" ")) == null ? null : tmp_0_0[0]) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "")("lastName", (tmp_1_0 = (tmp_1_0 = ctx_r4.driver == null ? null : ctx_r4.driver["lastName"]) !== null && tmp_1_0 !== undefined ? tmp_1_0 : ctx_r4.driver == null ? null : ctx_r4.driver.fullName == null ? null : (tmp_1_0 = ctx_r4.driver.fullName.split(" ")) == null ? null : (tmp_1_1 = tmp_1_0.slice(1)) == null ? null : tmp_1_1.join(" ")) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "")("thumbnailImage", (tmp_2_0 = ctx_r4.driver == null ? null : ctx_r4.driver["thumbnailImage"]) !== null && tmp_2_0 !== undefined ? tmp_2_0 : null)("size", "sm"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx_r4.driver.fullName); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx_r4.driver.document); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r4.driver.status === "CHECKIN_DONE" || ctx_r4.driver.status === "MULTI_CHECKIN" || ctx_r4.driver.status === "QRCODE_PRINTED"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("status", ctx_r4.driver.status); } } function ViewEventPage_div_41_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "PG_VIEW_EVENT_LG_TEXT_NOT_DRIVER_SELECTED"), " "); } } function ViewEventPage_div_42_div_4_div_1_div_7_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const assistant_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2).$implicit; const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", ctx_r30.momentService.formatAsEventAt(assistant_r28.lastModifiedDate), " "); } } function ViewEventPage_div_42_div_4_div_1_div_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 43)(1, "div", 44); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_42_div_4_div_1_div_7_div_4_Template, 2, 1, "div", 45); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const assistant_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_TEXT_CHECK_PERFORMED_AT"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", assistant_r28.lastModifiedDate); } } function ViewEventPage_div_42_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 53); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](1, "app-avatar", 37); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](2, "div", 54)(3, "div", 39); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "div", 40); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](7, ViewEventPage_div_42_div_4_div_1_div_7_Template, 5, 4, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](8, "app-status-invite", 42); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { const assistant_r28 = ctx.$implicit; let tmp_0_0; let tmp_1_0; let tmp_1_1; let tmp_2_0; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("firstName", (tmp_0_0 = (tmp_0_0 = assistant_r28 == null ? null : assistant_r28.firstName) !== null && tmp_0_0 !== undefined ? tmp_0_0 : assistant_r28 == null ? null : assistant_r28.fullName == null ? null : (tmp_0_0 = assistant_r28.fullName.split(" ")) == null ? null : tmp_0_0[0]) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "")("lastName", (tmp_1_0 = (tmp_1_0 = assistant_r28 == null ? null : assistant_r28.lastName) !== null && tmp_1_0 !== undefined ? tmp_1_0 : assistant_r28 == null ? null : assistant_r28.fullName == null ? null : (tmp_1_0 = assistant_r28.fullName.split(" ")) == null ? null : (tmp_1_1 = tmp_1_0.slice(1)) == null ? null : tmp_1_1.join(" ")) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "")("thumbnailImage", (tmp_2_0 = assistant_r28 == null ? null : assistant_r28.thumbnailImage) !== null && tmp_2_0 !== undefined ? tmp_2_0 : null)("size", "sm"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](assistant_r28.fullName); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](assistant_r28.document); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", assistant_r28.status === "CHECKIN_DONE" || assistant_r28.status === "MULTI_CHECKIN" || assistant_r28.status === "QRCODE_PRINTED"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("status", assistant_r28.status); } } function ViewEventPage_div_42_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 51); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, ViewEventPage_div_42_div_4_div_1_Template, 9, 8, "div", 52); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx_r25.assistants); } } function ViewEventPage_div_42_div_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 55); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "PG_VIEW_EVENT_TEXT_NOT_ASSISTANT_SELECTED"), " "); } } function ViewEventPage_div_42_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 48)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_42_div_4_Template, 2, 1, "div", 49); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, ViewEventPage_div_42_div_5_Template, 3, 3, "div", 50); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 3, "PG_VIEW_EVENT_LG_TEXT_ASSISTANTS")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r6.assistants.length); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r6.assistants.length); } } function ViewEventPage_ng_container_44_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_TEXT_LICENSEPLATONE")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx_r7.licensePlateOne); } } function ViewEventPage_div_45_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_YES")); } } function ViewEventPage_div_45_div_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_NOT")); } } function ViewEventPage_div_45_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 23)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_45_div_4_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, ViewEventPage_div_45_div_5_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 3, "PG_VIEW_EVENT_LG_TEXT_HASCART")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r8.hasCart); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r8.hasCart); } } function ViewEventPage_ng_container_47_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_TEXT_LICENSEPLATTWO")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx_r9.licensePlateTwo); } } function ViewEventPage_div_48_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_YES")); } } function ViewEventPage_div_48_div_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_NOT")); } } function ViewEventPage_div_48_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 23)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_48_div_4_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, ViewEventPage_div_48_div_5_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 3, "PG_VIEW_EVENT_LG_TEXT_ON_FOOT")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r10.onFoot); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r10.onFoot); } } function ViewEventPage_div_49_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_YES")); } } function ViewEventPage_div_49_div_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_NOT")); } } function ViewEventPage_div_49_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 57)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_49_div_4_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, ViewEventPage_div_49_div_5_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 3, "PG_VIEW_EVENT_LG_TEXT_LOCATOR_PRE_AUTHORIZED")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r11.locatorPreAuthorized); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r11.locatorPreAuthorized); } } function ViewEventPage_div_50_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_YES")); } } function ViewEventPage_div_50_div_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_NOT")); } } function ViewEventPage_div_50_div_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_YES")); } } function ViewEventPage_div_50_div_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](2, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](2, 1, "TEXT_NOT")); } } function ViewEventPage_div_50_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 23)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_div_50_div_4_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, ViewEventPage_div_50_div_5_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](8, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](9, ViewEventPage_div_50_div_9_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](10, ViewEventPage_div_50_div_10_Template, 3, 3, "div", 56); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 6, "PG_VIEW_EVENT_LG_TEXT_MULTI_CHECKIN")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r12.multiCheckin); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r12.multiCheckin); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](8, 8, "PG_VIEW_EVENT_LG_TEXT_PRE_AUTHORIZED")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx_r12.needAuthorization); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r12.needAuthorization); } } function ViewEventPage_ng_container_52_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_TEXT_NOTES")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx_r13.notes); } } function ViewEventPage_div_53_div_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 61)(1, "div", 62); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "div", 63); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "div", 64); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { const operation_r44 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](operation_r44.operatorName); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](operation_r44.createdDate); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](operation_r44.action); } } function ViewEventPage_div_53_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 58)(1, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "div", 59); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](5, ViewEventPage_div_53_div_5_Template, 7, 3, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_TEXT_OPERATIONS")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx_r14.operations); } } function ViewEventPage_ng_container_54_div_4_Template(rf, ctx) { if (rf & 1) { const _r48 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 8)(1, "button", 66); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ViewEventPage_ng_container_54_div_4_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r48); const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r47.onDeleteEvent()); }); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { const connectionsStatus_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]().ngIf; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("disabled", connectionsStatus_r45.status === "Offline"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](3, 2, "PG_VIEW_EVENT_LG_BTN_DELETE_EVENT"), " "); } } function ViewEventPage_ng_container_54_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "div", 2)(2, "div", 65)(3, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](4, ViewEventPage_ng_container_54_div_4_Template, 4, 4, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](5, "br")(6, "br")(7, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx_r15.shouldShowDeleteButton()); } } class ViewEventPage { constructor(createLogisticEventService, navigationService, loadingService, notificatorService, momentService, activatedRoute, router, helperService, logService, profileManagerService, authService, apiService, logisticCompanyService, geolocationService, pendingRelease, portalLoginManagerService, permissionsAndroidService, modalPermissionService, platform, androidPermissions, translateConfigService, socialSharingService, stateService, sessionAddFlowService, operationActionToRenderService, showToastModalErroCodeZero, userPhotoService) { var _this = this; this.createLogisticEventService = createLogisticEventService; this.navigationService = navigationService; this.loadingService = loadingService; this.notificatorService = notificatorService; this.momentService = momentService; this.activatedRoute = activatedRoute; this.router = router; this.helperService = helperService; this.logService = logService; this.profileManagerService = profileManagerService; this.authService = authService; this.apiService = apiService; this.logisticCompanyService = logisticCompanyService; this.geolocationService = geolocationService; this.pendingRelease = pendingRelease; this.portalLoginManagerService = portalLoginManagerService; this.permissionsAndroidService = permissionsAndroidService; this.modalPermissionService = modalPermissionService; this.platform = platform; this.androidPermissions = androidPermissions; this.translateConfigService = translateConfigService; this.socialSharingService = socialSharingService; this.stateService = stateService; this.sessionAddFlowService = sessionAddFlowService; this.operationActionToRenderService = operationActionToRenderService; this.showToastModalErroCodeZero = showToastModalErroCodeZero; this.userPhotoService = userPhotoService; this.existPendings = false; this.directionEvent = ''; this.recurrenceDates = []; this.navigateToQRCode = () => { this.navigationService.root(['/home']); }; this.navigateToPendingLiberations = () => { this.navigationService.forward(['/push-notifications']); }; this.loadData = () => { this.loadingService.show(this.translateConfigService.translate('PG_VIEW_EVENT_LG_LOADING_EVENT_DATA'), 'loading-event-data'); this.getVoProfiles().then(profiles => { this.profiles = profiles; this.getEvent(this.eventId, this.companyInstanceName); }).catch(error => { console.log('processGetEventErrorResponse'); console.log('error:', error); this.logService.logError('http::processGetEventErrorResponse', '', error); this.loadingService.hide(0, 'loading-event-data'); this.toastErrorProssGetEvent(); }); }; this.getEvent = (eventId, companyInstanceName) => { const filter = {}; this.logisticCompanyService.getEvent(eventId, filter, companyInstanceName).then(this.processGetEventSuccessResponse).catch(this.processGetEventErrorResponse); }; this.processGetEventSuccessResponse = response => { const event = response; console.log('[view-event-lg] raw event response:', JSON.stringify(event, null, 2)); event.date = this.momentService.formatAsEventFromTo(event.startAt, event.endAt); this.setEventValues(event); this.enrichPhotos(event); }; this.enrichPhotos = event => { const toEnrich = []; if (event.driver) toEnrich.push(event.driver); if (event.assistants?.length) toEnrich.push(...event.assistants); console.log('[view-event-lg] enrichPhotos — users to enrich:', toEnrich.map(u => ({ refId: u.refId, fullName: u.fullName, thumbnailImage: u.thumbnailImage ?? null }))); if (toEnrich.length) { this.userPhotoService.enrichUsersWithPhotos(toEnrich).then(() => { console.log('[view-event-lg] enrichPhotos done:', toEnrich.map(u => ({ refId: u.refId, thumbnailImage: u.thumbnailImage ?? null }))); }); } }; this.processGetEventErrorResponse = error => { console.log('processGetEventErrorResponse'); console.log('error:', error); this.logService.logError('http::processGetEventErrorResponse', '', error); this.loadingService.hide(0, 'loading-event-data'); this.toastErrorProssGetEvent(); }; this.setEventValues = event => { this.loadingService.hide(0, 'loading-event-data'); if (event) { this.event = event; this.isNew = !event.id; this.driver = event.driver; this.assistants = event.assistants ? event.assistants : []; this.hasCart = event.driver && event.driver.hasCart ? event.driver.hasCart : false; this.onFoot = event.driver && event.driver.onFoot ? event.driver.onFoot : false; this.locator = event.locator; this.useOwnLocator = event.useOwnLocator; this.useLocatorPreAuthorized = event.useLocatorPreAuthorized; this.locatorPreAuthorized = event.locatorPreAuthorized; this.title = event.title; this.notes = event.notes; this.multiCheckin = event?.multiCheckin ? event?.multiCheckin : false; this.licensePlateOne = event.driver && event.driver.licensePlateOne ? event.driver.licensePlateOne : null; this.licensePlateTwo = event.driver && event.driver.licensePlateTwo ? event.driver.licensePlateTwo : null; this.operations = event.operations ? this.processOperations(event.operations) : []; this.startAt = this.momentService.formatAsEventAt(event.startAt); this.endAt = this.momentService.formatAsEventAt(event.endAt); this.needAuthorization = !event.autoRelease; this.checkInStartAt = event.checkinStartAt; this.directionEvent = event.behavior; this.recurrenceDates = event.recurrenceDates ? event.recurrenceDates : []; this.recurrent = event.recurrent ? event.recurrent : false; } }; this.getVoProfiles = () => new Promise((resolve, reject) => { this.authService.getToken().then(token => { this.apiService.getUserProfiles('LG', token).subscribe(resolve, reject); }); }); this.getSelectedEventRelatedProfile = (profiles, eventProfile) => profiles.find(profile => profile.company.instanceName === eventProfile); this.onFixEventErrors = () => { const event = this.event; console.log(event); this.loadingService.show(this.translateConfigService.translate('LOADING_CHECKING_DATA'), 'on-edit-event'); this.getVoProfiles().then(profiles => { this.loadingService.hide(0, 'on-edit-event'); const selectedProfile = this.getSelectedEventRelatedProfile(profiles, event.company.instanceName); this.profileManagerService.setProfileLogistic(selectedProfile); const eventType = event.behavior; const licensePlateOne = event.driver && event.driver.licensePlateOne ? event.driver.licensePlateOne : null; const licensePlateTwo = event.driver && event.driver.licensePlateTwo ? event.driver.licensePlateTwo : null; const hasCart = event.driver && event.driver.hasCart ? event.driver.hasCart : false; const onFoot = event.driver && event.driver.onFoot ? event.driver.onFoot : false; const navigationExtras = { state: { action: 'edit', event: { ...event, licensePlateOne, licensePlateTwo, hasCart, onFoot }, eventType } }; this.navigationService.back(['/logistic-events/create/event-name'], navigationExtras); }).catch(error => { this.loadingService.hide(0, 'on-edit-event'); const title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE_REQUEST'); const message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_ERROR_REQUEST'); const notification = { title, message, type: 'error', timeout: 5000 }; this.notificatorService.notify(notification); this.logService.logError('http::onFixEventErrors', '', error); }); }; this.shareEvent = () => { if (this.event) { this.socialSharingService.shareEvent(this.event, 'OTHERS', 'view-event-logistic'); } }; this.shareSuccessResponse = response => { console.log('shareSuccessResponse'); console.log('response:', response); }; this.shareErrorResponse = error => { console.log('shareErrorResponse'); console.log('error:', error); this.logService.logError('share::shareErrorResponse', '', error); }; this.addToCalendarComponsed = () => { if (this.event) { this.socialSharingService.shareEvent(this.event, 'CALENDAR', 'view-event-logistic'); } }; this.addToCalendar = /*#__PURE__*/(0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { const haspermission = yield _this.haspermissionCalendar(); if (!haspermission) { _this.modalPermissionService.openModal({ permission: 'CALENDAR' }).then(value => { if (value) { _this.requestPermissionCalendarAndContact().then( /*#__PURE__*/(0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { const checkpermission = yield _this.haspermissionCalendar(); if (checkpermission) { _this.addToCalendarComponsed(); } })); } else { _this.logService.logError('permissionModal::addToCalendarPageViewEvent', '', 'modal-permission-rejected'); } }); } else { _this.addToCalendarComponsed(); } }); this.getCompanyAddress = event => event.company && event.company.address ? event.company.address : ''; this.addToCalendarSuccessResponse = response => { console.log('addToCalendarSuccessResponse:', response); }; this.addToCalendarErrorResponse = response => { console.log('addToCalendarErrorResponse:', response); this.logService.logError('calendar::addToCalendarErrorResponse', '', response); }; this.onBack = () => { this.navigationService.back(['/logistic-events']); }; this.isLogisticEvent = event => event && event.target && event.target === 'LOGISTIC'; this.shouldShowAddToCalendarButton = () => this.viewType !== 'VIEWING_TO_CREATE_FROM'; this.shouldShowShareButton = () => this.viewType !== 'VIEWING_TO_CREATE_FROM'; this.shouldShowEditButton = () => this.viewType !== 'VIEWING_TO_CREATE_FROM'; this.shouldShowDeleteButton = () => this.viewType !== 'VIEWING_TO_CREATE_FROM'; this.getEventTitleToTheView = event => { if (!event) { return; } return event.title; }; this.canBeDeleted = () => {// const hosts = this.hosts && Array.isArray(this.hosts) ? this.hosts : []; // const guests = this.guests && Array.isArray(this.guests) ? this.guests : []; // const both = hosts.concat(guests); // // const notWaitingForCheckinInvites = both.filter(invite => invite.status !== 'WAITING_FOR_CHECKIN'); // // return !notWaitingForCheckinInvites.length; }; this.onDeleteEvent = () => { this.sessionAddFlowService.clearSessionId(); const event = this.event; this.loadingService.show(this.translateConfigService.translate('PG_VIEW_EVENT_LG_LOADING_DELETE'), 'on-delete-event'); const companyInstance = this.event.company.instanceName; const selectedProfile = this.getSelectedEventRelatedProfile(this.profiles, companyInstance); if (this.profileManagerService.isExpeditionProfile()) { this.getProfileRelatedAccessToken(selectedProfile).then( /*#__PURE__*/function () { var _ref3 = (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (accessTokenResponse) { const accessToken = accessTokenResponse; try { const { authorized } = yield _this.checkSoftLock(companyInstance, accessToken); if (!authorized) { try { const { lat, lng } = yield _this.geoCoordinates(); try { const verifyCoordinatesResponse = yield _this.apiService.verifyCoordinates(companyInstance, lat, lng, accessToken).toPromise(); if (verifyCoordinatesResponse?.authorized) { event.geoCoordinates = { lat, lng }; _this.createLogisticEventService.deleteEvent(event).then(_this.handleOnDeleteEventSuccessResponse).catch(_this.handleOnDeleteEventErrorResponse); } else { _this.handleOutOfArea(); return; } } catch (error) { console.log('erro ao verifyCoordinates api http'); _this.logService.logError('http::onDeleteEvent::verifyCoordinates', 'Error verifyCoordinates', { error }); if (error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse) { if (error.status === 0) { _this.toastErrorCodeZero(); return; } else { _this.toastErrorHttp(error); } } } } catch (error) { console.log('erro ao pegar a localização do dispositvo', error); _this.handleGetLocationError('on-delete-event', 'geolocation::onDeleteEvent', 'Error geo coodernates GPS device', error); return; } } else { _this.createLogisticEventService.deleteEvent(event).then(_this.handleOnDeleteEventSuccessResponse).catch(_this.handleOnDeleteEventErrorResponse); } } catch (error) { console.log('Erro ao verificar o soft lock'); _this.logService.logError('http::onDeleteEvent::CheckSolftLock', 'Error check softlock', { error }); if (error instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpErrorResponse) { if (error.status === 0) { _this.toastErrorCodeZero(); return; } else { _this.toastErrorHttp(error); } } return; } finally { _this.loadingService.hide(0, 'on-delete-event'); } }); return function (_x) { return _ref3.apply(this, arguments); }; }()).catch(this.handleGetAccessTokenError); } else { this.createLogisticEventService.deleteEvent(event).then(this.handleOnDeleteEventSuccessResponse).catch(this.handleOnDeleteEventErrorResponse); } }; this.getProfileRelatedAccessToken = /*#__PURE__*/function () { var _ref4 = (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (profile) { const token = yield _this.authService.getToken(); const getUserProfileLoginResponse = yield _this.portalLoginManagerService.getAccessToken(profile.login, profile.portal, token); return getUserProfileLoginResponse.access_token; }); return function (_x2) { return _ref4.apply(this, arguments); }; }(); this.handleVerifyCoordinatesError = error => { this.loadingService.hide(0, 'on-delete-event'); this.toastErrorLocation(); }; this.handleOutOfArea = () => { this.loadingService.hide(0, 'on-delete-event'); const title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_OUTOFAREA_TITLE'); const message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_OUTOFAREA'); const notification = { title, message, type: 'error', timeout: 5000 }; this.notificatorService.notify(notification); }; this.handleGetAccessTokenError = error => { this.loadingService.hide(0, 'on-delete-event'); this.logService.logError('http::onDeleteEvent::getAccessToken', '', error); const title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE_GET_TOKEN'); const message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_ERROR_GET_TOKEN'); const notification = { title, message, type: 'error', timeout: 5000 }; this.notificatorService.notify(notification); }; this.handleOnDeleteEventSuccessResponse = response => { this.loadingService.hide(0, 'on-delete-event'); const title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_DELETE_TITLE'); const message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_DELETE'); const notification = { title, message, type: 'success', timeout: 5000 }; this.notificatorService.notify(notification); this.onBack(); }; this.handleOnDeleteEventErrorResponse = errorResponse => { this.loadingService.hide(0, 'on-delete-event'); // Não é possível excluir o evento, pois já existem convidados com check-in realizado. this.logService.logError('http::handleOnDeleteEventErrorResponse', '', errorResponse); let message = ''; let title = ''; if (errorResponse && errorResponse.error.errorKey === 'cannotdeleteeventhasperformedcheckin') { title = this.translateConfigService.translate('TOAST_TITLE_ERROR'); message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_DELETE_REQUEST_CHECKED_IN'); } else { title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_DELETE_TITLE_REQUEST'); message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_DELETE_REQUEST'); } const notification = { title, message, type: 'error', timeout: 5000 }; this.notificatorService.notify(notification); }; this.getOperationActionToRender = action => { let actionDescription = ''; switch (action) { case 'LOGISTIC_EVENT_CREATED': actionDescription = this.translateConfigService.translate('LOGISTIC_EVENT_CREATED'); break; case 'LOGISTIC_EVENT_UPDATED': actionDescription = this.translateConfigService.translate('LOGISTIC_EVENT_UPDATED'); break; case 'LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED'); break; case 'LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED'); break; case 'LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY'); break; case 'LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE'); break; case 'LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE'); break; case 'LOGISTIC_DRIVER_ENTRY_RELEASE_DONE': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_ENTRY_RELEASE_DONE'); break; case 'LOGISTIC_DRIVER_EXIT_APPROVED': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_EXIT_APPROVED'); break; case 'LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY'); break; case 'LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR': actionDescription = this.translateConfigService.translate('LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR'); break; } return actionDescription; }; this.getOperationCreatedDateToRender = createdDate => this.momentService.formatAsEventAt(createdDate); this.processOperations = operations => operations.map(operation => ({ action: this.operationActionToRenderService.getoperationActionToRender(operation.action, operation?.details), operatorName: operation.operatorName, createdDate: this.getOperationCreatedDateToRender(operation.createdDate) })); this.handleGetLocationError = (tagLoading, logError, message, error) => { this.loadingService.hide(0, tagLoading); this.logService.logError(logError, message, { error }); this.toastErrorLocation(); }; this.title = ''; this.startAt = ''; this.endAt = ''; this.notes = ''; this.assistants = []; this.sessionAddFlowService.clearSessionId(); } ionViewWillEnter() { const navState = history.state; if (navState?.eventId) { this.viewType = navState.viewType; this.eventId = navState.eventId; this.companyInstanceName = navState.companyInstanceName; } if (this.eventId) { this.loadData(); } } ionViewDidEnter() {//this.verifyNotifications; } ionViewDidLeave() {} haspermissionCalendar() { var _this2 = this; return (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { const haspermissionCalendarRead = _this2.platform.is('cordova') ? yield _this2.permissionsAndroidService.hasPermission('READ_CALENDAR') : { hasPermission: true }; const haspermissionCalendarWrite = _this2.platform.is('cordova') ? yield _this2.permissionsAndroidService.hasPermission('WRITE_CALENDAR') : { hasPermission: true }; if (haspermissionCalendarRead.hasPermission && haspermissionCalendarWrite.hasPermission) { return true; } else { return false; } })(); } requestPermissionCalendarAndContact() { var _this3 = this; return (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { const listPermissions = [_this3.androidPermissions.PERMISSION.READ_CALENDAR, _this3.androidPermissions.PERMISSION.WRITE_CALENDAR]; const multRequestPermission = yield _this3.permissionsAndroidService.multRequestPermissions(listPermissions); if (multRequestPermission.hasPermission) { return true; } else { return false; } })(); } geoCoordinates() { var _this4 = this; return (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { try { const currentPosition = yield _this4.geolocationService.getCurrentPositionAndRequestPermission(); const lat = currentPosition && currentPosition.coords && currentPosition.coords.latitude ? currentPosition.coords.latitude : null; const lng = currentPosition && currentPosition.coords && currentPosition.coords.longitude ? currentPosition.coords.longitude : null; const geoCoordinates = { lat, lng }; return geoCoordinates; } catch (error) { throw error; } })(); } toastErrorProssGetEvent() { const title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE'); const message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_ERROR_TITLE'); const notification = { title, message, type: 'error' }; this.notificatorService.notify(notification); } toastErrorLocation() { const title = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_GETTING_LOCATION_TITLE'); const message = this.translateConfigService.translate('PG_VIEW_EVENT_LG_TOAST_MESSAGE_GETTING_LOCATION'); const notification = { title, message, type: 'error' }; this.notificatorService.notify(notification); } checkSoftLock(companyInstance, accessToken) { var _this5 = this; return (0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { try { const { authorized } = yield _this5.apiService.checkSoftLock(companyInstance, null, null, accessToken).toPromise(); return { authorized }; } catch (error) { throw error; } })(); } toastErrorCodeZero() { this.showToastModalErroCodeZero.showToast(); } toastErrorHttp(error) { // "TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_TITLE": "Erro no serviço", // "TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_MESSAGE": "O serviço encontra-se temporariamente indisponível, tente novamente mais tarde.", const codeStatus = error && error?.status ? ` Cod. ${error.status}` : ''; const title = this.translateConfigService.translate('TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_TITLE'); const message = this.translateConfigService.translate('TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_MESSAGE') + codeStatus; const notification = { title, message, type: 'error' }; this.notificatorService.notify(notification); } } ViewEventPage.ɵfac = function ViewEventPage_Factory(t) { return new (t || ViewEventPage)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.CreateLogisticEventService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.NavigationService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.MomentService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.HelperService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LogService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.ProfileManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.AuthService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LogisticCompanyService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.GeolocationService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.PendingReleaseService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.PortalLoginManagerService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.PermissionsAndroidService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.ModalPermissionsService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_ionic_angular__WEBPACK_IMPORTED_MODULE_14__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_awesome_cordova_plugins_android_permissions_ngx__WEBPACK_IMPORTED_MODULE_5__.AndroidPermissions), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.TranslateConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.SocialSharingService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services_state_service__WEBPACK_IMPORTED_MODULE_6__.StateService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services_sessionaddflow_service__WEBPACK_IMPORTED_MODULE_7__.SessionaddflowService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services_operation_action_to_render_service__WEBPACK_IMPORTED_MODULE_8__.OperationActionToRenderService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.ShowToastAndModalErroCodeZeroService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.UserPhotoService)); }; ViewEventPage.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: ViewEventPage, selectors: [["app-view-event"]], decls: 56, vars: 38, consts: [["defaultHref", "logistic-events", 3, "title", "showBadge", "refresh"], [1, "centralized-content"], [1, "actions"], [1, "button-holder"], [1, "button-holder-group", "share-group"], ["class", "add-to-calendar-button-holder", 4, "ngIf"], ["class", "share-event", 4, "ngIf"], [1, "button-holder-group"], [1, "button-holder-group-item"], ["type", "button", 1, "back", 3, "click"], ["class", "button-holder-group-item", 4, "ngIf"], [1, "event"], [1, "section", "title"], [1, "value"], [1, "section", "date"], [1, "start-at"], [1, "label"], [1, "end-at"], ["class", "recurrence", 4, "ngIf"], [1, "section", "hosts"], ["class", "hosts-holder", 4, "ngIf"], ["class", "hosts-empty", 4, "ngIf"], ["class", "section guests", 4, "ngIf"], [1, "section", "option", "multi-check-in"], [4, "ngIf"], ["class", "section option multi-check-in", 4, "ngIf"], ["class", "section option locator-pre-authorized", 4, "ngIf"], [1, "section", "option", "add-companion"], ["class", "section", 4, "ngIf"], [1, "add-to-calendar-button-holder"], ["type", "submit", 3, "click"], [1, "share-event"], ["type", "submit", 3, "click", 4, "ngIf"], [1, "recurrence"], [3, "showShortDateList", "recurrenceDates"], [1, "hosts-holder"], [1, "host"], [3, "firstName", "lastName", "thumbnailImage", "size"], [1, "host-info"], [1, "full-name"], [1, "department"], ["class", "check-in-done-at", 4, "ngIf"], [3, "status"], [1, "check-in-done-at"], [1, "host-attribute"], ["class", "host-value", 4, "ngIf"], [1, "host-value"], [1, "hosts-empty"], [1, "section", "guests"], ["class", "guests-holder", 4, "ngIf"], ["class", "guests-empty", 4, "ngIf"], [1, "guests-holder"], ["class", "guest", 4, "ngFor", "ngForOf"], [1, "guest"], [1, "guest-info"], [1, "guests-empty"], ["class", "value", 4, "ngIf"], [1, "section", "option", "locator-pre-authorized"], [1, "section"], [1, "operations"], ["class", "operation", 4, "ngFor", "ngForOf"], [1, "operation"], [1, "operator"], [1, "created-date"], [1, "action"], [1, "button-holder", "bottom"], ["type", "button", 1, "delete", 3, "disabled", "click"]], template: function ViewEventPage_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](0, "app-header", 0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](1, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](2, "ion-content")(3, "div", 1)(4, "div", 2)(5, "div", 3)(6, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](7, ViewEventPage_div_7_Template, 4, 3, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](8, ViewEventPage_div_8_Template, 2, 1, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](9, "div", 7)(10, "div", 8)(11, "button", 9); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ViewEventPage_Template_button_click_11_listener() { return ctx.onBack(); }); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](12); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](13, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](14, " \u00A0 \u00A0 \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](15, ViewEventPage_div_15_Template, 4, 3, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](16, "ion-row")(17, "ion-col")(18, "div", 11)(19, "div", 12)(20, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](21); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](22, "div", 14)(23, "div", 15)(24, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](25); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](26, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](27, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](28); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](29, "div", 17)(30, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](31); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](32, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](33, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](34); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](35, ViewEventPage_div_35_Template, 5, 5, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](36, "div", 19)(37, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](38); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](39, "translate"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](40, ViewEventPage_div_40_Template, 10, 8, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](41, ViewEventPage_div_41_Template, 3, 3, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](42, ViewEventPage_div_42_Template, 6, 5, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](43, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](44, ViewEventPage_ng_container_44_Template, 6, 4, "ng-container", 24); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](45, ViewEventPage_div_45_Template, 6, 5, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](46, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](47, ViewEventPage_ng_container_47_Template, 6, 4, "ng-container", 24); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](48, ViewEventPage_div_48_Template, 6, 5, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](49, ViewEventPage_div_49_Template, 6, 5, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](50, ViewEventPage_div_50_Template, 11, 10, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](51, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](52, ViewEventPage_ng_container_52_Template, 6, 4, "ng-container", 24); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](53, ViewEventPage_div_53_Template, 6, 4, "div", 28); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](54, ViewEventPage_ng_container_54_Template, 8, 1, "ng-container", 24); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](55, "async"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](1, 26, "PG_VIEW_EVENT_LG_HEADER_TITLE"))("showBadge", true)("refresh", false); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.shouldShowAddToCalendarButton() && ctx.directionEvent === "ENTRY"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.shouldShowShareButton() && ctx.directionEvent === "ENTRY"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](13, 28, "BTN_BACK"), " "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.shouldShowEditButton()); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx.getEventTitleToTheView(ctx.event)); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](26, 30, "PG_VIEW_EVENT_LG_TEXT_STARTS_AT")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx.startAt); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](32, 32, "PG_VIEW_EVENT_LG_TEXT_ENDS_AT")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx.endAt); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.recurrent); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](39, 34, "PG_VIEW_EVENT_LG_TEXT_DRIVER")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.driver); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.driver === null); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.directionEvent === "ENTRY"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.licensePlateOne && !ctx.onFoot); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", !ctx.hasCart && !ctx.licensePlateTwo && !ctx.onFoot); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.licensePlateTwo && !ctx.onFoot); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.onFoot && !ctx.licensePlateOne); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.useOwnLocator && ctx.useLocatorPreAuthorized && ctx.directionEvent === "ENTRY"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.directionEvent === "ENTRY"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.notes); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.operations && !!ctx.operations.length); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](55, 36, ctx.stateService.getState())); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_14__.IonCol, _ionic_angular__WEBPACK_IMPORTED_MODULE_14__.IonContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_14__.IonRow, _shared_components_avatar_avatar_component__WEBPACK_IMPORTED_MODULE_10__.AvatarComponent, _shared_components_status_invite_status_invite_component__WEBPACK_IMPORTED_MODULE_11__.StatusInviteComponent, _shared_components_header_header_component__WEBPACK_IMPORTED_MODULE_12__.HeaderComponent, _shared_components_list_recurrence_dates_list_recurrence_dates_component__WEBPACK_IMPORTED_MODULE_13__.ListRecurrenceDatesComponent, _angular_common__WEBPACK_IMPORTED_MODULE_9__.AsyncPipe, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__.TranslatePipe], styles: ["ion-content[_ngcontent-%COMP%] {\n --background: #f1f1f1;\n}\n\nion-toolbar[_ngcontent-%COMP%] {\n font-family: \"Nunito\", sans-serif;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-img[_ngcontent-%COMP%] {\n height: 25px;\n width: 25px;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%] {\n letter-spacing: 1px;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 24px;\n padding: 0;\n width: 24px;\n margin: 0;\n font-size: 19px;\n color: #656768;\n}\n\nion-toolbar[_ngcontent-%COMP%] ion-button.hover[_ngcontent-%COMP%] {\n background: #fff;\n}\n\n.centralized-content[_ngcontent-%COMP%] {\n background-color: #f1f1f1;\n width: 100%;\n height: calc(100vh - 56px);\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n}\n\n.centralized-content[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] {\n margin-top: 30px;\n margin-bottom: 26px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-size: initial !important;\n font-weight: bold;\n text-align: center;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] {\n display: flex;\n align-content: center;\n justify-content: center;\n flex-direction: column;\n min-height: 200px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] {\n width: 100%;\n flex-direction: column;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group.share-group[_ngcontent-%COMP%] {\n flex-direction: column;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group.share-group[_ngcontent-%COMP%] .share-event[_ngcontent-%COMP%] {\n margin-top: 16px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%] {\n padding: 0.75em 1.5em;\n border-radius: 50px;\n background-color: #0ec254;\n color: #fff;\n font-size: 1em;\n transition: background-color 0.1s ease-out;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]:active {\n background-color: #fff;\n color: #0ec254;\n transition: background-color 0.1s ease-out;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%] button[type=submit][_ngcontent-%COMP%]:focus {\n outline: none;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder[_ngcontent-%COMP%] .button-holder-group[_ngcontent-%COMP%]:nth-of-type(2) {\n margin-top: 24px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .button-holder.bottom[_ngcontent-%COMP%] {\n margin: 56px 0;\n}\n\n.centralized-content[_ngcontent-%COMP%] .event[_ngcontent-%COMP%] {\n background-color: #fff;\n margin: 1em;\n padding: 1em;\n border: 1px solid #eee;\n box-shadow: 2px 2px 8px rgba(67, 60, 98, 0.1);\n border-radius: 8px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] {\n margin-top: 16px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .end-at[_ngcontent-%COMP%] {\n margin-top: 16px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] {\n font-weight: bold;\n margin-bottom: 2px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.title[_ngcontent-%COMP%] .value[_ngcontent-%COMP%] {\n font-weight: bold;\n color: #333;\n font-size: 1.2em;\n text-align: center;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .operations[_ngcontent-%COMP%] .operation[_ngcontent-%COMP%] {\n padding: 6px;\n border: 1px solid #eee;\n border-radius: 4px;\n margin-bottom: 2px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-bottom: 4px;\n border: 1px solid #eee;\n border-radius: 4px;\n padding: 6px 8px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] app-avatar[_ngcontent-%COMP%] {\n flex-shrink: 0;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .full-name[_ngcontent-%COMP%] {\n color: #333;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .department[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .company[_ngcontent-%COMP%] {\n font-size: 0.8em;\n color: #aaa;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%] {\n color: #aaa;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%] {\n color: #333;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] {\n margin-top: 2px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-attribute[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-attribute[_ngcontent-%COMP%] {\n color: #aaa;\n font-size: 0.8em;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .host-value[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] .check-in-done-at[_ngcontent-%COMP%] .guest-value[_ngcontent-%COMP%] {\n color: #333;\n font-size: 0.85em;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guest[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .host-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .host[_ngcontent-%COMP%] .guest-info[_ngcontent-%COMP%] app-status-invite[_ngcontent-%COMP%] {\n display: block;\n margin-top: 4px;\n}\n\n.centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .hosts-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.guests[_ngcontent-%COMP%] .guests-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .hosts-empty[_ngcontent-%COMP%], .centralized-content[_ngcontent-%COMP%] .section.hosts[_ngcontent-%COMP%] .guests-empty[_ngcontent-%COMP%] {\n color: #aaa;\n}\n\n.pulsate-fwd[_ngcontent-%COMP%] {\n animation: pulsate-fwd 0.5s ease-in-out infinite both;\n outline: none;\n}\n\n@keyframes pulsate-fwd {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.5);\n }\n 100% {\n transform: scale(1);\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInZpZXctZXZlbnQucGFnZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UscUJBQUE7QUFDRjs7QUFDQTtFQUNFLGlDQUFBO0FBRUY7O0FBQUU7RUFDRSxZQUFBO0VBQ0EsV0FBQTtBQUVKOztBQUNFO0VBQ0UsbUJBQUE7QUFDSjs7QUFHSTtFQUNFLGFBQUE7RUFDQSx1QkFBQTtFQUNBLG1CQUFBO0VBQ0EsWUFBQTtFQUNBLFVBQUE7RUFDQSxXQUFBO0VBQ0EsU0FBQTtFQUNBLGVBQUE7RUFDQSxjQUFBO0FBRE47O0FBSUk7RUFDRSxnQkFBQTtBQUZOOztBQU9BO0VBQ0UseUJBQUE7RUFDQSxXQUFBO0VBQ0EsMEJBQUE7RUFDQSxhQUFBO0VBQ0EsMkJBQUE7RUFDQSxzQkFBQTtBQUpGOztBQU1FO0VBQ0UsZ0JBQUE7RUFDQSxtQkFBQTtBQUpKOztBQU1JO0VBQ0UsNkJBQUE7RUFDQSxpQkFBQTtFQUNBLGtCQUFBO0FBSk47O0FBUUU7RUFDRSxhQUFBO0VBQ0EscUJBQUE7RUFDQSx1QkFBQTtFQUNBLHNCQUFBO0VBQ0EsaUJBQUE7QUFOSjs7QUFRSTtFQUNFLFdBQUE7RUFDQSxzQkFBQTtBQU5OOztBQVFNO0VBQ0UsYUFBQTtFQUNBLHVCQUFBO0FBTlI7O0FBUVE7RUFDRSxzQkFBQTtBQU5WOztBQVFVO0VBQ0UsZ0JBQUE7QUFOWjs7QUFVUTtFQUNFLHFCQUFBO0VBQ0EsbUJBQUE7RUFDQSx5QkFBQTtFQUNBLFdBQUE7RUFDQSxjQUFBO0VBQ0EsMENBQUE7QUFSVjs7QUFVVTtFQUNFLHNCQUFBO0VBQ0EsY0FBQTtFQUNBLDBDQUFBO0FBUlo7O0FBV1U7RUFDRSxhQUFBO0FBVFo7O0FBYVE7RUFDRSxnQkFBQTtBQVhWOztBQWVNO0VBQ0UsY0FBQTtBQWJSOztBQWtCRTtFQUNFLHNCQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSxzQkFBQTtFQUNBLDZDQUFBO0VBQ0Esa0JBQUE7QUFoQko7O0FBbUJFO0VBQ0UsZ0JBQUE7QUFqQko7O0FBbUJJO0VBQ0UsZ0JBQUE7QUFqQk47O0FBb0JJO0VBQ0UsaUJBQUE7RUFDQSxrQkFBQTtBQWxCTjs7QUFzQk07RUFDRSxpQkFBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0FBcEJSOztBQXlCTTtFQUNFLFlBQUE7RUFDQSxzQkFBQTtFQUNBLGtCQUFBO0VBQ0Esa0JBQUE7QUF2QlI7O0FBNkJNOzs7RUFFRSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxTQUFBO0VBQ0Esa0JBQUE7RUFDQSxzQkFBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7QUExQlI7O0FBNEJROzs7RUFDRSxjQUFBO0FBeEJWOztBQTJCUTs7Ozs7OztFQUVFLE9BQUE7RUFDQSxZQUFBO0FBcEJWOztBQXNCVTs7Ozs7OztFQUNFLFdBQUE7QUFkWjs7QUFpQlU7Ozs7Ozs7Ozs7Ozs7OztFQUVFLGdCQUFBO0VBQ0EsV0FBQTtBQUZaOztBQUtVOzs7Ozs7Ozs7Ozs7Ozs7RUFFRSxXQUFBO0FBVVo7O0FBUFU7Ozs7Ozs7Ozs7Ozs7OztFQUVFLFdBQUE7QUFzQlo7O0FBbkJVOzs7Ozs7O0VBQ0UsZUFBQTtBQTJCWjs7QUF6Qlk7Ozs7Ozs7Ozs7Ozs7OztFQUVFLFdBQUE7RUFDQSxnQkFBQTtBQXdDZDs7QUFyQ1k7Ozs7Ozs7Ozs7Ozs7OztFQUVFLFdBQUE7RUFDQSxpQkFBQTtBQW9EZDs7QUFoRFU7Ozs7Ozs7RUFDRSxjQUFBO0VBQ0EsZUFBQTtBQXdEWjs7QUFuRE07OztFQUVFLFdBQUE7QUFzRFI7O0FBaERBO0VBQ0UscURBQUE7RUFDQSxhQUFBO0FBbURGOztBQWhEQTtFQUNFO0lBQ0UsbUJBQUE7RUFtREY7RUFqREE7SUFDRSxxQkFBQTtFQW1ERjtFQWpEQTtJQUNFLG1CQUFBO0VBbURGO0FBQ0YiLCJmaWxlIjoidmlldy1ldmVudC5wYWdlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJpb24tY29udGVudCB7XG4gIC0tYmFja2dyb3VuZDogI2YxZjFmMTtcbn1cbmlvbi10b29sYmFyIHtcbiAgZm9udC1mYW1pbHk6IFwiTnVuaXRvXCIsIHNhbnMtc2VyaWY7XG5cbiAgaW9uLWltZyB7XG4gICAgaGVpZ2h0OiAyNXB4O1xuICAgIHdpZHRoOiAyNXB4O1xuICB9XG5cbiAgaW9uLXRpdGxlIHtcbiAgICBsZXR0ZXItc3BhY2luZzogMXB4O1xuICB9XG5cbiAgaW9uLWJ1dHRvbiB7XG4gICAgZmEtaWNvbiB7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgICAgaGVpZ2h0OiAyNHB4O1xuICAgICAgcGFkZGluZzogMDtcbiAgICAgIHdpZHRoOiAyNHB4O1xuICAgICAgbWFyZ2luOiAwO1xuICAgICAgZm9udC1zaXplOiAxOXB4O1xuICAgICAgY29sb3I6ICM2NTY3Njg7XG4gICAgfVxuXG4gICAgJi5ob3ZlciB7XG4gICAgICBiYWNrZ3JvdW5kOiAjZmZmO1xuICAgIH1cbiAgfVxufVxuXG4uY2VudHJhbGl6ZWQtY29udGVudCB7XG4gIGJhY2tncm91bmQtY29sb3I6ICNmMWYxZjE7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IGNhbGMoMTAwdmggLSA1NnB4KTtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gIC5wYWdlLXRpdGxlIHtcbiAgICBtYXJnaW4tdG9wOiAzMHB4O1xuICAgIG1hcmdpbi1ib3R0b206IDI2cHg7XG5cbiAgICAudGl0bGUge1xuICAgICAgZm9udC1zaXplOiBpbml0aWFsICFpbXBvcnRhbnQ7XG4gICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICB9XG4gIH1cblxuICAuYWN0aW9ucyB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1jb250ZW50OiBjZW50ZXI7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBtaW4taGVpZ2h0OiAyMDBweDtcblxuICAgIC5idXR0b24taG9sZGVyIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgICAgLmJ1dHRvbi1ob2xkZXItZ3JvdXAge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblxuICAgICAgICAmLnNoYXJlLWdyb3VwIHtcbiAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgICAgICAgLnNoYXJlLWV2ZW50IHtcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDE2cHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgYnV0dG9uW3R5cGU9XCJzdWJtaXRcIl0ge1xuICAgICAgICAgIHBhZGRpbmc6IDAuNzVlbSAxLjVlbTtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA1MHB4O1xuICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMwZWMyNTQ7XG4gICAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgICAgZm9udC1zaXplOiAxZW07XG4gICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjFzIGVhc2Utb3V0O1xuXG4gICAgICAgICAgJjphY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgICAgICAgICAgIGNvbG9yOiAjMGVjMjU0O1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZC1jb2xvciAwLjFzIGVhc2Utb3V0O1xuICAgICAgICAgIH1cblxuICAgICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmOm50aC1vZi10eXBlKDIpIHtcbiAgICAgICAgICBtYXJnaW4tdG9wOiAyNHB4O1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgICYuYm90dG9tIHtcbiAgICAgICAgbWFyZ2luOiA1NnB4IDA7XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLmV2ZW50IHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xuICAgIG1hcmdpbjogMWVtO1xuICAgIHBhZGRpbmc6IDFlbTtcbiAgICBib3JkZXI6IDFweCBzb2xpZCAjZWVlO1xuICAgIGJveC1zaGFkb3c6IDJweCAycHggOHB4IHJnYmEoNjcsIDYwLCA5OCwgMC4xKTtcbiAgICBib3JkZXItcmFkaXVzOiA4cHg7XG4gIH1cblxuICAuc2VjdGlvbiB7XG4gICAgbWFyZ2luLXRvcDogMTZweDtcblxuICAgIC5lbmQtYXQge1xuICAgICAgbWFyZ2luLXRvcDogMTZweDtcbiAgICB9XG5cbiAgICAubGFiZWwge1xuICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgICBtYXJnaW4tYm90dG9tOiAycHg7XG4gICAgfVxuXG4gICAgJi50aXRsZSB7XG4gICAgICAudmFsdWUge1xuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgY29sb3I6ICMzMzM7XG4gICAgICAgIGZvbnQtc2l6ZTogMS4yZW07XG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgIH1cbiAgICB9XG5cbiAgICAub3BlcmF0aW9ucyB7XG4gICAgICAub3BlcmF0aW9uIHtcbiAgICAgICAgcGFkZGluZzogNnB4O1xuICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjZWVlO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDJweDtcbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmd1ZXN0cyxcbiAgICAmLmhvc3RzIHtcbiAgICAgIC5ndWVzdCxcbiAgICAgIC5ob3N0IHtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZ2FwOiAxMHB4O1xuICAgICAgICBtYXJnaW4tYm90dG9tOiA0cHg7XG4gICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNlZWU7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgICAgICAgcGFkZGluZzogNnB4IDhweDtcblxuICAgICAgICBhcHAtYXZhdGFyIHtcbiAgICAgICAgICBmbGV4LXNocmluazogMDtcbiAgICAgICAgfVxuXG4gICAgICAgIC5ob3N0LWluZm8sXG4gICAgICAgIC5ndWVzdC1pbmZvIHtcbiAgICAgICAgICBmbGV4OiAxO1xuICAgICAgICAgIG1pbi13aWR0aDogMDtcblxuICAgICAgICAgIC5mdWxsLW5hbWUge1xuICAgICAgICAgICAgY29sb3I6ICMzMzM7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgLmRlcGFydG1lbnQsXG4gICAgICAgICAgLmNvbXBhbnkge1xuICAgICAgICAgICAgZm9udC1zaXplOiAwLjhlbTtcbiAgICAgICAgICAgIGNvbG9yOiAjYWFhO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIC5ob3N0LWF0dHJpYnV0ZSxcbiAgICAgICAgICAuZ3Vlc3QtYXR0cmlidXRlIHtcbiAgICAgICAgICAgIGNvbG9yOiAjYWFhO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIC5ob3N0LXZhbHVlLFxuICAgICAgICAgIC5ndWVzdC12YWx1ZSB7XG4gICAgICAgICAgICBjb2xvcjogIzMzMztcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAuY2hlY2staW4tZG9uZS1hdCB7XG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAycHg7XG5cbiAgICAgICAgICAgIC5ob3N0LWF0dHJpYnV0ZSxcbiAgICAgICAgICAgIC5ndWVzdC1hdHRyaWJ1dGUge1xuICAgICAgICAgICAgICBjb2xvcjogI2FhYTtcbiAgICAgICAgICAgICAgZm9udC1zaXplOiAwLjhlbTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLmhvc3QtdmFsdWUsXG4gICAgICAgICAgICAuZ3Vlc3QtdmFsdWUge1xuICAgICAgICAgICAgICBjb2xvcjogIzMzMztcbiAgICAgICAgICAgICAgZm9udC1zaXplOiAwLjg1ZW07XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgYXBwLXN0YXR1cy1pbnZpdGUge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICBtYXJnaW4tdG9wOiA0cHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC5ob3N0cy1lbXB0eSxcbiAgICAgIC5ndWVzdHMtZW1wdHkge1xuICAgICAgICBjb2xvcjogI2FhYTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cblxuLnB1bHNhdGUtZndkIHtcbiAgYW5pbWF0aW9uOiBwdWxzYXRlLWZ3ZCAwLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlIGJvdGg7XG4gIG91dGxpbmU6IG5vbmU7XG59XG5cbkBrZXlmcmFtZXMgcHVsc2F0ZS1md2Qge1xuICAwJSB7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgfVxuICA1MCUge1xuICAgIHRyYW5zZm9ybTogc2NhbGUoMS41KTtcbiAgfVxuICAxMDAlIHtcbiAgICB0cmFuc2Zvcm06IHNjYWxlKDEpO1xuICB9XG59XG4iXX0= */"] }); /***/ }), /***/ 73093: /*!***********************************************************************!*\ !*** ./src/app/shared/services/operation-action-to-render.service.ts ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "OperationActionToRenderService": () => (/* binding */ OperationActionToRenderService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 45449); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _translate_config_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./translate-config.service */ 18228); class OperationActionToRenderService { constructor(translateConfigService) { this.translateConfigService = translateConfigService; this.actionMapping = { LOGISTIC_EVENT_CREATED: 'LOGISTIC_EVENT_CREATED', LOGISTIC_EVENT_UPDATED: 'LOGISTIC_EVENT_UPDATED', LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED: 'LOGISTIC_DRIVER_ENTRY_REGISTRATION_WAITING_FOR_APPROVED', LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED: 'LOGISTIC_DRIVER_ENTRY_REGISTRATION_APPROVED', LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY: 'LOGISTIC_DRIVER_ENTRY_REGISTRATION_DENY', LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE: 'LOGISTIC_DRIVER_ENTRY_CHECKIN_DONE', LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE: 'LOGISTIC_DRIVER_ENTRY_WAITING_FOR_RELEASE', LOGISTIC_DRIVER_ENTRY_RELEASE_DONE: 'LOGISTIC_DRIVER_ENTRY_RELEASE_DONE', LOGISTIC_DRIVER_EXIT_APPROVED: 'LOGISTIC_DRIVER_EXIT_APPROVED', LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY: 'LOGISTIC_DRIVER_EXIT_RELEASED_MANUALLY', LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR: 'LOGISTIC_DRIVER_EXIT_RELEASED_BY_SENSOR', LOGISTIC_DRIVER_ENTRY_RELEASE_DENY: 'LOGISTIC_DRIVER_ENTRY_RELEASE_DENY', LOGISTIC_DRIVER_ENTRY_MULTICHECKIN_DONE: 'LOGISTIC_DRIVER_ENTRY_MULTICHECKIN_DONE', LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_WAITING_FOR_APPROVED: 'LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_WAITING_FOR_APPROVED', LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_APPROVED: 'LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_APPROVED', LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_DENY: 'LOGISTIC_ASSISTANT_ENTRY_REGISTRATION_DENY', LOGISTIC_ASSISTANT_ENTRY_CHECKIN_DONE: 'LOGISTIC_ASSISTANT_ENTRY_CHECKIN_DONE', LOGISTIC_ASSISTANT_ENTRY_WAITING_FOR_RELEASE: 'LOGISTIC_ASSISTANT_ENTRY_WAITING_FOR_RELEASE', LOGISTIC_ASSISTANT_ENTRY_RELEASE_DONE: 'LOGISTIC_ASSISTANT_ENTRY_RELEASE_DONE', LOGISTIC_ASSISTANT_ENTRY_RELEASE_DENY: 'LOGISTIC_ASSISTANT_ENTRY_RELEASE_DENY', LOGISTIC_ASSISTANT_ENTRY_MULTICHECKIN_DONE: 'LOGISTIC_ASSISTANT_ENTRY_MULTICHECKIN_DONE', LOGISTIC_DRIVER_ADDED_ASSISTANT: 'LOGISTIC_DRIVER_ADDED_ASSISTANT', VO_INVITED_ADDED_ESCORT: 'VO_INVITED_ADDED_ESCORT', LG_DVR_DC_ENT_REQ: 'LG_DVR_DC_ENT_REQ', LG_DVR_DC_ENT_REQ_TOUT: 'LG_DVR_DC_ENT_REQ_TOUT', LG_DVR_DC_ENT_ACK_ALM_MANUALLY: 'LG_DVR_DC_ENT_ACK_ALM_MANUALLY', LG_DVR_DC_ENT_ACK_ALM_SENSOR: 'LG_DVR_DC_ENT_ACK_ALM_SENSOR', LG_DVR_DC_EXT_REQ: 'LG_DVR_DC_EXT_REQ', LG_DVR_DC_EXT_REQ_TOUT: 'LG_DVR_DC_EXT_REQ_TOUT', LG_DVR_DC_EXT_ACK_ALM_MANUALLY: 'LG_DVR_DC_EXT_ACK_ALM_MANUALLY', LG_DVR_DC_EXT_ACK_ALM_SENSOR: 'LG_DVR_DC_EXT_ACK_ALM_SENSOR', LG_ASTT_DC_ENT_REQ: 'LG_ASTT_DC_ENT_REQ', LG_ASTT_DC_ENT_REQ_TOUT: 'LG_ASTT_DC_ENT_REQ_TOUT', LG_ASTT_DC_ENT_ACK_ALM_MANUALLY: 'LG_ASTT_DC_ENT_ACK_ALM_MANUALLY', LG_ASTT_DC_ENT_ACK_ALM_SENSOR: 'LG_ASTT_DC_ENT_ACK_ALM_SENSOR', LG_ASTT_DC_EXT_REQ: 'LG_ASTT_DC_EXT_REQ', LG_ASTT_DC_EXT_REQ_TOUT: 'LG_ASTT_DC_EXT_REQ_TOUT', LG_ASTT_DC_EXT_ACK_ALM_MANUALLY: 'LG_ASTT_DC_EXT_ACK_ALM_MANUALLY', LG_ASTT_DC_EXT_ACK_ALM_SENSOR: 'LG_ASTT_DC_EXT_ACK_ALM_SENSOR', LG_VISIT_DC_ENT_REQ_TOUT: 'LG_VISIT_DC_ENT_REQ_TOUT', LG_VISIT_DC_ENT_ACK_ALM_SENSOR: 'LG_VISIT_DC_ENT_ACK_ALM_SENSOR', LG_VISIT_DC_ENT_ACK_ALM_MANUALLY: 'LG_VISIT_DC_ENT_ACK_ALM_MANUALLY', LG_VISIT_DC_EXT_REQ_TOUT: 'LG_VISIT_DC_EXT_REQ_TOUT', LG_VISIT_DC_EXT_ACK_ALM_SENSOR: 'LG_VISIT_DC_EXT_ACK_ALM_SENSOR', LG_VISIT_DC_EXT_ACK_ALM_MANUALLY: 'LG_VISIT_DC_EXT_ACK_ALM_MANUALLY', LG_DVR_DC_ENT_REQ_ENF: 'LG_DVR_DC_ENT_REQ_ENF', LG_ASTT_DC_ENT_REQ_ENF: 'LG_ASTT_DC_ENT_REQ_ENF', LG_VISIT_DC_ENT_REQ_ENF: 'LG_VISIT_DC_ENT_REQ_ENF', LG_DVR_DC_EXT_REQ_ENF: 'LG_DVR_DC_EXT_REQ_ENF', LG_ASTT_DC_EXT_REQ_ENF: 'LG_ASTT_DC_EXT_REQ_ENF', LG_VISIT_DC_EXT_REQ_ENF: 'LG_VISIT_DC_EXT_REQ_ENF', LG_EVENT_REQUESTED: 'LG_EVENT_REQUESTED', LG_EVENT_APPROVED: 'LG_EVENT_APPROVED', LG_EVENT_DENIED: 'LG_EVENT_DENIED', LG_DRIVER_ADDED: 'LG_DRIVER_ADDED', LG_ASTT_ADDED: 'LG_ASTT_ADDED', LG_DRIVER_REMOVED: 'LG_DRIVER_REMOVED', LG_ASTT_REMOVED: 'LG_ASTT_REMOVED', VO_EVENT_CREATED: 'VO_EVENT_CREATED', VO_EVENT_UPDATED: 'VO_EVENT_UPDATED', VO_EVENT_CANCELED: 'VO_EVENT_CANCELED', VO_EVENT_REQUESTED: 'VO_EVENT_REQUESTED', VO_EVENT_APPROVED: 'VO_EVENT_APPROVED', VO_EVENT_DENIED: 'VO_EVENT_DENIED', VO_EVENT_ENDED: 'VO_EVENT_ENDED', VO_INVITE_CREATED: 'VO_INVITE_CREATED', VO_HOST_CREATED: 'VO_HOST_CREATED', VO_HOST_REMOVED: 'VO_HOST_REMOVED', VO_INVITE_REMOVED: 'VO_INVITE_REMOVED', VO_INVITE_APPROVED: 'VO_INVITE_APPROVED', VO_INVITE_NOT_APPROVED: 'VO_INVITE_NOT_APPROVED', VO_INVITE_RELEASED: 'VO_INVITE_RELEASED', VO_INVITE_DENIED: 'VO_INVITE_DENIED', VO_INVITE_QR_PRINTED: 'VO_INVITE_QR_PRINTED', VO_INVITE_CHECKIN_DONE: 'VO_INVITE_CHECKIN_DONE', VO_INVITE_WAITING_FOR_APPROVE: 'VO_INVITE_WAITING_FOR_APPROVE', VO_INVITE_WAITING_FOR_RELEASE: 'VO_INVITE_WAITING_FOR_RELEASE', NONE: 'NONE' //'NONE' }; } getoperationActionToRender(action, invite) { const actionDescription = this.actionMapping[action]; if (actionDescription) { const originalTranslation = this.translateConfigService.translate(actionDescription); if (invite !== undefined && invite !== '' && invite !== null) { const normalizeName = this.normalizeName(invite); const translatedAction = originalTranslation.replace('{invite}', normalizeName); return translatedAction; } else { return originalTranslation; } } else { return ''; } } normalizeName(name) { if (typeof name === 'string') { const words = name.toLowerCase().split(' '); const normalizedWords = words.map(word => word.charAt(0).toUpperCase() + word.slice(1)); return normalizedWords.join(' '); } return name; } } OperationActionToRenderService.ɵfac = function OperationActionToRenderService_Factory(t) { return new (t || OperationActionToRenderService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_translate_config_service__WEBPACK_IMPORTED_MODULE_1__.TranslateConfigService)); }; OperationActionToRenderService.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: OperationActionToRenderService, factory: OperationActionToRenderService.ɵfac, providedIn: 'root' }); /***/ }) }]) //# sourceMappingURL=267.js.map