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

/***/ 9018:
/*!*****************************************************************!*\
  !*** ./src/app/documents/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 */   DocumentLayoutComponent: () => (/* binding */ DocumentLayoutComponent)
/* harmony export */ });
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 2714);
/* harmony import */ var src_app_shared_documents_models_document__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/shared/documents/models/document */ 735);
/* harmony import */ var src_app_shared_ui_pipes_order_by_pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/shared/ui/pipes/order-by.pipe */ 9093);
/* harmony import */ var src_app_shared_content_models_binary__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/shared/content/models/binary */ 4768);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 4380);
/* harmony import */ var src_app_shared_ui_services_ui_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/shared/ui/services/ui.service */ 345);
/* harmony import */ var src_app_shared_documents_services_document_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/shared/documents/services/document.service */ 3040);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ 4947);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _shared_ui_components_loader_loader_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../shared/ui/components/loader/loader.component */ 5086);
/* harmony import */ var _shared_documents_components_appointment_document_appointment_document_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../shared/documents/components/appointment-document/appointment-document.component */ 6488);
/* harmony import */ var _shared_documents_components_consent_consent_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../shared/documents/components/consent/consent.component */ 3528);


/* Pipes */











function DocumentLayoutComponent_main_0_ng_container_8_appointment_document_1_Template(rf, ctx) {
  if (rf & 1) {
    const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "appointment-document", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("changed", function DocumentLayoutComponent_main_0_ng_container_8_appointment_document_1_Template_appointment_document_changed_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r1);
      const document_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]().$implicit;
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r2.documentChanged(document_r2));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const document_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]().$implicit;
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("appointmentContent", ctx_r2.content)("document", document_r2);
  }
}
function DocumentLayoutComponent_main_0_ng_container_8_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, DocumentLayoutComponent_main_0_ng_container_8_appointment_document_1_Template, 1, 2, "appointment-document", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementContainerEnd"]();
  }
  if (rf & 2) {
    const document_r2 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", document_r2.active);
  }
}
function DocumentLayoutComponent_main_0_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "main", 7)(1, "header")(2, "div", 8)(3, "h1");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "h2");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "div", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](8, DocumentLayoutComponent_main_0_ng_container_8_Template, 2, 1, "ng-container", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("Welcome back, ", ctx_r2.recipientName, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("Job: ", ctx_r2.content == null ? null : ctx_r2.content.jobId, "");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngForOf", ctx_r2.documents);
  }
}
function DocumentLayoutComponent_aside_3_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "aside", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](1, "div", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](2, "div", 15)(3, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](4, "img", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "h2");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6, "You're all finished!");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](8, " Thank you for completing your documents, we are grateful for your business! Please contact support at ");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "a", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](10, "support@repipe.com");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](11, " for additional assistance. ");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](12, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](13, "You may now close this window.");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()();
  }
}
function DocumentLayoutComponent_aside_4_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "aside", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](1, "div", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](2, "div", 15)(3, "div", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](4, "img", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "h2");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6, "Invite Was Not Found");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "p");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](8, " Your provided invite code to sign documents in not valid. Please contact support at ");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "a", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](10, "support@repipe.com");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](11, " for additional assistance. ");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()();
  }
}
function DocumentLayoutComponent_aside_5_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "aside", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](1, "div", 14)(2, "loader", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("closing", ctx_r2.closingLoader);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("fill", true);
  }
}
function DocumentLayoutComponent_nav_6_Template(rf, ctx) {
  if (rf & 1) {
    const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "nav", 22)(1, "div", 23)(2, "div", 24)(3, "button", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function DocumentLayoutComponent_nav_6_Template_button_click_3_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r4);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r2.goBack());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](4, "i", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "label");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "button", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function DocumentLayoutComponent_nav_6_Template_button_click_7_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r4);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r2.goForward());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](8, "i", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "label");
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](10);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()();
  }
  if (rf & 2) {
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("disabled", !ctx_r2.canGoBack);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r2.backLabel);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("disabled", !ctx_r2.canGoForward);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r2.forwardLabel);
  }
}
let DocumentLayoutComponent = /*#__PURE__*/(() => {
  class DocumentLayoutComponent {
    constructor(uiService, documentService, route, orderByPipe) {
      this.uiService = uiService;
      this.documentService = documentService;
      this.route = route;
      this.orderByPipe = orderByPipe;
      // #region Signer
      this.signerKey = null;
      this.activeDocumentIndex = 0;
      this.retrievingDocuments = false;
      this.documents = [];
      // #endregion
      // #region Updating
      this.updatingDocuments = false;
      // #endregion
      // #region Completing
      this.completingDocuments = false;
      this.canCompleteDocuments = false;
      // #endregion
      // #region Consent
      this.consenting = false;
      this.consenters = new rxjs__WEBPACK_IMPORTED_MODULE_9__.Subject();
      // #endregion
      // #region Signer
      // #endregion
      // #region Navigation
      this.backLabel = "Previous Document";
      this.forwardLabel = "Next Document";
      this.canGoBack = false;
      this.canGoForward = false;
      // #endregion
      // #region Bootstrapping
      this.showLoader = false;
      this.closingLoader = false;
    }
    get recipient() {
      return this.content?.recipient;
    }
    get recipientName() {
      return this.recipient?.fullName;
    }
    get showDocuments() {
      return !this.showNoAccess && !this.showCompletion;
    }
    get showCompletion() {
      return this.content?.completed ?? false;
    }
    documentChanged(document) {
      this.documentService.updateSigners(this.documents);
      this.setNavigation();
      this.setCanComplete();
    }
    initDocuments() {
      if (this.content != null) {
        let documents = [];
        for (var i = 0, len = this.content.documents.length; i < len; i++) {
          const document = this.content.documents[i];
          document.active = false;
          if (document.executedDocument_B64 == null && document.signers.length == 0) {
            document.signers = this.documentService.generateSigners(document, this.content);
          }
          if (document.executedDocument != null) {
            document.executedDocument = new src_app_shared_content_models_binary__WEBPACK_IMPORTED_MODULE_2__.ContentBinary(document.executedDocument);
          }
          documents.push(document);
        }
        documents = this.orderByPipe.transform(documents, "displayOrder", false);
        this.documents = documents;
        this.hideLoader();
        this.setActiveDocument(0);
        this.verifyConsent();
      }
    }
    retrieveDocuments() {
      if (!this.retrievingDocuments && this.signerKey != null) {
        this.retrievingDocuments = true;
        this.documentService.getAppointmentContent(this.signerKey).subscribe({
          next: content => {
            this.content = content;
            if (!content.completed) {
              this.initDocuments();
            } else {
              this.hideLoader();
            }
            this.retrievingDocuments = false;
          },
          error: () => {
            this.retrievingDocuments = false;
            this.hideLoader();
          }
        });
      }
    }
    setCanComplete() {
      if (this.content != null && this.recipient != null) {
        let matchCount = 0;
        let initialField = "{{initials.customer.mandatory}}";
        let signatureField = "{{signature.customer.mandatory}}";
        let initialRegex = /initials mandatory customer/gi;
        let signatureRegex = /signature mandatory customer/gi;
        switch (this.recipient.type) {
          case src_app_shared_documents_models_document__WEBPACK_IMPORTED_MODULE_0__.DocumentSignerType.Customer:
            {
              initialField = "{{initials.customer.mandatory}}";
              signatureField = "{{signature.customer.mandatory}}";
              initialRegex = /initials mandatory customer/gi;
              signatureRegex = /signature mandatory customer/gi;
            }
            break;
          case src_app_shared_documents_models_document__WEBPACK_IMPORTED_MODULE_0__.DocumentSignerType.Consultant:
            {
              initialField = "{{initials.consultant.mandatory}}";
              signatureField = "{{signature.consultant.mandatory}}";
              initialRegex = /initials mandatory consultant/gi;
              signatureRegex = /signature mandatory consultant/gi;
            }
            break;
        }
        for (var i = 0, len = this.documents.length; i < len; i++) {
          const document = this.documents[i];
          if (document.executedHash == null) {
            matchCount = matchCount + 1;
          } else if (document.generatedContent != null) {
            switch (this.recipient.type) {
              case src_app_shared_documents_models_document__WEBPACK_IMPORTED_MODULE_0__.DocumentSignerType.Customer:
                {
                  const initialCount = (document.generatedContent.match(initialRegex) || []).length;
                  const signatureCount = (document.generatedContent.match(signatureRegex) || []).length;
                  let signedCount = 0;
                  document.signatures.forEach(signature => {
                    if (signature.signerName == this.recipientName) {
                      signedCount = signedCount + 1;
                    }
                  });
                  if (signedCount == initialCount + signatureCount) {
                    matchCount = matchCount + 1;
                  }
                }
                break;
            }
          } else if (document.mapping != null) {
            let initialCount = 0;
            let signatureCount = 0;
            let signedCount = 0;
            document.mapping.pages.forEach(page => {
              page.fields.forEach(field => {
                switch (field.id) {
                  case initialField:
                    {
                      initialCount = initialCount + 1;
                    }
                    break;
                  case signatureField:
                    {
                      signatureCount = signatureCount + 1;
                    }
                    break;
                }
              });
            });
            document.signatures.forEach(signature => {
              if (signature.signerName == this.recipientName) {
                signedCount = signedCount + 1;
              }
            });
            if (signedCount == initialCount + signatureCount) {
              matchCount = matchCount + 1;
            }
          }
        }
        if (matchCount == this.documents.length) {
          this.canCompleteDocuments = true;
        }
      } else {
        this.canCompleteDocuments = false;
      }
    }
    setActiveDocument(index) {
      const document = this.documents[index];
      this.documents.forEach(document => {
        document.active = false;
      });
      if (document != null) {
        document.active = true;
      }
      this.activeDocument = document;
      this.activeDocumentIndex = index;
      this.setNavigation();
    }
    updateDocuments() {
      if (!this.updatingDocuments && !this.completingDocuments && this.signerKey != null && this.content?.appointmentId != null) {
        this.updatingDocuments = true;
        this.documentService.updateAppointmentDocuments(this.signerKey, this.content.appointmentId, this.documents).subscribe({
          next: () => {
            this.updatingDocuments = false;
          },
          error: () => {
            this.updatingDocuments = false;
          }
        });
      }
    }
    completeDocuments() {
      if (this.canCompleteDocuments && !this.completingDocuments && this.content?.appointmentId != null && this.signerKey != null) {
        this.completingDocuments = true;
        this.uiService.prompt("Complete Your Documents?", "Are you ready to submit your completed documents?", "Yes, Finish", "No, Go Back").subscribe({
          next: confirmed => {
            if (confirmed && this.signerKey != null && this.content?.appointmentId != null) {
              this.documentService.completeAppointmentDocuments(this.signerKey, this.content.appointmentId, this.documents).subscribe({
                next: () => {
                  if (this.content != null) {
                    this.content.completed = true;
                    this.completingDocuments = false;
                  }
                },
                error: () => {
                  this.uiService.prompt("Unable to Complete Documents", "We encountered an issue completing your documents. Please try again.", "Okay").subscribe({
                    next: () => {
                      this.completingDocuments = false;
                    }
                  });
                }
              });
            } else {
              this.completingDocuments = false;
            }
          }
        });
      }
    }
    finalizeConsent(consenters) {
      if (consenters.length > 0) {
        this.content?.documents.forEach(document => {
          document.signers = consenters;
        });
      }
      this.consenting = false;
    }
    verifyConsent() {
      const consenters = [];
      for (var i = 0, len = this.documents.length; i < len; i++) {
        const document = this.documents[i];
        for (var j = 0, jlen = document.signers.length; j < jlen; j++) {
          const signer = document.signers[j];
          if (signer.consent == null && signer.fullName == this.recipient?.fullName) {
            const existingConsenter = consenters.find(x => x.fullName == signer.fullName);
            if (existingConsenter == null) {
              consenters.push(signer);
            }
          }
        }
      }
      this.consenters.next(consenters);
      if (consenters.length > 0) {
        this.consenting = true;
      } else {
        this.consenting = false;
      }
    }
    setNavigation() {
      window.clearTimeout(this.navigationDebounce);
      this.navigationDebounce = window.setTimeout(() => {
        if (this.activeDocument != null) {
          const nextDocument = this.documents[this.activeDocumentIndex + 1];
          if (nextDocument != null) {
            this.forwardLabel = "Next Document";
          } else {
            this.forwardLabel = "Complete Documents";
            this.canGoForward = this.canCompleteDocuments;
          }
          this.canGoForward = true;
        } else {
          this.canGoForward = false;
        }
        if (this.activeDocument != null) {
          const previousDocument = this.documents[this.activeDocumentIndex - 1];
          if (previousDocument != null) {
            this.canGoBack = true;
          } else {
            this.canGoBack = false;
          }
        }
      }, 150);
    }
    goBack() {
      const previousDocument = this.documents[this.activeDocumentIndex - 1];
      if (previousDocument != null) {
        this.setActiveDocument(this.activeDocumentIndex - 1);
      }
    }
    goForward() {
      const nextDocument = this.documents[this.activeDocumentIndex + 1];
      if (nextDocument != null) {
        this.setActiveDocument(this.activeDocumentIndex + 1);
      } else {
        this.completeDocuments();
      }
    }
    get showNoAccess() {
      return !this.showLoader && (this.signerKey == null || this.content == null);
    }
    hideLoader() {
      this.closingLoader = true;
      setTimeout(() => {
        this.showLoader = false;
      }, 5);
    }
    init() {
      if (this.signerKey != null) {
        this.retrieveDocuments();
      } else {
        this.hideLoader();
      }
    }
    // #endregion
    ngOnInit() {
      this.route.paramMap.subscribe(params => {
        this.signerKey = params.get('signerKey');
        this.init();
      });
    }
    ngOnDestroy() {}
    static #_ = (() => this.ɵfac = function DocumentLayoutComponent_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || DocumentLayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](src_app_shared_ui_services_ui_service__WEBPACK_IMPORTED_MODULE_3__.UiService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](src_app_shared_documents_services_document_service__WEBPACK_IMPORTED_MODULE_4__.DocumentService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_10__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](src_app_shared_ui_pipes_order_by_pipe__WEBPACK_IMPORTED_MODULE_1__.OrderByPipe));
    })();
    static #_2 = (() => this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({
      type: DocumentLayoutComponent,
      selectors: [["layout"]],
      standalone: false,
      features: [_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵProvidersFeature"]([src_app_shared_ui_pipes_order_by_pipe__WEBPACK_IMPORTED_MODULE_1__.OrderByPipe])],
      decls: 7,
      vars: 7,
      consts: [["id", "documentsLayout", 4, "ngIf"], ["id", "consent"], [3, "close"], ["id", "completion", 4, "ngIf"], ["id", "noAccess", 4, "ngIf"], ["id", "loader", 3, "closing", 4, "ngIf"], ["id", "mainNav", 4, "ngIf"], ["id", "documentsLayout"], [1, "primary"], [1, "documents"], [4, "ngFor", "ngForOf"], [3, "appointmentContent", "document", "changed", 4, "ngIf"], [3, "changed", "appointmentContent", "document"], ["id", "completion"], [1, "bg"], [1, "content"], [1, "logo"], ["src", "/assets/images/logo.svg"], ["href", "mailto:support@repipe.com"], ["id", "noAccess"], ["id", "loader"], [3, "fill"], ["id", "mainNav"], [1, "island"], [1, "controls"], [1, "control", 3, "click", "disabled"], [1, "fa-solid", "fa-arrow-left-long"], [1, "control", "success", 3, "click", "disabled"], [1, "fa-solid", "fa-arrow-right-long"]],
      template: function DocumentLayoutComponent_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, DocumentLayoutComponent_main_0_Template, 9, 3, "main", 0);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](1, "aside", 1)(2, "signing-consent", 2);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("close", function DocumentLayoutComponent_Template_signing_consent_close_2_listener($event) {
            return ctx.finalizeConsent($event);
          });
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()();
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](3, DocumentLayoutComponent_aside_3_Template, 14, 0, "aside", 3)(4, DocumentLayoutComponent_aside_4_Template, 12, 0, "aside", 4)(5, DocumentLayoutComponent_aside_5_Template, 3, 3, "aside", 5)(6, DocumentLayoutComponent_nav_6_Template, 11, 4, "nav", 6);
        }
        if (rf & 2) {
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.showDocuments);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("active", ctx.consenting);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.showCompletion);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.showNoAccess);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.showLoader);
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"]();
          _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.showDocuments);
        }
      },
      dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_11__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_11__.NgIf, _shared_ui_components_loader_loader_component__WEBPACK_IMPORTED_MODULE_5__.LoaderComponent, _shared_documents_components_appointment_document_appointment_document_component__WEBPACK_IMPORTED_MODULE_6__.AppointmentDocumentComponent, _shared_documents_components_consent_consent_component__WEBPACK_IMPORTED_MODULE_7__.ConsentComponent],
      styles: ["#documentsLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%] {\n  padding: 1vw 2vw;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  position: relative;\n  z-index: 1;\n}\n#documentsLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .primary[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n}\n#documentsLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .primary[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%] {\n  font-size: 2.4vw;\n  font-weight: var(--ltweight);\n}\n#documentsLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .primary[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%] {\n  margin-left: 1vw;\n  font-size: 2.4vw;\n  font-weight: var(--ltweight);\n  color: var(--color3);\n}\n#documentsLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%] {\n  cursor: pointer;\n}\n#documentsLayout[_ngcontent-%COMP%]    > header[_ngcontent-%COMP%]    > .controls[_ngcontent-%COMP%]    > .control[_ngcontent-%COMP%]    > i[_ngcontent-%COMP%] {\n  font-size: 2.4vw;\n  color: var(--color1);\n}\n#documentsLayout[_ngcontent-%COMP%]     .document {\n  position: absolute;\n  z-index: calc(var(--sideNav-layer) + 4);\n  top: calc(var(--systemOffset-top) + 5vw);\n  left: 2vw;\n  right: 2vw;\n  bottom: calc(var(--systemOffset-bottom) + 7vw);\n  border: 0.2vw var(--color2Alt3) solid;\n  border-radius: 1vw;\n  background-color: var(--color2);\n  overflow-x: hidden;\n}\n\n#consent[_ngcontent-%COMP%] {\n  pointer-events: none;\n}\n#consent[_ngcontent-%COMP%]    > .bg[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: var(--sideNav-layer);\n  opacity: 0;\n  background-color: rgba(var(--color1-raw), 0.4);\n  -webkit-backdrop-filter: blur(0.5vw);\n  -moz-backdrop-filter: blur(0.5vw);\n  -o-backdrop-filter: blur(0.5vw);\n  backdrop-filter: blur(0.5vw);\n  transition: opacity 0.2s linear;\n}\n#consent[_ngcontent-%COMP%]    > signing-consent[_ngcontent-%COMP%] {\n  display: block;\n  position: fixed;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  background-color: var(--color2);\n  border: 0.1vw var(--color2Alt2) solid;\n  width: 40vw;\n  border-radius: 1vw;\n  z-index: calc(var(--sideNav-layer) + 2);\n  opacity: 0;\n  overflow: hidden;\n  box-shadow: 0 0.2vw 1vw rgba(var(--black-raw), 0.1);\n  transition: opacity 0.2s linear;\n}\n#consent.active[_ngcontent-%COMP%] {\n  pointer-events: initial;\n}\n#consent.active[_ngcontent-%COMP%]    > .bg[_ngcontent-%COMP%] {\n  opacity: 1;\n}\n#consent.active[_ngcontent-%COMP%]    > signing-consent[_ngcontent-%COMP%] {\n  opacity: 1;\n}\n\n#noAccess[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%] {\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n}\n#noAccess[_ngcontent-%COMP%]    > .bg[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .bg[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  background-color: var(--color2Alt1);\n  z-index: 1;\n}\n#noAccess[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%] {\n  width: 70vw;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  z-index: 2;\n  background-color: var(--color2);\n  border: 0.2vw var(--color2Alt2) solid;\n  border-radius: 1vw;\n  padding: 2vw;\n}\n#noAccess[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .logo[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .logo[_ngcontent-%COMP%] {\n  text-align: center;\n}\n#noAccess[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 25vw;\n}\n#noAccess[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > h2[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > h2[_ngcontent-%COMP%] {\n  margin-top: 3vw;\n  font-size: 4.5vw;\n  color: var(--color1);\n  font-weight: var(--strong);\n  text-align: center;\n}\n#noAccess[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > p[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > p[_ngcontent-%COMP%] {\n  margin-top: 2vw;\n  font-size: 2.8vw;\n  color: var(--color1Alt4);\n  line-height: 1;\n  font-weight: var(--stdweight);\n  text-align: center;\n}\n#noAccess[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > p[_ngcontent-%COMP%]    > a[_ngcontent-%COMP%], #completion[_ngcontent-%COMP%]    > .content[_ngcontent-%COMP%]    > p[_ngcontent-%COMP%]    > a[_ngcontent-%COMP%] {\n  color: var(--color3);\n  text-decoration: underline;\n  display: inline-block;\n}\n\n#loader[_ngcontent-%COMP%]    > .bg[_ngcontent-%COMP%] {\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 10000;\n  background-color: var(--color2);\n  opacity: 1;\n  transition: opacity 2s 2s;\n}\n#loader[_ngcontent-%COMP%]    > loader[_ngcontent-%COMP%] {\n  display: block;\n  position: fixed;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  z-index: 10001;\n  width: 20vw;\n  height: 20vw;\n  --fillSpeed: 2s;\n  opacity: 1;\n  transition: opacity 2s 2s;\n}\n#loader.closing[_ngcontent-%COMP%]    > .bg[_ngcontent-%COMP%] {\n  opacity: 0;\n}\n#loader.closing[_ngcontent-%COMP%]    > loader[_ngcontent-%COMP%] {\n  opacity: 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  opacity: 1;\n  transition: opacity 0.25s 0.25s;\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, #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 DocumentLayoutComponent;
})();

/***/ }),

/***/ 573:
/*!******************************************************!*\
  !*** ./src/app/documents/document-routing.module.ts ***!
  \******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DocumentRoutingModule: () => (/* binding */ DocumentRoutingModule)
/* harmony export */ });
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 4947);
/* harmony import */ var _components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/layout/layout.component */ 9018);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 4380);

/* Components */



const routes = [{
  path: '',
  component: _components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__.DocumentLayoutComponent
}];
let DocumentRoutingModule = /*#__PURE__*/(() => {
  class DocumentRoutingModule {
    static #_ = (() => this.ɵfac = function DocumentRoutingModule_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || DocumentRoutingModule)();
    })();
    static #_2 = (() => this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
      type: DocumentRoutingModule
    }))();
    static #_3 = (() => this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
      imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule.forChild(routes), _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule]
    }))();
  }
  return DocumentRoutingModule;
})();
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](DocumentRoutingModule, {
    imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule],
    exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule]
  });
})();

/***/ }),

/***/ 1577:
/*!***********************************************!*\
  !*** ./src/app/documents/documents.module.ts ***!
  \***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DocumentModule: () => (/* binding */ DocumentModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 6216);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ 8143);
/* harmony import */ var _components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/layout/layout.component */ 9018);
/* harmony import */ var _document_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./document-routing.module */ 573);
/* harmony import */ var _shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared/ui/ui.module */ 663);
/* harmony import */ var _shared_documents_documents_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../shared/documents/documents.module */ 3749);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 4380);


/* Models */
/* Components */

/* Modules */




/* Interceptors */
let DocumentModule = /*#__PURE__*/(() => {
  class DocumentModule {
    static #_ = (() => this.ɵfac = function DocumentModule_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || DocumentModule)();
    })();
    static #_2 = (() => this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
      type: DocumentModule
    }))();
    static #_3 = (() => this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
      providers: [(0,_angular_common_http__WEBPACK_IMPORTED_MODULE_5__.provideHttpClient)((0,_angular_common_http__WEBPACK_IMPORTED_MODULE_5__.withInterceptorsFromDi)())],
      imports: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, _shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_2__.UiModule, _shared_documents_documents_module__WEBPACK_IMPORTED_MODULE_3__.SharedDocumentsModule, _document_routing_module__WEBPACK_IMPORTED_MODULE_1__.DocumentRoutingModule]
    }))();
  }
  return DocumentModule;
})();
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](DocumentModule, {
    declarations: [_components_layout_layout_component__WEBPACK_IMPORTED_MODULE_0__.DocumentLayoutComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, _shared_ui_ui_module__WEBPACK_IMPORTED_MODULE_2__.UiModule, _shared_documents_documents_module__WEBPACK_IMPORTED_MODULE_3__.SharedDocumentsModule, _document_routing_module__WEBPACK_IMPORTED_MODULE_1__.DocumentRoutingModule]
  });
})();

/***/ })

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