"use strict";
(self["webpackChunkproject"] = self["webpackChunkproject"] || []).push([[979],{

/***/ 5910:
/*!*****************************************************************************************!*\
  !*** ./src/app/appointment/job-summary/components/all-details/all-details.component.ts ***!
  \*****************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AllDetailsComponent: () => (/* binding */ AllDetailsComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var _services_appointment_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../services/appointment.service */ 7427);
/* harmony import */ var src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/shared/appointments/services/appointment.service */ 8036);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _entity_details_entity_details_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../entity-details/entity-details.component */ 9840);
/* harmony import */ var _attribute_attribute_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../attribute/attribute.component */ 2858);






const _c0 = ["componentElm"];
function AllDetailsComponent_div_1_attribute_6_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "attribute", 10);
  }
  if (rf & 2) {
    const attribute_r1 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("attribute", attribute_r1);
  }
}
function AllDetailsComponent_div_1_div_8_Template(rf, ctx) {
  if (rf & 1) {
    const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function AllDetailsComponent_div_1_div_8_Template_div_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r2);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r2.viewPhoto(ctx_r2.property.photo.src));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "img", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("src", ctx_r2.property.photo.src, _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsanitizeUrl"]);
  }
}
function AllDetailsComponent_div_1_div_9_Template(rf, ctx) {
  if (rf & 1) {
    const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function AllDetailsComponent_div_1_div_9_Template_div_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r4);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r2.viewPhoto(ctx_r2.property.photo_B64));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "img", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("src", ctx_r2.property.photo_B64, _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsanitizeUrl"]);
  }
}
function AllDetailsComponent_div_1_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 4)(1, "div", 5)(2, "header")(3, "h2");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](4, "Property");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](5, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](6, AllDetailsComponent_div_1_attribute_6_Template, 1, 1, "attribute", 7);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](7, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](8, AllDetailsComponent_div_1_div_8_Template, 2, 1, "div", 9)(9, AllDetailsComponent_div_1_div_9_Template, 2, 1, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngForOf", ctx_r2.propertyAttributes);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r2.property.photo != null);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r2.property.photo_B64 != null && ctx_r2.property.photo == null);
  }
}
function AllDetailsComponent_entity_details_3_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "entity-details", 13);
  }
  if (rf & 2) {
    const entity_r5 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("entity", entity_r5);
  }
}
let AllDetailsComponent = /*#__PURE__*/(() => {
  class AllDetailsComponent {
    constructor(localAppointmentService, appointmentService) {
      this.localAppointmentService = localAppointmentService;
      this.appointmentService = appointmentService;
    }
    // #endregion
    // #region Property
    get property() {
      return this.appointment?.property;
    }
    get propertyEntity() {
      return this.property?.entity;
    }
    get propertyAttributes() {
      return this.propertyEntity?.attributes ?? [];
    }
    // #endregion
    // #region Photos
    viewPhoto(src) {
      this.localAppointmentService.viewPhoto(src);
    }
    init() {}
    // #endregion
    ngOnInit() {
      this.init();
    }
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function AllDetailsComponent_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || AllDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_services_appointment_service__WEBPACK_IMPORTED_MODULE_0__.LocalAppointmentService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_1__.AppointmentService));
    })();
    static #_2 = (() => this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({
      type: AllDetailsComponent,
      selectors: [["all-details"]],
      viewQuery: function AllDetailsComponent_Query(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵviewQuery"](_c0, 5);
        }
        if (rf & 2) {
          let _t;
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵloadQuery"]()) && (ctx.componentElm = _t.first);
        }
      },
      inputs: {
        appointment: "appointment"
      },
      standalone: false,
      decls: 4,
      vars: 2,
      consts: [["id", "allDetails"], ["class", "property", 4, "ngIf"], [1, "entities"], [3, "entity", 4, "ngFor", "ngForOf"], [1, "property"], [1, "meta"], [1, "attributes"], [3, "attribute", 4, "ngFor", "ngForOf"], [1, "photos"], ["class", "photo", 3, "click", 4, "ngIf"], [3, "attribute"], [1, "photo", 3, "click"], [3, "src"], [3, "entity"]],
      template: function AllDetailsComponent_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 0);
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, AllDetailsComponent_div_1_Template, 10, 3, "div", 1);
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](2, "div", 2);
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](3, AllDetailsComponent_entity_details_3_Template, 1, 1, "entity-details", 3);
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
        }
        if (rf & 2) {
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.property != null);
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2);
          _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngForOf", ctx.propertyEntity == null ? null : ctx.propertyEntity.entities);
        }
      },
      dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_5__.NgIf, _entity_details_entity_details_component__WEBPACK_IMPORTED_MODULE_2__.EntityDetailsComponent, _attribute_attribute_component__WEBPACK_IMPORTED_MODULE_3__.AttributeComponent],
      styles: ["#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: flex-start;\n  padding: 1vw;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%] {\n  flex: 1;\n  width: 100%;\n  margin-right: 1vw;\n  padding: 1vw;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%] {\n  font-size: 1.6vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%] {\n  margin-top: 1vw;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%]   attribute[_ngcontent-%COMP%] {\n  display: block;\n  margin-top: 0.5vw;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%]   attribute[_ngcontent-%COMP%]:first-child {\n  margin-top: 0;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%] {\n  width: 25%;\n  padding: 1vw;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%]    > .photo[_ngcontent-%COMP%] {\n  border-radius: 1vw;\n  overflow: hidden;\n  cursor: pointer;\n}\n#allDetails[_ngcontent-%COMP%]    > .property[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%]    > .photo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 100%;\n}\n#allDetails[_ngcontent-%COMP%]    > .entities[_ngcontent-%COMP%] {\n  padding: 0 1vw;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYXBwb2ludG1lbnQvam9iLXN1bW1hcnkvY29tcG9uZW50cy9hbGwtZGV0YWlscy9hbGwtZGV0YWlscy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHSTtFQUNJLGFBQUE7RUFDQSx1QkFBQTtFQUNBLFlBQUE7QUFGUjtBQUlRO0VBQ0ksT0FBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLFlBQUE7QUFGWjtBQUtnQjtFQUNJLGdCQUFBO0VBQ0Esb0JBQUE7RUFDQSwwQkFBQTtBQUhwQjtBQU9ZO0VBQ0ksZUFBQTtBQUxoQjtBQU9nQjtFQUNJLGNBQUE7RUFDQSxpQkFBQTtBQUxwQjtBQU9vQjtFQUNJLGFBQUE7QUFMeEI7QUFXUTtFQUNJLFVBQUE7RUFDQSxZQUFBO0FBVFo7QUFXWTtFQUNJLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0FBVGhCO0FBV2dCO0VBQ0ksV0FBQTtBQVRwQjtBQWVJO0VBQ0ksY0FBQTtBQWJSIiwic291cmNlc0NvbnRlbnQiOlsiQHVzZSBcInNyYy9zdHlsZXMvbWl4aW5zXCI7XG5cbiNhbGxEZXRhaWxzIHtcbiAgICA+LnByb3BlcnR5IHtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgYWxpZ24taXRlbXM6IGZsZXgtc3RhcnQ7XG4gICAgICAgIHBhZGRpbmc6IDF2dztcblxuICAgICAgICA+Lm1ldGEge1xuICAgICAgICAgICAgZmxleDogMTtcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAxdnc7XG4gICAgICAgICAgICBwYWRkaW5nOiAxdnc7XG5cbiAgICAgICAgICAgID5oZWFkZXIge1xuICAgICAgICAgICAgICAgIGgyIHtcbiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiAxLjZ2dztcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigtLWNvbG9yMSk7XG4gICAgICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoLS1zdHJvbmcpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgPi5hdHRyaWJ1dGVzIHtcbiAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAxdnc7XG5cbiAgICAgICAgICAgICAgICBhdHRyaWJ1dGUge1xuICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogLjV2dztcblxuICAgICAgICAgICAgICAgICAgICAmOmZpcnN0LWNoaWxkIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi10b3A6IDA7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICA+LnBob3RvcyB7XG4gICAgICAgICAgICB3aWR0aDogMjUlO1xuICAgICAgICAgICAgcGFkZGluZzogMXZ3O1xuXG4gICAgICAgICAgICA+LnBob3RvIHtcbiAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAxdnc7XG4gICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG5cbiAgICAgICAgICAgICAgICBpbWcge1xuICAgICAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICA+LmVudGl0aWVzIHtcbiAgICAgICAgcGFkZGluZzogMCAxdnc7XG4gICAgfVxufSJdLCJzb3VyY2VSb290IjoiIn0= */"]
    }))();
  }
  return AllDetailsComponent;
})();

/***/ }),

/***/ 2858:
/*!*************************************************************************************!*\
  !*** ./src/app/appointment/job-summary/components/attribute/attribute.component.ts ***!
  \*************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AttributeComponent: () => (/* binding */ AttributeComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var _services_appointment_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../services/appointment.service */ 7427);
/* harmony import */ var src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/shared/appointments/services/appointment.service */ 8036);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 6216);




const _c0 = ["componentElm"];
function AttributeComponent_div_0_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 1)(1, "label");
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "span", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx_r0.attribute.name);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", ctx_r0.value, " ");
  }
}
let AttributeComponent = /*#__PURE__*/(() => {
  class AttributeComponent {
    constructor(localAppointmentService, appointmentService) {
      this.localAppointmentService = localAppointmentService;
      this.appointmentService = appointmentService;
    }
    get showAttribute() {
      return this.attribute != null && this.attribute.values.length > 0 && this.attribute.customerFacing;
    }
    parseValue(value) {
      switch (value) {
        case "true":
          return "Yes";
        case "false":
          return "No";
        default:
          return value;
      }
    }
    get value() {
      let mappedValue = "";
      if (this.attribute != null) {
        this.attribute.values.forEach(value => {
          const parsedValue = this.parseValue(value);
          mappedValue = mappedValue + parsedValue;
        });
      }
      return mappedValue;
    }
    init() {}
    // #endregion
    ngOnInit() {
      this.init();
    }
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function AttributeComponent_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || AttributeComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_appointment_service__WEBPACK_IMPORTED_MODULE_0__.LocalAppointmentService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_1__.AppointmentService));
    })();
    static #_2 = (() => this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
      type: AttributeComponent,
      selectors: [["attribute"]],
      viewQuery: function AttributeComponent_Query(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵviewQuery"](_c0, 5);
        }
        if (rf & 2) {
          let _t;
          _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.componentElm = _t.first);
        }
      },
      inputs: {
        attribute: "attribute"
      },
      standalone: false,
      decls: 1,
      vars: 1,
      consts: [["class", "attribute", 4, "ngIf"], [1, "attribute"], [1, "value"]],
      template: function AttributeComponent_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, AttributeComponent_div_0_Template, 5, 2, "div", 0);
        }
        if (rf & 2) {
          _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.showAttribute);
        }
      },
      dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgIf],
      styles: [".attribute[_ngcontent-%COMP%]   label[_ngcontent-%COMP%] {\n  display: block;\n  font-size: 1.4vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n  line-height: 1;\n}\n.attribute[_ngcontent-%COMP%]    > .value[_ngcontent-%COMP%] {\n  margin-top: 0.25vw;\n  display: block;\n  font-size: 2vw;\n  color: var(--color1);\n  line-height: 1;\n  font-weight: var(--stdweight);\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYXBwb2ludG1lbnQvam9iLXN1bW1hcnkvY29tcG9uZW50cy9hdHRyaWJ1dGUvYXR0cmlidXRlLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdJO0VBQ0ksY0FBQTtFQUNBLGdCQUFBO0VBQ0Esb0JBQUE7RUFDQSwwQkFBQTtFQUNBLGNBQUE7QUFGUjtBQUtJO0VBQ0ksa0JBQUE7RUFDQSxjQUFBO0VBQ0EsY0FBQTtFQUNBLG9CQUFBO0VBQ0EsY0FBQTtFQUNBLDZCQUFBO0FBSFIiLCJzb3VyY2VzQ29udGVudCI6WyJAdXNlIFwic3JjL3N0eWxlcy9taXhpbnNcIjtcblxuLmF0dHJpYnV0ZSB7XG4gICAgbGFiZWwge1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgZm9udC1zaXplOiAxLjR2dztcbiAgICAgICAgY29sb3I6IHZhcigtLWNvbG9yMSk7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoLS1zdHJvbmcpO1xuICAgICAgICBsaW5lLWhlaWdodDogMTtcbiAgICB9XG5cbiAgICA+LnZhbHVlIHtcbiAgICAgICAgbWFyZ2luLXRvcDogLjI1dnc7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICBmb250LXNpemU6IDJ2dztcbiAgICAgICAgY29sb3I6IHZhcigtLWNvbG9yMSk7XG4gICAgICAgIGxpbmUtaGVpZ2h0OiAxO1xuICAgICAgICBmb250LXdlaWdodDogdmFyKC0tc3Rkd2VpZ2h0KTtcbiAgICB9XG59Il0sInNvdXJjZVJvb3QiOiIifQ== */"]
    }))();
  }
  return AttributeComponent;
})();

/***/ }),

/***/ 9840:
/*!***********************************************************************************************!*\
  !*** ./src/app/appointment/job-summary/components/entity-details/entity-details.component.ts ***!
  \***********************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntityDetailsComponent: () => (/* binding */ EntityDetailsComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var _services_appointment_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../services/appointment.service */ 7427);
/* harmony import */ var src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/shared/appointments/services/appointment.service */ 8036);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _attribute_attribute_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../attribute/attribute.component */ 2858);





const _c0 = ["componentElm"];
function EntityDetailsComponent_div_1_div_4_Template(rf, ctx) {
  if (rf & 1) {
    const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function EntityDetailsComponent_div_1_div_4_Template_div_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r1);
      const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.viewPhoto(ctx_r1.entity.render.src));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "img", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", ctx_r1.entity.render.src, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]);
  }
}
function EntityDetailsComponent_div_1_div_5_Template(rf, ctx) {
  if (rf & 1) {
    const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function EntityDetailsComponent_div_1_div_5_Template_div_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r3);
      const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.viewPhoto(ctx_r1.entity.render_B64));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "img", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", ctx_r1.entity.render_B64, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]);
  }
}
function EntityDetailsComponent_div_1_attribute_11_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](0, "attribute", 14);
  }
  if (rf & 2) {
    const attribute_r4 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("attribute", attribute_r4);
  }
}
function EntityDetailsComponent_div_1_div_13_Template(rf, ctx) {
  if (rf & 1) {
    const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function EntityDetailsComponent_div_1_div_13_Template_div_click_0_listener() {
      const photo_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r5).$implicit;
      const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.viewPhoto(photo_r6.src));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "img", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const photo_r6 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", photo_r6.src, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]);
  }
}
function EntityDetailsComponent_div_1_div_14_Template(rf, ctx) {
  if (rf & 1) {
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function EntityDetailsComponent_div_1_div_14_Template_div_click_0_listener() {
      const photo_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r7).$implicit;
      const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.viewPhoto(photo_r8));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "img", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const photo_r8 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", photo_r8, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]);
  }
}
function EntityDetailsComponent_div_1_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div")(1, "div", 5)(2, "label");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](4, EntityDetailsComponent_div_1_div_4_Template, 2, 1, "div", 6)(5, EntityDetailsComponent_div_1_div_5_Template, 2, 1, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "div", 7)(7, "header")(8, "h2");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](11, EntityDetailsComponent_div_1_attribute_11_Template, 1, 1, "attribute", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](12, "div", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](13, EntityDetailsComponent_div_1_div_13_Template, 2, 1, "div", 11)(14, EntityDetailsComponent_div_1_div_14_Template, 2, 1, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMapInterpolate1"]("entity ", ctx_r1.entity.type, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", ctx_r1.entity.type, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r1.entity.render != null);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r1.entity.render_B64 != null);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](ctx_r1.entity.name);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r1.entityAttributes);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r1.entity.photos);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r1.entity.photos_B64);
  }
}
function EntityDetailsComponent_div_2_div_1_attribute_9_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](0, "attribute", 14);
  }
  if (rf & 2) {
    const attribute_r9 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("attribute", attribute_r9);
  }
}
function EntityDetailsComponent_div_2_div_1_div_11_Template(rf, ctx) {
  if (rf & 1) {
    const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function EntityDetailsComponent_div_2_div_1_div_11_Template_div_click_0_listener() {
      const photo_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r10).$implicit;
      const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](3);
      return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.viewPhoto(photo_r11.src));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "img", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const photo_r11 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", photo_r11.src, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]);
  }
}
function EntityDetailsComponent_div_2_div_1_div_12_Template(rf, ctx) {
  if (rf & 1) {
    const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function EntityDetailsComponent_div_2_div_1_div_12_Template_div_click_0_listener() {
      const photo_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r12).$implicit;
      const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](3);
      return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.viewPhoto(photo_r13));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "img", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const photo_r13 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", photo_r13, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]);
  }
}
function EntityDetailsComponent_div_2_div_1_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 18)(1, "div", 5)(2, "label");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "div", 7)(5, "header")(6, "h2");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "div", 8);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](9, EntityDetailsComponent_div_2_div_1_attribute_9_Template, 1, 1, "attribute", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "div", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](11, EntityDetailsComponent_div_2_div_1_div_11_Template, 2, 1, "div", 11)(12, EntityDetailsComponent_div_2_div_1_div_12_Template, 2, 1, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const fixture_r14 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", fixture_r14.name, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate2"]("", fixture_r14.name, " ", fixture_r14.number, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", fixture_r14.attributes);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", fixture_r14.photos);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", fixture_r14.photos_B64);
  }
}
function EntityDetailsComponent_div_2_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, EntityDetailsComponent_div_2_div_1_Template, 13, 6, "div", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r1.fixtures);
  }
}
function EntityDetailsComponent_entity_details_4_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](0, "entity-details", 19);
  }
  if (rf & 2) {
    const entity_r15 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("entity", entity_r15);
  }
}
let EntityDetailsComponent = /*#__PURE__*/(() => {
  class EntityDetailsComponent {
    constructor(localAppointmentService, appointmentService) {
      this.localAppointmentService = localAppointmentService;
      this.appointmentService = appointmentService;
    }
    get entityAttributes() {
      return this.entity?.attributes ?? [];
    }
    // #endregion
    // #region Fixtures
    get fixtures() {
      return this.entity?.fixtures ?? [];
    }
    get hasFixtures() {
      return this.fixtures.length > 0;
    }
    // #endregion
    // #region Photos
    viewPhoto(src) {
      this.localAppointmentService.viewPhoto(src);
    }
    init() {}
    // #endregion
    ngOnInit() {
      this.init();
    }
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function EntityDetailsComponent_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || EntityDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_services_appointment_service__WEBPACK_IMPORTED_MODULE_0__.LocalAppointmentService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_1__.AppointmentService));
    })();
    static #_2 = (() => this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({
      type: EntityDetailsComponent,
      selectors: [["entity-details"]],
      viewQuery: function EntityDetailsComponent_Query(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵviewQuery"](_c0, 5);
        }
        if (rf & 2) {
          let _t;
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵloadQuery"]()) && (ctx.componentElm = _t.first);
        }
      },
      inputs: {
        entity: "entity"
      },
      standalone: false,
      decls: 5,
      vars: 3,
      consts: [["id", "entityDetails"], [3, "class", 4, "ngIf"], ["class", "fixtures", 4, "ngIf"], [1, "entities"], [3, "entity", 4, "ngFor", "ngForOf"], [1, "type"], ["class", "render", 3, "click", 4, "ngIf"], [1, "meta"], [1, "attributes"], [3, "attribute", 4, "ngFor", "ngForOf"], [1, "photos"], ["class", "photo", 3, "click", 4, "ngFor", "ngForOf"], [1, "render", 3, "click"], [3, "src"], [3, "attribute"], [1, "photo", 3, "click"], [1, "fixtures"], ["class", "fixture", 4, "ngFor", "ngForOf"], [1, "fixture"], [3, "entity"]],
      template: function EntityDetailsComponent_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 0);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, EntityDetailsComponent_div_1_Template, 15, 10, "div", 1)(2, EntityDetailsComponent_div_2_Template, 2, 1, "div", 2);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](3, "div", 3);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](4, EntityDetailsComponent_entity_details_4_Template, 1, 1, "entity-details", 4);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()();
        }
        if (rf & 2) {
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.entity != null);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.hasFixtures);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2);
          _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx.entity == null ? null : ctx.entity.entities);
        }
      },
      dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, EntityDetailsComponent, _attribute_attribute_component__WEBPACK_IMPORTED_MODULE_2__.AttributeComponent],
      styles: ["#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: flex-start;\n  padding: 1vw 1vw 1vw 2vw;\n  position: relative;\n  background-color: var(--color2Alt1);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: auto;\n  bottom: 0;\n  background-color: var(--color3);\n  width: 1.5vw;\n  border-radius: 0.5vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  color: var(--color2);\n  font-weight: var(--strong);\n  font-size: 1vw;\n  transform: translate(-50%, -50%) rotate(-90deg);\n  white-space: nowrap;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .render[_ngcontent-%COMP%] {\n  width: 25%;\n  border-radius: 0.5vw;\n  overflow: hidden;\n  border: 0.1vw var(--color2Alt4) solid;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .render[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 100%;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%] {\n  flex: 1;\n  width: 100%;\n  margin-right: 1vw;\n  padding: 1vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%] {\n  font-size: 1.1vw;\n  color: var(--color1Alt3);\n  font-weight: var(--strong);\n  text-transform: uppercase;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%] {\n  font-size: 1.6vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%] {\n  margin-top: 1vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%]   attribute[_ngcontent-%COMP%] {\n  display: block;\n  margin-top: 0.5vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%]   attribute[_ngcontent-%COMP%]:first-child {\n  margin-top: 0;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%] {\n  width: 25%;\n  padding: 1vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%]    > .photo[_ngcontent-%COMP%] {\n  border-radius: 1vw;\n  overflow: hidden;\n  cursor: pointer;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%]    > .photo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 100%;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity.Unit[_ngcontent-%COMP%] {\n  background-color: rgba(var(--color1-raw), 0.05);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity.Unit[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%] {\n  background-color: var(--color1);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity.Structure[_ngcontent-%COMP%] {\n  background-color: rgba(var(--color4-raw), 0.05);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity.Structure[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%] {\n  background-color: var(--color4);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity.Floor[_ngcontent-%COMP%] {\n  background-color: rgba(var(--color4Alt4-raw), 0.05);\n}\n#entityDetails[_ngcontent-%COMP%]    > .entity.Floor[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%] {\n  background-color: var(--color4Alt4);\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%] {\n  margin-top: 1vw;\n  margin-left: 3vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%] {\n  margin-top: 0.5vw;\n  display: flex;\n  align-items: flex-start;\n  padding: 1vw;\n  position: relative;\n  background-color: rgba(var(--color5-raw), 0.1);\n  border-radius: 1vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: auto;\n  bottom: 0;\n  background-color: var(--color5);\n  width: 1.5vw;\n  border-radius: 0.5vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .type[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  color: var(--color2);\n  font-weight: var(--strong);\n  font-size: 1vw;\n  transform: translate(-50%, -50%) rotate(-90deg);\n  white-space: nowrap;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%] {\n  flex: 1;\n  width: 100%;\n  margin-right: 1vw;\n  padding: 1vw;\n  border-left: 0.2vw var(--color2Alt2) solid;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%] {\n  font-size: 1.1vw;\n  color: var(--color1Alt3);\n  font-weight: var(--strong);\n  text-transform: uppercase;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%] {\n  font-size: 1.6vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%] {\n  margin-top: 1vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%]   attribute[_ngcontent-%COMP%] {\n  display: block;\n  margin-top: 0.5vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > .attributes[_ngcontent-%COMP%]   attribute[_ngcontent-%COMP%]:first-child {\n  margin-top: 0;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%] {\n  width: 25%;\n  padding: 1vw;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%]    > .photo[_ngcontent-%COMP%] {\n  border-radius: 1vw;\n  overflow: hidden;\n  cursor: pointer;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]    > .photos[_ngcontent-%COMP%]    > .photo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 100%;\n}\n#entityDetails[_ngcontent-%COMP%]    > .fixtures[_ngcontent-%COMP%]    > .fixture[_ngcontent-%COMP%]:first-child {\n  margin-top: 0;\n}\n#entityDetails[_ngcontent-%COMP%]    > .entities[_ngcontent-%COMP%] {\n  margin-top: 1vw;\n  margin-left: 3vw;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,  */"]
    }))();
  }
  return EntityDetailsComponent;
})();

/***/ }),

/***/ 6960:
/*!*******************************************************************************!*\
  !*** ./src/app/appointment/job-summary/components/layout/layout.component.ts ***!
  \*******************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   JobSummaryLayoutComponent: () => (/* binding */ JobSummaryLayoutComponent)
/* harmony export */ });
/* harmony import */ var src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/shared/navigation/models/navigation */ 9518);
/* harmony import */ var _models_navigation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../models/navigation */ 2375);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var _services_appointment_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../services/appointment.service */ 7427);
/* harmony import */ var src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/shared/appointments/services/appointment.service */ 8036);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _all_details_all_details_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../all-details/all-details.component */ 5910);
/* harmony import */ var _entity_details_entity_details_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../entity-details/entity-details.component */ 9840);
/* Models */








const _c0 = ["componentElm"];
function JobSummaryLayoutComponent_ng_container_6_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "all-details", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"]();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("appointment", ctx_r0.appointment);
  }
}
function JobSummaryLayoutComponent_div_7_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "entity-details", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("entity", ctx_r0.selectedEntity);
  }
}
function JobSummaryLayoutComponent_div_8_div_5_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 17)(1, "div", 18)(2, "span", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "div", 20)(5, "label");
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
  }
  if (rf & 2) {
    const item_r2 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", item_r2.quantity, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", item_r2.name, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", item_r2.description, " ");
  }
}
function JobSummaryLayoutComponent_div_8_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 15)(1, "header")(2, "h1");
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](3, "Additional Considerations");
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "div", 1);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](5, JobSummaryLayoutComponent_div_8_div_5_Template, 9, 3, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r0.visibleConsiderations);
  }
}
let JobSummaryLayoutComponent = /*#__PURE__*/(() => {
  class JobSummaryLayoutComponent {
    constructor(localAppointmentService, appointmentService) {
      this.localAppointmentService = localAppointmentService;
      this.appointmentService = appointmentService;
      // #endregion
      // #region Property
      this.numberOfBathrooms = 0;
      this.numberOfLevels = 0;
      this.primaryEntities = [];
    }
    // #endregion
    // #region Additional Considerations
    get visibleConsiderations() {
      const considerations = [];
      if (this.appointment?.price != null) {
        this.appointment.price.customItems.forEach(item => {
          if (item.customerFacing) {
            considerations.push(item);
          }
        });
      }
      return considerations;
    }
    get hasAdditionalConsiderations() {
      return this.visibleConsiderations.length > 0;
    }
    manageAdditionalConsiderations() {
      this.localAppointmentService.manageAdditionalConsiderations();
    }
    get property() {
      return this.appointment?.property;
    }
    get address() {
      return this.appointment?.property?.address;
    }
    initProperty() {
      if (this.appointment?.property?.entity != null && this.property?.entity) {
        this.numberOfBathrooms = this.appointment.getRoomTypeCount('bathroom', this.property.entity.entities);
        this.numberOfLevels = this.appointmentService.getLevelCount(this.property.entity.entities);
      }
    }
    initEntities() {
      if (this.property?.entity != null) {
        if (this.property.entity.entities.length == 1) {
          this.primaryEntities = this.property.entity.entities[0].entities;
        } else {
          this.primaryEntities = this.property.entity.entities;
        }
      }
    }
    selectEntity(entity) {
      this.selectedEntity = entity;
    }
    // #endregion
    // #region Navigation
    get routeService() {
      return this.localAppointmentService.routeService;
    }
    goBack() {
      if (this.appointment != null) {
        this.routeService.viewRoute(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.AppointmentRouteType.Presentation, src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.RouteLoadDirection.Reverse, true);
      }
    }
    goNext() {
      this.routeService.viewRoute(_models_navigation__WEBPACK_IMPORTED_MODULE_1__.AppointmentRouteType.Pricing, src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.RouteLoadDirection.Forward, true, src_app_shared_navigation_models_navigation__WEBPACK_IMPORTED_MODULE_0__.RouteLoadDirection.Reverse, ['internal']);
    }
    init() {
      if (this.appointment != null) {
        this.initProperty();
        this.initEntities();
      }
    }
    // #endregion
    ngAfterViewInit() {
      setTimeout(() => {
        this.init();
        setTimeout(() => {
          if (this.route != null) {
            this.route.initialized.next();
          }
        }, 32);
      }, 16);
    }
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function JobSummaryLayoutComponent_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || JobSummaryLayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_appointment_service__WEBPACK_IMPORTED_MODULE_2__.LocalAppointmentService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](src_app_shared_appointments_services_appointment_service__WEBPACK_IMPORTED_MODULE_3__.AppointmentService));
    })();
    static #_2 = (() => this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({
      type: JobSummaryLayoutComponent,
      selectors: [["ng-component"]],
      viewQuery: function JobSummaryLayoutComponent_Query(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵviewQuery"](_c0, 5);
        }
        if (rf & 2) {
          let _t;
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.componentElm = _t.first);
        }
      },
      inputs: {
        appointment: "appointment",
        route: "route"
      },
      standalone: false,
      decls: 20,
      vars: 3,
      consts: [["id", "jobSummaryLayout"], [1, "content"], [4, "ngIf"], ["class", "entity", 4, "ngIf"], ["class", "considerations", 4, "ngIf"], ["id", "mainNav"], [1, "island"], [1, "controls"], [1, "control", 3, "click"], [1, "fa-solid", "fa-arrow-left-long"], [1, "control", "success", 3, "click"], [1, "fa-solid", "fa-arrow-right-long"], [3, "appointment"], [1, "entity"], [3, "entity"], [1, "considerations"], ["class", "consideration", 4, "ngFor", "ngForOf"], [1, "consideration"], [1, "quantity"], [1, "value"], [1, "meta"]],
      template: function JobSummaryLayoutComponent_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "section", 0)(1, "div", 1)(2, "header")(3, "h1");
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](4, "Job Summary");
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](5, "div", 1);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](6, JobSummaryLayoutComponent_ng_container_6_Template, 2, 1, "ng-container", 2)(7, JobSummaryLayoutComponent_div_7_Template, 2, 1, "div", 3)(8, JobSummaryLayoutComponent_div_8_Template, 6, 1, "div", 4);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](9, "nav", 5)(10, "div", 6)(11, "div", 7)(12, "button", 8);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function JobSummaryLayoutComponent_Template_button_click_12_listener() {
            return ctx.goBack();
          });
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](13, "i", 9);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](14, "label");
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](15, "Back to Presentation");
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](16, "button", 10);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function JobSummaryLayoutComponent_Template_button_click_16_listener() {
            return ctx.goNext();
          });
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](17, "i", 11);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](18, "label");
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](19, "Continue");
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()();
        }
        if (rf & 2) {
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](6);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.selectedEntity == null);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.selectedEntity != null);
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.hasAdditionalConsiderations);
        }
      },
      dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _all_details_all_details_component__WEBPACK_IMPORTED_MODULE_4__.AllDetailsComponent, _entity_details_entity_details_component__WEBPACK_IMPORTED_MODULE_5__.EntityDetailsComponent],
      styles: ["#jobSummaryLayout[_ngcontent-%COMP%] {\n  position: absolute;\n  top: calc(var(--systemOffset-top) + 7vw);\n  left: 2vw;\n  right: 2vw;\n  bottom: 6vw;\n  display: flex;\n  flex-direction: column;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%] {\n  flex: 1;\n  height: 100%;\n  border: 1vw;\n  border: 0.1vw var(--color2Alt2) solid;\n  border-radius: 1vw;\n  background-color: var(--color2);\n  overflow: hidden;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%] {\n  padding: 0.75vw 1vw;\n  background-color: var(--color2Alt3);\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%] {\n  font-size: 1.6vw;\n  color: var(--color1);\n  font-weight: var(--stronger);\n  line-height: 1;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  cursor: pointer;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n  font-size: 1.2vw;\n  color: var(--color1);\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]   label[_ngcontent-%COMP%] {\n  font-size: 1.2vw;\n  color: var(--color1);\n  margin-left: 0.5vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%] {\n  position: sticky;\n  top: 0;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%] {\n  overflow-x: hidden;\n  height: 100%;\n  padding-bottom: 10vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .entity[_ngcontent-%COMP%] {\n  padding: 1vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%] {\n  margin-top: 1vw;\n  padding-top: 1vw;\n  border-top: 0.2vw var(--color2Alt2) dotted;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%] {\n  padding: 0 1vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%] {\n  font-size: 1.6vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%] {\n  margin-top: 0.75vw;\n  padding: 0 1vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: flex-start;\n  margin-top: 0.75vw;\n  padding-top: 0.25vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%]    > .quantity[_ngcontent-%COMP%] {\n  height: 5vw;\n  width: 5vw;\n  border-radius: 0.5vw;\n  background-color: rgba(var(--color3-raw), 0.2);\n  position: relative;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%]    > .quantity[_ngcontent-%COMP%]    > .value[_ngcontent-%COMP%] {\n  display: block;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  color: var(--color3);\n  font-weight: var(--strong);\n  font-size: 3.5vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%] {\n  margin-left: 1vw;\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  font-size: 1.4vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%]    > .meta[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  font-size: 2vw;\n  color: var(--color1);\n  font-weight: var(--ltweight);\n}\n#jobSummaryLayout[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .considerations[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .consideration[_ngcontent-%COMP%]:first-child {\n  margin-top: 0;\n}\n\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%] {\n  position: absolute;\n  bottom: 1vw;\n  right: 1vw;\n  z-index: calc(var(--navLayer) + 1);\n  background-color: var(--color2);\n  border-radius: 999px;\n  padding: 0.5vw 1vw;\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%] {\n  position: relative;\n  margin-left: 1vw;\n  padding: 0.8vw 2vw;\n  border-radius: 999px;\n  cursor: pointer;\n  margin-left: 1vw;\n  display: flex;\n  align-items: center;\n  background-color: var(--color3);\n  border: 0.1vw transparent solid;\n  transition: background-color 0.1s linear;\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > i[_ngcontent-%COMP%]:last-child, \n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%]:last-child {\n  margin-left: 0.5vw;\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > i[_ngcontent-%COMP%] {\n  font-size: 1.2vw;\n  color: var(--color2);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  font-size: 1.2vw;\n  color: var(--color2);\n  font-weight: var(--strong);\n  line-height: 1;\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control.success[_ngcontent-%COMP%] {\n  background-color: var(--success);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control.alternate[_ngcontent-%COMP%] {\n  background-color: var(--color2);\n  border-color: var(--color1);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control.alternate[_ngcontent-%COMP%]    > label[_ngcontent-%COMP%] {\n  color: var(--color1);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[disabled][_ngcontent-%COMP%] {\n  opacity: 0.6;\n  pointer-events: none;\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]:active {\n  background-color: var(--color3Alt4);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]:active.success {\n  background-color: var(--successAlt4);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]:active.alternate {\n  background-color: var(--color2Alt2);\n}\n#mainNav[_ngcontent-%COMP%]    > .island[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]:first-child {\n  margin-left: 0;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,  */"]
    }))();
  }
  return JobSummaryLayoutComponent;
})();

/***/ }),

/***/ 4979:
/*!***************************************************************!*\
  !*** ./src/app/appointment/job-summary/job-summary.module.ts ***!
  \***************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   JobSummaryModule: () => (/* binding */ JobSummaryModule)
/* harmony export */ });
/* harmony import */ var _angular_elements__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/elements */ 3440);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common/http */ 8143);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 8335);
/* harmony import */ var _components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/layout/layout.component */ 6960);
/* harmony import */ var _components_all_details_all_details_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/all-details/all-details.component */ 5910);
/* harmony import */ var _components_entity_details_entity_details_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/entity-details/entity-details.component */ 9840);
/* harmony import */ var _components_attribute_attribute_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/attribute/attribute.component */ 2858);
/* harmony import */ var src_app_shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/shared/ui/ui.module */ 663);
/* harmony import */ var src_app_shared_navigation_services_internal_route_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/shared/navigation/services/internal-route.service */ 8858);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 4380);




/* Components */




/* Shared Modules */

/* Services */


let JobSummaryModule = /*#__PURE__*/(() => {
  class JobSummaryModule {
    constructor(injector) {
      this.injector = injector;
      this.ngDoBootstrap();
    }
    ngDoBootstrap() {
      const el = (0,_angular_elements__WEBPACK_IMPORTED_MODULE_6__.createCustomElement)(_components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__.JobSummaryLayoutComponent, {
        injector: this.injector
      });
      customElements.define('job-summary', el);
    }
    static #_ = (() => this.ɵfac = function JobSummaryModule_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || JobSummaryModule)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__.Injector));
    })();
    static #_2 = (() => this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({
      type: JobSummaryModule
    }))();
    static #_3 = (() => this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({
      providers: [src_app_shared_navigation_services_internal_route_service__WEBPACK_IMPORTED_MODULE_5__.InternalRouteService, (0,_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.provideHttpClient)((0,_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.withInterceptorsFromDi)())],
      imports: [src_app_shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_4__.UiModule, _angular_common__WEBPACK_IMPORTED_MODULE_9__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.ReactiveFormsModule]
    }))();
  }
  return JobSummaryModule;
})();
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](JobSummaryModule, {
    declarations: [_components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__.JobSummaryLayoutComponent, _components_all_details_all_details_component__WEBPACK_IMPORTED_MODULE_1__.AllDetailsComponent, _components_entity_details_entity_details_component__WEBPACK_IMPORTED_MODULE_2__.EntityDetailsComponent, _components_attribute_attribute_component__WEBPACK_IMPORTED_MODULE_3__.AttributeComponent],
    imports: [src_app_shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_4__.UiModule, _angular_common__WEBPACK_IMPORTED_MODULE_9__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.ReactiveFormsModule]
  });
})();

/***/ })

}]);
//# sourceMappingURL=979.js.map